Initial import of multitail-2.4
-- multitail allows the viewing of one or multiple files like the original tail(1) program. The difference is that this program creates multiple windows windows on the 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.
This commit is contained in:
parent
a09afe6265
commit
05bb2ebc95
39
sysutils/multitail/Makefile
Normal file
39
sysutils/multitail/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/05/04 17:47:42 margarida Exp $
|
||||
|
||||
COMMENT= "multi-window tail(1) utility"
|
||||
|
||||
DISTNAME= multitail-2.4
|
||||
CATEGORIES= sysutils
|
||||
|
||||
HOMEPAGE= http://www.vanheusden.com/multitail/
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
|
||||
LDFLAGS= -lcurses -lutil
|
||||
|
||||
do-build:
|
||||
cd ${WRKBUILD}; \
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/mt.c; \
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/error.c; \
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/my_pty.c; \
|
||||
${CC} ${CFLAGS} mt.o error.o my_pty.o ${LDFLAGS} -o multitail
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/multitail ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/multitail.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/multitail/distinfo
Normal file
3
sysutils/multitail/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (multitail-2.4.tgz) = bc1eb0678e5406452795b4d14d0eab7f
|
||||
RMD160 (multitail-2.4.tgz) = 24faf18baafedb0740a6e8c0750d726df76b6856
|
||||
SHA1 (multitail-2.4.tgz) = 2d8c6387546b4cb9631a975f70586c4143499a03
|
24
sysutils/multitail/patches/patch-mt_c
Normal file
24
sysutils/multitail/patches/patch-mt_c
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-mt_c,v 1.1.1.1 2003/05/04 17:47:42 margarida Exp $
|
||||
--- mt.c.orig Fri May 2 18:14:01 2003
|
||||
+++ mt.c Fri May 2 18:16:37 2003
|
||||
@@ -188,7 +188,7 @@ int start_tail(int f_index, char retry,
|
||||
if (-1 == dup(fd_slave)) error_exit("dup failed\n");
|
||||
|
||||
/* start process */
|
||||
- if (-1 == execlp("/bin/sh", "/bin/sh", "-c", pi[f_index].filename, NULL)) error_exit("execlp of %s failed\n", pi[f_index].filename);
|
||||
+ if (-1 == execlp("/bin/sh", "/bin/sh", "-c", pi[f_index].filename, (void *)NULL)) error_exit("execlp of %s failed\n", pi[f_index].filename);
|
||||
|
||||
exit(1);
|
||||
}
|
||||
@@ -269,9 +269,9 @@ int start_tail(int f_index, char retry,
|
||||
|
||||
/* run tail! */
|
||||
#if defined(sun)
|
||||
- if (-1 == execlp("tail", "tail", n_lines, pi[f_index].filename, NULL)) error_exit("execlp of tail failed");
|
||||
+ if (-1 == execlp("tail", "tail", n_lines, pi[f_index].filename, (void *)NULL)) error_exit("execlp of tail failed");
|
||||
#else
|
||||
- if (-1 == execlp("tail", "tail", n_lines, follow, pi[f_index].filename, NULL)) error_exit("execlp of tail failed");
|
||||
+ if (-1 == execlp("tail", "tail", n_lines, follow, pi[f_index].filename, (void *)NULL)) error_exit("execlp of tail failed");
|
||||
#endif
|
||||
|
||||
/* if execlp returns, an error occured */
|
9
sysutils/multitail/pkg/DESCR
Normal file
9
sysutils/multitail/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
multitail allows the viewing of one or multiple files like
|
||||
the original tail(1) program.
|
||||
The difference is that this program creates multiple windows
|
||||
windows on the 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.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
sysutils/multitail/pkg/PLIST
Normal file
3
sysutils/multitail/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/04 17:47:42 margarida Exp $
|
||||
bin/multitail
|
||||
man/man1/multitail.1
|
Loading…
Reference in New Issue
Block a user