aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2021-02-14 02:07:21 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-02-14 08:33:49 +0000
commit0dbade21332ee54891f165dcea4afe4bd6b167dc (patch)
tree3a421925d4013ba06eec0a5e4cb83a46f4a8fab8
parent020a66d1c235dfab51010409c5cd441f55175677 (diff)
downloadaports-0dbade21332ee54891f165dcea4afe4bd6b167dc.tar.gz
aports-0dbade21332ee54891f165dcea4afe4bd6b167dc.tar.bz2
aports-0dbade21332ee54891f165dcea4afe4bd6b167dc.tar.xz
main/darkhttpd: upgrade to 1.13
* Remove patch for svg mimetype since it is now upstream.
-rw-r--r--main/darkhttpd/0001-Add-svg-support-to-default-mimetypes.patch24
-rw-r--r--main/darkhttpd/APKBUILD13
2 files changed, 5 insertions, 32 deletions
diff --git a/main/darkhttpd/0001-Add-svg-support-to-default-mimetypes.patch b/main/darkhttpd/0001-Add-svg-support-to-default-mimetypes.patch
deleted file mode 100644
index b81c7e4247..0000000000
--- a/main/darkhttpd/0001-Add-svg-support-to-default-mimetypes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From c5412405c3a697d4bb8ecae96442a9d1c050983a Mon Sep 17 00:00:00 2001
-From: Carlo Landmeter <clandmeter@alpinelinux.org>
-Date: Mon, 14 May 2018 09:01:32 +0000
-Subject: [PATCH] Add svg support to default mimetypes
-
----
- darkhttpd.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/darkhttpd.c b/darkhttpd.c
-index 1c5eff5..6b81bf8 100644
---- a/darkhttpd.c
-+++ b/darkhttpd.c
-@@ -317,6 +317,7 @@ static const char *default_extension_map[] = {
- "image/gif" " gif",
- "image/jpeg" " jpeg jpe jpg",
- "image/png" " png",
-+ "image/svg+xml" " svg svgz",
- "text/css" " css",
- "text/html" " html htm",
- "text/javascript" " js",
---
-2.17.0
-
diff --git a/main/darkhttpd/APKBUILD b/main/darkhttpd/APKBUILD
index b4c8150915..f22aaa0226 100644
--- a/main/darkhttpd/APKBUILD
+++ b/main/darkhttpd/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=darkhttpd
-pkgver=1.12
-pkgrel=6
+pkgver=1.13
+pkgrel=0
pkgdesc="A simple, single-threaded, static content webserver"
url="https://unix4lyfe.org/darkhttpd/"
arch="all"
@@ -10,12 +10,10 @@ license="ISC"
options="!check" # no tests
install="$pkgname.pre-install"
subpackages="$pkgname-openrc"
-source="https://unix4lyfe.org/darkhttpd/darkhttpd-$pkgver.tar.bz2
+source="darkhttpd-$pkgver.tar.gz::https://github.com/emikulic/darkhttpd/archive/v$pkgver.tar.gz
darkhttpd.logrotate
darkhttpd.initd
darkhttpd.confd
-
- 0001-Add-svg-support-to-default-mimetypes.patch
"
build() {
@@ -31,8 +29,7 @@ package() {
install -Dm644 "$srcdir"/darkhttpd.confd "$pkgdir"/etc/conf.d/darkhttpd
}
-sha512sums="e977ba0401b24a122733f8d5084fcdea4a3e2664dd5c127b26b822bfdbe458124104b1d5c673a8689af988b5713ce2e902945238b815b82104f286f577eea8bd darkhttpd-1.12.tar.bz2
+sha512sums="2c8c5dd225f3ba8b636adeae049039b5c3f852b3efe17969075cd361c34f7bfbef9efa6d64a0a9c6021fae939d85befe92981923e1fa3d326c8a8402f3358868 darkhttpd-1.13.tar.gz
bb95277a9f8f227aeec8bfe6ef54f52a2f034ed0dd25258b996c17f9ce9dd4ad220366b10490246b25bb6b18ccde7bda0d52eeb88667941cf2fdab15c940dbbc darkhttpd.logrotate
dd792892588e03cef4a36bb8e81297990884298d8a2bc1c14ae2d8986a0a17af8d15bf3fb4e1830d22b154dc00591d884e20da915f51fd8ecf3b05b6c92dc7d4 darkhttpd.initd
-79ecdbc751e8b5497a1afee294cf0addb4261f041a58a382e7fb51dd698dd99625a369173542c905e1e4eac7c68dfa1d8d778f4777ebe74d5031817a6ec437ad darkhttpd.confd
-71a35551e2e34e8ced60e2c836c7d22f9b543b79fda2e273b41eaed7aefc22895d9c0b2e6f86dc7d0f916ed244b9ea42e2236f796eab07e7e0ba83faa4ba5762 0001-Add-svg-support-to-default-mimetypes.patch"
+79ecdbc751e8b5497a1afee294cf0addb4261f041a58a382e7fb51dd698dd99625a369173542c905e1e4eac7c68dfa1d8d778f4777ebe74d5031817a6ec437ad darkhttpd.confd"