wok-next annotate proftpd/receipt @ rev 20936
Update cmake
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 24 15:44:57 2018 +0300 (2018-08-24) |
parents | 757d032c55c7 |
children | d5aab818505e |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pascal@14768 | 2 |
pascal@14768 | 3 PACKAGE="proftpd" |
al@19741 | 4 VERSION="1.3.6" |
pascal@14768 | 5 CATEGORY="network" |
al@19741 | 6 SHORT_DESC="Highly configurable FTP server" |
pascal@14768 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19741 | 9 WEB_SITE="http://www.proftpd.org/" |
al@19741 | 10 |
pascal@14768 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14768 | 12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL" |
pascal@14768 | 13 |
al@19741 | 14 BUILD_DEPENDS="acl-dev attr-dev" |
al@19741 | 15 SPLIT="proftpd-dev" |
pascal@14768 | 16 |
al@20534 | 17 compile_rules() { |
al@20534 | 18 ./configure $CONFIGURE_ARGS && |
al@20604 | 19 fix libtool && |
pascal@14768 | 20 make && |
pascal@14768 | 21 make DESTDIR=$DESTDIR install |
al@19741 | 22 |
al@19741 | 23 cat >> $install/etc/proftpd.conf <<EOT |
al@19741 | 24 |
al@19741 | 25 # SSLv3 is unsafe, see CVE-2014-3566 POODLE |
al@19741 | 26 # TLSProtocol TLSv1 |
al@19741 | 27 EOT |
pascal@14768 | 28 } |
pascal@14768 | 29 |
al@20534 | 30 genpkg_rules() { |
al@19741 | 31 case $PACKAGE in |
al@19741 | 32 proftpd) |
al@19741 | 33 copy @std |
al@19741 | 34 DEPENDS="ncurses attr" |
al@19741 | 35 ;; |
al@19741 | 36 *-dev) copy @dev;; |
al@19741 | 37 esac |
pascal@14768 | 38 } |