ports/139147: [PATCH] security/stunnel: [add librwap option]
Jim Riggs
ports at christianserving.org
Sat Sep 26 01:10:03 UTC 2009
>Number: 139147
>Category: ports
>Synopsis: [PATCH] security/stunnel: [add librwap option]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 26 01:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jim Riggs
>Release: FreeBSD 6.3-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD zion.christianserving.org 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #3: Mon May 5 21:27:22 CDT
>Description:
For performance reasons, I wanted to build stunnel with the
--disable-libwrap configure option, but stunnel's Makefile used
CONFIGURE_ARGS= rather than CONFIGURE_ARGS+=, so I couldn't set it in
ports.conf, and there wasn't an OPTION for it. This update changes
to CONFIGURE_ARGS+= (in case there are other such options people want
to specify) and adds a LIBWRAP option which defaults to on.
Port maintainer (roam at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- stunnel-4.27_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/stunnel/Makefile /root/portwork/stunnel/Makefile
--- /usr/ports/security/stunnel/Makefile 2009-09-25 19:48:28.000000000 -0500
+++ /root/portwork/stunnel/Makefile 2009-09-25 19:53:21.000000000 -0500
@@ -7,6 +7,7 @@
PORTNAME= stunnel
PORTVERSION= 4.27
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
ftp://stunnel.mirt.net/stunnel/ \
@@ -21,8 +22,8 @@
USE_RC_SUBR= stunnel
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \
- --enable-static --disable-fips
+CONFIGURE_ARGS+= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \
+ --enable-static --disable-fips
.if !defined(NOPORTDOCS)
MAN8= stunnel.8 stunnel.fr.8 stunnel.pl.8
@@ -33,10 +34,15 @@
OPTIONS= FORK "use the fork(3) threading model" off \
PTHREAD "use the pthread(3) threading model (default)" on \
UCONTEXT "use the ucontext(3) threading model" off \
- IPV6 "enable IPv6 support" off
+ LIBWRAP "use TCP wrappers" on \
+ IPV6 "enable IPv6 support" off
.include <bsd.port.pre.mk>
+.if !defined(WITH_LIBWRAP)
+CONFIGURE_ARGS+= --disable-libwrap
+.endif
+
.if defined(WITH_IPV6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
--- stunnel-4.27_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list