--- libdbd-oracle-perl-1.21.orig/debian/watch +++ libdbd-oracle-perl-1.21/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/DBD/DBD-Oracle-(.*).tar.gz debian uupdate --- libdbd-oracle-perl-1.21.orig/debian/lintian-overrides +++ libdbd-oracle-perl-1.21/debian/lintian-overrides @@ -0,0 +1 @@ +libdbd-oracle-perl: binary-or-shlib-defines-rpath ./usr/lib/perl5/auto/DBD/Oracle/Oracle.so /usr/lib/oracle/10.2.0.3/client/lib --- libdbd-oracle-perl-1.21.orig/debian/docs +++ libdbd-oracle-perl-1.21/debian/docs @@ -0,0 +1,8 @@ +err_bind +err_build +err_docs +err_lob +err_unicode +err_unsorted +README.linux.txt +README.longs.txt --- libdbd-oracle-perl-1.21.orig/debian/changelog +++ libdbd-oracle-perl-1.21/debian/changelog @@ -0,0 +1,41 @@ +libdbd-oracle-perl (1.21-2) unstable; urgency=low + + * Only remove /usr/share/perl5/ if it exists; apparently, newer Perl + versions don't create it + * Rebuilt for Perl 5.10 (closes: #480462) + * Added lintian override for rpath issue + * Updated to debhelper level 6 + + -- Peter Eisentraut Wed, 14 May 2008 17:15:45 +0200 + +libdbd-oracle-perl (1.21-1) unstable; urgency=low + + * New upstream release + + -- Peter Eisentraut Tue, 15 Apr 2008 09:19:30 +0200 + +libdbd-oracle-perl (1.20-2) unstable; urgency=low + + * Added support for amd64 installations of Oracle and made build rules more + independent of the Oracle version + * Removed apparently unnecessary build dependency + oracle-instantclient-sqlplus + + -- Peter Eisentraut Mon, 11 Feb 2008 11:38:20 +0100 + +libdbd-oracle-perl (1.20-1) unstable; urgency=low + + * New upstream release + * Updated DBI dependencies + * Updated standards version + * Added installation instructions in package description + * Added more examples and documentation to installation + * Added perl-tk to Suggests for ora_explain + + -- Peter Eisentraut Mon, 21 Jan 2008 11:32:00 +0100 + +libdbd-oracle-perl (1.19-1) unstable; urgency=low + + * Initial release + + -- Peter Eisentraut Wed, 24 Oct 2007 16:47:28 +0200 --- libdbd-oracle-perl-1.21.orig/debian/copyright +++ libdbd-oracle-perl-1.21/debian/copyright @@ -0,0 +1,26 @@ +This Debian package was created by Peter Eisentraut +on 2007-10-24. + +It was downloaded from . + +Copyright: + + The DBD::Oracle module is Copyright (c) 1994-2006 Tim Bunce. Ireland. + + The DBD::Oracle module is free open source software; you can + redistribute it and/or modify it under the same terms as Perl 5. + +The terms for Perl are (see also /usr/share/doc/perl/copyright): + + 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 Perl. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file /usr/share/common-licenses/GPL and the Artistic +License in the file /usr/share/common-licenses/Artistic. --- libdbd-oracle-perl-1.21.orig/debian/control +++ libdbd-oracle-perl-1.21/debian/control @@ -0,0 +1,23 @@ +Source: libdbd-oracle-perl +Section: contrib/perl +Priority: extra +Maintainer: Peter Eisentraut +Build-Depends: cdbs (>= 0.4.52), debhelper (>= 6.0.7), libdbi-perl (>= 1.51), perl (>= 5.6.1), + oracle-instantclient-basic, oracle-instantclient-devel +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/DBD-Oracle/ + +Package: libdbd-oracle-perl +Architecture: any +Depends: libdbi-perl (>= 1.51), ${perl:Depends}, ${shlibs:Depends} +Suggests: perl-tk +Description: Perl DBI driver for Oracle + This is a Perl module that works with the DBI module to provide access + to Oracle databases. + . + The Oracle Instant Client needs to be installed in order to be able to + use this module. It is available free of cost from Oracle, but it is + not free software. To install the Instant Client, download the RPM + package oracle-instantclient-basic-10.2.0.3-1.*.rpm from + + and install it using Alien. --- libdbd-oracle-perl-1.21.orig/debian/examples +++ libdbd-oracle-perl-1.21/debian/examples @@ -0,0 +1 @@ +Oracle.ex/* --- libdbd-oracle-perl-1.21.orig/debian/compat +++ libdbd-oracle-perl-1.21/debian/compat @@ -0,0 +1 @@ +6 --- libdbd-oracle-perl-1.21.orig/debian/README.maintainer +++ libdbd-oracle-perl-1.21/debian/README.maintainer @@ -0,0 +1,19 @@ +To build this module, you need to install the Oracle Instant Client. +This can be downloaded free of cost (but registration required) from +Oracle. Start at + +and get the RPM(!) packages + +- Basic (oracle-instantclient-basic) +- SDK (oracle-instantclient-devel) + +Convert them to Debian packages using Alien: + +$ fakeroot alien oracle-instantclient-*.rpm + +Install them, and then you are ready to build this package. + +I built against Oracle 10.2.0.3. Building against Oracle 11.1.0.6.0 +doesn't work for me. Help is welcome. + +-- Peter Eisentraut, Feb. 2008 --- libdbd-oracle-perl-1.21.orig/debian/rules +++ libdbd-oracle-perl-1.21/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/perlmodule.mk + +DEB_COMPRESS_EXCLUDE = examples +DEB_INSTALL_DOCS_ALL = +DEB_MAKE_CHECK_TARGET = + +# no trailing slash! +export ORACLE_HOME := $(wildcard /usr/lib/oracle/*/client*/lib) +export LD_LIBRARY_PATH += :$(ORACLE_HOME) + +ORACLE_HEADERS = $(wildcard /usr/include/oracle/*/client*) +DEB_MAKEMAKER_USER_FLAGS += -h $(ORACLE_HEADERS) + +binary-post-install/libdbd-oracle-perl:: + rm $(DEB_DESTDIR)/usr/lib/perl5/DBD/mkta.pl + [ ! -e $(DEB_DESTDIR)/usr/share/perl5/ ] || rmdir $(DEB_DESTDIR)/usr/share/perl5/ + +binary-fixup/libdbd-oracle-perl:: + chmod a-x $(addprefix $(DEB_DESTDIR),/usr/lib/perl5/auto/DBD/Oracle/Oracle.h /usr/lib/perl5/oraperl.ph /usr/lib/perl5/auto/DBD/Oracle/ocitrace.h /usr/lib/perl5/auto/DBD/Oracle/dbdimp.h /usr/share/doc/libdbd-oracle-perl/examples/README)