diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-04 12:46:36 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-04 12:46:36 +0800 |
commit | 8ff08a0049f61fcd7682e97ee8e579d6d9adacef (patch) | |
tree | 59bbfa6eff12f793ab2f3388ac396e571ea6e40f /net/gnomenettool | |
parent | 264c65f1c2804108d83f6b5e807222bbb3c42add (diff) | |
download | marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.tar marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.tar.gz marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.tar.bz2 marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.tar.lz marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.tar.xz marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.tar.zst marcuscom-ports-8ff08a0049f61fcd7682e97ee8e579d6d9adacef.zip |
Update to 1.2.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3801 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnomenettool')
-rw-r--r-- | net/gnomenettool/Makefile | 4 | ||||
-rw-r--r-- | net/gnomenettool/distinfo | 4 | ||||
-rw-r--r-- | net/gnomenettool/files/patch-src_info.c | 21 | ||||
-rw-r--r-- | net/gnomenettool/pkg-plist | 4 |
4 files changed, 18 insertions, 15 deletions
diff --git a/net/gnomenettool/Makefile b/net/gnomenettool/Makefile index 99fe07657..354f8005f 100644 --- a/net/gnomenettool/Makefile +++ b/net/gnomenettool/Makefile @@ -6,11 +6,11 @@ # PORTNAME= gnomenettool -PORTVERSION= 1.1.0 +PORTVERSION= 1.2.0 PORTEPOCH= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-nettool/1.1 +MASTER_SITE_SUBDIR= sources/gnome-nettool/1.2 DISTNAME= gnome-nettool-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/net/gnomenettool/distinfo b/net/gnomenettool/distinfo index 09a76d2de..9606b0ac5 100644 --- a/net/gnomenettool/distinfo +++ b/net/gnomenettool/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome2/gnome-nettool-1.1.0.tar.bz2) = 3e23eada6e89b84628040a4855987a9c -SIZE (gnome2/gnome-nettool-1.1.0.tar.bz2) = 528662 +MD5 (gnome2/gnome-nettool-1.2.0.tar.bz2) = 277338cf5d54ae9941260dd993a14f7a +SIZE (gnome2/gnome-nettool-1.2.0.tar.bz2) = 572511 diff --git a/net/gnomenettool/files/patch-src_info.c b/net/gnomenettool/files/patch-src_info.c index 962b0abab..2d95d2620 100644 --- a/net/gnomenettool/files/patch-src_info.c +++ b/net/gnomenettool/files/patch-src_info.c @@ -1,5 +1,5 @@ ---- src/info.c.orig Fri Jan 7 23:13:56 2005 -+++ src/info.c Mon Jan 24 21:05:23 2005 +--- src/info.c.orig Tue Feb 1 06:05:58 2005 ++++ src/info.c Thu Mar 3 23:39:57 2005 @@ -20,6 +20,7 @@ #include <gtk/gtk.h> #include <glib/gi18n.h> @@ -28,7 +28,7 @@ { N_("Parallel Line Interface"), INFO_INTERFACE_PLIP, "16_plip.xpm", "plip", NULL }, { N_("Infrared Interface"), INFO_INTERFACE_IRLAN, "irda-16.png", "irlan", NULL }, { N_("Loopback Interface"), INFO_INTERFACE_LO, "16_loopback.xpm", "lo", NULL }, -@@ -107,9 +114,42 @@ +@@ -128,9 +135,42 @@ { gint i; gchar *path; @@ -73,7 +73,7 @@ (*iface) = g_strdup_printf ("%s (%s)", info_iface_desc[i].name, dev_name); if (info_iface_desc[i].pixbuf == NULL) { path = g_build_filename (PIXMAPS_DIR, info_iface_desc[i].icon, NULL); -@@ -197,17 +237,26 @@ +@@ -217,38 +257,87 @@ gchar tx[10], tx_error[10], tx_drop[10], tx_ovr[10]; */ gchar iface[30]; /*, flags[30]; */ @@ -104,10 +104,9 @@ g_return_val_if_fail (info != NULL, FALSE); model = gtk_combo_box_get_model (GTK_COMBO_BOX (info->combo)); -@@ -216,21 +265,61 @@ - else + text = info_get_nic (info); + if (!text) return FALSE; - /*text = gtk_entry_get_text (GTK_ENTRY (info->nic));*/ - + #if defined(__linux__) @@ -168,7 +167,7 @@ if (g_ascii_strcasecmp (iface, text) == 0) { /* -@@ -258,7 +347,9 @@ +@@ -276,7 +365,9 @@ } g_io_channel_unref (io); @@ -179,7 +178,7 @@ return TRUE; } -@@ -392,8 +483,16 @@ +@@ -405,8 +496,16 @@ InfoIpAddr *ip; gint flags; mii_data_result data; @@ -196,7 +195,7 @@ for (ifr6 = ifa0; ifr6; ifr6 = ifr6->ifa_next) { if (strcmp (ifr6->ifa_name, nic) != 0) { -@@ -439,7 +538,9 @@ +@@ -452,7 +551,9 @@ ifc.ifc_req = (struct ifreq *) buf; ioctl (sockfd, SIOCGIFCONF, &ifc); @@ -206,7 +205,7 @@ for (ptr = buf; ptr < buf + ifc.ifc_len;) { ifr = (struct ifreq *) ptr; -@@ -470,6 +571,45 @@ +@@ -483,6 +584,45 @@ (int) ((guchar *) &ifrcopy.ifr_hwaddr.sa_data)[3], (int) ((guchar *) &ifrcopy.ifr_hwaddr.sa_data)[4], (int) ((guchar *) &ifrcopy.ifr_hwaddr.sa_data)[5]); diff --git a/net/gnomenettool/pkg-plist b/net/gnomenettool/pkg-plist index 391370efa..b1f5ab614 100644 --- a/net/gnomenettool/pkg-plist +++ b/net/gnomenettool/pkg-plist @@ -24,18 +24,22 @@ 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/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/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/ko/LC_MESSAGES/gnome-nettool.mo share/locale/lt/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/ms/LC_MESSAGES/gnome-nettool.mo share/locale/nb/LC_MESSAGES/gnome-nettool.mo |