wok-6.x view proftpd-tls/receipt @ rev 24696
updated kamailio (5.3.2 -> 5.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:05:22 2022 +0100 (2022-03-13) |
parents | 241fb98cab1c |
children | d642857253e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd-tls"
4 VERSION="1.3.6d"
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 --with-modules=mod_tls \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/libexec
42 mkdir -p $fs/etc/init.d
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/etc $fs
47 install -g root -o root -m 0755 $stuff/protocols \
48 $fs/etc
49 install -g root -o root -m 0755 $stuff/proftpd \
50 $fs/etc/init.d
51 }
53 post_install()
54 {
55 echo ""
56 echo -e "\nTo start proftpd server you can run :\n"
57 echo "/etc/init.d/proftpd start"
58 echo -e "Or add proftpd to RUN_DAEMONS in /etc/rcS.conf\n"
59 }