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

Up: git to 1.7.9.1. Add git-daemon so the user can run a web daemon of git repos.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 18 08:37:39 2012 -0500 (2012-02-18)
parents 7b13b3b4b836
children bf4a09ef1d2e
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 DEPENDS="pam attr libcap"
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=$DESTDIR 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 $WOK/$SOURCE/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."
43 }