ports/76556: Update: www/publicfile optional patches
David Thiel
lx at redundancy.redundancy.org
Sat Jan 22 01:30:28 UTC 2005
The following reply was made to PR ports/76556; it has been noted by GNATS.
From: David Thiel <lx at redundancy.redundancy.org>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/76556: Update: www/publicfile optional patches
Date: Fri, 21 Jan 2005 17:28:22 -0800
Changing to use OPTIONS. Diff against the Makefile(after original diff is
applied):
--- /tmp/publicfile.Makefile Fri Jan 21 16:56:26 2005
+++ Makefile Fri Jan 21 17:22:32 2005
@@ -18,29 +18,21 @@
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
-pre-everything::
+OPTIONS= BASICAUTH "basic HTTP authentication support" off \
+ COMMONLOG "support for Apache common log format" off \
+ REDIRECT_SLASH "don't error when omitting trailing slash" off \
+ SSL "provide SSL support through ucspi-ssl" off
- @${ECHO_MSG}
- @${ECHO_MSG} "This port can use the following tuneables:"
- @${ECHO_MSG}
- @${ECHO_MSG} "WITH_BASICAUTH basic HTTP authentication support"
- @${ECHO_MSG} "WITH_COMMONLOG support for Apache common log format"
- @${ECHO_MSG} "WITH_REDIRECT_SLASH don't complain when omitting trailing slash"
- @${ECHO_MSG} "WITH_SSL provide SSL support through ucspi-ssl"
- @${ECHO_MSG}
+.include <bsd.port.pre.mk>
.if defined(WITH_BASICAUTH) && defined(WITH_COMMONLOG)
- @${ECHO_MSG}
- @${ECHO_MSG} "Currently the common log and auth patches conflict."
- @${ECHO_MSG}
-BROKEN= "Currently the common log and auth patches conflict."
+BROKEN= "Currently the common log and auth patches conflict.\
+ Run 'make config' to reconfigure the port."
.endif
.if defined(WITH_BASICAUTH) && defined(WITH_REDIRECT_SLASH)
- @${ECHO_MSG}
- @${ECHO_MSG} "Currently the redirect slash and auth patches conflict."
- @${ECHO_MSG}
-BROKEN= "Currently the redirect slash and auth patches conflict."
+BROKEN= "Currently the redirect slash and auth patches conflict.\
+ Run 'make config' to reconfigure the port."
.endif
.if defined(WITH_REDIRECT_SLASH)
@@ -92,4 +84,4 @@
@${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the freebsd-ports-bugs
mailing list