summaryrefslogtreecommitdiff
path: root/misc/p5-File-Tail
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2004-12-31 21:35:05 +0000
committerkim <kim@pkgsrc.org>2004-12-31 21:35:05 +0000
commit9bf20416e41f2fa5475aa5c7e921eb9527aa4a60 (patch)
treea1a49ab5ba919b4c7b02d190dfad628d21e8b9a4 /misc/p5-File-Tail
parentafc34e24ef366c37f4f14ffad52ab4a8355f3c20 (diff)
downloadpkgsrc-9bf20416e41f2fa5475aa5c7e921eb9527aa4a60.tar.gz
Add p5-File-Tail 0.99.1
The primary purpose of File::Tail is reading and analysing log files while they are being written.
Diffstat (limited to 'misc/p5-File-Tail')
-rw-r--r--misc/p5-File-Tail/DESCR8
-rw-r--r--misc/p5-File-Tail/Makefile20
-rw-r--r--misc/p5-File-Tail/PLIST1
-rw-r--r--misc/p5-File-Tail/distinfo4
4 files changed, 33 insertions, 0 deletions
diff --git a/misc/p5-File-Tail/DESCR b/misc/p5-File-Tail/DESCR
new file mode 100644
index 00000000000..02d7193d99d
--- /dev/null
+++ b/misc/p5-File-Tail/DESCR
@@ -0,0 +1,8 @@
+The primary purpose of File::Tail is reading and analysing log files while
+they are being written.
+
+The module tries very hard NOT to ``busy-wait'' on a file that has little
+traffic. If the file does not get altered for a while, File::Tail gets
+suspicious and startschecking if the file was truncated, or moved and
+recreated. If anything like that had happened, File::Tail will quietly
+reopen the file, and continue reading.
diff --git a/misc/p5-File-Tail/Makefile b/misc/p5-File-Tail/Makefile
new file mode 100644
index 00000000000..ab9cc2cc4bc
--- /dev/null
+++ b/misc/p5-File-Tail/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/31 21:35:05 kim Exp $
+
+DISTNAME= File-Tail-0.99.1
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5fit
+PKGREVISION= # empty
+CATEGORIES= misc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/File-Tail/File/Tail.html
+COMMENT= Perl5 module for reading from continuously updated files
+
+DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/File/Tail/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/p5-File-Tail/PLIST b/misc/p5-File-Tail/PLIST
new file mode 100644
index 00000000000..fbf750c3e45
--- /dev/null
+++ b/misc/p5-File-Tail/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/31 21:35:05 kim Exp $
diff --git a/misc/p5-File-Tail/distinfo b/misc/p5-File-Tail/distinfo
new file mode 100644
index 00000000000..0cf40730987
--- /dev/null
+++ b/misc/p5-File-Tail/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/12/31 21:35:05 kim Exp $
+
+SHA1 (File-Tail-0.99.1.tar.gz) = bb00e67de8f4e7c9fc3a84ca9188704aa42d39e6
+Size (File-Tail-0.99.1.tar.gz) = 21830 bytes