Commit graph

360 commits

Author SHA1 Message Date
John Marino
8f3cf904a9 databases category: Remove $PTHREAD_LIBS
Note: virtuoso did not pass check-plist from before, so it was fixed.

approved by:	PTHREAD blanket
2015-03-25 09:33:52 +00:00
Bartek Rutkowski
2621a39717 databases/postgresql91-server: add CPE information
- Maintainer's timeout (pgsql@FreeBSD.org)

PR:		197486
Submitted by:	Shun <shun.fbsd.pr@dropcut.net>
2015-03-20 08:42:18 +00:00
Palle Girgensohn
cbb709bca2 Revert the change from readline to libedit, and instead make libedit optional.
PR:	ports/197362
2015-02-07 17:05:07 +00:00
Palle Girgensohn
262af710e7 Update PostgreSQL-9.x to latests versions.
This update fixes multiple security issues reported in PostgreSQL over the past
few months. All of these issues require prior authentication, and some require
additional conditions, and as such are not considered generally urgent.
However, users should examine the list of security holes patched below in case
they are particularly vulnerable.

Security:	CVE-2015-0241,CVE-2015-0242,CVE-2015-0243,
		CVE-2015-0244,CVE-2014-8161
2015-02-05 22:54:34 +00:00
Palle Girgensohn
987b035d67 Revert r247147.
We need -pthread in LDFLAGS for threaded extensions like plv8js to work.

PR:		175783
Submitted by:	Li-Wen Hsu <lwhsu@FreeBSD.org>
2014-11-12 09:53:41 +00:00
Baptiste Daroussin
d3a9ea1e08 Turn OPTIONS_SINGLE KRB5 into an OPTIONS_RADIO like it is supposed to be
PR:		193451
Submitted by:	dmitry2004@yandex.ru
2014-09-10 13:34:53 +00:00
Chris Rees
dab15277f4 Convert pgsql ports to use USES+=pgsql
Reviewed by:	bapt
2014-08-25 17:53:26 +00:00
Marcus von Appen
a38c833874 - Unbreak builds after the lang/python27 update (r363790)
Exp-run:	192242, 192244
2014-08-02 07:01:53 +00:00
Chris Rees
421b8a5f6e Update to the latest snapshots.
uuid-ossp patch has been outdated with irrelevant changes (for us),
so massage back in.

In head of postgresql, this is handled properly, so eventually the ossp patches
can go.
2014-07-30 18:21:47 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Baptiste Daroussin
51a8fd3777 Fix non default LIB_DEPENDS
With hat:	portmgr
2014-07-16 07:59:58 +00:00
Baptiste Daroussin
407913afd9 Properly call MAKE_CMD 2014-06-24 22:34:27 +00:00
Palle Girgensohn
2d95865309 Fix bad ICU_patchfile
PR:		191044
Submitted by:	melvyn
2014-06-16 16:52:45 +00:00
Palle Girgensohn
11e79e69e9 In preparation for upcoming ICU-5.3 upgrade, I failed to update distfile on slave ports 2014-06-12 12:46:52 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Palle Girgensohn
9b588a49ff Fix mistake with ossp-uuid: don't use --with-ossp-uuid, since it will need
the ossp library present, and then we never use it.
2014-03-21 08:15:26 +00:00
Palle Girgensohn
4082f0b6db The PostgreSQL Global Development Group has released an update to all supported
version of the database system, including versions 9.3.4, 9.2.8, 9.1.13,
9.0.17, and 8.4.21. This minor release fixes a data corruption issue with
replication and crash recovery in version 9.3, as well as several other minor
issues in all versions.  All users of version 9.3 are urged to update their
installations at the next possible downtime.  Users of older versions should
update at their convenience.

The data corruption issue in PostgreSQL 9.3 affects binary replication
standbys, servers being recovered from point-in-time-recovery backup, and
standalone servers which recover from a system crash. The bug causes
unrecoverable index corruption during recovery due to incorrect replay of row
locking operations.  This can then cause query results to be inconsistent
depending on whether or not an index is used, and eventually lead to primary
key violations and similar issues.  For this reason, users are encouraged to
replace each of their standby databases with a new base backup after applying
the update.

See release notes for more changes.

URL:	http://www.postgresql.org/docs/current/static/release.html
URL:	https://wiki.postgresql.org/wiki/20140320UpdateIssues

A change specific to the FreeBSD port:
Modify the contrib/uuid-ossp to actually work (not crashing the backend) by
using the libc implementation of uuid instead of the ossp port. Schemas and
queries will just work. Based on the work of Andrew Gierth. 9.1+ EXTENSION
support added by girgen@.

URL:	http://pgfoundry.org/projects/uuid-freebsd
PR:	ports/121745, ports/182846
2014-03-20 13:43:15 +00:00
Antoine Brodin
4d4db2684b Stage support
Reviewed by:	postgresql@
Tested by:	miwi and me
2014-02-26 17:24:35 +00:00
Palle Girgensohn
fdd8968d3e remove missing tzdata files 2014-02-21 20:42:20 +00:00
Palle Girgensohn
86dd060cb0 The PostgreSQL Global Development Group has released an important
update to all supported versions of the PostgreSQL database system,
which includes minor versions 9.3.3, 9.2.7, 9.1.12, 9.0.16, and
8.4.20. This update contains fixes for multiple security issues, as
well as several fixes for replication and data integrity issues.  All
users are urged to update their installations at the earliest
opportunity, especially those using binary replication or running a
high-security application.

This update fixes CVE-2014-0060, in which PostgreSQL did not properly
enforce the WITH ADMIN OPTION permission for ROLE management. Before
this fix, any member of a ROLE was able to grant others access to the
same ROLE regardless if the member was given the WITH ADMIN OPTION
permission. It also fixes multiple privilege escalation issues,
including: CVE-2014-0061, CVE-2014-0062, CVE-2014-0063, CVE-2014-0064,
CVE-2014-0065, and CVE-2014-0066. More information on these issues can
be found on our security page and the security issue detail wiki page.

Security:	CVE-2014-0060,CVE-2014-0061,CVE-2014-0062,CVE-2014-0063
		CVE-2014-0064,CVE-2014-0065,CVE-2014-0066,CVE-2014-0067
2014-02-20 18:11:37 +00:00
Palle Girgensohn
2ef4318584 fix messed up file sizes for icu patch 2014-02-10 23:46:46 +00:00
Palle Girgensohn
2999fc98f0 Chase ICU update 2014-02-10 16:32:40 +00:00
Baptiste Daroussin
4650a910d0 Chase boost and icu bump
While here convert some LIB_DEPENDS
2014-02-07 11:44:08 +00:00
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
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
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
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
Jason Helfman
9cf373f5ef The PostgreSQL Global Development Group today released security updates for all active branches
of the PostgreSQL database system, including versions 9.1.5, 9.0.9, 8.4.13 and 8.3.20. This
update patches security holes associated with libxml2 and libxslt, similar to those affecting
other open source projects. All users are urged to update their installations at the first
available opportunity.

This security release fixes a vulnerability in the built-in XML functionality, and a vulnerability
in the XSLT functionality supplied by the optional XML2 extension. Both vulnerabilities allow
reading of arbitrary files by any authenticated database user, and the XSLT vulnerability
allows writing files as well. The fixes cause limited backwards compatibility issues.
These issues correspond to the following two vulnerabilities:

CVE-2012-3488: PostgreSQL insecure use of libxslt
CVE-2012-3489: PostgreSQL insecure use of libxml2
This release also contains several fixes to version 9.1, and a smaller number of fixes to older versions, including:

Updates and corrections to time zone data
Multiple documentation updates and corrections
Add limit on max_wal_senders
Fix dependencies generated during ALTER TABLE ADD CONSTRAINT USING INDEX.
Correct behavior of unicode conversions for PL/Python
Fix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT).
Fix syslogger so that log_truncate_on_rotation works in the first rotation.
Only allow autovacuum to be auto-canceled by a directly blocked process.
Improve fsync request queue operation
Prevent corner-case core dump in rfree().
Fix Walsender so that it responds correctly to timeouts and deadlocks
Several PL/Perl fixes for encoding-related issues
Make selectivity operators use the correct collation
Prevent unsuitable slaves from being selected for synchronous replication
Make REASSIGN OWNED work on extensions as well
Fix race condition with ENUM comparisons
Make NOTIFY cope with out-of-disk-space
Fix memory leak in ARRAY subselect queries
Reduce data loss at replication failover
Fix behavior of subtransactions with Hot Standby
2012-08-17 19:39:51 +00:00