Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 15:33:40 -0300 (BRT)
From:      "Anderson S. Ferreira" <anderson@cnpm.embrapa.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95709: New port: security/kovpn A simple GUI for OpenVPN clients
Message-ID:  <20060413183340.46DD817043@mogno.local.cnpm.embrapa.br>
Resent-Message-ID: <200604131840.k3DIeLvC073275@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95709
>Category:       ports
>Synopsis:       New port: security/kovpn A simple GUI for OpenVPN clients
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 18:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anderson S. Ferreira
>Release:        FreeBSD 6.1-RC amd64
>Organization:
Embrapa Monitoramento por Satélite
>Environment:
System: FreeBSD mogno.local.cnpm.embrapa.br 6.1-RC FreeBSD 6.1-RC #2: Mon Apr 10 07:53:02 BRT 2006 anderson@mogno.local.cnpm.embrapa.br:/usr/src/sys/amd64/compile/MOGNO amd64

>Description:

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.


>How-To-Repeat:
	
>Fix:

	

--- kovpn.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kovpn
#	kovpn/pkg-plist
#	kovpn/pkg-descr
#	kovpn/distinfo
#	kovpn/Makefile
#	kovpn/files
#	kovpn/files/patch-src-openvpnmanager.cpp
#	kovpn/files/README
#
echo c - kovpn
mkdir -p kovpn > /dev/null 2>&1
echo x - kovpn/pkg-plist
sed 's/^X//' >kovpn/pkg-plist << 'END-of-kovpn/pkg-plist'
Xshare/doc/HTML/en/kovpn/common
Xshare/doc/HTML/en/kovpn/index.docbook
Xshare/doc/HTML/en/kovpn/index.cache.bz2
Xshare/apps/kovpn/pics/kovpn.png
Xshare/apps/kovpn/pics/kovpn_connected.png
Xshare/apps/kovpn/pics/kovpn_connecting.png
Xshare/apps/kovpn/pics/kovpn_disconnected.png
Xshare/apps/kovpn/pics/kovpn_halfconnected.png
Xshare/apps/kovpn/pics/kovpn_config.png
Xshare/locale/de/LC_MESSAGES/kovpn.mo
Xshare/apps/kovpn/kovpnui.rc
Xshare/icons/hicolor/16x16/apps/kovpn.png
Xshare/icons/hicolor/32x32/apps/kovpn.png
Xshare/applnk/Utilities/kovpn.desktop
Xshare/doc/kovpn/README
Xbin/kovpn
X@dirrmtry share/doc/HTML/en/kovpn
X@dirrmtry share/apps/kovpn/pics
X@dirrmtry share/apps/kovpn
X@dirrmtry share/icons/hicolor/16x16/apps
X@dirrmtry share/icons/hicolor/32x32/apps
X@dirrmtry share/applnk/Utilities
X@dirrmtry share/doc/kovpn
END-of-kovpn/pkg-plist
echo x - kovpn/pkg-descr
sed 's/^X//' >kovpn/pkg-descr << 'END-of-kovpn/pkg-descr'
XKovpn is a really simple OpenVPN GUI for everyday use. It is a client only GUI, 
Xmeaning that you cannot administrate an OpenVPN server with it (Look for kvpnc 
Xif you want such a program). You can use it to connect and disconnect without 
Xneeding to open a console. You can also input username and/or password that might be needed.
XIn Short: It can do everything an end-user want's for his everyday work with OpenVPN.
X
XWWW: http://www.enlighter.de/
X
X--Anderson S. Ferreira <anderson@cnpm.embrapa.br>
X
END-of-kovpn/pkg-descr
echo x - kovpn/distinfo
sed 's/^X//' >kovpn/distinfo << 'END-of-kovpn/distinfo'
XSIZE (kovpn-0.2.tar.bz2) = 487299
XMD5 (kovpn-0.2.tar.bz2) = 141f3833b3f482aa8ac967d948a879a0
XSHA256 (kovpn-0.2.tar.bz2) = a32e3d9e8564ce293e8f3acdbca2236e6c07a34cd25f9175458120f4a278d6e1
END-of-kovpn/distinfo
echo x - kovpn/Makefile
sed 's/^X//' >kovpn/Makefile << 'END-of-kovpn/Makefile'
X# New ports collection makefile for:	kovpn
X# Date created:				13 April 2006
X# Whom:					anderson@cnpm.embrapa.br
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	kovpn
XPORTVERSION=	0.2
XDISTNAME=	${PORTNAME}-${PORTVERSION}
XCATEGORIES=	security kde
XMASTER_SITES=	http://home.bawue.de/~lighter/www.enlighter.de/files/
XEXTRACT_SUFX=	.tar.bz2
X
XWRKSRC=		${WRKDIR}/kovpn
X
XMAINTAINER=	anderson@cnpm.embrapa.br
XCOMMENT=	A simple GUI for OpenVPN clients
X
XUSE_KDELIBS_VER=3
XPREFIX=		${KDE_PREFIX}
X
XRUN_DEPENDS=	openvpn:${PORTSDIR}/security/openvpn
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_XPM=	yes
X
XUSE_AUTOTOOLS=  libtool:15
X
Xpost-install:
X	${MKDIR} ${PREFIX}/share/doc/kovpn; \
X        ${CP} files/README ${PREFIX}/share/doc/kovpn 
X
X.include <bsd.port.mk>
END-of-kovpn/Makefile
echo c - kovpn/files
mkdir -p kovpn/files > /dev/null 2>&1
echo x - kovpn/files/patch-src-openvpnmanager.cpp
sed 's/^X//' >kovpn/files/patch-src-openvpnmanager.cpp << 'END-of-kovpn/files/patch-src-openvpnmanager.cpp'
X--- src/openvpnmanager.cpp	Fri Mar 31 21:56:53 2006
X+++ src/openvpnmanager.cpp	Tue Apr 11 16:27:47 2006
X@@ -159,7 +159,7 @@
X    mConnectionWanted = false;
X    mForce = false;
X    command( "hold on\n" ); /* OpenVPN does imediatelly reconnect without the hold release. */
X-   command( "signal SIGUSR1\n" );
X+   command( "signal SIGHUP\n" );
X }
X 
X void openVPNManager::ovpnReconnect()
END-of-kovpn/files/patch-src-openvpnmanager.cpp
echo x - kovpn/files/README
sed 's/^X//' >kovpn/files/README << 'END-of-kovpn/files/README'
XKovpn's configuration steps
X
XFirst of all, you have to enable OpenVPN's management interface either by 
Xmodifying its configuration file or by adding command line options.
X
X o Modifying OpenVPN's configurations files:
X   + Add these lines to every OpenVPNconfiguration file you have.
X
X  management 127.0.0.1 11194 pwfile.txt
X  management-query-passwords
X  management-hold
X
X NOTE: If you have any problems with configuring OpenVPN or if there are 
X obscurities, please take a look at the OpenVPN sample config file.
X
X o Adding command line options:
X   + Set the openvpn_flags on /etc/rc.conf file:
X
X  openvpn_flags="--management 127.0.0.1 11194 pwfile.txt
X                 --management-query-passwords
X                 --management-hold"
X
X o Restart OpenVPN server
X
XThe next thing you have to to is to configure kovpn itself.
X o Start kovpn
X o right-click on kovpn's icon in the system tray to open the popup menu.
X o left-click on the "Configure kovpn" menu item.
X o Go to the page "OpenVPN" (which should already be on top).
X o Click on the "Add" Button on the right side to add a new OpenVPN connection.
X o Fill in the fields in the "OpenVPN connection" dialog.
X   + Name can be choosen freely but must be unique
X   + Host must be the hostname you told OpenVPN 
X     (the management option in the first step)
X   + Port must be the port you told OpenVPN 
X     (the management option in the first step)
X o The other options are not important for kovpn to work but can raise your 
X   comfort.
X o That's it click on all OKs and your done.
END-of-kovpn/files/README
exit
--- kovpn.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060413183340.46DD817043>