Lines 6-15
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xshttpd |
8 |
PORTNAME= xshttpd |
9 |
DISTVERSION= 3.3b26 |
9 |
DISTVERSION= 3.3b27 |
10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
11 |
MASTER_SITES= ftp://ftp.stack.nl/pub/xs-httpd/release/ |
11 |
MASTER_SITES= ftp://ftp.stack.nl/pub/xs-httpd/release/ \ |
|
|
12 |
ftp://mud.stack.nl/pub/xs-httpd/release/ |
12 |
DISTNAME= ${PORTNAME}-${DISTVERSION:S/.//} |
13 |
DISTNAME= ${PORTNAME}-${DISTVERSION:S/.//} |
|
|
14 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc |
15 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
13 |
|
16 |
|
14 |
MAINTAINER= johans@stack.nl |
17 |
MAINTAINER= johans@stack.nl |
15 |
COMMENT= A webserver with CGI as own user and SSL suport |
18 |
COMMENT= A webserver with CGI as own user and SSL suport |
Lines 22-27
Link Here
|
22 |
readxs.1 xsindex.1 xspasswd.1 |
25 |
readxs.1 xsindex.1 xspasswd.1 |
23 |
MAN5= httpd.conf.5 xsauth.5 xsscripts.5 |
26 |
MAN5= httpd.conf.5 xsauth.5 xsscripts.5 |
24 |
USE_RC_SUBR= xshttpd.sh |
27 |
USE_RC_SUBR= xshttpd.sh |
|
|
28 |
USE_GPG?= yes |
29 |
SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc |
30 |
|
31 |
USE_REINPLACE= yes |
32 |
|
33 |
OPTIONS= SSL "Enable https support" On \ |
34 |
LDAP "Enable ldap support" Off \ |
35 |
PCRE "Enable pcre rewriting support" Off \ |
36 |
PERSISTENT_PERL "Enable persistent perl interpreter" Off |
25 |
|
37 |
|
26 |
# By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd |
38 |
# By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd |
27 |
DATADIR= ${PREFIX}/www |
39 |
DATADIR= ${PREFIX}/www |
Lines 56-68
Link Here
|
56 |
.endif |
68 |
.endif |
57 |
|
69 |
|
58 |
post-patch: |
70 |
post-patch: |
59 |
.for i in "man/httpd.1" "man/httpd.conf.5" "config/httpd.conf.sample" \ |
71 |
.for i in man/httpd.1 man/httpd.conf.5 config/httpd.conf.sample \ |
60 |
"contrib/SSL-Makefile" "contrib/logrotate.sh" |
72 |
contrib/SSL-Makefile contrib/logrotate.sh |
61 |
@${SED} \ |
73 |
@${REINPLACE_CMD} \ |
62 |
-e 's|/wwwsys|${DATADIR}|g' \ |
74 |
-e 's|/wwwsys|${DATADIR}|g' \ |
63 |
-e 's|/usr/local/lib/httpd|${DATADIR}|g' \ |
75 |
-e 's|/usr/local/lib/httpd|${DATADIR}|g' \ |
64 |
${WRKSRC}/$i > ${WRKSRC}/$i.tmp |
76 |
-e 's|nobody|${WWWOWN}|g' \ |
65 |
@${MV} ${WRKSRC}/$i.tmp ${WRKSRC}/$i |
77 |
-e 's|nogroup|${WWWGRP}|g' \ |
|
|
78 |
${WRKSRC}/$i |
66 |
.endfor |
79 |
.endfor |
67 |
|
80 |
|
68 |
.include <bsd.port.mk> |
81 |
.include <bsd.port.mk> |