Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
PL/Python allows you to write functions in the Python programming
language that may be used in SQL queries as if they were built into
Postgres. The PL/Python intepreter is a full Python interpreter.
PL/Python is currently only available as an "untrusted" language
(meaning it does not offer any way of restricting what users can do
in it). It has therefore been named "plpythonu". The trusted variant
plpython may become available again in future, if a new secure execution
mechanism is developed in Python.

View File

@@ -0,0 +1,17 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2012/10/05 21:03:11 adam Exp $
Please see the PL/Python section of the PostgreSQL Programmer's Guide
(databases/postgresql-docs) for information on programming with
${PKGNAME}.
Note that PL/Python is unrestricted language, meaning it does not
offer any way of restricting what users can do in it. Any DB user with
access to PL/Python can run arbitrary Python code under privileges
of the PostgreSQL server process.
To enable PL/Python for database <dbname>, run following:
createlang plpythonu <dbname>
===========================================================================

View File

@@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.4 2013/02/09 11:19:18 adam Exp $
PKGNAME= ${DISTNAME:C/-/92-plpython-/}
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql92-server>=${PKGVERSION_NOREV}:../../databases/postgresql92-server
.include "../../databases/postgresql92/Makefile.common"
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
BUILD_MAKE_FLAGS= PGXS=1
BUILD_DIRS= src/pl/plpython
.include "../../databases/postgresql92-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,19 @@
@comment $NetBSD: PLIST,v 1.3 2013/02/09 11:19:18 adam Exp $
lib/postgresql/plpython2.so
share/locale/cs/LC_MESSAGES/plpython-9.2.mo
share/locale/de/LC_MESSAGES/plpython-9.2.mo
share/locale/es/LC_MESSAGES/plpython-9.2.mo
share/locale/fr/LC_MESSAGES/plpython-9.2.mo
share/locale/it/LC_MESSAGES/plpython-9.2.mo
share/locale/ja/LC_MESSAGES/plpython-9.2.mo
share/locale/pl/LC_MESSAGES/plpython-9.2.mo
share/locale/pt_BR/LC_MESSAGES/plpython-9.2.mo
share/locale/ro/LC_MESSAGES/plpython-9.2.mo
share/locale/ru/LC_MESSAGES/plpython-9.2.mo
share/locale/zh_CN/LC_MESSAGES/plpython-9.2.mo
share/postgresql/extension/plpython2u--1.0.sql
share/postgresql/extension/plpython2u--unpackaged--1.0.sql
share/postgresql/extension/plpython2u.control
share/postgresql/extension/plpythonu--1.0.sql
share/postgresql/extension/plpythonu--unpackaged--1.0.sql
share/postgresql/extension/plpythonu.control