diff options
Diffstat (limited to 'databases/postgresql12-server')
-rw-r--r-- | databases/postgresql12-server/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql12-server/distinfo | 6 | ||||
-rw-r--r-- | databases/postgresql12-server/files/pkg-message-server.in | 14 | ||||
-rw-r--r-- | databases/postgresql12-server/files/postgresql.in | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/databases/postgresql12-server/Makefile b/databases/postgresql12-server/Makefile index a47f1cca3b23..8998336755d0 100644 --- a/databases/postgresql12-server/Makefile +++ b/databases/postgresql12-server/Makefile @@ -1,9 +1,9 @@ # Created by: Marc G. Fournier <scrappy@FreeBSD.org> -DISTVERSION?= 12.6 +DISTVERSION?= 12.7 # 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?= 1 +PORTREVISION?= 0 MAINTAINER?= pgsql@FreeBSD.org diff --git a/databases/postgresql12-server/distinfo b/databases/postgresql12-server/distinfo index 743b3b32c5f1..76b4c494e32f 100644 --- a/databases/postgresql12-server/distinfo +++ b/databases/postgresql12-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1612956694 -SHA256 (postgresql/postgresql-12.6.tar.bz2) = df7dd98d5ccaf1f693c7e1d0d084e9fed7017ee248bba5be0167c42ad2d70a09 -SIZE (postgresql/postgresql-12.6.tar.bz2) = 20771172 +TIMESTAMP = 1620992107 +SHA256 (postgresql/postgresql-12.7.tar.bz2) = 8490741f47c88edc8b6624af009ce19fda4dc9b31c4469ce2551d84075d5d995 +SIZE (postgresql/postgresql-12.7.tar.bz2) = 20819005 diff --git a/databases/postgresql12-server/files/pkg-message-server.in b/databases/postgresql12-server/files/pkg-message-server.in index 84a13f7cb47c..9bfbcc7b4a83 100644 --- a/databases/postgresql12-server/files/pkg-message-server.in +++ b/databases/postgresql12-server/files/pkg-message-server.in @@ -14,7 +14,7 @@ is a periodic script, %%PREFIX%%/etc/periodic/daily/502.pgsql, that you may find useful. You can use it to backup and perform vacuum on all databases nightly. Per default, it performs `vacuum analyze'. See the script for instructions. For autovacuum settings, please review -~pgsql/data/postgresql.conf. +~postgres/data/postgresql.conf. If you plan to access your PostgreSQL server using ODBC, please consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql @@ -48,17 +48,17 @@ You can then start PostgreSQL by running: %%PREFIX%%/etc/rc.d/postgresql start -For postmaster settings, see ~pgsql/data/postgresql.conf +For postmaster settings, see ~postgres/data/postgresql.conf NB. FreeBSD's PostgreSQL port logs to syslog by default - See ~pgsql/data/postgresql.conf for more info + See ~postgres/data/postgresql.conf for more info NB. If you're not using a checksumming filesystem like ZFS, you might - wish to enable data checksumming. It can only be enabled during + wish to enable data checksumming. It can be enabled during the initdb phase, by adding the "--data-checksums" flag to - the postgres_initdb_flags rcvar. Check the initdb(1) manpage - for more info and make sure you understand the performance - implications. + the postgresql_initdb_flags rcvar. Otherwise you can enable it later by + pg_checksums. Check the initdb(1) manpage for more info + and make sure you understand the performance implications. ====================================================================== diff --git a/databases/postgresql12-server/files/postgresql.in b/databases/postgresql12-server/files/postgresql.in index 3bc6575148e9..cd3f5620e0a4 100644 --- a/databases/postgresql12-server/files/postgresql.in +++ b/databases/postgresql12-server/files/postgresql.in @@ -1,7 +1,7 @@ #!/bin/sh # PROVIDE: postgresql -# REQUIRE: sshd +# REQUIRE: SERVERS # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable PostgreSQL: @@ -11,7 +11,7 @@ # postgresql_data="/var/db/%%PG_USER%%/data12" # postgresql_flags="-w -s -m fast" # postgresql_initdb_flags="--encoding=utf-8 --lc-collate=C" -# postgresql_class="default" +# postgresql_login_class="default" # postgresql_profiles="" # # See %%PREFIX%%/share/doc/postgresql/README-server for more info @@ -33,7 +33,7 @@ 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}/data12"} -postgresql_class=${postgresql_class:-"default"} +postgresql_login_class=${postgresql_login_class:-"default"} postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc-collate=C"} name=postgresql @@ -109,7 +109,7 @@ postgresql_command() postgresql_initdb() { - ${su_cmd} -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}" + ${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}" } run_rc_command "$1" |