wok view pure-ftpd-pam/receipt @ rev 25170
updated python, python-dev and python-idle (2.7.17 -> 2.7.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 15:56:11 2022 +0100 (2022-07-01) |
parents | bd7510903310 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pure-ftpd-pam"
4 VERSION="1.0.51"
5 CATEGORY="network"
6 SHORT_DESC="A secure FTP daemon using PAM."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pureftpd.org/project/pure-ftpd"
11 SOURCE="pure-ftpd"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
15 PROVIDE="pure-ftpd:pam"
16 DEPENDS="attr libcap libssl pam"
17 BUILD_DEPENDS="openssl-dev pam pam-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/pure-ftpd-[0-9]/!d;/tar/!d;s|.*pure-ftpd-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --with-pam \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/etc/init.d
42 install -g root -o root -m 0755 $WOK/$SOURCE/stuff/pure-ftpd \
43 $fs/etc/init.d
44 cook_copy_folders bin
45 cook_copy_folders sbin
46 }
48 post_install()
49 {
50 echo ""
51 echo -e "\nTo start $PACKAGE server you can run :\n"
52 echo "/etc/init.d/$PACKAGE start"
53 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
54 }