Commit graph

344 commits

Author SHA1 Message Date
Baptiste Daroussin
b5482324dc In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in databases
2013-12-11 18:08:52 +00:00
Palle Girgensohn
6030e71fcc The PostgreSQL Global Development Group has released a critical update
to all supported versions of the PostgreSQL database system, which
includes minor versions 9.3.2, 9.2.6, 9.1.11, 9.0.15, and 8.4.19. This
update fixes three serious data-loss bugs affecting replication and
database maintenance.  All users are urged to update their
installations at the earliest opportunity.

URL:	http://www.postgresql.org/about/news/1492/
2013-12-05 15:59:53 +00:00
Sunpoet Po-Chuan Hsieh
32da06605f - Fix PLIST for python3
Submitted by:	sunpoet (myself)
Approved by:	crees (pgsql)
2013-10-28 18:52:22 +00:00
Sunpoet Po-Chuan Hsieh
1e4b76852c - Remove DISTV: only used in PKGNAMESUFFIX and complained by portlint
- Convert to new LIB_DEPENDS format for postgresql*-contrib

Submitted by:	sunpoet (myself)
Reviewed by:	crees (pgsql)
Approved by:	jgh (pgsql)
2013-10-15 17:17:05 +00:00
Palle Girgensohn
69b65670f9 Update PostgreSQL ports to 9.3.1, 9.2.5, 9.1.10, 9.0.14, and 8.4.18.
Note that users of the hstore extension on version 9.3 must take an additional,
post upgrade step of running "ALTER EXTENSION hstore UPDATE" in each database
after update.

URL:	http://www.postgresql.org/about/news/1487/
2013-10-12 00:59:50 +00:00
Jason Helfman
284d8b8683 - Fix pkg name collision
Reviewed by: pgsql@
With hat: pgsql@
2013-10-10 00:09:35 +00:00
Jason Helfman
de278bfdf7 - revert r329725
Reported by: qat@
With hat: pgsql@
2013-10-07 20:03:38 +00:00
Jason Helfman
51bc2ff685 - Fix pkg name collision
Reviewed by: crees@
With hat: pgsql@
2013-10-07 19:04:04 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Jason Helfman
abd1752ca4 - convert from USE_GMAKE to USES=gmake
- trim historical headers

With hat: pgsql@
2013-07-07 00:15:47 +00:00
Palle Girgensohn
45704cebea Update postgresql93-client to properly depend on pkgconfig
Reported by: Ports-QAT
2013-05-12 21:09:38 +00:00
Chris Rees
472ecb4a8f Don't build client with ldap-- this is unnecessary and causes build breakage
for package building because of lack of LDAP installation.

PR:		ports/177381
Tested by:	Chris Dukes <chris.dukes.aix@gmail.com>
2013-05-06 18:37:00 +00:00
Chris Rees
9051d0d101 databases/postgresql-server ports: Unbreak NLS
Submitted by:	bapt
2013-04-28 18:15:06 +00:00
Chris Rees
7e146dbd2d databases/postgresql{84,91,92}-server: Readd bsd.port.pre.mk; it is required for checking existence of files in FILESDIR 2013-04-28 14:00:02 +00:00
Baptiste Daroussin
9dbc02d2c5 Convert USE_GETTEXT -> USES=gettext
While here:
- Trim headers
- Remove some useless pre.mk/post.mk
- Convert to optionsng
2013-04-26 15:10:57 +00:00
Palle Girgensohn
7f4822d46a The PostgreSQL Global Development Group has released a security
update to all current versions of the PostgreSQL database system,
including versions 9.2.4, 9.1.9, 9.0.13, and 8.4.17. This update
fixes a high-exposure security vulnerability in versions 9.0 and
later. All users of the affected versions are strongly urged to apply
the update *immediately*.

A major security issue (for versions 9.x only) fixed in this release,
[CVE-2013-1899](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1899),
makes it possible for a connection request containing a database name
that begins with "-" to be crafted that can damage or destroy files
within a server's data directory. Anyone with access to the port the
PostgreSQL server listens on can initiate this request. This issue was
discovered by Mitsumasa Kondo and Kyotaro Horiguchi of NTT Open Source
Software Center.

Two lesser security fixes are also included in this release:
[CVE-2013-1900](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1900),
wherein random numbers generated by contrib/pgcrypto functions may be
easy for another database user to guess (all versions), and
[CVE-2013-1901](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1901),
which mistakenly allows an unprivileged user to run commands that
could interfere with in-progress backups (for versions 9.x only).

Approved by:	portmgr (bdrewery)
URL:		http://www.postgresql.org/about/news/1456/
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1899
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1900
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1901
2013-04-04 13:21:22 +00:00
Palle Girgensohn
687fb3c056 PostgreSQL 9.2.3, 9.1.8, 9.0.12, 8.4.16 and 8.3.23 released
This update fixes a denial-of-service (DOS) vulnerability.  All users
should update their PostgreSQL installations as soon as possible.

The security issue fixed in this release, CVE-2013-0255, allows a
previously authenticated user to crash the server by calling
an internal function with invalid arguments.

URL:	http://www.postgresql.org/about/news/1446/
Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0255
2013-02-08 07:54:09 +00:00
Chris Rees
002ec11db5 Remove versioned PKGNAMESUFFIX from -plpython ports; the versions differ anyway
Submitted by:	sunpoet
2013-01-22 18:32:00 +00:00
Chris Rees
16b46f1aee Fix package build for -plpython
Although the plpython work was done by rm, this problem was actually my fault

Noticed by:	sunpoet
2013-01-22 17:59:42 +00:00
Ruslan Makhmatkhanov
7887e306d5 - add pkg-plist changes, forgotten in r310678
- fix portname in MOVED
- remove trailing whitespace in MOVED, while here
2013-01-20 10:17:45 +00:00
Jason Helfman
f40487fab9 - remove broken configurable non-default user/group for postgresql-server
- while here fix formatting of new header

With hat: pgsql@
2012-12-27 21:11:42 +00:00
Palle Girgensohn
72f58f762c Chase ICU update properly and bump PORTREVISION 2012-12-19 16:13:30 +00:00
Palle Girgensohn
e55b31351c Chase ICU update to 50 2012-12-19 16:03:58 +00:00
Palle Girgensohn
1d65fddbb2 Feature safe: yes
PR: 174336
fix typo
2012-12-10 16:44:09 +00:00
Palle Girgensohn
9cc8994640 The PostgreSQL Global Development Group has released an update to all current
versions of the PostgreSQL database system, including versions 9.2.2, 9.1.7,
9.0.11, 8.4.15, and 8.3.22.  Users of PostgreSQL Hot Standby replication
should update at the next possible opportunity. Other users should update
at their next maintenance window.

Deprecate the 8.3.22 version, since it is near end-of-life.

URL:	http://www.postgresql.org/about/news/1430/

Feature safe: yes
2012-12-06 16:40:35 +00:00
Jason Helfman
45efd07b44 - adopt optionsNG
with hat pgsql@
Feature safe: yes
2012-10-16 17:28:22 +00:00
Palle Girgensohn
1c8d4acc49 Update PostgreSQL to 9.2.1, 9.1.6, 9.0.10, 8.4.14 and 8.3.21 respectively.
This update fixes critical issues for major versions 9.1 and 9.2, and
users running those versions should apply it as soon as possible.

URL:	http://www.postgresql.org/about/news/1416/
2012-09-24 22:03:10 +00:00
Palle Girgensohn
894e7888d7 PostgreSQL 9.2 is released.
"PostgreSQL 9.2 will ship with native JSON support,
covering indexes, replication and performance improvements,
and many more features."

Read more at the web site.

URL:	http://www.postgresql.org/about/news/1415/
2012-09-10 11:53:40 +00:00
Palle Girgensohn
b2e130b81d update postgresql 9.2 to RC1 2012-08-27 14:16:00 +00:00
Chris Rees
551dca493f Use pre-build instead of pre-everything for backupwarning-- stop making people
wait before fetching etc

Suggested by:	ohauer
Discussed with:	girgen

While here, fix package for postgresql92-server
2012-08-19 15:24:30 +00:00
Palle Girgensohn
e450e8266c update postgresql 9.2 to beta4 2012-08-17 20:32:43 +00:00
Chris Rees
4f48db3b28 Fix fetch
Submitted by:	beat
2012-08-10 11:10:12 +00:00
Palle Girgensohn
ac518e9bd7 The PostgreSQL Global Development Group announces the third beta release
of PostgreSQL 9.2, which will include major increases in performance and
both vertical and horizontal scalability.  The PostgreSQL Project asks
all users to download and begin testing 9.2 beta 3 as soon as possible.

9.2 Beta 3 includes multiple bug fixes to earlier beta releases, fixing
almost all known outstanding issues as of last week.  Among them are:

* Multiple documentation updates
* Apply translation updates
* Fixes to transaction log and replication issues with SP-GiST
* Replace libpq's "row processor" API with a "single row" mode.
* Fix WITH issue with set operations (UNION/INTERSECT/EXCEPT)
* Improvements to Autovacuum cancellation
* Multiple pg_upgrade fixes
* Fix memory leak in pg_recievexlog
* Restore statistics collection broken by change to bgwriter
* Prevent corner-case coredump with rfree().

If you previously tested 9.2 beta and found one or more bugs, please
test 9.2 beta 3 and make sure that those issues are resolved.  If you
haven't yet tested 9.2, please help out the PostgreSQL project by
testing it now!

More information on how to test and report issues:
http://www.postgresql.org/developer/beta
2012-08-07 07:49:01 +00:00
Palle Girgensohn
3d2b0e285a The PostgreSQL Global Development Group today released security updates for all
active branches of the PostgreSQL database system, including versions 9.1.4,
9.0.8, 8.4.12 and 8.3.19.

Users of the crypt(text, text) function with DES encryption in the optional
pg_crypto module should upgrade their installations immediately, if you have'nt
already updated since the port was patched on May 30.  All other database
administrators are urged to upgrade your version of PostgreSQL at the
next scheduled downtime.

URL:      http://www.postgresql.org/about/news/1398/

Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2143
          Fix incorrect password transformation in contrib/pgcrypto’s DES crypt() function
	  This was fixed in a patch release for the FreeBSD ports on May 30.

Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2655
          Ignore SECURITY DEFINER and SET attributes for a procedural language’s call handle
2012-06-04 11:00:52 +00:00
Jason Helfman
8efd38a2ac - Address postgresql*-servers for crypt vulnerability (CVE-2012-2143)
http://www.postgresql.org/about/news/1397/

With hat: pgsql
2012-05-30 22:26:15 +00:00
Palle Girgensohn
e0673330c9 The PostgreSQL Global Development Group announces the beta release of
PostgreSQL 9.2, which will include major increases in performance and
both vertical and horizontal scalability.  The PostgreSQL Project asks
all users to download and begin testing 9.2 Beta as soon as possible.

Major performance and scalability advances in this version include:

* Index-only scans, allowing users to avoid inefficient scans of base
  tables
* Enhanced read-only workload scaling to 64 cores and over 300,000
  queries per second
* Improvements to data write speeds, including group commit
* Reductions in CPU power consumption
* Cascading replication, supporting geographically distributed standby
  databases

PostgreSQL 9.2 will also offer many new features for application
developers, including:

* JSON data support, enabling hybrid document-relational databases
* Range types, supporting new types of calendar, time-series and
* analytic applications
* Multiple improvements to ALTER and other statements, easing runtime
* database updates

For a full listing of the features in version 9.2 Beta, please see the
release notes:
http://www.postgresql.org/docs/devel/static/release-9-2.html

We depend on our community to help test the next version in order to
guarantee that it is high-performance and bug-free.  Please install
PostgreSQL 9.2 Beta and try it with your workloads and applications as
soon as you can, and give feedback to the PostgreSQL developers.  More
information on how to test and report issues:
http://www.postgresql.org/developer/beta
2012-05-15 22:14:55 +00:00
Chris Rees
ea1723d3ac Break postgresql-pltcl up into versioned ports; now we will have packages
Fix plist for 9.1
2012-03-05 21:18:50 +00:00
Chris Rees
56e5d02d70 Various tidiness patches:
- Compact -plperl ports
 - Portlint for 90-plperl
 - Update version numbers in pkg-install-server
 - s/spaces/tabs/
 - Use ${} instead of $()
 - s/YES/yes/
 - Tidy IGNORE values

Submitted by:	sunpoet
2012-03-05 20:10:22 +00:00
Chris Rees
42e6532431 Don't clobber do-build from slave ports
PR:		ports/165265
Submitted by:	Ben Morrow <ben@morrow.me.uk>
2012-03-04 17:58:21 +00:00
Chris Rees
d539cdd016 Over to new team, pgsql@FreeBSD.org 2012-03-04 17:19:59 +00:00
Chris Rees
62fab6dae0 Fix plist.
Pointyhat:	pav --> girgen
2012-02-29 19:42:37 +00:00
Palle Girgensohn
9b471aa835 The PostgreSQL Global Development Group today released security updates for all
active branches of the PostgreSQL object-relational database system, including
versions 9.1.3, 9.0.7, 8.4.11 and 8.3.18.

Users of pg_dump, users of SSL certificates for validation or users of triggers
using SECURITY DEFINER should upgrade their installations immediately. All
other database administrators are urged to upgrade your version of PostgreSQL
at the next scheduled downtime. More details on the security fixes here:

URL:	http://www.postgresql.org/about/news/1377/

Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0866
Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0867
Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0868
2012-02-27 16:24:48 +00:00
Chris Rees
6464561a27 Remove p5- from postgresql*-plperl 's mention in pkg-message-client 2012-02-19 19:35:02 +00:00
Chris Rees
7f447bdca7 Fix -plperl plist for 9.1 2012-02-19 19:04:51 +00:00
Chris Rees
5e91b431cd Install new pg_basebackup tool by default
Submitted by:	kuriyama
2012-02-05 15:32:49 +00:00
Chris Rees
8024910f7a Minor changes for UNIQUENAME; remove excessive hyphens
Apologies for the noise here; I'm getting used to the consequences of
slaving ports like this-- postgresql has an unusual arrangement here.

Submitted by:	Neil Darlow (neil@darlow.co.uk)
2012-02-01 19:31:58 +00:00
Chris Rees
01f53d5482 - Stop clobbering postgresql-server/-client OPTIONS with -contrib OPTIONS
- Minor optimisation (stop testing for !SLAVE_ONLY twice)

PR:		ports/164662
2012-01-31 18:21:33 +00:00
Chris Rees
23130d503f Use DISTVERSION instead of PORTVERSION to generate UNIQUENAME; options
don't work correctly otherwise.

http://lists.freebsd.org/pipermail/freebsd-ports/2012-January/072756.html

Pointyhat:	crees
2012-01-30 18:39:57 +00:00
Chris Rees
92ff236189 - To preserve my sanity, slave 82 and 83 to 84, and 90 to 91, resulting in
three fewer Makefiles to maintain

- Switch patch master site

- Various cleanups
2012-01-25 21:12:33 +00:00
Chris Rees
f2c674e5ef Add OPTION to postgresql9[10]-contrib for building without uuid-ossp
Requested by:	sunpoet
2012-01-23 20:36:58 +00:00