wok-next view pure-ftpd/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }