Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xshttpd |
8 |
PORTNAME= xshttpd |
9 |
DISTVERSION= 3.3b29 |
9 |
DISTVERSION= 3.3b30 |
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 |
ftp://mud.stack.nl/pub/xs-httpd/release/ |
Lines 15-29
Link Here
|
15 |
MAINTAINER= johans@stack.nl |
15 |
MAINTAINER= johans@stack.nl |
16 |
COMMENT= A webserver with CGI as own user and SSL suport |
16 |
COMMENT= A webserver with CGI as own user and SSL suport |
17 |
|
17 |
|
18 |
CONFLICTS+= apache-[0-9]* |
18 |
RUN_DEPENDS= run-mailcap:${PORTSDIR}/misc/mime-support |
19 |
|
19 |
|
20 |
GNU_CONFIGURE= yes |
20 |
CONFLICTS+= apache-[0-9]* |
21 |
|
21 |
|
22 |
MAN1= clearxs.1 gfxcount.1 httpd.1 httpdc.1 imagemap.1 \ |
22 |
MAN1= clearxs.1 gfxcount.1 httpd.1 httpdc.1 imagemap.1 \ |
23 |
readxs.1 xsindex.1 xspasswd.1 |
23 |
readxs.1 xsindex.1 xspasswd.1 |
24 |
MAN5= httpd.conf.5 xsauth.5 xsscripts.5 |
24 |
MAN5= httpd.conf.5 xsauth.5 xsscripts.5 |
25 |
USE_RC_SUBR= xshttpd.sh |
25 |
USE_RC_SUBR= xshttpd.sh |
26 |
|
26 |
|
|
|
27 |
GNU_CONFIGURE= yes |
27 |
USE_REINPLACE= yes |
28 |
USE_REINPLACE= yes |
28 |
|
29 |
|
29 |
OPTIONS= SSL "Enable https support" On \ |
30 |
OPTIONS= SSL "Enable https support" On \ |
Lines 33-45
Link Here
|
33 |
|
34 |
|
34 |
# By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd |
35 |
# By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd |
35 |
DATADIR= ${PREFIX}/www |
36 |
DATADIR= ${PREFIX}/www |
|
|
37 |
PLIST_SUB= WWWDIR=${DATADIR} |
36 |
CONFIGURE_ARGS+=--with-rootdir=${DATADIR} |
38 |
CONFIGURE_ARGS+=--with-rootdir=${DATADIR} |
37 |
|
39 |
|
38 |
.include <bsd.port.pre.mk> |
40 |
.include <bsd.port.pre.mk> |
39 |
|
41 |
|
40 |
.if !defined(WITHOUT_SSL) |
42 |
.if !defined(WITHOUT_SSL) |
41 |
.include <${PORTSDIR}/Mk/bsd.openssl.mk> |
43 |
.include <${PORTSDIR}/Mk/bsd.openssl.mk> |
42 |
USE_OPENSSL= yes |
44 |
#USE_OPENSSL= yes |
43 |
CONFIGURE_ARGS+=--with-ssl |
45 |
CONFIGURE_ARGS+=--with-ssl |
44 |
.else |
46 |
.else |
45 |
CONFIGURE_ARGS+=--without-ssl |
47 |
CONFIGURE_ARGS+=--without-ssl |
Lines 76-80
Link Here
|
76 |
-e 's|nogroup|${WWWGRP}|g' \ |
78 |
-e 's|nogroup|${WWWGRP}|g' \ |
77 |
${WRKSRC}/$i |
79 |
${WRKSRC}/$i |
78 |
.endfor |
80 |
.endfor |
|
|
81 |
|
82 |
@${REINPLACE_CMD} \ |
83 |
-e 's|@LOCALBASE@|${LOCALBASE}|g' \ |
84 |
${WRKSRC}/src/confuser.h |
85 |
|
86 |
post-install: |
87 |
@${RM} ${DATADIR}/mime.types |
79 |
|
88 |
|
80 |
.include <bsd.port.post.mk> |
89 |
.include <bsd.port.post.mk> |