summaryrefslogtreecommitdiff
path: root/misc/colorize
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-03-26 04:11:11 +0000
committerzuntum <zuntum@pkgsrc.org>2001-03-26 04:11:11 +0000
commit7f336785f7cbc7344e1f29fed0fa9643809a376d (patch)
treeaa966b59a22a604debc63c9b58f33499562ed966 /misc/colorize
parent39e9e3894c0fb711fa9fb8f89126fbf0bf3d2154 (diff)
downloadpkgsrc-7f336785f7cbc7344e1f29fed0fa9643809a376d.tar.gz
Initial import of colorize-0.2.6
colorize is a log colorize perl script, with some ugly functions: * Many known log format (including: daemon [classic log format], squid [and oops], apache [access, error], xferlog, exim, and more) * Extreme regexp matches (email, url, size, address, version, file etc.) * Some usefull matches (user, service, protocol) * Theme support (with multiple config files) * HTML output support (with valid HTML and CSS code)
Diffstat (limited to 'misc/colorize')
-rw-r--r--misc/colorize/Makefile40
-rw-r--r--misc/colorize/files/md53
-rw-r--r--misc/colorize/pkg/DESCR7
-rw-r--r--misc/colorize/pkg/MESSAGE7
-rw-r--r--misc/colorize/pkg/PLIST11
5 files changed, 68 insertions, 0 deletions
diff --git a/misc/colorize/Makefile b/misc/colorize/Makefile
new file mode 100644
index 00000000000..4a61eb02b8c
--- /dev/null
+++ b/misc/colorize/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/26 04:11:11 zuntum Exp $
+#
+
+DISTNAME= colorize_0.2.6
+PKGNAME= colorize-0.2.6
+CATEGORIES= misc
+MASTER_SITES= http://nrg.martos.bme.hu/release/colorize/download/bz2/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= zuntum@netbsd.org
+HOMEPAGE= http://nrg.martos.bme.hu/release/colorize/
+COMMENT= log colorize perl script
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+NO_BUILD= yes
+USE_PERL5= yes
+
+post-patch:
+ ${SED} -e "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \
+ -e "s,/etc/colorizerc,${PREFIX}/etc/colorizerc," \
+ ${WRKSRC}/colorize.pl > ${WRKSRC}/colorize.pl.done
+ ${MV} ${WRKSRC}/colorize.pl.done ${WRKSRC}/colorize.pl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/colorize.pl ${PREFIX}/bin/colorize
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/colorize
+ ${INSTALL_DATA} ${WRKSRC}/colorizerc ${PREFIX}/share/examples/colorize
+ ${GUNZIP_CMD} ${WRKSRC}/colorize.pl.1.gz
+ ${INSTALL_MAN} ${WRKSRC}/colorize.pl.1 ${PREFIX}/man/man1/colorize.1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/colorize
+ cd ${WRKSRC} && ${INSTALL_DATA} README TIPS ${PREFIX}/share/doc/colorize
+ ${GUNZIP_CMD} ${WRKSRC}/examples/colorize-fifo.sh.gz
+ ${GUNZIP_CMD} ${WRKSRC}/examples/colorize-tail.sh.gz
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-fifo.sh \
+ ${PREFIX}/share/examples/colorize
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/colorize-tail.sh \
+ ${PREFIX}/share/examples/colorize
+ ${INSTALL_DATA} ${WRKSRC}/examples/Xlog.tar.gz ${PREFIX}/share/examples/colorize
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/colorize/files/md5 b/misc/colorize/files/md5
new file mode 100644
index 00000000000..8d65eeb09e2
--- /dev/null
+++ b/misc/colorize/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/26 04:11:11 zuntum Exp $
+
+SHA1 (colorize_0.2.6.tar.bz2) = af216da33632fe03362910ff304246b03fb10773
diff --git a/misc/colorize/pkg/DESCR b/misc/colorize/pkg/DESCR
new file mode 100644
index 00000000000..957f0b6c26e
--- /dev/null
+++ b/misc/colorize/pkg/DESCR
@@ -0,0 +1,7 @@
+colorize is a log colorize perl script, with some ugly functions:
+ * Many known log format (including: daemon [classic log format],
+ squid [and oops], apache [access, error], xferlog, exim, and more)
+ * Extreme regexp matches (email, url, size, address, version, file etc.)
+ * Some usefull matches (user, service, protocol)
+ * Theme support (with multiple config files)
+ * HTML output support (with valid HTML and CSS code)
diff --git a/misc/colorize/pkg/MESSAGE b/misc/colorize/pkg/MESSAGE
new file mode 100644
index 00000000000..c51dc9933fe
--- /dev/null
+++ b/misc/colorize/pkg/MESSAGE
@@ -0,0 +1,7 @@
+$NetBSD: MESSAGE,v 1.1.1.1 2001/03/26 04:11:11 zuntum Exp $
+======================================================================
+
+ You may want to install ${PREFIX}/share/examples/colorize/colorizerc
+ to ${PREFIX}/etc or alternatively to ~/.colorizerc
+
+======================================================================
diff --git a/misc/colorize/pkg/PLIST b/misc/colorize/pkg/PLIST
new file mode 100644
index 00000000000..5fa16c6e86c
--- /dev/null
+++ b/misc/colorize/pkg/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/26 04:11:11 zuntum Exp $
+bin/colorize
+man/man1/colorize.1
+share/doc/colorize/README
+share/doc/colorize/TIPS
+share/examples/colorize/colorize-fifo.sh
+share/examples/colorize/colorize-tail.sh
+share/examples/colorize/Xlog.tar.gz
+share/examples/colorize/colorizerc
+@dirrm share/examples/colorize
+@dirrm share/doc/colorize