summaryrefslogtreecommitdiff
path: root/databases/postgresql93-plperl
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-09-10 15:32:32 +0000
committeradam <adam@pkgsrc.org>2013-09-10 15:32:32 +0000
commit109fdd9f83c4e1e0843e1431814119025c8b3f62 (patch)
treeef2c53e491faea05c5ea8ccb8ccdfd9b86064cde /databases/postgresql93-plperl
parentf4227f726d2d82741a9d4592270c49194c691343 (diff)
downloadpkgsrc-109fdd9f83c4e1e0843e1431814119025c8b3f62.tar.gz
Major enhancements in PostgreSQL 9.3 include:
* Add materialized views * Make simple views auto-updatable * Add many features for the JSON data type, including operators and functions to extract elements from JSON values * Implement SQL-standard LATERAL option for FROM-clause subqueries and function calls * Allow foreign data wrappers to support writes (inserts/updates/deletes) on foreign tables * Add a Postgres foreign data wrapper to allow access to other Postgres servers * Add support for event triggers * Add optional ability to checksum data pages and report corruption * Prevent non-key-field row updates from blocking foreign key checks * Greatly reduce System V shared memory requirements
Diffstat (limited to 'databases/postgresql93-plperl')
-rw-r--r--databases/postgresql93-plperl/DESCR5
-rw-r--r--databases/postgresql93-plperl/MESSAGE7
-rw-r--r--databases/postgresql93-plperl/Makefile20
-rw-r--r--databases/postgresql93-plperl/PLIST21
4 files changed, 53 insertions, 0 deletions
diff --git a/databases/postgresql93-plperl/DESCR b/databases/postgresql93-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql93-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/postgresql93-plperl/MESSAGE b/databases/postgresql93-plperl/MESSAGE
new file mode 100644
index 00000000000..65985b69d9e
--- /dev/null
+++ b/databases/postgresql93-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2013/09/10 15:32:33 adam 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/postgresql93-plperl/Makefile b/databases/postgresql93-plperl/Makefile
new file mode 100644
index 00000000000..7aae3337e90
--- /dev/null
+++ b/databases/postgresql93-plperl/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2013/09/10 15:32:33 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/93-plperl-/}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql93-server>=${PKGVERSION_NOREV}:../../databases/postgresql93-server
+
+.include "../../databases/postgresql93/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
+
+.include "../../databases/postgresql93-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql93-plperl/PLIST b/databases/postgresql93-plperl/PLIST
new file mode 100644
index 00000000000..401ed033375
--- /dev/null
+++ b/databases/postgresql93-plperl/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/10 15:32:33 adam Exp $
+lib/postgresql/plperl.so
+share/locale/cs/LC_MESSAGES/plperl-9.3.mo
+share/locale/de/LC_MESSAGES/plperl-9.3.mo
+share/locale/es/LC_MESSAGES/plperl-9.3.mo
+share/locale/fr/LC_MESSAGES/plperl-9.3.mo
+share/locale/it/LC_MESSAGES/plperl-9.3.mo
+share/locale/ja/LC_MESSAGES/plperl-9.3.mo
+share/locale/pl/LC_MESSAGES/plperl-9.3.mo
+share/locale/pt_BR/LC_MESSAGES/plperl-9.3.mo
+share/locale/ro/LC_MESSAGES/plperl-9.3.mo
+share/locale/ru/LC_MESSAGES/plperl-9.3.mo
+share/locale/tr/LC_MESSAGES/plperl-9.3.mo
+share/locale/zh_CN/LC_MESSAGES/plperl-9.3.mo
+share/locale/zh_TW/LC_MESSAGES/plperl-9.3.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