wok view pure-ftpd-pam/receipt @ rev 20679

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 12:26:47 2019 +0100 (2019-01-26)
parents bf4a09ef1d2e
children 3f1b4d69cda0
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.35"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="pure-ftpd"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
12 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
13 PROVIDE="pure-ftpd:pam"
15 DEPENDS="pam attr libcap"
16 BUILD_DEPENDS="pam pam-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --with-pam $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/init.d
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd $fs/etc/init.d
34 }
36 post_install()
37 {
38 echo ""
39 echo -e "\nTo starts $PACKAGE server you can run :\n"
40 echo "/etc/init.d/$PACKAGE start"
41 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
42 echo ""
43 echo "You may install pure-ftpd-extras package to get pure-config.pl "
44 echo " pure-config.py facilities."
45 }