wok-next view pure-ftpd/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | d3adbeea3a9f |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pure-ftpd"
4 VERSION="1.0.46"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
10 CONFIG_FILES="/etc/pure-ftpd.conf"
12 TARBALL="pure-ftpd-$VERSION.tar.bz2"
13 WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
15 BUILD_DEPENDS="openssl-dev pam-dev"
16 SPLIT="pure-ftpd pure-ftpd-pam"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp -a $src $src-pam
22 ./configure \
23 --without-pam \
24 --with-puredb \
25 --with-extauth \
26 $CONFIGURE_ARGS &&
27 make && make install || return 1
29 cd $src-pam
30 ./configure \
31 --with-pam \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR-pam install || return 1
35 # daemon
36 mkdir -p $install/etc/init.d $install-pam/etc/init.d
37 install -groot -oroot -m0755 $stuff/pure-ftpd $install/etc/init.d
38 install -groot -oroot -m0755 $stuff/pure-ftpd $install-pam/etc/init.d
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 case $PACKAGE in
45 pure-ftpd)
46 DEPENDS="attr libcap openssl"
47 copy @std
48 ;;
49 pure-ftpd-pam)
50 DEPENDS="attr libcap pam"
51 PROVIDE="pure-ftpd:pam"
52 CAT="network|using PAM"
53 install=$install-pam copy @std
54 ;;
55 esac
56 }