From 717f494ca7c951cfb45eaef33a4b702aa45763fe Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 15 Nov 2021 18:39:38 +0000 Subject: [PATCH] postgresql: update to version 13.5 Addresses CVE-2021-3393 and CVE-2021-20229. Signed-off-by: Daniel Golle --- libs/postgresql/Makefile | 4 ++-- libs/postgresql/patches/050-build-contrib.patch | 4 ++-- libs/postgresql/patches/300-fix-pc-file.patch | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index f3b677073..fbb9fdbb1 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=postgresql -PKG_VERSION:=13.1 +PKG_VERSION:=13.5 PKG_RELEASE:=1 PKG_MAINTAINER:=Daniel Golle PKG_LICENSE:=PostgreSQL @@ -17,7 +17,7 @@ PKG_SOURCE_URL:=\ http://ftp.postgresql.org/pub/source/v$(PKG_VERSION) \ ftp://ftp.postgresql.org/pub/source/v$(PKG_VERSION) -PKG_HASH:=12345c83b89aa29808568977f5200d6da00f88a035517f925293355432ffe61f +PKG_HASH:=9b81067a55edbaabc418aacef457dd8477642827499560b00615a6ea6c13f6b3 PKG_USE_MIPS16:=0 PKG_FIXUP:=autoreconf diff --git a/libs/postgresql/patches/050-build-contrib.patch b/libs/postgresql/patches/050-build-contrib.patch index b127cf03a..88a23f099 100644 --- a/libs/postgresql/patches/050-build-contrib.patch +++ b/libs/postgresql/patches/050-build-contrib.patch @@ -7,5 +7,5 @@ -$(call recurse,all install,src config) +$(call recurse,all install,src config contrib) - all: - +@echo "All of PostgreSQL successfully made. Ready to install." + docs: + $(MAKE) -C doc all diff --git a/libs/postgresql/patches/300-fix-pc-file.patch b/libs/postgresql/patches/300-fix-pc-file.patch index 413844cc6..2d7eb97a0 100644 --- a/libs/postgresql/patches/300-fix-pc-file.patch +++ b/libs/postgresql/patches/300-fix-pc-file.patch @@ -1,6 +1,6 @@ --- a/src/Makefile.shlib +++ b/src/Makefile.shlib -@@ -387,14 +387,27 @@ endif # PORTNAME == cygwin || PORTNAME = +@@ -391,14 +391,27 @@ endif # PORTNAME == cygwin || PORTNAME = %.pc: $(MAKEFILE_LIST)