summaryrefslogtreecommitdiff
path: root/databases/postgresql84-pgcrypto
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2010-08-01 17:44:04 +0000
committerjdolecek <jdolecek@pkgsrc.org>2010-08-01 17:44:04 +0000
commit54c37ada778533bb2875e09f4cb7eecb8ba9e6b5 (patch)
treef8eb05a73dfed4c944002bf6d9b0630e14dbc632 /databases/postgresql84-pgcrypto
parentc52ab787f1e8d15a1d6b0ef5d80fa897c368b60e (diff)
downloadpkgsrc-54c37ada778533bb2875e09f4cb7eecb8ba9e6b5.tar.gz
Add PostgreSQL 8.4 pgcrypto module, providing cryptographic functions
Diffstat (limited to 'databases/postgresql84-pgcrypto')
-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