aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql74-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2006-05-23 21:18:58 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2006-05-23 21:18:58 +0000
commit85e4e498063b6ec1ad7101e6c6a0b60e3104c2a6 (patch)
tree66c3170b4a07d482b3191cb48359db0b4a39fd1f /databases/postgresql74-server
parent8f66b836faaec6386ad75189cf767b4733664718 (diff)
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
Notes
Notes: svn path=/head/; revision=163198
Diffstat (limited to 'databases/postgresql74-server')
-rw-r--r--databases/postgresql74-server/Makefile4
-rw-r--r--databases/postgresql74-server/distinfo24
-rw-r--r--databases/postgresql74-server/files/pgsql.sh.tmpl2
3 files changed, 15 insertions, 15 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile
index 910a59aa56e0..f22311d6ec33 100644
--- a/databases/postgresql74-server/Makefile
+++ b/databases/postgresql74-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
-PORTVERSION?= 7.4.12
+PORTVERSION?= 7.4.13
PORTREVISION?= 0
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
@@ -215,7 +215,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/postgresql74-server/distinfo b/databases/postgresql74-server/distinfo
index 67d6a4e06995..3e97aec32b0d 100644
--- a/databases/postgresql74-server/distinfo
+++ b/databases/postgresql74-server/distinfo
@@ -1,12 +1,12 @@
-MD5 (postgresql/postgresql-base-7.4.12.tar.bz2) = 289b9cbb231bc0adb757641edd9508a8
-SHA256 (postgresql/postgresql-base-7.4.12.tar.bz2) = 9e458eb084bac7816204e5b887d97278c3ad639accd1610b8c51d77f830b259e
-SIZE (postgresql/postgresql-base-7.4.12.tar.bz2) = 6601251
-MD5 (postgresql/postgresql-docs-7.4.12.tar.bz2) = 79b0ac16295e5a72380320ed17ec42d2
-SHA256 (postgresql/postgresql-docs-7.4.12.tar.bz2) = 6b42b5ab28f87275121239fc30c87122d1e9b978a6081985547ebe1af861cf1f
-SIZE (postgresql/postgresql-docs-7.4.12.tar.bz2) = 2430951
-MD5 (postgresql/postgresql-opt-7.4.12.tar.bz2) = 02fbdaa2c9f625412e0e4b5d693c31e6
-SHA256 (postgresql/postgresql-opt-7.4.12.tar.bz2) = 9d4b69b348afe9e57d5567702400e64601ab3397e20567fee1bcf9fe2b8ab420
-SIZE (postgresql/postgresql-opt-7.4.12.tar.bz2) = 332088
-MD5 (postgresql/postgresql-test-7.4.12.tar.bz2) = 187e45252ad3f6ad6930e6463af00ddc
-SHA256 (postgresql/postgresql-test-7.4.12.tar.bz2) = c3fa336304b882576da7af54f2fe809bbebe81a1c83415c9325dc747c31e178d
-SIZE (postgresql/postgresql-test-7.4.12.tar.bz2) = 945802
+MD5 (postgresql/postgresql-base-7.4.13.tar.bz2) = 2e4574f84f6312909de87126bd2859f8
+SHA256 (postgresql/postgresql-base-7.4.13.tar.bz2) = 2e2fa6b1cf3fc7a66a58762acfb64ce42d358e0dd799a467316e937d3a116cf7
+SIZE (postgresql/postgresql-base-7.4.13.tar.bz2) = 6576973
+MD5 (postgresql/postgresql-docs-7.4.13.tar.bz2) = bad02bd460bccdcdc17c51c2ab555109
+SHA256 (postgresql/postgresql-docs-7.4.13.tar.bz2) = 31d91342f23dc842839ee9f5b7475582a2e232c6831c6d514c3a414ed28ebdf8
+SIZE (postgresql/postgresql-docs-7.4.13.tar.bz2) = 2426721
+MD5 (postgresql/postgresql-opt-7.4.13.tar.bz2) = 1c92e80c8d5296ea4bbd83ad378368c3
+SHA256 (postgresql/postgresql-opt-7.4.13.tar.bz2) = 8139a7161b2a55eba304b027896f0bfc81523dd41f7d1df222274b7a55e5aeab
+SIZE (postgresql/postgresql-opt-7.4.13.tar.bz2) = 333860
+MD5 (postgresql/postgresql-test-7.4.13.tar.bz2) = 5d5464968c4e0abac33e23e899f33810
+SHA256 (postgresql/postgresql-test-7.4.13.tar.bz2) = 41e391863aa4507333a0678a7d8c2811c8fe13f5b5e87331d47c44e81c8b0713
+SIZE (postgresql/postgresql-test-7.4.13.tar.bz2) = 901604
diff --git a/databases/postgresql74-server/files/pgsql.sh.tmpl b/databases/postgresql74-server/files/pgsql.sh.tmpl
index e6a538b409a2..d3014f580dc0 100644
--- a/databases/postgresql74-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql74-server/files/pgsql.sh.tmpl
@@ -22,6 +22,7 @@
prefix=%%PREFIX%%
. %%RC_SUBR%%
+command=${prefix}/bin/pg_ctl
load_rc_config postgresql
@@ -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"