[libfile-tail-perl] 03/18: Imported Debian patch 0.98-5

Roland Rosenfeld roland at moszumanska.debian.org
Mon Aug 21 17:31:31 UTC 2017


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 7e1dcb48151c44223b36e881d3585706b78951b6
Author: Scott M. Dier <sdier at debian.org>
Date:   Tue Jun 8 08:26:38 2004 -0500

    Imported Debian patch 0.98-5
---
 Makefile.old                         | 695 -----------------------------------
 Tail.pm                              |  23 +-
 debian/changelog                     |  19 +
 debian/compat                        |   1 +
 debian/control                       |   2 +-
 debian/copyright                     |   2 +
 debian/patches/010_pod_changes.patch |  49 +++
 debian/rules                         |  82 +----
 8 files changed, 86 insertions(+), 787 deletions(-)

diff --git a/Makefile.old b/Makefile.old
deleted file mode 100644
index 18928fa..0000000
--- a/Makefile.old
+++ /dev/null
@@ -1,695 +0,0 @@
-# This Makefile is for the File::Tail extension to perl.
-#
-# It was generated automatically by MakeMaker version
-# 5.45 (Revision: 1.222) from the contents of
-# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
-#
-#	ANY CHANGES MADE HERE WILL BE LOST!
-#
-#   MakeMaker ARGV: (q[INSTALLDIRS=vendor])
-#
-#   MakeMaker Parameters:
-
-#	NAME => q[File::Tail]
-#	PREREQ_PM => { File::stat=>q[0], Time::HiRes=>q[1.12], FileHandle=>q[0], IO::Seekable=>q[0] }
-#	VERSION_FROM => q[Tail.pm.debug]
-
-# --- MakeMaker post_initialize section:
-
-
-# --- MakeMaker const_config section:
-
-# These definitions are from config.sh (via /usr/lib/perl/5.6.1/Config.pm)
-
-# They may have been overridden via Makefile.PL or on the command line
-AR = ar
-CC = cc
-CCCDLFLAGS = -fPIC
-CCDLFLAGS = -rdynamic
-DLEXT = so
-DLSRC = dl_dlopen.xs
-LD = cc
-LDDLFLAGS = -shared -L/usr/local/lib
-LDFLAGS =  -L/usr/local/lib
-LIBC = /lib/libc-2.2.4.so
-LIB_EXT = .a
-OBJ_EXT = .o
-OSNAME = linux
-OSVERS = 2.4.13
-RANLIB = :
-SO = so
-EXE_EXT = 
-FULL_AR = /usr/bin/ar
-
-
-# --- MakeMaker constants section:
-AR_STATIC_ARGS = cr
-NAME = File::Tail
-DISTNAME = File-Tail
-NAME_SYM = File_Tail
-VERSION = 0.98
-VERSION_SYM = 0_98
-XS_VERSION = 0.98
-INST_BIN = blib/bin
-INST_EXE = blib/script
-INST_LIB = blib/lib
-INST_ARCHLIB = blib/arch
-INST_SCRIPT = blib/script
-PREFIX = /usr
-SITEPREFIX = $(PREFIX)/local
-INSTALLDIRS = vendor
-INSTALLPRIVLIB = $(PREFIX)/share/perl/5.6.1
-INSTALLARCHLIB = $(PREFIX)/lib/perl/5.6.1
-INSTALLSITELIB = $(SITEPREFIX)/share/perl/5.6.1
-INSTALLSITEARCH = $(SITEPREFIX)/lib/perl/5.6.1
-INSTALLVENDORLIB = $(PREFIX)/share/perl5
-INSTALLVENDORARCH = $(PREFIX)/lib/perl5
-INSTALLBIN = $(PREFIX)/bin
-INSTALLSCRIPT = $(PREFIX)/bin
-INSTALLSITEBIN = $(SITEPREFIX)/bin
-PERL_LIB = /usr/share/perl/5.6.1
-PERL_ARCHLIB = /usr/lib/perl/5.6.1
-SITELIBEXP = /usr/local/share/perl/5.6.1
-SITEARCHEXP = /usr/local/lib/perl/5.6.1
-LIBPERL_A = libperl.a
-FIRST_MAKEFILE = Makefile
-MAKE_APERL_FILE = Makefile.aperl
-PERLMAINCC = $(CC)
-PERL_INC = /usr/lib/perl/5.6.1/CORE
-PERL = /usr/bin/perl
-FULLPERL = /usr/bin/perl
-FULL_AR = /usr/bin/ar
-
-VERSION_MACRO = VERSION
-DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
-XS_VERSION_MACRO = XS_VERSION
-XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
-PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
-
-MAKEMAKER = /usr/share/perl/5.6.1/ExtUtils/MakeMaker.pm
-MM_VERSION = 5.45
-
-# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
-# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
-# ROOTEXT = Directory part of FULLEXT with leading slash (eg /DBD)  !!! Deprecated from MM 5.32  !!!
-# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
-# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
-FULLEXT = File/Tail
-BASEEXT = Tail
-PARENT_NAME = File
-DLBASE = $(BASEEXT)
-VERSION_FROM = Tail.pm.debug
-OBJECT = 
-LDFROM = $(OBJECT)
-LINKTYPE = dynamic
-
-# Handy lists of source code files:
-XS_FILES= 
-C_FILES = 
-O_FILES = 
-H_FILES = 
-HTMLLIBPODS    = 
-HTMLSCRIPTPODS = 
-MAN1PODS = 
-MAN3PODS = Tail.pm
-HTMLEXT = html
-INST_MAN1DIR = blib/man1
-INSTALLMAN1DIR = $(PREFIX)/share/man/man1
-INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1
-MAN1EXT = 1p
-INST_MAN3DIR = blib/man3
-INSTALLMAN3DIR = $(PREFIX)/share/man/man3
-INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3
-MAN3EXT = 3pm
-PERM_RW = 644
-PERM_RWX = 755
-
-# work around a famous dec-osf make(1) feature(?):
-makemakerdflt: all
-
-.SUFFIXES: .xs .c .C .cpp .cxx .cc $(OBJ_EXT)
-
-# Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to recall, that
-# some make implementations will delete the Makefile when we rebuild it. Because
-# we call false(1) when we rebuild it. So make(1) is not completely wrong when it
-# does so. Our milage may vary.
-# .PRECIOUS: Makefile    # seems to be not necessary anymore
-
-.PHONY: all config static dynamic test linkext manifest
-
-# Where is the Config information that we are using/depend on
-CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h
-
-# Where to put things:
-INST_LIBDIR      = $(INST_LIB)/File
-INST_ARCHLIBDIR  = $(INST_ARCHLIB)/File
-
-INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
-INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
-
-INST_STATIC  =
-INST_DYNAMIC =
-INST_BOOT    =
-
-EXPORT_LIST = 
-
-PERL_ARCHIVE = 
-
-PERL_ARCHIVE_AFTER = 
-
-TO_INST_PM = Tail.pm
-
-PM_TO_BLIB = Tail.pm \
-	$(INST_LIBDIR)/Tail.pm
-
-
-# --- MakeMaker tool_autosplit section:
-
-# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
-AUTOSPLITFILE = $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -e 'use AutoSplit;autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1) ;'
-
-
-# --- MakeMaker tool_xsubpp section:
-
-
-# --- MakeMaker tools_other section:
-
-SHELL = /bin/sh
-CHMOD = chmod
-CP = cp
-LD = cc
-MV = mv
-NOOP = $(SHELL) -c true
-RM_F = rm -f
-RM_RF = rm -rf
-TEST_F = test -f
-TOUCH = touch
-UMASK_NULL = umask 0
-DEV_NULL = > /dev/null 2>&1
-
-# The following is a portable way to say mkdir -p
-# To see which directories are created, change the if 0 to if 1
-MKPATH = $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Command -e mkpath
-
-# This helps us to minimize the effect of the .exists files A yet
-# better solution would be to have a stable file in the perl
-# distribution with a timestamp of zero. But this solution doesn't
-# need any changes to the core distribution and works with older perls
-EQUALIZE_TIMESTAMP = $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Command -e eqtime
-
-# Here we warn users that an old packlist file was found somewhere,
-# and that they should call some uninstall routine
-WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \
--e 'print "WARNING: I have found an old package in\n";' \
--e 'print "\t$$ARGV[0].\n";' \
--e 'print "Please make sure the two installations are not conflicting\n";'
-
-UNINST=0
-VERBINST=0
-
-MOD_INSTALL = $(PERL) -I$(INST_LIB) -I$(PERL_LIB) -MExtUtils::Install \
--e "install({@ARGV},'$(VERBINST)',0,'$(UNINST)');"
-
-DOC_INSTALL = $(PERL) -e '$$\="\n\n";' \
--e 'print "=head2 ", scalar(localtime), ": C<", shift, ">", " L<", $$arg=shift, "|", $$arg, ">";' \
--e 'print "=over 4";' \
--e 'while (defined($$key = shift) and defined($$val = shift)){print "=item *";print "C<$$key: $$val>";}' \
--e 'print "=back";'
-
-UNINSTALL =   $(PERL) -MExtUtils::Install \
--e 'uninstall($$ARGV[0],1,1); print "\nUninstall is deprecated. Please check the";' \
--e 'print " packlist above carefully.\n  There may be errors. Remove the";' \
--e 'print " appropriate files manually.\n  Sorry for the inconveniences.\n"'
-
-
-# --- MakeMaker dist section:
-
-DISTVNAME = $(DISTNAME)-$(VERSION)
-TAR  = tar
-TARFLAGS = cvf
-ZIP  = zip
-ZIPFLAGS = -r
-COMPRESS = gzip --best
-SUFFIX = .gz
-SHAR = shar
-PREOP = @$(NOOP)
-POSTOP = @$(NOOP)
-TO_UNIX = @$(NOOP)
-CI = ci -u
-RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
-DIST_CP = best
-DIST_DEFAULT = tardist
-
-
-# --- MakeMaker macro section:
-
-
-# --- MakeMaker depend section:
-
-
-# --- MakeMaker cflags section:
-
-
-# --- MakeMaker const_loadlibs section:
-
-
-# --- MakeMaker const_cccmd section:
-
-
-# --- MakeMaker post_constants section:
-
-
-# --- MakeMaker pasthru section:
-
-PASTHRU = LIB="$(LIB)"\
-	LIBPERL_A="$(LIBPERL_A)"\
-	LINKTYPE="$(LINKTYPE)"\
-	PREFIX="$(PREFIX)"\
-	OPTIMIZE="$(OPTIMIZE)"
-
-
-# --- MakeMaker c_o section:
-
-
-# --- MakeMaker xs_c section:
-
-
-# --- MakeMaker xs_o section:
-
-
-# --- MakeMaker top_targets section:
-
-#all ::	config $(INST_PM) subdirs linkext manifypods
-
-all :: pure_all htmlifypods manifypods
-	@$(NOOP)
-
-pure_all :: config pm_to_blib subdirs linkext
-	@$(NOOP)
-
-subdirs :: $(MYEXTLIB)
-	@$(NOOP)
-
-config :: Makefile $(INST_LIBDIR)/.exists
-	@$(NOOP)
-
-config :: $(INST_ARCHAUTODIR)/.exists
-	@$(NOOP)
-
-config :: $(INST_AUTODIR)/.exists
-	@$(NOOP)
-
-$(INST_AUTODIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
-	@$(MKPATH) $(INST_AUTODIR)
-	@$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_AUTODIR)/.exists
-
-	-@$(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
-
-$(INST_LIBDIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
-	@$(MKPATH) $(INST_LIBDIR)
-	@$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_LIBDIR)/.exists
-
-	-@$(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
-
-$(INST_ARCHAUTODIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
-	@$(MKPATH) $(INST_ARCHAUTODIR)
-	@$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_ARCHAUTODIR)/.exists
-
-	-@$(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
-
-config :: $(INST_MAN3DIR)/.exists
-	@$(NOOP)
-
-
-$(INST_MAN3DIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
-	@$(MKPATH) $(INST_MAN3DIR)
-	@$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_MAN3DIR)/.exists
-
-	-@$(CHMOD) $(PERM_RWX) $(INST_MAN3DIR)
-
-help:
-	perldoc ExtUtils::MakeMaker
-
-Version_check:
-	@$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
-		-MExtUtils::MakeMaker=Version_check \
-		-e "Version_check('$(MM_VERSION)')"
-
-
-# --- MakeMaker linkext section:
-
-linkext :: $(LINKTYPE)
-	@$(NOOP)
-
-
-# --- MakeMaker dlsyms section:
-
-
-# --- MakeMaker dynamic section:
-
-## $(INST_PM) has been moved to the all: target.
-## It remains here for awhile to allow for old usage: "make dynamic"
-#dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
-dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
-	@$(NOOP)
-
-
-# --- MakeMaker dynamic_bs section:
-
-BOOTSTRAP =
-
-
-# --- MakeMaker dynamic_lib section:
-
-
-# --- MakeMaker static section:
-
-## $(INST_PM) has been moved to the all: target.
-## It remains here for awhile to allow for old usage: "make static"
-#static :: Makefile $(INST_STATIC) $(INST_PM)
-static :: Makefile $(INST_STATIC)
-	@$(NOOP)
-
-
-# --- MakeMaker static_lib section:
-
-
-# --- MakeMaker htmlifypods section:
-
-htmlifypods : pure_all
-	@$(NOOP)
-
-
-# --- MakeMaker manifypods section:
-POD2MAN_EXE = /usr/bin/pod2man
-POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
--e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
--e 'print "Manifying $$m{$$_}\n";' \
--e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
--e 'chmod(oct($(PERM_RW))), $$m{$$_} or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
-
-manifypods : pure_all Tail.pm
-	@$(POD2MAN) \
-	Tail.pm \
-	$(INST_MAN3DIR)/File::Tail.$(MAN3EXT)
-
-# --- MakeMaker processPL section:
-
-
-# --- MakeMaker installbin section:
-
-
-# --- MakeMaker subdirs section:
-
-# none
-
-# --- MakeMaker clean section:
-
-# Delete temporary files but do not touch installed files. We don't delete
-# the Makefile here so a later make realclean still has a makefile to use.
-
-clean ::
-	-rm -rf ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all perlmain.c mon.out core core.*perl.*.? *perl.core so_locations pm_to_blib *$(OBJ_EXT) *$(LIB_EXT) perl.exe $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def $(BASEEXT).exp
-	-mv Makefile Makefile.old $(DEV_NULL)
-
-
-# --- MakeMaker realclean section:
-
-# Delete temporary files (via clean) and also delete installed files
-realclean purge ::  clean
-	rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
-	rm -f  $(INST_LIBDIR)/Tail.pm
-	rm -rf Makefile Makefile.old
-
-
-# --- MakeMaker dist_basics section:
-
-distclean :: realclean distcheck
-
-distcheck :
-	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=fullcheck \
-		-e fullcheck
-
-skipcheck :
-	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=skipcheck \
-		-e skipcheck
-
-manifest :
-	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=mkmanifest \
-		-e mkmanifest
-
-veryclean : realclean
-	$(RM_F) *~ *.orig */*~ */*.orig
-
-
-# --- MakeMaker dist_core section:
-
-dist : $(DIST_DEFAULT)
-	@$(PERL) -le 'print "Warning: Makefile possibly out of date with $$vf" if ' \
-	    -e '-e ($$vf="$(VERSION_FROM)") and -M $$vf < -M "Makefile";'
-
-tardist : $(DISTVNAME).tar$(SUFFIX)
-
-zipdist : $(DISTVNAME).zip
-
-$(DISTVNAME).tar$(SUFFIX) : distdir
-	$(PREOP)
-	$(TO_UNIX)
-	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
-	$(RM_RF) $(DISTVNAME)
-	$(COMPRESS) $(DISTVNAME).tar
-	$(POSTOP)
-
-$(DISTVNAME).zip : distdir
-	$(PREOP)
-	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
-	$(RM_RF) $(DISTVNAME)
-	$(POSTOP)
-
-uutardist : $(DISTVNAME).tar$(SUFFIX)
-	uuencode $(DISTVNAME).tar$(SUFFIX) \
-		$(DISTVNAME).tar$(SUFFIX) > \
-		$(DISTVNAME).tar$(SUFFIX)_uu
-
-shdist : distdir
-	$(PREOP)
-	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
-	$(RM_RF) $(DISTVNAME)
-	$(POSTOP)
-
-
-# --- MakeMaker dist_dir section:
-
-distdir :
-	$(RM_RF) $(DISTVNAME)
-	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=manicopy,maniread \
-		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
-
-
-# --- MakeMaker dist_test section:
-
-disttest : distdir
-	cd $(DISTVNAME) && $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) Makefile.PL
-	cd $(DISTVNAME) && $(MAKE)
-	cd $(DISTVNAME) && $(MAKE) test
-
-
-# --- MakeMaker dist_ci section:
-
-ci :
-	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=maniread \
-		-e "@all = keys %{ maniread() };" \
-		-e 'print("Executing $(CI) @all\n"); system("$(CI) @all");' \
-		-e 'print("Executing $(RCS_LABEL) ...\n"); system("$(RCS_LABEL) @all");'
-
-
-# --- MakeMaker install section:
-
-install :: all pure_install doc_install
-
-install_perl :: all pure_perl_install doc_perl_install
-
-install_site :: all pure_site_install doc_site_install
-
-install_vendor :: all pure_vendor_install doc_vendor_install
-
-install_ :: install_site
-	@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
-
-pure_install :: pure_$(INSTALLDIRS)_install
-
-doc_install :: doc_$(INSTALLDIRS)_install
-
-pure__install : pure_site_install
-	@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
-
-doc__install : doc_site_install
-	@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
-
-pure_perl_install ::
-	@umask 022; $(MOD_INSTALL) \
-		read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
-		write $(INSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
-		$(INST_LIB) $(INSTALLPRIVLIB) \
-		$(INST_ARCHLIB) $(INSTALLARCHLIB) \
-		$(INST_BIN) $(INSTALLBIN) \
-		$(INST_SCRIPT) $(INSTALLSCRIPT) \
-		$(INST_HTMLLIBDIR) $(INSTALLHTMLPRIVLIBDIR) \
-		$(INST_HTMLSCRIPTDIR) $(INSTALLHTMLSCRIPTDIR) \
-		$(INST_MAN1DIR) $(INSTALLMAN1DIR) \
-		$(INST_MAN3DIR) $(INSTALLMAN3DIR)
-	@$(WARN_IF_OLD_PACKLIST) \
-		$(SITEARCHEXP)/auto/$(FULLEXT)
-
-
-pure_site_install ::
-	@umask 02; $(MOD_INSTALL) \
-		read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
-		write $(INSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
-		$(INST_LIB) $(INSTALLSITELIB) \
-		$(INST_ARCHLIB) $(INSTALLSITEARCH) \
-		$(INST_BIN) $(INSTALLSITEBIN) \
-		$(INST_SCRIPT) $(INSTALLSITEBIN) \
-		$(INST_MAN1DIR) $(INSTALLSITEMAN1DIR) \
-		$(INST_MAN3DIR) $(INSTALLSITEMAN3DIR)
-	@$(WARN_IF_OLD_PACKLIST) \
-		$(PERL_ARCHLIB)/auto/$(FULLEXT)
-
-
-pure_vendor_install ::
-	@umask 022; $(MOD_INSTALL) \
-		$(INST_LIB) $(INSTALLVENDORLIB) \
-		$(INST_ARCHLIB) $(INSTALLVENDORARCH) \
-		$(INST_BIN) $(INSTALLBIN) \
-		$(INST_SCRIPT) $(INSTALLSCRIPT) \
-		$(INST_MAN1DIR) $(INSTALLMAN1DIR) \
-		$(INST_MAN3DIR) $(INSTALLMAN3DIR)
-
-doc_perl_install ::
-	@echo Appending installation info to $(INSTALLARCHLIB)/perllocal.pod
-	- at umask 022; $(MKPATH) $(INSTALLARCHLIB)
-	- at umask 022; $(DOC_INSTALL) \
-		"Module" "$(NAME)" \
-		"installed into" "$(INSTALLPRIVLIB)" \
-		LINKTYPE "$(LINKTYPE)" \
-		VERSION "$(VERSION)" \
-		EXE_FILES "$(EXE_FILES)" \
-		>> $(INSTALLARCHLIB)/perllocal.pod
-
-doc_site_install ::
-	@echo Appending installation info to $(INSTALLSITEARCH)/perllocal.pod
-	- at umask 02; $(MKPATH) $(INSTALLSITEARCH)
-	- at umask 02; $(DOC_INSTALL) \
-		"Module" "$(NAME)" \
-		"installed into" "$(INSTALLSITELIB)" \
-		LINKTYPE "$(LINKTYPE)" \
-		VERSION "$(VERSION)" \
-		EXE_FILES "$(EXE_FILES)" \
-		>> $(INSTALLSITEARCH)/perllocal.pod
-
-doc_vendor_install ::
-
-
-uninstall :: uninstall_from_$(INSTALLDIRS)dirs
-
-uninstall_from_perldirs ::
-	@$(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
-
-uninstall_from_sitedirs ::
-	@$(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
-
-
-# --- MakeMaker force section:
-# Phony target to force checking subdirectories.
-FORCE:
-	@$(NOOP)
-
-
-# --- MakeMaker perldepend section:
-
-
-# --- MakeMaker makefile section:
-
-# We take a very conservative approach here, but it\'s worth it.
-# We move Makefile to Makefile.old here to avoid gnu make looping.
-Makefile : Makefile.PL $(CONFIGDEP)
-	@echo "Makefile out-of-date with respect to $?"
-	@echo "Cleaning current config before rebuilding Makefile..."
-	-@$(RM_F) Makefile.old
-	-@$(MV) Makefile Makefile.old
-	-$(MAKE) -f Makefile.old clean $(DEV_NULL) || $(NOOP)
-	$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL "INSTALLDIRS=vendor"
-	@echo "==> Your Makefile has been rebuilt. <=="
-	@echo "==> Please rerun the make command.  <=="
-	false
-
-# To change behavior to :: would be nice, but would break Tk b9.02
-# so you find such a warning below the dist target.
-#Makefile :: $(VERSION_FROM)
-#	@echo "Warning: Makefile possibly out of date with $(VERSION_FROM)"
-
-
-# --- MakeMaker staticmake section:
-
-# --- MakeMaker makeaperl section ---
-MAP_TARGET    = perl
-FULLPERL      = /usr/bin/perl
-
-$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
-	$(MAKE) -f $(MAKE_APERL_FILE) $@
-
-$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
-	@echo Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
-	@$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
-		Makefile.PL DIR= \
-		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
-		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \
-		INSTALLDIRS=vendor
-
-
-# --- MakeMaker test section:
-
-TEST_VERBOSE=0
-TEST_TYPE=test_$(LINKTYPE)
-TEST_FILE = test.pl
-TEST_FILES = t/*.t
-TESTDB_SW = -d
-
-testdb :: testdb_$(LINKTYPE)
-
-test :: $(TEST_TYPE)
-
-test_dynamic :: pure_all
-	PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' $(TEST_FILES)
-	PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
-
-testdb_dynamic :: pure_all
-	PERL_DL_NONLAZY=1 $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
-
-test_ : test_dynamic
-
-test_static :: test_dynamic
-testdb_static :: testdb_dynamic
-
-
-# --- MakeMaker ppd section:
-# Creates a PPD (Perl Package Description) for a binary distribution.
-ppd:
-	@$(PERL) -e "print qq{<SOFTPKG NAME=\"File-Tail\" VERSION=\"0,98,0,0\">\n}. qq{\t<TITLE>File-Tail</TITLE>\n}. qq{\t<ABSTRACT></ABSTRACT>\n}. qq{\t<AUTHOR></AUTHOR>\n}. qq{\t<IMPLEMENTATION>\n}. qq{\t\t<DEPENDENCY NAME=\"File-stat\" VERSION=\"0,0,0,0\" />\n}. qq{\t\t<DEPENDENCY NAME=\"FileHandle\" VERSION=\"0,0,0,0\" />\n}. qq{\t\t<DEPENDENCY NAME=\"IO-Seekable\" VERSION=\"0,0,0,0\" />\n}. qq{\t\t<DEPENDENCY NAME=\"Time-HiRes\" VERSION=\"1,12,0,0\" />\n}. qq{\t\t<OS NAME=\"$(OSNAME)\" /> [...]
-
-# --- MakeMaker pm_to_blib section:
-
-pm_to_blib: $(TO_INST_PM)
-	@$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
-	"-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
-        -e "pm_to_blib({qw{$(PM_TO_BLIB)}},'$(INST_LIB)/auto','$(PM_FILTER)')"
-	@$(TOUCH) $@
-
-
-# --- MakeMaker selfdocument section:
-
-
-# --- MakeMaker postamble section:
-
-
-# End.
diff --git a/Tail.pm b/Tail.pm
index f3d3b9f..5504bb1 100644
--- a/Tail.pm
+++ b/Tail.pm
@@ -5,7 +5,7 @@ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
 
 require Exporter;
 
- at ISA = qw(Exporter);
+ at ISA = qw(Exporter AutoLoader);
 # Items to export into callers namespace by default. Note: do not export
 # names by default without a very good reason. Use EXPORT_OK instead.
 # Do not simply export all your public functions/methods/constants.
@@ -695,36 +695,35 @@ If you want to read tails from multiple files, use select.
 
 =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>.
 
diff --git a/debian/changelog b/debian/changelog
index 359324a..58501b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,22 @@
+libfile-tail-perl (0.98-5) unstable; urgency=low
+
+  * Added cdbs to build depends. (Closes: #252417)
+
+ -- Scott M. Dier <sdier at debian.org>  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 <sdier at debian.org>  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 <sdier at debian.org>  Tue, 20 Aug 2002 17:20:30 -0500
+
 libfile-tail-perl (0.98-2) unstable; urgency=low
 
   * Forgot to make the Arch: all.
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
index e0e9049..59a508d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libfile-tail-perl
 Section: interpreters
 Priority: optional
 Maintainer: Scott M. Dier <sdier at debian.org>
-Build-Depends: debhelper (>> 3.0.0), perl (>= 5.6.0-16), libtime-hires-perl
+Build-Depends: debhelper (>> 3.0.0), perl (>= 5.6.0-16), libtime-hires-perl, cdbs
 Standards-Version: 3.5.2
 
 Package: libfile-tail-perl
diff --git a/debian/copyright b/debian/copyright
index 0571956..0681fc4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -12,3 +12,5 @@ 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
diff --git a/debian/patches/010_pod_changes.patch b/debian/patches/010_pod_changes.patch
new file mode 100644
index 0000000..a7bd119
--- /dev/null
+++ b/debian/patches/010_pod_changes.patch
@@ -0,0 +1,49 @@
+--- Tail.pm.debug.old	2004-06-01 13:37:38.000000000 -0500
++++ Tail.pm.debug	2004-06-01 13:42:47.000000000 -0500
+@@ -695,36 +695,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>.
+ 
diff --git a/debian/rules b/debian/rules
index 94a7d27..2b421e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,81 +1,5 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	perl Makefile.PL INSTALLDIRS=vendor
-
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE) OPTIMIZE="-02 -g -Wall"
-	#/usr/bin/docbook-to-man debian/libfile-tail-perl.sgml > libfile-tail-perl.1
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/libfile-tail-perl.
-	$(MAKE) install PREFIX=$(CURDIR)/debian/libfile-tail-perl/usr
-
-
-# Build architecture-dependent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-#	dh_installdebconf	
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep 
-.PHONY: build clean binary-indep binary install configure
+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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-tail-perl.git



More information about the Pkg-perl-cvs-commits mailing list