r15298 - in /trunk/libmail-cclient-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:57 UTC 2008


Author: js
Date: Thu Feb 21 00:06:56 2008
New Revision: 15298

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

Added:
    trunk/libmail-cclient-perl/debian/
    trunk/libmail-cclient-perl/debian/README.cdbs-tweaks
    trunk/libmail-cclient-perl/debian/cdbs/
    trunk/libmail-cclient-perl/debian/cdbs/1/
    trunk/libmail-cclient-perl/debian/cdbs/1/rules/
    trunk/libmail-cclient-perl/debian/cdbs/1/rules/buildinfo.mk
    trunk/libmail-cclient-perl/debian/cdbs/1/rules/copyright-check.mk
    trunk/libmail-cclient-perl/debian/cdbs/1/rules/upstream-tarball.mk
    trunk/libmail-cclient-perl/debian/changelog
    trunk/libmail-cclient-perl/debian/compat
    trunk/libmail-cclient-perl/debian/control
    trunk/libmail-cclient-perl/debian/control.in
    trunk/libmail-cclient-perl/debian/copyright
    trunk/libmail-cclient-perl/debian/copyright_hints
    trunk/libmail-cclient-perl/debian/patches/
    trunk/libmail-cclient-perl/debian/patches/1001_fix_segfault_from_truncated_pointer.patch
    trunk/libmail-cclient-perl/debian/patches/README
    trunk/libmail-cclient-perl/debian/patches/series
    trunk/libmail-cclient-perl/debian/rules   (with props)
    trunk/libmail-cclient-perl/debian/watch

Added: trunk/libmail-cclient-perl/debian/README.cdbs-tweaks
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/README.cdbs-tweaks?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/README.cdbs-tweaks (added)
+++ trunk/libmail-cclient-perl/debian/README.cdbs-tweaks Thu Feb 21 00:06:56 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/libmail-cclient-perl/debian/cdbs/1/rules/buildinfo.mk
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/cdbs/1/rules/buildinfo.mk?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/cdbs/1/rules/buildinfo.mk (added)
+++ trunk/libmail-cclient-perl/debian/cdbs/1/rules/buildinfo.mk Thu Feb 21 00:06:56 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/libmail-cclient-perl/debian/cdbs/1/rules/copyright-check.mk
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/cdbs/1/rules/copyright-check.mk?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/cdbs/1/rules/copyright-check.mk (added)
+++ trunk/libmail-cclient-perl/debian/cdbs/1/rules/copyright-check.mk Thu Feb 21 00:06:56 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/libmail-cclient-perl/debian/cdbs/1/rules/upstream-tarball.mk
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/cdbs/1/rules/upstream-tarball.mk?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/cdbs/1/rules/upstream-tarball.mk (added)
+++ trunk/libmail-cclient-perl/debian/cdbs/1/rules/upstream-tarball.mk Thu Feb 21 00:06:56 2008
@@ -1,0 +1,139 @@
+# -*- 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)
+
+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 (withour 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 -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
+
+# 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

Added: trunk/libmail-cclient-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/changelog?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/changelog (added)
+++ trunk/libmail-cclient-perl/debian/changelog Thu Feb 21 00:06:56 2008
@@ -1,0 +1,321 @@
+libmail-cclient-perl (1.12-5) unstable; urgency=low
+
+  * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control.
+  * Move Homepage to own field (from pseudo-field in long description).
+  * Bump standards-version to 3.7.3 (no changes needed).
+  * Update cdbs tweaks (no canges affecting this packaging currently):
+    + Support zip in upstream-tarball.mk
+    + Use ~ as repackaging delimiter in upstream-tarball.mk to make room
+      for point releases and cleaned up rerelease
+    + Rename top srcdir in repackaged tarball to $pkg-$ver.orig to
+      comply with Developers Reference 6.7.8.2.
+    + Support mangling upstream version string in upstream-tarball.mk
+    + Drop buildcore.mk override (set DEB_AUTO_UPDATE_DEBIAN_CONTROL
+      manually when needed instead)
+  * Adjust watch file to invoke svn-upgrade (not uupdate).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 04 Jan 2008 19:14:17 +0100
+
+libmail-cclient-perl (1.12-4) unstable; urgency=low
+
+  * Build against up-to-date libc-client.
+  * Bump standards version to 3.7.2 (no changes needed).
+  * Update local cdbs tweaks:
+    + Make sure buildinfo ran only once.
+    + Add new upstream-tarball.mk to implement get-orig-source and more.
+    + Add new copyright-check.mk to help discover changes to copyrights.
+    + Add new buildcore.mk overloading upstream buildcore.mk and enables
+      debian/control auto-update when DEB_BUILD_OPTIONS contains
+      cdbs-autoupdate. Drop local hack using DEB_BUILD_OPTIONS=update.
+    + Add README.cdbs-tweaks to source, and advertise in debian/rules.
+  * Isolate segfault-fixing patch (bug#308541) using patchsys-quilt.mk.
+  * Declare (and strip duplicate) dependencies in debian/rules.
+  * Remove Cclient.h in clean target.
+  * Mention only copyright and licensing info in debian/copyright (drop
+    additional notes, including old FSF address).
+  * Semi-auto-update debian/control:
+      DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 16 Sep 2007 20:32:17 +0200
+
+libmail-cclient-perl (1.12-3) unstable; urgency=low
+
+  * Fix GSSAPI by linking explicitly against libc-client. Closes:
+    bug#318079 (thanks to Stephen Quinney
+    <stephen.quinney at computing-services.oxford.ac.uk>).
+  * Switch to using a local cdbs snippet to invoke dh-buildinfo.
+  * Raise to standards version 3.6.2 (no changes needed).
+  * Use cdbs debian/control auto-build - but only when environment
+    includes DEB_BUILD_OPTIONS=update.
+  * Auto-update build-dependencies (and manually rip out build-essential
+    buggily sneaking in).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 13 Jul 2005 13:08:33 +0200
+
+libmail-cclient-perl (1.12-2) unstable; urgency=low
+
+  * Avoid segfault on some archs. Closes: bug#308541 (thanks to patch by
+    Dann Frazier <dannf at hp.com>).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue, 10 May 2005 23:57:00 +0200
+
+libmail-cclient-perl (1.12-1) unstable; urgency=high
+
+  * New upstream release.
+  * This should work on ia64, so set urgency=high to hopefully reach
+    sarge in time for the release.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue, 26 Oct 2004 14:04:02 +0200
+
+libmail-cclient-perl (1.10-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add usage hint to watch file.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Thu, 23 Sep 2004 23:13:27 +0200
+
+libmail-cclient-perl (1.9-1) unstable; urgency=low
+
+  * New upstream release.
+  * Standards-Version: 3.6.1.
+  * Use (and build-depend on) dh-buildinfo.
+  * Install generated debian/tests.txt, and remove the file on clean.
+  * debian/copyright rewritten:
+    + Info duplicated in debian/changelog removed
+    + "Linux" no longer mentioned (Debian supports several systems)
+    + Simplified section regarding upstream source.
+    + Copied copyright and license info verbatim (no real changes except
+      updated year to include 2004).
+  * Drop the use of compiler flag -fsigned-char (it makes no difference
+    on powerpc as intended, and is wrong to use in the first place).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue,  4 May 2004 17:19:58 +0200
+
+libmail-cclient-perl (1.8-4) unstable; urgency=low
+
+  * Rebuild once more, to hopefully wakeup ia64 buildd. Hopefully this
+    closes: Bug#175765 (if not then please reopen...).
+  * This also closes: Bug#236095 (1.8-2 was never succesfully uploaded).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 16 Apr 2004 18:36:03 +0200
+
+libmail-cclient-perl (1.8-3) unstable; urgency=low
+
+  * Rebuild using 'debuild -sa' to include source.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri,  5 Mar 2004 04:31:48 +0100
+
+libmail-cclient-perl (1.8-2) unstable; urgency=low
+
+  * Rebuild against (and update dependency against) newest libc-client.
+    This closes: #236095 (once it succesfully builds on all platforms).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Thu,  4 Mar 2004 11:49:04 +0100
+
+libmail-cclient-perl (1.8-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switch to using CDBS. Build-depend on recent cdbs with proper perl
+    support.
+  * Build against current libc-client (Closes: Bug#201526).
+  * Add watch file (using author subdir).
+  * Standards version 3.6.0.
+  * Explicitly build-depend on directly dependent stuff again (I have
+    been convinced...).
+  * Build on all architectures again (that was not the proper approach:
+    old broken arm and ia64 builds still avoid the others from entering
+    testing...).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 17 Aug 2003 09:26:03 +0200
+
+libmail-cclient-perl (1.7-5) unstable; urgency=low
+
+  * Add upstream authors to copyright.
+  * Limit packaging to platforms passing the tests (and inform upstream
+    of the problems with arm and ia64).
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 18 Apr 2003 14:23:08 +0200
+
+libmail-cclient-perl (1.7-4) unstable; urgency=low
+
+  * Change section to perl.
+  * Update build-dependency on libc-client, thanks to Bdale Garbee
+    <bdale at gag.com> (closes: Bug#187087).
+  * Tighten build-dependency on libc-client to one with proper
+    dependencies, and drop redundant build-dependencies.
+  * Lower build-dependency on perl as described in perl-policy 3.3
+    (instead of the tighter one used during the 5.8 transition) to ease
+    building on woody.
+  * Switch debhelper hint from DH_COMPAT to debian/compat, and use v4.
+  * Respect noopt build option.
+  * Claim compliance with Policy 3.5.9.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 14 Apr 2003 01:12:41 +0200
+
+libmail-cclient-perl (1.7-3) unstable; urgency=low
+
+  * Recompile against new openssl.
+  * Change section to interpreters.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue, 28 Jan 2003 05:23:29 +0100
+
+libmail-cclient-perl (1.7-2) unstable; urgency=low
+
+  * Adopting package, and closes: bug#174094. Thanks, Jaldhar, for
+    maintaining it until now.
+  * Changing maintainer field.
+  * Build against current libc-client package, and build-depend on it.
+  * Build with kerberos support, (in line with current libc-client) and
+    build-depend on libkrb5-dev.
+  * Run `make test` at compile time.
+  * Update copyright
+    + Extend coverage until the year 2002
+    + Mention Debian location of Artistic License and GPL
+    + Include a URL for the source (not only the CPAN search engine)
+  * Rewrite debian/rules to use debhelper v3 (to support globbing) and
+    tighten build-dependency on debhelper.
+  * Include examples.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 27 Dec 2002 09:29:33 +0100
+
+libmail-cclient-perl (1.7-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Sun, 15 Sep 2002 14:12:29 -0400
+
+libmail-cclient-perl (1.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added proper pointer to licenses in copyright file. (Closes: #157608)
+  * fixed failure when use'ing with qw() (Closes: #160533)
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Thu, 12 Sep 2002 14:28:53 -0400
+
+libmail-cclient-perl (1.5-4) unstable; urgency=low
+
+  * Added proper build-depends for perl 5.8.0
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Sat, 17 Aug 2002 22:28:35 -0400
+
+libmail-cclient-perl (1.5-3) unstable; urgency=low
+
+  * Recompiled for perl 5.8.0 
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Thu,  1 Aug 2002 00:50:50 -0400
+
+libmail-cclient-perl (1.5-2) unstable; urgency=high
+
+  * Moved from non-us to main
+  * Urgency abused to make sure that happens before woody is released.
+  * Fixed mail_append() parameter order which was causing appends to
+    IMAP mailboxes not to work and added an imapdate method that returns the 
+    date in the format specified by RFC2060 so it can be given to
+    mail_append() when appending messages to an IMAP mailbox.  Thanks to 
+    GOMBAS Gabor <gombasg at sztaki.hu> for the patch.  (Closes: #144035)
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Wed, 24 Apr 2002 14:57:53 -0400
+
+libmail-cclient-perl (1.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * built with the latest libc-client.so, should work correctly now.
+    (Closes: #121594)
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Mon, 17 Dec 2001 14:15:29 -0500
+
+libmail-cclient-perl (1.4.1-1.1) unstable; urgency=low
+
+  * Just a test to see if the shared c-client is working correctly.
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Thu, 13 Dec 2001 16:34:47 -0500
+
+libmail-cclient-perl (1.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fixed build -dependencies (Closes: #118954)
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Fri, 16 Nov 2001 00:16:22 -0500
+
+libmail-cclient-perl (1.4-3) unstable; urgency=low
+
+  * Ok, should really go into non-us now.  (Closes: #117578)
+  * Makefile.PL was screwed up giving a module that didn't work correctly.
+    That's fixed now.
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Mon, 29 Oct 2001 15:39:45 -0500
+
+libmail-cclient-perl (1.4-2) unstable; urgency=low
+
+  * NOTE TO FTP MASTERS:  This actually links to a library that contains 
+    SSL so it will have to go into non-US. 
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Wed, 24 Oct 2001 22:12:41 -0400
+
+libmail-cclient-perl (1.4-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Wed, 24 Oct 2001 12:07:01 -0400
+
+libmail-cclient-perl (1.1-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream version.
+  * Built against the latest c-client lib.  (Closes: #98079)
+  * Should build properly from source now.  (Closes: #84555, #105147)
+  * Updated to latest policy and perl policy. (Closes: #80692, #95413)
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Fri,  3 Aug 2001 15:46:36 -0400
+
+libmail-cclient-perl (0.6-4) frozen unstable; urgency=low
+
+  * New upload so it'll go into frozen as well
+  * Missed a couple of bugs that should have been closed (closes: bug#48154, bug#51938)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Wed,  2 Feb 2000 14:50:18 -0500
+
+libmail-cclient-perl (0.6-3) unstable; urgency=low
+
+  * Linked against newer version of c-client lib. (closes: bug#55463)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Tue, 18 Jan 2000 09:36:11 -0500
+
+libmail-cclient-perl (0.6-2.1) unstable; urgency=low
+
+  * NMU: Now linked against my shared lib version of c-client
+
+ -- Jaldhar H. Vyas <jaldhar at debian.org>  Fri, 22 Oct 1999 22:28:02 -0400
+
+libmail-cclient-perl (0.6-2) unstable; urgency=low
+
+  * Fix binary-arch/indep targets. (closes: bug#42058)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Wed, 28 Jul 1999 11:21:45 -0400
+
+libmail-cclient-perl (0.6-1) unstable; urgency=low
+
+  * New upstream version.
+  * Modified for new perl packages. (closes: bug#41538)
+  * Modified to use debhelper.
+  * Fixes close on local mailbox (closes: bug#36097)
+  * Probably fixes another random segv (closes: bug#41395)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Sun, 25 Jul 1999 16:16:25 -0400
+
+libmail-cclient-perl (0.4-2) unstable; urgency=low
+
+  * Correct problems spotted by lintian (doh!)
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Fri,  5 Mar 1999 10:35:49 -0500
+
+libmail-cclient-perl (0.4-1) unstable; urgency=low
+
+  * Initial Debianization.
+
+ -- Michael Alan Dorman <mdorman at debian.org>  Thu, 19 Nov 1998 09:27:11 -0500
+
+Local variables:
+mode: debian-changelog
+user-mail-address: "mdorman at debian.org"
+End:

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

Added: trunk/libmail-cclient-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/control?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/control (added)
+++ trunk/libmail-cclient-perl/debian/control Thu Feb 21 00:06:56 2008
@@ -1,0 +1,18 @@
+Source: libmail-cclient-perl
+Section: perl
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.7.3
+Build-Depends: quilt, patchutils (>= 0.2.25), perl (>= 5.6.0-16), debhelper (>= 4.2.0), dh-buildinfo, cdbs (>= 0.4.39), libc-client-dev, libpam-dev, libssl-dev, libkrb5-dev
+XS-Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/libmail-cclient-perl/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/libmail-cclient-perl/trunk
+Homepage: http://www.cpan.org/modules/by-module/Mail/HDIAS/
+
+Package: libmail-cclient-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: Interface to UW c-client library
+ Mail::Cclient gives access to mailboxes in many different formats
+ (including remote IMAP folders) via the c-client API. The c-client
+ library is the core library used by Pine and the University of
+ Washington IMAP daemon (written by Mark Crispin).

Added: trunk/libmail-cclient-perl/debian/control.in
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/control.in?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/control.in (added)
+++ trunk/libmail-cclient-perl/debian/control.in Thu Feb 21 00:06:56 2008
@@ -1,0 +1,18 @@
+Source: libmail-cclient-perl
+Section: perl
+Priority: optional
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.7.3
+Build-Depends: @cdbs@
+XS-Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/libmail-cclient-perl/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/libmail-cclient-perl/trunk
+Homepage: http://www.cpan.org/modules/by-module/Mail/HDIAS/
+
+Package: libmail-cclient-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: Interface to UW c-client library
+ Mail::Cclient gives access to mailboxes in many different formats
+ (including remote IMAP folders) via the c-client API. The c-client
+ library is the core library used by Pine and the University of
+ Washington IMAP daemon (written by Mark Crispin).

Added: trunk/libmail-cclient-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/copyright?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/copyright (added)
+++ trunk/libmail-cclient-perl/debian/copyright Thu Feb 21 00:06:56 2008
@@ -1,0 +1,26 @@
+This is Mail::Cclient packaged for Debian GNU systems.
+
+Upstream authors:
+Malcolm Beattie (original author)
+Henrique Dias <hdias at esb.ucp.pt> (maintainer since version 1.7)
+
+
+Upstream source: http://www.cpan.org/modules/by-module/Mail/HDIAS/
+
+
+Copyright and licensing info:
+
+		Copyright (c) 1998 - 2004, Malcolm Beattie
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of either:
+
+	a) the GNU General Public License as published by the Free
+	Software Foundation; either version 1, or (at your option) any
+	later version, or
+
+	b) the "Artistic License" which comes with this kit.
+
+
+On Debian GNU systems both the Artistic License and the GNU Public License
+are located at /usr/share/common-licenses.

Added: trunk/libmail-cclient-perl/debian/copyright_hints
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/copyright_hints?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/copyright_hints (added)
+++ trunk/libmail-cclient-perl/debian/copyright_hints Thu Feb 21 00:06:56 2008
@@ -1,0 +1,4 @@
+Copyright (C) 1989 Free Software Foundation, Inc.
+Copyright (c) 1998 - 2004 Malcolm Beattie
+Copyright (c) 1998 - 2004, Malcolm Beattie
+Copyright 2001 University of Washington.

Added: trunk/libmail-cclient-perl/debian/patches/1001_fix_segfault_from_truncated_pointer.patch
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/patches/1001_fix_segfault_from_truncated_pointer.patch?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/patches/1001_fix_segfault_from_truncated_pointer.patch (added)
+++ trunk/libmail-cclient-perl/debian/patches/1001_fix_segfault_from_truncated_pointer.patch Thu Feb 21 00:06:56 2008
@@ -1,0 +1,12 @@
+# Fix segfault on some architectures due to fs_get implicit conversion
+# More info: http://bugs.debian.org/308541
+--- libmail-cclient-perl-1.12.orig/criteria.c
++++ libmail-cclient-perl-1.12/criteria.c
+@@ -13,6 +13,7 @@
+ #include <stdio.h>
+ #include <stddef.h>
+ #include <string.h>
++#include <c-client/fs.h>
+ #include "mail.h"
+ #include "misc.h"
+ #include "criteria.h"

Added: trunk/libmail-cclient-perl/debian/patches/README
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/patches/README?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/patches/README (added)
+++ trunk/libmail-cclient-perl/debian/patches/README Thu Feb 21 00:06:56 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/libmail-cclient-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/patches/series?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/patches/series (added)
+++ trunk/libmail-cclient-perl/debian/patches/series Thu Feb 21 00:06:56 2008
@@ -1,0 +1,1 @@
+1001_fix_segfault_from_truncated_pointer.patch

Added: trunk/libmail-cclient-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/rules?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/rules (added)
+++ trunk/libmail-cclient-perl/debian/rules Thu Feb 21 00:06:56 2008
@@ -1,0 +1,34 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003-2007 Jonas Smedegaard <dr at jones.dk>
+
+# NB! Local cdbs tweaks are used: See debian/README.cdbs-tweaks
+
+include debian/cdbs/1/rules/copyright-check.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/perlmodule.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include debian/cdbs/1/rules/buildinfo.mk
+include debian/cdbs/1/rules/upstream-tarball.mk
+
+DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Mail/HDIAS
+DEB_UPSTREAM_PACKAGE = Mail-Cclient
+DEB_UPSTREAM_TARBALL_MD5 = 36ee07558270d8feed5e1b5b77a4ee25
+
+DEB_MAKEMAKER_USER_FLAGS := --with-shared_cclient --with-pam --with-ssl --cclient_dir=/usr/include/c-client --with-kerberos --with-cclient-includes=/usr/include/c-client
+
+DEB_INSTALL_EXAMPLES_libmail-cclient-perl := examples/*
+
+DEB_MAKE_CHECK_TARGET = test | tee debian/tests.txt || true
+DEB_INSTALL_DOCS_ALL += debian/tests.txt
+
+clean::
+	chmod a-x examples/*.txt
+	rm -f debian/tests.txt
+	rm -f Cclient.h
+
+# Needed by upstream build process
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libc-client-dev, libpam-dev, libssl-dev, libkrb5-dev
+
+# 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\|0.4.27-1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')

Propchange: trunk/libmail-cclient-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libmail-cclient-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libmail-cclient-perl/debian/watch?rev=15298&op=file
==============================================================================
--- trunk/libmail-cclient-perl/debian/watch (added)
+++ trunk/libmail-cclient-perl/debian/watch Thu Feb 21 00:06:56 2008
@@ -1,0 +1,3 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=2
+http://www.cpan.org/modules/by-module/Mail/HDIAS/Mail-Cclient-([0-9\.]+).tar.gz debian svn-upgrade




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