r2539 - in packages/libdbd-pg-perl/trunk: . debian debian/patches

Raphaël Hertzog hertzog at costa.debian.org
Thu Apr 13 20:25:54 UTC 2006


Author: hertzog
Date: 2006-04-13 20:25:53 +0000 (Thu, 13 Apr 2006)
New Revision: 2539

Added:
   packages/libdbd-pg-perl/trunk/debian/
   packages/libdbd-pg-perl/trunk/debian/changelog
   packages/libdbd-pg-perl/trunk/debian/control
   packages/libdbd-pg-perl/trunk/debian/copyright
   packages/libdbd-pg-perl/trunk/debian/patches/
   packages/libdbd-pg-perl/trunk/debian/patches/memleak.dpatch
   packages/libdbd-pg-perl/trunk/debian/rules
   packages/libdbd-pg-perl/trunk/debian/watch
Log:
Load libdbd-pg-perl-1.45 into packages/libdbd-pg-perl/trunk.


Added: packages/libdbd-pg-perl/trunk/debian/changelog
===================================================================
--- packages/libdbd-pg-perl/trunk/debian/changelog	2006-04-13 20:25:28 UTC (rev 2538)
+++ packages/libdbd-pg-perl/trunk/debian/changelog	2006-04-13 20:25:53 UTC (rev 2539)
@@ -0,0 +1,322 @@
+libdbd-pg-perl (1.45-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sun, 12 Mar 2006 18:10:03 +0100
+
+libdbd-pg-perl (1.43-2) UNRELEASED; urgency=low
+
+  * Remove README.Debian since libpq4 works with all versions of
+    PostgreSQL and thus this module too.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Fri, 12 Aug 2005 13:52:18 +0200
+
+libdbd-pg-perl (1.43-1) unstable; urgency=low
+
+  * New upstream release.
+  * Document in README.Debian the fact that the module is intended to work
+    with PostgreSQL 8.0 or newer. Closes: #315708
+
+ -- Raphael Hertzog <hertzog at debian.org>  Fri, 12 Aug 2005 12:24:18 +0200
+
+libdbd-pg-perl (1.42-2) unstable; urgency=low
+
+  * Adapted for postgresql-8.0.
+  * Build-depends on libpq-dev (>= 8.0)
+  * Upgraded Standards-Version to 3.6.2.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed, 22 Jun 2005 14:56:06 +0200
+
+libdbd-pg-perl (1.42-1) unstable; urgency=low
+
+  * New upstream version.
+  * Remove patch for memory leak, it has been integrated upstream.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed, 25 May 2005 07:16:29 +0000
+
+libdbd-pg-perl (1.41-3) unstable; urgency=medium
+
+  * Oops, I forgot to register the patch in the debian_patches variable.
+    This time the problem is fixed.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed,  4 May 2005 15:29:07 +0200
+
+libdbd-pg-perl (1.41-2) unstable; urgency=medium
+
+  * Include a patch fixing a memory leak. Closes: #305468
+    This patch has already been integrated upstream but there's
+    no new release yet.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed,  4 May 2005 15:21:03 +0200
+
+libdbd-pg-perl (1.41-1) unstable; urgency=low
+
+  * New upstream release.
+  * Depends on libdbi-perl (>= 1.38).
+
+ -- Raphael Hertzog <hertzog at debian.org>  Fri, 15 Apr 2005 09:32:02 +0200
+
+libdbd-pg-perl (1.32-2) unstable; urgency=low
+
+  * Depends on libdbi-perl (>= 1.35). Closes: #243703
+  * Built with PostgreSQL 7.4. Corrected Build-Depends accordingly.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sun, 27 Jun 2004 21:25:37 +0000
+
+libdbd-pg-perl (1.32-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #235350
+  * Remove fix-memleak patch (applied upstream)
+  * Remove quote patch (applied upstream)
+  * New co-maintainer
+
+ -- Ivan Kohler <ivan-debian at 420.am>  Tue,  9 Mar 2004 22:44:34 -0800
+
+libdbd-pg-perl (1.31-2) unstable; urgency=low
+
+  * New patch: quote.dpatch
+    Change quote character from \" to ". Closes: #223398
+
+ -- Raphael Hertzog <hertzog at debian.org>  Tue,  9 Dec 2003 17:02:45 +0000
+
+libdbd-pg-perl (1.31-1) unstable; urgency=low
+
+  * New upstream version. Closes: #221743
+  * Integrated patch to fix mem leak in debian/patches this time.
+    cf #167148
+  * Removed patch fixing version comparison since it has been fixed upstream.
+    Removed patch removing spurious reference to Oracle too.
+  * Added postgresql-client to the Build-Depends because of
+    pg_config/pg_wrapper.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Mon,  8 Dec 2003 12:51:05 +0000
+
+libdbd-pg-perl (1.22-3) unstable; urgency=low
+
+  * Remove spurious reference to Oracle. Closes: #208556
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat,  6 Sep 2003 09:57:23 +0000
+
+libdbd-pg-perl (1.22-2) unstable; urgency=low
+
+  * Fix PG version comparison in several places.
+    Closes: #198552
+  * Updated standards-version.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat, 12 Jul 2003 14:32:41 +0000
+
+libdbd-pg-perl (1.22-1) unstable; urgency=low
+
+  * New upstream release. Closes: #187436
+  * Updated section to "perl".
+
+ -- Raphael Hertzog <hertzog at debian.org>  Tue,  8 Apr 2003 22:49:52 +0000
+
+libdbd-pg-perl (1.20-2) unstable; urgency=low
+
+  * Build-Depends on postgresql-dev (>= 7.3.1) to make sure the generated
+    dependencies are "libpq3" and no more "libpgsql2". Closes: #174878
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed,  1 Jan 2003 16:34:36 +0100
+
+libdbd-pg-perl (1.20-1) unstable; urgency=low
+
+  * New upstream version. Closes: #172644
+  * No answer from upstream, so I'm applying Dan's patch. We'll see if
+    anything break. Closes: #167148
+  * Updated the download URL in the copyright notice.
+  * Now build depends on debhelper >= 4, updated DH_COMPAT accordingly.
+  * Originally built with Postgresql 7.3 (but it's not enforced by
+    Build-Depends).
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed, 11 Dec 2002 19:29:25 +0100
+
+libdbd-pg-perl (1.13-4) unstable; urgency=low
+
+  * Updated the copyright notice. Closes: #157567
+
+ -- Raphael Hertzog <hertzog at debian.org>  Mon, 26 Aug 2002 12:22:33 +0200
+
+libdbd-pg-perl (1.13-3) unstable; urgency=low
+
+  * Recompile with perl 5.8.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed, 31 Jul 2002 20:35:10 +0200
+
+libdbd-pg-perl (1.13-2) unstable; urgency=low
+
+  * Try another patch for #146794.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Fri, 17 May 2002 16:31:33 +0200
+
+libdbd-pg-perl (1.13-1) unstable; urgency=low
+
+  * New upstream version.
+  * Added a debian/watch file.
+  * Apply patches for binary data support. Closes: #146794
+
+ -- Raphael Hertzog <hertzog at debian.org>  Thu, 16 May 2002 15:14:03 +0200
+
+libdbd-pg-perl (1.01-3) unstable; urgency=medium
+
+  * Moved to main. Closes: #140435
+
+ -- Raphael Hertzog <hertzog at debian.org>  Fri, 29 Mar 2002 13:10:59 +0100
+
+libdbd-pg-perl (1.01-2) unstable; urgency=low
+
+  * Recompile for Postregsql 7.2. Closes: #136430
+  * Updated Build-Depends accordingly.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat,  2 Mar 2002 13:12:08 +0100
+
+libdbd-pg-perl (1.01-1) unstable; urgency=medium
+
+  * New upstream version. Closes: #102223
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sun,  8 Jul 2001 17:42:07 +0200
+
+libdbd-pg-perl (0.98-2) unstable; urgency=medium
+
+  * Move to non-us. Closes: #97115
+  * Full source upload because of this.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat, 19 May 2001 14:13:50 +0200
+
+libdbd-pg-perl (0.98-1) unstable; urgency=medium
+
+  * New upstream version. Closes: #96246
+  * I don't have any segfault with this version. Closes: #96298
+    Instead I have the error "no state" when calling fetchrow.
+  * Build-Depends on postgresql-dev (>= 7.1release-4) to be sure
+    that it will be built with a fixed libpgsql2.1 (cf #96460).
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat,  5 May 2001 21:32:53 +0200
+
+libdbd-pg-perl (0.97-1) unstable; urgency=medium
+
+  * New upstream version. Closes: #94768
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sun, 22 Apr 2001 16:07:21 +0200
+
+libdbd-pg-perl (0.95-5) unstable; urgency=medium
+
+  * Updated Build-Depends so that it requires libdbi-perl but >= 1.14-2.
+    Closes: #94167
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat, 21 Apr 2001 12:49:17 +0200
+
+libdbd-pg-perl (0.95-4) unstable; urgency=medium
+
+  * Applied patch fixing a bug related to BLOB handling. Closes: #88537
+  * This patch has been submitted upstream by the submitter itself.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Tue,  6 Mar 2001 00:01:30 +0100
+
+libdbd-pg-perl (0.95-3) unstable; urgency=medium
+
+  * Updated for the latest perl policy which brings back perl to its
+    "perl" package.
+  * Complies with policy 3.5.2.
+  * Uses the latest PostgreSQL. Closes: #86529
+
+ -- Raphael Hertzog <hertzog at debian.org>  Wed, 21 Feb 2001 22:24:33 +0100
+
+libdbd-pg-perl (0.95-2) unstable; urgency=low
+
+  * Simple recompile for perl-5.6. Closes: #77136 
+
+ -- Raphael Hertzog <hertzog at debian.org>  Thu, 16 Nov 2000 09:14:02 +0100
+
+libdbd-pg-perl (0.95-1) unstable; urgency=low
+
+  * New upstream version. Closes: #72507
+  * Updated to latest policy.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Thu, 12 Oct 2000 13:20:51 +0200
+
+libdbd-pg-perl (0.93-3) unstable; urgency=low
+
+  * Simple recompile for woody with correct dependency for
+    PostgreSQL 7. Closes: #64112, #63429
+
+ -- Raphael Hertzog <hertzog at debian.org>  Mon, 15 May 2000 00:04:05 +0200
+
+libdbd-pg-perl (0.93-2) frozen unstable; urgency=low
+
+  * This version needs to go to frozen since it will enable a smoother
+    upgrade from potato to woody.
+  * Now depends on libpgsql2 (<< 7.0) so that when someone will install
+    postgresql 7, the dependencies won't be met and they'll have to
+    upgrade to the woody version. Closes: #61378
+
+ -- Raphael Hertzog <hertzog at debian.org>  Sat,  1 Apr 2000 15:43:34 +0200
+
+libdbd-pg-perl (0.93-1) unstable; urgency=low
+
+  * New upstream version.
+  * Applied patch for good escaping with pg_auto_escape. Closes: #52833
+  * Policy 3.1.1 compliance.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Mon, 27 Dec 1999 16:27:40 +0100
+
+libdbd-pg-perl (0.92-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream version.
+  * Policy 3.0.1 compliance.
+  * Closing "fixed" bugs : closes: #41819, #41432, #39918, #43315
+  * Converted to debhelper 2.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Mon, 13 Sep 1999 23:06:12 +0200
+
+libdbd-pg-perl (0.89-1.1) unstable; urgency=low
+
+  * NMU for the perl upgrade. Closes: #41819, #41432
+  * Corrected the rules files to conform to perl policy 1.0.1
+  * Compiled with perl-5.005.
+  * Compiled with the latest postgresql (6.5.1-1) and
+    corrected the dependency. Closes: #39918
+  * Upgraded standards-version to 3.0.0. Uses the new debstd.
+  * Added an extended description.
+
+ -- Raphael Hertzog <rhertzog at hrnet.fr>  Sat, 24 Jul 1999 18:12:40 +0200
+
+libdbd-pg-perl (0.89-1) unstable; urgency=low
+
+  * built against postgresql-6.4
+  * New upstream release
+
+ -- Tom Lear <tom at trap.mtview.ca.us>  Thu, 31 Dec 1998 13:12:29 -0800
+
+libdbd-pg-perl (0.73-4) frozen unstable; urgency=low
+
+  * removed i386-centricity - closes #28898
+
+ -- Tom Lear <tom at trap.mtview.ca.us>  Tue,  3 Nov 1998 05:41:54 -0800
+
+libdbd-pg-perl (0.73-3) unstable; urgency=low
+
+  * depends on libdbi-perl (>=1.02) - closes #27145
+  * fixed description - closes #27727
+
+ -- Tom Lear <tom at trap.mountain-view.ca.us>  Wed, 14 Oct 1998 17:33:22 -0700
+
+libdbd-pg-perl (0.73-2) unstable; urgency=low
+
+  * Non-maintainer release of the non-maintainer release.  Doh
+  * Recompiled against current DBI driver.
+  * Removed perllocal.pod and .packlist files
+  * Stripped binaries
+
+ -- Martin Schulze <joey at kuolema.infodrom.north.de>  Fri, 25 Sep 1998 11:31:07 +0200
+
+libdbd-pg-perl (0.73-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Tom Lear <tom at trap.mountain-view.ca.us>  Sun,  2 Aug 1998 17:27:26 -0700
+
+Local variables:
+mode: debian-changelog
+End:

Added: packages/libdbd-pg-perl/trunk/debian/control
===================================================================
--- packages/libdbd-pg-perl/trunk/debian/control	2006-04-13 20:25:28 UTC (rev 2538)
+++ packages/libdbd-pg-perl/trunk/debian/control	2006-04-13 20:25:53 UTC (rev 2539)
@@ -0,0 +1,14 @@
+Source: libdbd-pg-perl
+Section: perl
+Priority: optional
+Maintainer: Raphael Hertzog <hertzog at debian.org>
+Uploaders: Ivan Kohler <ivan-debian at 420.am>
+Standards-Version: 3.6.2
+Build-Depends: perl (>= 5.8.0), debhelper (>= 4), libdbi-perl (>= 1.38), libpq-dev (>= 8.0), postgresql-client-8.0 (>= 8.0)
+
+Package: libdbd-pg-perl
+Architecture: any
+Depends: ${shlibs:Depends}, libdbi-perl (>= 1.38), ${perl:Depends}
+Description: a PostgreSQL interface for Perl 5 using DBI
+ This is a binary Perl module that enables you to control
+ a PostgreSQL database in a Perl script.

Added: packages/libdbd-pg-perl/trunk/debian/copyright
===================================================================
--- packages/libdbd-pg-perl/trunk/debian/copyright	2006-04-13 20:25:28 UTC (rev 2538)
+++ packages/libdbd-pg-perl/trunk/debian/copyright	2006-04-13 20:25:53 UTC (rev 2539)
@@ -0,0 +1,20 @@
+This package was debianized by Raphaël Hertzog <hertzog at debian.org> on
+Mon, 13 Sep 1999 22:56:53 +0200.
+
+It was downloaded from :
+http://www.perl.com/CPAN/authors/Jeffrey_Baker/DBD-Pg-1.20.tar.gz
+
+Copyright:
+
+Copyright (c) 2002 Jeffrey W. Baker
+Copyright (c) 1997,1998,1999,2000 Edmund Mergl
+Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
+
+You may distribute under the terms of either the GNU General Public
+License or the Artistic License, as specified in the Perl README file.
+
+Check the perl license in /usr/share/doc/perl/copyright.
+
+You can also read the General Public License and the Artistic License
+in /usr/share/common-licenses/GPL and /usr/share/common-licenses/Artistic
+respectively.

Added: packages/libdbd-pg-perl/trunk/debian/patches/memleak.dpatch
===================================================================
--- packages/libdbd-pg-perl/trunk/debian/patches/memleak.dpatch	2006-04-13 20:25:28 UTC (rev 2538)
+++ packages/libdbd-pg-perl/trunk/debian/patches/memleak.dpatch	2006-04-13 20:25:53 UTC (rev 2539)
@@ -0,0 +1,27 @@
+#! /bin/sh -e
+
+# DP: Fix memory leak reported in #305468
+
+if [ $# -ne 1 ]; then
+    echo >&2 "$0: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -f -p0 < $0;;
+    -unpatch) patch -f -R -p0 < $0;;
+    *)
+        echo >&2 "$0: script expects -patch|-unpatch as argument"
+        exit 1
+esac
+exit 0
+
+--- dbdimp.c.old	2005-05-04 15:15:02.676996008 +0200
++++ dbdimp.c	2005-05-04 15:18:11.817242320 +0200
+@@ -1544,6 +1544,7 @@
+ 				currph->quotedlen = 4;
+ 			}
+ 			else {
++				if (currph->quoted) Safefree(currph->quoted);
+ 				currph->quoted = currph->bind_type->quote(currph->value, currph->valuelen, &currph->quotedlen);
+ 			}
+ 		}

Added: packages/libdbd-pg-perl/trunk/debian/rules
===================================================================
--- packages/libdbd-pg-perl/trunk/debian/rules	2006-04-13 20:25:28 UTC (rev 2538)
+++ packages/libdbd-pg-perl/trunk/debian/rules	2006-04-13 20:25:53 UTC (rev 2539)
@@ -0,0 +1,136 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+debian_patches = 
+
+export DH_COMPAT=4
+
+package=libdbd-pg-perl
+
+ifndef PERL
+PERL = /usr/bin/perl 
+endif
+
+TMP     =`pwd`/debian/$(package)
+
+PG_INCLUDEDIR = $(shell pg_config --includedir)
+PG_LIBDIR = $(shell pg_config --libdir)
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+  CFLAGS = -g
+endif
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -O0
+else
+  CFLAGS += -O2
+endif
+	
+
+export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
+export POSTGRES_LIB=$(PG_LIBDIR)
+
+build: build-stamp
+build-stamp: patched-stamp
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor 
+	touch Makefile
+	$(MAKE) INC="-I/usr/include -I$(PG_INCLUDEDIR) -I/usr/lib/perl5/auto/DBI" OPTIMIZE="-Wall $(CFLAGS)" LD_RUN_PATH=""
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	
+	-rm -f build-stamp install-stamp
+	-make realclean
+	-rm -f `find . -name "*~"`
+
+	dh_clean
+	debian/rules reverse-patches
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+	touch install-stamp
+
+binary-indep: build install
+# There are no architecture-independent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installexamples
+	dh_installmenu
+	dh_installcron
+	#dh_installmanpages
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b';false
+
+.PHONY: build clean binary-indep binary-arch binary install 
+
+# ---------------------------------------------------------------------------
+# various rules to unpack addons and (un)apply patches.
+# borrowed from egcs package
+
+patch_dir       = debian/patches
+
+apply-patches: patched-stamp
+reverse-patches:
+	@for stamp in none patched-*; do \
+	  case "$$stamp" in none|patched-stamp|patched-\*) continue; esac; \
+	  patch=`echo $$stamp | sed -e 's/patched-//'`; \
+	  echo "trying to revert patch $$patch ..."; \
+	  if [ -x $(patch_dir)/$$patch.dpatch ]; then true; else \
+	    chmod +x $(patch_dir)/$$patch.dpatch; fi; \
+	  if $(patch_dir)/$$patch.dpatch -unpatch; then \
+	    echo "reverted $$patch patch."; \
+	    rm -f $$stamp; \
+	  else \
+	    echo "error in reverting $$patch patch."; \
+	    exit 1; \
+	  fi; \
+	done
+	rm -f patched-stamp
+
+patched-%: $(patch_dir)/%.dpatch
+	@if [ -x $< ]; then true; else chmod +x $<; fi
+	@if [ -f $@ ]; then \
+	  echo "$* patches already applied."; exit 1; \
+	fi
+	$< -patch
+	@echo "$* patches applied." > $@
+
+patched-stamp: $(foreach p,$(debian_patches),patched-$(p))
+	@echo -e "\nPatches applied:" >> pxxx
+	@for i in none $(debian_patches); do \
+	  if [ -r debian/patches/$$i.dpatch ]; then \
+	    echo -e "\n$$i:" >> pxxx; \
+	    sed -n 's/^# *DP: */  /p' debian/patches/$$i.dpatch >> pxxx; \
+	  fi \
+	done
+	mv -f pxxx patched-stamp
+


Property changes on: packages/libdbd-pg-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libdbd-pg-perl/trunk/debian/watch
===================================================================
--- packages/libdbd-pg-perl/trunk/debian/watch	2006-04-13 20:25:28 UTC (rev 2538)
+++ packages/libdbd-pg-perl/trunk/debian/watch	2006-04-13 20:25:53 UTC (rev 2539)
@@ -0,0 +1,4 @@
+version=2
+
+http://www.perl.com/CPAN/modules/by-module/DBD/DBD-Pg-(.*)\.tar\.gz
+




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