wok-next rev 20287

remove pure-ftpd-pam, screen-pam, screen-terminfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:26:01 2017 +0100 (2017-11-08)
parents 9d04ac35b45f
children 2ec88e5df2dd
files pure-ftpd-pam/description.txt pure-ftpd-pam/receipt pure-ftpd/receipt screen-pam/receipt screen-terminfo/receipt screen/receipt
line diff
     1.1 --- a/pure-ftpd-pam/description.txt	Wed Nov 08 15:57:06 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,33 +0,0 @@
     1.4 -Pure-FTPd is a fast, production-quality, standard-conformant FTP server, based
     1.5 -upon Troll-FTPd.
     1.6 -
     1.7 -The server has been designed to be secure in default configuration, it has no
     1.8 -known vulnerability, it is really trivial to set up and it is especially
     1.9 -designed for modern kernels. It was successfully ported to Linux, FreeBSD,
    1.10 -DragonflyBSD, NetBSD, OpenBSD, Bitrig, OSX, AIX and iPhone.
    1.11 -
    1.12 -Features include `chroot()`ed and/or virtual `chroot()`ed home directories,
    1.13 -virtual domains, built-in `ls`, anti-warez system, configurable ports for
    1.14 -passive downloads, FXP protocol, bandwidth throttling, ratios, LDAP / MySQL /
    1.15 -PostgreSQL-based authentication, fortune files, Apache-like log files, fast
    1.16 -standalone mode, text / HTML / XML real-time status report, virtual users,
    1.17 -virtual quotas, privilege separation, TLS and more.
    1.18 -
    1.19 -### Who's using it?
    1.20 -
    1.21 -Many people new to Unix are running Pure-FTPd because they find it easy to
    1.22 -install. But that software is also used on embedded systems and highly loaded
    1.23 -production servers, especially for hosting services.
    1.24 -
    1.25 -For large sites with centralized user management, Pure-FTPd provides flexible
    1.26 -authentication schemes including SQL and LDAP backends, plus the ability to
    1.27 -easily write new custom handlers in any language.
    1.28 -
    1.29 -
    1.30 -### SliTaz notes
    1.31 -
    1.32 -To start pure-ftpd server you can run:
    1.33 -
    1.34 -    /etc/init.d/pure-ftpd start
    1.35 -
    1.36 -Or add pure-ftpd to RUN_DAEMONS in /etc/rcS.conf
     2.1 --- a/pure-ftpd-pam/receipt	Wed Nov 08 15:57:06 2017 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,37 +0,0 @@
     2.4 -# SliTaz package receipt v2.
     2.5 -
     2.6 -PACKAGE="pure-ftpd-pam"
     2.7 -VERSION="1.0.46"
     2.8 -CATEGORY="network"
     2.9 -SHORT_DESC="A secure FTP daemon using PAM"
    2.10 -MAINTAINER="erjo@slitaz.org"
    2.11 -LICENSE="BSD"
    2.12 -WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
    2.13 -CONFIG_FILES="/etc/pure-ftpd.conf"
    2.14 -SIBLINGS="pure-ftpd"
    2.15 -PROVIDE="pure-ftpd:pam"
    2.16 -
    2.17 -TARBALL="pure-ftpd-$VERSION.tar.bz2"
    2.18 -WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
    2.19 -
    2.20 -DEPENDS="pam attr libcap"
    2.21 -BUILD_DEPENDS="pam-dev"
    2.22 -
    2.23 -# Rules to configure and make the package.
    2.24 -compile_rules()
    2.25 -{
    2.26 -	./configure \
    2.27 -		--with-pam \
    2.28 -		$CONFIGURE_ARGS &&
    2.29 -	make && make install
    2.30 -
    2.31 -	# daemon
    2.32 -	mkdir -p $install/etc/init.d
    2.33 -	install -groot -oroot -m0755 $WOK/pure-ftpd/stuff/pure-ftpd $install/etc/init.d
    2.34 -}
    2.35 -
    2.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.37 -genpkg_rules()
    2.38 -{
    2.39 -	copy @std
    2.40 -}
     3.1 --- a/pure-ftpd/receipt	Wed Nov 08 15:57:06 2017 +0100
     3.2 +++ b/pure-ftpd/receipt	Wed Nov 08 16:26:01 2017 +0100
     3.3 @@ -8,17 +8,17 @@
     3.4  LICENSE="BSD"
     3.5  WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
     3.6  CONFIG_FILES="/etc/pure-ftpd.conf"
     3.7 -SIBLINGS="pure-ftpd-pam"
     3.8  
     3.9  TARBALL="pure-ftpd-$VERSION.tar.bz2"
    3.10  WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
    3.11  
    3.12 -DEPENDS="attr libcap libssl"
    3.13 -BUILD_DEPENDS="openssl-dev"
    3.14 +BUILD_DEPENDS="openssl-dev pam-dev"
    3.15 +SPLIT="pure-ftpd pure-ftpd-pam"
    3.16  
    3.17  # Rules to configure and make the package.
    3.18  compile_rules()
    3.19  {
    3.20 +	cp -a $src $src-pam
    3.21  	./configure \
    3.22  		--without-pam \
    3.23  		--with-puredb \
    3.24 @@ -26,13 +26,31 @@
    3.25  		$CONFIGURE_ARGS &&
    3.26  	make && make install
    3.27  
    3.28 +	cd $src-pam
    3.29 +	./configure \
    3.30 +		--with-pam \
    3.31 +		$CONFIGURE_ARGS &&
    3.32 +	make && make DESTDIR=$DESTDIR-pam install
    3.33 +
    3.34  	# daemon
    3.35 -	mkdir -p $install/etc/init.d
    3.36 +	mkdir -p $install/etc/init.d $install-pam/etc/init.d
    3.37  	install -groot -oroot -m0755 $stuff/pure-ftpd $install/etc/init.d
    3.38 +	install -groot -oroot -m0755 $stuff/pure-ftpd $install-pam/etc/init.d
    3.39  }
    3.40  
    3.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.42  genpkg_rules()
    3.43  {
    3.44 -	copy @std
    3.45 +	case $PACKAGE in
    3.46 +	pure-ftpd)
    3.47 +		DEPENDS="attr libcap libssl"
    3.48 +		copy @std
    3.49 +		;;
    3.50 +	pure-ftpd-pam)
    3.51 +		DEPENDS="attr libcap pam"
    3.52 +		PROVIDE="pure-ftpd:pam"
    3.53 +		CAT="network|using PAM"
    3.54 +		install=$install-pam copy @std
    3.55 +		;;
    3.56 +	esac
    3.57  }
     4.1 --- a/screen-pam/receipt	Wed Nov 08 15:57:06 2017 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,40 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="screen-pam"
     4.7 -VERSION="4.2.1"
     4.8 -CATEGORY="system-tools"
     4.9 -SHORT_DESC="Terminal multiplexer with PAM support."
    4.10 -MAINTAINER="pascal.bellard@slitaz.org"
    4.11 -LICENSE="GPL2"
    4.12 -SOURCE="screen"
    4.13 -TARBALL="$SOURCE-$VERSION.tar.gz"
    4.14 -WEB_SITE="http://www.gnu.org/software/screen"
    4.15 -WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
    4.16 -CONFIG_FILES="/etc/screenrc"
    4.17 -SUGGESTED="screen-terminfo"
    4.18 -PROVIDE="screen:pam"
    4.19 -
    4.20 -DEPENDS="pam elfutils"
    4.21 -BUILD_DEPENDS="ncurses-extra"
    4.22 -
    4.23 -# Rules to configure and make the package.
    4.24 -compile_rules()
    4.25 -{
    4.26 -	./configure --with-sys-screenrc=/etc/screenrc \
    4.27 -		--enable-pam $CONFIGURE_ARGS &&
    4.28 -	make &&
    4.29 -	make -j1 DESTDIR=$DESTDIR install &&
    4.30 -	mkdir -p $DESTDIR/usr/share/terminfo &&
    4.31 -	tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
    4.32 -	mkdir -p $DESTDIR/etc &&
    4.33 -	cp -a $src/etc/screenrc $DESTDIR/etc
    4.34 -}
    4.35 -
    4.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.37 -genpkg_rules()
    4.38 -{
    4.39 -	mkdir -p $fs/usr/bin $fs/usr/share
    4.40 -	cp -a $install/etc $fs
    4.41 -	cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
    4.42 -	cp -a $install/usr/share/screen $fs/usr/share
    4.43 -}
     5.1 --- a/screen-terminfo/receipt	Wed Nov 08 15:57:06 2017 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,18 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="screen-terminfo"
     5.7 -VERSION="4.2.1"
     5.8 -CATEGORY="system-tools"
     5.9 -SHORT_DESC="Terminal multiplexer, terminfo files."
    5.10 -MAINTAINER="pascal.bellard@slitaz.org"
    5.11 -LICENSE="GPL2"
    5.12 -WEB_SITE="http://www.gnu.org/software/screen"
    5.13 -WANTED="screen"
    5.14 -
    5.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.16 -genpkg_rules()
    5.17 -{
    5.18 -	mkdir -p $fs/usr/share
    5.19 -	cp -a $install/usr/share/terminfo $fs/usr/share/
    5.20 -	
    5.21 -}
     6.1 --- a/screen/receipt	Wed Nov 08 15:57:06 2017 +0100
     6.2 +++ b/screen/receipt	Wed Nov 08 16:26:01 2017 +0100
     6.3 @@ -1,4 +1,4 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="screen"
     6.8  VERSION="4.2.1"
     6.9 @@ -9,30 +9,51 @@
    6.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.11  WEB_SITE="http://www.gnu.org/software/screen"
    6.12  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    6.13 -CONFIG_FILES="/etc/screenrc"
    6.14 -SUGGESTED="screen-terminfo"
    6.15  
    6.16 -DEPENDS="elfutils"
    6.17 -BUILD_DEPENDS="ncurses-extra"
    6.18 +BUILD_DEPENDS="ncurses-extra pam-dev"
    6.19 +SPLIT="screen screen-pam screen-terminfo"
    6.20  
    6.21  # Rules to configure and make the package.
    6.22  compile_rules()
    6.23  {
    6.24 +	cp -a $src $src-pam
    6.25  	./configure --with-sys-screenrc=/etc/screenrc \
    6.26 -		$CONFIGURE_ARGS &&
    6.27 +		--disable-pam $CONFIGURE_ARGS &&
    6.28  	make &&
    6.29  	make -j1 DESTDIR=$DESTDIR install &&
    6.30 -	mkdir -p $DESTDIR/usr/share/terminfo &&
    6.31 -	tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
    6.32 -	mkdir -p $DESTDIR/etc &&
    6.33 -	cp -a $src/etc/screenrc $DESTDIR/etc
    6.34 +	cd $src-pam &&
    6.35 +	./configure --with-sys-screenrc=/etc/screenrc \
    6.36 +		--enable-pam $CONFIGURE_ARGS &&
    6.37 +	make &&
    6.38 +	make -j1 DESTDIR=$DESTDIR-pam install &&
    6.39 +	for dir in $DESTDIR $DESTDIR-pam ; do
    6.40 +		mkdir -p $dir/usr/share/terminfo &&
    6.41 +		tic -o $dir/usr/share/terminfo terminfo/screeninfo.src &&
    6.42 +		mkdir -p $dir/etc &&
    6.43 +		cp -a $src/etc/screenrc $dir/etc
    6.44 +	done
    6.45  }
    6.46  
    6.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.48  genpkg_rules()
    6.49  {
    6.50 -	mkdir -p $fs/usr/bin $fs/usr/share
    6.51 -	cp -a $install/etc $fs
    6.52 -	cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
    6.53 -	cp -a $install/usr/share/screen $fs/usr/share
    6.54 +	case $PACKAGE in
    6.55 +	screen|screen-pam)
    6.56 +		CONFIG_FILES="/etc/screenrc"
    6.57 +		SUGGESTED="screen-terminfo"
    6.58 +		DEPENDS="elfutils"
    6.59 +		[ $PACKAGE == screen-pam] && DEPENDS="$DEPENDS pam" &&
    6.60 +			CAT="system-tools|with PAM support" &&
    6.61 +			PROVIDE="screen:pam" && install=$install-pam
    6.62 +		mkdir -p $fs/usr/bin $fs/usr/share
    6.63 +		cp -a $install/etc $fs
    6.64 +		cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
    6.65 +		cp -a $install/usr/share/screen $fs/usr/share
    6.66 +		;;
    6.67 +	screen-terminfo)
    6.68 +		CAT="system-tools|terminfo files"
    6.69 +		mkdir -p $fs/usr/share
    6.70 +		cp -a $install/usr/share/terminfo $fs/usr/share/
    6.71 +		;;
    6.72 +	esac
    6.73  }