wok-6.x view pure-ftpd/receipt @ rev 20694
get-palemoon: update wget_url
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Feb 04 01:44:39 2019 -0500 (2019-02-04) |
parents | bf4a09ef1d2e |
children | 3f1b4d69cda0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.35"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
11 WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
12 HANDBOOK_URL="https://www.pureftpd.org/project/pure-ftpd/doc"
14 DEPENDS="attr libcap libssl"
15 BUILD_DEPENDS="openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --without-pam \
23 --with-puredb \
24 --with-extauth \
25 $CONFIGURE_ARGS && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc/init.d
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 install -g root -o root -m 0755 $stuff/pure-ftpd $fs/etc/init.d
35 }
37 post_install()
38 {
39 echo ""
40 echo -e "\nTo starts $PACKAGE server you can run :\n"
41 echo "/etc/init.d/$PACKAGE start"
42 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
43 echo ""
44 echo "You may install pure-ftpd-extras package to get pure-config.pl "
45 echo " pure-config.py facilities."
46 }