wok-next rev 21174

shaarli: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 14 16:02:11 2019 +0200 (2019-04-14)
parents c38315993f5d
children 1184c739f22f
files rsh-redone/receipt rsh/receipt shaarli/receipt
line diff
     1.1 --- a/rsh-redone/receipt	Sun Apr 14 14:37:46 2019 +0200
     1.2 +++ b/rsh-redone/receipt	Sun Apr 14 16:02:11 2019 +0200
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
     1.5  
     1.6  BUILD_DEPENDS="pam-dev"
     1.7 -SPLIT="rshd"
     1.8 +SPLIT="rshd-redone"
     1.9  
    1.10  compile_rules() {
    1.11  	make &&
    1.12 @@ -21,11 +21,12 @@
    1.13  
    1.14  genpkg_rules() {
    1.15  	case $PACKAGE in
    1.16 -		rsh)
    1.17 +		rsh-redone)
    1.18  			mkdir -p $fs/usr
    1.19  			cp -a $install/usr/bin $fs/usr
    1.20 +			PROVIDE="rsh rlogin"
    1.21  			;;
    1.22 -		rshd)
    1.23 +		rshd-redone)
    1.24  			mkdir -p $fs/usr $fs/etc/skel
    1.25  			cp -a $install/usr/sbin $fs/usr
    1.26  			cp -a $install/usr/etc $fs
    1.27 @@ -39,7 +40,7 @@
    1.28  }
    1.29  
    1.30  # Pre and post install commands for Tazpkg.
    1.31 -post_install_rshd()
    1.32 +post_install_rshd-redone()
    1.33  {
    1.34  	if ! grep -qs rlogind $1/etc/inetd.conf; then
    1.35  		cat >> $1/etc/inetd.conf <<EOT
    1.36 @@ -51,7 +52,7 @@
    1.37  }
    1.38  
    1.39  # Pre and post install commands for Tazpkg.
    1.40 -pre_remove_rshd()
    1.41 +pre_remove_rshd-redone()
    1.42  {
    1.43  	sed -i '/rlogind/d;/rshd/d' $1/etc/inetd.conf
    1.44  	[ -n "$1" ] || killall -HUP inetd
     2.1 --- a/rsh/receipt	Sun Apr 14 14:37:46 2019 +0200
     2.2 +++ b/rsh/receipt	Sun Apr 14 16:02:11 2019 +0200
     2.3 @@ -7,7 +7,7 @@
     2.4  MAINTAINER="pascal.bellard@slitaz.org"
     2.5  LICENSE="BSD"
     2.6  WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
     2.7 -PROVIDE="rshd netkit-rsh"
     2.8 +PROVIDE="rshd rlogin netkit-rsh"
     2.9  
    2.10  TARBALL="netkit-$PACKAGE-$VERSION.tar.gz"
    2.11  WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
     3.1 --- a/shaarli/receipt	Sun Apr 14 14:37:46 2019 +0200
     3.2 +++ b/shaarli/receipt	Sun Apr 14 16:02:11 2019 +0200
     3.3 @@ -8,7 +8,7 @@
     3.4  MAINTAINER="pascal.bellard@slitaz.org"
     3.5  LICENSE="zlib/libpng"
     3.6  
     3.7 -TARBALL="${PACKAGE}_$VERSION.zip"
     3.8 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
     3.9  WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
    3.10  
    3.11  COOKOPTS="force-arch" # different index.php