wok annotate pure-ftpd-pam/receipt @ rev 23614
updated redis (2.8.19 -> 5.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 07:29:26 2020 +0100 (2020-04-14) |
parents | 3f1b4d69cda0 |
children | 241fb98cab1c |
rev | line source |
---|---|
pascal@2189 | 1 # SliTaz package receipt. |
pascal@2189 | 2 |
pascal@2189 | 3 PACKAGE="pure-ftpd-pam" |
Hans-G?nter@23456 | 4 VERSION="1.0.49" |
pascal@2189 | 5 CATEGORY="network" |
Hans-G?nter@23456 | 6 SHORT_DESC="A secure FTP daemon using PAM." |
pascal@2189 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15376 | 8 LICENSE="BSD" |
Hans-G?nter@23456 | 9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd" |
Hans-G?nter@23456 | 10 |
pascal@2189 | 11 SOURCE="pure-ftpd" |
pascal@2189 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@2189 | 13 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" |
Hans-G?nter@23456 | 14 |
pascal@2189 | 15 PROVIDE="pure-ftpd:pam" |
Hans-G?nter@23456 | 16 DEPENDS="attr libcap libssl pam" |
Hans-G?nter@23456 | 17 BUILD_DEPENDS="openssl-dev pam pam-dev" |
pascal@15376 | 18 |
pascal@2189 | 19 # Rules to configure and make the package. |
pascal@2189 | 20 compile_rules() |
pascal@2189 | 21 { |
Hans-G?nter@23456 | 22 ./configure \ |
Hans-G?nter@23456 | 23 --prefix=/usr \ |
Hans-G?nter@23456 | 24 --with-pam \ |
Hans-G?nter@23456 | 25 $CONFIGURE_ARGS && |
pascal@2189 | 26 make && |
slaxemulator@11358 | 27 make DESTDIR=$DESTDIR install |
pascal@2189 | 28 } |
pascal@2189 | 29 |
pascal@2189 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2189 | 31 genpkg_rules() |
pascal@2189 | 32 { |
Hans-G?nter@23456 | 33 mkdir -p $fs/usr |
Hans-G?nter@23456 | 34 mkdir -p $fs/etc/init.d |
Hans-G?nter@23456 | 35 |
Hans-G?nter@23456 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23456 | 37 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23456 | 38 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd \ |
Hans-G?nter@23456 | 39 $fs/etc/init.d |
pascal@2189 | 40 } |
pascal@2189 | 41 |
pascal@2189 | 42 post_install() |
pascal@2189 | 43 { |
pascal@2189 | 44 echo "" |
Hans-G?nter@23456 | 45 echo -e "\nTo start $PACKAGE server you can run :\n" |
slaxemulator@11358 | 46 echo "/etc/init.d/$PACKAGE start" |
slaxemulator@11358 | 47 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" |
pascal@2189 | 48 } |