ports/188862: net-mgmt/etherape: Update to version 0.9.13

KATO Tsuguru tkato432 at yahoo.com
Mon Apr 21 18:10:03 UTC 2014


>Number:         188862
>Category:       ports
>Synopsis:       net-mgmt/etherape: Update to version 0.9.13
>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:   Mon Apr 21 18:10:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.13

New file:
files/patch-src__decocde_proto.c
files/patch-src__names.c

Remove file:
files/patch-src_decode_proto.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net-mgmt/etherape/Makefile net-mgmt/etherape/Makefile
--- /usr/ports/net-mgmt/etherape/Makefile	2014-04-17 08:00:41.000000000 +0900
+++ net-mgmt/etherape/Makefile	2014-04-22 00:00:00.000000000 +0900
@@ -2,35 +2,21 @@
 # $FreeBSD: head/net-mgmt/etherape/Makefile 351410 2014-04-16 18:19:26Z marino $
 
 PORTNAME=	etherape
-PORTVERSION=	0.9.9
-PORTREVISION=	2
+PORTVERSION=	0.9.13
 CATEGORIES=	net-mgmt gnome
 MASTER_SITES=	SF
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Graphical network traffic visualization tool for gnome
 
-USE_GNOME=	libglade2 libgnomeui gnomehack gnomeprefix gnomedocutils
-USES=		gmake pkgconfig
-INSTALLS_OMF=	yes
+LICENSE=	GPLv2
+
+USES=		gettext gmake iconv pathfix pkgconfig
+USE_GNOME=	gnomedocutils gnomehier libglade2 libgnomeui 
 GNU_CONFIGURE=	yes
+INSTALLS_OMF=	yes
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		etherape.1
-
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=		NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=		NLS="@comment "
-.endif
-
 .include <bsd.port.mk>
diff -urN /usr/ports/net-mgmt/etherape/distinfo net-mgmt/etherape/distinfo
--- /usr/ports/net-mgmt/etherape/distinfo	2014-01-23 03:28:23.000000000 +0900
+++ net-mgmt/etherape/distinfo	2014-04-22 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (etherape-0.9.9.tar.gz) = 2f9b5a2fdfd62940fd20cb2d2536255337eb9b0cfd210457844cc8ac5117feec
-SIZE (etherape-0.9.9.tar.gz) = 1301421
+SHA256 (etherape-0.9.13.tar.gz) = 2a3d2a28b824ce4797529bb90d19a213d80e70f5b3f0cc5f455379aac31c09f7
+SIZE (etherape-0.9.13.tar.gz) = 1399211
diff -urN /usr/ports/net-mgmt/etherape/files/patch-src__decocde_proto.c net-mgmt/etherape/files/patch-src__decocde_proto.c
--- /usr/ports/net-mgmt/etherape/files/patch-src__decocde_proto.c	1970-01-01 09:00:00.000000000 +0900
+++ net-mgmt/etherape/files/patch-src__decocde_proto.c	2014-04-22 00:00:00.000000000 +0900
@@ -0,0 +1,18 @@
+--- src/decode_proto.c.orig
++++ src/decode_proto.c
+@@ -27,6 +27,15 @@
+ #include "appdata.h"
+ #include <ctype.h>
+ #include <string.h>
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif
diff -urN /usr/ports/net-mgmt/etherape/files/patch-src__names.c net-mgmt/etherape/files/patch-src__names.c
--- /usr/ports/net-mgmt/etherape/files/patch-src__names.c	1970-01-01 09:00:00.000000000 +0900
+++ net-mgmt/etherape/files/patch-src__names.c	2014-04-22 00:00:00.000000000 +0900
@@ -0,0 +1,21 @@
+--- src/names.c.orig
++++ src/names.c
+@@ -21,7 +21,18 @@
+ #include <config.h>
+ #endif
+ 
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++#ifdef HAVE_NETINET_IN_H
+ #include <netinet/in.h>
++#endif
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
diff -urN /usr/ports/net-mgmt/etherape/files/patch-src_decode_proto.c net-mgmt/etherape/files/patch-src_decode_proto.c
--- /usr/ports/net-mgmt/etherape/files/patch-src_decode_proto.c	2014-01-23 03:28:23.000000000 +0900
+++ net-mgmt/etherape/files/patch-src_decode_proto.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- src/decode_proto.c.orig	2010-04-14 16:16:43.000000000 -0300
-+++ src/decode_proto.c	2010-04-14 16:17:57.000000000 -0300
-@@ -165,7 +165,7 @@
-  {"WLAN",   DLT_IEEE802_11,    LINK6,   get_wlan }, 
-  /* Wireless with radiotap header */
-  {"WLAN+RTAP",  DLT_IEEE802_11_RADIO, LINK6, get_radiotap }, 
-- {"PPI",  DLT_PPI, LINK6, get_ppi }, /* PPI encapsulation */
-+ /* {"PPI",  DLT_PPI, LINK6, get_ppi }, PPI encapsulation */
-  {NULL,   0, 0 } /* terminating entry, must be last */
- };
- 
diff -urN /usr/ports/net-mgmt/etherape/pkg-plist net-mgmt/etherape/pkg-plist
--- /usr/ports/net-mgmt/etherape/pkg-plist	2014-01-23 03:28:23.000000000 +0900
+++ net-mgmt/etherape/pkg-plist	2014-04-22 00:00:00.000000000 +0900
@@ -1,6 +1,10 @@
 bin/etherape
-etc/etherape/services
+%%ETCDIR%%/services
+man/man1/etherape.1.gz
 share/applications/etherape.desktop
+%%DATADIR%%/glade/etherape.glade
+%%DATADIR%%/glade/etherape.png
+%%DATADIR%%/glade/nodes.xpm
 share/gnome/help/etherape/C/etherape.xml
 share/gnome/help/etherape/C/figures/all_nodes.eps
 share/gnome/help/etherape/C/figures/all_nodes.png
@@ -22,25 +26,23 @@
 share/gnome/help/etherape/C/figures/pref_diagram_dlg.png
 share/gnome/help/etherape/C/figures/pref_timings_dlg.eps
 share/gnome/help/etherape/C/figures/pref_timings_dlg.png
-share/gnome/help/etherape/C/figures/protocol_edit_dlg.eps
-share/gnome/help/etherape/C/figures/protocol_edit_dlg.png
 share/gnome/help/etherape/C/figures/proto_info.eps
 share/gnome/help/etherape/C/figures/proto_info.png
+share/gnome/help/etherape/C/figures/protocol_edit_dlg.eps
+share/gnome/help/etherape/C/figures/protocol_edit_dlg.png
+share/locale/de/LC_MESSAGES/etherape.mo
+share/locale/es/LC_MESSAGES/etherape.mo
+share/locale/fr/LC_MESSAGES/etherape.mo
+share/locale/it/LC_MESSAGES/etherape.mo
+share/locale/nl/LC_MESSAGES/etherape.mo
+share/locale/sv/LC_MESSAGES/etherape.mo
+share/locale/tr/LC_MESSAGES/etherape.mo
 share/omf/etherape/etherape-C.omf
 share/pixmaps/etherape.png
-%%DATADIR%%/glade/etherape.glade
-%%DATADIR%%/glade/etherape.png
-%%DATADIR%%/glade/pause.xpm
-%%DATADIR%%/glade/play.xpm
-%%DATADIR%%/glade/stop.xpm
-%%NLS%%share/locale/es/LC_MESSAGES/etherape.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/etherape.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/etherape.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/etherape.mo
 @dirrm share/omf/etherape
 @dirrm share/gnome/help/etherape/C/figures
 @dirrm share/gnome/help/etherape/C
 @dirrm share/gnome/help/etherape
 @dirrm %%DATADIR%%/glade
 @dirrm %%DATADIR%%
- at dirrm etc/etherape
+ at dirrm %%ETCDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list