summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-20 18:40:00 +0000
committerrafan <rafan@FreeBSD.org>2006-07-20 18:40:00 +0000
commit5bb74c1d27f703bbde81c724c48bd3f52a99c5e2 (patch)
tree202860e2104b21d430a7d027159dd76e59a88920 /net-mgmt
parent643df94f1c3a648ea5961f21279d32524e87ef8f (diff)
downloadFreeBSD-ports-5bb74c1d27f703bbde81c724c48bd3f52a99c5e2.zip
FreeBSD-ports-5bb74c1d27f703bbde81c724c48bd3f52a99c5e2.tar.gz
- Don't die on SIGHUP. Thanks to Rudolf Cejka <cejkar at fit.vutbr.cz>
for pointing this out. The HUP only seems to affect arpwatch on 5.X and 6.X. The patch has been tested on 4.11, 5.5 and 6.1. Bump PORTREVISION - separate AUTHOR/WWW lines in pkg-descr PR: ports/100613 Submitted by: maintainer
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arpwatch/Makefile1
-rw-r--r--net-mgmt/arpwatch/files/patch-ag14
-rw-r--r--net-mgmt/arpwatch/pkg-descr5
3 files changed, 15 insertions, 5 deletions
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
index 5638faa..81ddf33 100644
--- a/net-mgmt/arpwatch/Makefile
+++ b/net-mgmt/arpwatch/Makefile
@@ -7,6 +7,7 @@
PORTNAME= arpwatch
PORTVERSION= 2.1.a14
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
http://www.goodking.ca/pub/files/
diff --git a/net-mgmt/arpwatch/files/patch-ag b/net-mgmt/arpwatch/files/patch-ag
index bbd6899..82241c0 100644
--- a/net-mgmt/arpwatch/files/patch-ag
+++ b/net-mgmt/arpwatch/files/patch-ag
@@ -1,5 +1,5 @@
---- arpwatch.c.orig Thu Feb 22 22:47:29 2001
-+++ arpwatch.c Thu Feb 22 22:47:29 2001
+--- arpwatch.c.orig Thu Jan 22 17:18:20 2004
++++ arpwatch.c Thu Jul 20 12:30:08 2006
@@ -107,6 +107,8 @@
char *prog;
@@ -29,7 +29,15 @@
default:
usage();
}
-@@ -751,6 +757,6 @@
+@@ -321,7 +327,6 @@
+
+ (void)setsignal(SIGINT, die);
+ (void)setsignal(SIGTERM, die);
+- (void)setsignal(SIGHUP, die);
+ if (rfilename == NULL) {
+ (void)setsignal(SIGQUIT, checkpoint);
+ (void)setsignal(SIGALRM, checkpoint);
+@@ -751,6 +756,6 @@
(void)fprintf(stderr, "Version %s\n", version);
(void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]"
diff --git a/net-mgmt/arpwatch/pkg-descr b/net-mgmt/arpwatch/pkg-descr
index ccb427b..7362aec 100644
--- a/net-mgmt/arpwatch/pkg-descr
+++ b/net-mgmt/arpwatch/pkg-descr
@@ -1,5 +1,6 @@
-The package contains tools that monitors ethernet activity and
+This package contains tools that monitors ethernet activity and
maintains a database of ethernet/ip address pairings. It also reports
certain changes via email.
-Author: arpwatch@ee.lbl.gov WWW: http://ee.lbl.gov/
+Author: arpwatch@ee.lbl.gov
+WWW: http://ee.lbl.gov/
OpenPOWER on IntegriCloud