wok-next view proftpd/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 70fb5fbb6fde |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="proftpd"
4 VERSION="1.3.6"
5 CATEGORY="network"
6 SHORT_DESC="Highly configurable FTP server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.proftpd.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
14 BUILD_DEPENDS="acl-dev attr-dev"
15 SPLIT="proftpd-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
27 cat >> $install/etc/proftpd.conf <<EOT
29 # SSLv3 is unsafe, see CVE-2014-3566 POODLE
30 # TLSProtocol TLSv1
31 EOT
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 proftpd)
39 copy @std
40 DEPENDS="ncurses attr"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }