Commit Graph

104 Commits

Author SHA1 Message Date
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
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
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
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
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
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
pea
41f7f6f53e Update to 8.4.1.
Changelog: http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
Security fixes: http://www.postgresql.org/support/security

"fine by me" mbalmer@, ok sthen@
2009-09-14 20:22:27 +00:00
pea
78bfd95a99 Upgrade PostgreSQL to the latest version 8.4.0.
Initial diff (for rc and beta) from simon@

ok mbalmer@, simon@
commitski jasper@

BE CAREFULL: it's a major upgrade !
You MUST dump/restore all your data for this upgrade.
2009-07-21 19:43:45 +00:00
pea
aa6ab40b2f Update to 8.3.7
See http://www.postgresql.org/docs/8.3/static/release-8-3-7.html

ok mbalmer@
2009-03-18 14:34:10 +00:00
pea
53e9a2408d Upgrade to 8.3.6.
See http://www.postgresql.org/docs/8.3/static/release-8-3-6.html

ok mbalmer@ ajacoutot@
2009-02-07 16:56:31 +00:00
pea
76e693807e Upgrade to PostgreSQL 8.3.5: bug fix release.
OK mbalmer@, ajacoutot@
2008-11-04 12:56:50 +00:00
brad
3710ae3fbb Upgrade to PostgreSQL 8.3.4; bug fix release.
ok mbalmer@
2008-10-09 06:05:39 +00:00
brad
e82a2ea57d Upgrade to PostgreSQL 8.3.3; bug fix release.
ok mbalmer@
2008-07-18 06:57:30 +00:00
simon
764a999f9a Major update to version 8.3.1 - be sure to dump your databases before
you apply this and restore afterwards!

Additionally, implicit typecasts are history and not supported anymore.
Versions prior to 8.3 had the feature (some say bug) that functions,
expecting an argument to be of a certain type, have casted a variable of
any other type to the expected type, if possible.
This has changed now.  Tests surfaced rare occurrences of regressions,
which were then fixed in about ten minutes - and that code was not even
in the ports tree;  no issues found there.

A few more things have changed, namely tsearch2 went from contrib to the
core and native uuid type support was added;  for details read the
release announcement at
http://www.postgresql.org/docs/8.3/static/release-8-3.html.

tests & ok mbalmer@ (maintainer)
2008-03-24 17:26:12 +00:00
mbalmer
9287e2bc1f Cumulative security update to PostgreSQL 8.2.6 that fixes five security
vulnerabilities.

See http://www.postgresql.org/about/news.905 for details.
2008-01-07 16:34:52 +00:00
mbalmer
8582b7c834 Update PostgreSQL to version 8.2.5.
Release date: 2007-09-17
This release contains a variety of fixes from 8.2.4.

A dump/restore is not required for those running 8.2.X.

See http://www.postgresql.org/docs/8.2/static/release-8-2-5.html for a list
of all changes.
2007-09-20 19:20:48 +00:00
jasper
32a30e5331 -NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
+SHARED_ONLY=	Yes

ok ajacoutot@, simon@, mbalmer@ (for the postgresql bits)
2007-07-04 19:18:45 +00:00
mbalmer
4c03b5ccd9 Fix a typo. 2007-04-28 08:26:34 +00:00
mbalmer
391ab2f140 Security update to PostgreSQL 8.2.4.
This fixes several bugs and one vulnerability (CVE-2007-2138).
2007-04-23 15:25:17 +00:00
simon
738f344933 add the postgresql contributions from the contrib/ directory
as a subpackage, bump as required.

ok mbalmer@, go ahead robert@, kili@
2007-03-22 19:29:17 +00:00
mbalmer
987e110832 Move some manpages that sneaked into the -docs subpackage to the -main
subpackage.  spotted by nikolay.
2007-02-10 08:01:35 +00:00
mbalmer
70b3cc9acd The PostgreSQL 8.2.2 security update introduced a bug that has been fixed
by the PostgreSQL team in 8.2.3.
2007-02-07 15:29:25 +00:00
mbalmer
422a973b91 Security update to PostgreSQL 8.2.2.
This update fixes the following problems:

CVE-2007-0555 and CVE-2007-0556.  Both of these issues
allow an authenticated attacker with the permissions to run arbitrary SQL to
launch a denial-of-service attack or possibly read out random chunks of
memory.  Since attacks to require authenticated access, the security hole is
only considered medium risk.  You can read more about the issues on Mitre:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0555
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0556
2007-02-06 06:57:27 +00:00
mbalmer
1f0785bc5c Update to PostgreSQL 8.2.1
Please note that a database dump/restore is required to upgrade to this
version.  See the full details at the following URL:
http://www.postgresql.org/docs/current/static/release-8-2.html

requested, tested and ok by robert, simon
2007-01-17 16:47:25 +00:00
mbalmer
b15285645c Maintenance update to PostreSQL 8.1.6, bugfixes and changes in DST rules
for canade.  No API changes.
2007-01-13 16:39:45 +00:00
kili
7f006bdda1 new MULTI_PACKAGES 2006-11-23 21:21:54 +00:00
mbalmer
cf556eb9ba Typo in the MESSAGE-server file. Found by bernd, gracias! 2006-10-18 16:22:18 +00:00
mbalmer
8db0aad7ce Do not install a default database when installing the -server subpackage,
instead give advice on how to install a dabase with proper protection.

ok pvalchev, bernd, krw
2006-10-18 13:54:22 +00:00
mbalmer
681b205576 Update to PostgreSQL 8.1.5. As the file sizes of the libraries are not the
same in most cases, I bumped the minor version just to be on the safe side.
2006-10-15 16:00:11 +00:00
aanriot
1a5bf2fd3c - remove "nohup" from the suggested rc script.
- get ride of INSTALL-server and move database init to PLIST-server.
- bump PKGNAME.

ok mbalmer@
2006-10-09 11:55:18 +00:00
bernd
53b2b248ac Security update to postgresql-8.1.4.
Fixes SQL-injection attacks. (CVE-2006-2313, CVE-2006-2314)

For detailed information please see:

http://developer.postgresql.org/docs/postgres/release-8-1-4.html
http://secunia.com/advisories/20231/

ok mbalmer@ (MAINTAINER)
2006-05-24 11:18:29 +00:00
mbalmer
2c2240c2f4 Security update to PostgreSQL version 8.1.3.
Vulnerabilities in PostgreSQL SET ROLE/SET SESSION AUTHORIZATION

By issuing SET ROLE with a specially crafted argument, it is possible
for any logged-in database user to acquire the privileges of any other
database user, including superusers.  Database superuser status allows
access to the machine's filesystem and hence might be used to mount
remote attacks against the rest of the server's operating system.
This error exists in PostgreSQL releases 8.1.0 - 8.1.2 and is fixed in 8.1.3.

The same underlying bug exists in SET SESSION AUTHORIZATION in all
releases back to 7.3.  This variant cannot be exploited for privilege
escalation, because one must already be superuser to use SET SESSION
AUTHORIZATION.  However, if the server has been compiled with Asserts
enabled (which is not the default), then it is possible to trigger an
Assert failure before the privilege check is reached.  This would cause
a momentary denial of service to other database users.  This is repaired
in PostgreSQL releases 8.1.3, 8.0.7, 7.4.12, and 7.3.14.
2006-02-14 18:59:36 +00:00
mbalmer
9b330f2067 Update PostgreSQL to version 8.1.2 and move the README.OpenBSD file to the
server package, so that the informationis always available and not only
when the docs package is installed.  This was requested by many people.

SECURITY:
Version 8.1.2 fixes security and other problems that were present in 8.1.0.
See http://archives.postgresql.org/pgsql-announce/2006-01/msg00001.php for
details.
2006-02-05 09:23:22 +00:00
mbalmer
af7df5ea1a SHARED_LIBS
ok bernd
2006-01-07 11:11:17 +00:00