Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 01:30:27 GMT
From:      David Thiel <lx@redundancy.redundancy.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/76556: Update: www/publicfile optional patches
Message-ID:  <200501220130.j0M1URRe001595@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/76556; it has been noted by GNATS.

From: David Thiel <lx@redundancy.redundancy.org>
To: freebsd-gnats-submit@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501220130.j0M1URRe001595>