diff options
author | Josh Paetzel <jpaetzel@FreeBSD.org> | 2013-05-21 23:32:54 +0000 |
---|---|---|
committer | Josh Paetzel <jpaetzel@FreeBSD.org> | 2013-05-21 23:32:54 +0000 |
commit | ff5fe33a5e8663adda0944c72dfcb3a640c26ffb (patch) | |
tree | f9147d1cbe7f65fc1e3ef474119dc46220249b32 /security/openvpn-devel | |
parent | f777817d4b7d540bb9058c82b5d9332874d01c21 (diff) |
Update to latest snapshot
PR: ports/178814
Submitted by: Eric F Crist <ecrist@secure-computing.net>
Sponsored by: Claimlynx
Notes
Notes:
svn path=/head/; revision=318735
Diffstat (limited to 'security/openvpn-devel')
-rw-r--r-- | security/openvpn-devel/Makefile | 21 | ||||
-rw-r--r-- | security/openvpn-devel/distinfo | 4 |
2 files changed, 19 insertions, 6 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile index 6957015a7b37..e6d4fc04719d 100644 --- a/security/openvpn-devel/Makefile +++ b/security/openvpn-devel/Makefile @@ -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 @@ CFLAGS+= -I${LOCALBASE}/include 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 @@ WITHOUT_CHECK= yes 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 diff --git a/security/openvpn-devel/distinfo b/security/openvpn-devel/distinfo index 3336ed529ea7..3a79b546333e 100644 --- a/security/openvpn-devel/distinfo +++ b/security/openvpn-devel/distinfo @@ -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 |