wok-current rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents 26c95e297eed
children 6156391b4805
files pure-ftpd-pam/receipt pure-ftpd/receipt
line diff
     1.1 --- a/pure-ftpd-pam/receipt	Fri Apr 03 13:47:09 2020 +0100
     1.2 +++ b/pure-ftpd-pam/receipt	Fri Apr 03 13:56:35 2020 +0100
     1.3 @@ -1,24 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pure-ftpd-pam"
     1.7 -VERSION="1.0.48"
     1.8 +VERSION="1.0.49"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A secure FTP daemon using PAM"
    1.11 +SHORT_DESC="A secure FTP daemon using PAM."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
    1.15 +
    1.16  SOURCE="pure-ftpd"
    1.17  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
    1.19  WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
    1.20 +
    1.21  PROVIDE="pure-ftpd:pam"
    1.22 -
    1.23 -DEPENDS="pam attr libcap libssl"
    1.24 -BUILD_DEPENDS="pam pam-dev openssl-dev"
    1.25 +DEPENDS="attr libcap libssl pam"
    1.26 +BUILD_DEPENDS="openssl-dev pam pam-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
    1.32 +	./configure		\
    1.33 +		--prefix=/usr	\
    1.34 +		--with-pam	\
    1.35 +		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38  }
    1.39 @@ -26,16 +30,19 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr $fs/etc/init.d
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/sbin $fs/usr
    1.46 -	install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d
    1.47 +	mkdir -p $fs/usr
    1.48 +	mkdir -p $fs/etc/init.d
    1.49 +
    1.50 +	cp -a $install/usr/bin	$fs/usr
    1.51 +	cp -a $install/usr/sbin	$fs/usr
    1.52 +	install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd \
    1.53 +				$fs/etc/init.d
    1.54  }
    1.55  
    1.56  post_install()
    1.57  {
    1.58  	echo ""
    1.59 -	echo -e "\nTo starts $PACKAGE server you can run :\n"
    1.60 +	echo -e "\nTo start $PACKAGE server you can run :\n"
    1.61  	echo "/etc/init.d/$PACKAGE start"
    1.62  	echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
    1.63  }
     2.1 --- a/pure-ftpd/receipt	Fri Apr 03 13:47:09 2020 +0100
     2.2 +++ b/pure-ftpd/receipt	Fri Apr 03 13:56:35 2020 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pure-ftpd"
     2.7 -VERSION="1.0.48"
     2.8 +VERSION="1.0.49"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="A secure FTP daemon"
    2.11 +SHORT_DESC="A secure FTP daemon."
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="BSD"
    2.14 +WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
    2.15 +HANDBOOK_URL="https://www.pureftpd.org/project/pure-ftpd/doc"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.18 -WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
    2.19  WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
    2.20 -HANDBOOK_URL="https://www.pureftpd.org/project/pure-ftpd/doc"
    2.21  
    2.22  DEPENDS="attr libcap libssl"
    2.23  BUILD_DEPENDS="openssl-dev"
    2.24 @@ -17,26 +18,32 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	./configure --prefix=/usr \
    2.29 -		--without-pam \
    2.30 -		--with-puredb \
    2.31 -		--with-extauth \
    2.32 -		$CONFIGURE_ARGS && make && make install
    2.33 +	./configure		\
    2.34 +		--prefix=/usr	\
    2.35 +		--without-pam	\
    2.36 +		--with-puredb	\
    2.37 +		--with-extauth	\
    2.38 +		$CONFIGURE_ARGS &&
    2.39 +	make &&
    2.40 +	make install
    2.41  }
    2.42  
    2.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.44  genpkg_rules()
    2.45  {
    2.46 -	mkdir -p $fs/usr $fs/etc/init.d
    2.47 -	cp -a $install/usr/bin $fs/usr
    2.48 -	cp -a $install/usr/sbin $fs/usr
    2.49 -	install -g root -o root -m 0755 $stuff/pure-ftpd $fs/etc/init.d
    2.50 +	mkdir -p $fs/usr
    2.51 +	mkdir -p $fs/etc/init.d
    2.52 +
    2.53 +	cp -a $install/usr/bin		$fs/usr
    2.54 +	cp -a $install/usr/sbin		$fs/usr
    2.55 +	install -g root -o root -m 0755 $stuff/pure-ftpd \
    2.56 +					$fs/etc/init.d
    2.57  }
    2.58  
    2.59  post_install()
    2.60  {
    2.61  	echo ""
    2.62 -	echo -e "\nTo starts $PACKAGE server you can run :\n"
    2.63 +	echo -e "\nTo start $PACKAGE server you can run :\n"
    2.64  	echo "/etc/init.d/$PACKAGE start"
    2.65  	echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
    2.66  }