summaryrefslogtreecommitdiff
path: root/misc/multitail
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2003-04-18 08:44:16 +0000
committermjl <mjl@pkgsrc.org>2003-04-18 08:44:16 +0000
commitd7c99846374bb28bac4c16f79abda7ca68eeddc5 (patch)
treee26a03f215fb8cae67fc3f8f8d8fc5e62c5c4f53 /misc/multitail
parentd39f30c231ee71a0bda2f5eb5daa622a1239d8a6 (diff)
downloadpkgsrc-d7c99846374bb28bac4c16f79abda7ca68eeddc5.tar.gz
Initial import of multitail 1.8
multitail lets you view one or multiple files like the original tail program. The difference is that this program creates multiple windows on your console (with ncurses). It can also use colors while displaying the logfiles for faster recognizing which lines are important and which are not. It is optimized for terminal-sessions through slow links. Note: I tried to make it NOT depend on ncurses and use the built-in curses instead.
Diffstat (limited to 'misc/multitail')
-rw-r--r--misc/multitail/DESCR5
-rw-r--r--misc/multitail/Makefile17
-rw-r--r--misc/multitail/PLIST3
-rw-r--r--misc/multitail/distinfo6
-rw-r--r--misc/multitail/patches/patch-aa24
-rw-r--r--misc/multitail/patches/patch-ab13
6 files changed, 68 insertions, 0 deletions
diff --git a/misc/multitail/DESCR b/misc/multitail/DESCR
new file mode 100644
index 00000000000..b11ef5ae6a8
--- /dev/null
+++ b/misc/multitail/DESCR
@@ -0,0 +1,5 @@
+multitail lets you view one or multiple files like the original tail
+program. The difference is that this program creates multiple windows
+on your console (with ncurses). It can also use colors while displaying
+the logfiles for faster recognizing which lines are important and which
+are not. It is optimized for terminal-sessions through slow links.
diff --git a/misc/multitail/Makefile b/misc/multitail/Makefile
new file mode 100644
index 00000000000..d70e6673266
--- /dev/null
+++ b/misc/multitail/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/18 08:44:16 mjl Exp $
+#
+
+DISTNAME= multitail-1.8
+CATEGORIES= misc sysutils
+MASTER_SITES= http://www.vanheusden.com/multitail/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.vanheusden.com/multitail/
+COMMENT= view one or multiple files
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/multitail ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/multitail.1 ${PREFIX}/man/man1/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/multitail/PLIST b/misc/multitail/PLIST
new file mode 100644
index 00000000000..ccf9ae47d0a
--- /dev/null
+++ b/misc/multitail/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/18 08:44:16 mjl Exp $
+bin/multitail
+man/man1/multitail.1
diff --git a/misc/multitail/distinfo b/misc/multitail/distinfo
new file mode 100644
index 00000000000..f185efcf88d
--- /dev/null
+++ b/misc/multitail/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/18 08:44:16 mjl Exp $
+
+SHA1 (multitail-1.8.tgz) = 70c039d6f33d6342694ac8423c0bb1cf636adce4
+Size (multitail-1.8.tgz) = 14484 bytes
+SHA1 (patch-aa) = 9d410326341d93cde7798624e0ddfd1a1c6cb8af
+SHA1 (patch-ab) = c539e3ba0722f0daefba802b9a0eed1de15ecb91
diff --git a/misc/multitail/patches/patch-aa b/misc/multitail/patches/patch-aa
new file mode 100644
index 00000000000..129bcf06962
--- /dev/null
+++ b/misc/multitail/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/18 08:44:16 mjl Exp $
+
+--- Makefile.orig 2003-04-17 19:37:46.000000000 +0200
++++ Makefile 2003-04-18 10:36:37.000000000 +0200
+@@ -2,8 +2,8 @@
+
+ CC=gcc
+
+-CFLAGS=-O2 -Wall
+-LDFLAGS=-lncurses
++CFLAGS=-O2 -Wall -DKEY_RESIZE=KEY_REFRESH
++LDFLAGS=-lcurses
+ VERSION=1.8
+
+ OBJS=mt.o
+@@ -12,7 +12,7 @@
+
+ multitail: $(OBJS)
+ $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o multitail
+- strip multitail
++ # strip multitail
+
+ install: multitail
+ cp multitail /usr/local/bin
diff --git a/misc/multitail/patches/patch-ab b/misc/multitail/patches/patch-ab
new file mode 100644
index 00000000000..f51998a714f
--- /dev/null
+++ b/misc/multitail/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/04/18 08:44:16 mjl Exp $
+
+--- mt.c.orig 2003-04-18 10:27:59.000000000 +0200
++++ mt.c 2003-04-18 10:28:07.000000000 +0200
+@@ -5,7 +5,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <limits.h>
+-#include <ncurses.h>
++#include <curses.h>
+ #include <regex.h>
+ #include <sched.h>
+ #include <signal.h>