This is an automated email from the git hooks/post-receive script. roland pushed a commit to branch master in repository libfile-tail-perl.
commit 50308d400ba2f997fe733dfd87c931279c8ab410 Merge: 7e1dcb4 aebbb1a Author: Roland Rosenfeld <[email protected]> Date: Sun Jan 14 17:47:09 2007 +0100 Imported Debian patch 0.99.3-1 Changes | 19 ++++ MANIFEST | 5 +- META.yml | 14 +++ Tail.pm | 111 +++++++++++++++++------ Tail.pm.debug | 94 +++++++++++++++---- debian/README.Debian | 14 --- debian/changelog | 22 +++++ debian/compat | 2 +- debian/control | 11 +-- debian/copyright | 27 +++++- debian/dirs | 1 - debian/examples | 2 + debian/patches/00list | 1 + debian/patches/010_pod_changes.patch | 49 ---------- debian/patches/10_pod_fixup.dpatch | 169 +++++++++++++++++++++++++++++++++++ debian/rules | 88 +++++++++++++++++- t/30name_change.t | 38 ++++++++ test.pl | 8 -- 18 files changed, 546 insertions(+), 129 deletions(-) diff --cc debian/changelog index 58501b0,0000000..ae0cef2 mode 100644,000000..100644 --- a/debian/changelog +++ b/debian/changelog @@@ -1,43 -1,0 +1,65 @@@ ++libfile-tail-perl (0.99.3-1) unstable; urgency=low ++ ++ * New upstream version 0.99.3 (Closes: #329541). ++ * New maintainer. ++ * Add select_demo and logwatch to examples directory (Closes: #329256). ++ * Upgrade to debhelper 5. ++ * Move perl and libtime-hires-perl to Build-Depends-Indep. ++ * Create new debian/rules based on dh-make-perl and dpatch instead cdbs. ++ * Convert 010_pod_changes.patch to 10_pod_fixup.dpatch and merge in ++ changes of Tail.pm and Tail.pm.debug. ++ * Remove empty unused usr/lib tree. ++ * Move from Section: interpreters to Section: perl. ++ * Depend on ${misc:Depends} instead ${shlibs:Depends}, because this is a ++ binary-all package. ++ * Upgrade to Standards-Version 3.7.2. ++ * Remove README.Debian, because its content is already in copyright. ++ * Remove debian/dirs, because usr/share is automatically created. ++ * Cite perl copyright in debian/copyright instead of only pointing to ++ it. ++ ++ -- Roland Rosenfeld <[email protected]> Sun, 14 Jan 2007 17:47:09 +0100 ++ +libfile-tail-perl (0.98-5) unstable; urgency=low + + * Added cdbs to build depends. (Closes: #252417) + + -- Scott M. Dier <[email protected]> Tue, 8 Jun 2004 08:26:38 -0500 + +libfile-tail-perl (0.98-4) unstable; urgency=low + + * Converted to cdbs. + * Fixed manpage formatting errors. (Closes: #213810) + + -- Scott M. Dier <[email protected]> Tue, 1 Jun 2004 13:42:50 -0500 + +libfile-tail-perl (0.98-3) unstable; urgency=low + + * Fixed copyright to have a link to the perl copyright. Closes: #157584 + + -- Scott M. Dier <[email protected]> Tue, 20 Aug 2002 17:20:30 -0500 + +libfile-tail-perl (0.98-2) unstable; urgency=low + + * Forgot to make the Arch: all. + + -- Scott M. Dier <[email protected]> Sun, 3 Feb 2002 15:20:31 -0600 + +libfile-tail-perl (0.98-1) unstable; urgency=medium + + * New upstream release. Closes: #112951 + * Updated packaging semantics. Closes: #95531,#104749,#120296 + + -- Scott M. Dier <[email protected]> Sun, 3 Feb 2002 13:14:08 -0600 + +libfile-tail-perl (0.91-2) unstable; urgency=low + + * repackaged to meet doc & man polices. closes: #91194, #91557 + + -- Craig Sanders <[email protected]> Sat, 31 Mar 2001 12:24:28 +1000 + +libfile-tail-perl (0.91-1) unstable; urgency=low + + * Initial Release + + -- Craig Sanders <[email protected]> Mon, 5 Jul 1999 12:47:08 +1000 diff --cc debian/compat index b8626c4,0000000..7ed6ff8 mode 100644,000000..100644 --- a/debian/compat +++ b/debian/compat @@@ -1,1 -1,0 +1,1 @@@ - 4 ++5 diff --cc debian/control index 59a508d,0000000..7e6d9e9 mode 100644,000000..100644 --- a/debian/control +++ b/debian/control @@@ -1,21 -1,0 +1,22 @@@ +Source: libfile-tail-perl - Section: interpreters ++Section: perl +Priority: optional - Maintainer: Scott M. Dier <[email protected]> - Build-Depends: debhelper (>> 3.0.0), perl (>= 5.6.0-16), libtime-hires-perl, cdbs - Standards-Version: 3.5.2 ++Maintainer: Roland Rosenfeld <[email protected]> ++Build-Depends: debhelper (> 5), dpatch ++Build-Depends-Indep: perl (>= 5.6.0-16), libtime-hires-perl ++Standards-Version: 3.7.2 + +Package: libfile-tail-perl +Architecture: all - Depends: ${shlibs:Depends}, ${perl:Depends}, libtime-hires-perl ++Depends: ${perl:Depends}, ${misc:Depends}, libtime-hires-perl +Description: File::Tail perl module + The File::Tail module is designed for reading files which + are continously appended to (the name comes from the tail -f + directive). Usually such files are logfiles of some description. + . + The module tries hard not to busy wait on the file, dynamicaly + calculating how long it should wait before it pays to try reading the + file again. + . + The module should handle normal log truncations ("close; move; open" or + "cat /dev/null >file") transparently, without losing any input. diff --cc debian/copyright index 0681fc4,0000000..7521a5b mode 100644,000000..100644 --- a/debian/copyright +++ b/debian/copyright @@@ -1,16 -1,0 +1,35 @@@ - This package was debianized by Scott M. Dier <[email protected]> on - Sun, 3 Feb 2002 13:10:25 -0600 ++This package was initially debianized by Craig Sanders <[email protected]> ++and after this maintained several years by Scott M. Dier <[email protected]>. ++Current maintainer is Roland Rosenfeld <[email protected]>. ++ + +It was downloaded from - http://www.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-0.98.tar.gz ++http://www.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-0.99.3.tar.gz + +Upstream Author: Matija Grabnar <[email protected]> + +Copyright: + +Copyright (c) 1997,1998,1999 Matija Grabnar. + +All rights reserved. This program is free software; you can +redistribute it and/or modify it under the same terms as Perl itself. + - Perl's copyright can be found in /usr/share/doc/perl/copyright ++The Perl copyright is as follows: ++ ++Copyright: ++ ++ Copyright 1989-2001, Larry Wall All rights reserved. ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of either: ++ ++ a) the GNU General Public License as published by the Free Software ++ Foundation; either version 1, or (at your option) any later ++ version, or ++ ++ b) the "Artistic License" which comes with Perl. ++ ++On Debian GNU/Linux systems, the complete text of the GNU General ++Public License can be found in `/usr/share/common-licenses/GPL' and ++the Artistic Licence in `/usr/share/common-licenses/Artistic'. diff --cc debian/examples index 0000000,0000000..4a87a4e new file mode 100644 --- /dev/null +++ b/debian/examples @@@ -1,0 -1,0 +1,2 @@@ ++select_demo ++logwatch diff --cc debian/patches/00list index 0000000,0000000..609c5c3 new file mode 100644 --- /dev/null +++ b/debian/patches/00list @@@ -1,0 -1,0 +1,1 @@@ ++10_pod_fixup.dpatch diff --cc debian/patches/10_pod_fixup.dpatch index 0000000,0000000..df7ebf4 new file mode 100644 --- /dev/null +++ b/debian/patches/10_pod_fixup.dpatch @@@ -1,0 -1,0 +1,169 @@@ ++#! /bin/sh /usr/share/dpatch/dpatch-run ++## 10_pod_fixup.dpatch by Scott M. Dier <[email protected]> ++## ++## All lines beginning with `## DP:' are a description of the patch. ++## DP: Fixup indentation of POD documentation. ++ ++@DPATCH@ ++diff -urNad libfile-tail-perl~/Tail.pm libfile-tail-perl/Tail.pm ++--- libfile-tail-perl~/Tail.pm +++++ libfile-tail-perl/Tail.pm ++@@ -604,12 +604,11 @@ ++ OR, you could use tie (additional parameters can be passed with the name, or ++ can be set using $ref): ++ ++- use File::Tail; ++- my $ref=tie *FH,"File::Tail",(name=>$name); ++- while (<FH>) { ++- print "$_"; ++- } ++- +++ use File::Tail; +++ my $ref=tie *FH,"File::Tail",(name=>$name); +++ while (<FH>) { +++ print "$_"; +++ } ++ ++ Note that the above script will never exit. If there is nothing being written ++ to the file, it will simply block. ++@@ -720,36 +719,35 @@ ++ ++ =item ignore_nonexistant ++ ++- Do not complain if the file doesn't exist when it is first +++Do not complain if the file doesn't exist when it is first ++ opened or when it is to be reopened. (File may be reopened after ++ resetafter seconds have passed since last data was found.) ++ ++ =item tail ++ ++- When first started, read and return C<n> lines from the file. +++When first started, read and return C<n> lines from the file. ++ If C<n> is zero, start at the end of file. If C<n> is negative, ++ return the whole file. ++ ++- Default is C<0>. +++Default is C<0>. ++ ++ =item reset_tail ++ ++- Same as tail, but applies after reset. (i.e. after the +++Same as tail, but applies after reset. (i.e. after the ++ file has been automaticaly closed and reopened). Defaults to ++ C<-1>, i.e. does not skip any information present in the ++ file when it first checks it. ++ ++- Why would you want it otherwise? I've seen files which +++Why would you want it otherwise? I've seen files which ++ have been cycled like this: ++ ++- grep -v lastmonth log >newlog ++- mv log archive/lastmonth ++- mv newlog log ++- kill -HUP logger ++- +++ grep -v lastmonth log >newlog +++ mv log archive/lastmonth +++ mv newlog log +++ kill -HUP logger ++ ++ Obviously, if this happens and you have reset_tail set to ++-c<-1>, you will suddenly get a whole bunch of lines - lines +++C<-1>, you will suddenly get a whole bunch of lines - lines ++ you already saw. So in this case, reset_tail should probably ++ be set to a small positive number or even C<0>. ++ ++@@ -777,9 +775,9 @@ ++ reference as the first parameter and other parameters to be passed to ++ handler subroutine, or one of the words: ++ ++-return - ignore any error (just put error message in errmsg). ++-warn - output the error message but continue ++-die - display error message and exit +++ return - ignore any error (just put error message in errmsg). +++ warn - output the error message but continue +++ die - display error message and exit ++ ++ Default is die. ++ ++diff -urNad libfile-tail-perl~/Tail.pm.debug libfile-tail-perl/Tail.pm.debug ++--- libfile-tail-perl~/Tail.pm.debug +++++ libfile-tail-perl/Tail.pm.debug ++@@ -638,12 +638,11 @@ ++ OR, you could use tie (additional parameters can be passed with the name, or ++ can be set using $ref): ++ ++- use File::Tail; ++- my $ref=tie *FH,"File::Tail",(name=>$name); ++- while (<FH>) { ++- print "$_"; ++- } ++- +++ use File::Tail; +++ my $ref=tie *FH,"File::Tail",(name=>$name); +++ while (<FH>) { +++ print "$_"; +++ } ++ ++ Note that the above script will never exit. If there is nothing being written ++ to the file, it will simply block. ++@@ -754,36 +753,35 @@ ++ ++ =item ignore_nonexistant ++ ++- Do not complain if the file doesn't exist when it is first +++Do not complain if the file doesn't exist when it is first ++ opened or when it is to be reopened. (File may be reopened after ++ resetafter seconds have passed since last data was found.) ++ ++ =item tail ++ ++- When first started, read and return C<n> lines from the file. +++When first started, read and return C<n> lines from the file. ++ If C<n> is zero, start at the end of file. If C<n> is negative, ++ return the whole file. ++ ++- Default is C<0>. +++Default is C<0>. ++ ++ =item reset_tail ++ ++- Same as tail, but applies after reset. (i.e. after the +++Same as tail, but applies after reset. (i.e. after the ++ file has been automaticaly closed and reopened). Defaults to ++ C<-1>, i.e. does not skip any information present in the ++ file when it first checks it. ++ ++- Why would you want it otherwise? I've seen files which +++Why would you want it otherwise? I've seen files which ++ have been cycled like this: ++ ++- grep -v lastmonth log >newlog ++- mv log archive/lastmonth ++- mv newlog log ++- kill -HUP logger ++- +++ grep -v lastmonth log >newlog +++ mv log archive/lastmonth +++ mv newlog log +++ kill -HUP logger ++ ++ Obviously, if this happens and you have reset_tail set to ++-c<-1>, you will suddenly get a whole bunch of lines - lines +++C<-1>, you will suddenly get a whole bunch of lines - lines ++ you already saw. So in this case, reset_tail should probably ++ be set to a small positive number or even C<0>. ++ ++@@ -811,9 +809,9 @@ ++ reference as the first parameter and other parameters to be passed to ++ handler subroutine, or one of the words: ++ ++-return - ignore any error (just put error message in errmsg). ++-warn - output the error message but continue ++-die - display error message and exit +++ return - ignore any error (just put error message in errmsg). +++ warn - output the error message but continue +++ die - display error message and exit ++ ++ Default is die. ++ diff --cc debian/rules index 2b421e0,0000000..9500441 mode 100755,000000..100755 --- a/debian/rules +++ b/debian/rules @@@ -1,5 -1,0 +1,87 @@@ +#!/usr/bin/make -f ++# ++# (c) 2007 Roland Rosenfeld <[email protected]> ++# ++# This debian/rules file was intially created using dh-make-perl by ++# Marc Brockschmidt <[email protected]> for the Debian Perl Group ++# (http://pkg-perl.alioth.debian.org/) but may be used freely wherever ++# it is useful. + - include /usr/share/cdbs/1/rules/debhelper.mk - include /usr/share/cdbs/1/class/perlmodule.mk - include /usr/share/cdbs/1/rules/simple-patchsys.mk ++# Uncomment this to turn on verbose mode. ++#export DH_VERBOSE=1 ++ ++# If set to a true value then MakeMaker's prompt function will ++# always return the default without waiting for user input. ++export PERL_MM_USE_DEFAULT=1 ++ ++# Include dpatch stuff. ++include /usr/share/dpatch/dpatch.make ++ ++PACKAGE=$(shell dh_listpackages) ++ ++ifndef PERL ++PERL = /usr/bin/perl ++endif ++ ++TMP =$(CURDIR)/debian/$(PACKAGE) ++ ++build: build-stamp ++build-stamp: patch-stamp ++ dh_testdir ++ ++ $(PERL) Makefile.PL INSTALLDIRS=vendor ++ $(MAKE) ++ ++ touch build-stamp ++ ++clean: clean1 unpatch ++clean1: ++ dh_testdir ++ dh_testroot ++ ++ [ ! -f Makefile ] || $(MAKE) realclean ++ ++ dh_clean build-stamp install-stamp ++ ++install: build install-stamp ++install-stamp: ++ dh_testdir ++ dh_testroot ++ dh_clean -k ++ ++ $(MAKE) test ++ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr ++ ++# As this is a architecture independent package, we are not ++# supposed to install stuff to /usr/lib. MakeMaker creates ++# the dirs, we delete them from the deb: ++ rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 ++ ++ touch install-stamp ++ ++binary-arch: ++# We have nothing to do by default. ++ ++binary-indep: build install ++ dh_testdir ++ dh_testroot ++# dh_installcron ++# dh_installmenu ++ dh_installexamples ++ dh_installdocs README ++ dh_installchangelogs Changes ++ dh_perl ++ dh_link ++ dh_strip ++ dh_compress ++ dh_fixperms ++ dh_installdeb ++ dh_gencontrol ++ dh_md5sums ++ dh_builddeb ++ ++source diff: ++ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false ++ ++binary: binary-indep binary-arch ++.PHONY: build clean binary-indep binary-arch binary patch unpatch clean1 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-tail-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
