From 8c1a4dea5891c9da73268a450d284d7b4b324463 Mon Sep 17 00:00:00 2001 From: tnn Date: Thu, 25 Feb 2016 21:37:35 +0000 Subject: Add postgresql95 packages, converted from corresponding postgresql94 packages. postgresql95-upgrade is gone, the pg_upgrade tool is shipped with postgresql95-client now. Major enhancements in PostgreSQL 9.5 include: Allow INSERTs that would generate constraint conflicts to be turned into UPDATEs or ignored Add GROUP BY analysis features GROUPING SETS, CUBE and ROLLUP Add row-level security control Create mechanisms for tracking the progress of replication, including methods for identifying the origin of individual changes during logical replication Add Block Range Indexes (BRIN) Substantial performance improvements for sorting Substantial performance improvements for multi-CPU machines --- databases/postgresql95-plperl/DESCR | 5 +++++ databases/postgresql95-plperl/MESSAGE | 7 +++++++ databases/postgresql95-plperl/Makefile | 30 ++++++++++++++++++++++++++++++ databases/postgresql95-plperl/PLIST | 25 +++++++++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 databases/postgresql95-plperl/DESCR create mode 100644 databases/postgresql95-plperl/MESSAGE create mode 100644 databases/postgresql95-plperl/Makefile create mode 100644 databases/postgresql95-plperl/PLIST (limited to 'databases/postgresql95-plperl') diff --git a/databases/postgresql95-plperl/DESCR b/databases/postgresql95-plperl/DESCR new file mode 100644 index 00000000000..9057591c0ba --- /dev/null +++ b/databases/postgresql95-plperl/DESCR @@ -0,0 +1,5 @@ +PL/Perl allows you to write functions in the Perl programming language +that may be used in SQL queries as if they were built into Postgres. +The PL/Perl intepreter is a full Perl interpreter. However, certain +operations have been disabled in order to maintain the security of the +system. diff --git a/databases/postgresql95-plperl/MESSAGE b/databases/postgresql95-plperl/MESSAGE new file mode 100644 index 00000000000..4a642d717c8 --- /dev/null +++ b/databases/postgresql95-plperl/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2016/02/25 21:37:36 tnn Exp $ + +Please see the PL/Perl section of the PostgreSQL Programmer's Guide +(databases/postgresql-docs) for information on programming with +${PKGNAME}. +=========================================================================== diff --git a/databases/postgresql95-plperl/Makefile b/databases/postgresql95-plperl/Makefile new file mode 100644 index 00000000000..5e8caaa45ab --- /dev/null +++ b/databases/postgresql95-plperl/Makefile @@ -0,0 +1,30 @@ +#$ $NetBSD: Makefile,v 1.1 2016/02/25 21:37:36 tnn Exp $ + +PKGNAME= ${DISTNAME:C/-/95-plperl-/} +COMMENT= PL/Perl procedural language for the PostgreSQL backend + +DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server + +.include "../../databases/postgresql95/Makefile.common" + +USE_TOOLS+= perl +PERL5_CONFIGURE= no +CONFIGURE_ARGS+= --with-perl +BUILD_MAKE_FLAGS= PGXS=1 + +BUILD_DIRS= src/pl/plperl +MAKE_FILE= GNUmakefile + +# There is some dependency ordering problem in the Makefile, +# so force the headers to be generated first. +BUILD_TARGET= perlchunks.h plperl_opmask.h all + +#.PHONY: build-hstore_plperl +#post-build: build-hstore_plperl +#build-hstore_plperl: +# cd ${WRKSRC}/contrib/hstore_plperl && \ +# ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -f Makefile all + +.include "../../databases/postgresql95-client/buildlink3.mk" +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql95-plperl/PLIST b/databases/postgresql95-plperl/PLIST new file mode 100644 index 00000000000..cfd8f86ab00 --- /dev/null +++ b/databases/postgresql95-plperl/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1 2016/02/25 21:37:36 tnn Exp $ +include/postgresql/server/plperl.h +include/postgresql/server/ppport.h +lib/postgresql/plperl.so +share/locale/cs/LC_MESSAGES/plperl-9.5.mo +share/locale/de/LC_MESSAGES/plperl-9.5.mo +share/locale/es/LC_MESSAGES/plperl-9.5.mo +share/locale/fr/LC_MESSAGES/plperl-9.5.mo +share/locale/it/LC_MESSAGES/plperl-9.5.mo +share/locale/ja/LC_MESSAGES/plperl-9.5.mo +share/locale/ko/LC_MESSAGES/plperl-9.5.mo +share/locale/pl/LC_MESSAGES/plperl-9.5.mo +share/locale/pt_BR/LC_MESSAGES/plperl-9.5.mo +share/locale/ro/LC_MESSAGES/plperl-9.5.mo +share/locale/ru/LC_MESSAGES/plperl-9.5.mo +share/locale/sv/LC_MESSAGES/plperl-9.5.mo +share/locale/tr/LC_MESSAGES/plperl-9.5.mo +share/locale/zh_CN/LC_MESSAGES/plperl-9.5.mo +share/locale/zh_TW/LC_MESSAGES/plperl-9.5.mo +share/postgresql/extension/plperl--1.0.sql +share/postgresql/extension/plperl--unpackaged--1.0.sql +share/postgresql/extension/plperl.control +share/postgresql/extension/plperlu--1.0.sql +share/postgresql/extension/plperlu--unpackaged--1.0.sql +share/postgresql/extension/plperlu.control -- cgit v1.2.3