wok-next diff proftpd/receipt @ rev 19988
Add qt5 - now it's look good enough
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 20 03:29:40 2017 +0300 (2017-10-20) |
parents | 70fb5fbb6fde |
children | 757d032c55c7 |
line diff
1.1 --- a/proftpd/receipt Sat Oct 18 14:31:43 2014 +0200 1.2 +++ b/proftpd/receipt Fri Oct 20 03:29:40 2017 +0300 1.3 @@ -1,42 +1,44 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="proftpd" 1.8 -VERSION="1.3.4d" 1.9 +VERSION="1.3.6" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="Highly configurable FTP server." 1.12 +SHORT_DESC="Highly configurable FTP server" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://www.proftpd.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.proftpd.org/" 1.19 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL" 1.20 1.21 -DEPENDS="" 1.22 -BUILD_DEPENDS="" 1.23 +BUILD_DEPENDS="acl-dev attr-dev" 1.24 +SPLIT="proftpd-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - cd $src 1.30 - ./configure --prefix=/usr \ 1.31 + ./configure \ 1.32 --sysconfdir=/etc \ 1.33 --localstatedir=/var \ 1.34 - --mandir=/usr/share/man \ 1.35 $CONFIGURE_ARGS && 1.36 make && 1.37 make DESTDIR=$DESTDIR install 1.38 + 1.39 + cat >> $install/etc/proftpd.conf <<EOT 1.40 + 1.41 +# SSLv3 is unsafe, see CVE-2014-3566 POODLE 1.42 +# TLSProtocol TLSv1 1.43 +EOT 1.44 } 1.45 1.46 # Rules to gen a SliTaz package suitable for Tazpkg. 1.47 genpkg_rules() 1.48 { 1.49 - mkdir -p $fs/usr/lib 1.50 - cp -a $install/usr/sbin $fs/usr 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/lib/proftpd $fs/usr/lib 1.53 - cp -a $install/etc $fs 1.54 - cat >> $fs/etc/proftpd.conf <<EOT 1.55 - 1.56 -# SSLv3 is unsafe, see CVE-2014-3566 POODLE 1.57 -# TLSProtocol TLSv1 1.58 -EOT 1.59 + case $PACKAGE in 1.60 + proftpd) 1.61 + copy @std 1.62 + DEPENDS="ncurses attr" 1.63 + ;; 1.64 + *-dev) copy @dev;; 1.65 + esac 1.66 }