Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
MultiTail lets you view one or multiple files like the original tail
program. The difference is that it creates multiple windows on your
console (with ncurses). It can also monitor wildcards: if another file
matching the wildcard has a more recent modification date, it will
automatically switch to that file. That way you can, for example,
monitor a complete directory of files. Merging of 2 or even more
logfiles is possible. It can also use colors while displaying the
logfiles (through regular expressions), for faster recognition of what
is important and what not. It can also filter lines (again with regular
expressions). It has interactive menus for editing given regular
expressions and deleting and adding windows. One can also have windows
with the output of shell scripts and other software. When viewing the
output of external software, MultiTail can mimic the functionality of
tools like 'watch' and such.
+29
View File
@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.21 2012/10/08 09:57:31 asau Exp $
#
DISTNAME= multitail-4.0.6
CATEGORIES= misc sysutils
MASTER_SITES= http://www.vanheusden.com/multitail/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.vanheusden.com/multitail/
COMMENT= View one or multiple files
USE_NCURSES= yes # Needs the <panel> library.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/multitail \
share/examples/multitail
CONF_FILES= ${PREFIX:Q}/share/examples/multitail/multitail.conf \
${PKG_SYSCONFDIR:Q}/multitail.conf
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/multitail ${DESTDIR}${PREFIX:Q}/bin/
${INSTALL_MAN} ${WRKSRC:Q}/multitail.1 ${DESTDIR}${PREFIX:Q}/man/man1/
${INSTALL_DATA} ${WRKSRC:Q}/multitail.conf \
${DESTDIR}${PREFIX:Q}/share/examples/multitail/
cd ${WRKSRC:Q} && ${INSTALL_DATA} *.txt manual*.html \
${DESTDIR}${PREFIX:Q}/share/doc/multitail/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+8
View File
@@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:07:27 joerg Exp $
bin/multitail
man/man1/multitail.1
share/doc/multitail/license.txt
share/doc/multitail/manual-nl.html
share/doc/multitail/manual.html
share/doc/multitail/readme.txt
share/examples/multitail/multitail.conf
+11
View File
@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.10 2006/06/25 00:01:44 hubertf Exp $
SHA1 (multitail-4.0.6.tgz) = f8c52ab48e85411c7cd1540509995bf2f4cfee25
RMD160 (multitail-4.0.6.tgz) = 9d1f6d4e705c09b6e69afc965d48428331721bcc
Size (multitail-4.0.6.tgz) = 124429 bytes
SHA1 (patch-aa) = 2332d9ca96773becf21a1cb4f31998cb725cd586
SHA1 (patch-ab) = 322dd8a1be8565f4038340986a483bfcc08e88df
SHA1 (patch-ac) = 67d4dd4c3a726c815c2044fe554262bb7fb094da
SHA1 (patch-ad) = 408bcae6f646c4dee713f3061f84ee4691daa123
SHA1 (patch-ae) = b8860c63f2f609e13aa91e388efcd627f8e56fcf
SHA1 (patch-af) = c5b0529557464d161acc365075f26d95a2f74fda
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.6 2006/06/25 00:01:44 hubertf Exp $
--- Makefile.orig 2006-06-12 21:45:57.000000000 +0200
+++ Makefile
@@ -4,7 +4,7 @@ DESTDIR=/
CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
DEBUG=-g # -D_DEBUG -W -pedantic # -pg #-fprofile-arcs
-LDFLAGS=-lpanel -lncurses -lutil -lm $(DEBUG)
+LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG)
CFLAGS+=-D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.5 2006/06/25 00:01:44 hubertf Exp $
--- exec.c.orig 2006-06-12 21:45:57.000000000 +0200
+++ exec.c
@@ -75,7 +75,7 @@ int start_tail(char *filename, char retr
posix_version = getenv("_POSIX2_VERSION");
/* follow filename is only supported on *BSD and Linux */
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__DragonFly__)
if (follow_filename)
{
#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__)
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.2 2006/06/25 00:01:44 hubertf Exp $
--- mt.h.orig 2006-06-12 21:45:57.000000000 +0200
+++ mt.h
@@ -58,7 +58,7 @@ typedef enum { TERM_IGNORE = 0, TERM_XTE
#define getmaxyx(w,y,x) y = w->_maxy; x = w->_maxx
#endif
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__DragonFly__)
#define off64_t off_t
#define stat64 stat
#define open64 open
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.2 2006/06/25 00:01:44 hubertf Exp $
--- my_pty.c.orig 2006-06-12 21:45:57.000000000 +0200
+++ my_pty.c
@@ -75,7 +75,7 @@
int get_pty_and_fork(int *fd_master, int *fd_slave)
{
-#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__)
+#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) || defined(__DragonFly__)
if (openpty(fd_master, fd_slave, NULL, NULL, NULL) == -1)
{
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.2 2006/06/25 00:01:44 hubertf Exp $
--- utils.c.orig 2006-06-12 21:45:57.000000000 +0200
+++ utils.c
@@ -95,7 +95,7 @@ ssize_t WRITE(int fd, char *whereto, siz
*/
char *get_load(void)
{
-#if !defined(__UCLIBC__) && (defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__GNU__) || defined(__sun) || defined(sun))
+#if !defined(__UCLIBC__) && (defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__GNU__) || defined(__sun) || defined(sun)) || defined(__DragonFly__)
double loadavg[3];
char *str = (char *)mymalloc(LOADAVG_STR_LEN, "get_load: loadavg string");
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2006/06/25 00:01:44 hubertf Exp $
--- misc.c.orig 2006-06-12 21:45:57.000000000 +0200
+++ misc.c
@@ -63,7 +63,7 @@ void info(void)
escape_print(mywin, 16, 2, "_Press any key to exit this screen_");
-#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__sun) || defined(__GNU__)
+#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__sun) || defined(__GNU__) || defined(__DragonFly__)
for(;;)
{
int run_time = time(NULL) - mt_started;