summaryrefslogtreecommitdiff
path: root/databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-05-09 01:36:37 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-05-09 01:36:37 +0000
commit3f2afec718741ef4db247b65dbdce33c35fe29f1 (patch)
treedc71ee9832f49a6fe4529725094e7f8bf3fa6f8c /databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile
parentconditionalize dependencies on modules included in perl 5.8 (diff)
Repack the -devel port now that version 3.0 of the wire protocol has been
finalized between the client and server. While here, fix the plist, change WITH_PGCRYPTO to be WITHOUT_PGCRYPTO that way the port defaults to installing the crypto libraries. Now that we have hardware support for crypto devices, go out of our way to make sure that pgcrypto uses openssl where applicable and reads from /dev/urandom for entropy.
Notes
Notes: svn path=/head/; revision=80501
Diffstat (limited to 'databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile')
-rw-r--r--databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile b/databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile
new file mode 100644
index 000000000000..66112d5d50a9
--- /dev/null
+++ b/databases/postgresql-devel/files/patch-contrib::pgcrypto::Makefile
@@ -0,0 +1,20 @@
+--- contrib/pgcrypto/Makefile.orig Thu May 8 16:09:28 2003
++++ contrib/pgcrypto/Makefile Thu May 8 16:12:47 2003
+@@ -7,7 +7,7 @@
+ include $(top_builddir)/src/Makefile.global
+
+ # either 'builtin', 'mhash', 'openssl'
+-cryptolib = builtin
++cryptolib = openssl
+
+ # either 'builtin', 'system'
+ cryptsrc = builtin
+@@ -21,7 +21,7 @@
+ # This works ofcouse only with cryptolib = openssl
+ #
+ # 'silly' - use libc random() - very weak
+-random = silly
++random = dev
+ random_dev = \"/dev/urandom\"
+
+ ##########################