wok-next diff pure-ftpd-pam/receipt @ rev 20143
postgresql: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:18:25 2017 +0100 (2017-11-01) |
parents | bf4a09ef1d2e |
children |
line diff
1.1 --- a/pure-ftpd-pam/receipt Fri Oct 18 22:13:53 2013 +0000 1.2 +++ b/pure-ftpd-pam/receipt Wed Nov 01 11:18:25 2017 +0100 1.3 @@ -1,45 +1,37 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="pure-ftpd-pam" 1.8 -VERSION="1.0.35" 1.9 +VERSION="1.0.46" 1.10 CATEGORY="network" 1.11 SHORT_DESC="A secure FTP daemon using PAM" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="BSD" 1.14 -SOURCE="pure-ftpd" 1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" 1.17 -WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" 1.18 +WEB_SITE="https://www.pureftpd.org/project/pure-ftpd" 1.19 +CONFIG_FILES="/etc/pure-ftpd.conf" 1.20 +SIBLINGS="pure-ftpd" 1.21 PROVIDE="pure-ftpd:pam" 1.22 1.23 +TARBALL="pure-ftpd-$VERSION.tar.bz2" 1.24 +WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" 1.25 + 1.26 DEPENDS="pam attr libcap" 1.27 -BUILD_DEPENDS="pam pam-dev" 1.28 +BUILD_DEPENDS="pam-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - cd $src 1.34 - ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS && 1.35 - make && 1.36 - make DESTDIR=$DESTDIR install 1.37 + ./configure \ 1.38 + --with-pam \ 1.39 + $CONFIGURE_ARGS && 1.40 + make && make install 1.41 + 1.42 + # daemon 1.43 + mkdir -p $install/etc/init.d 1.44 + install -groot -oroot -m0755 $WOK/pure-ftpd/stuff/pure-ftpd $install/etc/init.d 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr $fs/etc/init.d 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/sbin $fs/usr 1.53 - install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d 1.54 + copy @std 1.55 } 1.56 - 1.57 -post_install() 1.58 -{ 1.59 - echo "" 1.60 - echo -e "\nTo starts $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 - echo "" 1.64 - echo "You may install pure-ftpd-extras package to get pure-config.pl " 1.65 - echo " pure-config.py facilities." 1.66 -}