Commit graph

16 commits

Author SHA1 Message Date
sno
b9facb59e7 - adding license (perl license, as noted in DBD::Oracle POD)
- adding support for destdir
2009-07-07 15:49:40 +00:00
sno
6abce7ef58 PkgSrc changes:
- Updating package for p5 module DBD::Oracle to 1.23 from 1.22

Upstream changes:
Changes in DBD-Oracle 1.23(svn rev 12724)
  Fix from rt.cpan.org ticket #=44788 bool in_lite should be char in_literal
  Fix for UTF8 and blobs by John Scoles with Milo van der Leij
  Fix for some warnings and one bug in ocitrace.h from Charles Jardine
  Fix in case there may be a bug in 11 where the OCI_ATTR_DATA_SIZE my
      return 0 which should never happen, John Scoles
  Fix on the Makefile.PL for a possible sql bug in IC from Martin Evans
  Added a change from a suggestion from Martin Evans for making ref cursors
      faster.
  Added rt.cpan.org Ticket #=42328 ora_objects attribute for extended
      embedded objects support from Tomas Pokorny
  Fix for rt.cpan.org Ticket #=42328 user defined types from different
      schema in describe_obj from Tomas Pokorny
  Added a README for sun suggested by Jim McCullars
  Clean up of white space and formatting to 4 tabs  from John Scoles
  Fix for GCC 4.3 warnings from Eric Simon
  Standardized the dbd_verbose levels so they are all 3 and over from John
      Scoles
  Added private statement functions ora_stmt_type_name and ora_stmt_type
      from John Scoles
  Update to POD from Chris Underhill
  Added README.win64.txt with content from Alex Buttery
  Fix for rt.cpan.org Ticket #=21920 Bug with Oracle DBD for Mac OS X Instant
      Client From boingolover
  Added a few more constants to get rid of magic numbers from John Scoles
  Fix for rt.cpan.org Ticket #=38267 Inserts/Updates to BLOB's via synonyms
      fails from John Scoles
  Fix for rt.cpan.org Ticket #=39603 build problem and fix missing functions
      in oci.def from Zolt'an Sebesty'en
  Fix for rt.cpan.org Ticket #=39374 Makefile.PL: error when reducing echo
      messages from make from Tippa
  Fix for rt.cpan.org Ticket #=39232 binding large XMLTYPE fails on 64-bit
      perl from Jeff Klein
  Fix for rt.cpan.org Ticket #=38749 Warning of a NULL column in an aggregate
      function also added ora_oci_success_warn to display silent OCI warningsi
      from John Scoles
  Patch for UTF8 check on execute_array from David Mansfield and a little by
      John Scoles
2009-04-30 20:00:57 +00:00
he
15c9e3433b Update from version 1.19nb1 to 1.22.
Based on diffs and testing done by Jens Rehsack, while following
up on PR#39232, patch also submitted there.

Pkgsrc changes:
 o Support different oracle library options
 o Add HOMEPAGE using search.cpan.org


Upstream changes:

Changes in DBD-Oracle 1.21(svn rev 11067) 11th April 2008 ^

  Added Notes to README.win32.txt on installing Instant Client
    11.1.0.6.0 from John Scoles
  Added the oci_typecode_name method to get the name rather than
    just the number of an OCI_TYPECODE from John Scoles
  Fixed a unreported bug with Embedded Objects from John Scoles
  Fixes for #34621 & 33791 from RT cpan
  Added patch to allow faster fetch from REF CURSORs from Biswadeep Chowdhury
  Updated the Todo file for next version from John Scoles
  Added support for the 10.2 Data Interface for Persistent LOBs by John Scoles
  Changed the way pre-fetching is done by John Scoles
  Added support for Scrollable cursors from John Scoles
  Changed the max size of cache_rows to a sb4 rather than a int
    and or a ub4 from John Scoles
  Added support for Lobs in select of OCI Embedded Objects from
    John Scoles with a big thankyou to  Paul Weiss
  Fixed for embedded object in object from Paul Weiss
  Added support for direct insert of large XML data into XMLType
    fields from Hendrik Fuss & John Scoles
  Fixed memory leak (not releasing Temp Lob with OCILobFreeTemporary)
    when created for a bind from John Scoles
  Added support for bind_param_inout_array for use with execute_array
    from John Scoles
  Added enhancement for Embedded Objects handling from Paul G. Weiss
  Fixed to Makefile.PL let it read makefiles from other makes from
    Alexander V Alekseev
  Updated POD to tell users to Avoid Using "SQL Call" from Charles Jardine
  Updated POD to account for rt.cpan.org #30910: "DBD-Oracle crashes
    when trying to read empty LOB" from John Scoles
  Added DBD::Oracle impdata/threads patch from Jeffrey Klein

Changes in DBD-Oracle 1.20(svn rev 10517) 11th January 2008 ^

  Fixed lob test so it skips the one test that relies on it if v$
    session. from Rafael Kitover
  Fixed // with /* */ in dbdimp.c from John Scoles
  Fixed for execute_for_fetch in Oracle.pm returning 0 instead of
    0E0.  from Martin J. Evans
  Added README.64bit.txt that contains help for compiling on 64
    bit boxes from John Scoles
  Fixed typo in Oracle.pm from Tom R.
  Added support for ora_charset, ora_ncharset from Stephen J. Smith
  Fixed Makefile.PL for better handling of empty array in
    File::Find::find from Slaven Rezic
  Fixed references to README.clients.txt in Makefile.PL from  John Scoles
  Added PERL_NO_GET_CONTEXT for better multi-threaded support from John Scoles
  Changed required version of DBI to be 1.51 from John Scoles
  Fixed bug in 31lob.t from John Scoles
  Added notes on installing Instantclient .rpm to README.Lunix.txt
  Added support for OCI array bind from Alexander V Alekseev
  Added support for select of OCI Embedded Objects from John Scoles
  Added a tip in README.64bit.txt from cartmanltd
  Added fix to Makefile.PL for finding SQLplus for Ubuntu Server
    (but should work for others) from Martin J. Evans
  Added fix to Makefile.PL for Gentoo AMD64 from Tom R.
  Added fix to dbdimp.c for speed up of Null-Operations from Andreas Behal
  Added fix to dbdimp.c for SQLCS_NCHAR index use on varchar2s from
    Peter J. Holzer
2008-12-18 01:13:03 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
grant
a156ec5cb4 make this actually work (on Solaris, at least) by forcing -lclntsh.
something weird is going on in the pkgsrc perl build process which is
trashing required arguments...
2007-03-04 01:17:51 +00:00
grant
02dcf96623 update DBD::Oracle to 1.19.
Changes in DBD-Oracle 1.19 (svn rev 8002) 3rd November 2006

  Fixed execute_array to comply with DBI standard from Martin J. Evans, Xho Jingleheimerschmidt and others
  Fixed execute_array so it will not throw a Perl warning on undef values in Tuples from John Scoles
  Fixed execute_array so it will take the ora_array_chunk_size DB handle attribute
  Fixed a few other little bugs dealing with  compatibility with Oracle 8
  Added support for array context aware execute_for_fetch from Martin J. Evans

Changes in DBD-Oracle 1.18 (svn rev 6697)

  Added support for native Oracle Array interface thanks Kristian Nielsen
  Added suppot for LOB Locators from Jeffrey Klein.

Changes in DBD-Oracle 1.17 (svn rev 3726)

  Added expanded support for Lobs from Jeffrey Klein
  Fixed automatic csform setting for some UTF8 cases and for Oracle 8.0
  Fixed truncation error on fetch into UTF8 charset thanks to Honza Pazdziora.
  Fixed INTERVAL DAY TO SECOND thanks to Honza Pazdziora.
  Fixed unicode tests for cygwin thanks to Andy Hassall.
  Fixed undef warnings when connecting with undef $user.
  Fixed undef warnings from $dbh->get_info(18);
  Fixed LOB streaming example thanks to Pablo Zorzoli.

  Added support for nested cursors in select lists thanks to Charles Jardine.
  Added "Trailing Spaces" section to docs thanks to Michael A Chase.
  Added support for binary floats/doubles thanks to Dennis Box.
  Added INSTANCE_NAME, SERVER and SERVICE_NAME as valid connect keywords
    in the 'dbi:Oracle:x=y' short form of connecting without tnsnames.ora.
    For example 'dbi:Oracle:host=localhost;service_name=xe;server=dedicated'
  Added auto-detection of ORACLE_HOME in some configurations.

Changes in DBD-Oracle 1.16 (svn rev 515)   22nd October 2004

  NOTE:
  This release has major changes to Unicode support. See below.
  It no longer supports the old Oracle 7 OCI interface.
  It requires DBI >= 1.38 for some of the tests if using Perl 5.6.
  It no longer supports Perl 5.5 or earlier.

  Fixed placeholder names to be case insensitive thanks to Charles Jardine.
  Fixed some LOB test problems with Oracle 8.1.7 by implementing ora_lob_append
    with OCILobGetLength() and OCILobWrite(), instead of buggy OCILobWriteAppend(),
    if the Oracle client version is < 9.0. Thanks to Jeff Urlwin.
  Fixed handling of temporary LOBs thanks to Chris Donnelly.
  Fixed memory leaks in auto LOB refetch code thanks to Dongqiang Bai.
  Fixed reporting of length truncated in error message thanks to Jeff Urlwin.
  Fixed column_info() to handle TIMESTAMP and INTERVAL datatypes
    for Oracle >= 8 thanks to Stephen Clouse.
  Fixed STORE to cache attribute value in handle cache.
  Fixed seg fault returning LOB Locators reported by Raj Chandran.
  Fixed binding to allow overloaded scalars (not for 'inout' params).
  Fixed setting of $DBI::err to 0 triggering PrintWarn in DBI >= 1.41.
  Fixed some edge cases in row cache sizing.
  Fixed truncation error fetching very small numbers (1 ^ -130).
  Fixed Oraperl to not enable PrintError or AutoCommit (broken since 1.13).

  Changed some utf8 internals for LOBs.
  Changed ORA_OCI constant from being just 7 or 8 to being a dualvar:
    in numeric context returns the major.minor version number (8.1, 9.2 etc)
    in string context it returns the full "major.minor.foo.bar" version string.
  Changed some SUCCESS_WITH_INFO situtions to be treated as a "warning"
    by setting $DBI::err to "0" (and so trigger PrintWarn in DBI >= 1.43)
    eg "ORA-28011: the account will expire soon; change your password now"
    and package compilation errors.

  Added automatic support for UTF-8 for both NLS_LANG and NLS_NCHAR
    Many thanks to Lincoln Baxter who did most of the hard work and testing
    and to Jeff Urlwin and others who also helped out.
    Perl 5.8.x and Oracle 9+ are highly recommended if you want to use Unicode.
    See POD for more information and documentation.
  Added support for "... RETURNING lob_locator_column INTO ?"
    using $sth->bind_param_inout(2, \$loc, 0, {ora_type => ORA_BLOB});
  Added bind_param() ora_csform, ora_csid, and ora_maxdata_size attributes.
  Added bind_param() support for SQL_BLOB & SQL_CLOB thanks to Stephen Clouse.
  Added $dbh->ora_can_unicode and $dbh->ora_nls_parameters thanks to Andy Hassall.

Changes in DBD-Oracle 1.15   27th January 2004

  NOTE: DBD::Oracle now requires DBI version 1.28 (June 2002) or later.

  NOTE: This is probably the last release that will support being
  built with the old Oracle 7 OCI interface.

  Fixed for extproc_perl (http://search.cpan.org/author/JHORWITZ/extproc_perl/)
  Fixed Oraperl handling of ora_errno and ora_errstr thanks to Martin Busik.
  Fixed PRECISION for "NUMBER" to be 126 not 0 thanks to Steffen Goeldner.
  Fixed bind_param_inout() for placeholders not assigned to in PL/SQL.

  Changed bind_param_inout for CHAR types to no longer use a minimum
    length of 28 characters. Warning: this change may break code that
    doesn't pass bind_param_inout() a length value large enough for the
    returned string. (The minimum length was not documented and should
    not have been relied upon. This change currently only applies to the
    CHAR type but may extended to all string types in a later release.)
  Changed type_info_all() to return the same type info as Oracle's own
    ODBC driver does, thanks to Andy Hassall for the data.
    The types include LOBs but not the new TIMESTAMP and INTERVAL types.

  Added direct access to LOB Locators and major LOB Locator functions
    such as $sth->ora_lob_read(...), $sth->ora_lob_write(...) etc.
    This work was sponsored by Geospiza Inc.
  Added LOB Locator example docs thanks to Mark Dilger at Geospiza.
  Added TIMESTAMP [WITH [LOCAL] TIME ZONE]] support
    thanks to Stephen Clouse and Robert Wyrick.
  Added INTERVAL YEAR TO MONTH, INTERVAL DAY TO SECOND support.
  Added /*+RULE*/ hint to metadata method SQL thanks to Andy Hassall.
  Added connect example using OS authentication thanks to Bob Thomson.
  Added prepare("...", { ora_placeholders => 0 }) to disable placeholders.
  Added docs for returning a recordset (table/array) using Oracle >=9.0.1
    via "FUNCTION foo RETURN type PIPELINED" thanks to Steve Baldwin.
  Added docs on ora_check_sql=>0 in prepare() to avoid server-side parses.
  Added support for sharing database connections with ProC/SQLLIB code
    via ora_use_proc_connection attribute, thanks to Kristian Nielsen
    needs build time option thanks to Steffen Goeldner
  Added (restored) the error "possibly near <*> indicator" marker for
    syntax errors thanks to Jason Hitt and Andy Hassall.
  Added $dbh->{ora_parse_error_offset} attribute thanks to Andy Hassall.
  Added auto setting of $dbh->{Username} if not given to connect
    i.e. using Oracle OS authentication and connecting as "/"
    by selecting SYS_CONTEXT('userenv','session_user') from the db
    thanks to Eric Lenio and Andy Hassall.
2007-03-04 01:04:11 +00:00
rillig
b44c9d0f30 Replaced PKG_SKIP_REASON with PKG_FAIL_REASON and included bsd.prefs.mk
before checking ORACLE_HOME.
2007-01-02 12:13:39 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
wiz
617a7af240 Add RMD160 checksum. 2005-05-25 11:34:41 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
kristerw
c70ab1c4b4 Use PKG_SKIP_REASON when the ORACLE_HOME is undefined, so that bulk
builds do not report this as a broken package.
2004-08-16 11:41:18 +00:00
grant
47970d0099 Initial import of p5-DBD-Oracle 1.14 into the NetBSD packages collection.
DBD::Oracle is a Perl module which works with the DBI module to
provide access to Oracle databases.
2004-04-15 10:48:43 +00:00