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

(-)/root/ports/security/openvpn/Makefile (-13 / +18 lines)
Lines 6-24 Link Here
6
#
6
#
7
7
8
PORTNAME=	openvpn
8
PORTNAME=	openvpn
9
PORTVERSION=	1.6.0
9
DISTVERSION=	2.0
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
11
MASTER_SITES=	http://openvpn.net/release/
12
		http://osdn.dl.sourceforge.net/sourceforge/${PORTNAME}/
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
12
15
MAINTAINER=	matthias.andree@gmx.de
13
MAINTAINER=	matthias.andree@gmx.de
16
COMMENT=	Secure IP/Ethernet tunnel daemon
14
COMMENT=	Secure IP/Ethernet tunnel daemon
17
15
18
LIB_DEPENDS=	lzo.1:${PORTSDIR}/archivers/lzo
16
LIB_DEPENDS=	lzo.1:${PORTSDIR}/archivers/lzo
19
17
20
CONFLICTS=	openvpn-devel-*
21
22
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
23
USE_OPENSSL=	yes
19
USE_OPENSSL=	yes
24
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
20
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
Lines 28-47 Link Here
28
24
29
MAN8=		openvpn.8
25
MAN8=		openvpn.8
30
26
27
# self-tests here
28
post-build:
29
	( set -e ; cd ${WRKSRC} && \
30
	./openvpn --genkey --secret key && \
31
	./openvpn --test-crypto --secret key && ${RM} key )
32
	( set -e ; cd ${WRKSRC} && { \
33
	./openvpn --config sample-config-files/loopback-server & \
34
	./openvpn --config sample-config-files/loopback-client ; \
35
	wait ; })
36
31
post-install:
37
post-install:
32
	${INSTALL_SCRIPT} ${FILESDIR}/openvpn.sh.sample \
38
	${INSTALL_SCRIPT} ${FILESDIR}/openvpn.sh.sample \
33
		${PREFIX}/etc/rc.d/openvpn.sh.sample
39
		${PREFIX}/etc/rc.d/openvpn.sh.sample
34
.if !defined(NOPORTDOCS)
40
.if !defined(NOPORTDOCS)
35
	@${MKDIR} ${DOCSDIR}
41
	${MKDIR} ${DOCSDIR}
36
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
42
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
37
	PORTS README
43
	PORTS README
38
	@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
39
.endfor
40
.for dirs in easy-rsa sample-config-files sample-scripts
41
	@${MKDIR} ${DOCSDIR}/${dirs}
42
	@${INSTALL_DATA} ${WRKSRC}/${dirs}/* ${DOCSDIR}/${dirs}
43
.endfor
45
.endfor
44
	@${CAT} ${PKGMESSAGE}
46
	( cd ${WRKSRC} \
47
	&& ${FIND} easy-rsa sample-config-files sample-scripts -depth \
48
	| ${GREP} -v easy-rsa/Windows \
49
	| ${CPIO} -pdmu ${DOCSDIR} )
45
.endif
50
.endif
46
51
47
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)/root/ports/security/openvpn/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (openvpn-1.6.0.tar.gz) = 9eab3719b280a12d19ef1fda286cc363
1
MD5 (openvpn-2.0.tar.gz) = 7401faebc6baee9add32608709c54eec
2
SIZE (openvpn-1.6.0.tar.gz) = 430324
2
SIZE (openvpn-2.0.tar.gz) = 639201
(-)/root/ports/security/openvpn/pkg-descr (-1 / +1 lines)
Lines 7-10 Link Here
7
WWW: http://openvpn.sourceforge.net/
7
WWW: http://openvpn.sourceforge.net/
8
8
9
- Matthias Andree
9
- Matthias Andree
10
matthias.andree@web.de
10
matthias.andree@gmx.de
(-)/root/ports/security/openvpn/pkg-message (-3 / +12 lines)
Lines 3-14 Link Here
3
###  See ${PREFIX}/etc/rc.d/openvpn.sh.sample for how to do this  	   ###
3
###  See ${PREFIX}/etc/rc.d/openvpn.sh.sample for how to do this  	   ###
4
###  automatically at system boot-up time.                                 ###
4
###  automatically at system boot-up time.                                 ###
5
### ---------------------------------------------------------------------- ###
5
### ---------------------------------------------------------------------- ###
6
###  To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
6
###  To get OpenVPN 2.0 to talk with the 1.5/1.6 versions, you may need to ###
7
###  that run older versions (back to 1.1.0), you will have to set the MTU ###
7
###  edit the 1.X configuration file by adding these lines:                ###
8
###  explicitly by command line options since OpenVPN 1.3.0.               ###
8
###                                                                        ###
9
###    tun-mtu 1500							   ###
10
###    tun-mtu-extra 32							   ###
11
###    mssfix 1450							   ###
9
###                                                                        ###
12
###                                                                        ###
13
###    key-method 2       <- this key-method line only for TLS setups	   ###
14
### ---------------------------------------------------------------------- ###
10
###  When connecting to 1.4.X or older peers with a TAP-style tunnel, set  ###
15
###  When connecting to 1.4.X or older peers with a TAP-style tunnel, set  ###
11
###  --tun-mtu 1500 --tun-mtu-extra 32 on the peer.			   ###
16
###  --tun-mtu 1500 --tun-mtu-extra 32 on the peer.			   ###
17
###                                                                        ###
18
###  To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
19
###  that run older versions (back to 1.1.0), you will have to set the MTU ###
20
###  explicitly by command line options since OpenVPN 1.3.0.               ###
12
###                                                                        ###
21
###                                                                        ###
13
###  When using TLS security and your peer runs OpenVPN 1.3.X, the PEER    ###
22
###  When using TLS security and your peer runs OpenVPN 1.3.X, the PEER    ###
14
###  must use --disable-occ.  This version of OpenVPN cannot use TLS mode  ###
23
###  must use --disable-occ.  This version of OpenVPN cannot use TLS mode  ###
(-)/root/ports/security/openvpn/pkg-plist (+11 lines)
Lines 14-26 Link Here
14
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-inter
14
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-inter
15
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-key
15
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-key
16
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-key-pass
16
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-key-pass
17
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-key-pkcs12
18
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-key-server
17
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-req
19
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-req
18
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-req-pass
20
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-req-pass
19
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/clean-all
21
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/clean-all
22
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/list-crl
23
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/make-crl
20
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/openssl.cnf
24
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/openssl.cnf
25
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/revoke-crt
26
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/revoke-full
21
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/sign-req
27
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/sign-req
22
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/vars
28
%%PORTDOCS%%%%DOCSDIR%%/easy-rsa/vars
23
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/README
29
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/README
30
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/client.conf
24
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/firewall.sh
31
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/firewall.sh
25
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/home.up
32
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/home.up
26
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/loopback-client
33
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/loopback-client
Lines 28-39 Link Here
28
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/office.up
35
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/office.up
29
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/openvpn-shutdown.sh
36
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/openvpn-shutdown.sh
30
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/openvpn-startup.sh
37
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/openvpn-startup.sh
38
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/server.conf
31
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/static-home.conf
39
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/static-home.conf
32
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/static-office.conf
40
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/static-office.conf
33
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/tls-home.conf
41
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/tls-home.conf
34
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/tls-office.conf
42
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/tls-office.conf
35
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/xinetd-client-config
43
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/xinetd-client-config
36
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/xinetd-server-config
44
%%PORTDOCS%%%%DOCSDIR%%/sample-config-files/xinetd-server-config
45
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/auth-pam.pl
46
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/bridge-start
47
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/bridge-stop
37
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/openvpn.init
48
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/openvpn.init
38
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/verify-cn
49
%%PORTDOCS%%%%DOCSDIR%%/sample-scripts/verify-cn
39
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample-scripts
50
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample-scripts

Return to bug 80082