1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Tuntun is an applet for Gnome panel that manage a list of vpn connections

through the OpenVPN Management Interface.

Main features

 * Simple & lightweight just a client GUI to start/stop your OpenVPN tunnels
   and nothing more
 * Integrated with the Gnome Desktop (support for the Keyring and notification
   daemon)
 * Support for Auth and Private-Key OpenVPN authentication methods

 WWW:	http://code.google.com/p/tuntun/

PR:		ports/128097
Submitted by:	Anderson S. Ferreira <anderson at cnpm.embrapa.br>
This commit is contained in:
Martin Wilke 2008-10-16 21:43:35 +00:00
parent 52ca764a5d
commit 7b79f0ccb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221660
8 changed files with 130 additions and 0 deletions

View File

@ -790,6 +790,7 @@
SUBDIR += tripwire-131
SUBDIR += tripwire12
SUBDIR += tthsum
SUBDIR += tuntun
SUBDIR += uberkey
SUBDIR += umit
SUBDIR += unicornscan

22
security/tuntun/Makefile Normal file
View File

@ -0,0 +1,22 @@
# New ports collection makefile for: tuntun
# Date created: 2008-09-16
# Whom: Anderson S. Ferreira <anderson@cnpm.embrapa.br>
#
# $FreeBSD$
#
PORTNAME= tuntun
PORTVERSION= 0.3.1
CATEGORIES= security gnome
MASTER_SITES= http://tuntun.googlecode.com/files/
MAINTAINER= anderson@cnpm.embrapa.br
COMMENT= A Gnome applet gui for OpenVPN
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/libdata/servers
USE_GMAKE= yes
USE_GNOME= gnomehier intlhack gnomeprefix gnomehack gnomepanel glib20
.include <bsd.port.mk>

3
security/tuntun/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (tuntun-0.3.1.tar.gz) = 0bd7807e466cb2ea133a9478d4d15e61
SHA256 (tuntun-0.3.1.tar.gz) = 4d4abca12fbf430402ef0189cfaf1a2d6551cf3faa570b81d18500503c004819
SIZE (tuntun-0.3.1.tar.gz) = 558837

View File

@ -0,0 +1,46 @@
--- gnio.build.patch.orig 2008-09-16 08:20:43.000000000 -0300
+++ gnio.build.patch 2008-09-16 11:08:44.000000000 -0300
@@ -31,3 +31,43 @@
bld.install_files('PREFIX', 'include/gnio', 'gnio/gi*.h')
bld.install_files('PREFIX', 'include/gnio', 'gnio/gn*.h')
bld.install_files('PREFIX', 'include/gnio', 'gnio/gr*.h')
+--- gnio/gnio/ginet4address.c.orig 2008-06-16 09:00:35.000000000 -0300
++++ gnio/gnio/ginet4address.c 2008-09-16 09:39:55.000000000 -0300
+@@ -23,6 +23,7 @@
+
+ #include <config.h>
+ #include <glib.h>
++#include <sys/types.h>
+
+ #ifndef G_OS_WIN32
+ # include <netinet/in.h>
+--- gnio/gnio/ginet6address.c.orig 2008-06-16 09:00:35.000000000 -0300
++++ gnio/gnio/ginet6address.c 2008-09-16 09:39:55.000000000 -0300
+@@ -27,6 +27,7 @@
+
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++#include <sys/socket.h>
+
+ #include "ginet6address.h"
+
+--- gnio/gnio/gresolver.c.orig 2008-07-09 18:15:16.000000000 -0300
++++ gnio/gnio/gresolver.c 2008-09-16 09:39:55.000000000 -0300
+@@ -24,6 +24,7 @@
+ #include <config.h>
+ #include <glib.h>
+ #include <gio/gio.h>
++#include <sys/socket.h>
+
+ #include <string.h>
+ #ifndef G_OS_WIN32
+--- gnio/gnio/gsocket.c.orig 2008-07-09 18:15:16.000000000 -0300
++++ gnio/gnio/gsocket.c 2008-09-16 09:39:55.000000000 -0300
+@@ -27,6 +27,7 @@
+ #include <gnio/gnio.h>
+ #include "gasynchelper.h"
+ #include "gnioenums.h"
++#include <sys/socket.h>
+
+ #include <string.h>
+ #ifndef G_OS_WIN32

View File

@ -0,0 +1,11 @@
--- po/Makefile.in.in.orig 2008-09-16 11:15:56.000000000 -0300
+++ po/Makefile.in.in 2008-09-16 11:16:40.000000000 -0300
@@ -44,7 +44,7 @@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
-GMSGFMT = @GMSGFMT@
+GMSGFMT = @MSGFMT@
MSGFMT = @MSGFMT@
XGETTEXT = @XGETTEXT@
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@

View File

@ -0,0 +1,10 @@
--- src/tuntun.server.in 2008-09-16 11:10:52.000000000 -0300
+++ src/tuntun.server.in 2008-09-16 11:11:36.000000000 -0300
@@ -1,6 +1,6 @@
<oaf_info>
<oaf_server iid="OAFIID:GNOME_Tuntun_Factory" type="exe"
- location="/usr/lib/gnome-applets/tuntun">
+ location="/usr/local/libexec/tuntun">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/GenericFactory:1.0"/>

12
security/tuntun/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
Tuntun is an applet for Gnome panel that manage a list of vpn connections
through the OpenVPN Management Interface.
Main features
* Simple & lightweight just a client GUI to start/stop your OpenVPN tunnels
and nothing more
* Integrated with the Gnome Desktop (support for the Keyring and notification
daemon)
* Support for Auth and Private-Key OpenVPN authentication methods
WWW: http://code.google.com/p/tuntun/

25
security/tuntun/pkg-plist Normal file
View File

@ -0,0 +1,25 @@
libdata/bonobo/servers/tuntun.server
libexec/tuntun
share/locale/it/LC_MESSAGES/tuntun.mo
share/locale/lv/LC_MESSAGES/tuntun.mo
share/pixmaps/tuntun-icon.png
share/tuntun/ui/tuntun.ui
share/tuntun/ui/tuntun-auth-dialog.ui
share/tuntun/pixmaps/tuntun.png
share/tuntun/pixmaps/tuntun_act_1.png
share/tuntun/pixmaps/tuntun_act_2.png
share/tuntun/pixmaps/connect.png
share/tuntun/pixmaps/connected.png
share/tuntun/pixmaps/disconnect.png
share/tuntun/pixmaps/not_connected.png
share/tuntun/pixmaps/unknown.png
share/doc/tuntun/AUTHORS
share/doc/tuntun/COPYING
share/doc/tuntun/ChangeLog
share/doc/tuntun/INSTALL
share/doc/tuntun/NEWS
share/doc/tuntun/README
@dirrm share/doc/tuntun
@dirrm share/tuntun/pixmaps
@dirrm share/tuntun/ui
@dirrm share/tuntun