wok view proftpd/receipt @ rev 22978

Up upx (3.96)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 29 16:29:22 2020 +0100 (2020-02-29)
parents 70fb5fbb6fde
children ffea8d93c567
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd"
4 VERSION="1.3.6"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 # cp -a $install/usr/lib/proftpd $fs/usr/lib # empty directory
38 cp -a $install/etc $fs
40 cat >> $fs/etc/proftpd.conf <<EOT
42 # SSLv3 is unsafe, see CVE-2014-3566 POODLE
43 # TLSProtocol TLSv1
44 EOT
45 }