summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-05-25 06:47:31 +0000
committeradam <adam@pkgsrc.org>2010-05-25 06:47:31 +0000
commitb4738cf83bd12ec6987a7fa7a3dd5fa332e4f9de (patch)
tree2bcd454aec3e9898c00ea0f7230de7d0888dd1c3 /sysutils
parentf10c8497d61c39c44dff9670ca231e670eb34756 (diff)
downloadpkgsrc-b4738cf83bd12ec6987a7fa7a3dd5fa332e4f9de.tar.gz
Fix building with older OpenSSL
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bacula/distinfo3
-rw-r--r--sysutils/bacula/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/bacula/distinfo b/sysutils/bacula/distinfo
index 7a738c10ef7..fd5f43d38a4 100644
--- a/sysutils/bacula/distinfo
+++ b/sysutils/bacula/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.41 2010/05/08 09:05:47 adam Exp $
+$NetBSD: distinfo,v 1.42 2010/05/25 06:47:31 adam Exp $
SHA1 (bacula-5.0.2.tar.gz) = fe5b8d682fe73d2458f0b2965ea88386ba40f0d5
RMD160 (bacula-5.0.2.tar.gz) = cb2e767476baf0d0bc3573a39882870e41dda6db
Size (bacula-5.0.2.tar.gz) = 4189272 bytes
SHA1 (patch-aa) = 088623d447102579d2723f0ff0a1e802d83cfdd0
SHA1 (patch-ac) = 4ba89bcf49ce82b527edc789e2b17a781cb8622e
+SHA1 (patch-ad) = e80f433b251709db6504e6f8ecc158c43590ae93
SHA1 (patch-ae) = cfd66ce6ae33b993a9398b1d40aa6b6c7fc84552
SHA1 (patch-af) = eb573f4b823c6c693634989883d2f94d2fa81f98
SHA1 (patch-ah) = 8cfe18b486fdd49eb162e20509ddf59e4b0c7375
diff --git a/sysutils/bacula/patches/patch-ad b/sysutils/bacula/patches/patch-ad
new file mode 100644
index 00000000000..e479527a362
--- /dev/null
+++ b/sysutils/bacula/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.4 2010/05/25 06:47:31 adam Exp $
+
+--- src/lib/tls.c.orig 2010-04-27 19:58:29.000000000 +0000
++++ src/lib/tls.c
+@@ -315,7 +315,7 @@ bool tls_postconnect_verify_host(JCR *jc
+ extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext)));
+
+ if (strcmp(extname, "subjectAltName") == 0) {
+-#ifdef HAVE_OPENSSLv1
++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
+ const X509V3_EXT_METHOD *method;
+ #else
+ X509V3_EXT_METHOD *method;