summaryrefslogtreecommitdiff
path: root/databases/postgresql91-pgcrypto
diff options
context:
space:
mode:
authoradam <adam>2011-09-15 08:27:38 +0000
committeradam <adam>2011-09-15 08:27:38 +0000
commit2f42f02192dd6cc888fbed42d00a65ea11ab3af0 (patch)
treee4278cd9abc25bd225f1dd7ef33d4023332332b6 /databases/postgresql91-pgcrypto
parent1a7e8822c72df5cab241950b96d06eeff3a6edb9 (diff)
downloadpkgsrc-2f42f02192dd6cc888fbed42d00a65ea11ab3af0.tar.gz
Version 9.1 delivers several features which users have been requesting for
years, removing roadblocks to deploying new or ported applications on PostgreSQL. These include: * Synchronous Replication: enable high-availability with consistency across multiple servers * Per-Column Collations: support linguistically-correct sorting per database, table or column. * Unlogged Tables: greatly improves performance for ephemeral data Our community of contributors innovates with cutting-edge features. Version 9.1 includes several which are new to the database industry, such as: * K-Nearest-Neighbor Indexing: index on "distance" for faster location and text search queries * Serializable Snapshot Isolation: keeps concurrent transactions consistent without blocking, using "true serializability" * Writeable Common Table Expressions: execute complex multi-stage data updates in a single query * Security-Enhanced Postgres: deploy military-grade security and Mandatory Access Control
Diffstat (limited to 'databases/postgresql91-pgcrypto')
-rw-r--r--databases/postgresql91-pgcrypto/DESCR3
-rw-r--r--databases/postgresql91-pgcrypto/Makefile18
-rw-r--r--databases/postgresql91-pgcrypto/PLIST5
3 files changed, 26 insertions, 0 deletions
diff --git a/databases/postgresql91-pgcrypto/DESCR b/databases/postgresql91-pgcrypto/DESCR
new file mode 100644
index 00000000000..3ce89d05b9d
--- /dev/null
+++ b/databases/postgresql91-pgcrypto/DESCR
@@ -0,0 +1,3 @@
+The ``pgcrypto'' PostgreSQL contrib module implements a number of
+cryptographic functions - general hashing, password hashing, PGP encryption,
+raw encryption, random data.
diff --git a/databases/postgresql91-pgcrypto/Makefile b/databases/postgresql91-pgcrypto/Makefile
new file mode 100644
index 00000000000..9606b548c4a
--- /dev/null
+++ b/databases/postgresql91-pgcrypto/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/15 08:31:09 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/91-pgcrypto-/}
+COMMENT= Module providing cryptographic functions for PostgreSQL
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql91-server>=${PKGVERSION_NOREV}:../../databases/postgresql91-server
+
+.include "../../databases/postgresql91/Makefile.common"
+
+CONFIGURE_ARGS+= --with-zlib
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= contrib/pgcrypto
+
+.include "../../databases/postgresql91-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql91-pgcrypto/PLIST b/databases/postgresql91-pgcrypto/PLIST
new file mode 100644
index 00000000000..692c1376281
--- /dev/null
+++ b/databases/postgresql91-pgcrypto/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/15 08:31:09 adam Exp $
+lib/postgresql/pgcrypto.so
+share/postgresql/extension/pgcrypto--1.0.sql
+share/postgresql/extension/pgcrypto--unpackaged--1.0.sql
+share/postgresql/extension/pgcrypto.control