r15294 - in /trunk/libconvert-uulib-perl/debian: ./ cdbs/ cdbs/1/ cdbs/1/rules/ patches/

js at users.alioth.debian.org js at users.alioth.debian.org
Thu Feb 21 00:06:18 UTC 2008


Author: js
Date: Thu Feb 21 00:06:16 2008
New Revision: 15294

URL: http://svn.debian.org/wsvn/?sc=1&rev=15294
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libconvert-uulib-perl/debian/
    trunk/libconvert-uulib-perl/debian/README.cdbs-tweaks
    trunk/libconvert-uulib-perl/debian/cdbs/
    trunk/libconvert-uulib-perl/debian/cdbs/1/
    trunk/libconvert-uulib-perl/debian/cdbs/1/rules/
    trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildcore.mk
    trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildinfo.mk
    trunk/libconvert-uulib-perl/debian/cdbs/1/rules/copyright-check.mk
    trunk/libconvert-uulib-perl/debian/cdbs/1/rules/upstream-tarball.mk
    trunk/libconvert-uulib-perl/debian/changelog
    trunk/libconvert-uulib-perl/debian/compat
    trunk/libconvert-uulib-perl/debian/control
    trunk/libconvert-uulib-perl/debian/control.in
    trunk/libconvert-uulib-perl/debian/copyright
    trunk/libconvert-uulib-perl/debian/copyright_hints
    trunk/libconvert-uulib-perl/debian/patches/
    trunk/libconvert-uulib-perl/debian/patches/2001_link_against_libuu-dev.patch
    trunk/libconvert-uulib-perl/debian/patches/2002_strip_stuff_not_in_libuu-dev.patch
    trunk/libconvert-uulib-perl/debian/patches/README
    trunk/libconvert-uulib-perl/debian/patches/series
    trunk/libconvert-uulib-perl/debian/rules   (with props)
    trunk/libconvert-uulib-perl/debian/watch

Added: trunk/libconvert-uulib-perl/debian/README.cdbs-tweaks
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/README.cdbs-tweaks?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/README.cdbs-tweaks (added)
+++ trunk/libconvert-uulib-perl/debian/README.cdbs-tweaks Thu Feb 21 00:06:16 2008
@@ -1,0 +1,113 @@
+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/
+
+
+
+Improved support for cdbs-autoupdate
+------------------------------------
+
+CDBS invented a cool way to help keep build-dependencies up-to-date.
+
+It is disabled by default, as messing with debian/rules at build time
+violates Debian Policy: A build must not change conditions for building.
+
+Some consider this CDBS feature evil.
+
+Some enable the feature within a package, and gets smacked by ftp-master
+or others (there's even a lintian check to complain about it now).
+
+This tweak enables the feature when the build environment contains the
+non-default hint "cdbs-autoupdate" in the DEB_BUILD_OPTIONS variable.
+
+
+
+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 class.
+
+
+
+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 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.

Added: trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildcore.mk
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildcore.mk?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildcore.mk (added)
+++ trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildcore.mk Thu Feb 21 00:06:16 2008
@@ -1,0 +1,30 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2006 Jonas Smedegaard <dr at jones.dk>
+# Description: Check for cdbs-autoupdate in DEB_BUILD_OPTIONS
+#
+# 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
+
+include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix)
+
+ifneq (,$(findstring cdbs-autoupdate,$(DEB_BUILD_OPTIONS)))
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
+endif
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)

Added: trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildinfo.mk
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildinfo.mk?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildinfo.mk (added)
+++ trunk/libconvert-uulib-perl/debian/cdbs/1/rules/buildinfo.mk Thu Feb 21 00:06:16 2008
@@ -1,0 +1,40 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2004-2006 Jonas Smedegaard <dr at jones.dk>
+# 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

Added: trunk/libconvert-uulib-perl/debian/cdbs/1/rules/copyright-check.mk
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/cdbs/1/rules/copyright-check.mk?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/cdbs/1/rules/copyright-check.mk (added)
+++ trunk/libconvert-uulib-perl/debian/cdbs/1/rules/copyright-check.mk Thu Feb 21 00:06:16 2008
@@ -1,0 +1,69 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2007 Jonas Smedegaard <dr at jones.dk>
+# 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.
+
+# TODO: Save scan as "file: match" (needs rewrite of main loop in perl)
+
+# TODO: Save scan as "file (license): match" (needs /usr/bin/licensecheck from kdesdk-scripts)
+
+_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_copyright-check_find_opts := -not -regex 'debian/.*' -not -regex '\(.*/\)?config\.\(guess\|sub\|rpath\)\(\..*\)?'
+cdbs_copyright-check_egrep_opts := --text -rih '(copyright|\(c\) ).*[0-9]{4}'
+
+pre-build:: debian/stamp-copyright-check
+
+debian/stamp-copyright-check:
+	@echo 'Scanning upstream source for new/changed copyright notices (except debian subdir!)...'
+	find * -type f $(cdbs_copyright-check_find_opts) -exec cat '{}' ';' \
+		| tr '\r' '\n' \
+		| LC_ALL=C sed -e 's/[^[:print:]]//g' \
+		| egrep $(cdbs_copyright-check_egrep_opts) \
+		| sed -e 's/^[[:space:]*#]*//' -e 's/[[:space:]]*$$//' \
+		| LC_ALL=C sort -u \
+		> debian/copyright_newhints
+	@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 "Error: The following new or changed copyright notices discovered:"; \
+			echo "$$newstrings"; \
+			echo "Trying to locate the files containing the new/changed copyright notices..."; \
+			echo "(Strings part of binary data you need to resolve yourself)"; \
+			find * -type f $(cdbs_copyright-check_find_opts) -exec grep -F -l -e "$$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"; \
+			exit 1; \
+		fi
+	
+	@echo 'No new copyright notices found - assuming no news is good news...'
+	rm -f debian/copyright_newhints
+	touch $@
+
+clean::
+	rm -f debian/stamp-copyright-check
+
+endif

Added: trunk/libconvert-uulib-perl/debian/cdbs/1/rules/upstream-tarball.mk
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/cdbs/1/rules/upstream-tarball.mk?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/cdbs/1/rules/upstream-tarball.mk (added)
+++ trunk/libconvert-uulib-perl/debian/cdbs/1/rules/upstream-tarball.mk Thu Feb 21 00:06:16 2008
@@ -1,0 +1,113 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2007 Jonas Smedegaard <dr at jones.dk>
+# 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)
+
+# 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_TAG)=),$(DEB_UPSTREAM_VERSION))
+DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_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
+
+# Base directory within tarball
+DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION)
+
+# 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
+
+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_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).$(DEB_UPSTREAM_REPACKAGE_TAG).orig.tar.gz
+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 -N -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
+
+	@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";; \
+	    *.tar)     unpack="cat";           uncompress="true";; \
+	    *) echo "Unknown extension for upstream tarball $(cdbs_upstream_local_tarball)"; false;; \
+	esac && \
+	if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ]; then \
+		echo "Repackaging tarball ..." && \
+		mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \
+		$$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \
+			| tar -x -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)) && \
+		GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_repackaged_tarball)" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(DEB_UPSTREAM_TARBALL_SRCDIR) && \
+		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)"; \
+		bzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball)"; \
+	fi
+
+DEB_PHONY_RULES += print-version get-orig-source
+
+endif

Added: trunk/libconvert-uulib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/changelog?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/changelog (added)
+++ trunk/libconvert-uulib-perl/debian/changelog Thu Feb 21 00:06:16 2008
@@ -1,0 +1,172 @@
+libconvert-uulib-perl (1.09-1) unstable; urgency=low
+
+  * New upstream release.
+  * Update CDBS tweaks:
+    + Replace auto-update.mk with overloading buildcore.mk.
+    + Fix applying buildinfo only once.
+    + Check copyright strings in pre-build (in clean target it cannot be
+      ensured to run last and thus false positives could occur).
+    + Add upstream-tarball.mk to implement get-orig-source target.
+    + Add debian/README.cdbs-tweaks to source and advertise it in
+      debian/rules.
+  * Drop version number from homepage in long description.
+  * Improve patch handling:
+    + Renumber patches to use 4-digit scheme.
+    + Document version scheme.
+    + Use patchsys-quilt.mk for patch handling.
+    + Explicitly disable the two existing patches, and document the
+      reasoning (upstream strongly discourages linking against libuu).
+    + Fix double build-dependencies in debian/rules.
+  * Semi-auto-update debian/control:
+      DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 12 Aug 2007 12:58:10 +0200
+
+libconvert-uulib-perl (1.06-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump standards-version to 3.7.2 (no changes needed).
+  * Advertise search.cpan.org as Homepage in long description.
+  * Bump watch file version and use uversionmangle to chop 3-digit minor
+    version into manageable pieces (1.051->1.05.1 is lower than 1.06).
+  * Add local cdbs snippet copyright-check.mk.
+  * Enable cdbs auto-update feature using local snippet auto-update.mk.
+  * Update local cdbs snippet buildinfo.mk to use correct namespace.
+  * Update debian/copyright, thanks to copyright-check.mk: uulib/crc32.c
+    has a BSD-style license. Adjust headlines to mention licensing info
+    (not only copyright).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 16 Jul 2006 21:11:26 +0200
+
+libconvert-uulib-perl (1.0.5.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sat, 26 Mar 2005 04:21:03 +0100
+
+libconvert-uulib-perl (1.0.3-2) unstable; urgency=high
+
+  * Fix watch file.
+  * Use generic (but unofficial) buildinfo cdbs snippet.
+  * Set urgency=high to hopefully get this into sarge in time (the
+    changes are small but valuable).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Thu,  4 Nov 2004 02:16:59 +0100
+
+libconvert-uulib-perl (1.0.3-1) unstable; urgency=high
+
+  * New upstream release.
+  * Upstream changelog asked to postpone widespread use of this release
+    until it either had "proved stable" or bugs in UUlib was proven to
+    also be in this package. I consider 4 months of no newer upstream
+    release as a proof of stability, and - sadly - it seems UUlib bugs
+    have also proven to be here: Hopefully this fixes Bug#268100
+    (failure unpacking files starting with :0:). Leaving bug open in the
+    BTS until verified, but setting urgency=high.
+  * Update watch file.
+  * Add comment to watch file hinting on its usage.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue,  4 May 2004 18:11:30 +0200
+
+libconvert-uulib-perl (1.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Remove Debian-specific notes in debian/changelog provided in
+    debian/changelog as well.
+  * Update debian/watch
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 28 Mar 2004 16:57:47 +0200
+
+libconvert-uulib-perl (1.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switch back to linking statically against self-provided uulib source
+    (instead of linking against libuu-dev), and drop build-dependence on
+    uulib-dev: Included uulib is actually a fork with valuable
+    enhancements compared to uulib in uudeview. This closes: Bug#223758.
+    Keep patches to link against uulib-dev, just in case...
+  * Add copyright and license notice (GPLv2 or later) of included uulib
+    to debian/copyright.
+  * The current forked uulib is believed to behave correctly. This
+    closes: Bug#212616 (if not then please reopen).
+  * According to upstream author, compiler warnings are intentional, and
+    bugreporter never provided details on the claimed runtime error, so
+    I choose to believe there are none. This closes: Bug#160069 (if not
+    then please reopen).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 24 Dec 2003 23:36:51 +0100
+
+libconvert-uulib-perl (0.310-2) unstable; urgency=low
+
+  * Link against libuu, and build-depend on libuu-dev.
+  * Build using cdbs.
+  * Standards-Version 3.6.1 (no changes needed).
+  * Build-depend on cdbs, and tighten build-dependency on debhelper.
+  * Hack UUlib.xs: Strip UUOPT_DOTDOT and UUSetFileNameCallback that is
+    gone in newest beta of uulib (hope it doesn't break anything...).
+  * Use (and build-depend on) dh-buildinfo.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 19 Oct 2003 20:25:57 +0200
+
+libconvert-uulib-perl (0.310-1) unstable; urgency=medium
+
+  * Adopting package (Thanks, Graeme).
+  * Remove trailing dot from short description to please lintian.
+  * Add TODO about dynamic linking against libuu-dev (requires changes
+    to the packaging of uudeview).
+  * Rewrite debian/copyright:
+    + Quote upstream copyright verbatim.
+    + Reorder topics to be similar to most other pckages.
+    + Drop mentioning the author of UUlib.
+  * Lower build-dependency on perl as described in perl-policy 3.3 to
+    allow building on woody.
+  * 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.
+  * Claim compliance with version 3.5.9 of Debian Policy.
+  * Acknowledge my own NMU (really closes: Bug#).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 23 Apr 2003 19:23:23 +0200
+
+libconvert-uulib-perl (0.310-0.1) unstable; urgency=medium
+
+  * NMU of newer upstream release (Closes: Bug#190199).
+  * Set urgency=medium as the release fixes to buffer overflows.
+  * Remove noise at end of this changelog.
+  * Change section to perl.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 23 Apr 2003 15:19:56 +0200
+
+libconvert-uulib-perl (0.212-1.1) unstable; urgency=low
+
+  * NMU for perl 5.8.
+  * Bump perl build-dependency to >= 5.8.0-7 (closes: #158723).
+
+ -- Colin Watson <cjwatson at debian.org>  Sat, 31 Aug 2002 02:17:41 +0100
+
+libconvert-uulib-perl (0.212-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Graeme Mathieson <mathie at wossname.org.uk>  Tue, 14 May 2002 14:25:35 +0100
+
+libconvert-uulib-perl (0.201-2) unstable; urgency=low
+
+  * Fix spelling mistake in the description. (Closes: #124923)
+  * Run the testsuite as part of the build. (Closes: #123858)
+  * Update maintainer's email address.
+
+ -- Graeme Mathieson <mathie at wossname.org.uk>  Mon,  4 Feb 2002 04:32:12 +0000
+
+libconvert-uulib-perl (0.201-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Graeme Mathieson <graeme at mathie.cx>  Thu, 22 Nov 2001 17:52:15 +0000
+
+libconvert-uulib-perl (0.111-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Graeme Mathieson <graeme at mathie.cx>  Tue, 19 Jun 2001 17:16:38 +0100

Added: trunk/libconvert-uulib-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/compat?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/compat (added)
+++ trunk/libconvert-uulib-perl/debian/compat Thu Feb 21 00:06:16 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libconvert-uulib-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/control?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/control (added)
+++ trunk/libconvert-uulib-perl/debian/control Thu Feb 21 00:06:16 2008
@@ -1,0 +1,22 @@
+Source: libconvert-uulib-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs (>= 0.4.27-1), quilt, patchutils (>= 0.2.25), dh-buildinfo, debhelper (>= 4.2.0), perl (>= 5.6.0-16)
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.7.2
+
+Package: libconvert-uulib-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: Perl interface to the uulib library (a.k.a. uudeview/uuenview)
+ Convert::UUlib is a versatile and powerful decoder/encoder library
+ for a variety of encodings used in Usenet and Mail (uuencode,
+ xxencode, b64, binhex...).
+ .
+ The library contains a variety of heuristics to reliably decode
+ any files found in the input files, whether part of a single
+ mail folder or spread over hundreds of files. Its two-pass
+ architecture makes it possible to decode hundreds of megabytes in
+ one sweep, without using much virtual memory.
+ .
+  Homepage: http://search.cpan.org/dist/Convert-UUlib/

Added: trunk/libconvert-uulib-perl/debian/control.in
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/control.in?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/control.in (added)
+++ trunk/libconvert-uulib-perl/debian/control.in Thu Feb 21 00:06:16 2008
@@ -1,0 +1,22 @@
+Source: libconvert-uulib-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.7.2
+
+Package: libconvert-uulib-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: Perl interface to the uulib library (a.k.a. uudeview/uuenview)
+ Convert::UUlib is a versatile and powerful decoder/encoder library
+ for a variety of encodings used in Usenet and Mail (uuencode,
+ xxencode, b64, binhex...).
+ .
+ The library contains a variety of heuristics to reliably decode
+ any files found in the input files, whether part of a single
+ mail folder or spread over hundreds of files. Its two-pass
+ architecture makes it possible to decode hundreds of megabytes in
+ one sweep, without using much virtual memory.
+ .
+  Homepage: http://search.cpan.org/dist/Convert-UUlib/

Added: trunk/libconvert-uulib-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/copyright?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/copyright (added)
+++ trunk/libconvert-uulib-perl/debian/copyright Thu Feb 21 00:06:16 2008
@@ -1,0 +1,65 @@
+This is the Perl module Convert::UUlib packaged for Debian GNU systems.
+
+Upstream author: Marc Lehmann <pcg at goof.com>
+
+Upstream source: http://www.cpan.org/modules/by-module/Convert/
+
+Copyright and licensing info, Perl library:
+
+ This interface is distributed under the same license as perl itself, i.e.
+ either the Artistic License (COPYING.Artistic) or the GPL (COPYING.GNU).
+
+ However, the uulib library itself (see the subdirectory uulib) is ONLY
+ distributed under the GENERAL PUBLIC LICENSE (COPYING.GNU). Depending on
+ how you link it together (normally static) this makes the whole package
+ fall under the GPL.
+
+ If you make modifications, please consider sending them to me,
+ Marc Lehmann <pcg at goof.com>
+
+Copyright and licensing info, most of uulib library:
+
+/*
+ * This file is part of uudeview, the simple and friendly multi-part multi-
+ * file uudecoder  program  (c) 1994-2001 by Frank Pilhofer. The author may
+ * be contacted at fp at fpx.de
+ *
+ * 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.
+ */
+
+
+Copyright and licensing info, uulib/crc32.c:
+
+  Copyright (C) 1995-1998 Mark Adler
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+  Jean-loup Gailly        Mark Adler
+  jloup at gzip.org          madler at alumni.caltech.edu
+
+
+
+On Debian GNU systems, the complete text of both the Artistic License and
+the GNU Public License can be found below `/usr/share/common-licenses/'.

Added: trunk/libconvert-uulib-perl/debian/copyright_hints
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/copyright_hints?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/copyright_hints (added)
+++ trunk/libconvert-uulib-perl/debian/copyright_hints Thu Feb 21 00:06:16 2008
@@ -1,0 +1,4 @@
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+Copyright (C) 1995-1998 Mark Adler
+file uudecoder  program  (c) 1994-2001 by Frank Pilhofer. The author may

Added: trunk/libconvert-uulib-perl/debian/patches/2001_link_against_libuu-dev.patch
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/patches/2001_link_against_libuu-dev.patch?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/patches/2001_link_against_libuu-dev.patch (added)
+++ trunk/libconvert-uulib-perl/debian/patches/2001_link_against_libuu-dev.patch Thu Feb 21 00:06:16 2008
@@ -1,0 +1,50 @@
+--- libconvert-uulib-perl-0.310.orig/Makefile.PL
++++ libconvert-uulib-perl-0.310/Makefile.PL
+@@ -1,22 +1,5 @@
+ use ExtUtils::MakeMaker;
+ 
+-sub MY::postamble {
+-    my $postamble =<<'END';
+-
+-uulib/Makefile:
+-	cd uulib && ./configure --with-cc="$(CC)" --with-cflags="$(CFLAGS) $(CCCDLFLAGS) $(OPTIMIZE)"
+-
+-clean::
+-	-cd uulib && make distclean
+-
+-force:
+-
+-$(MYEXTLIB): uulib/Makefile uulib/uulib.c force
+-	cd uulib && $(MAKE) all
+-
+-END
+-}
+-
+ WriteMakefile(
+     'dist'	=> {
+ 	            PREOP	=> 'pod2text UUlib.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ; chmod -R u=rwX,go=rX . ;',
+@@ -25,8 +8,7 @@
+ 	           },
+     'NAME'	=> 'Convert::UUlib',
+     'VERSION_FROM' => 'UUlib.pm',
+-    'MYEXTLIB'  => 'uulib/libuu$(LIB_EXT)',
+-    'LIBS'	=> [''],
++    'LIBS'	=> ['-luu'],
+     'DEFINE'	=> '',
+     'INC'	=> '',
+ );
+--- libconvert-uulib-perl-0.310.orig/UUlib.xs
++++ libconvert-uulib-perl-0.310/UUlib.xs
+@@ -2,9 +2,9 @@
+ #include "perl.h"
+ #include "XSUB.h"
+ 
+-#include "uulib/fptools.h"
+-#include "uulib/uudeview.h"
+-#include "uulib/uuint.h"
++#include <fptools.h>
++#include <uudeview.h>
++#include <uuint.h>
+ 
+ static int
+ not_here (char *s)

Added: trunk/libconvert-uulib-perl/debian/patches/2002_strip_stuff_not_in_libuu-dev.patch
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/patches/2002_strip_stuff_not_in_libuu-dev.patch?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/patches/2002_strip_stuff_not_in_libuu-dev.patch (added)
+++ trunk/libconvert-uulib-perl/debian/patches/2002_strip_stuff_not_in_libuu-dev.patch Thu Feb 21 00:06:16 2008
@@ -1,0 +1,23 @@
+--- libconvert-uulib-perl-0.310.orig/UUlib.xs
++++ libconvert-uulib-perl-0.310/UUlib.xs
+@@ -62,7 +62,6 @@
+ 	if (strEQ(name, "OPT_ENCEXT")) return UUOPT_ENCEXT;
+ 	if (strEQ(name, "OPT_REMOVE")) return UUOPT_REMOVE;
+ 	if (strEQ(name, "OPT_MOREMIME")) return UUOPT_MOREMIME;
+-	if (strEQ(name, "OPT_DOTDOT")) return UUOPT_DOTDOT;
+     case 'R':
+ 	if (strEQ(name, "RET_CANCEL")) return UURET_CANCEL;
+ 	if (strEQ(name, "RET_CONT")) return UURET_CONT;
+@@ -372,12 +371,6 @@
+ 	CODE:
+ 	UUSetFNameFilter (FUNC_CB(uu_fnamefilter));
+ 
+-void
+-UUSetFileNameCallback (func = 0)
+-	SV *	func
+-	CODE:
+-	UUSetFileNameCallback (FUNC_CB(uu_filename));
+-
+ char *
+ UUFNameFilter (fname)
+ 	char *	fname

Added: trunk/libconvert-uulib-perl/debian/patches/README
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/patches/README?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/patches/README (added)
+++ trunk/libconvert-uulib-perl/debian/patches/README Thu Feb 21 00:06:16 2008
@@ -1,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.

Added: trunk/libconvert-uulib-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/patches/series?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/patches/series (added)
+++ trunk/libconvert-uulib-perl/debian/patches/series Thu Feb 21 00:06:16 2008
@@ -1,0 +1,3 @@
+# Convert-UUlib upstream strongly discourages linking against official libuu.
+#2001_link_against_libuu-dev.patch
+#2002_strip_stuff_not_in_libuu-dev.patch

Added: trunk/libconvert-uulib-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/rules?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/rules (added)
+++ trunk/libconvert-uulib-perl/debian/rules Thu Feb 21 00:06:16 2008
@@ -1,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003-2007 Jonas Smedegaard <dr at jones.dk>
+
+# NB! Local CDBS tweaks in use. More info in README.cdbs-tweaks
+include debian/cdbs/1/rules/buildcore.mk
+include debian/cdbs/1/rules/upstream-tarball.mk
+include debian/cdbs/1/rules/copyright-check.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include debian/cdbs/1/rules/buildinfo.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
+include /usr/share/cdbs/1/class/perlmodule.mk
+
+DEB_UPSTREAM_PACKAGE = Convert-UUlib
+DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Convert
+DEB_UPSTREAM_TARBALL_MD5 = f4cfa860176f60a83b56816d5917e71a
+
+DEB_INSTALL_EXAMPLES_libconvert-uulib-perl = example-decoder
+
+# Fix double cdbs build-dependencies
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed 's/cdbs (>= 0.4.23-1.1) *, *\(.*\), *cdbs (>= 0.4.27-1)/cdbs (>= 0.4.27-1), \1/')

Propchange: trunk/libconvert-uulib-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libconvert-uulib-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libconvert-uulib-perl/debian/watch?rev=15294&op=file
==============================================================================
--- trunk/libconvert-uulib-perl/debian/watch (added)
+++ trunk/libconvert-uulib-perl/debian/watch Thu Feb 21 00:06:16 2008
@@ -1,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+opts="uversionmangle=s/(\d)\.(\d{2})(\d+)/$1.$2.$3/" \
+	http://www.cpan.org/modules/by-module/Convert/Convert-UUlib-([\d\.]+)\.tar\.gz debian uupdate




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