Commit graph

43 commits

Author SHA1 Message Date
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
joerg
500dbef42b Merge DragonFly pre-configure merging back into Makefile.common's
post-extract.
2005-12-02 21:01:34 +00:00
joerg
e7f63a4688 Allow PostgreSQL 7.4 to build on DragonFly. Bump revision of -lib,
since the PLIST changed. Don't define errno manually in contrib/,
depend on errno.h to do so. Explicitly include errno.h in some places.
2005-11-08 16:40:38 +00:00
hira
ec14506a7e - Add check for the existence of directory before using it.
- Use ${ECHO} instead of echo.
2005-09-12 13:19:22 +00:00
jschauma
0626116486 Specify template for IRIX 2005-07-13 15:32:40 +00:00
wiz
488648470d Update postgresql74* packages to 7.4.8.
Release Notes

                                Release 7.4.8

     Release date: 2005-05-09

   This release contains a variety of fixes from 7.4.7, including several
   security-related issues.
     __________________________________________________________________

Migration to version 7.4.8

   A dump/restore is not required for those running 7.4.X. However, it is
   one possible way of handling two significant security problems that
   have been found in the initial contents of 7.4.X system catalogs. A
   dump/initdb/reload sequence using 7.4.8's initdb will automatically
   correct these problems.

   The larger security problem is that the built-in character set encoding
   conversion functions can be invoked from SQL commands by unprivileged
   users, but the functions were not designed for such use and are not
   secure against malicious choices of arguments. The fix involves
   changing the declared parameter list of these functions so that they
   can no longer be invoked from SQL commands. (This does not affect their
   normal use by the encoding conversion machinery.)

   The lesser problem is that the "contrib/tsearch2" module creates
   several functions that are misdeclared to return internal when they do
   not accept internal arguments. This breaks type safety for all
   functions using internal arguments.

   It is strongly recommended that all installations repair these errors,
   either by initdb or by following the manual repair procedures given
   below. The errors at least allow unprivileged database users to crash
   their server process, and may allow unprivileged users to gain the
   privileges of a database superuser.

While here, fix postgresql74-client package installation on 2.0
(broken -X), and avoid the need for gtar in tcl-postgresql74.
2005-06-30 01:50:10 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jschauma
eaca63f4a7 Backport patch from
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y.diff?r1=1.64.4.1&r2=1.64.4.2

to fix CAN-2005-0247 for postgresql74
Bump PKGREVISION on postgresql74-lib
2005-03-17 22:35:48 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
dan
a135d9fce9 conflicts also with pg80 2005-02-07 04:27:27 +00:00
jdolecek
260b752864 Forced commit to note postgresql 7.4.9 changes:
Changes

     * Disallow "LOAD" to non-superusers
       On platforms that will automatically execute initialization
       functions of a shared library (this includes at least Windows and
       ELF-based Unixen), "LOAD" can be used to make the server execute
       arbitrary code. Thanks to NGS Software for reporting this.
     * Check that creator of an aggregate function has the right to
       execute the specified transition functions
       This oversight made it possible to bypass denial of EXECUTE
       permission on a function.
     * Fix security and 64-bit issues in contrib/intagg
     * Add needed STRICT marking to some contrib functions (Kris Jurka)
     * Avoid buffer overrun when plpgsql cursor declaration has too many
       parameters (Neil)
     * Fix planning error for FULL and RIGHT outer joins
       The result of the join was mistakenly supposed to be sorted the
       same as the left input. This could not only deliver mis-sorted
       output to the user, but in case of nested merge joins could give
       outright wrong answers.
     * Fix plperl for quote marks in tuple fields
     * Fix display of negative intervals in SQL and GERMAN datestyles
     * Make age(timestamptz) do calculation in local timezone not GMT
2005-02-05 14:50:52 +00:00
jdolecek
a6b103e307 Update postgresql74 to 7.4.7. This is security release only, fixes
recently discovered LOAD vulnerability.
2005-02-05 14:31:20 +00:00
tv
f55888ad1b First attempt to provide a dynloader backend implementation for Interix,
using libltdl.  (This could provide even more portability in the future.)
2005-01-25 05:21:53 +00:00
tv
6926b1508a Give interix3 a build template. 2005-01-21 03:15:52 +00:00
grant
1a95422e06 remove workaround for Darwin missing poll.h as a more correct fix is
applied globally now.
2004-12-20 13:16:02 +00:00
grant
43de412823 explicitly ignore poll() on Darwin because newer Darwin does not have
poll.h or provide the required #defines elsewhere.
2004-12-19 05:10:49 +00:00
jlam
3b03cc6d2f Fix postgresql74-plperl so that it finds libperl.so at runtime. The
PostgreSQL configure/build infrastructure tries very hard to separate
rpath flags from other LDFLAGS, which is completely unnecessary in
pkgsrc since the wrapper scripts are smart enough to deal with it on
their own.  In this case, the GNU configure script was stripping out
the rpath to libperl.so when setting perl_embed_ldflags, so modify
the configure script to not do this.

Also re-enable this package since it's possible to load the plperl.so
language module again.  I tested this with:

	createdb foo
	createlang -d foo plperl
2004-12-18 16:36:29 +00:00
jlam
9c0c303ca7 I lost the checksum for the tarball in my last commit... add it back. 2004-12-18 16:04:16 +00:00
jlam
a1dc1c896f Patch Makefile.shlib so that when creating shared libraries, we don't
only pass only the -L* LDFLAGS to the linker.  This is correct for
pkgsrc since the wrapper scripts take care of correctly passing the
rpath info to the linker, so we don't need to filter those out.  This
allows plpgsql.so to find libintl.so if we are using the pkgsrc version
of it.  Bump the PKGREVISION of postgresql*-lib to 7.3.8nb1 and
7.4.6nb2.

Link the postgres binary with the necessary flags to allow it to
dlopen() modules that use pthreads[*].  This should allow postgres to
open a plperl.so module built on a system with perl+threads.  Bump
the PKGREVISION of postgresql*-server to 7.3.8nb2 and 7.4.6nb2.

[*] Note that this behavior can be tweaked globally by setting
    DLOPEN_REQUIRE_PTHREADS to "yes" or "no" in /etc/mk.conf.
2004-12-18 15:59:55 +00:00
darcy
16105fb3a2 Move the pg_config binary from -client to -lib. This fixes PR pkg/28685
as well as the bulk build for py-postgresql.

Note that the man page is still built and installed by -client.  That's
a trickier problem.
2004-12-18 14:26:15 +00:00
recht
f30ea2004b Add back the sum for the hierarchical queries patch. 2004-11-04 20:06:12 +00:00
jdolecek
5d540d33ce Update all postgresql74 packages to 7.4.6. This fixes following two issues:
* A vulnerability exists due to the insecure creation of temporary files,
  which could possibly let a malicious user overwrite arbitrary files

* Repair possible failure to update hint bits on disk
  Under rare circumstances this oversight could lead to "could not access
  transaction status" failures, which qualifies it as a potential-data-loss bug.
2004-10-25 17:12:09 +00:00
jonb
7b1d7f6469 Add sum for patch file needed when compiling with PGSQL_USE_HIER=YES 2004-10-21 12:15:19 +00:00
jdolecek
eb6cafc4da drop dependence on nb1 of -client - it's not necessary after the update
to 7.4.5

pointed out by Greg Troxel in private e-mail
2004-10-13 05:21:49 +00:00
jdolecek
e07638733e Update the NetBSD dynloader wrapper code to use straigh dl*() calls on all
archs. This fixes support for dynamic loading on mips, and adresses
PR pkg/25473 by Byron Servies.
2004-10-10 16:44:39 +00:00
jdolecek
dee2cf3374 Add patches necessary to build PL/Python, based on information provided
in PR pkg/23349 by Michal Pasternak.
2004-10-10 12:33:35 +00:00
jdolecek
6ac71665c0 Update PostgreSQL 7.4 packages to 7.4.5. Changes are mostly reliability fixes.
Dump/restore is not necessary for 7.4.x users.

Changes in 7.4.5:
    * Repair possible crash during concurrent btree index insertions
       This patch fixes a rare case in which concurrent insertions into a
       btree index could result in a server panic. No permanent damage
       would result, but it's still worth a re-release. The bug does not
       exist in pre-7.4 releases.

Changes in 7.4.4:
     * Prevent possible loss of committed transactions during crash
       Due to insufficient interlocking between transaction commit and
       checkpointing, it was possible for transactions committed just
       before the most recent checkpoint to be lost, in whole or in part,
       following a database crash and restart. This is a serious bug that
       has existed since PostgreSQL 7.1.
     * Check HAVING restriction before evaluating result list of an
       aggregate plan
     * Avoid crash when session's current userID is deleted
     * Fix hashed crosstab for zero-rows case (Joe)
     * Force cache update after renaming a column in a foreign key
     * Pretty-print UNION queries correctly
     * Make psql handle \r\n newlines properly in COPY IN
     * pg_dump handled ACLs with grant options incorrectly
     * Fix thread support for OS X and Solaris
     * Updated JDBC driver (build 215) with various fixes
     * ECPG fixes
     * Translation updates (various contributors)
2004-10-10 07:30:22 +00:00
seb
9d206746ea For once it seems that the right package wildcard for CONFLICT is
'-*' instead of '-[0-9]*'. Otherwise postsgreql74-lib-whatever can be
incorrectly installed alongside postgresql73-lib-whatever because the latter
does not match 'postgresql73-[0-9]*'.
2004-08-21 17:27:04 +00:00
recht
e43a1bc75f update the site for hierarchical query patch 2004-08-04 22:17:33 +00:00
recht
c403c14345 Force GNU readline in the client to work around core dumps with the
native libedit.

Bump PKGREVISION to 1 to propagate the change.
2004-08-04 13:55:02 +00:00
recht
469aa0e7b0 change pkgname to postgresql74* (from postgresql*) 2004-07-24 22:44:12 +00:00
recht
f1025f1782 update to 7.4.3
changes:

* Fix temporary memory leak when using non-hashed aggregates (Tom)
* ECPG fixes, including some for Informix compatibility (Michael)
* Fixes for compiling with thread-safety, particularly Solaris (Bruce)
* Fix error in COPY IN termination when using the old network
  protocol (ljb)
* Several important fixes in pg_autovacuum (Matthew T. O'Connor)
* Fix problem with reading tar-format dumps on NetBSD and BSD/OS (Bruce)
* Several JDBC fixes
* Fix ALTER SEQUENCE RESTART where last_value equals the restart
  value (Tom)
* Repair failure to recalculate nested sub-selects (Tom)
* Fix problems with non-constant expressions in LIMIT/OFFSET
* Support FULL JOIN with no join clause, such as X FULL JOIN Y ON
  TRUE (Tom)
* Fix another zero-column table bug (Tom)
* Improve handling of non-qualified identifiers in GROUP BY clauses
  in sub-selects (Tom)
* Do not generate "NATURAL CROSS JOIN" when decompiling rules (Tom)
* Add checks for invalid field length in binary COPY (Tom)
* Avoid locking conflict between ANALYZE and LISTEN/NOTIFY
* Numerous translation updates (various contributors)
2004-06-27 16:38:32 +00:00
taca
789b67e947 Adjust docdir in configure. It should fix broken postgresql74-contrib
package in bulk build.
2004-06-25 14:51:23 +00:00
grant
0407039e23 really replace the localedir properly - we need USE_PKGLOCALEDIR for the
_LOCALEDIR definition. fixes PR pkg/25923.
2004-06-15 10:55:24 +00:00
cube
d8f0988ecb 'localedir' is actually two spaces away from the beginning of the line in
the configure script.  Let's play safe and use '\s+'.  Should fix PR 25923
by jmmv.
2004-06-14 20:51:11 +00:00
grant
cacfe89a60 work around this version setting localedir in autoconf stuff (and not
Makefiles) by using SUBST_SED instead of USE_PKGLOCALEDIR.

partially fixes install on Solaris.
2004-06-12 02:02:07 +00:00
grant
404b2d2831 it's "USE_GNU_TOOLS+=lex" not "flex". duh. 2004-06-11 10:49:36 +00:00
grant
22df858534 in fact, the whole lot needs flex(1) to build. 2004-06-11 10:40:56 +00:00
recht
d0ce7074dd Fix build for NetBSD > 1.6L < 2.0. 2004-04-29 22:23:32 +00:00
recht
82e12f085b Follow a suggestion by Josh Berkus (pgsql core team) and build
with --enable-thread-safety.
Bump PKGREVISIONs accordingly (meta-pkg, -client, -lib).
2004-04-20 22:37:22 +00:00
recht
c7c3475b09 PostgreSQL has no --with-htmldir, so install the html files by hand
to share/doc/html/postgresql.
2004-04-19 22:39:55 +00:00
recht
e9f9c2a65b Initial import of PostgreSQL 7.4.2
meta-package

PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system.  While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.

PostgreSQL is free and the complete source is available.

This is the meta-package for the PostgreSQL database system.
2004-04-19 00:07:12 +00:00