wok view proftpd/receipt @ rev 17257
Up: yad (0.27.0).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 21 16:31:29 2014 +0300 (2014-10-21) |
parents | 7896f0694ef6 |
children | 395ad616796a |
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd"
4 VERSION="1.3.4d"
5 CATEGORY="network"
6 SHORT_DESC="Highly configurable FTP server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.proftpd.org/"
11 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/proftpd $fs/usr/lib
36 cp -a $install/etc $fs
37 cat >> $fs/etc/proftpd.conf <<EOT
39 # SSLv3 is unsafe, see CVE-2014-3566 POODLE
40 # TLSProtocol TLSv1
41 EOT
42 }