wok-6.x view proftpd-tls/receipt @ rev 25150
updated proftpd-tls (1.3.6d -> 1.3.7d)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 17:07:59 2022 +0100 (2022-06-29) |
parents | bc2b9d9bed6f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd-tls"
4 VERSION="1.3.7d"
5 CATEGORY="network"
6 SHORT_DESC="Highly configurable FTP server."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.proftpd.org/"
11 TARBALL="proftpd-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/proftpd/proftpd/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;/rc[0-9]/d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var/run \
31 --mandir=/usr/share/man \
32 --enable-nls \
33 --with-modules=mod_tls \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/libexec
43 mkdir -p $fs/etc/init.d
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/etc $fs
48 install -g root -o root -m 0755 $stuff/protocols \
49 $fs/etc
50 install -g root -o root -m 0755 $stuff/proftpd \
51 $fs/etc/init.d
52 }
54 post_install()
55 {
56 echo ""
57 echo -e "\nTo start proftpd server you can run :\n"
58 echo "/etc/init.d/proftpd start"
59 echo -e "Or add proftpd to RUN_DAEMONS in /etc/rcS.conf\n"
60 }