summaryrefslogtreecommitdiff
path: root/sysutils/p5-Parse-Syslog
diff options
context:
space:
mode:
authorheinz <heinz>2006-07-16 09:54:10 +0000
committerheinz <heinz>2006-07-16 09:54:10 +0000
commitfb24c150882f8a46e1598d974870f1d46e935d76 (patch)
tree5f4e28314a6039d7216e9bef401e660c3060c66b /sysutils/p5-Parse-Syslog
parentacaadf7b9a6f0910c50c551870a232a8e3634663 (diff)
downloadpkgsrc-fb24c150882f8a46e1598d974870f1d46e935d76.tar.gz
Import of Perl module Parse-Syslog 1.09.
Unix syslogs are convenient to read for humans but because of small differences between operating systems and things like 'last message repeated xx times' not very easy to parse by a script. Parse::Syslog presents a simple interface to parse syslog files: you create a parser on a file (with new) and call next to get one line at a time with Unix-timestamp, host, program, pid and text returned in a hash-reference.
Diffstat (limited to 'sysutils/p5-Parse-Syslog')
-rw-r--r--sysutils/p5-Parse-Syslog/DESCR9
-rw-r--r--sysutils/p5-Parse-Syslog/Makefile21
-rw-r--r--sysutils/p5-Parse-Syslog/PLIST1
-rw-r--r--sysutils/p5-Parse-Syslog/distinfo5
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/p5-Parse-Syslog/DESCR b/sysutils/p5-Parse-Syslog/DESCR
new file mode 100644
index 00000000000..f6b2ccd6aec
--- /dev/null
+++ b/sysutils/p5-Parse-Syslog/DESCR
@@ -0,0 +1,9 @@
+Unix syslogs are convenient to read for humans but because
+of small differences between operating systems and things
+like 'last message repeated xx times' not very easy to parse
+by a script.
+
+Parse::Syslog presents a simple interface to parse syslog
+files: you create a parser on a file (with new) and call
+next to get one line at a time with Unix-timestamp, host,
+program, pid and text returned in a hash-reference.
diff --git a/sysutils/p5-Parse-Syslog/Makefile b/sysutils/p5-Parse-Syslog/Makefile
new file mode 100644
index 00000000000..68405192401
--- /dev/null
+++ b/sysutils/p5-Parse-Syslog/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/16 09:54:10 heinz Exp $
+#
+
+DISTNAME= Parse-Syslog-1.09
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5psl
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Parse/}
+
+MAINTAINER= heinz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Parse-Syslog/
+COMMENT= Perl5 module for parsing Unix syslog files
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Parse/Syslog/.packlist
+
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/p5-Parse-Syslog/PLIST b/sysutils/p5-Parse-Syslog/PLIST
new file mode 100644
index 00000000000..b856f24c4eb
--- /dev/null
+++ b/sysutils/p5-Parse-Syslog/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/16 09:54:10 heinz Exp $
diff --git a/sysutils/p5-Parse-Syslog/distinfo b/sysutils/p5-Parse-Syslog/distinfo
new file mode 100644
index 00000000000..3f51d291b1c
--- /dev/null
+++ b/sysutils/p5-Parse-Syslog/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/16 09:54:10 heinz Exp $
+
+SHA1 (Parse-Syslog-1.09.tar.gz) = 8779e53a6936e4ba712dc5ce1e1a71ccc83463ac
+RMD160 (Parse-Syslog-1.09.tar.gz) = 2a8ac6adf840e505a5be8f5d7ef3b1bc66fa9f94
+Size (Parse-Syslog-1.09.tar.gz) = 11033 bytes