diff options
author | Elizabeth Jennifer Myers <elizabeth@sporksirc.net> | 2011-02-03 20:40:51 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2011-02-07 20:17:44 +0000 |
commit | 460559423b8955f107aa54aaed9a252a9b18ef4f (patch) | |
tree | 7f421228fdedfc936324dd838c31d959545881d6 | |
parent | b7adef91b069d8ae2e2ee1c1062034677fe9f73d (diff) | |
download | aports-460559423b8955f107aa54aaed9a252a9b18ef4f.tar.bz2 aports-460559423b8955f107aa54aaed9a252a9b18ef4f.tar.xz |
testing/proftpd: make init scripts actually install.
-rw-r--r-- | testing/proftpd/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/testing/proftpd/APKBUILD b/testing/proftpd/APKBUILD index b77f36a6d..84cadd12f 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" |