aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hiawatha/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-12 16:09:25 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-05-12 16:09:25 +0200
commit8674fd5de57f45b21358377f146a853860e7966b (patch)
treef1524c3c6daec5a83652c0efe32c410bb7f8efd6 /testing/hiawatha/APKBUILD
parent4bdb5fec6cfda10b887fbe051fe8b6b1d15c0d94 (diff)
downloadaports-8674fd5de57f45b21358377f146a853860e7966b.tar.bz2
aports-8674fd5de57f45b21358377f146a853860e7966b.tar.xz
testing/hiawatha: run server as nobody
Diffstat (limited to 'testing/hiawatha/APKBUILD')
-rw-r--r--testing/hiawatha/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/hiawatha/APKBUILD b/testing/hiawatha/APKBUILD
index f7101313c2..e071994a04 100644
--- a/testing/hiawatha/APKBUILD
+++ b/testing/hiawatha/APKBUILD
@@ -3,7 +3,7 @@
pkgname=hiawatha
pkgver=9.1
-pkgrel=0
+pkgrel=1
pkgdesc='Secure and advanced webserver'
url='https://www.hiawatha-webserver.org/'
arch=all
@@ -37,9 +37,9 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir/" install || return 1
- sed -i 's|#ServerId = www-data|ServerId = http|' \
+ sed -i 's|#ServerId = www-data|ServerId = nobody|' \
"$pkgdir"/etc/hiawatha/hiawatha.conf || return 1
- sed -i 's|www-data|http|g' logrotate.d/hiawatha || return 1
+ sed -i 's|www-data|nobody|g' logrotate.d/hiawatha || return 1
install -Dm644 logrotate.d/hiawatha \
"$pkgdir"/etc/logrotate.d/hiawatha || return 1
install -Dm755 "$srcdir"/hiawatha.initd \