Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 10:39:23 -0400 (EDT)
From:      Eric F Crist <ecrist@secure-computing.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Josh Paetzel <jpaetzel@freebsd.org>
Subject:   ports/178814: security/openvpn-devel: update to latest snapshot
Message-ID:  <201305211439.r4LEdNex026234@terrance.secure-computing.net>
Resent-Message-ID: <201305211440.r4LEe0UZ026597@freefall.freebsd.org>

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

>Number:         178814
>Category:       ports
>Synopsis:       security/openvpn-devel: update to latest snapshot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 21 14:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Eric F Crist
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
Secure Computing Networks & ClaimLynx, Inc
>Environment:
FreeBSD cartman.secure-computing.net 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Fri Jan 21 12:06:32 CST 2011     root@cartman.secure-computing.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
	Update to the latest snapshot.
	
>How-To-Repeat:
>Fix:

--- ovpnd.diff begins here ---
Index: distinfo
===================================================================
--- distinfo	(revision 318700)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (openvpn-201250.tar.gz) = 61b985701a34437e91fb9bc9d310822ec878de6f3083a5d68dc39c6a1de3f4bd
-SIZE (openvpn-201250.tar.gz) = 1500117
+SHA256 (openvpn-201321.tar.gz) = ba742c571624b319a517cebfae64f1f434ff1fe556b17e7a3f80768f29fe13cf
+SIZE (openvpn-201321.tar.gz) = 1515192
Index: Makefile
===================================================================
--- Makefile	(revision 318700)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	openvpn
-DISTVERSION=	201250
+DISTVERSION=	201321
 CATEGORIES=	security net
 MASTER_SITES=	ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ \
 		ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/
@@ -22,14 +22,15 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install mandir=${MANPREFIX}/man
 
-LIB_DEPENDS+=	lzo2:${PORTSDIR}/archivers/lzo2
-
 MAN8=		openvpn.8
 
-OPTIONS_DEFINE=	PW_SAVE PKCS11 POLARSSL
+OPTIONS_DEFINE=	PW_SAVE SNAPPY LZO PKCS11 POLARSSL
 PW_SAVE_DESC=	Interactive passwords may be read from a file
+SNAPPY_DESC=	Enable the Snappy compression library
+LZO_DESC=		Enable the LZO compression library
 PKCS11_DESC=	Use security/pkcs11-helper
 POLARSSL_DESC=	Build with PolarSSL instead of OpenSSL
+OPTIONS_DEFAULT= LZO SNAPPY
 
 USE_RC_SUBR=	openvpn
 USE_LDCONFIG=	${PREFIX}/lib
@@ -47,6 +48,18 @@
 CFLAGS+=	-DLOG_OPENVPN=${LOG_OPENVPN}
 .endif
 
+.if ${PORT_OPTIONS:MLZO}
+LIB_DEPENDS+=	lzo2:${PORTSDIR}/archivers/lzo2
+.else
+CONFIGURE_ARGS+=	--disable-lzo
+.endif
+
+.if ${PORT_OPTIONS:MSNAPPY}
+LIB_DEPENDS+=	snappy:${PORTSDIR}/archivers/snappy
+.else
+CONFIGURE_ARGS+=	--disable-snappy
+.endif
+
 .if ${PORT_OPTIONS:MPOLARSSL}
 LIB_DEPENDS+=		polarssl:${PORTSDIR}/security/polarssl
 CONFIGURE_ARGS+=	--with-crypto-library=polarssl
--- ovpnd.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?201305211439.r4LEdNex026234>