wok-current view proftpd-tls/receipt @ rev 24507
updated easy-rsa (3.0.6 -> 3.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 16:37:53 2022 +0100 (2022-02-20) |
parents | 76c6aefc6ac6 |
children | bc2b9d9bed6f |
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 - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/proftpd-[0-9]/!d;/tar/!d;/rc[1-9]/d;s|.*proftpd-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 }