aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proftpd
diff options
context:
space:
mode:
authorElizabeth Jennifer Myers <elizabeth@sporksirc.net>2011-02-03 20:40:51 +0000
committerElizabeth Jennifer Myers <elizabeth@sporksirc.net>2011-02-03 20:40:51 +0000
commit160da6a882c5caec058652b39d2f5e6e5110f451 (patch)
treee3ed9ac08d83a76678cc9ab39e81e0f13e7b3e65 /testing/proftpd
parent46f323660247f30243eeae7940562704682630e5 (diff)
downloadaports-160da6a882c5caec058652b39d2f5e6e5110f451.tar.bz2
aports-160da6a882c5caec058652b39d2f5e6e5110f451.tar.xz
testing/proftpd: make init scripts actually install.
Diffstat (limited to 'testing/proftpd')
-rw-r--r--testing/proftpd/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/testing/proftpd/APKBUILD b/testing/proftpd/APKBUILD
index b77f36a6d7..84cadd12fe 100644
--- a/testing/proftpd/APKBUILD
+++ b/testing/proftpd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
pkgname=proftpd
pkgver=1.3.3d
-pkgrel=0
+pkgrel=1
pkgdesc="Highly configurable GPL-licensed FTP server software"
url="http://www.proftpd.org/"
arch="all"
@@ -12,7 +12,9 @@ depends_dev="ncurses-dev openssl-dev"
makedepends="$depends_dev libtool"
install=""
subpackages="$pkgname-doc"
-source="ftp://ftp.proftpd.org/distrib/source/proftpd-${pkgver}.tar.bz2"
+source="ftp://ftp.proftpd.org/distrib/source/proftpd-${pkgver}.tar.bz2
+ proftpd.initd
+ proftpd.confd"
_builddir="$srcdir"/"$pkgname"-"$pkgver"
@@ -35,6 +37,13 @@ build() {
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="69650e91e05b3a10fa3ac54ee261679b proftpd-1.3.3d.tar.bz2"
+md5sums="69650e91e05b3a10fa3ac54ee261679b proftpd-1.3.3d.tar.bz2
+ed5b1659eb95ccda6cdc78e8c3f8b7a5 proftpd.initd
+aab5852ac574e87781f1c9c4942e699b proftpd.confd"