summaryrefslogtreecommitdiff
path: root/www/thttpd/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-11-21 23:03:37 +0000
committertron <tron@pkgsrc.org>1999-11-21 23:03:37 +0000
commit8c2bf0423ac0cf166187ffb5eabe5094a783b0b3 (patch)
tree917780e18a7893248db0816a71fe03a02f04e115 /www/thttpd/Makefile
parent001d077201743127e7cbe93fcaef8e505d256e64 (diff)
downloadpkgsrc-8c2bf0423ac0cf166187ffb5eabe5094a783b0b3.tar.gz
Update "thttpd" package to version 2.05 using patches supplied by
Michael Santos in PR pkg/8801. Chances since version 2.04: - New el-cheapo virtual hosting feature. - Assorted bug fixes - non-anchored wildcard matching, truncated CGI output, throttling, authorization cache, daemonization, date-header parsing. - Option to write pid to a file, re-open log file on SIGHUP. - Now looks for index files from a list, instead of only index.html. - Simple config file.
Diffstat (limited to 'www/thttpd/Makefile')
-rw-r--r--www/thttpd/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile
index 57d3c6db0b8..0c1d743f5bf 100644
--- a/www/thttpd/Makefile
+++ b/www/thttpd/Makefile
@@ -1,18 +1,25 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/04/10 22:01:10 tron Exp $
-#
+# $NetBSD: Makefile,v 1.2 1999/11/21 23:03:37 tron Exp $
-DISTNAME= thttpd-2.04
+DISTNAME= thttpd-2.05
CATEGORIES= www
MASTER_SITES= http://www.acme.com/software/thttpd/
-EXTRACT_SUFX= .tar.Z
MAINTAINER= mike@ethmoid.org
-HOMEPAGE= http://http://www.acme.com/software/thttpd/
+HOMEPAGE= http://www.acme.com/software/thttpd/
GNU_CONFIGURE= yes
+pre-build:
+ ${MV} ${WRKSRC}/extras/Makefile ${WRKSRC}/extras/Makefile.orig
+ ${SED} -e "s/htpasswd/thtpasswd/g" \
+ <${WRKSRC}/extras/Makefile.orig >${WRKSRC}/extras/Makefile
+ ${SED} -e "s/htpasswd/thtpasswd/g" \
+ <${WRKSRC}/extras/htpasswd.c >${WRKSRC}/extras/thtpasswd.c
+
pre-install:
- ${MKDIR} ${PREFIX}/www
- ${MKDIR} ${PREFIX}/www/cgi-bin
+ ${MKDIR} ${PREFIX}/libexec/cgi-bin ${PREFIX}/share/www
+ ${SED} -e "s/htpasswd/thtpasswd/g" \
+ <${WRKSRC}/extras/htpasswd.1 >${WRKSRC}/extras/thtpasswd.1
+ ${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/www
.include "../../mk/bsd.pkg.mk"