git: 093fa95e0c3d - main - databases/postgresql14-server: fix data directory
Palle Girgensohn
girgen at FreeBSD.org
Mon May 24 16:04:33 UTC 2021
The branch main has been updated by girgen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=093fa95e0c3d78196916d36ddb234d2f1a5c9881
commit 093fa95e0c3d78196916d36ddb234d2f1a5c9881
Author: Palle Girgensohn <girgen at FreeBSD.org>
AuthorDate: 2021-05-24 16:03:46 +0000
Commit: Palle Girgensohn <girgen at FreeBSD.org>
CommitDate: 2021-05-24 16:03:46 +0000
databases/postgresql14-server: fix data directory
PR: 256125
---
databases/postgresql14-server/Makefile | 2 +-
databases/postgresql14-server/files/postgresql.in | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile
index 08e8cb022f31..2a50687eb02b 100644
--- a/databases/postgresql14-server/Makefile
+++ b/databases/postgresql14-server/Makefile
@@ -4,7 +4,7 @@ PORTNAME?= postgresql
DISTVERSION?= 14beta1
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= databases
MASTER_SITES= PGSQL/source/v${DISTVERSION}
PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT}
diff --git a/databases/postgresql14-server/files/postgresql.in b/databases/postgresql14-server/files/postgresql.in
index d04d3c3fd1a8..795f35a68fbe 100644
--- a/databases/postgresql14-server/files/postgresql.in
+++ b/databases/postgresql14-server/files/postgresql.in
@@ -8,7 +8,7 @@
#
# postgresql_enable="YES"
# # optional
-# postgresql_data="/var/db/%%PG_USER%%/data13"
+# postgresql_data="/var/db/%%PG_USER%%/data14"
# postgresql_flags="-w -s -m fast"
# postgresql_initdb_flags="--encoding=utf-8 --lc-collate=C"
# postgresql_login_class="default"
@@ -32,7 +32,7 @@ load_rc_config postgresql
postgresql_enable=${postgresql_enable:-"NO"}
postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
postgresql_user=${postgresql_user:-"%%PG_USER%%"}
-eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data13"}
+eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data14"}
postgresql_login_class=${postgresql_login_class:-"default"}
postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc-collate=C"}
More information about the dev-commits-ports-all
mailing list