From 2e165a54d36304c26fe0d46e4bc962a06511bbaa Mon Sep 17 00:00:00 2001 From: mustaqim Date: Wed, 8 Jan 2020 12:00:17 +0200 Subject: [PATCH] postgresql: update to 12.1 --- srcpkgs/postgresql/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/postgresql/template b/srcpkgs/postgresql/template index 58dbbe1bd9ab40..734480922a13d2 100644 --- a/srcpkgs/postgresql/template +++ b/srcpkgs/postgresql/template @@ -1,6 +1,6 @@ # Template file for 'postgresql' pkgname=postgresql -version=9.6.16 +version=12.1 revision=1 build_style=gnu-configure make_build_target=world @@ -17,7 +17,8 @@ maintainer="Johannes " license="PostgreSQL" homepage="https://www.postgresql.org" distfiles="https://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2" -checksum=5c6cba9cc0df70ba2b128c4a87d0babfce7c0e2b888f70a9c8485745f66b22e7 +checksum=a09bf3abbaf6763980d0f8acbb943b7629a8b20073de18d867aecdb7988483ed + conf_files=" /etc/default/${pkgname} @@ -76,7 +77,7 @@ postgresql-libs_package() { pkg_install() { vmove "usr/lib/*.so*" for d in $(find ${DESTDIR}/usr/share/locale \ - -type f -name libpq5\*); do + -type f -name libpq5\*); do mkdir -p ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}}) mv ${d} ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}}) done @@ -137,14 +138,12 @@ postgresql-pltcl_package() { depends="postgresql>=$version" short_desc="PL/Tcl procedural language for PostgreSQL" pkg_install() { - vmove "usr/bin/pltcl*" vmove "usr/lib/postgresql/pltcl*" for d in $(find ${DESTDIR}/usr/share/locale \ -type f -name pltcl\*); do mkdir -p ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}}) mv ${d} ${PKGDESTDIR}/$(dirname ${d#${DESTDIR}}) done - vmove "usr/share/postgresql/*.pltcl" } } @@ -153,9 +152,8 @@ fi # !CROSS_BUILD postgresql-client_package() { short_desc="Client frontends programs for PostgreSQL" pkg_install() { - for f in clusterdb createdb createlang createuser dropdb droplang \ - dropuser pg_dump pg_dumpall pg_isready pg_restore psql reindexdb \ - vacuumdb; do + for f in clusterdb createdb createuser dropdb dropuser \ + pg_dump pg_dumpall pg_isready pg_restore psql reindexdb vacuumdb; do vmove usr/bin/${f} vmove usr/share/man/man1/$(basename ${f}).1 done