Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 16:47:32 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355544 - head/net/netatalk3
Message-ID:  <201405271647.s4RGlWpR005004@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcus
Date: Tue May 27 16:47:31 2014
New Revision: 355544
URL: http://svnweb.freebsd.org/changeset/ports/355544
QAT: https://qat.redports.org/buildarchive/r355544/

Log:
  Make TCP Wrappers support optional (default to yes).
  
  Submitted by:	Dr. Rolf Jansen <rj@obsigna.com>

Modified:
  head/net/netatalk3/Makefile

Modified: head/net/netatalk3/Makefile
==============================================================================
--- head/net/netatalk3/Makefile	Tue May 27 16:41:50 2014	(r355543)
+++ head/net/netatalk3/Makefile	Tue May 27 16:47:31 2014	(r355544)
@@ -26,8 +26,7 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	netatalk
 
-CONFIGURE_ARGS+=	--enable-tcp-wrappers \
-			--with-pkgconfdir=${PREFIX}/etc \
+CONFIGURE_ARGS+=	--with-pkgconfdir=${PREFIX}/etc \
 			--with-libgcrypt-dir=${LOCALBASE} \
 			--with-uams-path=${PREFIX}/libexec/netatalk-uams \
 			--with-bdb=${LOCALBASE} \
@@ -37,8 +36,8 @@ CONFIGURE_ARGS+=	--enable-tcp-wrappers \
 			--with-libevent-header=${LOCALBASE}/include \
 			--with-libevent-lib=${LOCALBASE}/lib/event2
 
-OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DTRACE DBUS MYSQL ACL
-OPTIONS_DEFAULT=KERBEROS DBUS
+OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DTRACE DBUS MYSQL ACL TCPWRAP
+OPTIONS_DEFAULT=KERBEROS DBUS TCPWRAP
 OPTIONS_RADIO=ZEROCONF
 OPTIONS_RADIO_ZEROCONF=AVAHI MDNSRESPONDER
 OPTIONS_DEFAULT+=AVAHI
@@ -49,6 +48,7 @@ DTRACE_DESC=	Enable DTrace support
 MYSQL_DESC=	Enable MySQL CNID backend support
 SENDFILE_DESC=	Enable Sendfile support
 ACL_DESC=	Enable ACL support
+TCPWRAP_DESC=	Enable TCP Wrappers support
 
 .include <bsd.port.options.mk>
 
@@ -135,6 +135,12 @@ CONFIGURE_ARGS+=--with-acls
 CONFIGURE_ARGS+=--without-acls
 .endif
 
+.if ${PORT_OPTIONS:MTCPWRAP}
+CONFIGURE_ARGS+=--enable-tcp-wrappers
+.else
+CONFIGURE_ARGS+=--disable-tcp-wrappers
+.endif
+
 .if ${OSVERSION} < 800031
 PLIST_SUB+=	ATFUNCS="@comment "
 .else



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