View | Details | Raw Unified | Return to bug 226588
Collapse All | Expand All

(-)Makefile (-2 / +18 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=		openvpn
4
PORTNAME=		openvpn
5
DISTVERSION=		201725
5
DISTVERSION=		201811
6
PORTREVISION?=		2
6
PORTREVISION?=		0
7
CATEGORIES=		security net
7
CATEGORIES=		security net
8
MASTER_SITES=		https://secure-computing.net/files/openvpn/ \
8
MASTER_SITES=		https://secure-computing.net/files/openvpn/ \
9
			ftp://ftp2.secure-computing.net/pub/FreeBSD/openvpn-devel/
9
			ftp://ftp2.secure-computing.net/pub/FreeBSD/openvpn-devel/
Lines 112-117 Link Here
112
	    ${WRKSRC}/src/plugins/auth-pam/Makefile \
112
	    ${WRKSRC}/src/plugins/auth-pam/Makefile \
113
	    ${WRKSRC}/src/plugins/down-root/Makefile
113
	    ${WRKSRC}/src/plugins/down-root/Makefile
114
114
115
.include <bsd.port.options.mk>
116
117
.if ${PORT_OPTIONS:MMBEDTLS}
118
_tlslibs=libmbedtls libmbedx509 libmbedcrypto
119
.else
120
# OpenSSL
121
_tlslibs=libssl libcrypto
122
.endif
123
124
# sanity check that we don't inherit incompatible SSL libs through,
125
# for instance, pkcs11-helper:
126
post-build:
127
	   @a=$$(LC_ALL=C ldd -f '%o\n' ${WRKSRC}/src/openvpn/openvpn \
128
       |	${SORT} -u) ; set -- $$(for i in ${_tlslibs} ; do ${PRINTF} '%s\n' "$$a" | ${GREP} $${i}.so | wc -l ; done | ${SORT} -u) ;\
129
       if test "$$*" != "1" ; then ${ECHO_CMD} >&2 "${.CURDIR} FAILED: either of ${_tlslibs} libraries linked multiple times" ; ${PRINTF} '%s\n' "$$a"; ${RM} ${BUILD_COOKIE} ; exit 1 ; fi
130
115
post-install:
131
post-install:
116
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
132
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
117
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so
133
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1498051791
1
TIMESTAMP = 1520994513
2
SHA256 (openvpn-201725.tar.xz) = 88a14036f933b52c5094923e3673748ed2e58836a1a6744c0c224523b688ce21
2
SHA256 (openvpn-201811.tar.xz) = e8235b3c86d29b5deabfc7d4bacaf32a1f8a76aad4c0872b14359a59db589015
3
SIZE (openvpn-201725.tar.xz) = 943804
3
SIZE (openvpn-201811.tar.xz) = 946392
(-)files/pkg-message.in (-7 lines)
Lines 9-18 Link Here
9
###  For compatibility notes when interoperating with older OpenVPN
9
###  For compatibility notes when interoperating with older OpenVPN
10
###  versions, please, see <http://openvpn.net/relnotes.html>
10
###  versions, please, see <http://openvpn.net/relnotes.html>
11
### ------------------------------------------------------------------------
11
### ------------------------------------------------------------------------
12
###  
13
###
14
###              THIS IS AN UNSTABLE DEVELOPMENT VERSION!
15
###
16
###
17
###  It may or may not be suitable for production. Use at your own risk.
18
### ------------------------------------------------------------------------

Return to bug 226588