1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update port to 0.0.6

PR:		20006
Submitted by:	Mike Buchanon <buchanon@mlss15.cl.msu.edu>
This commit is contained in:
Chris D. Faulhaber 2000-07-18 19:44:14 +00:00
parent 5f5a61d4aa
commit aa869ccfbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30796
5 changed files with 39 additions and 12 deletions

View File

@ -6,21 +6,20 @@
# #
PORTNAME= roottail PORTNAME= roottail
PORTVERSION= 0.0.4b PORTVERSION= 0.0.6
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.hypertek.net/misc/ \ MASTER_SITES= http://www.goof.com/pcg/marc/data/ \
http://www.fxp.org/~jedgar/distfiles/ ftp://www.goof.com/pub/pcg/marc/
DISTNAME= rt-0.0.4B DISTNAME= root-tail-0.0.6
EXTRACT_SUFX= .tgz
MAINTAINER= jedgar@fxp.org MAINTAINER= jedgar@FreeBSD.org
MAN1= rt.1 MAN1= root-tail.1
USE_IMAKE= yes USE_IMAKE= yes
MANCOMPRESSED= no MANCOMPRESSED= no
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rt ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/root-tail ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rt.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/root-tail.man ${PREFIX}/man/man1/root-tail.1
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (rt-0.0.4B.tgz) = bb2381e22f072ad28670e6f00ce16fc7 MD5 (root-tail-0.0.6.tar.gz) = 8f1580b2bc1c1b50e4da412628a45b81

View File

@ -0,0 +1,25 @@
--- ../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 -------------*/
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);
}

View File

@ -2,4 +2,7 @@ Simple utility to tail files/logs to a root X window.
Useful for keeping tabs on log files in X without having Useful for keeping tabs on log files in X without having
an additional terminal window open. an additional terminal window open.
WWW: http://hypertek.net/root-tail/ WWW: http://www.goof.com/pcg/marc/root-tail.html
- Chris D. Faulhaber
<jedgar@FreeBSD.org>

View File

@ -1 +1 @@
bin/rt bin/root-tail