wok-next annotate proftpd/receipt @ rev 17473
syslinux/iso2exe: add 64bits support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 27 17:56:57 2014 +0100 (2014-12-27) |
parents | 7896f0694ef6 |
children | 9278a60d6895 |
rev | line source |
---|---|
pascal@14768 | 1 # SliTaz package receipt. |
pascal@14768 | 2 |
pascal@14768 | 3 PACKAGE="proftpd" |
pascal@14768 | 4 VERSION="1.3.4d" |
pascal@14768 | 5 CATEGORY="network" |
pascal@14768 | 6 SHORT_DESC="Highly configurable FTP server." |
pascal@14768 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@14768 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14768 | 10 WEB_SITE="http://www.proftpd.org/" |
pascal@14768 | 11 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL" |
pascal@14768 | 12 |
pascal@14768 | 13 DEPENDS="" |
pascal@14768 | 14 BUILD_DEPENDS="" |
pascal@14768 | 15 |
pascal@14768 | 16 # Rules to configure and make the package. |
pascal@14768 | 17 compile_rules() |
pascal@14768 | 18 { |
pascal@14768 | 19 cd $src |
pascal@14768 | 20 ./configure --prefix=/usr \ |
pascal@14768 | 21 --sysconfdir=/etc \ |
pascal@14768 | 22 --localstatedir=/var \ |
pascal@14768 | 23 --mandir=/usr/share/man \ |
pascal@14768 | 24 $CONFIGURE_ARGS && |
pascal@14768 | 25 make && |
pascal@14768 | 26 make DESTDIR=$DESTDIR install |
pascal@14768 | 27 } |
pascal@14768 | 28 |
pascal@14768 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14768 | 30 genpkg_rules() |
pascal@14768 | 31 { |
pascal@14768 | 32 mkdir -p $fs/usr/lib |
pascal@14768 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@14768 | 34 cp -a $install/usr/bin $fs/usr |
pascal@14768 | 35 cp -a $install/usr/lib/proftpd $fs/usr/lib |
pascal@14768 | 36 cp -a $install/etc $fs |
pascal@17238 | 37 cat >> $fs/etc/proftpd.conf <<EOT |
pascal@17238 | 38 |
pascal@17238 | 39 # SSLv3 is unsafe, see CVE-2014-3566 POODLE |
pascal@17238 | 40 # TLSProtocol TLSv1 |
pascal@17238 | 41 EOT |
pascal@14768 | 42 } |