Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 09:36:07 +0200 (CEST)
From:      Pav Lucistnik <pav@oook.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50708: update sysutils/roottail to 0.2
Message-ID:  <200304080736.h387a7E2079655@pav.hide.vol.cz>
Resent-Message-ID: <200304080740.h387eFRf069732@freefall.freebsd.org>

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

>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 <bsd.port.mk>
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:



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