wok-next view pure-ftpd/receipt @ rev 21058

Update viewnior (1.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 23:35:15 2018 +0200 (2018-12-03)
parents e6615350078d
children
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="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
11 TARBALL="pure-ftpd-$VERSION.tar.bz2"
12 WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
14 BUILD_DEPENDS="openssl-dev pam-dev"
15 SPLIT="$PACKAGE-pam:pam"
17 compile_rules() {
18 case $SET in
19 '') SET_ARGS='--without-pam --with-puredb --with-extauth';;
20 pam) SET_ARGS='--with-pam';;
21 esac
23 ./configure \
24 $SET_ARGS \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install || return 1
29 # daemon
30 install -Dm755 $stuff/pure-ftpd $install/etc/init.d/pure-ftpd
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 pure-ftpd)
36 copy @std
37 DEPENDS="attr libcap openssl"
38 ;;
39 *-pam)
40 copy @std
41 CAT="network|using PAM"
42 DEPENDS="attr libcap pam"
43 PROVIDE="pure-ftpd:pam"
44 ;;
45 esac
46 CONFIG_FILES="/etc/pure-ftpd.conf"
47 }