Commit graph

45 commits

Author SHA1 Message Date
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jwise
9117b94192 These have been folded into the main sources. 2005-04-08 14:36:17 +00:00
jwise
f6219b2a4a Missed commit on update to 1.41. 2005-04-08 14:35:31 +00:00
jwise
473ce3482b Update to version 1.41. Changes since 1.22 (the last pkgsrc version):
1.41
	- ('Greg' is Greg Sabino Mullane, greg@turnstep.com)
	- Make sure tests remove all temporary tables.
		[Frank Bax]
	- Preserve sqlstate if rolling back on deallocate, fix
		potential segfault. [Stephen Clouse]
	- Fix CPAN bug #12004: commit and rollback now return true
		[Greg] (thanks to ivan-dbdpg@420.am)
	- Overhaul and update COPY support; use new protocol.
		New dbh methods: pg_putline, pg_getline, pg_endcopy.
		[Greg]
	- Rewrote version detection code. Compiled version and target
		version are now available via $dbh->{pg_lib_version} and
		$dbh->{pg_server_version} [Greg]
	- Set our default type_id to 0, not 1043 (VARCHAR) when possible.
		Suggested by Abhijit Menon-Sen via David Wheeler. [Greg]
	- Add $dbh methods pg_savepoint(), pg_rollback_to(), and pg_release()
		[Stephen Clouse] [Greg]
1.40 Tue Feb 22 06:06:45 UTC 2005
	- Raise required DBI version to 1.38
	- Execute returns 0 (0E0) not -1 for successful DDL commands.
		[Robert Treat]
	- Change all string lengths to use STRLEN
		[rink@stack.nl]
	- Added $dbh->pg_server_trace($fh) [Greg Sabino Mullane]
	- Added $dbh->{pg_errorlevel}. [Greg Sabino Mullane]
	- Fix utf8 quote() support [Dominic Mitchell <dom@semantico.com>]
	- Added explicit support for types SQL_BOOLEAN, DATE, TIME,
		TIMESTAMP, and TIMESTAMPTZ. Return correct values for
		DATEOID and TIMEOID. [Greg Sabino Mullane]
	- Added tablespace support for table_info and primary_key_info.
		[Greg Sabino Mullane]
	- Added new attributes to $dbh: pg_db, pg_user, pg_pass,
		pg_host, pg_port, pg_options, pg_socket, pg_pid
		[Greg Sabino Mullane]
	- Minor fixes in quote.c, dbdimp.c, and types.h
		[Christophe Martin: schplurtz at free.fr]
	- Added support for SQLSTATE via $dbh->state and $sth->state
		[Greg Sabino Mullane]
	- Major overhaul of prepare/execute to handle new server-side
		prepare system. See Pg.pm for details. [Greg Sabino Mullane]
	- Make the tests honor the DBD_SCHEMA variable instead of
		assuming that the "public" schema is available.
		[Rainer Weikusat]
	- dbdimp.c cleanups: better error messages, ensure commit
		is only called once after a transaction fails.
		[Alexey Slynko]
	- primary_key() returns empty list not undef if no match.
		[Julian Mehnle]
	- Added the pg_protocol database handle attribute
		[Greg Sabino Mullane]
	- Changed "noprefix" to pg_noprefix
1.32 Wed Feb 25 18:24:18 UTC 2004
	- Bugfix for memory allocation problems on win systems
		[Rafael Kitover <caelum@debian.org>]
	- Rewrote the foreign_key_info() method to handle
		multi-column keys. [Greg Sabino Mullane]
	- Rewrote the primary_key_info() and primary_key() methods to
		cleanly handle multi-column primary keys. Also added a "pg_onerow"
		attribute to allow primary_key_info() to return a single
		row containing multiple-column information. [Greg Sabino Mullane]
	- Switched commit behavior from commit->execute->begin
		to begin->execute->commit
		[xelah-junk@xelah.com]
	- Made the _pg_use_catalog subroutine use {private_dbgpg}.
		(CPAN bug #4841) [Greg Sabino Mullane]
	- Changed strdup to safemalloc/strcpy in dbdimp.c
		(CPAN bug #4578) [anonymous CPAN user]
	- Made the data_sources method escape the database names as needed.
		Added support for databases with spaces in their names.
		[Greg Sabino Mullane]
	- Added the "noprefix" attribute to prevent the tables() method
		from prepending the schema name. [Greg Sabino Mullane]
	- Rewrote the testing suite. Many more tests are performed.
		Servers with a low client_min_messages are handled correctly.
		[Greg Sabino Mullane]
	- Fixed bug causing '$\d' to be picked up as a placeholder.
		(CPAN bug #4799) [Greg Sabino Mullane]
	- pg_notifies now catches and reports when PQconsumeInput fails.
		(CPAN bug #4027) [nmueller@cs.wisc.edu]
	- Enabled the "pg_bool_tf" database handle [Greg Sabino Mullane]
	- Added required fields to the type_info() method:
		SQL_DATA_TYPE, SQL_DATETIME_SUB, and INTERVAL PRECISION
		[Greg Sabino Mullane]
	- Fixed bug where the table_attributes() method was incorrectly
		removing the NULLABLE column. [Greg Sabino Mullane]
	- Fixed bug where case was not being preserved by the
		foreign_key_info() method [Greg Sabino Mullane]
	- a fetch on any column that had a type that did not have an entry
		in the type_info array would segfault DBD::Pg.
		(CPAN bugs #4818,4432) [Rudy Lippan]
	- Duplicate rows bug with column_info() REMARKS has been fixed. However,
		support for Postgres 7.1.x which worked briefly for 1.31 has now been
		dropped for this feature. (Mark Stosberg)
	- Bumped required Perl version to 5.6.1 in Makefile.PL. We were already
		already requiring 5.6.1 for Pg.pm since 1.31.
	- Removed extra "return" statement in quote.c to make Solaris happy
		(CPAN bug #4419) [Rudy Lippan]
	- Changed get_info(29) to return (") instead of (\")
		(CPAN bug #4829) [Greg Sabino Mullane]

1.31 Mon Nov 17 21:21:21 UTC 2003
	- $dbh->{TYPE} now returns SQL_TYPE_TIMESTAMP instead of 1114 for
		timestamp columns. (In 1.31_x {x| x<8} $sth->{TYPE} returned 0
		but reported by ["Hirche, Joachim" <Joachim.Hirche@cimconcepts.com>]).
	- Raised required versions to Perl 5.6.1 and DBI 1.35
	- Fix syntax error related to pg_server_version (CPAN bugs #2492,2755,3121)
	- Cache multiple calls to pg_server_version.
	- Notice messages generated by the database now use the perl
		warning mechanism instead of going to stderr.
		[Dominic Mitchell <dom@semantico.com>]
	- $dbh->prepare() rewrites the SQL statement into an internal form,
		striping out comments and whitespace, and if PostgreSQL > 7.3 takes the
		stripped statement and passes that to Postgres' PREPARE statement,
		then rewrites the statement as 'EXECUTE "DBD::PG::cached_query n"
		($1, $2, ... $n, $n+1)' for DBD::Pg's execute.
		-- Currently disabled until PREPARE works a little better
	- Allows the use of :n and :foo bind params. So:
		(SELECT * FROM foo WHERE 1 = :this and 2 = :that) will now work.
	- Complains on execute when unbound bind params are submitted
		(instead of defaulting to NULL)
	- Switched over to use driver.xst.
	- pg_error() removes \n's rather than truncating the message on the first \n.
	- Fixed statement scan problem where the preparse of
		"SELECT foo[3:33] from bar" was scanning :33 as a placeholder
	- Moved the quoting of bind values out of execute() and into
		bind -- as there is no need to requote the value every time execute
		is called.
	- :veryverylongplaceholdername == Long walk, short pier -- fixed.
	- quote() is now in C and uses same code as bind_param.
	- Quoting and dequoting now use libpq quoting functions where available
		(I still need to take the libpq functions swiped out of quote.c and move
		it into libpqswip.c with license info &c., and switch ifndefs to ifdefs)
	- bind_param() will convert from 1,0 to TRUE/FALSE when pg_type
		is PGBOOLOID.
	- Fixed many heap buffer overruns.
	- Added support for the get_info() method [Greg Sabino Mullane]
	- Added tests for POD validation [Mark Stosberg]
	- Several improvements to column_info, including:
		- Fixed column_info so NULLABLE field shows correctly. [kevin@sysexperts.com]
		- REMARKS field works now [Mark Stosberg]
		- COLUMN_DEF fixed
		- COLUMN_SIZE fixed
		- pg_constraint column added to display column constraints
		- additional documentation and tests added
	- make test is now more intelligent and will bail out early if
		db connection fails. [Greg Sabino Mullane]
2005-04-08 14:35:08 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +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
recht
8dc45652d4 Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
2004-07-24 22:45:14 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
9e4957ec95 Put back MAKE_ENV settings lost in previous commit that told Makefile.PL
where the PostgreSQL headers and libraries were located.
2004-01-21 09:35:08 +00:00
jlam
848d6eb2a3 bl3ify 2004-01-05 22:16:24 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
mjl
9c7b6d04db Update p5-DBD-postgresql to 1.22
- Fix memory allocation problem in bytea escaping
  - Add utf8 support
  - Transform Perl arrays into PostgreSQL arrays
  - Fix for foreign_key_info()
  - Fix PG_TEXT parameter binding
  - Doc cleanups
  - Fix warning from func($table, 'table_attributes')
  - Added suppport for schemas
  - Fix binary to a bytea field conversion
2003-04-20 19:47:20 +00:00
mjl
637c77c045 Update p5-DBD-postgresql to 1.21
- System tables no longer returned by tables().
      - Fix table_attributes to handle removal of pg_relcheck in 7.3,
      - Properly reset transaction status after failed transaction when
        autocommit is off.  Properly report transaction failure message.
      - New pg_bool_tf database handle that when set to true booleans are
        returned as 't'/'f' rather than 1/0.
      - Maintenance transferred to GBorg.
      - Added implementations of column_info() and table_info(), and
        primary_key_info().
      - The POD formatting was cleaned up.
      - The preparser was updated to better handle escaped characters.
      - Added eg/lotest.pl as a demonstration of using large objects in buffers
        rather than files.
      - Added LISTEN/NOTIFY functionality.
      - Added constants for common PostgreSQL data types.
      - Fixed compile-time warnings.
2003-01-17 16:41:37 +00:00
jlam
475cbe5281 Bump PKGREVISION due to increase in the major number of libpq.so between
version 7.2.3 and 7.3.1 of databases/postgresql-lib.
2003-01-05 20:14:20 +00:00
seb
ed2eb17e4c Use perl5/module.mk. 2002-10-27 19:34:19 +00:00
grant
5a22b8505f buildlink1 -> buildlink2.
OK'd by jlam.
2002-09-20 01:45:27 +00:00
mjl
34ad22728c Fix problems introduced by our local patch: AutoCommit handles wouldn't,
and executes on closed handles crashed perl hard. Fixes PR/18009.
2002-08-21 23:10:38 +00:00
wiz
9a26d50068 Bump PKGREVISION for explorer's bugfixes. 2002-06-18 12:43:02 +00:00
explorer
71c275a6da update patchfile 2002-06-18 07:06:44 +00:00
explorer
2099315373 Fix DBD-postgresql to not keep a transaction open when idle. Without this change, postgresql 7.2 cannot vacuum properly. This change was submitted to the DBD-postgresql author, with no reply. 2002-06-18 07:05:30 +00:00
mjl
767893854a Update p5-DBD-postgresql to 1.13
- add definition for missing type 'numeric' and fix segfault in pg_type
 - implement missing metadata methods and change existing ones
2002-05-16 21:19:06 +00:00
mjl
6ef2a68bc0 Update p5-DBD-postgresql to 1.11
* Pg.pm (quote): Applied patch to simplfiy and speed up quoting.
2002-03-14 22:23:36 +00:00
wiz
6d37ab734c Remove non-existing patch-aa from distinfo. 2002-01-10 13:58:54 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
mjl
ede916eaef Update to 1.01
- fixed core dump when trying to use a BYTEA value with
          a byte outside 0..127
2001-08-10 11:53:15 +00:00
mjl
c2ba0284a3 Update to 1.00.
- Fetching all records now resets Active flag as it should.
2001-06-02 14:56:26 +00:00
mjl
bdbe4dd4eb Update to 0.99. Changes are
- fix segmentation fault in pg_error
- bug-fix for core-dump after any failed function call
- add support for the datatype bytea
- fix bug in connect method, which erroneously set the userid and the
  password to the environment variables DBI_USER and DBI_PASS
- which removed the special handling of a backslash when used for octal
  presentation. Now a backslash always will be escaped.
- remove memory-leak in ping function, bug-fix
- correct the recognition of primary keys in table_attributes().
- fix a segmentation fault in DBD::pg::blob_read() when reading LOBs that
  required perl to reallocate space for the variable holding the scalar value
- updated test.pl to create a test blob larger than 256 bytes (now 128 Kbytes)
- fix a seg-fault when inserting large amounts of text.
- remove the newlines from the error messages and quote date placeholders.
2001-05-25 20:40:03 +00:00
jlam
cded4feae4 Update postgresql dependencies to look like:
DEPENDS+= postgresql-{6.5.3*,7.0*,lib-*}:../../databases/postgresql-lib
2001-05-14 15:04:49 +00:00
agc
6ef28d06c5 Move to sha1 digests, and add distfile sizes. 2001-04-18 16:10:56 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
wiz
417e8bbabf Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:17:22 +00:00
mjl
0bcf069004 Update to 0.95
- add Win32 port from Bob Kline .
        - applied patch from Rudy Lippan
          which fixes a memory-leak with failed connections.
        - applied patch from Hein Roehrig
          which fixes a bug with escaping a backslash except for
          octal presentation
        - applied patch from Francis J. Lacoste
          to enhance the table_attributes subroutine
2000-12-07 11:53:50 +00:00
jlam
c70c96f2c8 Convert packages to use PERL5_PACKLIST (part 2). These are the database and
Apache perl modules, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 10:37:00 +00:00
rh
72f83ecb52 Depend on p5-DBI>=1.08, not p5-DBI-1.08 (we are now at 1.13) 2000-05-24 10:35:54 +00:00
jlam
b57cbb4650 Update dependency on postgresql to >=6.5.3. 2000-05-20 19:52:49 +00:00
rh
391ebfb164 Replace hard coded 'i386-netbsd' by ${MACHINE_ARCH}-${LOWER_OPSYS}. Fixes
PR 9774 by Michael Wolfson.
Adapt for new installation directory structure of postgresql package.
2000-05-03 15:50:24 +00:00
jwise
abd4c68fab Initial import of p5-DBD-postgresql-0.93, the DBD/DBI driver for Postgresql. 2000-02-19 23:43:23 +00:00