blob: 278665fca9ecfd91e39f7ed94b8e93c2bc0fbee5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
pkgname=proftpd
pkgver=1.3.5
pkgrel=0
pkgdesc="Highly configurable GPL-licensed FTP server software"
url="http://www.proftpd.org/"
arch="all"
license="GPLv2"
depends=""
depends_dev="ncurses-dev openssl-dev gettext-dev libcap-dev"
makedepends="$depends_dev libtool"
install=""
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="ftp://ftp.proftpd.org/distrib/source/proftpd-${pkgver}.tar.gz
mempcpy.patch
proftpd.initd
proftpd.confd"
_builddir="$srcdir"/"$pkgname"-"$pkgver"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--enable-openssl \
--enable-facl \
--enable-dso \
--enable-ipv6 \
--enable-ctrls \
--with-modules=mod_quotatab:mod_quotatab_file:mod_tls \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var/run
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
}
md5sums="aff1bff40e675244d72c4667f203e5bb proftpd-1.3.5.tar.gz
cee983fba72533440d1a95c87bbbefc3 mempcpy.patch
175ce0cef2fb410d0ac8929ad421f941 proftpd.initd
aab5852ac574e87781f1c9c4942e699b proftpd.confd"
sha256sums="c10316fb003bd25eccbc08c77dd9057e053693e6527ffa2ea2cc4e08ccb87715 proftpd-1.3.5.tar.gz
8d6167cf16551df61139e0410309303721fa58d3898fe9243648c319b61b7135 mempcpy.patch
afcc8971c7ddba740979117f62a01b70453e53b36806c2b2328ca32f47a5964d proftpd.initd
36677336553d5b6bc96b36be766d9eadcc42946a25cb38c0824ff509ede31955 proftpd.confd"
sha512sums="fabc10606f2f6a33c7cbe117e774ed6eba8ef062cb792723f00cc235d4ade6499621f5d546b9b176f76780271c1c881c9e57f9cad67d288b5119fe6ca58c46dd proftpd-1.3.5.tar.gz
50973de4bb234d455d8ec076c80b692b694a179f07a3903f821887bf75adce1f0672f62c97840c08e0d99bfce05f5b710aa15818031580b3f768ed7c77d2971e mempcpy.patch
a2aedcfe4c1e78c7591a21943e63f4880eb461935130ed93d4037a80374e7f70b42f37959c23bd82bf965e67b8c9fab6488d84d01628d23231a5c65270b06a74 proftpd.initd
ea06653f14484b6e3b4267cd964a37d3218c5bcff141c6a33a2e1b46c1f43eaa2996f0d9c3c3eb40c8a8ae9534be09803f53979c37d5fb760d7231a5d3003977 proftpd.confd"
|