aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql74-server
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2005-12-25 20:06:23 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2005-12-25 20:06:23 +0000
commitd6b6d443889e9a8ab8920e85ecfca5979d47e9c9 (patch)
tree303b0fed5e222bb32e94d99f8cbd43257a5ae9c6 /databases/postgresql74-server
parentb5228994c7ea7d9e76abd67ad7fb9ba6d9cfc4ef (diff)
downloadports-d6b6d443889e9a8ab8920e85ecfca5979d47e9c9.tar.gz
ports-d6b6d443889e9a8ab8920e85ecfca5979d47e9c9.zip
Notes
Diffstat (limited to 'databases/postgresql74-server')
-rw-r--r--databases/postgresql74-server/Makefile2
-rw-r--r--databases/postgresql74-server/files/pgsql.sh.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile
index 738122a284e0..e4a45be025ba 100644
--- a/databases/postgresql74-server/Makefile
+++ b/databases/postgresql74-server/Makefile
@@ -8,7 +8,7 @@
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 7.4.10
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
diff --git a/databases/postgresql74-server/files/pgsql.sh.tmpl b/databases/postgresql74-server/files/pgsql.sh.tmpl
index 8d975d54303c..2f7554620e89 100644
--- a/databases/postgresql74-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql74-server/files/pgsql.sh.tmpl
@@ -35,7 +35,7 @@ postgresql_class=${postgresql_class:-"default"}
name=postgresql
rcvar=`set_rcvar`
command=${prefix}/bin/pg_ctl
-command_args="-D ${postgresql_data} ${postgresql_flags} $1"
+command_args="-D ${postgresql_data} ${postgresql_flags}"
extra_commands="reload initdb"
start_cmd="postgresql_command start"
@@ -48,7 +48,7 @@ initdb_cmd="postgresql_initdb"
postgresql_command()
{
- su -l ${postgresql_user} -c "exec ${command} ${command_args}"
+ su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
}
postgresql_initdb()