mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
0e5b45796e
runs as a single process, handling connections with select(2). For CGIs and directory listing it does fork(2). The minimum of HTTP/1.1 and CGI/1.1 are implemented. Also supported are: chroot, setuid, basic authentication, SSL, IPv6, custom responses, aliases, and virtual hosts. The access log is written in standard CLF format. AUTHOR: Glocker Marcus <marcus@nazgul.ch> WWW: http://www.nazgul.ch/dev_nostromo.html PR: ports/155919 Submitted by: Adrian Steinmann <ast@marabu.ch>
26 lines
435 B
Plaintext
26 lines
435 B
Plaintext
--- src/nhttpd/Makefile.orig 2011-03-20 22:39:18.000000000 +0100
|
|
+++ src/nhttpd/Makefile 2011-03-20 22:39:54.000000000 +0100
|
|
@@ -10,18 +10,21 @@
|
|
|
|
BINOWN= root
|
|
BINMOD= 0555
|
|
-BINDIR= /usr/local/sbin
|
|
+BINDIR= ${PREFIX}/sbin
|
|
|
|
OS!= uname -s
|
|
|
|
LDADD+= -lssl -lcrypto
|
|
+
|
|
.if ${OS} == "FreeBSD"
|
|
LDADD+= -lcrypt
|
|
MANBUILDCAT= yes
|
|
.endif
|
|
+
|
|
.if ${OS} == "NetBSD"
|
|
LDADD+= -lcrypt
|
|
.endif
|
|
+
|
|
.if ${OS} == "Darwin"
|
|
MAN8= nhttpd.8
|
|
.endif
|