aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql84-server
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2006-05-24 05:18:58 +0800
committergirgen <girgen@FreeBSD.org>2006-05-24 05:18:58 +0800
commit324037c624de18277eb6445565f2f10aee1302eb (patch)
treee663d34fa4dd4ad62938a83d3d3d1b6f23c37504 /databases/postgresql84-server
parent0f48e7649ee552bb6d4b821bc50b1fd92526e2b3 (diff)
downloadfreebsd-ports-gnome-324037c624de18277eb6445565f2f10aee1302eb.tar.gz
freebsd-ports-gnome-324037c624de18277eb6445565f2f10aee1302eb.tar.zst
freebsd-ports-gnome-324037c624de18277eb6445565f2f10aee1302eb.zip
Update all PostgreSQL to fix a security flaw
The PostgreSQL Global Development Group today released versions 8.1.4, 8.0.8, 7.4.13 and 7.3.15. This is an urgent update to close a security hole which can permit a SQL injection attack on some applications running PostgreSQL. Users are urged to apply the update as soon as reasonably possible. Since the update affects client functionality, most driver projects will be updating this week as well. Because the security issue involved is complex, we have added a section in Techdocs to explain it: http://www.postgresql.org/docs/techdocs.52. Please read this first before applying the updates. Also, fix rc_subr startup problems on FreeBSD-7.x. Security: http://www.postgresql.org/docs/techdocs.50 PR: ports/95154
Diffstat (limited to 'databases/postgresql84-server')
-rw-r--r--databases/postgresql84-server/Makefile4
-rw-r--r--databases/postgresql84-server/distinfo24
-rw-r--r--databases/postgresql84-server/files/pgsql.sh.tmpl2
3 files changed, 15 insertions, 15 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index b4e46cea0f2b..606887781e88 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
-PORTVERSION?= 8.1.3
+PORTVERSION?= 8.1.4
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
@@ -268,7 +268,7 @@ post-build:
.endif
.if defined(SERVER_ONLY)
-pre-install:
+pre-su-install:
@ ${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
.endif
diff --git a/databases/postgresql84-server/distinfo b/databases/postgresql84-server/distinfo
index c6944c6e9105..85a91a28a5b5 100644
--- a/databases/postgresql84-server/distinfo
+++ b/databases/postgresql84-server/distinfo
@@ -1,15 +1,15 @@
-MD5 (postgresql/postgresql-base-8.1.3.tar.bz2) = 4b9466e42b7951d7ec7be4455f64b13f
-SHA256 (postgresql/postgresql-base-8.1.3.tar.bz2) = 39a776680997639a100ddbdc33128c210f610e7aadc114624d3d02fdd0350619
-SIZE (postgresql/postgresql-base-8.1.3.tar.bz2) = 8044411
-MD5 (postgresql/postgresql-docs-8.1.3.tar.bz2) = 9ca0b7f6b4c2edcd51b9995d4e3a8a42
-SHA256 (postgresql/postgresql-docs-8.1.3.tar.bz2) = 3aecc34a12e9f611ff83d109884bae90c28f0491cc11a372ae24f4b11a31e020
-SIZE (postgresql/postgresql-docs-8.1.3.tar.bz2) = 2467558
-MD5 (postgresql/postgresql-opt-8.1.3.tar.bz2) = ad1dd1d66c9c608180418375e36aafcb
-SHA256 (postgresql/postgresql-opt-8.1.3.tar.bz2) = 5f98160060e4fc78996c8b4312304fb4cc3ca4254a5be226cc3c4ff6ff2e5525
-SIZE (postgresql/postgresql-opt-8.1.3.tar.bz2) = 144608
-MD5 (postgresql/postgresql-test-8.1.3.tar.bz2) = 14c0e620442542dfb7807e6b41b67aec
-SHA256 (postgresql/postgresql-test-8.1.3.tar.bz2) = c92dea86e6568f883aca158bc3285e24aa0c750450b5275e1ec172e2cb812429
-SIZE (postgresql/postgresql-test-8.1.3.tar.bz2) = 969522
+MD5 (postgresql/postgresql-base-8.1.4.tar.bz2) = 7ba24eaa31237eb8713782508de4dec7
+SHA256 (postgresql/postgresql-base-8.1.4.tar.bz2) = 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
+SIZE (postgresql/postgresql-base-8.1.4.tar.bz2) = 8040435
+MD5 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 5edc420b949a22d9960fc72609a24af3
+SHA256 (postgresql/postgresql-docs-8.1.4.tar.bz2) = 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
+SIZE (postgresql/postgresql-docs-8.1.4.tar.bz2) = 2485052
+MD5 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 6aad690bd918086cc3fbf673b74e65e6
+SHA256 (postgresql/postgresql-opt-8.1.4.tar.bz2) = 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
+SIZE (postgresql/postgresql-opt-8.1.4.tar.bz2) = 144696
+MD5 (postgresql/postgresql-test-8.1.4.tar.bz2) = a4918ec95fd589f8b1eeb0e3d704045c
+SHA256 (postgresql/postgresql-test-8.1.4.tar.bz2) = b7449222f9f4c3340d6d065914d10df1d4a8b13d63c967c9e65190812325b8d9
+SIZE (postgresql/postgresql-test-8.1.4.tar.bz2) = 946868
MD5 (postgresql/pg-812-icu-34-2006-01-09.diff.gz) = 2f93587700b3a3d2606076c014d82012
SHA256 (postgresql/pg-812-icu-34-2006-01-09.diff.gz) = 6270681788e3191aa043e4bda164927c3fdd3a817a5f81aa0f9e8be528ddd349
SIZE (postgresql/pg-812-icu-34-2006-01-09.diff.gz) = 4003
diff --git a/databases/postgresql84-server/files/pgsql.sh.tmpl b/databases/postgresql84-server/files/pgsql.sh.tmpl
index e6a538b409a2..3456ed3d7282 100644
--- a/databases/postgresql84-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql84-server/files/pgsql.sh.tmpl
@@ -20,6 +20,7 @@
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
prefix=%%PREFIX%%
+command=${prefix}/bin/pg_ctl
. %%RC_SUBR%%
@@ -34,7 +35,6 @@ postgresql_class=${postgresql_class:-"default"}
name=postgresql
rcvar=`set_rcvar`
-command=${prefix}/bin/pg_ctl
command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"