aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-03 22:04:36 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-03 22:04:36 -0600
commitedaecb006bb95d5b3e6776df46c07010b37c12e2 (patch)
tree14b4b13f3981c62b15374507c4b0f8ad28db5682 /testing
parent5ae98f34fad6832246a95f321c31fa3853a00a3e (diff)
parent3a2b8524dac921901a4b7dfd03d3c5b599901392 (diff)
downloadaports-edaecb006bb95d5b3e6776df46c07010b37c12e2.tar.bz2
aports-edaecb006bb95d5b3e6776df46c07010b37c12e2.tar.xz
Merge http://elizabethmyers.me.uk/~elizabeth/aports
Diffstat (limited to 'testing')
-rw-r--r--testing/proftpd/APKBUILD15
-rw-r--r--testing/proftpd/proftpd.initd1
2 files changed, 12 insertions, 4 deletions
diff --git a/testing/proftpd/APKBUILD b/testing/proftpd/APKBUILD
index b77f36a6d7..d8eac8cc54 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=2
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"
diff --git a/testing/proftpd/proftpd.initd b/testing/proftpd/proftpd.initd
index 30aae779c1..c20a2543a1 100644
--- a/testing/proftpd/proftpd.initd
+++ b/testing/proftpd/proftpd.initd
@@ -14,7 +14,6 @@ start() {
ebegin "Starting ${name}"
start-stop-daemon --start --quiet \
--pidfile /var/run/${name}.pid \
- --chuid ${sample_user}:${sample_group} \
--exec ${daemon} -- ${sample_opts}
eend $?
}