aboutsummaryrefslogtreecommitdiffstats
path: root/main/mini_httpd/APKBUILD
diff options
context:
space:
mode:
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"