Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  1 Dec 2007 19:08:49 +0200 (EET)
From:      "Max N. Boyarov" <m.boyarov@bsd.by>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118373: [patch] www/havp: Incorect usage options knobs
Message-ID:  <20071201170849.5352D2286A@solar.bsd.by>
Resent-Message-ID: <200712011730.lB1HU2gb050332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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