--- liblog-dispatch-filerotate-perl-1.19.orig/debian/changelog +++ liblog-dispatch-filerotate-perl-1.19/debian/changelog @@ -0,0 +1,28 @@ +liblog-dispatch-filerotate-perl (1.19-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "Removal of obsolete debhelper compat 5 and 6 in bookworm": + Bump to 7 in debian/{compat,control}. + (Closes: #965659) + * Fix "missing required debian/rules targets build-arch and/or build- + indep": Add missing targets. + (Closes: #999205) + + -- gregor herrmann Sun, 26 Dec 2021 23:21:45 +0100 + +liblog-dispatch-filerotate-perl (1.19-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "missing (build) dependency on libparams-validate-perl": + add libparams-validate-perl to Build-Depends-Indep and Depends. + (Closes: #878550) + + -- gregor herrmann Tue, 01 May 2018 17:52:54 +0200 + +liblog-dispatch-filerotate-perl (1.19-1) unstable; urgency=low + + * Initial Release (Closes: #522105). + * remove temporary file log.conf in debian/rules clean: + * add patch to fix minor POD error in FileRotate.pm using quilt + + -- Matthias Schmitz Thu, 02 Apr 2009 18:46:12 +0200 --- liblog-dispatch-filerotate-perl-1.19.orig/debian/compat +++ liblog-dispatch-filerotate-perl-1.19/debian/compat @@ -0,0 +1 @@ +7 --- liblog-dispatch-filerotate-perl-1.19.orig/debian/control +++ liblog-dispatch-filerotate-perl-1.19/debian/control @@ -0,0 +1,18 @@ +Source: liblog-dispatch-filerotate-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), quilt +Build-Depends-Indep: perl (>= 5.6.10-12), liblog-log4perl-perl, libdate-manip-perl, liblog-dispatch-perl, libparams-validate-perl +Maintainer: Matthias Schmitz +Standards-Version: 3.8.1 +Homepage: http://search.cpan.org/dist/Log-Dispatch-FileRotate/ + +Package: liblog-dispatch-filerotate-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, liblog-log4perl-perl, libdate-manip-perl, liblog-dispatch-perl, libparams-validate-perl +Description: Log to files that archive/rotate themselves + This module provides a simple object for logging to files under the + Log::Dispatch::* system, and automatically rotating them according to + different constraints. This is basically a Log::Dispatch::File wrapper + with additions. + --- liblog-dispatch-filerotate-perl-1.19.orig/debian/copyright +++ liblog-dispatch-filerotate-perl-1.19/debian/copyright @@ -0,0 +1,39 @@ +This is the debian package for the Log-Dispatch-FileRotate module. +It was created by Matthias Schmitz using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/Log-Dispatch-FileRotate/ + +The upstream author is: + +Mark Pfeiffer, inspired by +Dave Rolsky's, , code :-) + +Kevin Goess suggested multiple writers should be +supported. He also conned me into doing the time based stuff. +Thanks Kevin! :-) + +Thanks also to Dan Waldheim for helping with some of the +locking issues in a forked environment. + +And thanks to Stephen Gordon for his more portable code on lockfile +naming.. + + +Copyright 2005-2006, Mark Pfeiffer + +This code may be copied only under the terms of the Artistic License or +GPL License which may be found in the Perl 5 source kit and on your system +in /usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/Artistic. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +The Debian packaging is (C) 2009, Matthias Schmitz and +is licensed under the same terms as the software itself (see above). --- liblog-dispatch-filerotate-perl-1.19.orig/debian/patches/0001-fix-minor-POD-error.patch +++ liblog-dispatch-filerotate-perl-1.19/debian/patches/0001-fix-minor-POD-error.patch @@ -0,0 +1,31 @@ +From: Matthias Schmitz +Date: Mon, 8 Jun 2009 15:54:38 +0200 +Subject: [PATCH] fix minor POD error + +--- + FileRotate.pm | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/FileRotate.pm b/FileRotate.pm +index 4036a1b..16f92b1 100644 +--- a/FileRotate.pm ++++ b/FileRotate.pm +@@ -798,6 +798,8 @@ except to quote (from the man page): + This method takes a hash of parameters. The following options are + valid: + ++=over 8 ++ + =item -- name ($) + + The name of the object (not the filename!). Required. +@@ -866,6 +868,8 @@ will only be applied to a given message once. + Turn on lots of warning messages to STDERR about what this module is + doing if set to 1. Really only useful to me. + ++=back ++ + =item * log_message( message => $ ) + + Sends a message to the appropriate output. Generally this shouldn't +-- --- liblog-dispatch-filerotate-perl-1.19.orig/debian/patches/series +++ liblog-dispatch-filerotate-perl-1.19/debian/patches/series @@ -0,0 +1 @@ +0001-fix-minor-POD-error.patch --- liblog-dispatch-filerotate-perl-1.19.orig/debian/rules +++ liblog-dispatch-filerotate-perl-1.19/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# 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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +include /usr/share/quilt/quilt.make + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: patch + dh_testdir + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + if [ -f log.conf ]; then rm log.conf; fi + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + # Add commands to install the package into $(TMP) here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +get-orig-source: + uscan --force-download + +.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install --- liblog-dispatch-filerotate-perl-1.19.orig/debian/watch +++ liblog-dispatch-filerotate-perl-1.19/debian/watch @@ -0,0 +1,5 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/Log-Dispatch-FileRotate/ .*/Log-Dispatch-FileRotate-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +#http://search.cpan.org/CPAN/authors/id/M/MA/MARKPF/ .*/Log-Dispatch-FileRotate-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$