summaryrefslogtreecommitdiff
path: root/net/openvpn-current
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-11-17 18:04:01 +0000
committerxtraeme <xtraeme>2004-11-17 18:04:01 +0000
commitfcf7a8b883598e5eb08b934c48e56e11645289ba (patch)
treee3ab09336d772c7da07d8ede4a282228e7b1722b /net/openvpn-current
parent37122ea4b693e84d5ae42c556e3c05ccb3f4e2ef (diff)
downloadpkgsrc-fcf7a8b883598e5eb08b934c48e56e11645289ba.tar.gz
Initial import of openvpn-2.0beta15 from pkgsrc-wip, packaged by
Ian Zagorskhi, with small changes by me. OpenVPN is a robust and highly flexible tunneling application that uses all of the encryption, authentication, and certification features of the OpenSSL library to securely tunnel IP networks over a single TCP/UDP port.
Diffstat (limited to 'net/openvpn-current')
-rw-r--r--net/openvpn-current/DESCR4
-rw-r--r--net/openvpn-current/MESSAGE10
-rw-r--r--net/openvpn-current/Makefile44
-rw-r--r--net/openvpn-current/PLIST36
-rw-r--r--net/openvpn-current/distinfo5
-rw-r--r--net/openvpn-current/patches/patch-aa13
6 files changed, 112 insertions, 0 deletions
diff --git a/net/openvpn-current/DESCR b/net/openvpn-current/DESCR
new file mode 100644
index 00000000000..e29f0d0e128
--- /dev/null
+++ b/net/openvpn-current/DESCR
@@ -0,0 +1,4 @@
+OpenVPN is a robust and highly flexible tunneling application
+that uses all of the encryption, authentication, and certification
+features of the OpenSSL library to securely tunnel IP networks over
+a single TCP/UDP port.
diff --git a/net/openvpn-current/MESSAGE b/net/openvpn-current/MESSAGE
new file mode 100644
index 00000000000..fc91986488d
--- /dev/null
+++ b/net/openvpn-current/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/11/17 18:04:01 xtraeme Exp $
+
+The sample configuration files have been installed in
+${PREFIX}/share/examples/openvpn
+
+You'll have to copy the required ones into ${PKG_SYSCONFDIR} and
+modify them.
+
+===========================================================================
diff --git a/net/openvpn-current/Makefile b/net/openvpn-current/Makefile
new file mode 100644
index 00000000000..c94644025cc
--- /dev/null
+++ b/net/openvpn-current/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/17 18:04:02 xtraeme Exp $
+#
+
+DISTNAME= openvpn-2.0_beta15
+PKGNAME= ${DISTNAME:S/_//}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openvpn/}
+
+MAINTAINER= ianzag@mail.ru
+HOMEPAGE= http://openvpn.sourceforge.net/
+COMMENT= OpenVPN is an easy-to-use SSL VPN daemon
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_PKGINSTAL= yes
+
+PKG_SYSCONFSUBDIR= openvpn
+
+CONFIGURE_ARGS+= --enable-pthread
+CONFIGURE_ARGS+= --enable-lzo
+CONFIGURE_ARGS+= --enable-crypt
+CONFIGURE_ARGS+= --enable-ssl
+CONFIGURE_ARGS+= --enable-multi
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+LIBS+= -ldes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openvpn
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openvpn/config
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openvpn/scripts
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openvpn/keys
+ ${INSTALL_DATA} ${WRKSRC}/sample-config-files/* \
+ ${PREFIX}/share/examples/openvpn/config
+ ${INSTALL_DATA} ${WRKSRC}/sample-scripts/* \
+ ${PREFIX}/share/examples/openvpn/scripts
+ ${INSTALL_DATA} ${WRKSRC}/sample-keys/* \
+ ${PREFIX}/share/examples/openvpn/keys
+
+.include "../../archivers/liblzo/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/openvpn-current/PLIST b/net/openvpn-current/PLIST
new file mode 100644
index 00000000000..254f0167587
--- /dev/null
+++ b/net/openvpn-current/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/17 18:04:04 xtraeme Exp $
+man/man8/openvpn.8
+sbin/openvpn
+share/examples/openvpn/config/README
+share/examples/openvpn/config/client.conf
+share/examples/openvpn/config/firewall.sh
+share/examples/openvpn/config/home.up
+share/examples/openvpn/config/loopback-client
+share/examples/openvpn/config/loopback-server
+share/examples/openvpn/config/office.up
+share/examples/openvpn/config/openvpn-shutdown.sh
+share/examples/openvpn/config/openvpn-startup.sh
+share/examples/openvpn/config/server.conf
+share/examples/openvpn/config/static-home.conf
+share/examples/openvpn/config/static-office.conf
+share/examples/openvpn/config/tls-home.conf
+share/examples/openvpn/config/tls-office.conf
+share/examples/openvpn/config/xinetd-client-config
+share/examples/openvpn/config/xinetd-server-config
+share/examples/openvpn/keys/README
+share/examples/openvpn/keys/client.crt
+share/examples/openvpn/keys/client.key
+share/examples/openvpn/keys/dh1024.pem
+share/examples/openvpn/keys/server.crt
+share/examples/openvpn/keys/server.key
+share/examples/openvpn/keys/tmp-ca.crt
+share/examples/openvpn/keys/tmp-ca.key
+share/examples/openvpn/scripts/auth-pam.pl
+share/examples/openvpn/scripts/bridge-start
+share/examples/openvpn/scripts/bridge-stop
+share/examples/openvpn/scripts/openvpn.init
+share/examples/openvpn/scripts/verify-cn
+@dirrm share/examples/openvpn/scripts
+@dirrm share/examples/openvpn/keys
+@dirrm share/examples/openvpn/config
+@dirrm share/examples/openvpn
diff --git a/net/openvpn-current/distinfo b/net/openvpn-current/distinfo
new file mode 100644
index 00000000000..96fd1f272ff
--- /dev/null
+++ b/net/openvpn-current/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/17 18:04:04 xtraeme Exp $
+
+SHA1 (openvpn-2.0_beta15.tar.gz) = f1b210df6c8b6ea45737f97e3a184e6dac7b2ec1
+Size (openvpn-2.0_beta15.tar.gz) = 585952 bytes
+SHA1 (patch-aa) = 8a8019a20af0f7b8e2a162b555ac4ad04e025470
diff --git a/net/openvpn-current/patches/patch-aa b/net/openvpn-current/patches/patch-aa
new file mode 100644
index 00000000000..a2a904f978b
--- /dev/null
+++ b/net/openvpn-current/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/17 18:04:04 xtraeme Exp $
+
+--- ntlm.c.orig 2004-11-17 18:47:38.000000000 +0100
++++ ntlm.c 2004-11-17 18:47:49.000000000 +0100
+@@ -29,7 +29,7 @@
+
+ #if NTLM
+
+-#include <openssl/des.h>
++#include <des.h>
+ #include <openssl/md4.h>
+ #include "common.h"
+ #include "buffer.h"