1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

databases/postgresql??-*: Update to latest minor versions

The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 16.4, 15.8, 14.13, 13.16,
and 12.20. This release fixes 1 security vulnerability and over 55 bugs
reported over the last several months.

PR:	279671 - make the rc script service jails aware
PR:	279536 - remove LLVM max version restriction
PR:	278887 - SETENV -> SETENVI for -contrib ports

Release notes:	https://www.postgresql.org/docs/release/
This commit is contained in:
Palle Girgensohn 2024-08-08 11:25:22 +02:00
parent 7327472603
commit b4e71c8402
43 changed files with 104 additions and 80 deletions

View File

@ -15,4 +15,10 @@ COMPONENT= -client
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF=readline
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql12-server
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
USES= bison pgsql:${PORTVERSION:R}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib
@ -33,7 +33,7 @@ XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
libxml2.so:textproc/libxml2
post-configure:
@cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README

View File

@ -2,14 +2,14 @@ PORTNAME= postgresql
# Keep the ?=, this port is used as master by the other plperl.
PORTREVISION?= 0
CATEGORIES= databases perl5
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Write SQL functions for PostgreSQL using Perl5
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=12

View File

@ -2,7 +2,7 @@ PORTNAME= postgresql
CATEGORIES= databases python
# Keep the ?=, it is used as master by the other plpython ports.
PORTREVISION?= 0
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
@ -11,7 +11,7 @@ WWW= https://www.postgresql.org/
USES+= pgsql:${WANT_PGSQL_VER} ${WANT_PYTHON_USE}
WANT_PGSQL= server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?= 12
WANT_PYTHON_USE?= python

View File

@ -2,12 +2,12 @@ PORTNAME= postgresql
# Keep the ?=, it is used by the other pltcl ports.
PORTREVISION?= 0
CATEGORIES= databases tcl
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Tcl to write SQL functions
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=12

View File

@ -1,4 +1,4 @@
DISTVERSION?= 12.19
DISTVERSION?= 12.20
# 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

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1715095959
SHA256 (postgresql/postgresql-12.19.tar.bz2) = 617e3de52c22e822f4f57d01d5b2240503e198a9eccaf598a851109bd18e6fbb
SIZE (postgresql/postgresql-12.19.tar.bz2) = 21218699
TIMESTAMP = 1722892656
SHA256 (postgresql/postgresql-12.20.tar.bz2) = 2d543af3009fec7fd5af35f7a70c95085d3eef6b508e517aa9493e99b15e9ea9
SIZE (postgresql/postgresql-12.20.tar.bz2) = 21256573

View File

@ -37,6 +37,7 @@ eval _pgdir="~${postgresql_user}/data%%PG_VERSION%%"
: ${postgresql_data:="${_pgdir}"}
: ${postgresql_login_class:=""}
: ${postgresql_initdb_flags:="--encoding=utf-8 --lc-collate=C"}
: ${postgresql_svcj_options:="net_basic"}
name=postgresql
rcvar=postgresql_enable

View File

@ -15,4 +15,10 @@ COMPONENT= -client
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF=readline
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql13-server
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
USES= bison pgsql:${PORTVERSION:R}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib
@ -33,7 +33,7 @@ XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
libxml2.so:textproc/libxml2
post-configure:
@cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README

View File

@ -2,14 +2,14 @@ PORTNAME= postgresql
# Keep the ?=, this port is used as master by the other plperl.
PORTREVISION?= 0
CATEGORIES= databases perl5
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Write SQL functions for PostgreSQL using Perl5
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=13

View File

@ -2,7 +2,7 @@ PORTNAME= postgresql
CATEGORIES= databases python
# Keep the ?=, it is used as master by the other plpython ports.
PORTREVISION?= 0
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
@ -11,7 +11,7 @@ WWW= https://www.postgresql.org/
USES+= pgsql:${WANT_PGSQL_VER} ${WANT_PYTHON_USE}
WANT_PGSQL= server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?= 13
WANT_PYTHON_USE?= python

View File

@ -2,12 +2,12 @@ PORTNAME= postgresql
# Keep the ?=, it is used by the other pltcl ports.
PORTREVISION?= 0
CATEGORIES= databases tcl
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Tcl to write SQL functions
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=13

View File

@ -1,4 +1,4 @@
DISTVERSION?= 13.15
DISTVERSION?= 13.16
# 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

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1715095960
SHA256 (postgresql/postgresql-13.15.tar.bz2) = 42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
SIZE (postgresql/postgresql-13.15.tar.bz2) = 21597871
TIMESTAMP = 1722892657
SHA256 (postgresql/postgresql-13.16.tar.bz2) = c9cbbb6129f02328204828066bb3785c00a85c8ca8fd329c2a8a53c1f5cd8865
SIZE (postgresql/postgresql-13.16.tar.bz2) = 21639411

View File

@ -37,6 +37,7 @@ eval _pgdir="~${postgresql_user}/data%%PG_VERSION%%"
: ${postgresql_data:="${_pgdir}"}
: ${postgresql_login_class:=""}
: ${postgresql_initdb_flags:="--encoding=utf-8 --lc-collate=C"}
: ${postgresql_svcj_options:="net_basic"}
name=postgresql
rcvar=postgresql_enable

View File

@ -15,4 +15,10 @@ COMPONENT= -client
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF=readline
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql14-server
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
USES= bison pgsql:${PORTVERSION:R}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib
@ -33,7 +33,7 @@ XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
libxml2.so:textproc/libxml2
post-configure:
@cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README

View File

@ -5,7 +5,7 @@ PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S,.,,}-docs
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The PostgreSQL documentation set
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=14
DISTV= ${DISTVERSION:R}

View File

@ -2,14 +2,14 @@ PORTNAME= postgresql
# Keep the ?=, this port is used as master by the other plperl.
PORTREVISION?= 0
CATEGORIES= databases perl5
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Write SQL functions for PostgreSQL using Perl5
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=14

View File

@ -2,7 +2,7 @@ PORTNAME= postgresql
CATEGORIES= databases python
# Keep the ?=, it is used as master by the other plpython ports.
PORTREVISION?= 0
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
@ -11,7 +11,7 @@ WWW= https://www.postgresql.org/
USES+= pgsql:${WANT_PGSQL_VER} ${WANT_PYTHON_USE}
WANT_PGSQL= server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?= 14
WANT_PYTHON_USE?= python

View File

@ -2,12 +2,12 @@ PORTNAME= postgresql
# Keep the ?=, it is used by the other pltcl ports.
PORTREVISION?= 0
CATEGORIES= databases tcl
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Tcl to write SQL functions
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=14

View File

@ -1,4 +1,4 @@
DISTVERSION?= 14.12
DISTVERSION?= 14.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

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1715095961
SHA256 (postgresql/postgresql-14.12.tar.bz2) = 6118d08f9ddcc1bd83cf2b7cc74d3b583bdcec2f37e6245a8ac003b8faa80923
SIZE (postgresql/postgresql-14.12.tar.bz2) = 22390865
TIMESTAMP = 1722892658
SHA256 (postgresql/postgresql-14.13.tar.bz2) = 59aa3c4b495ab26a9ec69f3ad0a0228c51f0fe6facf3634dfad4d1197d613a56
SIZE (postgresql/postgresql-14.13.tar.bz2) = 22414381

View File

@ -37,6 +37,7 @@ eval _pgdir="~${postgresql_user}/data%%PG_VERSION%%"
: ${postgresql_data:="${_pgdir}"}
: ${postgresql_login_class:=""}
: ${postgresql_initdb_flags:="--encoding=utf-8 --lc-collate=C"}
: ${postgresql_svcj_options:="net_basic"}
name=postgresql
rcvar=postgresql_enable

View File

@ -15,4 +15,10 @@ COMPONENT= -client
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF=readline
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql15-server
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
USES= bison pgsql:${PORTVERSION:R}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib
@ -33,7 +33,7 @@ XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
libxml2.so:textproc/libxml2
post-configure:
@cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README

View File

@ -5,7 +5,7 @@ PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S,.,,}-docs
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The PostgreSQL documentation set
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=15
DISTV= ${DISTVERSION:R}

View File

@ -2,14 +2,14 @@ PORTNAME= postgresql
# Keep the ?=, this port is used as master by the other plperl.
PORTREVISION?= 0
CATEGORIES= databases perl5
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Write SQL functions for PostgreSQL using Perl5
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=15

View File

@ -2,7 +2,7 @@ PORTNAME= postgresql
CATEGORIES= databases python
# Keep the ?=, it is used as master by the other plpython ports.
PORTREVISION?= 0
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
@ -11,7 +11,7 @@ WWW= https://www.postgresql.org/
USES+= pgsql:${WANT_PGSQL_VER} ${WANT_PYTHON_USE}
WANT_PGSQL= server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?= 15
WANT_PYTHON_USE?= python

View File

@ -2,12 +2,12 @@ PORTNAME= postgresql
# Keep the ?=, it is used by the other pltcl ports.
PORTREVISION?= 0
CATEGORIES= databases tcl
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Tcl to write SQL functions
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=15

View File

@ -1,4 +1,4 @@
DISTVERSION?= 15.7
DISTVERSION?= 15.8
# 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

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1715095962
SHA256 (postgresql/postgresql-15.7.tar.bz2) = a46fe49485ab6385e39dabbbb654f5d3049206f76cd695e224268729520998f7
SIZE (postgresql/postgresql-15.7.tar.bz2) = 23112318
TIMESTAMP = 1722892659
SHA256 (postgresql/postgresql-15.8.tar.bz2) = 4403515f9a69eeb3efebc98f30b8c696122bfdf895e92b3b23f5b8e769edcb6a
SIZE (postgresql/postgresql-15.8.tar.bz2) = 23119460

View File

@ -37,6 +37,7 @@ eval _pgdir="~${postgresql_user}/data%%PG_VERSION%%"
: ${postgresql_data:="${_pgdir}"}
: ${postgresql_login_class:=""}
: ${postgresql_initdb_flags:="--encoding=utf-8 --lc-collate=C"}
: ${postgresql_svcj_options:="net_basic"}
name=postgresql
rcvar=postgresql_enable

View File

@ -15,4 +15,10 @@ COMPONENT= -client
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF=readline
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql16-server
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
USES= bison pgsql:${PORTVERSION:R}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib
@ -33,7 +33,7 @@ XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
libxml2.so:textproc/libxml2
post-configure:
@cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers
@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README

View File

@ -5,7 +5,7 @@ PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S,.,,}-docs
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The PostgreSQL documentation set
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=16
DISTV= ${DISTVERSION:R}

View File

@ -2,14 +2,14 @@ PORTNAME= postgresql
# Keep the ?=, this port is used as master by the other plperl.
PORTREVISION?= 0
CATEGORIES= databases perl5
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Write SQL functions for PostgreSQL using Perl5
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=16

View File

@ -2,7 +2,7 @@ PORTNAME= postgresql
CATEGORIES= databases python
# Keep the ?=, it is used as master by the other plpython ports.
PORTREVISION?= 0
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
@ -11,7 +11,7 @@ WWW= https://www.postgresql.org/
USES+= pgsql:${WANT_PGSQL_VER} ${WANT_PYTHON_USE}
WANT_PGSQL= server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?= 16
WANT_PYTHON_USE?= python

View File

@ -2,12 +2,12 @@ PORTNAME= postgresql
# Keep the ?=, it is used by the other pltcl ports.
PORTREVISION?= 0
CATEGORIES= databases tcl
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
PKGNAMESUFFIX?= ${WANT_PGSQL_VER}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Tcl to write SQL functions
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER}-server
WANT_PGSQL_VER?=16

View File

@ -1,5 +1,5 @@
PORTNAME?= postgresql
DISTVERSION?= 16.3
DISTVERSION?= 16.4
# 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
@ -72,13 +72,8 @@ SUB_FILES+= 502.pgsql
OPTIONS_SUB= yes
.if defined(CLIENT_ONLY)
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
.else
MAKE_ENV+= PATH=${PREFIX}/bin:${PATH}
CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH}
.endif
.if defined(SERVER_ONLY)
OPTIONS_DEFINE= DTRACE LDAP TZDATA XML DOCS
@ -112,7 +107,7 @@ LLVM_DESC= Build with support for JIT-compiling expressions
LLVM_CONFIGURE_WITH= llvm
LLVM_CONFIGURE_ENV= LLVM_CONFIG=${LLVM_CONFIG} \
CLANG=${LOCALBASE}/bin/clang${LLVM_VERSION}
LLVM_USES= llvm:max=15,min=11,lib
LLVM_USES= llvm:min=11,lib
CONFIGURE_ARGS+= --with-icu
LIB_DEPENDS+= libicudata.so:devel/icu
@ -140,12 +135,6 @@ OPTIONS_DEFAULT+= SSL
GSSAPI_CONFIGURE_WITH= gssapi
.endif # !SLAVE_ONLY
.if defined(CLIENT_ONLY)
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF= readline
.endif # CLIENT_ONLY
SSL_USES= ssl
SSL_CONFIGURE_WITH= openssl

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1715095963
SHA256 (postgresql/postgresql-16.3.tar.bz2) = 331963d5d3dc4caf4216a049fa40b66d6bcb8c730615859411b9518764e60585
SIZE (postgresql/postgresql-16.3.tar.bz2) = 24737644
TIMESTAMP = 1722892660
SHA256 (postgresql/postgresql-16.4.tar.bz2) = 971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f
SIZE (postgresql/postgresql-16.4.tar.bz2) = 24765786

View File

@ -37,6 +37,7 @@ eval _pgdir="~${postgresql_user}/data%%PG_VERSION%%"
: ${postgresql_data:="${_pgdir}"}
: ${postgresql_login_class:=""}
: ${postgresql_initdb_flags:="--encoding=utf-8 --lc-collate=C"}
: ${postgresql_svcj_options:="net_basic"}
name=postgresql
rcvar=postgresql_enable