wok-next view pure-ftpd-pam/receipt @ rev 2189

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