aboutsummaryrefslogtreecommitdiffstats
path: root/main/mini_httpd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-06-04 12:13:06 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-06-04 12:14:44 +0000
commitd872daa048a1babdcd705ad04b2e3d77827878d8 (patch)
tree76f62d40e6aae22cc884fb295aab83b81653af17 /main/mini_httpd
parentbedb9624633027663768b8e55974b0c12388bd96 (diff)
downloadaports-d872daa048a1babdcd705ad04b2e3d77827878d8.tar.bz2
aports-d872daa048a1babdcd705ad04b2e3d77827878d8.tar.xz
main/mini_httpd: upgrade to 1.29
* added -openrc subpackage * version 1.28 fixes CVE-2017-17663 but we don't have 1.28 packaged. That's why the secfixes was added to 1.29
Diffstat (limited to 'main/mini_httpd')
-rw-r--r--main/mini_httpd/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/mini_httpd/APKBUILD b/main/mini_httpd/APKBUILD
index 1fb5a9ea65..beb539042d 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.27
-pkgrel=2
+pkgver=1.29
+pkgrel=0
pkgdesc="Small forking webserver with ssl and ipv6 support"
url="http://www.acme.com/software/mini_httpd/"
arch="all"
license="BSD"
pkgusers="minihttpd"
pkggroups="www-data"
-depends=""
+# no tests/check provided by upstream
+options="!check"
makedepends="libressl-dev"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-openrc"
install="$pkgname.pre-install"
source="http://www.acme.com/software/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.conf
@@ -19,6 +20,10 @@ source="http://www.acme.com/software/$pkgname/$pkgname-$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver"
+# secfixes:
+# 1.29-r0:
+# - CVE-2017-17663
+
build() {
cd "$builddir"
make CFLAGS="${CFLAGS} -DUSE_SSL" \
@@ -48,7 +53,7 @@ package() {
install -dm755 -g $pkggroups "$pkgdir"/var/www/localhost/htdocs
}
-sha512sums="a7374374d70eb6e531225bf944d80158c7a1870f0e9d3ab720f83706f722eaeac3a891f06c3d6ac2189e1d368504db0ce512440a1d09be109f804c8a0c7901e1 mini_httpd-1.27.tar.gz
+sha512sums="ad72dab7b501c6cc364aac0f8ebd6e967a9150b366f03d2bedb8c7a0001610b9eb55a839cd1c92aad4e9c55a32b3b962cd5a841ac3f159a033457f92a6d1b568 mini_httpd-1.29.tar.gz
1e6ef2da61c82ff5e8bb79058c188954d72c69e9d25abdd9bca51f3122aac8729bcfd6e53ae7ee40807b9250698f2cde13dad51ffed962aa07004c7f456f9cb3 mini_httpd.conf
9daa9052609136a461c912ee2b64829abf2c4c626553a12a3d45c2158be4ed0749126b5ea594fed02a6a4779d7869a073070c259ac28ca19171a168fcbb0632c mini_httpd.initd
701c8d393963836267289cba7352caaf61925c6a7e4903f0d418245415b214e17dcab3497697dd5c9ab80f3f71c9cb5dbcc0a3706bc6be25b6031da000ee0ef0 mini_httpd.logrotate"