diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-04 05:08:02 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-04 05:08:02 +0800 |
commit | 44db908159703a315de35b6e10de6ecbb1caa100 (patch) | |
tree | 0b233562f83fa0050c76ceb3ab596c98ed321502 /security | |
parent | 5c2f809e8ac4762c8ee5a16fc60a78484c77814d (diff) | |
download | freebsd-ports-gnome-44db908159703a315de35b6e10de6ecbb1caa100.tar.gz freebsd-ports-gnome-44db908159703a315de35b6e10de6ecbb1caa100.tar.zst freebsd-ports-gnome-44db908159703a315de35b6e10de6ecbb1caa100.zip |
Kovpn is a really simple OpenVPN GUI for everyday use. It is a client only GUI,
meaning that you cannot administrate an OpenVPN server with it (Look for kvpnc
if you want such a program). You can use it to connect and disconnect without
needing to open a console. You can also input username and/or password that
might be needed.
In Short: It can do everything an end-user want's for his everyday work with
OpenVPN.
WWW: http://www.enlighter.de/
--Anderson S. Ferreira <anderson@cnpm.embrapa.br>
PR: ports/95709
Submitted by: anderson@cnpm.embrapa.br
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/kovpn/Makefile | 35 | ||||
-rw-r--r-- | security/kovpn/distinfo | 3 | ||||
-rw-r--r-- | security/kovpn/files/README | 39 | ||||
-rw-r--r-- | security/kovpn/files/patch-src-openvpnmanager.cpp | 11 | ||||
-rw-r--r-- | security/kovpn/pkg-descr | 11 | ||||
-rw-r--r-- | security/kovpn/pkg-plist | 23 |
7 files changed, 123 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 26d222660015..dfd760e92199 100644 --- a/security/Makefile +++ b/security/Makefile @@ -196,6 +196,7 @@ SUBDIR += kgpg SUBDIR += klamav SUBDIR += knocker + SUBDIR += kovpn SUBDIR += krb4 SUBDIR += krb5 SUBDIR += kripp diff --git a/security/kovpn/Makefile b/security/kovpn/Makefile new file mode 100644 index 000000000000..aba8fc0221f9 --- /dev/null +++ b/security/kovpn/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: kovpn +# Date created: 13 April 2006 +# Whom: anderson@cnpm.embrapa.br +# +# $FreeBSD$ +# + +PORTNAME= kovpn +PORTVERSION= 0.2 +CATEGORIES= security kde +MASTER_SITES= http://home.bawue.de/~lighter/www.enlighter.de/files/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= anderson@cnpm.embrapa.br +COMMENT= A simple GUI for OpenVPN clients + +RUN_DEPENDS= openvpn:${PORTSDIR}/security/openvpn + +WRKSRC= ${WRKDIR}/kovpn + +USE_BZIP2= yes +USE_KDELIBS_VER=3 +PREFIX= ${KDE_PREFIX} +USE_GETTEXT= yes +INSTALLS_ICONS= yes +USE_GMAKE= yes +USE_XPM= yes + +USE_AUTOTOOLS= libtool:15 + +post-install: + ${MKDIR} ${PREFIX}/share/doc/kovpn; \ + ${CP} ${FILESDIR}/README ${PREFIX}/share/doc/kovpn + +.include <bsd.port.mk> diff --git a/security/kovpn/distinfo b/security/kovpn/distinfo new file mode 100644 index 000000000000..de7e5ae03e32 --- /dev/null +++ b/security/kovpn/distinfo @@ -0,0 +1,3 @@ +SIZE (kovpn-0.2.tar.bz2) = 487299 +MD5 (kovpn-0.2.tar.bz2) = 141f3833b3f482aa8ac967d948a879a0 +SHA256 (kovpn-0.2.tar.bz2) = a32e3d9e8564ce293e8f3acdbca2236e6c07a34cd25f9175458120f4a278d6e1 diff --git a/security/kovpn/files/README b/security/kovpn/files/README new file mode 100644 index 000000000000..749873fb44d4 --- /dev/null +++ b/security/kovpn/files/README @@ -0,0 +1,39 @@ +Kovpn's configuration steps + +First of all, you have to enable OpenVPN's management interface either by +modifying its configuration file or by adding command line options. + + o Modifying OpenVPN's configurations files: + + Add these lines to every OpenVPNconfiguration file you have. + + management 127.0.0.1 11194 pwfile.txt + management-query-passwords + management-hold + + NOTE: If you have any problems with configuring OpenVPN or if there are + obscurities, please take a look at the OpenVPN sample config file. + + o Adding command line options: + + Set the openvpn_flags on /etc/rc.conf file: + + openvpn_flags="--management 127.0.0.1 11194 pwfile.txt + --management-query-passwords + --management-hold" + + o Restart OpenVPN server + +The next thing you have to to is to configure kovpn itself. + o Start kovpn + o right-click on kovpn's icon in the system tray to open the popup menu. + o left-click on the "Configure kovpn" menu item. + o Go to the page "OpenVPN" (which should already be on top). + o Click on the "Add" Button on the right side to add a new OpenVPN connection. + o Fill in the fields in the "OpenVPN connection" dialog. + + Name can be choosen freely but must be unique + + Host must be the hostname you told OpenVPN + (the management option in the first step) + + Port must be the port you told OpenVPN + (the management option in the first step) + o The other options are not important for kovpn to work but can raise your + comfort. + o That's it click on all OKs and your done. diff --git a/security/kovpn/files/patch-src-openvpnmanager.cpp b/security/kovpn/files/patch-src-openvpnmanager.cpp new file mode 100644 index 000000000000..52f51cd6be7b --- /dev/null +++ b/security/kovpn/files/patch-src-openvpnmanager.cpp @@ -0,0 +1,11 @@ +--- src/openvpnmanager.cpp Fri Mar 31 21:56:53 2006 ++++ src/openvpnmanager.cpp Tue Apr 11 16:27:47 2006 +@@ -159,7 +159,7 @@ + mConnectionWanted = false; + mForce = false; + command( "hold on\n" ); /* OpenVPN does imediatelly reconnect without the hold release. */ +- command( "signal SIGUSR1\n" ); ++ command( "signal SIGHUP\n" ); + } + + void openVPNManager::ovpnReconnect() diff --git a/security/kovpn/pkg-descr b/security/kovpn/pkg-descr new file mode 100644 index 000000000000..a0f615fc96e7 --- /dev/null +++ b/security/kovpn/pkg-descr @@ -0,0 +1,11 @@ +Kovpn is a really simple OpenVPN GUI for everyday use. It is a client only GUI, +meaning that you cannot administrate an OpenVPN server with it (Look for kvpnc +if you want such a program). You can use it to connect and disconnect without +needing to open a console. You can also input username and/or password that +might be needed. +In Short: It can do everything an end-user want's for his everyday work with +OpenVPN. + +WWW: http://www.enlighter.de/ + +--Anderson S. Ferreira <anderson@cnpm.embrapa.br> diff --git a/security/kovpn/pkg-plist b/security/kovpn/pkg-plist new file mode 100644 index 000000000000..b5dead16b2f8 --- /dev/null +++ b/security/kovpn/pkg-plist @@ -0,0 +1,23 @@ +bin/kovpn +share/doc/HTML/en/kovpn/common +share/doc/HTML/en/kovpn/index.docbook +share/doc/HTML/en/kovpn/index.cache.bz2 +share/apps/kovpn/pics/kovpn.png +share/apps/kovpn/pics/kovpn_connected.png +share/apps/kovpn/pics/kovpn_connecting.png +share/apps/kovpn/pics/kovpn_disconnected.png +share/apps/kovpn/pics/kovpn_halfconnected.png +share/apps/kovpn/pics/kovpn_config.png +share/locale/de/LC_MESSAGES/kovpn.mo +share/apps/kovpn/kovpnui.rc +share/icons/hicolor/16x16/apps/kovpn.png +share/icons/hicolor/32x32/apps/kovpn.png +share/applnk/Utilities/kovpn.desktop +%%PORTDOCS%%%%DOCSDIR%%/README +@dirrm share/doc/HTML/en/kovpn +@dirrm share/apps/kovpn/pics +@dirrm share/apps/kovpn +@dirrmtry share/icons/hicolor/16x16/apps +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/applnk/Utilities +%%PORTDOCS%%@dirrm %%DOCSDIR%% |