pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(multitail) Candidate for misc/multitail
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By: mef
Date: Mon Feb 8 13:22:11 2016 +0900
Changeset: 433770a4a548002ff6e6f500793ef3d629e864e4
Added Files:
multitail/DESCR
multitail/Makefile
multitail/PLIST
multitail/distinfo
multitail/patches/patch-aa
multitail/patches/patch-ab
multitail/patches/patch-ac
multitail/patches/patch-ad
multitail/patches/patch-ae
multitail/patches/patch-af
Log Message:
(multitail) Candidate for misc/multitail
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=433770a4a548002ff6e6f500793ef3d629e864e4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
multitail/DESCR | 14 ++++++++++++++
multitail/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
multitail/PLIST | 9 +++++++++
multitail/distinfo | 12 ++++++++++++
multitail/patches/patch-aa | 20 ++++++++++++++++++++
multitail/patches/patch-ab | 15 +++++++++++++++
multitail/patches/patch-ac | 15 +++++++++++++++
multitail/patches/patch-ad | 15 +++++++++++++++
multitail/patches/patch-ae | 15 +++++++++++++++
multitail/patches/patch-af | 15 +++++++++++++++
10 files changed, 174 insertions(+)
diffs:
diff --git a/multitail/DESCR b/multitail/DESCR
new file mode 100644
index 0000000..f0e3911
--- /dev/null
+++ b/multitail/DESCR
@@ -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.
diff --git a/multitail/Makefile b/multitail/Makefile
new file mode 100644
index 0000000..5d02dd9
--- /dev/null
+++ b/multitail/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.24 2015/08/18 07:31:13 wiz Exp $
+#
+
+DISTNAME= multitail-6.4.2
+CATEGORIES= misc sysutils
+MASTER_SITES= http://www.vanheusden.com/multitail/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.vanheusden.com/multitail/
+COMMENT= View one or multiple files
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gmake
+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
+
+SUBST_CLASSES+= path
+SUBST_MESSAGE.path= Adjust DESTDIR and PREFIX
+SUBST_FILES.path= Makefile
+SUBST_STAGE.path= post-patch
+SUBST_VARS.path= DESTDIR PREFIX
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-lutil
+LDFLAGS+= -lsocket -lnsl
+.endif
+
+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"
diff --git a/multitail/PLIST b/multitail/PLIST
new file mode 100644
index 0000000..185fb0b
--- /dev/null
+++ b/multitail/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+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/doc/multitail/thanks.txt
+share/examples/multitail/multitail.conf
diff --git a/multitail/distinfo b/multitail/distinfo
new file mode 100644
index 0000000..00d4346
--- /dev/null
+++ b/multitail/distinfo
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.11 2014/01/09 11:16:18 jperkin Exp $
+
+SHA1 (multitail-6.4.2.tgz) = f50af14146c78b5372438fdc163233ed31ec3e38
+RMD160 (multitail-6.4.2.tgz) = dcaf3855bd862c4b2924c9313f16d8a369e22400
+SHA512 (multitail-6.4.2.tgz) = 668c453372ba1e4013aa5191c697bdcaad82c84732841c120a506bee063d2134941e93aed63f96e5aeeb6045829a13aba012f9514dbd9520ab4f1b9b75b42dbd
+Size (multitail-6.4.2.tgz) = 155757 bytes
+SHA1 (patch-aa) = cf6cb6f8837f381d308a3778bb41bc486c197e3f
+SHA1 (patch-ab) = e2cb5531abac35336063f7dd691ffc6574c126c4
+SHA1 (patch-ac) = 0cc708afaebf47009c545374b02e224edb176fbc
+SHA1 (patch-ad) = 0967f44a37cf44a9c2f3f9eddf4be121e5e0c83d
+SHA1 (patch-ae) = 823af6e27c4fb2c185aba455e0d2746f222e80bc
+SHA1 (patch-af) = 944ae329f9ad7e6f35570a9d881d1c3ff7803ccc
diff --git a/multitail/patches/patch-aa b/multitail/patches/patch-aa
new file mode 100644
index 0000000..01b6658
--- /dev/null
+++ b/multitail/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.7 2014/01/09 11:16:18 jperkin Exp $
+
+Fix path to config file.
+
+--- Makefile.orig 2015-02-12 17:32:35.000000000 +0900
++++ Makefile 2016-02-08 12:32:39.000000000 +0900
+@@ -1,9 +1,9 @@
+ include version
+
+-UTF8_SUPPORT=yes
+-DESTDIR=
+-PREFIX=/usr
+-CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
++UTF8_SUPPORT=no
++DESTDIR=@DESTDIR@
++PREFIX=@PREFIX@
++CONFIG_FILE=$(PKG_SYSCONFIGDIR)/etc/multitail.conf
+
+ CC?=gcc
+ DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs
diff --git a/multitail/patches/patch-ab b/multitail/patches/patch-ab
new file mode 100644
index 0000000..c9c7331
--- /dev/null
+++ b/multitail/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.5 2006/06/25 00:01:44 hubertf Exp $
+
+Add DragonFly
+
+--- 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__)
diff --git a/multitail/patches/patch-ac b/multitail/patches/patch-ac
new file mode 100644
index 0000000..d083ecb
--- /dev/null
+++ b/multitail/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.2 2006/06/25 00:01:44 hubertf Exp $
+
+Add DragonFly
+
+--- mt.h.orig 2014-05-01 21:54:06.000000000 +0900
++++ mt.h 2016-02-08 12:34:19.000000000 +0900
+@@ -94,7 +94,7 @@ typedef enum { SCHEME_TYPE_EDIT = 0, SCH
+ #define getmaxyx(w,y,x) y = w->_maxy; x = w->_maxx
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__minix)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__minix) || defined(__DragonFly__)
+ #define off64_t off_t
+ #define stat64 stat
+ #define open64 open
diff --git a/multitail/patches/patch-ad b/multitail/patches/patch-ad
new file mode 100644
index 0000000..17e2adb
--- /dev/null
+++ b/multitail/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.2 2006/06/25 00:01:44 hubertf Exp $
+
+Add DragonFly
+
+--- my_pty.c.orig 2014-05-01 21:54:06.000000000 +0900
++++ my_pty.c 2016-02-08 12:36:14.000000000 +0900
+@@ -78,7 +78,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__) || defined(__minix)
++#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) || defined(__minix) || defined(__DragonFly__)
+
+ if (openpty(fd_master, fd_slave, NULL, NULL, NULL) == -1)
+ {
diff --git a/multitail/patches/patch-ae b/multitail/patches/patch-ae
new file mode 100644
index 0000000..763b366
--- /dev/null
+++ b/multitail/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.2 2006/06/25 00:01:44 hubertf Exp $
+
+Add DragonFly
+
+--- utils.c.orig 2015-08-12 22:36:37.000000000 +0900
++++ utils.c 2016-02-08 12:37:25.000000000 +0900
+@@ -95,7 +95,7 @@ ssize_t WRITE(int fd, char *whereto, siz
+
+ void get_load_values(double *v1, double *v2, double *v3)
+ {
+-#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__)
+ #if defined(__GLIBC__) && ( __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2))
+ /* Older glibc doesn't have getloadavg() - use sysinfo() */
+ /* thanks to Ville Herva for this code! */
diff --git a/multitail/patches/patch-af b/multitail/patches/patch-af
new file mode 100644
index 0000000..b129984
--- /dev/null
+++ b/multitail/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2006/06/25 00:01:44 hubertf Exp $
+
+Add DragonFly
+
+--- misc.c.orig 2014-05-01 21:54:06.000000000 +0900
++++ misc.c 2016-02-08 12:38:19.000000000 +0900
+@@ -71,7 +71,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__) || defined(__CYGWIN__)
++#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__sun) || defined(__GNU__) || defined(__CYGWIN__) || defined(__DragonFly__)
+ for(;;)
+ {
+ dtime_t run_time = get_ts() - mt_started;
Home |
Main Index |
Thread Index |
Old Index