View | Details | Raw Unified | Return to bug 199529 | Differences between
and this patch

Collapse All | Expand All

(-)security/openvpn/Makefile (-2 / +6 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=		openvpn
4
PORTNAME=		openvpn
5
DISTVERSION=		2.3.6
5
DISTVERSION=		2.3.6
6
PORTREVISION=		3
6
PORTREVISION=		4
7
CATEGORIES=		security net
7
CATEGORIES=		security net
8
MASTER_SITES=		http://swupdate.openvpn.net/community/releases/ \
8
MASTER_SITES=		http://swupdate.openvpn.net/community/releases/ \
9
			http://build.openvpn.net/downloads/releases/
9
			http://build.openvpn.net/downloads/releases/
Lines 66-72 Link Here
66
USE_RC_SUBR=		openvpn
66
USE_RC_SUBR=		openvpn
67
USE_LDCONFIG=		${PREFIX}/lib
67
USE_LDCONFIG=		${PREFIX}/lib
68
68
69
SUB_FILES=		pkg-message
69
SUB_FILES=		pkg-message openvpn-client
70
70
71
.include <bsd.port.pre.mk>
71
.include <bsd.port.pre.mk>
72
72
Lines 101-106 Link Here
101
post-install:
101
post-install:
102
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
102
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
103
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so
103
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so
104
	${INSTALL_PROGRAM} ${WRKSRC}/contrib/pull-resolv-conf/client.up ${STAGEDIR}${PREFIX}/libexec/openvpn-client.up
105
	${INSTALL_PROGRAM} ${WRKSRC}/contrib/pull-resolv-conf/client.down ${STAGEDIR}${PREFIX}/libexec/openvpn-client.down
106
	@${REINPLACE_CMD} 's|resolvconf -p -a|resolvconf -a|' ${STAGEDIR}${PREFIX}/libexec/openvpn-client.up
107
	${INSTALL_SCRIPT} ${WRKDIR}/openvpn-client ${STAGEDIR}${PREFIX}/sbin/openvpn-client
104
	${MKDIR} ${STAGEDIR}${PREFIX}/include
108
	${MKDIR} ${STAGEDIR}${PREFIX}/include
105
.if ${PORT_OPTIONS:MDOCS}
109
.if ${PORT_OPTIONS:MDOCS}
106
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
110
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
(-)security/openvpn/files/openvpn-client.in (+3 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
%%PREFIX%%/sbin/openvpn --script-security 2 --up %%PREFIX%%/libexec/openvpn-client.up --down %%PREFIX%%/libexec/openvpn-client.down --config "$@"
(-)security/openvpn/files/pkg-message.in (+3 lines)
Lines 2-7 Link Here
2
###  Edit /etc/rc.conf[.local] to start OpenVPN automatically at system
2
###  Edit /etc/rc.conf[.local] to start OpenVPN automatically at system
3
###  startup. See %%PREFIX%%/etc/rc.d/openvpn for details.
3
###  startup. See %%PREFIX%%/etc/rc.d/openvpn for details.
4
### ------------------------------------------------------------------------
4
### ------------------------------------------------------------------------
5
###  Connect to VPN server as a client with this command:
6
###  openvpn-client <spec>.ovpn
7
### ------------------------------------------------------------------------
5
###  For compatibility notes when interoperating with older OpenVPN
8
###  For compatibility notes when interoperating with older OpenVPN
6
###  versions, please, see <http://openvpn.net/relnotes.html>
9
###  versions, please, see <http://openvpn.net/relnotes.html>
7
### ------------------------------------------------------------------------
10
### ------------------------------------------------------------------------
(-)security/openvpn/pkg-plist (+3 lines)
Lines 3-5 Link Here
3
lib/openvpn/plugins/openvpn-plugin-down-root.so
3
lib/openvpn/plugins/openvpn-plugin-down-root.so
4
man/man8/openvpn.8.gz
4
man/man8/openvpn.8.gz
5
sbin/openvpn
5
sbin/openvpn
6
sbin/openvpn-client
7
libexec/openvpn-client.up
8
libexec/openvpn-client.down

Return to bug 199529