From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 8 00:40:17 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6810037B401 for ; Tue, 8 Apr 2003 00:40:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64E3943FAF for ; Tue, 8 Apr 2003 00:40:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h387eFUp069733 for ; Tue, 8 Apr 2003 00:40:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h387eFRf069732; Tue, 8 Apr 2003 00:40:15 -0700 (PDT) Resent-Date: Tue, 8 Apr 2003 00:40:15 -0700 (PDT) Resent-Message-Id: <200304080740.h387eFRf069732@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pav Lucistnik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F6C737B401 for ; Tue, 8 Apr 2003 00:36:11 -0700 (PDT) Received: from e0-a3.b1.lan.prg.vol.cz (e0-a3.b1.lan.prg.vol.cz [195.122.204.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6322743FBD for ; Tue, 8 Apr 2003 00:36:09 -0700 (PDT) (envelope-from pav@oook.cz) Received: from pav.hide.vol.cz (localhost [127.0.0.1])h387a77o079656 for ; Tue, 8 Apr 2003 09:36:07 +0200 (CEST) (envelope-from pav@pav.hide.vol.cz) Received: (from pav@localhost) by pav.hide.vol.cz (8.12.9/8.12.9/Submit) id h387a7E2079655; Tue, 8 Apr 2003 09:36:07 +0200 (CEST) (envelope-from pav) Message-Id: <200304080736.h387a7E2079655@pav.hide.vol.cz> Date: Tue, 8 Apr 2003 09:36:07 +0200 (CEST) From: Pav Lucistnik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50708: update sysutils/roottail to 0.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pav Lucistnik List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 07:40:17 -0000 >Number: 50708 >Category: ports >Synopsis: update sysutils/roottail to 0.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Apr 08 00:40:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pav Lucistnik >Release: FreeBSD 4.8-RC i386 >Organization: Czech On Line, a.s. >Environment: System: FreeBSD pav.hide.vol.cz 4.8-RC FreeBSD 4.8-RC #0: Wed Apr 2 14:15:37 CEST 2003 root@pav.hide.vol.cz:/usr/obj/usr/src/sys/PAV i386 >Description: Update root-tail, utility to tail multiple log files on root window of X, to last version 0.2, which fixes broken -noinitial switch. I sent this update to jedgar@ (maintainer) three weeks ago but haven't got any reply. >How-To-Repeat: >Fix: diff -ruN roottail/Makefile roottail.new/Makefile --- roottail/Makefile Fri Mar 7 07:24:56 2003 +++ roottail.new/Makefile Sun Mar 16 11:01:21 2003 @@ -6,10 +6,9 @@ # PORTNAME= roottail -PORTVERSION= 0.0.10 +PORTVERSION= 0.2 CATEGORIES= sysutils -MASTER_SITES= http://www.goof.com/pcg/marc/data/ \ - ftp://ftp.goof.com/pub/pcg/marc/ +MASTER_SITES= http://www.goof.com/pcg/marc/data/ DISTNAME= root-tail-${PORTVERSION} MAINTAINER= jedgar@FreeBSD.org @@ -17,6 +16,5 @@ MAN1= root-tail.1 USE_IMAKE= yes -MANCOMPRESSED= no .include diff -ruN roottail/distinfo roottail.new/distinfo --- roottail/distinfo Mon May 7 13:57:35 2001 +++ roottail.new/distinfo Sun Mar 16 10:49:33 2003 @@ -1 +1 @@ -MD5 (root-tail-0.0.10.tar.gz) = ab335fdadbe51f093a911728e54ae95d +MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac diff -ruN roottail/files/patch-aa roottail.new/files/patch-aa --- roottail/files/patch-aa Tue Jul 18 19:44:14 2000 +++ roottail.new/files/patch-aa Sun Mar 16 10:42:04 2003 @@ -1,25 +1,31 @@ ---- ../root-tail-0.0.6/root-tail.c Fri Mar 3 06:16:46 2000 -+++ root-tail.c Thu Jul 13 07:38:05 2000 -@@ -24,6 +24,7 @@ - /*---------------- Let's define signals functions -------------*/ +--- root-tail.c.orig Wed May 8 22:54:47 2002 ++++ root-tail.c Sun Mar 16 10:41:37 2003 +@@ -86,6 +86,7 @@ + void list_files(int); + void force_reopen(int); + void force_refresh(int); ++void exit_now(int); + void blank_window(int); + + void InitWindow(void); +@@ -128,6 +129,12 @@ + redraw(); + } - static void reopen (int); -+static void exit_now(int); - static void list_files (int); - static void force_refresh (int); - static void InstallSigHandler (void); -@@ -109,6 +110,14 @@ - signal (SIGHUP, reopen); - signal (SIGUSR1, list_files); - signal (SIGUSR2, force_refresh); -+ signal (SIGSEGV, exit_now); -+} -+ +void exit_now(int signal) +{ ++ fprintf (stderr, "Program exiting due to signal: %d\n", signal); ++ exit(-1); ++} + -+ fprintf (stderr, "Program exiting due to signal: %d\n", signal); -+ exit(-1); - } - + void blank_window(int dummy) + { + XClearWindow(disp, root); +@@ -685,6 +692,7 @@ + install_signal(SIGHUP, force_reopen); + install_signal(SIGUSR1, list_files); + install_signal(SIGUSR2, force_refresh); ++ install_signal(SIGSEGV, exit_now); + if (opt_daemonize) + daemonize(); >Release-Note: >Audit-Trail: >Unformatted: