wok view pure-ftpd-pam/receipt @ rev 21156
updated libconfig and libconfig-dev (1.4.8 -> 1.7.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 30 16:22:55 2019 +0100 (2019-03-30) |
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 }