mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
This commit is contained in:
parent
556814f322
commit
76dc862617
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166869
7 changed files with 123 additions and 0 deletions
|
@ -196,6 +196,7 @@
|
|||
SUBDIR += kgpg
|
||||
SUBDIR += klamav
|
||||
SUBDIR += knocker
|
||||
SUBDIR += kovpn
|
||||
SUBDIR += krb4
|
||||
SUBDIR += krb5
|
||||
SUBDIR += kripp
|
||||
|
|
35
security/kovpn/Makefile
Normal file
35
security/kovpn/Makefile
Normal file
|
@ -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>
|
3
security/kovpn/distinfo
Normal file
3
security/kovpn/distinfo
Normal file
|
@ -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
|
39
security/kovpn/files/README
Normal file
39
security/kovpn/files/README
Normal file
|
@ -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.
|
11
security/kovpn/files/patch-src-openvpnmanager.cpp
Normal file
11
security/kovpn/files/patch-src-openvpnmanager.cpp
Normal file
|
@ -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()
|
11
security/kovpn/pkg-descr
Normal file
11
security/kovpn/pkg-descr
Normal file
|
@ -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>
|
23
security/kovpn/pkg-plist
Normal file
23
security/kovpn/pkg-plist
Normal file
|
@ -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%%
|
Loading…
Add table
Reference in a new issue