summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2010-08-01 17:44:04 +0000
committerjdolecek <jdolecek>2010-08-01 17:44:04 +0000
commit474945b2202b5e9b05223c33ea55bc26757df6e4 (patch)
treef8eb05a73dfed4c944002bf6d9b0630e14dbc632 /databases
parent04a2ef32dd90efebae82f23d4487ec25e64d7be7 (diff)
downloadpkgsrc-474945b2202b5e9b05223c33ea55bc26757df6e4.tar.gz
Add PostgreSQL 8.4 pgcrypto module, providing cryptographic functions
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql84-pgcrypto/DESCR3
-rw-r--r--databases/postgresql84-pgcrypto/Makefile22
-rw-r--r--databases/postgresql84-pgcrypto/PLIST4
3 files changed, 29 insertions, 0 deletions
diff --git a/databases/postgresql84-pgcrypto/DESCR b/databases/postgresql84-pgcrypto/DESCR
new file mode 100644
index 00000000000..3ce89d05b9d
--- /dev/null
+++ b/databases/postgresql84-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/postgresql84-pgcrypto/Makefile b/databases/postgresql84-pgcrypto/Makefile
new file mode 100644
index 00000000000..cfa8a8a9d8a
--- /dev/null
+++ b/databases/postgresql84-pgcrypto/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/01 17:44:04 jdolecek Exp $
+
+PKGNAME= postgresql84-pgcrypto-${BASE_VERS}
+COMMENT= Module providing cryptographic functions for PostgreSQL
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql84-server>=${BASE_VERS}:../../databases/postgresql84-server
+
+.include "../../databases/postgresql84/Makefile.common"
+
+BUILD_DIRS= contrib/pgcrypto
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
+REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
+
+.include "../../databases/postgresql84-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql84-pgcrypto/PLIST b/databases/postgresql84-pgcrypto/PLIST
new file mode 100644
index 00000000000..b7346b3120a
--- /dev/null
+++ b/databases/postgresql84-pgcrypto/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/01 17:44:04 jdolecek Exp $
+${PG_SUBPREFIX}lib/postgresql/pgcrypto.la
+${PG_SUBPREFIX}share/postgresql/contrib/pgcrypto.sql
+${PG_SUBPREFIX}share/postgresql/contrib/uninstall_pgcrypto.sql