mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to latest snapshot
PR: ports/178814 Submitted by: Eric F Crist <ecrist@secure-computing.net> Sponsored by: Claimlynx
This commit is contained in:
parent
f777817d4b
commit
ff5fe33a5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318735
2 changed files with 19 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue