diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-02 08:43:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-02 08:51:59 +0000 |
commit | c08ec0cafaaf25b4c83499fac69819b919354f45 (patch) | |
tree | 35784317d7ee4d27daf6e57d4726e14ab2ab8109 /main/mini_httpd/APKBUILD | |
parent | 9d0eac076fd40cc142247a8235a4d8f1b67a35f8 (diff) | |
download | aports-c08ec0cafaaf25b4c83499fac69819b919354f45.tar.bz2 aports-c08ec0cafaaf25b4c83499fac69819b919354f45.tar.xz |
main/mini_httpd: move config to /etc/mini_httpd/
and provide upgrade path
Diffstat (limited to 'main/mini_httpd/APKBUILD')
-rw-r--r-- | main/mini_httpd/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/mini_httpd/APKBUILD b/main/mini_httpd/APKBUILD index c62aec1398..eef36c5235 100644 --- a/main/mini_httpd/APKBUILD +++ b/main/mini_httpd/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mini_httpd pkgver=1.19 -pkgrel=6 +pkgrel=7 pkgdesc="Small forking webserver with ssl and ipv6 support" url="http://www.acme.com/software/mini_httpd/" arch="all" @@ -9,6 +9,7 @@ license="BSD" depends="logrotate" makedepends="openssl-dev" subpackages="$pkgname-doc" +install="$pkgname.pre-install $pkgname.pre-upgrade" source="http://www.acme.com/software/mini_httpd/$pkgname-$pkgver.tar.gz $pkgname.conf.sample $pkgname.initd @@ -35,7 +36,7 @@ build() { mkdir -p "$pkgdir"/var/www/localhost/htdocs install -D -m644 ../mini_httpd.conf.sample \ - "$pkgdir"/etc/mini_httpd.conf + "$pkgdir"/etc/mini_httpd/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 @@ -43,6 +44,6 @@ build() { } md5sums="7c68293ad265ecfe2edea917912f6f1f mini_httpd-1.19.tar.gz -bca5b3b1cdc00cf31f0b54797518b893 mini_httpd.conf.sample -02a9a415c365aa40c27211afbaa545c7 mini_httpd.initd +2cd6630a7e19461b31a93504a8b6b24b mini_httpd.conf.sample +3272107de6b7e832f4d0bac7ff76ec12 mini_httpd.initd 915683e9c7e1cef7ce9b1bbaa31ab680 mini_httpd.logrotate" |