diff --git a/srcpkgs/thttpd/template b/srcpkgs/thttpd/template index 875fdf1d053..8dab2f65bd4 100644 --- a/srcpkgs/thttpd/template +++ b/srcpkgs/thttpd/template @@ -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 " 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 }