Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2006 12:45:09 -0400 (EDT)
From:      Thomas Abthorpe <thomas@goodking.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100613: [MAINTAINER] net-mgmt/arpwatch: Does not survive re/start on account of SIGHUP.
Message-ID:  <200607201645.k6KGj9hN004323@stjames.stthomasanglican.org>
Resent-Message-ID: <200607201650.k6KGoE4C016366@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100613
>Category:       ports
>Synopsis:       [MAINTAINER] net-mgmt/arpwatch: Does not survive re/start on account of SIGHUP.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 16:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD stjames.stthomasanglican.org 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #27: Sat Jun 24 23:38:22 EDT 2006
>Description:
- remove line in arpwatch.c intructing to 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.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- arpwatch-2.1.a14_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/arpwatch/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	8 Jul 2006 14:54:12 -0000	1.42
+++ Makefile	20 Jul 2006 16:38:45 -0000
@@ -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/
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/arpwatch/pkg-descr,v
retrieving revision 1.4
diff -u -r1.4 pkg-descr
--- pkg-descr	8 Jul 2006 14:54:12 -0000	1.4
+++ pkg-descr	20 Jul 2006 16:38:45 -0000
@@ -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/
Index: files/patch-ag
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/arpwatch/files/patch-ag,v
retrieving revision 1.2
diff -u -r1.2 patch-ag
--- files/patch-ag	22 Feb 2001 22:56:40 -0000	1.2
+++ files/patch-ag	20 Jul 2006 16:38:45 -0000
@@ -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]"
--- arpwatch-2.1.a14_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607201645.k6KGj9hN004323>