aboutsummaryrefslogtreecommitdiffstats
path: root/main/mini_httpd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-03 17:30:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-03 17:31:40 +0000
commit5e9ddf38f85f18bb4cf62baf88a61af88fd8489b (patch)
tree14bbe9149b420939be172ce54f1800847fb78d29 /main/mini_httpd/APKBUILD
parentd28f3110fd6a9ce353e4921b2d8dc4107cba095a (diff)
downloadaports-5e9ddf38f85f18bb4cf62baf88a61af88fd8489b.tar.bz2
aports-5e9ddf38f85f18bb4cf62baf88a61af88fd8489b.tar.xz
main/mini_httpd: added logrotate script
moved default logfile and pid fiels to /var/{run,log}/mini_httpd/ fixes #80
Diffstat (limited to 'main/mini_httpd/APKBUILD')
-rw-r--r--main/mini_httpd/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/mini_httpd/APKBUILD b/main/mini_httpd/APKBUILD
index 4f7167e709..6bce99530d 100644
--- a/main/mini_httpd/APKBUILD
+++ b/main/mini_httpd/APKBUILD
@@ -1,16 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mini_httpd
pkgver=1.19
-pkgrel=1
+pkgrel=2
pkgdesc="Small forking webserver with ssl and ipv6 support"
url="http://www.acme.com/software/mini_httpd/"
license="BSD"
-depends=
+depends="logrotate"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
source="http://www.acme.com/software/mini_httpd/$pkgname-$pkgver.tar.gz
$pkgname.conf.sample
$pkgname.initd
+ $pkgname.logrotate
"
build() {
@@ -35,8 +36,12 @@ build() {
install -D -m644 ../mini_httpd.conf.sample \
"$pkgdir"/etc/mini_httpd.conf
install -D -m755 ../mini_httpd.initd "$pkgdir"/etc/init.d/mini_httpd
+ install -D -m644 ../mini_httpd.logrotate \
+ "$pkgdir"/etc/logrotate.d/mini_httpd
+ install -d "$pkgdir"/var/run/mini_httpd "$pkgdir"/var/log/mini_httpd
}
md5sums="7c68293ad265ecfe2edea917912f6f1f mini_httpd-1.19.tar.gz
-ec656aadd4751a3f4f6e8c788a5237f2 mini_httpd.conf.sample
-804e5cba1537bddac195e64b5b50d609 mini_httpd.initd"
+bca5b3b1cdc00cf31f0b54797518b893 mini_httpd.conf.sample
+7cfcf81d75be204ecb60eb18fa4d96a7 mini_httpd.initd
+915683e9c7e1cef7ce9b1bbaa31ab680 mini_httpd.logrotate"