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,58 +1,58 @@ PORTNAME= arpwatch -PORTVERSION= 3.3 +PORTVERSION= 3.4 CATEGORIES= net-mgmt MASTER_SITES= https://ee.lbl.gov/downloads/arpwatch/ \ LOCAL/leres/arpwatch MAINTAINER= leres@FreeBSD.org COMMENT= Monitor arp & rarp requests WWW= https://ee.lbl.gov/downloads/arpwatch/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/pcap.h:net/libpcap RUN_DEPENDS= ${LOCALBASE}/include/pcap.h:net/libpcap USES= python:run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-sendmail=/usr/sbin/sendmail SUB_FILES= pkg-message OPTIONS_DEFINE= DEBUG ZEROPAD OPTIONS_DEFAULT=ZEROPAD OPTIONS_SUB= yes ZEROPAD_DESC= zero pad displayed ethernet addresses by default .include .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --disable-optimization .endif .if ${PORT_OPTIONS:MZEROPAD} CONFIGURE_ARGS+= --enable-zeropad .endif .ifdef ARPDIR MAKE_ARGS= ARPDIR=${ARPDIR} .endif post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/arpwatch .for F in d.awk duplicates.awk euppertolower.awk e.awk p.awk ${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${PREFIX}/arpwatch .endfor ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${STAGEDIR}${PREFIX}/arpwatch ${INSTALL_SCRIPT} ${WRKSRC}/massagevendor.py \ ${STAGEDIR}${PREFIX}/arpwatch/massagevendor ${INSTALL_SCRIPT} ${WRKSRC}/update-ethercodes.sh \ ${STAGEDIR}${PREFIX}/arpwatch/update-ethercodes post-configure: ${REINPLACE_CMD} -e "/^LIBS *=/s,-lpcap,${LOCALBASE}/lib/libpcap.so.1," \ ${WRKSRC}/Makefile .include 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;