wok-current view pure-ftpd-pam/receipt @ rev 18190
Add luufs & logfence
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 09 21:09:43 2015 +0200 (2015-07-09) |
parents | 981962641fe2 |
children | 6135577f4d08 |
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="http://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 }