aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"