--- libdbd-sybase-perl-1.14.orig/Makefile.PL +++ libdbd-sybase-perl-1.14/Makefile.PL @@ -57,7 +57,7 @@ ( $^O eq 'VMS' ? ( MAN3PODS => { 'Sybase.pm' => 'blib/man3/DBD_Sybase.3' } ) - : ( MAN3PODS => { 'Sybase.pm' => 'blib/man3/DBD::Sybase.3' } ) + : ( MAN3PODS => { 'Sybase.pm' => 'blib/man3/DBD::Sybase.3pm' } ) ), ( $] >= 5.005 @@ -132,20 +132,15 @@ $SYBASE .= "/$ENV{SYBASE_OCS}"; } - my $libfound = 0; my $libsub = ''; foreach $libdir ( 'lib', 'lib64' ) { if ( -d "$SYBASE/$libdir" ) { if ( checkLib($SYBASE) ) { - $libfound = 1; $libsub = $libdir; } } } - die "Can't find any Sybase libraries in $SYBASE/lib or $SYBASE/lib64" - unless $libfound; - my $inc_found = 0; if ( -d "$SYBASE/include" && -f "$SYBASE/include/cspublic.h" ) { ++$inc_found; @@ -337,16 +332,17 @@ last if -e $file; } - open( IN, $file ) || die "Can't open $file: $!"; - binmode(IN); my $version; - while () { - if (/Sybase Client-Library\/([^\/]+)\//) { - $version = $1; - last; + if (open(IN, $file)) { + binmode(IN); + while() { + if(/Sybase Client-Library\/([^\/]+)\//) { + $version = $1; + last; + } } + close(IN); } - close(IN); if ( !$version ) { print "Unknown Client Library version - assuming FreeTDS.\n"; } --- libdbd-sybase-perl-1.14.orig/debian/changelog +++ libdbd-sybase-perl-1.14/debian/changelog @@ -0,0 +1,111 @@ +libdbd-sybase-perl (1.14-1build3) xenial; urgency=medium + + * Rebuild for Perl 5.22.1. + + -- Colin Watson Fri, 18 Dec 2015 11:16:38 +0000 + +libdbd-sybase-perl (1.14-1build2) utopic; urgency=medium + + * Rebuild for Perl 5.20.0. + + -- Colin Watson Thu, 21 Aug 2014 12:56:25 +0100 + +libdbd-sybase-perl (1.14-1build1) trusty; urgency=low + + * Rebuild for Perl 5.18. + + -- Colin Watson Mon, 21 Oct 2013 12:57:15 +0100 + +libdbd-sybase-perl (1.14-1) unstable; urgency=low + + * New upstream release. + - Fix build failure with perl 5.14. Closes: #629255. + + -- Steve Langasek Fri, 18 Nov 2011 09:28:37 -0800 + +libdbd-sybase-perl (1.09-3) unstable; urgency=low + + * export DEB_MAINT_CFLAGS_APPEND, so it actually gets picked up. + + -- Steve Langasek Tue, 25 Oct 2011 03:24:47 +0000 + +libdbd-sybase-perl (1.09-2) unstable; urgency=low + + * Build-depend on the latest and greatest debhelper, which knows how to + pass OPTIMIZE for us. + + -- Steve Langasek Wed, 05 Oct 2011 20:15:27 +0000 + +libdbd-sybase-perl (1.09-1) unstable; urgency=low + + * New upstream release. Closes: #329526. + - includes upstream fix for handling two sequential prepare()s without + an execute(). Closes: #269198. + * dbdimp.c: Add a patch from Raphael Descamps + to disable BLK_VERSION_* checks if NO_BLK isn't defined. + * Add debian/watch file. + * Makefile.PL: if libct isn't found on the filesystem, assume it's + FreeTDS - fixing a build failure with multiarched freetds. + Closes: #643502. + * Switch to dh(1) and debhelper compat 8. + * Build-depend on libdbi-perl (>= 1.612-1) for dh_perl_dbi, so we get a + DBI ABI identifier in our package dependencies. Closes: #577513. + * Add ${misc:Depends} to make debhelper and lintian happy + * Set Vcs-Bzr/Vcs-Browser in debian/control. + * Bump policy-version to 3.9.2. + * Put the manpage in the right '3pm' section, not '3perl' which is + apparently meant only for perl itself. + + -- Steve Langasek Wed, 28 Sep 2011 17:42:20 +0000 + +libdbd-sybase-perl (1.00-3) unstable; urgency=low + + * Rebuild against freetds 0.63-1 (closes: #319269). + + -- Steve Langasek Mon, 6 Jun 2005 02:03:42 -0700 + +libdbd-sybase-perl (1.00-2) unstable; urgency=low + + * Change package section to perl. + * Add a missing dependency on libdbi-perl (closes: #309546). + + -- Steve Langasek Wed, 25 May 2005 02:33:48 -0700 + +libdbd-sybase-perl (1.00-1) unstable; urgency=low + + * New upstream release + * Replace multiline strings with string concatenation and explicit + newlines, to placate gcc-3.3 (closes: #194229). + + -- Steve Langasek Fri, 23 May 2003 20:54:24 -0500 + +libdbd-sybase-perl (0.93-4) unstable; urgency=low + + * Rebuild against freetds 0.61 (libct1). + * Update standards-version to 3.5.8. + * Move the manpage to section 3perl, per policy. + + -- Steve Langasek Wed, 5 Feb 2003 23:47:09 -0600 + +libdbd-sybase-perl (0.93-3) unstable; urgency=low + + * Rebuild against new freetds lib package name. Adjust build-dep + versioning accordingly. + + -- Steve Langasek Fri, 20 Sep 2002 15:41:23 -0500 + +libdbd-sybase-perl (0.93-2) unstable; urgency=low + + * Rebuild against perl 5.8.0. + + -- Steve Langasek Sun, 25 Aug 2002 00:32:11 -0500 + +libdbd-sybase-perl (0.93-1) unstable; urgency=low + + * Initial Release (closes: #121060). + + -- Steve Langasek Sat, 24 Nov 2001 23:47:49 -0600 + +Local variables: +mode: debian-changelog +End: --- libdbd-sybase-perl-1.14.orig/debian/compat +++ libdbd-sybase-perl-1.14/debian/compat @@ -0,0 +1 @@ +9 --- libdbd-sybase-perl-1.14.orig/debian/control +++ libdbd-sybase-perl-1.14/debian/control @@ -0,0 +1,15 @@ +Source: libdbd-sybase-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 8.9.8~), perl (>= 5.8.0), freetds-dev (>= 0.63), libdbi-perl (>= 1.612-1~), dpkg-dev (>= 1.15.7) +Maintainer: Steve Langasek +Standards-Version: 3.9.2 +Vcs-Bzr: nosmart+http://bzr.debian.org/bzr/users/vorlon/libdbd-sybase-perl/trunk/ +Vcs-Browser: http://anonscm.debian.org/loggerhead/users/vorlon/libdbd-sybase-perl/trunk/ + +Package: libdbd-sybase-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Sybase/MS SQL database driver for the DBI module + DBD::Sybase is a Perl module which works with the DBI module to provide + access to Sybase and Microsoft SQL databases. --- libdbd-sybase-perl-1.14.orig/debian/copyright +++ libdbd-sybase-perl-1.14/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Steve Langasek on +Sat, 24 Nov 2001 23:47:49 -0600. + +It was downloaded from CPAN, and is also available on the web at +http://www.mbay.net/~mpeppler/ + +Upstream Author: Michael Peppler + +Copyright: + +--------------- + +From: Michael Peppler +Date: Mon, 26 Nov 2001 16:32:04 -0800 +To: Steve Langasek +Subject: Re: DBD::Sybase licensing question + +OK - DBD::Sybase 0.93's licence will now read: + +# Copyright (c) 1996-2001 Michael Peppler +# +# You may distribute under the terms of either the GNU General Public +# License or the Artistic License, as specified in the Perl README file. +# +# Based on DBD::Oracle Copyright (c) 1994,1995,1996,1997 Tim Bunce + +DBD::Sybase is henceforth distributable under the same terms as perl +itself. + +Michael + +--------------- + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL', and the complete +text of the Artistic License can be found in +`/usr/share/common-licenses/Artistic'. --- libdbd-sybase-perl-1.14.orig/debian/libdbd-sybase-perl.docs +++ libdbd-sybase-perl-1.14/debian/libdbd-sybase-perl.docs @@ -0,0 +1,2 @@ +README +BUGS --- libdbd-sybase-perl-1.14.orig/debian/libdbd-sybase-perl.examples +++ libdbd-sybase-perl-1.14/debian/libdbd-sybase-perl.examples @@ -0,0 +1,3 @@ +eg/dbschema.pl +eg/Show.cgi +eg/README --- libdbd-sybase-perl-1.14.orig/debian/rules +++ libdbd-sybase-perl-1.14/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DEB_MAINT_CFLAGS_APPEND := -Wall +export SYBASE=/usr + +%: + dh $@ --with perl_dbi + +override_dh_auto_configure: + dh_auto_configure < /dev/null + +override_dh_auto_test: + --- libdbd-sybase-perl-1.14.orig/debian/watch +++ libdbd-sybase-perl-1.14/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/DBD-Sybase/ .*/DBD-Sybase-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libdbd-sybase-perl-1.14.orig/eg/Show.cgi +++ libdbd-sybase-perl-1.14/eg/Show.cgi @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl # $Id: Show.cgi,v 1.4 2001/06/04 14:06:39 mpeppler Exp $ # --- libdbd-sybase-perl-1.14.orig/eg/dbschema.pl +++ libdbd-sybase-perl-1.14/eg/dbschema.pl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w # # $Id: dbschema.pl,v 1.1 1997/11/03 18:08:41 mpeppler Exp $ #