wok view proftpd/receipt @ rev 24737
updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:39:00 2022 +0100 (2022-03-16) |
parents | 2f230197370e |
children | 94c4d1ac52fd |
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd"
4 VERSION="1.3.6d"
5 CATEGORY="network"
6 SHORT_DESC="Highly configurable FTP server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.proftpd.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
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 \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 # cp -a $install/usr/lib/proftpd $fs/usr/lib # empty directory
45 cp -a $install/etc $fs
47 cat >> $fs/etc/proftpd.conf <<EOT
49 # SSLv3 is unsafe, see CVE-2014-3566 POODLE
50 # TLSProtocol TLSv1
51 EOT
52 }