aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-05-17 10:49:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-11-15 15:40:59 +0000
commitd512e8cce2abc9375784bc1dc4c91d5353e867a0 (patch)
treebaf37c3199223a492ef89836d31e3b50e6e0e66a
parent62ed86449d8e87b4ffbcab0e2d91dd89c85a66db (diff)
downloadports-d512e8cce2abc9375784bc1dc4c91d5353e867a0.tar.gz
ports-d512e8cce2abc9375784bc1dc4c91d5353e867a0.zip
databases/postgresql*-server: require mountlate in rc.d scripts
PostgreSQL server may use late-mounted filesystems, so require these in rc.d scripts. Real life example is when /tmp is late-mounted tmpfs atop of ZFS, and if posgresql-server starts before mountlate, its socket which resides on /tmp is hidden under tmpfs which is mounted afterwards. PR: 267500 Approved by: maintainer timeout (pgsql, 2 weeks)
-rw-r--r--databases/postgresql10-server/Makefile2
-rw-r--r--databases/postgresql10-server/files/postgresql.in2
-rw-r--r--databases/postgresql11-server/Makefile2
-rw-r--r--databases/postgresql11-server/files/postgresql.in2
-rw-r--r--databases/postgresql12-server/Makefile2
-rw-r--r--databases/postgresql12-server/files/postgresql.in2
-rw-r--r--databases/postgresql13-server/Makefile2
-rw-r--r--databases/postgresql13-server/files/postgresql.in2
-rw-r--r--databases/postgresql14-server/Makefile2
-rw-r--r--databases/postgresql14-server/files/postgresql.in2
-rw-r--r--databases/postgresql15-server/Makefile2
-rw-r--r--databases/postgresql15-server/files/postgresql.in2
12 files changed, 12 insertions, 12 deletions
diff --git a/databases/postgresql10-server/Makefile b/databases/postgresql10-server/Makefile
index 493d5538a5ca..5964f04a20eb 100644
--- a/databases/postgresql10-server/Makefile
+++ b/databases/postgresql10-server/Makefile
@@ -1,7 +1,7 @@
DISTVERSION?= 10.23
# 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
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql10-server/files/postgresql.in b/databases/postgresql10-server/files/postgresql.in
index 444ab22e89da..48fbadb35d39 100644
--- a/databases/postgresql10-server/files/postgresql.in
+++ b/databases/postgresql10-server/files/postgresql.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: postgresql
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON mountlate
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
diff --git a/databases/postgresql11-server/Makefile b/databases/postgresql11-server/Makefile
index 051830e74f93..4cbbe3efa21d 100644
--- a/databases/postgresql11-server/Makefile
+++ b/databases/postgresql11-server/Makefile
@@ -1,7 +1,7 @@
DISTVERSION?= 11.18
# 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
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql11-server/files/postgresql.in b/databases/postgresql11-server/files/postgresql.in
index 444ab22e89da..48fbadb35d39 100644
--- a/databases/postgresql11-server/files/postgresql.in
+++ b/databases/postgresql11-server/files/postgresql.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: postgresql
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON mountlate
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
diff --git a/databases/postgresql12-server/Makefile b/databases/postgresql12-server/Makefile
index b9cf0680ac46..2ade7671e237 100644
--- a/databases/postgresql12-server/Makefile
+++ b/databases/postgresql12-server/Makefile
@@ -1,7 +1,7 @@
DISTVERSION?= 12.13
# 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
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql12-server/files/postgresql.in b/databases/postgresql12-server/files/postgresql.in
index 444ab22e89da..48fbadb35d39 100644
--- a/databases/postgresql12-server/files/postgresql.in
+++ b/databases/postgresql12-server/files/postgresql.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: postgresql
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON mountlate
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
diff --git a/databases/postgresql13-server/Makefile b/databases/postgresql13-server/Makefile
index 89a983a1b85a..8c82fbd10b6a 100644
--- a/databases/postgresql13-server/Makefile
+++ b/databases/postgresql13-server/Makefile
@@ -1,7 +1,7 @@
DISTVERSION?= 13.9
# 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
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql13-server/files/postgresql.in b/databases/postgresql13-server/files/postgresql.in
index 444ab22e89da..48fbadb35d39 100644
--- a/databases/postgresql13-server/files/postgresql.in
+++ b/databases/postgresql13-server/files/postgresql.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: postgresql
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON mountlate
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile
index f2f462736116..0d52d2104a62 100644
--- a/databases/postgresql14-server/Makefile
+++ b/databases/postgresql14-server/Makefile
@@ -1,7 +1,7 @@
DISTVERSION?= 14.6
# 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
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql14-server/files/postgresql.in b/databases/postgresql14-server/files/postgresql.in
index 444ab22e89da..48fbadb35d39 100644
--- a/databases/postgresql14-server/files/postgresql.in
+++ b/databases/postgresql14-server/files/postgresql.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: postgresql
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON mountlate
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL:
diff --git a/databases/postgresql15-server/Makefile b/databases/postgresql15-server/Makefile
index 6ecc2b1e5070..16d458ab0f3c 100644
--- a/databases/postgresql15-server/Makefile
+++ b/databases/postgresql15-server/Makefile
@@ -2,7 +2,7 @@ PORTNAME?= postgresql
DISTVERSION?= 15.1
# 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/postgresql15-server/files/postgresql.in b/databases/postgresql15-server/files/postgresql.in
index 444ab22e89da..48fbadb35d39 100644
--- a/databases/postgresql15-server/files/postgresql.in
+++ b/databases/postgresql15-server/files/postgresql.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: postgresql
-# REQUIRE: DAEMON
+# REQUIRE: DAEMON mountlate
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable PostgreSQL: