diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-29 22:12:06 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-29 22:12:06 +0800 |
commit | 2322243db909d7d60a0c2d3a7ee31b8e42945931 (patch) | |
tree | bc0920d765f6e6c6d4f883eda76a8941194177d1 /sysutils/roottail | |
parent | a0f355d1b03e17a9918d99512954332a9ee07c68 (diff) | |
download | freebsd-ports-gnome-2322243db909d7d60a0c2d3a7ee31b8e42945931.tar.gz freebsd-ports-gnome-2322243db909d7d60a0c2d3a7ee31b8e42945931.tar.zst freebsd-ports-gnome-2322243db909d7d60a0c2d3a7ee31b8e42945931.zip |
update sysutils/roottail to 0.2
Update root-tail, utility to tail multiple log files on
root window of X, to last version 0.2, which fixes broken
-noinitial switch.
PR: ports/50708
Submitted by: Pav Lucistnik <pav@oook.cz>
Diffstat (limited to 'sysutils/roottail')
-rw-r--r-- | sysutils/roottail/Makefile | 6 | ||||
-rw-r--r-- | sysutils/roottail/distinfo | 2 | ||||
-rw-r--r-- | sysutils/roottail/files/patch-aa | 46 |
3 files changed, 29 insertions, 25 deletions
diff --git a/sysutils/roottail/Makefile b/sysutils/roottail/Makefile index 2a55e64e3e2f..26bcc99b5b58 100644 --- a/sysutils/roottail/Makefile +++ b/sysutils/roottail/Makefile @@ -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 @@ COMMENT= Simple utility to tail files/logs to a root X window MAN1= root-tail.1 USE_IMAKE= yes -MANCOMPRESSED= no .include <bsd.port.mk> diff --git a/sysutils/roottail/distinfo b/sysutils/roottail/distinfo index 75fbcfef4fe0..73092ea3739b 100644 --- a/sysutils/roottail/distinfo +++ b/sysutils/roottail/distinfo @@ -1 +1 @@ -MD5 (root-tail-0.0.10.tar.gz) = ab335fdadbe51f093a911728e54ae95d +MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac diff --git a/sysutils/roottail/files/patch-aa b/sysutils/roottail/files/patch-aa index 0775d3a497e7..2ae41937a887 100644 --- a/sysutils/roottail/files/patch-aa +++ b/sysutils/roottail/files/patch-aa @@ -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(); |