wok-next view proftpd/receipt @ rev 19864

slitaz-base-files: fix typo; up slitaz-boot-scripts (443)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 02:09:10 2017 +0300 (2017-09-12)
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 }