thttpd: update to 2.28.

Closes: #11426 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-06 17:43:14 -02:00 committed by Michael Aldridge
parent b31c6d1ea1
commit 3f75f52424

View file

@ -1,6 +1,6 @@
# Template file for 'thttpd'
pkgname=thttpd
version=2.27
version=2.28
revision=1
build_style=gnu-configure
short_desc="Tiny/turbo/throttling HTTP server"
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://www.acme.com/software/thttpd/"
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
checksum=b1c4bc37ada7c39cc2bcfbf86b3bc05be91be49f8bb4f55379eaff1f66516d7a
checksum=8552f929d4ede26cb193411c1208168e169dda24ee9eb1da8f8da4f4f8e10328
pre_configure() {
sed "s,-o bin -g bin,,g" -i Makefile.in
@ -31,4 +31,7 @@ do_install() {
# Rename htpasswd to not conflict with apache.
mv ${DESTDIR}/usr/bin/{htpasswd,thttpd-htpasswd}
mv ${DESTDIR}/usr/share/man/man1/{htpasswd,thttpd-htpasswd}.1
sed -n '3,25p' < thttpd.c > LICENSE
vlicense LICENSE
}