git: 9b6ee8ab6def - main - net-mgmt/arpwatch: Update to 3.4

From: Craig Leres <leres_at_FreeBSD.org>
Date: Tue, 05 Sep 2023 20:25:56 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b6ee8ab6defa9807d247985145620b98e7ee51e

commit 9b6ee8ab6defa9807d247985145620b98e7ee51e
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-09-05 20:24:57 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-09-05 20:24:57 +0000

    net-mgmt/arpwatch: Update to 3.4
    
    Changes since 3.3:
    
     - Switch from http to https for standards-oui.ieee.org/oui/oui.csv
       (reported by Douglas Berry)
    
     - Remove deprecated -m patches
---
 net-mgmt/arpwatch/Makefile               |  2 +-
 net-mgmt/arpwatch/distinfo               |  6 +++---
 net-mgmt/arpwatch/files/patch-arpsnmp.c  | 22 ----------------------
 net-mgmt/arpwatch/files/patch-arpwatch.c | 22 ----------------------
 4 files changed, 4 insertions(+), 48 deletions(-)

diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
index c16cb2b0614e..b977bf7ea86d 100644
--- a/net-mgmt/arpwatch/Makefile
+++ b/net-mgmt/arpwatch/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	arpwatch
-PORTVERSION=	3.3
+PORTVERSION=	3.4
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://ee.lbl.gov/downloads/arpwatch/ \
 		LOCAL/leres/arpwatch
diff --git a/net-mgmt/arpwatch/distinfo b/net-mgmt/arpwatch/distinfo
index 2929866cf614..8f34e967ad3d 100644
--- a/net-mgmt/arpwatch/distinfo
+++ b/net-mgmt/arpwatch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648326275
-SHA256 (arpwatch-3.3.tar.gz) = d47fa8b291fc37a25a2d0f3e1b64f451dc0be82d714a10ffa6ef8b0b9e33e166
-SIZE (arpwatch-3.3.tar.gz) = 117839
+TIMESTAMP = 1693936330
+SHA256 (arpwatch-3.4.tar.gz) = 494cc93c2dc3c6effa4923420c8fa0558ce3575f9413e03063c68968b95bebf7
+SIZE (arpwatch-3.4.tar.gz) = 117245
diff --git a/net-mgmt/arpwatch/files/patch-arpsnmp.c b/net-mgmt/arpwatch/files/patch-arpsnmp.c
deleted file mode 100644
index 89d72167bea8..000000000000
--- a/net-mgmt/arpwatch/files/patch-arpsnmp.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- arpsnmp.c.orig	2019-11-30 18:35:23 UTC
-+++ arpsnmp.c
-@@ -104,7 +104,7 @@ main(int argc, char **argv)
- 	}
- 
- 	opterr = 0;
--	while ((op = getopt(argc, argv, "CdD:f:qsw:W:Z")) != EOF)
-+	while ((op = getopt(argc, argv, "CdD:f:m:qsw:W:Z")) != EOF)
- 		switch (op) {
- 
- 		case 'C':
-@@ -135,6 +135,10 @@ main(int argc, char **argv)
- 			++suppress;
- 			break;
- 
-+		case 'm':
-+			fprintf(stderr, "%s: WARNING: -m is deprecated,"
-+			    " please use -w instead\n", prog);
-+			/* fallthrough */
- 		case 'w':
- 			watcher = optarg;
- 			break;
diff --git a/net-mgmt/arpwatch/files/patch-arpwatch.c b/net-mgmt/arpwatch/files/patch-arpwatch.c
deleted file mode 100644
index 7f9246226a8c..000000000000
--- a/net-mgmt/arpwatch/files/patch-arpwatch.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- arpwatch.c.orig	2019-11-30 18:35:23 UTC
-+++ arpwatch.c
-@@ -198,7 +198,7 @@ main(int argc, char **argv)
- 	interface = NULL;
- 	rfilename = NULL;
- 	pd = NULL;
--	while ((op = getopt(argc, argv, "CdD:Ff:i:n:NpP:qr:svw:W:x:zZ")) != EOF)
-+	while ((op = getopt(argc, argv, "CdD:Ff:i:m:n:NpP:qr:svw:W:x:zZ")) != EOF)
- 		switch (op) {
- 
- 		case 'C':
-@@ -262,6 +262,10 @@ main(int argc, char **argv)
- 			++vrrpflag;
- 			break;
- 
-+		case 'm':
-+			fprintf(stderr, "%s: WARNING: -m is deprecated,"
-+			    " please use -w instead\n", prog);
-+			/* fallthrough */
- 		case 'w':
- 			watcher = optarg;
- 			break;