Commit graph

238 commits

Author SHA1 Message Date
Palle Girgensohn
1c63d5a340 This time, *really* update to *latest* version of PostgreSQL, 8.3.5. 2008-11-07 18:07:50 +00:00
Palle Girgensohn
978e3de48f Update PostgreSQL to latest versions.
http://www.postgresql.org/docs/current/static/release-8-3-5.html
http://www.postgresql.org/docs/current/static/release-8-2-11.html
http://www.postgresql.org/docs/current/static/release-8-1-15.html
http://www.postgresql.org/docs/current/static/release-8-0-19.html
http://www.postgresql.org/docs/current/static/release-7-4-23.html

Note that the GiST problem mentioned does not apply to users of
the FreeBSD port, since the previous version of PostgreSQL never
reached the ports tree, due to the freeze of the tree pending the
FreeBSD 7.1 update.

PR:	121848, 124713
2008-11-07 09:49:49 +00:00
Palle Girgensohn
2181e5d2d4 Fix missed commit when updating ICU patch to chase update of autoconf 2.61 -> 2.62 2008-09-01 11:59:12 +00:00
Palle Girgensohn
c3b2ebe873 Update ICU patch to chase update of autoconf 2.61 -> 2.62
PR:		ports/126773
Submitted by:	Robert Schulze
2008-08-28 15:15:28 +00:00
Ade Lovett
771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00
Palle Girgensohn
89025407ac Updates of the PostgreSQL ports
Updates for all maintained versions of PostgreSQL are available today:
8.3.3, 8.2.9, 8.1.13, 8.0.17 and 7.4.21.  These releases fix more than
two dozen minor issues reported and patched over the last few months.
All PostgreSQL users should plan to update at their earliest
convenience. People in affected time zones, in particular, should
upgrade as soon as possible.

Release Notes:
        http://www.postgresql.org/docs/8.3/static/release.html

Also, fix umask error in periodic script [1].

PR:		ports/124457 [1]
Submitted by:	Alexandre Perrin
2008-06-12 23:46:07 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Pav Lucistnik
026e7e59d0 - Remove USE_GETOPT_LONG which is a no-op since March 200 2008-03-20 09:37:21 +00:00
Palle Girgensohn
6d85112973 Update to 8.3.1
Release notes:
http://developer.postgresql.org/pgdocs/postgres/release-8-3-1.html
2008-03-18 22:25:34 +00:00
Palle Girgensohn
7872925f6d The ICU patch <http://people.freebsd.org/~girgen/postgresql-icu/README.html>
is finally ported to postgresql-8.3, thanks to Petr Jelinek and yours truly.
2008-03-09 19:04:04 +00:00
Palle Girgensohn
2cc30ceb2a Remove bad "BETA" alert. This is not beta anymore.
Set update_process_title = off, as suggested by kris@ and others.
2008-02-18 12:55:02 +00:00
Palle Girgensohn
fbbdeec687 Today the PostgreSQL Global Development Group releases the
long-awaited version 8.3 of the most advanced open source database,
which cements our place as the best performing open source
database. Among the performance features you'll be excited about in
8.3 are:

    * Heap Only Tuples
    * BGWriter Autotuning
    * Asynchronous Commit
    * Spread Checkpoints
    * Synchronous Scan
    * "Var-Varlena"
    * L2 Cache Protection
    * Lazy XID

8.3 also has a lot of cool features for PostgreSQL DBAs and developers, including:

    * CSV Logging
    * SQL/XML
    * MS Visual C++ support
    * ENUMs
    * Integrated Tsearch
    * SSPI & GSSAPI
    * Composite Type Arrays
    * pg_standby
2008-02-04 17:12:32 +00:00
Palle Girgensohn
98f3f95bd8 Update to RC2.
[1] Fix problem installing from package.

[2] Use DISTVERSION instead of PORTVERSION.
    (the port reports now correct version 8.3.r2)

[2] Enable more 8.3 features:
    - Add OPTION for the new XML data type (default: enabled)
    - Add OPTION for usage of system timezone data (default: included tzdata)

PR:		ports/119770 [1], ports/119561 [2]
Submitted by:	Artis Caune [1], Martin Matuska [2]
2008-01-22 14:08:48 +00:00
Palle Girgensohn
4e84ab85b9 Fix MASTER_SITE_SUBDIR
PR:		ports/119477
Submitted by:	Sunpoet Po-Chuan Hsieh
2008-01-09 09:15:27 +00:00
Palle Girgensohn
0628585e11 Revert bad commit. The size was OK for *this* version. 2008-01-07 20:45:32 +00:00
Palle Girgensohn
45ad356923 Fix bad distinfo sizes 2008-01-07 20:41:37 +00:00
Palle Girgensohn
1d25499d3d Update all PostgreSQL ports to latest versions.
This includes a bunch of security fixes: CVE-2007-6067, CVE-2007-4772,
CVE-2007-6601, CVE-2007-6600 and CVE-2007-4769.

Security: http://www.postgresql.org/about/news.905
2008-01-07 13:51:57 +00:00
Pav Lucistnik
d342d979ea - Mark BROKEN: unfetchable 2007-12-14 19:50:38 +00:00
Palle Girgensohn
1577187ba7 Update to PostgreSQL 8.3 beta2.
http://www.postgresql.org/developer/beta

This is beta quality, don't use in production.

Approved by:	portmgr (erwin)
2007-11-01 07:10:04 +00:00
Palle Girgensohn
104aa6c048 Introducing the first beta of PostgreSQL 8.3
Note that this is a BETA VERSION of the PostgreSQL server.
Use it only for testing.
2007-10-15 15:32:19 +00:00
Palle Girgensohn
003fae718d Work in progress 2007-10-08 13:17:38 +00:00
Edwin Groothuis
e74f1f2ba2 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 00:24:54 +00:00
Ade Lovett
3e862d356d Fix plist
Approved by:	maintainer
2007-09-25 22:34:32 +00:00
Palle Girgensohn
9d6b68248f Update PostgreSQL ports to the latest patch releases.
PR: ports/104075
2007-09-17 16:45:00 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Palle Girgensohn
0460921154 Update PostgreSQL to 7.3.19, 7.4.17, 8.0.13, 8.1.9 and 8.2.4 respectively:
The PostgreSQL Global Development Group has released updated versions
 for PostgreSQL 8.2 and all back versions to patch a privilege
 escalation exploit in SECURITY DEFINER functions.  All users of this
 feature are urged to update to the latest minor version and follow
 instructions on securing these functions as soon as possible.  This
 minor release also contains other fixes, so all users should plan to
 deploy it.

 Once you have updated, additional steps are required to secure your
 database against the exploit.  Please read the release notes at
 http://www.postgresql.org/docs/8.2/static/release.html and the
 TechDocs article at http://www.postgresql.org/docs/techdocs.77 on how
 to lock down your security definer functions, if you use them.

 As always, application of a minor release does not require a dump and
 reload of the database.

 The frequency of security fixes recently is a result of increased
 scrutiny of the PostgreSQL code by government agencies and
 security-conscious companies.  Rapid turnaround on security patches
 is key to keeping PostgreSQL the most secure SQL database.  Your work
 and vigilance in applying the latest security updates ensures that
 there will never be a PostgreSQL "worm".

http://www.postgresql.org/docs/8.2/static/release-8-2-4.html
http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-9
http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-13
http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4-17

http://www.postgresql.org/docs/techdocs.77

Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2138
2007-04-23 16:10:54 +00:00
Norikatsu Shigemura
ded27d2f66 Respect PTHREAD_CFLAGS/PTHREAD_LIBS.
Approved by:	maintainer timeout (1 month)
2007-03-18 16:23:18 +00:00
Palle Girgensohn
8fb2e60bb6 Update PostgreSQL 8.x to 8.0.12, 8.1.8 and 8.2.3 respectively:
The recent security release (8.0.11, 8.1.7, 8.2.2) has been withdrawn.
  It contained an issue which causes error with custom data types, type
  constraints and expression indexes. These upgrades fix the problem.
2007-02-07 09:51:48 +00:00
Palle Girgensohn
7e70627d9c Add option to build with LDAP authentication
Suggested by: Ederson de Moura
2007-02-06 15:53:24 +00:00
Palle Girgensohn
7f54aaa474 Update PostgreSQL with, amongst other things, two security fixes:
A vulnerability allows suppressing the normal checks that a SQL
  function returns the data type it's declared to do. These errors can
  easily be exploited to cause a backend crash, and in principle might
  be used to read database content that the user should not be able to
  access. [CVE-2007-0555]

  A vulnerability involving changing the data type of a table column
  can easily be exploited to cause a backend crash, and in principle
  might be used to read database content that the user should not be
  able to access. [CVE-2007-0556]

The release includes a set of other fixes as well. Please see the
release information at
http://www.postgresql.org/docs/8.2/static/release-8-2-2.html

Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0555
Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0556
2007-02-05 15:41:41 +00:00
Palle Girgensohn
6b11e89876 Update postgresql to 8.2.1, 8.1.6, 8.0.10, 7.4.15 and 7.3.17.
Release notes:
http://www.postgresql.org/docs/7.3/static/release.html#RELEASE-7-3-17
http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4-15
http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-10
http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-6
http://www.postgresql.org/docs/8.2/static/release-8-2-1.html

The server-side utilities of postgresql (initdb, initlocation,
ipcclean, pg_controldata, pg_ctl, pg_id and pg_resetxlog) are now
installed by the respective postgresql*-server port (previously they
where installed with the client). If you update the client, you should
also update the server to make sure you are not left without the
server-side tools. Do something like:

    portupgrade postgresql-client postgresql-server
2007-01-09 16:29:35 +00:00
Palle Girgensohn
ac681feb0c Fix build problems when using WITH_THREADSAFE 2006-12-07 14:28:41 +00:00
Palle Girgensohn
5b1dcdfc6f Welcome new release of the world's most advanced open source database:
PostgreSQL 8.2.0

Complete release notes are available at
http://www.postgresql.org/docs/current/static/release-8-2.html
2006-12-06 16:50:34 +00:00
Palle Girgensohn
74002c4532 Mark as work in progress 2006-11-06 09:03:04 +00:00
Palle Girgensohn
c03d288c14 The update to handle different versions of ICU was not sufficient.
Update the patches to handle ICU version 3.6 and fall back to 3.4.
2006-09-27 12:58:53 +00:00
Palle Girgensohn
82002cf629 Fix bad file name to the ICU patch.
Pointed out by:	Penty Wenngren <penty.wenngren@dgc.se>
Pointy hat to:	me
2006-09-21 16:32:49 +00:00
Palle Girgensohn
ec763040d0 Update the patch to be more agnostic with regards to the version of icu.
It now links with icu-3.6 as well as the earlier versions.
2006-09-20 09:00:40 +00:00
Maxim Sobolev
f782d82915 There is no point in setting mode of rc.d file to be 554, set it to 555.
Otherwise there could be problems with the service not starting up in the
case when owner of the file has been changed.
2006-06-26 22:24:10 +00:00
Palle Girgensohn
85e4e49806 Update all PostgreSQL to fix a security flaw
The PostgreSQL Global Development Group today released versions 8.1.4, 8.0.8,
7.4.13 and 7.3.15. This is an urgent update to close a security hole which
can permit a SQL injection attack on some applications running PostgreSQL.

Users are urged to apply the update as soon as reasonably possible. Since the
update affects client functionality, most driver projects will be updating
this week as well.

Because the security issue involved is complex, we have added a section in
Techdocs to explain it: http://www.postgresql.org/docs/techdocs.52. Please
read this first before applying the updates.

Also, fix rc_subr startup problems on FreeBSD-7.x.

Security:	http://www.postgresql.org/docs/techdocs.50
PR:		ports/95154
2006-05-23 21:18:58 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Palle Girgensohn
2466e8fe26 Minor release 8.1.3 patches security issue
Release Note: http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-3

PR:		ports/93440
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2006-02-17 20:12:14 +00:00
Edwin Groothuis
f2ab1844f2 Add missing ) around SIZE statements. 2006-01-30 09:38:49 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Palle Girgensohn
1d992c44d7 Update postgresql with latest patch release.
A critical fix repairs an error in ReadBuffer that can cause data loss
due to overwriting recently-added pages.  This applies to the 8.1 and
8.0 branches on all platforms.

Note that this update might require a reindex of textual columns under
certain conditions; please see UPDATING.

Other fixes included are:
-- Character string locale comparison bug. This may require a REINDEX
    on text column indexes in some locales, such as Hungarian.
-- Prevent accidental changes of locale by plperl
-- Two fixes for Japanese encodings
-- Two fixes for COPY CSV
-- Fixes for functions returning RECORD
-- Fixes to autovacuum, dblink and pgcrypto
2006-01-09 17:30:38 +00:00
Ade Lovett
faa33cf979 Add 'config' to the list of directories installed by postgresql81-client,
so as to fully install everything needed for pgxs to work correctly.

Approved by:	maintainer
2006-01-07 00:14:42 +00:00
Palle Girgensohn
d6b6d44388 Handle a change in rc.subr. nowadays, "faststart" is used instead of
"start" when booting, since there's no need waste time checking for
running processes when the OS is starting up.

Bumping portrevision.

PR:		90884
Submitted by:	Victor Snezhko <snezhko@indorsoft.ru>
2005-12-25 20:06:23 +00:00
Palle Girgensohn
4ec6208676 Update postgresql to 8.1.1
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
PR:		90443
2005-12-22 20:13:30 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Palle Girgensohn
170eff296f Let postgresql (libpq.so) only link with the Kerberos implementations
installed from ports. The base heimdal distribution installs libraries
that have no depenency information. While this is quite correct, it
means that each library that links with libpq.so must also know if
libpq.so is linked with libkrb.so et al. Problem is, there's no good
way to get this information (pg_config has a --libs option starting at
version 8.1) and all ports using postgresql must be changed to make it
possible to link with a libpq.so that was configured to use the
Kerberos implementation installed in /usr by default. Hence, we
require one of the ports (heimdal or krb5) if postgresql is to be
linked with Kerberos. At least for now, until we can fix this in some
better way.

Also, if MIT Kerberos (security/krb5) is installed, users should
ideally remove the base heimdal installation so linkers will not pick
it up in preference to the krb5 libs (base heimdal has higher version
numbers than krb5 port).

PR: 80869, 88098, 85178
2005-11-14 23:59:26 +00:00
Palle Girgensohn
77596b1b62 Fix UNIQUENAME
Pointed out by: Vivek Khera <vivek@khera.org>
2005-11-11 16:05:25 +00:00