--- libunix-syslog-perl-1.1.orig/debian/README.cdbs-tweaks +++ libunix-syslog-perl-1.1/debian/README.cdbs-tweaks @@ -0,0 +1,111 @@ +CDBS tweak +========== + +CDBS is great. In some corner cases, however, some parts of CDBS +sometimes needs a few tweaks to work optimally. + +This is a collection of such tweaks. The goal is for these tweaks to be +absorbed into upstream CDBS. We just haven't found time yet to discuss +them at the CDBS developers' mailinglist. And possible we do not all +agree that the tweaks are so great - therefore this "staging area". + +If you found this file below debian/ subdir in a source package, most +probably only a subset of the below mentioned tweaks are relevant and +have been shipped with the package. The repository of all these tweaks +is here: svn://svn.debian.org/build-common/people/js/overlay/ + +Web access: http://svn.debian.org/wsvn/build-common/people/js/overlay/ + + + +New buildinfo rule +------------------ + +See package description for "buildinfo" for more info. + + + +Improved support for multiple compilations +------------------------------------------ + +Create and clean builddir _after_ resolving per-package DEB_BUILDDIR. + +Honour per-package DEB_BUILDDIR in makefile and autotools classes. + +Support multiple build flavors in makefile and autotools classes. + + + +Various improvements to python-distutils class +---------------------------------------------- + +Use full path to Python interpreter (Python Policy section 1.3.2). + +Add CDBS_BUILD_DEPENDS to old policy method. + +Fix CDBS_BUILD_DEPENDS in new policy methods to only depend on debhelper +when actually used. + +Fix DEB_PYTHON_SIMPLE_PACKAGES sometimes installed twice (and only one +of them honouring DEB_PYTHON_COMPILE_VERSION). + +Unify install path using new DEB_PYTHON_DESTDIR. + +Quote install path. + + + +New python-autotools class +-------------------------- + +Handle autotools-based Python packaging. + + + +New python-sugar class +---------------------- + +Handle packaging of Sugar activities. + + + +New copyright-check rule +------------------------ + +Refuse to build if the source is found to contain different copyright +info than earlier builds. + + + +New kernelpatches rule +---------------------- + +Small wrapper around dh-kpatches, taking care of build-dependencies too. + + + +New routines for handling upstream tarball +------------------------------------------ + +Rules and variables to help downloading, validating and repackaging +upstream tarball. + +Implements the rules print-version and get-orig-source commonly used +for group-maintained packages with Debian-specific patches maintained in +SVN or some other VCS, and automated fetching virgin upstream tarball +(possibly massaged after download e.g. to strip non-DFSG material). + + + +Support for custom BTS info +--------------------------- + +Include BTS control info found in debian/*.bts files, or alternatively +redirect bug reports to the email address defined in DEB_BTS_EMAIL. + + + +New dict class +-------------- + +Rules for packaging ispell, aspell, myspell and wordlist dictionaries. --- libunix-syslog-perl-1.1.orig/debian/cdbs/1/rules/buildinfo.mk +++ libunix-syslog-perl-1.1/debian/cdbs/1/rules/buildinfo.mk @@ -0,0 +1,40 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2004-2006 Jonas Smedegaard +# Description: Generate and include build information +# +# 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, 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_buildinfo +_cdbs_rules_buildinfo = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo + +common-install-arch common-install-indep:: debian/stamp-buildinfo + +debian/stamp-buildinfo: + dh_buildinfo + touch debian/stamp-buildinfo + +clean:: + rm -f debian/stamp-buildinfo + +endif --- libunix-syslog-perl-1.1.orig/debian/cdbs/1/rules/copyright-check.mk +++ libunix-syslog-perl-1.1/debian/cdbs/1/rules/copyright-check.mk @@ -0,0 +1,97 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2008 Jonas Smedegaard +# Description: Check for changes to copyright notices in source +# +# 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, 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_copyright-check +_cdbs_rules_copyright-check := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7) + +# Set to yes to fail on changed/new hints are found +#DEB_COPYRIGHT_CHECK_STRICT := yes + +# Single regular expression for files to include or ignore +DEB_COPYRIGHT_CHECK_REGEX = .* +DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$ + +pre-build:: debian/stamp-copyright-check + +debian/stamp-copyright-check: + @echo 'Scanning upstream source for new/changed copyright notices (except debian subdir!)...' + +# Perl in shell in make requires extra care: +# * Single-quoting ('...') protects against shell expansion +# * Double-dollar ($$) expands to plain dollar ($) in make + licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \ + | LC_ALL=C perl -e \ + '$$n=0; while (<>) {'\ + ' s/[^[:print:]]//g;'\ + ' if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\ + ' $$files[$$n]{name}=$$1;'\ + ' $$files[$$n]{license}=$$2;'\ + ' };'\ + ' if (/^\s*\[Copyright:\s*(\S.*?)\s*\]/) {'\ + ' $$files[$$n]{copyright}=$$1;'\ + ' };'\ + ' /^$$/ and $$n++;'\ + '};'\ + 'foreach $$file (@files) {'\ + ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\ + ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\ + ' $$file->{copyright} =~ s/(?<=(\b\d{4}))(?{$$y=$$^N})\s*[,-]\s*((??{$$y+1}))\b/-$$2/g;'\ + ' $$file->{copyright} =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;'\ + ' $$pattern = "$$file->{license} [$$file->{copyright}]";'\ + ' push @{ $$patternfiles{"$$pattern"} }, $$file->{name};'\ + '};'\ + 'foreach $$pattern ( sort {'\ + ' @{$$patternfiles{$$b}} <=> @{$$patternfiles{$$a}}'\ + ' ||'\ + ' $$a cmp $$b'\ + ' } keys %patternfiles ) {'\ + ' print "$$pattern: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\ + '};'\ + > debian/copyright_newhints + @patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \ + echo "Found $$patterncount different copyright and licensing combinations." + @if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi + @newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \ + if [ -n "$$newstrings" ]; then \ + echo "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \ + echo; \ + echo "$$newstrings"; \ + echo; \ + echo "To fix the situation please do the following:"; \ + echo " 1) Investigate the above changes and update debian/copyright as needed"; \ + echo " 2) Replace debian/copyright_hints with debian/copyright_newhints"; \ + $(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \ + else \ + echo 'No new copyright notices found - assuming no news is good news...'; \ + rm -f debian/copyright_newhints; \ + fi + touch $@ + +clean:: + rm -f debian/stamp-copyright-check + +endif --- libunix-syslog-perl-1.1.orig/debian/cdbs/1/rules/upstream-tarball.mk +++ libunix-syslog-perl-1.1/debian/cdbs/1/rules/upstream-tarball.mk @@ -0,0 +1,139 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2007-2008 Jonas Smedegaard +# Description: Convenience rules for dealing with upstream tarballs +# +# 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, 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_upstream_tarball +_cdbs_rules_upstream_tarball := 1 + +include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.39) + +# Prefix for upstream location of all upstream tarballs (mandatory!) +#DEB_UPSTREAM_URL = + +DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE) +DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_VERSION:$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)=),$(DEB_UPSTREAM_VERSION)) +DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz +# Checksum to ensure integrity of downloadeds using get-orig-source (optional) +#DEB_UPSTREAM_TARBALL_MD5 = + +DEB_UPSTREAM_WORKDIR = ../tarballs + +# Perl regexp to change locally used string into that in upstream URL and srcdir +#DEB_UPSTREAM_TARBALL_VERSION_MANGLE +cdbs_upstream_tarball_version_mangled = $(if $(strip $(DEB_UPSTREAM_TARBALL_VERSION_MANGLE)),$(shell echo '$(DEB_UPSTREAM_TARBALL_VERSION)' | perl -pe '$(DEB_UPSTREAM_TARBALL_VERSION_MANGLE)'),$(DEB_UPSTREAM_TARBALL_VERSION)) + +# Base filename (without extension) as used in upstream URL +DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(cdbs_upstream_tarball_version_mangled) + +# Base directory within tarball +DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_PACKAGE)-$(cdbs_upstream_tarball_version_mangled) + +# Space-delimited list of directories and files to strip (optional) +#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt +DEB_UPSTREAM_REPACKAGE_TAG = dfsg +DEB_UPSTREAM_REPACKAGE_DELIMITER = ~ + +cdbs_upstream_tarball = $(DEB_UPSTREAM_TARBALL_BASENAME).$(DEB_UPSTREAM_TARBALL_EXTENSION) +cdbs_upstream_local_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION)) +cdbs_upstream_repackaged_basename = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION)$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG).orig +cdbs_upstream_uncompressed_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.tar + +# # These variables are deprecated +_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL +_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES +DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES) + +print-version: + @@echo "Debian version: $(DEB_VERSION)" + @@echo "Upstream version: $(DEB_UPSTREAM_TARBALL_VERSION)" + +get-orig-source: + @@dh_testdir + @@mkdir -p "$(DEB_UPSTREAM_WORKDIR)" + + @if [ ! -s "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \ + if [ -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \ + rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \ + fi ; \ + echo "Downloading $(cdbs_upstream_local_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \ + wget -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \ + else \ + echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \ + fi + + @md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" | sed -e 's/ .*//'`; \ + if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \ + echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \ + echo "Purging downloaded file. Try new download." ; \ + rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \ + false ; \ + else \ + echo "Upstream tarball is trusted!" ; \ + fi; \ + else \ + echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \ + fi + +# TODO: Rewrite using make variables like cdbs_upstream_unpack_cmd and +# DEB_UPSTREAM_SUPPORTED_COMPRESSIONS (recent dpkg supports bz2) + @untar="tar -x -C"; \ + case "$(cdbs_upstream_local_tarball)" in \ + *.tar.gz) unpack="gunzip -c";; \ + *.tar.bz2) unpack="bunzip2 -c"; uncompress="bunzip2";; \ + *.tar.Z) unpack="uncompress -c"; uncompress="uncompress";; \ + *.zip) unpack="unzip -q"; uncompress="false"; untar="-d"; nopipe="true";; \ + *.tar) unpack="cat"; uncompress="true";; \ + *) echo "Unknown extension for upstream tarball $(cdbs_upstream_local_tarball)"; false;; \ + esac && \ + if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ] || [ "$$uncompress" = "false" ]; then \ + echo "Repackaging tarball ..." && \ + mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \ + if [ -n "$$nopipe" ]; then \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \ + $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \ + else \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \ + | $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \ + fi && \ + if [ "$(DEB_UPSTREAM_TARBALL_SRCDIR)" != "$(cdbs_upstream_repackaged_basename)" ]; then \ + mv -T "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(DEB_UPSTREAM_TARBALL_SRCDIR)" "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(cdbs_upstream_repackaged_basename)"; \ + fi && \ + if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ]; then \ + GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_repackaged_basename).tar.gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_repackaged_basename)"; \ + else \ + GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball).gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_repackaged_basename)"; \ + fi && \ + echo "Cleaning up" && \ + rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \ + elif [ -n "$$uncompress" ]; then \ + echo "Recompressing tarball ..." && \ + $$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)"; \ + gzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball)"; \ + fi + +DEB_PHONY_RULES += print-version get-orig-source + +endif --- libunix-syslog-perl-1.1.orig/debian/changelog +++ libunix-syslog-perl-1.1/debian/changelog @@ -0,0 +1,232 @@ +libunix-syslog-perl (1.1-2build7) xenial; urgency=medium + + * Rebuild for Perl 5.22.1. + + -- Colin Watson Thu, 17 Dec 2015 16:23:36 +0000 + +libunix-syslog-perl (1.1-2build6) utopic; urgency=medium + + * Rebuild for Perl 5.20.0. + + -- Colin Watson Tue, 19 Aug 2014 20:31:15 +0100 + +libunix-syslog-perl (1.1-2build5) trusty; urgency=low + + * Rebuild for Perl 5.18. + + -- Colin Watson Mon, 21 Oct 2013 11:08:32 +0100 + +libunix-syslog-perl (1.1-2build4) quantal; urgency=low + + * Rebuild for new armel compiler default of ARMv5t. + + -- Colin Watson Fri, 05 Oct 2012 09:42:47 +0100 + +libunix-syslog-perl (1.1-2build3) precise; urgency=low + + * Rebuild for Perl 5.14. + + -- Colin Watson Tue, 15 Nov 2011 20:20:48 +0000 + +libunix-syslog-perl (1.1-2build2) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Sat, 07 May 2011 02:14:11 +0100 + +libunix-syslog-perl (1.1-2build1) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sun, 07 Mar 2010 00:54:52 +0100 + +libunix-syslog-perl (1.1-2) unstable; urgency=medium + + * Depend on ${misc:Depends}. + * Update tarball md5sum hint in debian/rules. + * Update Vcs-* fields in debian/control(.in) to point to Perl group. + * Update local cdbs tweaks: + + Strip non-printable chars from copyright-check.mk output. + + Relax copyright-check.mk to only warn by default. Closes: + bug#487058, thanks to Lucas Nussbaum. + + Fix update-tarball.mk wget options to work with recent wget. + + Simplify dependency cleanup slightly (quilt isn't in use here). + + Mirror debian/control uploaders changes to debian/control.in. + * Update debian/copyright-hints. + * Bump debhelper compatibility level to 6. + * Semi-auto-update debian/control to update build-dependencies: + DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean + * Set urgency=medium due to FTBFS bugfix. + + -- Jonas Smedegaard Sun, 29 jun 2008 11:18:01 +0200 + +libunix-syslog-perl (1.1-1) unstable; urgency=low + + [ Gunnar Wolf ] + + * Added myself to uploaders + * New upstream release + + [ Jonas Smedegaard ] + + * Bump debhelper compat level and build-dependency to version 5. + * Semi-auto-update debian/control to apply changes contained in the above: + DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean + + -- Gunnar Wolf Sun, 25 May 2008 14:50:15 -0500 + +libunix-syslog-perl (1.0-2) unstable; urgency=low + + * Fix multi-lined copyright microformat in debian/copyright. + * Update debian/copyright: Debian Perl Team holds copyright for Debian + packaging in 2008. + * Pass over maintenance of the package to the Perl group: Change Maintainer, + and add myself to Uploaders. + * Update debian/watch: + + Use svn-upgrade (not uupdate). + + Use by-dist upstream URL. + * Bump up standards-version to 3.7.3 (no changes needed). + * Update local cdbs snippets: + + Major improvements to update-tarball (but none of them affecting this + current packaging). + + Major improvements to copyright-check, including new versioned + build-dependency on devscripts. Update debian/copyright_hints. + + Drop buildcore.mk override. Set DEB_AUTO_UPDATE_DEBIAN_CONTROL directly + instead when needed. + + Update debian/README.cdbs-tweaks to no longer mention buildcore.mk + override. + * Semi-auto-update debian/control to apply changes contained in the above: + DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean + + -- Jonas Smedegaard Wed, 19 Mar 2008 02:41:25 +0100 + +libunix-syslog-perl (1.0-1) unstable; urgency=low + + * New upstream release. + * Add Vcs-Svn and Vcs-Browser fields to debian/control. + * Move Homepage to own field (from pseudo-field in long description). + * Update local cdbs tweaks: + + Make sure buildinfo runs only once. + + Add new upstream-tarball.mk to implement get-orig-source and more. + + Overload buildcore.mk (instead of separate auto-update.mk). + + Check copyrights in prebuild (in clean it may choke on not yet + cleaned stuff), and make sure it runs only once. + + List non-binary files affected if discovering new copyrights. + + Add documentation to source as debian/README.cdbs-tweaks. + + Have buildinfo.mk depend on buildcore.mk. + * Update debian/copyright_hints + + Year 2007 added. + + License changed to Artistic License 2.0 (from Artistic License). + * Rewrite debian/copyright: + + Conform to proposed new format at + http://wiki.debian.org/Proposals/CopyrightFormat . + + Include the full contents of Artistic License 2.0. + + Drop obsolete comment on alternate location for newest source. + + Credit Graeme Mathieson for initially packaging for Debian. + * Drop superfluous search.cpan.org URL in watch file (but keep + alternate author URL, in case a newer version again shows up only + there). + * Cleanup duplicate cdbs build-dependency in debian/rules. + * Semi-auto-update debian/control: + DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build + + -- Jonas Smedegaard Fri, 12 Oct 2007 00:07:19 +0200 + +libunix-syslog-perl (0.100-5) unstable; urgency=low + + * Add Homepage hint to long description. + * Improve watch file: + + Bump to version 3. + + Tighten regexp: allow only digits, and escape dots in extensions. + + Add search pattern based on search.cpan.org/dist/ (in addition to + www.cpan.org/modules/by-module/ .../modules/by-author). + + Put search.cpan.org first (qa.debian.org use first entry). + * Improve cdbs tweaks: + + Add local snippet copyright-check.mk: Scan source for (c) changes. + + Add local snippet auto-update.mk: Enable auto-update feature. + + Add local snippet buildinfo.mk: Include env info with binary pkgs. + * No longer invoke buildinfo directly in debian/rules (done in cdbs). + * Bump to standards-version 3.7.2. + + -- Jonas Smedegaard Sat, 12 Aug 2006 19:35:15 +0200 + +libunix-syslog-perl (0.100-4) unstable; urgency=low + + * Arrgh - a debian/rules file of only 4 lines (thanks to cdbs) and I + still manage to make an arror...: Properly include dh-buildinfo. + * Tighten build-dependency on debhelper to please linda. + + -- Jonas Smedegaard Sun, 5 Sep 2004 21:16:21 +0200 + +libunix-syslog-perl (0.100-3) unstable; urgency=low + + * Repackaged using cdbs, and dh-buildinfo. + * Cleaned up debian/copyright: + + Replace info contained in changelog with note on "GNU systems". + + Mention "licensing info" together with copyright. + * Standards-version 3.6.1 (no changes needed). + * Rewrite watch file: + + Look for Unix-Syslog-. + + Include both default location and the one with newest version + (let's see how qa.debian.org handles that). + + -- Jonas Smedegaard Sun, 5 Sep 2004 20:44:32 +0200 + +libunix-syslog-perl (0.100-2) unstable; urgency=low + + * Adopt package (thanks, Graeme). + * Remove noise at end of this changelog. + * Change section to perl. + * Rewrite debian/copyright: + + Quote upstream copyright verbatim. + + Reorder topics to be similar to most other pckages. + + Add link to current version of the library. + * Lower build-dependency on perl as described in perl-policy 3.3 to + allow building on woody (closes: Bug#158724 - nevertheless). + * Switch debhelper hint from DH_COMPAT to debian/compat, and use v4. + * Change DEB_BUILD_OPTIONS to support noopt, and always compile with + -g. + * Remove unneeded cruft in debian/rules. + * Declare compliance with version 3.5.9 of Debian Policy. + + -- Jonas Smedegaard Wed, 23 Apr 2003 21:07:36 +0200 + +libunix-syslog-perl (0.100-1) unstable; urgency=low + + * New upstream release. + + -- Graeme Mathieson Sun, 29 Sep 2002 14:43:12 +0100 + +libunix-syslog-perl (0.98-1.1) unstable; urgency=low + + * NMU for perl 5.8. + * Bump perl build-dependency to >= 5.8.0-7 (closes: #158724). + + -- Colin Watson Sat, 31 Aug 2002 01:17:39 +0100 + +libunix-syslog-perl (0.98-1) unstable; urgency=low + + * New upstream release. + * Changed the maintainer's address. + + -- Graeme Mathieson Mon, 4 Feb 2002 04:55:03 +0000 + +libunix-syslog-perl (0.97-1) unstable; urgency=low + + * New upstream release. + * Added a watch file for uscan. + + -- Graeme Mathieson Wed, 12 Dec 2001 07:59:36 +0000 + +libunix-syslog-perl (0.96-1) unstable; urgency=low + + * New upstream release. + + -- Graeme Mathieson Thu, 22 Nov 2001 17:54:42 +0000 + +libunix-syslog-perl (0.95-1) unstable; urgency=low + + * Initial Release. + + -- Graeme Mathieson Thu, 23 Jul 2001 13:17:11 +0100 --- libunix-syslog-perl-1.1.orig/debian/compat +++ libunix-syslog-perl-1.1/debian/compat @@ -0,0 +1 @@ +6 --- libunix-syslog-perl-1.1.orig/debian/control +++ libunix-syslog-perl-1.1/debian/control @@ -0,0 +1,19 @@ +Source: libunix-syslog-perl +Section: perl +Priority: optional +Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), dh-buildinfo, debhelper (>= 5.0.44), perl (>= 5.6.0-16) +Maintainer: Debian Perl Group +Uploaders: Jonas Smedegaard , Gunnar Wolf +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libunix-syslog-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libunix-syslog-perl/ +Homepage: http://search.cpan.org/dist/Unix-Syslog/ + +Package: libunix-syslog-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Perl interface to the UNIX syslog(3) calls + This module provides an interface to the system logger syslogd(8) via + Perl's XSUBs. The implementation attempts to resemble the native + libc-functions of your system, so that anyone being familiar with + syslog.h should be able to use this module right away. --- libunix-syslog-perl-1.1.orig/debian/control.in +++ libunix-syslog-perl-1.1/debian/control.in @@ -0,0 +1,19 @@ +Source: libunix-syslog-perl +Section: perl +Priority: optional +Build-Depends: @cdbs@ +Maintainer: Debian Perl Group +Uploaders: Jonas Smedegaard , Gunnar Wolf +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libunix-syslog-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libunix-syslog-perl/ +Homepage: http://search.cpan.org/dist/Unix-Syslog/ + +Package: libunix-syslog-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Perl interface to the UNIX syslog(3) calls + This module provides an interface to the system logger syslogd(8) via + Perl's XSUBs. The implementation attempts to resemble the native + libc-functions of your system, so that anyone being familiar with + syslog.h should be able to use this module right away. --- libunix-syslog-perl-1.1.orig/debian/copyright +++ libunix-syslog-perl-1.1/debian/copyright @@ -0,0 +1,226 @@ +This is Unix::Syslog Perl module packaged for Debian GNU systems. + +Upstream author: Marcus Harnisch + +Upstream source: http://www.cpan.org/modules/by-module/Unix/ + +Files: debian/* +Copyright: © 2001-2002 Graeme Mathieson + © 2003-2007 Jonas Smedegaard + © 2008 Debian Perl Group +License: The Debian packaging information is under the GPL, version 2 or + later + +Files: * +Copyright: © 1999,2000,2001,2002,2007 Marcus Harnisch +License: Artistic-2.0 + Copyright (c) 1999,2000,2001,2002,2007 Marcus Harnisch + . + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License 2.0 (see file Artistic in + this directory). + + The Artistic License 2.0 + . + Copyright (c) 2000-2006, The Perl Foundation. + . + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + . + Preamble + . + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + . + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + . + Definitions + . + "Copyright Holder" means the individual(s) or organization(s) + named in the copyright notice for the entire Package. + . + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + . + "You" and "your" means any person who would like to copy, + distribute, or modify the Package. + . + "Package" means the collection of files distributed by the + Copyright Holder, and derivatives of that collection and/or of + those files. A given Package may consist of either the Standard + Version, or a Modified Version. + . + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + . + "Distributor Fee" means any fee that you charge for Distributing + this Package or providing support for this Package to another + party. It does not mean licensing fees. + . + "Standard Version" refers to the Package if it has not been + modified, or has been modified only in ways explicitly requested + by the Copyright Holder. + . + "Modified Version" means the Package, if it has been changed, and + such changes were not explicitly requested by the Copyright + Holder. + . + "Original License" means this Artistic License as Distributed with + the Standard Version of the Package, in its current version or as + it may be modified by The Perl Foundation in the future. + . + "Source" form means the source code, documentation source, and + configuration files for the Package. + . + "Compiled" form means the compiled bytecode, object code, binary, + or any other form resulting from mechanical transformation or + translation of the Source form. + . + . + Permission for Use and Modification Without Distribution + . + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + . + . + Permissions for Redistribution of the Standard Version + . + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + . + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + . + . + Distribution of Modified Versions of the Package as Source + . + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + . + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that the + Copyright Holder may include your modifications in the Standard + Version. + . + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. In + addition, the Modified Version must bear a name that is different + from the name of the Standard Version. + . + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to others + under + . + (i) the Original License or + . + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the same + licensing terms that apply to the copy that the licensee + received, and requires that the Source form of the Modified + Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor + Fees are allowed. + . + . + Distribution of Compiled Forms of the Standard Version + or Modified Versions without the Source + . + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + . + (6) You may Distribute a Modified Version in Compiled form without + the Source, provided that you comply with Section 4 with respect to + the Source of the Modified Version. + . + . + Aggregating or Linking the Package + . + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + . + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + . + . + Items That are Not Considered Part of a Modified Version + . + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + . + . + General Provisions + . + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + . + (11) If your Modified Version has been derived from a Modified + Version made by someone other than you, you are nevertheless required + to ensure that your Modified Version complies with the requirements of + this license. + . + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + . + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + . + (14) Disclaimer of Warranty: + THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL + LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +On Debian systems, the complete text of the GNU General Public License +can be found in file "/usr/share/common-licenses/GPL". --- libunix-syslog-perl-1.1.orig/debian/copyright_hints +++ libunix-syslog-perl-1.1/debian/copyright_hints @@ -0,0 +1,9 @@ +*No copyright* UNKNOWN []: Changes + MANIFEST + META.yml + Makefile.PL + test.pl +UNKNOWN [1999-2002,2007 Marcus Harnisch ]: Syslog.pm + Syslog.xs +UNKNOWN [1999-2002,2007 Marcus Harnisch]: README +UNKNOWN [2000-2006, The Perl Foundation / Holder / Holder of a given Package. If the / Holder's / Holder maintains some artistic / Holder" means the individual(s) or organization(s) / Holder and seek / Holder, and derivatives of that collection and/or of]: Artistic --- libunix-syslog-perl-1.1.orig/debian/rules +++ libunix-syslog-perl-1.1/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003-2008 Jonas Smedegaard + +# See debian/README.cdbs-tweaks for info on local overrides +include debian/cdbs/1/rules/upstream-tarball.mk +include debian/cdbs/1/rules/copyright-check.mk +include debian/cdbs/1/rules/buildinfo.mk +include /usr/share/cdbs/1/rules/debhelper.mk +# Load perlmodule after debhelper to dh_clean temporary files not in MANIFEST +include /usr/share/cdbs/1/class/perlmodule.mk + +DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Unix +DEB_UPSTREAM_PACKAGE = Unix-Syslog +DEB_UPSTREAM_TARBALL_MD5 = 73d78e309fe9508ffc9a54d84d79aac9 + +# Fix double cdbs build-dependencies +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//') --- libunix-syslog-perl-1.1.orig/debian/watch +++ libunix-syslog-perl-1.1/debian/watch @@ -0,0 +1,4 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 +http://search.cpan.org/dist/Unix-Syslog/ \ + .*/Unix-Syslog-(\d.+).tar.gz debian svn-upgrade