diff options
Diffstat (limited to 'databases/postgresql18-server')
-rw-r--r-- | databases/postgresql18-server/Makefile | 41 | ||||
-rw-r--r-- | databases/postgresql18-server/distinfo | 6 | ||||
-rw-r--r-- | databases/postgresql18-server/files/postgresql.in | 3 | ||||
-rw-r--r-- | databases/postgresql18-server/pkg-plist-server | 20 |
4 files changed, 52 insertions, 18 deletions
diff --git a/databases/postgresql18-server/Makefile b/databases/postgresql18-server/Makefile index f37ff4e3db81..cc70310d1ab3 100644 --- a/databases/postgresql18-server/Makefile +++ b/databases/postgresql18-server/Makefile @@ -1,11 +1,10 @@ PORTNAME?= postgresql -DISTVERSION?= 18beta2 +DISTVERSION?= 18rc1 # 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 CATEGORIES?= databases MASTER_SITES= PGSQL/source/v${DISTVERSION} -#DISTFILES+= ${PORTNAME}-${DISTVERSION}-docs.tar.bz:docs PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT} MAINTAINER?= pgsql@FreeBSD.org @@ -22,8 +21,12 @@ DIST_SUBDIR= postgresql OPTIONS_SUB= yes PKGINSTALL?= ${PKGDIR}/pkg-install${COMPONENT} -USES+= bison perl5 tar:bzip2 cpe +USES+= tar:bzip2 cpe +.if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 17 +USES+= bison perl5 USE_PERL5= build +.endif + .if !defined(NO_BUILD) USES+= gmake GNU_CONFIGURE= yes @@ -53,11 +56,11 @@ INSTALL_DIRS?= src/common src/timezone src/backend \ src/backend/replication/pgoutput \ src/bin/initdb src/bin/pg_ctl \ src/bin/pg_archivecleanup src/bin/pg_basebackup \ - src/bin/pg_checksums \ + src/bin/pg_checksums src/bin/pg_combinebackup \ src/bin/pg_controldata src/bin/pg_resetwal src/pl \ src/bin/pg_rewind \ src/bin/pg_test_fsync src/bin/pg_test_timing \ - src/bin/pg_waldump src/bin/pg_upgrade + src/bin/pg_waldump src/bin/pg_walsummary src/bin/pg_upgrade BUILD_DIRS?= src/port ${INSTALL_DIRS} INSTALL_TARGET?=install-strip @@ -68,7 +71,7 @@ COMPONENT= -server USE_RC_SUBR= postgresql USES+= pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g} USERS= ${PG_USER} -GROUPS= ${PG_GROUP} +GROUPS= ${PG_GROUP} SUB_FILES+= 502.pgsql .endif @@ -94,14 +97,6 @@ LZ4_CONFIGURE_WITH= lz4 LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 . endif -. if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 15 -OPTIONS_DEFINE+= ZSTD -OPTIONS_DEFAULT+= ZSTD -ZSTD_DESC= Build with ZSTD compression support -ZSTD_CONFIGURE_WITH= zstd -ZSTD_LIB_DEPENDS+= libzstd.so:archivers/zstd -. endif - OPTIONS_DEFINE+= LLVM OPTIONS_DEFAULT+= LLVM LLVM_DESC= Build with support for JIT-compiling expressions @@ -134,6 +129,20 @@ GSSAPI_CONFIGURE_WITH= gssapi PATCH_DIST_STRIP=-p1 .endif # !SLAVE_ONLY +.if defined(SERVER_ONLY) || defined(CLIENT_ONLY) || ${COMPONENT} == "-contrib" +. if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 15 +OPTIONS_DEFINE+= ZSTD +OPTIONS_DEFAULT+= ZSTD +ZSTD_DESC= Build with ZSTD compression support +ZSTD_CONFIGURE_WITH= zstd +ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd +USES+= pkgconfig +#ZSTD_CFLAGS= -I${LOCALBASE}/include +#ZSTD_LDFLAGS= -L${LOCALBASE}/lib +#ZSTD_LIBS= -lzstd +. endif +.endif + SSL_USES= ssl SSL_CONFIGURE_WITH= openssl @@ -193,7 +202,9 @@ do-build: cd ${WRKSRC}/$${dir} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ; \ done . if defined(CLIENT_ONLY) +. if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 17 @ cd ${WRKSRC}/doc && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} man +. endif . endif . if exists(${FILESDIR}/pkg-message${COMPONENT}.in) SUB_FILES+= pkg-message${COMPONENT} @@ -223,7 +234,9 @@ do-install: . endif # SERVER_ONLY . if defined(CLIENT_ONLY) @ cd ${WRKSRC}/src && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-local +. if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 17 @ cd ${WRKSRC}/doc/src/sgml && ${COPYTREE_SHARE} "man1 man3 man7" ${STAGEDIR}${PREFIX}/share/man +. endif . endif @ if [ -r ${PKGMESSAGE} ]; then \ ${MKDIR} ${STAGEDIR}${DOCSDIR} ;\ diff --git a/databases/postgresql18-server/distinfo b/databases/postgresql18-server/distinfo index b2f701a8f3c9..7c9c1ac5c538 100644 --- a/databases/postgresql18-server/distinfo +++ b/databases/postgresql18-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754318436 -SHA256 (postgresql/postgresql-18beta2.tar.bz2) = 1d16b58244b630194432b88d9ff25f5fea85a001ff2c715a157d4be6787f3075 -SIZE (postgresql/postgresql-18beta2.tar.bz2) = 22319023 +TIMESTAMP = 1756886504 +SHA256 (postgresql/postgresql-18rc1.tar.bz2) = b1a4cdc0ed6e97d117f044da67815829d560002c821290a9dee86e5e499b2f4c +SIZE (postgresql/postgresql-18rc1.tar.bz2) = 22345319 diff --git a/databases/postgresql18-server/files/postgresql.in b/databases/postgresql18-server/files/postgresql.in index 073d3a64c004..3227deee0b5d 100644 --- a/databases/postgresql18-server/files/postgresql.in +++ b/databases/postgresql18-server/files/postgresql.in @@ -41,7 +41,7 @@ eval _pgdir="~${postgresql_user}/data%%PG_VERSION%%" name=postgresql rcvar=postgresql_enable -extra_commands="reload initdb" +extra_commands="reload initdb promote logrotate" start_cmd="postgresql_command start" stop_cmd="postgresql_command stop" @@ -49,6 +49,7 @@ restart_cmd="postgresql_command restart" reload_cmd="postgresql_command reload" status_cmd="postgresql_command status" promote_cmd="postgresql_command promote" +logrotate_cmd="postgresql_command logrotate" initdb_cmd="postgresql_initdb" diff --git a/databases/postgresql18-server/pkg-plist-server b/databases/postgresql18-server/pkg-plist-server index 04c10757434f..4cb29081b15a 100644 --- a/databases/postgresql18-server/pkg-plist-server +++ b/databases/postgresql18-server/pkg-plist-server @@ -2,6 +2,7 @@ bin/initdb bin/pg_archivecleanup bin/pg_basebackup bin/pg_checksums +bin/pg_combinebackup bin/pg_controldata bin/pg_createsubscriber bin/pg_ctl @@ -13,6 +14,7 @@ bin/pg_test_fsync bin/pg_test_timing bin/pg_upgrade bin/pg_waldump +bin/pg_walsummary bin/postgres etc/periodic/daily/502.pgsql include/postgresql/server/plpgsql.h @@ -868,6 +870,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/de/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/de/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -876,6 +879,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/de/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/de/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/de/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/de/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/el/LC_MESSAGES/initdb-%%PG_VERSION%%.mo @@ -894,6 +898,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/es/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/es/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -902,12 +907,14 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/es/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/es/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/es/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/es/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/initdb-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -916,6 +923,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/fr/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/fr/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/fr/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/fr/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/he/LC_MESSAGES/initdb-%%PG_VERSION%%.mo @@ -939,6 +947,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/ja/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/ja/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -947,12 +956,14 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/ja/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/ja/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/ja/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/ja/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/initdb-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/ka/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -961,12 +972,14 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/ka/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/ka/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/ka/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/ka/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/initdb-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -975,6 +988,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/ko/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/ko/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/ko/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/ko/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/pl/LC_MESSAGES/%%PG_USER%%-%%PG_VERSION%%.mo @@ -1005,6 +1019,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/ru/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/ru/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -1013,12 +1028,14 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/ru/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/ru/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/ru/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/ru/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/initdb-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/sv/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -1027,6 +1044,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/sv/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/sv/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/sv/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/sv/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/tr/LC_MESSAGES/%%PG_USER%%-%%PG_VERSION%%.mo @@ -1047,6 +1065,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/uk/LC_MESSAGES/pg_archivecleanup-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_basebackup-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_checksums-%%PG_VERSION%%.mo +%%NLS%%share/locale/uk/LC_MESSAGES/pg_combinebackup-18.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_controldata-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_ctl-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_resetwal-%%PG_VERSION%%.mo @@ -1055,6 +1074,7 @@ lib/postgresql/utf8_and_win.so %%NLS%%share/locale/uk/LC_MESSAGES/pg_test_timing-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_upgrade-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/pg_waldump-%%PG_VERSION%%.mo +%%NLS%%share/locale/uk/LC_MESSAGES/pg_walsummary-18.mo %%NLS%%share/locale/uk/LC_MESSAGES/plpgsql-%%PG_VERSION%%.mo %%NLS%%share/locale/uk/LC_MESSAGES/postgres-%%PG_VERSION%%.mo %%NLS%%share/locale/vi/LC_MESSAGES/initdb-%%PG_VERSION%%.mo |