diff options
author | reed <reed@pkgsrc.org> | 2004-02-03 16:18:54 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-02-03 16:18:54 +0000 |
commit | 5e22abc09584150736331186352e9679a727fd93 (patch) | |
tree | c6104ab724f301eb067a55d77787ed80da0d759d /www/mini_httpd/Makefile | |
parent | 2bf3fac2a2492871bc99ba5ea313744ed0e8f367 (diff) | |
download | pkgsrc-5e22abc09584150736331186352e9679a727fd93.tar.gz |
Initial import of mini_httpd-1.19. This was packaged by
Bruce J.A. Nourish for pkgsrc-wip.
mini_httpd is a small HTTP server. Its performance is not great, but for
low or medium traffic sites it's quite adequate. It implements all the
basic features of an HTTP server, including:
* GET, HEAD, and POST methods.
* CGI.
* Basic authentication.
* Security against ".." filename snooping.
* The common MIME types.
* Trailing-slash redirection.
* index.html, index.htm, index.cgi
* Directory listings.
* Multihoming / virtual hosting.
* Standard logging.
* Custom error pages.
It can also be configured to do SSL/HTTPS and IPv6.
Diffstat (limited to 'www/mini_httpd/Makefile')
-rw-r--r-- | www/mini_httpd/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile new file mode 100644 index 00000000000..8639be6d531 --- /dev/null +++ b/www/mini_httpd/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/03 16:18:54 reed Exp $ + +DISTNAME= mini_httpd-1.19 +CATEGORIES= www +MASTER_SITES= http://www.acme.com/software/mini_httpd/ + +MAINTAINER= pkgsrc@bjan.freeshell.org +HOMEPAGE= http://www.acme.com/software/mini_httpd/ +COMMENT= Small, forking webserver with IPv6 and SSL support + +USE_BUILDLINK2= yes +MAKE_ENV+= PKG_CFLAGS="${CFLAGS}" +LDFLAGS+= -lssl -lcrypto -lcrypt -lutil + +do-install: + for FILE in mini_httpd.8 htpasswd.1; do \ + ${MV} -f ${WRKSRC}/$${FILE} ${WRKSRC}/$${FILE}.bak; \ + ${SED} -e 's/\([^.]\)htpasswd/\1mhtpasswd/g' \ + -e 's/^htpasswd/m&/' \ + ${WRKSRC}/$${FILE}.bak > ${WRKSRC}/$${FILE}; \ + done + ${INSTALL_PROGRAM} ${WRKSRC}/mini_httpd ${PREFIX}/sbin/ + ${INSTALL_PROGRAM} ${WRKSRC}/htpasswd ${PREFIX}/sbin/mhtpasswd + ${INSTALL_MAN} ${WRKSRC}/mini_httpd.8 ${PREFIX}/man/man8/ + ${INSTALL_MAN} ${WRKSRC}/htpasswd.1 ${PREFIX}/man/man1/mhtpasswd.1 + +.include "../../security/openssl/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" |