ports/66649: update sysutils/roottail to version 1.1

Giorgos Keramidas keramida at ceid.upatras.gr
Fri May 14 21:10:23 UTC 2004


>Number:         66649
>Category:       ports
>Synopsis:       update sysutils/roottail to version 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 14 14:10:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:

  System: FreeBSD gothmog.gr 5.2-CURRENT FreeBSD 5.2-CURRENT #16:
  Fri May 14 02:04:16 EEST 2004 sysop at gothmog.gr:/usr/obj/usr/src/sys/CELERON i386

>Description:

  I was looking at the root-tail webpage for information about the
  features it has, and I discovered our port was a bit out of date.
  Since it's such a small port/package, I tried updating the port
  as an exercise in port-making :)

>How-To-Repeat:

>Fix:

--- patch start --------------------------------------------------------
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/roottail/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	6 Feb 2004 13:12:29 -0000	1.10
+++ Makefile	14 May 2004 20:41:45 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	roottail
-PORTVERSION=	0.2
+PORTVERSION=	1.1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.goof.com/pcg/marc/data/
 DISTNAME=	root-tail-${PORTVERSION}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/roottail/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo	31 Mar 2004 03:11:30 -0000	1.6
+++ distinfo	14 May 2004 20:42:54 -0000
@@ -1,2 +1,2 @@
-MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac
-SIZE (root-tail-0.2.tar.gz) = 12014
+MD5 (root-tail-1.1.tar.gz) = adb925c2781892bb5dcbdf9d5e579032
+SIZE (root-tail-1.1.tar.gz) = 20124
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/sysutils/roottail/files/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- files/patch-aa	29 Sep 2003 14:12:06 -0000	1.2
+++ files/patch-aa	14 May 2004 20:49:44 -0000
@@ -1,31 +1,32 @@
---- 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);
+--- root-tail.c.orig	Thu Apr  8 22:58:28 2004
++++ root-tail.c	Fri May 14 23:48:58 2004
+@@ -152,6 +152,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();
+ void InitWindow (void);
+@@ -198,6 +199,13 @@
  }
  
-+void exit_now(int signal)
+ 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)
++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);
+   XClearArea (disp, root, win_x, win_y, width + MARGIN_OF_ERROR, height, False);
+@@ -1501,6 +1509,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();
+   if (opt_daemonize)
+     daemonize ();
--- patch end ----------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list