diff options
author | reed <reed> | 2004-02-03 16:18:54 +0000 |
---|---|---|
committer | reed <reed> | 2004-02-03 16:18:54 +0000 |
commit | 42759abd85346cf1521a888360a68cd5130cad5f (patch) | |
tree | c6104ab724f301eb067a55d77787ed80da0d759d /www/mini_httpd/patches | |
parent | c0bd520b6efda8c3e5cc357056ceab19176f3982 (diff) | |
download | pkgsrc-42759abd85346cf1521a888360a68cd5130cad5f.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/patches')
-rw-r--r-- | www/mini_httpd/patches/patch-aa | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/mini_httpd/patches/patch-aa b/www/mini_httpd/patches/patch-aa new file mode 100644 index 00000000000..d0e6e0456f1 --- /dev/null +++ b/www/mini_httpd/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/03 16:18:55 reed Exp $ + +--- Makefile.orig 2002-11-01 16:02:57.000000000 -0700 ++++ Makefile +@@ -15,20 +15,15 @@ CRYPT_LIB = -lcrypt + # tree with your OpenSSL installation - depending on how you installed it, + # it may be in /usr/local instead of /usr/local/ssl. + #SSL_TREE = /usr/local/ssl +-#SSL_DEFS = -DUSE_SSL ++SSL_DEFS = -DUSE_SSL + #SSL_INC = -I${SSL_TREE}/include + #SSL_LIBS = -L${SSL_TREE}/lib -lssl -lcrypto + + +-BINDIR = /usr/local/sbin +-MANDIR = /usr/local/man +-CC = gcc ++BINDIR = ${PREFIX}/sbin ++MANDIR = ${PREFIX}/man + CDEFS = ${SSL_DEFS} ${SSL_INC} +-CFLAGS = -O ${CDEFS} +-#CFLAGS = -g ${CDEFS} +-LDFLAGS = -s +-#LDFLAGS = -g +-LDLIBS = ${SSL_LIBS} ${SYSV_LIBS} ${CRYPT_LIB} ++CFLAGS = ${PKG_CFLAGS} ${CDEFS} + + all: mini_httpd htpasswd + |