Commit graph

327 commits

Author SHA1 Message Date
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
Jason Helfman
8575a6c942 - Add profile support for PostgreSQL servers
- re-assign LOCALBASE to PREFIX
- add PG_GROUP to SUB_PLIST for packaging fix
- fix permissions for package installations

PR:	ports/162776
Submitted by:	jgh, Phil Phillips < pphillips at experts-exchange.com >
Reviewed by: rene (mentor)
Approved by: crees (maintainer, mentor)
2012-01-22 06:59:27 +00:00
Jason Helfman
e8e6b80a3a fix typo %%PG_GROUP%% in pkg-plist-server
Spotted by: decke
Approved by:	crees, rene (mentors,implicit)
2012-01-19 19:06:00 +00:00
Thomas Abthorpe
c541f27f86 - Reset ports due to maintainer timeouts and lack of response to emails
With hat:	portmgr
2012-01-19 03:35:49 +00:00
Jason Helfman
1cfcd19427 Fix plist to create directory with proper ownerships PostgreSQL database
may start.

PR:	ports/164273 (critical)
Submitted by: Alexander Yerenkow <yerenkow at gmail.com>
Approved by:	maintainer-timeout: girgen (1 day), portmgr (linimon)
2012-01-18 21:35:11 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Palle Girgensohn
c87711cb50 The PostgreSQL Global Development Group today released updates for all
active branches of the PostgreSQL object-relational database system,
including versions 9.1.2, 9.0.6, 8.4.10, 8.3.17 and 8.2.23.

This release contains 52 fixes to version 9.1, and a smaller number of
fixes to older versions, including:

- Fix bugs in information_schema.referential_constraints view**
- Correct collations for citext columns and indexes**
- Prevent possible crash when joining to a scalar function
- Prevent transitory data corruption of GIN indexes after a crash
- Prevent data corruption on TOAST columns when copying data
- Fix failures during hot standby startup
- Correct another "variable not found in subplan target list" bug
- Fix bug with sorting on aggregate expressions in windowing functions
- Multiple bug fixes for pg_upgrade
- Change Foreign Key creation order to better support
 self-referential keys**
- Multiple bug fixes to CREATE EXTENSION
- Ensure that function return type and data returned from PL/perl agree
- Ensure that PL/perl strings are always UTF-8
- Assorted bug fixes for various Extensions
- Updates to the time zone database, particularly to CST6

Changes marked with ** above require additional, post-update steps in
order to fix all described issues.

URL:	http://www.postgresql.org/docs/current/static/release.html

Also, fix a pthread problem in the FreeBSD port. [1]
PR:	160580 [1]
Feature safe:	yes
2011-12-05 16:45:14 +00:00
Chris Rees
166e936d8c Add DTRACE option for postgresql84-server
PR:		ports/150431
Submitted by:	rpaulo

Fix compilation with GSSAPI

PR:		ports/161786
Submitted by:	rea
Reviewed by:	mandree, John Marshall <john.marshall@riverwillow.com.au>

Mark IGNORE if DTRACE enabled for FreeBSD < 900021 without userland dtrace

PR:		ports/152502
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>

Approved by:	maintainer timeout (girgen, at least 2 months)
Feature safe:	yes
2011-11-30 18:49:31 +00:00
Chris Rees
e2ea524992 - do not conflict with postgresql 7.x (we don't have them in a tree anymore)
- remove not-supported FreeBSD versions
- whitespace fixes in pkg-descr
- remove empty pkg-plist (portlint doesn't seems care)

PR:		ports/161987
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-10-29 10:11:05 +00:00
Greg Larkin
9e0ad7ba10 - Fix plist when postgresql-plpython installed for postgresql 9.1 and
postgresql-plpython built with python 3+

PR:		ports/161822
Submitted by:	sunpoet
Approved by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer), girgen (maintainer implicit)
2011-10-26 15:09:26 +00:00
Chris Rees
213e27c72b - Fix packaging issue (missed %%PG_USER%% in pkg-plist-server)
- Remove extra bsd.port.pre.mk include from postgresql82-server

PR:		ports/161816 ports/161824 ports/161821
Submitted by:	Jason Helfman (jhelfman@e-e.com)
Approved by:	portmgr (pav)
2011-10-20 21:07:29 +00:00
Chris Rees
35155d9d3f This time remember to bump PORTREVISION 2011-10-19 18:29:58 +00:00
Chris Rees
b91d7d2f81 Fix SUB_LIST issue by deconditionalising it.
Temporary fix, but will stop the flurry of incoming PRs related.

PR:		ports/161779 ports/161774 ports/161791 ports/161771 ports/161769
Submitted by:	Many people, original fix suggested by Jason Helfman (jhelfman@e-e.com)
Approved by:	portmgr (pav)
2011-10-19 18:21:25 +00:00
Palle Girgensohn
d9a60ff20f The PostgreSQL Global Development Group today released minor version updates
for all active branches of the PostgreSQL object-relational database system,
including versions 9.1.1, 9.0.5, 8.4.9, 8.3.16 and 8.2.22.

All users are strongly urged to update their installations at the next
scheduled downtime.

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

Cleanup ports. Better handling of the knob PG_USER.
Also add uuid to 9.0 and 9.1 contrib ports.
2011-10-18 09:03:33 +00:00
Martin Matuska
1f13903637 - Add ICU support to PostgreSQL 9.1 server
- Make SSL available as an option
- Make portlint happier
- Fix some typos

PR:		ports/160915
Approved by:	maintainer (timeout)
2011-10-06 08:46:58 +00:00
Sunpoet Po-Chuan Hsieh
9927ba32dd - Unbreak postgresql-plpython: allow build with threaded python
- Pass maintainership to submitter

PR:		ports/159843
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-10-02 20:07:40 +00:00
Eygene Ryabinkin
7323d99cc7 Don't rebuild manual pages if configure was changed
Sometimes patches for PostgreSQL touch its configure script.  And the
logics inside current Makefiles for the documentation makes the manual
pages (and other stuff) to be dependent of the timestamp of the
top-level configure file.  This triggers the rebuild of the manual
pages, but since some additional XML-related tools are needed, this
rebuild can fail.

PR: 159844
Approved by: maintainer timeout (1 month)
Feature safe: yes
2011-09-25 22:20:28 +00:00
Eygene Ryabinkin
d335e2960e PostgreSQL: unbreak GSSAPI support
The problem with GSSAPI without Kerberos is that configure.in has
very funny logics of choosing GSSAPI libraries:
{{{
if test "$with_gssapi" = yes ; then
  if test "$PORTNAME" != "win32"; then
    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
                                  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
  else
    LIBS="$LIBS -lgssapi32"
  fi
fi
}}}

This makes configure to happily choose -lgssapi_krb5 when the system
has Kerberos support (NO_KERBEROS is absent), but ld's '--as-needed'
will throw this library away when no Kerberos functions are used and
linker won't produce 'postgres' binary whining about unresolved
symbols:
{{{
cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes \
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels \
-fno-strict-aliasing -fwrapv -L../../src/port -L/usr/local/lib \
-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib  -L/usr/local/lib \
-Wl,--as-needed -Wl,-R'/usr/local/lib' -Wl,-export-dynamic \
[... a bunch of *.o files was stripped ...]
../../src/timezone/pgtz.o ../../src/port/libpgport_srv.a -lintl -lssl \
-lcrypto -lgssapi_krb5 -lcrypt -lm -o postgres
libpq/auth.o: In function `pg_GSS_error':
auth.c:(.text+0x6e): undefined reference to `gss_display_status'
auth.c:(.text+0x8e): undefined reference to `gss_release_buffer'
auth.c:(.text+0xc5): undefined reference to `gss_display_status'
auth.c:(.text+0xe5): undefined reference to `gss_release_buffer'
libpq/auth.o: In function `ClientAuthentication':
auth.c:(.text+0x82d): undefined reference to `gss_delete_sec_context'
auth.c:(.text+0x941): undefined reference to `gss_accept_sec_context'
auth.c:(.text+0x9f1): undefined reference to `gss_release_buffer'
auth.c:(.text+0xaf3): undefined reference to `gss_release_cred'
auth.c:(.text+0xb10): undefined reference to `gss_display_name'
auth.c:(.text+0xbc8): undefined reference to `gss_release_buffer'
auth.c:(.text+0x10b0): undefined reference to `gss_release_buffer'
auth.c:(.text+0x111e): undefined reference to `gss_release_buffer'
libpq/pqcomm.o: In function `pq_close':
pqcomm.c:(.text+0x105a): undefined reference to `gss_delete_sec_context'
pqcomm.c:(.text+0x107d): undefined reference to `gss_release_cred'
gmake: *** [postgres] Error 1
}}}

Also, ports for PostgreSQL 8.4 and 9.0 had their <bsd.port.pre.mk>
misplaced: OPTIONS came after it, so WITH_/WITHOUT_ knobs will not
be really activated.

PR: 160050
Feature safe: yes
Approved by: maintainer timeout (1 month)
2011-09-25 18:09:06 +00:00