wok-6.x view proftpd-tls/receipt @ rev 23874

squidclamav: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 25 19:42:45 2020 +0000 (2020-06-25)
parents
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="proftpd-tls"
4 VERSION="1.3.6d"
5 CATEGORY="network"
6 SHORT_DESC="Highly configurable FTP server."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.proftpd.org/"
11 TARBALL="proftpd-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var/run \
24 --mandir=/usr/share/man \
25 --with-modules=mod_tls \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/libexec
35 mkdir -p $fs/etc/init.d
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/etc $fs
40 install -g root -o root -m 0755 $stuff/protocols \
41 $fs/etc
42 install -g root -o root -m 0755 $stuff/proftpd \
43 $fs/etc/init.d
44 }
46 post_install()
47 {
48 echo ""
49 echo -e "\nTo start proftpd server you can run :\n"
50 echo "/etc/init.d/proftpd start"
51 echo -e "Or add proftpd to RUN_DAEMONS in /etc/rcS.conf\n"
52 }