wok-current annotate proftpd/receipt @ rev 23857
Up exiftool (12.00)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 17 10:08:20 2020 +0000 (2020-06-17) |
parents | ffea8d93c567 |
children | 2f230197370e |
rev | line source |
---|---|
pascal@14768 | 1 # SliTaz package receipt. |
pascal@14768 | 2 |
pascal@14768 | 3 PACKAGE="proftpd" |
mojo@23842 | 4 VERSION="1.3.6d" |
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" |
Hans-G?nter@21703 | 9 WEB_SITE="http://www.proftpd.org/" |
Hans-G?nter@21703 | 10 |
pascal@14768 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14768 | 12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL" |
pascal@14768 | 13 |
pascal@14768 | 14 DEPENDS="" |
pascal@14768 | 15 BUILD_DEPENDS="" |
pascal@14768 | 16 |
pascal@14768 | 17 # Rules to configure and make the package. |
pascal@14768 | 18 compile_rules() |
pascal@14768 | 19 { |
Hans-G?nter@21703 | 20 ./configure \ |
Hans-G?nter@21703 | 21 --prefix=/usr \ |
Hans-G?nter@21703 | 22 --sysconfdir=/etc \ |
Hans-G?nter@21703 | 23 --localstatedir=/var \ |
Hans-G?nter@21703 | 24 --mandir=/usr/share/man \ |
pascal@14768 | 25 $CONFIGURE_ARGS && |
pascal@14768 | 26 make && |
pascal@14768 | 27 make DESTDIR=$DESTDIR install |
pascal@14768 | 28 } |
pascal@14768 | 29 |
pascal@14768 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14768 | 31 genpkg_rules() |
pascal@14768 | 32 { |
Hans-G?nter@21703 | 33 mkdir -p $fs/usr |
Hans-G?nter@21703 | 34 |
Hans-G?nter@21703 | 35 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21703 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21703 | 37 # cp -a $install/usr/lib/proftpd $fs/usr/lib # empty directory |
Hans-G?nter@21703 | 38 cp -a $install/etc $fs |
Hans-G?nter@21703 | 39 |
pascal@17238 | 40 cat >> $fs/etc/proftpd.conf <<EOT |
pascal@17238 | 41 |
pascal@17238 | 42 # SSLv3 is unsafe, see CVE-2014-3566 POODLE |
pascal@17238 | 43 # TLSProtocol TLSv1 |
pascal@17238 | 44 EOT |
pascal@14768 | 45 } |