From aca3ae9fab72207eba8c4a7515cf35b99d679870 Mon Sep 17 00:00:00 2001 From: 4ricci <52817765+4ricci@users.noreply.github.com> Date: Sat, 25 Apr 2020 16:03:12 +0000 Subject: [PATCH] thttpd: unbreak Place cgi-bin executables in /usr/libexec instead of /usr/share. --- srcpkgs/thttpd/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/thttpd/template b/srcpkgs/thttpd/template index 08c185814ec..13de3fbef35 100644 --- a/srcpkgs/thttpd/template +++ b/srcpkgs/thttpd/template @@ -1,7 +1,7 @@ # Template file for 'thttpd' pkgname=thttpd version=2.29 -revision=1 +revision=2 build_style=gnu-configure short_desc="Tiny/turbo/throttling HTTP server" maintainer="Orphaned " @@ -9,10 +9,9 @@ license="BSD-2-Clause" homepage="http://www.acme.com/software/thttpd/" distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz" checksum=99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397 -broken="ELF in /usr/share" pre_configure() { - sed "s,-o bin -g bin,,g" -i Makefile.in + vsed -i Makefile.in -e "s,-o bin -g bin,,g" } do_build() { @@ -25,7 +24,7 @@ do_install() { vmkdir usr/share/man/man8 make WEBGROUP=$(whoami) \ - WEBDIR=${DESTDIR}/usr/share/thttpd \ + WEBDIR=${DESTDIR}/usr/libexec/thttpd \ BINDIR=${DESTDIR}/usr/bin \ MANDIR=${DESTDIR}/usr/share/man install