Commit Graph

215 Commits

Author SHA1 Message Date
sthen
20b4cba0fb Critical SECURITY update to PostgreSQL, fixing CVE-2013-1899,
CVE-2013-1900 and CVE-2013-1901. ok jasper@

"A major security issue fixed in this release, 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."   http://www.postgresql.org/about/news/1456/
2013-04-04 14:45:46 +00:00
espie
3f680606a7 PERMIT_* / REGRESS->TEST sweep 2013-03-11 02:52:04 +00:00
jasper
d8648366ab - update to postgresql 9.2.3
* includes a fix for CVE-2013-0255

ok pea@ (MAINTAINER)
2013-02-07 17:29:05 +00:00
pea
c35abdb887 Bugfixes update to 9.2.2
ok jeremy@
2012-12-10 13:45:49 +00:00
sthen
4e500b356b Lower the suggested increase to sysv semaphores to a level which is still
suitable for normal use, but is a bit lower (semmni=60, semmns=1024),
make it clear that the default in the kernel is *just* enough for the
default max_connections value, and point out the manual section
describing this in more detail.   ok pea@ jeremy@
2012-11-22 10:52:38 +00:00
pea
b39c6fccaa Major update to PostgreSQL 9.2.1.
As usual a dump/restore is required.

ok jasper@ jeremy@ landry@
2012-09-24 19:57:02 +00:00
pea
1d513c6da1 Bugfix update to 9.1.5.
2 CVE fixed (CVE-2012-3488 and CVE-2012-3489)

ok ajacoutot@
2012-08-19 18:22:32 +00:00
ajacoutot
5787f3b87c Set rc_usercheck to NO. 2012-08-04 15:28:14 +00:00
pea
373110eb9f Bugfixes update to 9.1.4
ok ajacoutot@
2012-06-04 13:01:58 +00:00
ajacoutot
f852823107 Make the rc.d(8) script use pg_ctl all the way.
ok pea@ (maintainer)
2012-06-01 15:06:45 +00:00
ajacoutot
0691c69586 Use RCDIR instead of /etc/rc.d when refering to packages rc scripts.
discussed with espie and sthen
ok sthen@
2012-04-22 11:41:55 +00:00
sthen
e1add271e0 Add steps to copy SSL certs and a reminder about UTF8 to postgresql-server's
upgrade notes.  ok pea@
2012-04-12 11:47:05 +00:00
pea
af6fa238bd Update to 9.1.3
ok ajacoutot@
2012-03-05 15:00:57 +00:00
sthen
3039a9230c - show an example command line for initializing the database with UTF8,
it's mentioned in text but this makes it clearer (and it's a pain to switch
it afterwards :)

- s/task/tasks

ok pea@
2012-01-24 09:20:17 +00:00
pea
a8ca6dfb36 Update to 9.1.2
Two important things:

+ Fix bugs in information_schema.referential_constraints view
If you need to fix this in an existing installation, you
can (as a superuser) drop the information_schema schema then re-create it
by sourcing /usr/local/share/postgresql/information_schema.sql.
This must be repeated in each database to be fixed.

+ Make contrib/citext's upgrade script fix collations of
citext columns and indexes.
If you have a previously-upgraded database that is suffering
from this problem, and you already ran the CREATE EXTENSION command,
you can manually run (as superuser) the UPDATE commands found
at the end of /usr/local/share/postgresql/extension/citext--unpackaged--1.0.sql.


ok jeremy@
2011-12-07 08:32:18 +00:00
sthen
b0603ce284 tweak the pgsql major upgrade upgrade notes;
- use /etc/rc.d to stop and start the daemon.
- use sudo rather than keep jumping between root/_postgresql users.
- use pkg_add -ui rather than just -u (allow it to ask if you've backed
up, rather than just terminating).

ok pea@
2011-10-18 12:03:01 +00:00
espie
ba89972e6c bsd.own.mk hasn't been needed since krb5 has been standard... 2011-10-17 13:27:11 +00:00
pea
f07982b4fe Bugfix update
ok ajacoutot@
2011-09-26 11:58:28 +00:00
pea
ed27f8a671 Major upgrade to PostgreSQL 9.1.0
A dump/restore is required.

Tested in a bulk by jasper@, thanks !

ok jasper@, jeremy@
2011-09-23 09:46:14 +00:00
espie
61199a1dbc normalize pkgpath 2011-09-16 08:48:01 +00:00
sthen
cc75bfc0c4 - only suggest cap_mkdb if login.conf.db exists, ok aja@ landry pea@
- show people how to setup ssl and tweak headings, ok pea@
2011-06-06 08:43:59 +00:00
ajacoutot
f982995f2b Add a consistent header that substitutes FULLPKGNAME for the READMEs.
ok jasper@ sthen@
2011-06-02 13:41:36 +00:00
fgsch
17318bc15d Sync comment with reality. 2011-05-08 23:11:36 +00:00
pea
0722051832 Update to 9.0.4.
Changelog: http://www.postgresql.org/docs/9.0/static/release-9-0-4.html

ok ajacoutot@, jasper@
2011-04-19 08:39:21 +00:00
pea
f475a8102b Add an explanation about cluster's encoding.
Spotted by ajacoutot@

ok ajacoutot@
2011-04-07 14:45:25 +00:00
pea
ec7eff9ad3 Allow PostgreSQL to run on Loongson.
With help of miod@ (thx !)

ok jasper@
2011-04-07 13:54:16 +00:00
ajacoutot
1ffbcaa750 Remove all redirections -- rc.subr(8) now takes care of it. 2011-03-17 16:49:27 +00:00
ajacoutot
564c909458 Remove now uneeded redirection. 2011-03-09 18:51:48 +00:00
pea
fa243c7d12 Add a small upgrade howto.
idea from sthen@
ok sthen@, landry@
looks good espie@
2011-02-09 10:53:12 +00:00
pea
6c67d07d32 Update to 9.0.3.
+ CVE fix (CVE-2010-4015)
+ fix nasty behavior:
  - Before exiting walreceiver, ensure all the received WAL is fsync'd to disk.
    Otherwise the standby server could replay some un-synced WAL, conceivably leading
    to data corruption if the system crashes just at that point.
  - Make ALTER TABLE revalidate uniqueness and exclusion constraints when needed

Tested in a bulk by landry@

ok ajacoutot@, landry@, sthen@
2011-02-02 14:10:45 +00:00
ajacoutot
ae70c849c2 Make use of rcexec.
While here, force postgresql to quit in rc_stop, ok pea@
2011-01-05 16:05:54 +00:00
ajacoutot
e133cd7a34 Cope with recent class handling in rc.subr. 2011-01-04 16:03:00 +00:00
ajacoutot
4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00
ajacoutot
b28452a489 Cope with recent rc.subr changes. 2010-12-24 10:40:04 +00:00
jasper
ac44ce0243 - bump after uuid rename, reminded by aja@ 2010-12-24 09:07:38 +00:00
pea
f0bf60f4e0 Bugfixes update to 9.0.2
Changelog: http://www.postgresql.org/docs/9.0/static/release-9-0-2.html

ok ajacoutot@
2010-12-17 10:27:18 +00:00
ajacoutot
a790ad3f29 Fix variable names in rc script. Breakage spotted by pea@
While here, deal with the pidfile in pre, not post.

ok pea@ (maintainer)
2010-12-15 11:32:26 +00:00
ajacoutot
a973364d79 Move to using daemon_user.
ok pea@ (maintainer)
2010-12-13 16:14:38 +00:00
espie
9139a53b56 newer depends with >= 2010-11-26 07:18:59 +00:00
espie
9de7d94549 a few depends I missed 2010-11-15 12:44:20 +00:00
espie
2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00
landry
71d721d201 pkg-readme filename comes from ${FULLPKGNAME}, fixes packaging. 2010-11-09 09:07:28 +00:00
ajacoutot
6ec76fdbc6 Add missing RCS id. 2010-11-08 14:57:56 +00:00
pea
bea13cc2c7 * MAJOR UPGRADE *
+ upgrade to 9.0.1
+ move readme to new location
+ add a rc script

A dump / restore is needed for this upgrade.
See http://openbsd.raveland.org/ports/postgresql/UPGRADE_HOWTO.txt
if you need help for this.

ok jasper@, eric@
2010-11-08 14:12:24 +00:00
espie
cd474773cf bye bye old LIB_DEPENDS 2010-11-06 22:50:02 +00:00
espie
880de1aa40 USE_GROFF=Yes 2010-10-18 17:06:05 +00:00
pea
b8ddf1b93b Update to 8.4.5
Changelog here: http://www.postgresql.org/docs/8.4/static/release-8-4-5.html

ok jasper@

note: i will update it to 9.0.1 in a few days
2010-10-08 06:50:23 +00:00
jasper
c38e147ab2 - SECURITY update of postgresql to 8.4.4
fixes CVE-2010-1169 CVE-2010-1447 and CVE-2010-1170.

ok pea@ (MAINTAINER)
2010-05-18 12:01:23 +00:00
pea
af71728075 Update to 8.4.3
Please note that pg_standby is now in the -contrib package

ok jasper@, sthen@
2010-03-23 10:24:45 +00:00
pea
500570cb81 Update to 8.4.2
Please note:
if you have any hash indexes, you should REINDEX them after updating to 8.4.2,
to repair possible damage.

Changelog:
http://www.postgresql.org/docs/current/static/release-8-4-2.html

ok sthen@
2009-12-16 14:34:58 +00:00