summaryrefslogtreecommitdiff
path: root/net/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'net/openvpn')
-rw-r--r--net/openvpn/DESCR3
-rw-r--r--net/openvpn/Makefile32
-rw-r--r--net/openvpn/PLIST31
-rw-r--r--net/openvpn/distinfo4
4 files changed, 70 insertions, 0 deletions
diff --git a/net/openvpn/DESCR b/net/openvpn/DESCR
new file mode 100644
index 00000000000..b600286a4c8
--- /dev/null
+++ b/net/openvpn/DESCR
@@ -0,0 +1,3 @@
+OpenVPN is an easy-to-use, robust, and highly configurable VPN (Virtual Private
+Network) daemon which can be used to securely link two or more private networks
+using an encrypted tunnel over the internet. It uses UDP to avoid TCP over TCP.
diff --git a/net/openvpn/Makefile b/net/openvpn/Makefile
new file mode 100644
index 00000000000..9b6e312e7b0
--- /dev/null
+++ b/net/openvpn/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/10 12:39:17 wulf Exp $
+
+DISTNAME= openvpn-1.5.0
+CATEGORIES= net security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openvpn/}
+
+MAINTAINER= packages@nNetBSD.org
+HOMEPAGE= http://openvpn.sourceforge.net/
+COMMENT= Easy-to-use, robust, and highly configurable VPN over UDP
+
+USE_BUILDLINK2= YES
+#USE_PKGINSTALL= YES
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-ssl-headers=${SSLBASE}/include/openssl
+CONFIGURE_ARGS+= --with-ssl-lib=${SSLBASE}/lib
+CONFIGURE_ARGS+= --with-lzo-headers=${BUILDLINK_PREFIX.liblzo}/include
+CONFIGURE_ARGS+= --with-lzo-lib=${BUILDLINK_PREFIX.liblzo}/lib
+
+EGDIR= ${PREFIX}/share/examples/openvpn
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}/sample-config-files
+ ${INSTALL_DATA} ${WRKSRC}/sample-config-files/* ${EGDIR}/sample-config-files
+ ${INSTALL_DATA_DIR} ${EGDIR}/sample-keys
+ ${INSTALL_DATA} ${WRKSRC}/sample-keys/* ${EGDIR}/sample-keys
+ ${INSTALL_DATA_DIR} ${EGDIR}/sample-scripts
+ ${INSTALL_DATA} ${WRKSRC}/sample-scripts/* ${EGDIR}/sample-scripts
+
+.include "../../archivers/liblzo/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/openvpn/PLIST b/net/openvpn/PLIST
new file mode 100644
index 00000000000..da1c5c794fc
--- /dev/null
+++ b/net/openvpn/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/10 12:39:17 wulf Exp $
+man/man8/openvpn.8
+sbin/openvpn
+share/examples/openvpn/sample-config-files/README
+share/examples/openvpn/sample-config-files/firewall.sh
+share/examples/openvpn/sample-config-files/home.up
+share/examples/openvpn/sample-config-files/loopback-client
+share/examples/openvpn/sample-config-files/loopback-server
+share/examples/openvpn/sample-config-files/office.up
+share/examples/openvpn/sample-config-files/openvpn-shutdown.sh
+share/examples/openvpn/sample-config-files/openvpn-startup.sh
+share/examples/openvpn/sample-config-files/static-home.conf
+share/examples/openvpn/sample-config-files/static-office.conf
+share/examples/openvpn/sample-config-files/tls-home.conf
+share/examples/openvpn/sample-config-files/tls-office.conf
+share/examples/openvpn/sample-config-files/xinetd-client-config
+share/examples/openvpn/sample-config-files/xinetd-server-config
+share/examples/openvpn/sample-keys/README
+share/examples/openvpn/sample-keys/client.crt
+share/examples/openvpn/sample-keys/client.key
+share/examples/openvpn/sample-keys/dh1024.pem
+share/examples/openvpn/sample-keys/server.crt
+share/examples/openvpn/sample-keys/server.key
+share/examples/openvpn/sample-keys/tmp-ca.crt
+share/examples/openvpn/sample-keys/tmp-ca.key
+share/examples/openvpn/sample-scripts/openvpn.init
+share/examples/openvpn/sample-scripts/verify-cn
+@dirrm share/examples/openvpn/sample-config-files
+@dirrm share/examples/openvpn/sample-keys
+@dirrm share/examples/openvpn/sample-scripts
+@dirrm share/examples/openvpn
diff --git a/net/openvpn/distinfo b/net/openvpn/distinfo
new file mode 100644
index 00000000000..67a33d4d65c
--- /dev/null
+++ b/net/openvpn/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/10 12:39:17 wulf Exp $
+
+SHA1 (openvpn-1.5.0.tar.gz) = 13f443adbff5c657cfd8400011e8df804b57f7ff
+Size (openvpn-1.5.0.tar.gz) = 403792 bytes