aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-05-10 12:57:03 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2020-05-10 11:20:24 +0000
commit09577741d192fa30164d04eae4de5cc41f6b3b58 (patch)
treeecbdb04cabcfa7fc8c1f4612e6993fd462b51132
parent4849def48f6a0503e9aafb9581b40fad7aff3dc6 (diff)
downloadaports-09577741d192fa30164d04eae4de5cc41f6b3b58.tar.gz
aports-09577741d192fa30164d04eae4de5cc41f6b3b58.tar.bz2
aports-09577741d192fa30164d04eae4de5cc41f6b3b58.tar.xz
main/darkhttpd: add darkhttpd.confd file
-rw-r--r--main/darkhttpd/APKBUILD5
-rw-r--r--main/darkhttpd/darkhttpd.confd8
2 files changed, 12 insertions, 1 deletions
diff --git a/main/darkhttpd/APKBUILD b/main/darkhttpd/APKBUILD
index 7c5269e520..ead1738329 100644
--- a/main/darkhttpd/APKBUILD
+++ b/main/darkhttpd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=darkhttpd
pkgver=1.12
-pkgrel=4
+pkgrel=5
pkgdesc="A simple, single-threaded, static content webserver"
url="https://unix4lyfe.org/darkhttpd/"
arch="all"
@@ -13,6 +13,7 @@ subpackages="$pkgname-openrc"
source="https://unix4lyfe.org/darkhttpd/darkhttpd-$pkgver.tar.bz2
darkhttpd.logrotate
darkhttpd.initd
+ darkhttpd.confd
0001-Add-svg-support-to-default-mimetypes.patch
"
@@ -27,9 +28,11 @@ package() {
"$pkgdir"/var/log/darkhttpd
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
sha512sums="e977ba0401b24a122733f8d5084fcdea4a3e2664dd5c127b26b822bfdbe458124104b1d5c673a8689af988b5713ce2e902945238b815b82104f286f577eea8bd darkhttpd-1.12.tar.bz2
bb95277a9f8f227aeec8bfe6ef54f52a2f034ed0dd25258b996c17f9ce9dd4ad220366b10490246b25bb6b18ccde7bda0d52eeb88667941cf2fdab15c940dbbc darkhttpd.logrotate
4f7a720f05642b26bc2e2254098033e943856986a7da4a607fe8633fcf9d9c763c3e35de98ceb16fe8d88c2e288a54d62a1bd643009a119a77f4d48b95254ebb darkhttpd.initd
+4920c242c80ed9df6dc5589ca2c4fca158ff1fb58669b77b75a24b26be94719a062a959bd52b678b2bd37043440e26a06bff7ac3330dd48256138c31169e21ed darkhttpd.confd
71a35551e2e34e8ced60e2c836c7d22f9b543b79fda2e273b41eaed7aefc22895d9c0b2e6f86dc7d0f916ed244b9ea42e2236f796eab07e7e0ba83faa4ba5762 0001-Add-svg-support-to-default-mimetypes.patch"
diff --git a/main/darkhttpd/darkhttpd.confd b/main/darkhttpd/darkhttpd.confd
new file mode 100644
index 0000000000..0e9013ef3b
--- /dev/null
+++ b/main/darkhttpd/darkhttpd.confd
@@ -0,0 +1,8 @@
+# darkhttpd web server config
+#
+# document_root="-/var/www/localhost/htdocs"
+# addr=127.0.0.1
+# port=8080
+
+#extra arguments
+darkhttpd_args=""