Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2026 09:16:47 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Cc:        dnpowers@me.com <dnpowers@me.com>
Subject:   git: 680479c8a43e - 2026Q2 - net-mgmt/etherape: Update 0.9.20 => 0.9.21, take maintainership
Message-ID:  <69cf857f.39509.34a2d58f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2026Q2 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=680479c8a43e7007db9144ace37634cb8cc6add9

commit 680479c8a43e7007db9144ace37634cb8cc6add9
Author:     dnpowers@me.com <dnpowers@me.com>
AuthorDate: 2026-04-03 09:08:37 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-04-03 09:16:39 +0000

    net-mgmt/etherape: Update 0.9.20 => 0.9.21, take maintainership
    
    Changelog:
    * GooCanvas was unsupported and getting really old, replaced by
      GtkDrawingArea.
    * --final-export is primarily meant to be used from other tools as a way
      to get statistics data from a replay. As such, --final-export exits
      automatically after the file replay ends and the dump is written.
    * Compatibility Warnings:
      - removed GooCanvas dependency, drawing now done with plain Gtk.
      - new behavior for --final-export: exit after saving the XML dump.
    * Changes summary:
      - Updated german translation, thanks to Christoph Brinkhaus.
      - Fix for german translation, thanks to Ronald W. Henderson.
      - Fix for gcc 15, thanks to Petr Gajdos.
      - Assorted refactorings and small modernizations, including autotools.
    
    Improve port:
    - Replace PORTVERSION with DISTVERSION.
    - Remove unused dependencies.
    - Fix detection and build using libpcap from the base.
    - Remove unnecessary GNU_CONFIGURE_MANPREFIX.
    - Add option NLS.
    - Make the DOCS option handle help files.
    - Refresh patches.
    - Sort pkg-plist.
    
    PR:             294190
    Sponsored by:   UNIS Labs
    MFH:            2026Q1
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
    
    (cherry picked from commit dcf8f42d7e7e36e1f05ca36d19d61bda35dbf84f)
---
 net-mgmt/etherape/Makefile                         | 28 ++++-----
 net-mgmt/etherape/distinfo                         |  6 +-
 .../etherape/files/patch-src_names_eth__resolv.c   |  4 +-
 net-mgmt/etherape/files/patch-src_names_names.c    |  4 +-
 net-mgmt/etherape/pkg-plist                        | 68 +++++++++++-----------
 5 files changed, 53 insertions(+), 57 deletions(-)

diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile
index 91b6f5ae7938..9d43cdd3917b 100644
--- a/net-mgmt/etherape/Makefile
+++ b/net-mgmt/etherape/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	etherape
-PORTVERSION=	0.9.20
-PORTREVISION=	3
+DISTVERSION=	0.9.21
 CATEGORIES=	net-mgmt gnome
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	dnpowers@me.com
 COMMENT=	Graphical network traffic monitor tool modeled after Etherman
 WWW=		http://etherape.sourceforge.net/
 
@@ -13,25 +12,22 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	itstool:textproc/itstool \
 		yelp-tools>=0:textproc/yelp-tools
-LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2 \
-		libgoocanvas-2.0.so:graphics/goocanvas2 \
-		libpopt.so:devel/popt
+LIB_DEPENDS=	libpopt.so:devel/popt
 
-USES=		gettext gmake gnome iconv localbase pathfix pkgconfig
+USES=		gettext-runtime gmake gnome iconv localbase pkgconfig
 USE_GNOME=	atk cairo gdkpixbuf gtk30 pango
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CONFIGURE_ARGS=	pcap_CFLAGS="-I/usr/include" \
+		pcap_LIBS="-lpcap"
+LDFLAGS+=	-L/usr/lib
 PORTDOCS=	AUTHORS ChangeLog FAQ NEWS README README.bugs TODO
 
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|char \*argv)|char **argv)|' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e \
-		's|__EXPORT__|__EXPORT_H__|' ${WRKSRC}/src/export.h
+OPTIONS_DEFINE=		DOCS NLS
+OPTIONS_SUB=		yes
+DOCS_MAKE_ARGS_OFF=	SUBDIRS="src glade m4 po"
+NLS_USES=		gettext-tools
+NLS_CONFIGURE_ENABLE=	nls
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/net-mgmt/etherape/distinfo b/net-mgmt/etherape/distinfo
index 10c36dbb1f5c..08bcb7c829cb 100644
--- a/net-mgmt/etherape/distinfo
+++ b/net-mgmt/etherape/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629758699
-SHA256 (etherape-0.9.20.tar.gz) = f54b10b56397075c98a1f192e2b30817e212581b0929dd0304e15fa8eaf59f96
-SIZE (etherape-0.9.20.tar.gz) = 1480790
+TIMESTAMP = 1774976642
+SHA256 (etherape-0.9.21.tar.gz) = 49c90df3bb880d3c60dfac4444ca8fc5d68ba8f36b820ed5f877381c9a07175c
+SIZE (etherape-0.9.21.tar.gz) = 1505682
diff --git a/net-mgmt/etherape/files/patch-src_names_eth__resolv.c b/net-mgmt/etherape/files/patch-src_names_eth__resolv.c
index 2d49761e3fc0..b4f8d9c5e1bb 100644
--- a/net-mgmt/etherape/files/patch-src_names_eth__resolv.c
+++ b/net-mgmt/etherape/files/patch-src_names_eth__resolv.c
@@ -1,4 +1,4 @@
---- src/names/eth_resolv.c.orig	2017-03-18 16:11:42 UTC
+--- src/names/eth_resolv.c.orig	2025-09-09 13:34:51 UTC
 +++ src/names/eth_resolv.c
 @@ -26,8 +26,9 @@
  #include <stdlib.h>
@@ -11,7 +11,7 @@
  
  #include <glib.h>
  
-@@ -48,8 +49,8 @@ static int ether_tree_cmp(gconstpointer ga, gconstpoin
+@@ -50,8 +51,8 @@ static int ether_tree_cmp(gconstpointer ga, gconstpoin
    const struct ether_addr *a = ga;
    const struct ether_addr *b = gb;
  
diff --git a/net-mgmt/etherape/files/patch-src_names_names.c b/net-mgmt/etherape/files/patch-src_names_names.c
index 42a45c2727b2..984bd26aaae2 100644
--- a/net-mgmt/etherape/files/patch-src_names_names.c
+++ b/net-mgmt/etherape/files/patch-src_names_names.c
@@ -1,7 +1,7 @@
---- src/names/names.c.orig	2017-03-18 16:11:42 UTC
+--- src/names/names.c.orig	2025-09-09 13:34:51 UTC
 +++ src/names/names.c
 @@ -19,7 +19,18 @@
- #include <config.h>
+ #include "config.h"
  #endif
  
 +#ifdef HAVE_SYS_TYPES_H
diff --git a/net-mgmt/etherape/pkg-plist b/net-mgmt/etherape/pkg-plist
index 63b0133cda2e..fdff06f370cc 100644
--- a/net-mgmt/etherape/pkg-plist
+++ b/net-mgmt/etherape/pkg-plist
@@ -1,39 +1,39 @@
 bin/etherape
-share/man/man1/etherape.1.gz
 share/applications/etherape.desktop
 %%DATADIR%%/glade/etherape.ui
 %%DATADIR%%/glade/etherape.png
-share/help/C/etherape/figures/all_nodes.eps
-share/help/C/etherape/figures/all_nodes.png
-share/help/C/etherape/figures/appmain.eps
-share/help/C/etherape/figures/appmain.png
-share/help/C/etherape/figures/capture_file_dlg.eps
-share/help/C/etherape/figures/capture_file_dlg.png
-share/help/C/etherape/figures/color_select_dlg.eps
-share/help/C/etherape/figures/color_select_dlg.png
-share/help/C/etherape/figures/eth_toolbar.eps
-share/help/C/etherape/figures/eth_toolbar.png
-share/help/C/etherape/figures/link_info.eps
-share/help/C/etherape/figures/link_info.png
-share/help/C/etherape/figures/node_info.eps
-share/help/C/etherape/figures/node_info.png
-share/help/C/etherape/figures/pref_colors_dlg.eps
-share/help/C/etherape/figures/pref_colors_dlg.png
-share/help/C/etherape/figures/pref_diagram_dlg.eps
-share/help/C/etherape/figures/pref_diagram_dlg.png
-share/help/C/etherape/figures/pref_timings_dlg.eps
-share/help/C/etherape/figures/pref_timings_dlg.png
-share/help/C/etherape/figures/proto_info.eps
-share/help/C/etherape/figures/proto_info.png
-share/help/C/etherape/figures/protocol_edit_dlg.eps
-share/help/C/etherape/figures/protocol_edit_dlg.png
-share/help/C/etherape/index.docbook
-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/ru/LC_MESSAGES/etherape.mo
-share/locale/sv/LC_MESSAGES/etherape.mo
-share/locale/tr/LC_MESSAGES/etherape.mo
+%%PORTDOCS%%share/help/C/etherape/figures/all_nodes.eps
+%%PORTDOCS%%share/help/C/etherape/figures/all_nodes.png
+%%PORTDOCS%%share/help/C/etherape/figures/appmain.eps
+%%PORTDOCS%%share/help/C/etherape/figures/appmain.png
+%%PORTDOCS%%share/help/C/etherape/figures/capture_file_dlg.eps
+%%PORTDOCS%%share/help/C/etherape/figures/capture_file_dlg.png
+%%PORTDOCS%%share/help/C/etherape/figures/color_select_dlg.eps
+%%PORTDOCS%%share/help/C/etherape/figures/color_select_dlg.png
+%%PORTDOCS%%share/help/C/etherape/figures/eth_toolbar.eps
+%%PORTDOCS%%share/help/C/etherape/figures/eth_toolbar.png
+%%PORTDOCS%%share/help/C/etherape/figures/link_info.eps
+%%PORTDOCS%%share/help/C/etherape/figures/link_info.png
+%%PORTDOCS%%share/help/C/etherape/figures/node_info.eps
+%%PORTDOCS%%share/help/C/etherape/figures/node_info.png
+%%PORTDOCS%%share/help/C/etherape/figures/pref_colors_dlg.eps
+%%PORTDOCS%%share/help/C/etherape/figures/pref_colors_dlg.png
+%%PORTDOCS%%share/help/C/etherape/figures/pref_diagram_dlg.eps
+%%PORTDOCS%%share/help/C/etherape/figures/pref_diagram_dlg.png
+%%PORTDOCS%%share/help/C/etherape/figures/pref_timings_dlg.eps
+%%PORTDOCS%%share/help/C/etherape/figures/pref_timings_dlg.png
+%%PORTDOCS%%share/help/C/etherape/figures/proto_info.eps
+%%PORTDOCS%%share/help/C/etherape/figures/proto_info.png
+%%PORTDOCS%%share/help/C/etherape/figures/protocol_edit_dlg.eps
+%%PORTDOCS%%share/help/C/etherape/figures/protocol_edit_dlg.png
+%%PORTDOCS%%share/help/C/etherape/index.docbook
+%%NLS%%share/locale/de/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/es/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/it/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/etherape.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/etherape.mo
+share/man/man1/etherape.1.gz
 share/pixmaps/etherape.png


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cf857f.39509.34a2d58f>