pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gnome-nettool Initial import of gnome-nettool-2.22...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2469f236ef0
branches:  trunk
changeset: 550932:f2469f236ef0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 02 20:56:49 2008 +0000

description:
Initial import of gnome-nettool-2.22.1. Doesn't work very well.

gnome-nettool: GNOME interface for various networking tools

GNOME Nettool is a set of front-ends to various networking command-line
tools, like ping, netstat, ifconfig, whois, traceroute, finger.

diffstat:

 net/gnome-nettool/DESCR            |    4 +
 net/gnome-nettool/Makefile         |   27 +++++++
 net/gnome-nettool/PLIST            |  142 +++++++++++++++++++++++++++++++++++++
 net/gnome-nettool/distinfo         |    8 ++
 net/gnome-nettool/patches/patch-aa |   13 +++
 net/gnome-nettool/patches/patch-ab |   13 +++
 net/gnome-nettool/patches/patch-ac |   76 +++++++++++++++++++
 7 files changed, 283 insertions(+), 0 deletions(-)

diffs (truncated from 311 to 300 lines):

diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/DESCR   Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,4 @@
+gnome-nettool: GNOME interface for various networking tools
+
+GNOME Nettool is a set of front-ends to various networking command-line
+tools, like ping, netstat, ifconfig, whois, traceroute, finger.
diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/Makefile        Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $
+#
+
+DISTNAME=      gnome-nettool-2.22.1
+CATEGORIES=    net gnome
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gnome-nettool/2.22/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.gnome.org/
+COMMENT=       GNOME interface for various network tools
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE=         yes
+USE_DIRS+=             gnome2-1.5
+USE_TOOLS+=            gmake intltool msgfmt pkg-config
+USE_LIBTOOL=           yes
+USE_PKGLOCALEDIR=      yes
+
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/PLIST   Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,142 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $
+bin/gnome-nettool
+share/applications/gnome-nettool.desktop
+share/gnome-nettool/dialogs/gnome-nettool.glade
+share/gnome-nettool/pixmaps/16_ethernet.xpm
+share/gnome-nettool/pixmaps/16_loopback.xpm
+share/gnome-nettool/pixmaps/16_plip.xpm
+share/gnome-nettool/pixmaps/16_ppp.xpm
+share/gnome-nettool/pixmaps/gnome-nettool.png
+share/gnome-nettool/pixmaps/irda-16.png
+share/gnome-nettool/pixmaps/network.png
+share/gnome-nettool/pixmaps/wavelan-16.png
+share/gnome/help/gnome-nettool/C/gnome-nettool.xml
+share/gnome/help/gnome-nettool/C/legal.xml
+share/gnome/help/gnome-nettool/ca/gnome-nettool.xml
+share/gnome/help/gnome-nettool/cs/gnome-nettool.xml
+share/gnome/help/gnome-nettool/da/gnome-nettool.xml
+share/gnome/help/gnome-nettool/es/gnome-nettool.xml
+share/gnome/help/gnome-nettool/fr/gnome-nettool.xml
+share/gnome/help/gnome-nettool/oc/gnome-nettool.xml
+share/gnome/help/gnome-nettool/pa/gnome-nettool.xml
+share/gnome/help/gnome-nettool/sv/gnome-nettool.xml
+share/gnome/help/gnome-nettool/uk/gnome-nettool.xml
+share/gnome/help/gnome-nettool/vi/gnome-nettool.xml
+share/icons/hicolor/16x16/apps/gnome-nettool.png
+share/icons/hicolor/22x22/apps/gnome-nettool.png
+share/icons/hicolor/24x24/apps/gnome-nettool.png
+share/icons/hicolor/32x32/apps/gnome-nettool.png
+share/icons/hicolor/scalable/apps/gnome-nettool.svg
+share/locale/ar/LC_MESSAGES/gnome-nettool.mo
+share/locale/as/LC_MESSAGES/gnome-nettool.mo
+share/locale/az/LC_MESSAGES/gnome-nettool.mo
+share/locale/bg/LC_MESSAGES/gnome-nettool.mo
+share/locale/bn/LC_MESSAGES/gnome-nettool.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-nettool.mo
+share/locale/bs/LC_MESSAGES/gnome-nettool.mo
+share/locale/ca/LC_MESSAGES/gnome-nettool.mo
+share/locale/cs/LC_MESSAGES/gnome-nettool.mo
+share/locale/cy/LC_MESSAGES/gnome-nettool.mo
+share/locale/da/LC_MESSAGES/gnome-nettool.mo
+share/locale/de/LC_MESSAGES/gnome-nettool.mo
+share/locale/dz/LC_MESSAGES/gnome-nettool.mo
+share/locale/el/LC_MESSAGES/gnome-nettool.mo
+share/locale/en_CA/LC_MESSAGES/gnome-nettool.mo
+share/locale/en_GB/LC_MESSAGES/gnome-nettool.mo
+share/locale/es/LC_MESSAGES/gnome-nettool.mo
+share/locale/et/LC_MESSAGES/gnome-nettool.mo
+share/locale/eu/LC_MESSAGES/gnome-nettool.mo
+share/locale/fa/LC_MESSAGES/gnome-nettool.mo
+share/locale/fi/LC_MESSAGES/gnome-nettool.mo
+share/locale/fr/LC_MESSAGES/gnome-nettool.mo
+share/locale/ga/LC_MESSAGES/gnome-nettool.mo
+share/locale/gl/LC_MESSAGES/gnome-nettool.mo
+share/locale/gu/LC_MESSAGES/gnome-nettool.mo
+share/locale/he/LC_MESSAGES/gnome-nettool.mo
+share/locale/hi/LC_MESSAGES/gnome-nettool.mo
+share/locale/hr/LC_MESSAGES/gnome-nettool.mo
+share/locale/hu/LC_MESSAGES/gnome-nettool.mo
+share/locale/id/LC_MESSAGES/gnome-nettool.mo
+share/locale/it/LC_MESSAGES/gnome-nettool.mo
+share/locale/ja/LC_MESSAGES/gnome-nettool.mo
+share/locale/ka/LC_MESSAGES/gnome-nettool.mo
+share/locale/kn/LC_MESSAGES/gnome-nettool.mo
+share/locale/ko/LC_MESSAGES/gnome-nettool.mo
+share/locale/ku/LC_MESSAGES/gnome-nettool.mo
+share/locale/lt/LC_MESSAGES/gnome-nettool.mo
+share/locale/lv/LC_MESSAGES/gnome-nettool.mo
+share/locale/mg/LC_MESSAGES/gnome-nettool.mo
+share/locale/mk/LC_MESSAGES/gnome-nettool.mo
+share/locale/ml/LC_MESSAGES/gnome-nettool.mo
+share/locale/mn/LC_MESSAGES/gnome-nettool.mo
+share/locale/mr/LC_MESSAGES/gnome-nettool.mo
+share/locale/ms/LC_MESSAGES/gnome-nettool.mo
+share/locale/nb/LC_MESSAGES/gnome-nettool.mo
+share/locale/ne/LC_MESSAGES/gnome-nettool.mo
+share/locale/nl/LC_MESSAGES/gnome-nettool.mo
+share/locale/nn/LC_MESSAGES/gnome-nettool.mo
+share/locale/oc/LC_MESSAGES/gnome-nettool.mo
+share/locale/or/LC_MESSAGES/gnome-nettool.mo
+share/locale/pa/LC_MESSAGES/gnome-nettool.mo
+share/locale/pl/LC_MESSAGES/gnome-nettool.mo
+share/locale/pt/LC_MESSAGES/gnome-nettool.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-nettool.mo
+share/locale/ro/LC_MESSAGES/gnome-nettool.mo
+share/locale/ru/LC_MESSAGES/gnome-nettool.mo
+share/locale/rw/LC_MESSAGES/gnome-nettool.mo
+share/locale/si/LC_MESSAGES/gnome-nettool.mo
+share/locale/sk/LC_MESSAGES/gnome-nettool.mo
+share/locale/sl/LC_MESSAGES/gnome-nettool.mo
+share/locale/sq/LC_MESSAGES/gnome-nettool.mo
+share/locale/sr/LC_MESSAGES/gnome-nettool.mo
+share/locale/sr@latin/LC_MESSAGES/gnome-nettool.mo
+share/locale/sv/LC_MESSAGES/gnome-nettool.mo
+share/locale/ta/LC_MESSAGES/gnome-nettool.mo
+share/locale/te/LC_MESSAGES/gnome-nettool.mo
+share/locale/th/LC_MESSAGES/gnome-nettool.mo
+share/locale/tr/LC_MESSAGES/gnome-nettool.mo
+share/locale/uk/LC_MESSAGES/gnome-nettool.mo
+share/locale/uz/LC_MESSAGES/gnome-nettool.mo
+share/locale/uz@cyrillic/LC_MESSAGES/gnome-nettool.mo
+share/locale/vi/LC_MESSAGES/gnome-nettool.mo
+share/locale/wa/LC_MESSAGES/gnome-nettool.mo
+share/locale/xh/LC_MESSAGES/gnome-nettool.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-nettool.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-nettool.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-nettool.mo
+share/omf/gnome-nettool/gnome-nettool-C.omf
+share/omf/gnome-nettool/gnome-nettool-ca.omf
+share/omf/gnome-nettool/gnome-nettool-cs.omf
+share/omf/gnome-nettool/gnome-nettool-da.omf
+share/omf/gnome-nettool/gnome-nettool-es.omf
+share/omf/gnome-nettool/gnome-nettool-fr.omf
+share/omf/gnome-nettool/gnome-nettool-oc.omf
+share/omf/gnome-nettool/gnome-nettool-pa.omf
+share/omf/gnome-nettool/gnome-nettool-sv.omf
+share/omf/gnome-nettool/gnome-nettool-uk.omf
+share/omf/gnome-nettool/gnome-nettool-vi.omf
+@dirrm share/omf/gnome-nettool
+@comment in rarian: @dirrm share/omf
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/scalable/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/32x32/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/24x24/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor
+@dirrm share/gnome/help/gnome-nettool/vi
+@dirrm share/gnome/help/gnome-nettool/uk
+@dirrm share/gnome/help/gnome-nettool/sv
+@dirrm share/gnome/help/gnome-nettool/pa
+@dirrm share/gnome/help/gnome-nettool/oc
+@dirrm share/gnome/help/gnome-nettool/fr
+@dirrm share/gnome/help/gnome-nettool/es
+@dirrm share/gnome/help/gnome-nettool/da
+@dirrm share/gnome/help/gnome-nettool/cs
+@dirrm share/gnome/help/gnome-nettool/ca
+@dirrm share/gnome/help/gnome-nettool/C
+@dirrm share/gnome/help/gnome-nettool
+@comment in gnome2-dirs: @dirrm share/gnome/help
+@dirrm share/gnome-nettool/pixmaps
+@dirrm share/gnome-nettool/dialogs
+@dirrm share/gnome-nettool
+@comment in xdg-dirs: @dirrm share/applications
diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/distinfo        Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $
+
+SHA1 (gnome-nettool-2.22.1.tar.bz2) = 41e66c37beb677cf5ac17a2ec6254cd24b0e18d4
+RMD160 (gnome-nettool-2.22.1.tar.bz2) = 43b78d53ae5805f97f031821b37b7e739ca5866a
+Size (gnome-nettool-2.22.1.tar.bz2) = 600085 bytes
+SHA1 (patch-aa) = 3f6c5cea284b2ddfefda9cff1e74f6fa5755bb8d
+SHA1 (patch-ab) = 3c45a604945c955ea18dc510b279e7e9405d0b1a
+SHA1 (patch-ac) = 647ecaae91966d99759b08c920af9eaf8e1fe6ca
diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/patches/patch-aa        Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $
+
+--- src/ping.h.orig    2008-09-22 22:04:12.000000000 +0000
++++ src/ping.h
+@@ -30,7 +30,7 @@
+ #   define PING_PROGRAM_FORMAT_6 "%s ping6 -c %d -n %s"
+ #   define PING_FORMAT "%d bytes from %s icmp_seq=%d ttl=%d time=%s %s"
+ #   define PING_PARAMS_6
+-#elif defined(__OSF__) || defined(__FreeBSD__) || defined(__OpenBSD__)
++#elif defined(__OSF__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #   define PING_PROGRAM_FORMAT "%s ping -c %d -n %s"
+ #   define PING_PROGRAM_FORMAT_6 "%s ping6 -c %d -n %s"
+ #   define PING_FORMAT "%d bytes from %s icmp_seq=%d ttl=%d time=%s %s"
diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/patches/patch-ab        Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $
+
+--- src/netstat.h.orig 2008-09-22 22:04:12.000000000 +0000
++++ src/netstat.h
+@@ -30,7 +30,7 @@
+ #   define NETSTAT_ROUTE6_FORMAT "%s %s %s %d %d %d %s"
+ #   define NETSTAT_MULTICAST_FORMAT "%s %d %s"
+ 
+-#elif defined(__FreeBSD__) || defined(__OpenBSD__)
++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #   define NETSTAT_PROTOCOL_FORMAT "%s %d %d %d.%d.%d.%d.%s %s %s"
+ #   define ALT_NETSTAT_PROTOCOL_FORMAT "%s %d %d *.%s %s %s"
+ #   define NETSTAT_ROUTE_FORMAT "%s %s %s %d %d %s"
diff -r 909c495c111f -r f2469f236ef0 net/gnome-nettool/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gnome-nettool/patches/patch-ac        Tue Dec 02 20:56:49 2008 +0000
@@ -0,0 +1,76 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $
+
+--- src/netstat.c.orig 2008-09-22 22:04:12.000000000 +0000
++++ src/netstat.c
+@@ -123,7 +123,7 @@ netstat_get_active_option (Netinfo * net
+       }
+       if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (netinfo->protocol))) {
+               /* Only works for Solaris */
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+               option = g_strdup ("-a -f inet -ln");
+ #else
+               if (netinfo_is_ipv6_enable ()) {
+@@ -292,7 +292,7 @@ netstat_protocol_tree_insert (GtkTreeVie
+       g_return_if_fail (line != NULL);
+ 
+       count = strip_protocol_line (line, &data);
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+       if (count == 5 || count == 6 || count == 9 || count == 10) {
+ #else
+       if (count == 5 || count == 6) {
+@@ -360,7 +360,7 @@ static gint
+ strip_protocol_line (gchar * line, netstat_protocol_data *data)
+ {
+       gint count = 0;
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+       gint a1, a2, a3, a4;
+       gchar s9[30];
+ #else
+@@ -371,7 +371,7 @@ strip_protocol_line (gchar * line, netst
+ 
+       /*line = g_strdelimit (line, ":", ' ');*/
+ 
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+       line = g_strdelimit (line, ":", ' ');
+       
+       count = sscanf (line, NETSTAT_PROTOCOL_FORMAT,
+@@ -485,7 +485,7 @@ netstat_route_tree_insert (GtkTreeView *
+       g_return_if_fail (line != NULL);
+ 
+       count = strip_route_line (line, &data);
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+       if (count == 6) {
+ #else
+       if ((count == 8) || (count == 7)) {
+@@ -562,7 +562,7 @@ strip_route_line (gchar * line, netstat_
+       gchar **items;
+ #endif
+ 
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+       count = sscanf (line, NETSTAT_ROUTE_FORMAT,
+                       data->destination,
+                       data->gateway, flags,
+@@ -605,7 +605,7 @@ netstat_create_route_model (GtkTreeView 
+       renderer = gtk_cell_renderer_text_new ();
+       column =
+           gtk_tree_view_column_new_with_attributes
+-#if defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+           (_("Destination/Prefix"), renderer, "text", 0, NULL);



Home | Main Index | Thread Index | Old Index