ports/118373: [patch] www/havp: Incorect usage options knobs

Max N. Boyarov m.boyarov at bsd.by
Sat Dec 1 17:30:03 UTC 2007


>Number:         118373
>Category:       ports
>Synopsis:       [patch] www/havp: Incorect usage options knobs
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 01 17:30:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Max N. Boyarov
>Release:        FreeBSD 7.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD solar.bsd.by 7.0-BETA3 FreeBSD 7.0-BETA3 #6: Tue Nov 27 18:17:06 EET 2007 zotrix at solar.bsd.by:/usr/obj/usr/src/sys/solar i386


	
>Description:
	Ports Makefile use OPTIONS incorrect so port always build
	with all features disabled
>How-To-Repeat:
	$ cd /usr/ports/www/havp 
	$ make showconfig
===> The following configuration options are available for havp-0.86:
     SSL=on (default) "Enable SSL proxying (not scanned, only forwarded!)"
     CLAMAV=on (default) "Enable libclamav support"
     TROPHIE=off (default) "Enable Trend Micro (Trophie) support"
===> Use 'make config' to modify these settings
	$ grep -i clamav Makefile 
LIB_DEPENDS=    clamav.2:${PORTSDIR}/security/clamav
                        CLAMAV "Enable libclamav support" on \
.if defined(WITH_CLAMAV)
CONFIGURE_ARGS+=        --enable-clamav
CONFIGURE_ARGS+=        --disable-clamav
	$ make -V WITH_CLAMAV
true
	$ make -V CONFIGURE_ARGS
--disable-locking --disable-ssl-tunnel --disable-clamav --disable-trophie --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --build=i386-portbld-freebsd7.0

>Fix:

	

--- www::havp.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/havp/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	26 Nov 2007 17:45:55 -0000	1.9
+++ Makefile	1 Dec 2007 17:00:06 -0000
@@ -35,6 +35,8 @@
 			CLAMAV "Enable libclamav support" on \
 			TROPHIE "Enable Trend Micro (Trophie) support" off
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_SSL)
 CONFIGURE_ARGS+=	--enable-ssl-tunnel
 .else
@@ -65,4 +67,4 @@
 	@${CP} ${WRKSRC}/etc/havp/whitelist ${EXAMPLESDIR}/whitelist.sample
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- www::havp.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list