wok-current view proftpd/receipt @ rev 23913
Add linux-mmc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 17:17:01 2020 +0000 (2020-08-16) |
parents | ffea8d93c567 |
children | 2f230197370e |
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 # 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 }