diff --git a/srcpkgs/postgresql/postgresql-libs-devel.template b/srcpkgs/postgresql/postgresql-libs-devel.template index 2004e30760a..7f5960d6c3a 100644 --- a/srcpkgs/postgresql/postgresql-libs-devel.template +++ b/srcpkgs/postgresql/postgresql-libs-devel.template @@ -1,13 +1,12 @@ # Template file for 'postgresql-libs-devel'. # -depends="postgresql-libs" +depends="postgresql-libs>=$version" short_desc="PostgreSQL shared libraries (development files)" long_desc="${long_desc} This package provides the development files required to build any PostgreSQL application." - do_install() { for f in pg_config ecpg; do vmove usr/bin/${f} usr/bin diff --git a/srcpkgs/postgresql/postgresql-plperl.template b/srcpkgs/postgresql/postgresql-plperl.template index 72511ff95bf..17efea9ad64 100644 --- a/srcpkgs/postgresql/postgresql-plperl.template +++ b/srcpkgs/postgresql/postgresql-plperl.template @@ -1,6 +1,6 @@ # Template file for 'postgresql-plperl'. # -depends="postgresql" +depends="perl>=5.16 postgresql>=$version" short_desc="PL/Perl procedural language for PostgreSQL" long_desc="${long_desc} @@ -8,7 +8,6 @@ long_desc="${long_desc} PostgreSQL 8.4 in Perl. You need this package if you have any PostgreSQL 8.4 functions that use the languages plperl or plperlu." - do_install() { vmove "usr/lib/postgresql/plperl*" usr/lib/postgresql for d in $(find ${SRCPKGDESTDIR}/usr/share/locale \ diff --git a/srcpkgs/postgresql/postgresql-plpython.template b/srcpkgs/postgresql/postgresql-plpython.template index 21206e84d06..77dc9a24723 100644 --- a/srcpkgs/postgresql/postgresql-plpython.template +++ b/srcpkgs/postgresql/postgresql-plpython.template @@ -1,6 +1,6 @@ # Template file for 'postgresql-plpython'. # -depends="postgresql" +depends="postgresql>=$version" short_desc="PL/Python procedural language for PostgreSQL" long_desc="${long_desc} diff --git a/srcpkgs/postgresql/postgresql-pltcl.template b/srcpkgs/postgresql/postgresql-pltcl.template index 04e6557d00a..ae35ad86ff4 100644 --- a/srcpkgs/postgresql/postgresql-pltcl.template +++ b/srcpkgs/postgresql/postgresql-pltcl.template @@ -1,6 +1,6 @@ # Template file for 'postgresql-pltcl'. # -depends="postgresql" +depends="postgresql>=$version" short_desc="PL/Tcl procedural language for PostgreSQL" long_desc="${long_desc} diff --git a/srcpkgs/postgresql/template b/srcpkgs/postgresql/template index 5a1b7a59bf5..71cc5f2c0f7 100644 --- a/srcpkgs/postgresql/template +++ b/srcpkgs/postgresql/template @@ -1,6 +1,7 @@ # Template file for 'postgresql' pkgname=postgresql version=8.4.10 +revision=1 distfiles="ftp://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2" build_style=gnu-configure configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python @@ -8,7 +9,7 @@ configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python --with-perl --with-tcl --without-ldap --without-gssapi --without-krb5 --without-bonjour --with-libxml --with-libxslt --disable-rpath --with-system-tzdata=/usr/share/zoneinfo --enable-nls" -makedepends="flex readline-devel openssl-devel perl tcl-devel python-devel libxml2-devel libxslt-devel pam-devel" +makedepends="flex readline-devel openssl-devel perl>=5.16 tcl-devel python-devel libxml2-devel libxslt-devel pam-devel" short_desc="Sophisticated open-source Object-Relational DBMS" maintainer="Juan RP " homepage="http://www.postgresql.org" @@ -37,7 +38,6 @@ postgres_homedir="/var/lib/${pkgname}" postgres_shell="/bin/sh" postgres_descr="PostgreSQL database server user" - post_install() { vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname} vinstall ${FILESDIR}/${pkgname}.service 644 lib/systemd/system