summaryrefslogtreecommitdiff
path: root/sysutils/bacula/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2009-08-24 08:23:41 +0000
committeradam <adam@pkgsrc.org>2009-08-24 08:23:41 +0000
commit390dc128051595404b49671d5c3e005b9a3def75 (patch)
tree5e81a09f6166eff68ed36159584a99d18ad4d48e /sysutils/bacula/patches
parentc021b3b3bdb54c83381b9f6cf499bdcd9451311a (diff)
downloadpkgsrc-390dc128051595404b49671d5c3e005b9a3def75.tar.gz
Changes 3.0.2:
* Fix 1323 about a problem when mounting a requested volume during a restore. * Add more example SD Device configurations. * Force the client_encoding to SQL_ASCII when database is already using this mode. * Fix 1335 about postgresql error message during copy session * Cleanup old job records when starting the director (Created/Running -> Failed) * Apply patch in bug 1315 by McMichaeli that fixes scripts/logwatch * Add more output when spooling and no space left * Fix postgresql driver bug that displayed <NULL> rows from time to time. * Implement the project 'restore' menu: enter a JobId, automatically select dependents * Should fix 1323 about verify accurate jobs and deleted files. * more...
Diffstat (limited to 'sysutils/bacula/patches')
-rw-r--r--sysutils/bacula/patches/patch-ab22
-rw-r--r--sysutils/bacula/patches/patch-ac6
-rw-r--r--sysutils/bacula/patches/patch-ad32
-rw-r--r--sysutils/bacula/patches/patch-al14
-rw-r--r--sysutils/bacula/patches/patch-ao8
-rw-r--r--sysutils/bacula/patches/patch-ap8
6 files changed, 43 insertions, 47 deletions
diff --git a/sysutils/bacula/patches/patch-ab b/sysutils/bacula/patches/patch-ab
index 25916baca7a..76bd7c6a278 100644
--- a/sysutils/bacula/patches/patch-ab
+++ b/sysutils/bacula/patches/patch-ab
@@ -1,8 +1,20 @@
-$NetBSD: patch-ab,v 1.4 2009/07/10 19:21:28 hasso Exp $
+$NetBSD: patch-ab,v 1.5 2009/08/24 08:23:41 adam Exp $
---- ./src/lib/crypto.c.orig 2008-11-06 21:10:08 +0200
-+++ ./src/lib/crypto.c 2009-07-10 13:27:39 +0300
-@@ -1099,7 +1099,11 @@ CRYPTO_SESSION *crypto_session_new (cryp
+--- src/lib/crypto.c.orig 2008-11-06 20:10:08.000000000 +0100
++++ src/lib/crypto.c
+@@ -309,7 +309,11 @@ typedef struct PEM_CB_Context {
+ */
+ static ASN1_OCTET_STRING *openssl_cert_keyid(X509 *cert) {
+ X509_EXTENSION *ext;
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++ const X509V3_EXT_METHOD *method;
++#else
+ X509V3_EXT_METHOD *method;
++#endif
+ ASN1_OCTET_STRING *keyid;
+ int i;
+ #if (OPENSSL_VERSION_NUMBER >= 0x0090800FL)
+@@ -1099,7 +1103,11 @@ CRYPTO_SESSION *crypto_session_new (cryp
/* Encrypt the session key */
ekey = (unsigned char *)malloc(EVP_PKEY_size(keypair->pubkey));
@@ -14,7 +26,7 @@ $NetBSD: patch-ab,v 1.4 2009/07/10 19:21:28 hasso Exp $
/* OpenSSL failure */
RecipientInfo_free(ri);
crypto_session_free(cs);
-@@ -1222,8 +1226,13 @@ crypto_error_t crypto_session_decode(con
+@@ -1222,8 +1230,13 @@ crypto_error_t crypto_session_decode(con
/* Decrypt the session key */
/* Allocate sufficient space for the largest possible decrypted data */
cs->session_key = (unsigned char *)malloc(EVP_PKEY_size(keypair->privkey));
diff --git a/sysutils/bacula/patches/patch-ac b/sysutils/bacula/patches/patch-ac
index 722d0d8cc08..c175ce093cb 100644
--- a/sysutils/bacula/patches/patch-ac
+++ b/sysutils/bacula/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.5 2009/05/16 08:06:56 adam Exp $
+$NetBSD: patch-ac,v 1.6 2009/08/24 08:23:41 adam Exp $
---- src/console/Makefile.in.orig 2009-02-18 12:40:09.000000000 +0100
+--- src/console/Makefile.in.orig 2009-06-05 15:02:10.000000000 +0200
+++ src/console/Makefile.in
@@ -48,7 +48,7 @@ all: Makefile bconsole @STATIC_CONS@
@@ -10,7 +10,7 @@ $NetBSD: patch-ac,v 1.5 2009/05/16 08:06:56 adam Exp $
+ $(DLIB) $(CONS_LIBS) ../lib/libbaccfg.la ../lib/libbac.la -lm $(LIBS) $(GETTEXT_LIBS) \
$(OPENSSL_LIBS)
- static-bconsole: Makefile $(CONSOBJS) ../lib/libbac.a../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
+ static-bconsole: Makefile $(CONSOBJS) ../lib/libbac.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
@@ -90,19 +90,19 @@ install: all
fi
$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bconsole $(DESTDIR)$(sbindir)/bconsole
diff --git a/sysutils/bacula/patches/patch-ad b/sysutils/bacula/patches/patch-ad
index 98ea067ee8c..8941c99e98c 100644
--- a/sysutils/bacula/patches/patch-ad
+++ b/sysutils/bacula/patches/patch-ad
@@ -1,18 +1,16 @@
-$NetBSD: patch-ad,v 1.1 2009/05/15 10:29:05 adam Exp $
+$NetBSD: patch-ad,v 1.2 2009/08/24 08:23:41 adam Exp $
---- src/lib/jcr.c.orig 2009-04-10 13:12:50.000000000 +0200
-+++ src/lib/jcr.c
-@@ -1059,13 +1059,8 @@ void _dbg_print_jcr(FILE *fp)
-
- fprintf(fp, "JCR=%p JobId=%i name=%s JobStatus=%c\n",
- jcr, jcr->JobId, jcr->Job, jcr->JobStatus);
--#ifdef HAVE_WIN32
- fprintf(fp, "\tuse_count=%i\n",
- jcr->use_count());
--#else
-- fprintf(fp, "\tuse_count=%i threadid=0x%x\n",
-- jcr->use_count(), (int)jcr->my_thread_id);
--#endif
- fprintf(fp, "\tJobType=%c JobLevel=%c\n",
- jcr->get_JobType(), jcr->get_JobLevel());
- bstrftime(buf1, sizeof(buf1), jcr->sched_time);
+--- src/lib/tls.c.orig 2008-11-22 19:36:12.000000000 +0100
++++ src/lib/tls.c
+@@ -315,7 +315,11 @@ bool tls_postconnect_verify_host(JCR *jc
+ extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext)));
+
+ if (strcmp(extname, "subjectAltName") == 0) {
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++ const X509V3_EXT_METHOD *method;
++#else
+ X509V3_EXT_METHOD *method;
++#endif
+ STACK_OF(CONF_VALUE) *val;
+ CONF_VALUE *nval;
+ void *extstr = NULL;
diff --git a/sysutils/bacula/patches/patch-al b/sysutils/bacula/patches/patch-al
deleted file mode 100644
index af70805fb9f..00000000000
--- a/sysutils/bacula/patches/patch-al
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-al,v 1.3 2009/05/15 10:29:05 adam Exp $
-
---- src/cats/sql.c.orig 2009-04-10 13:40:54.000000000 +0200
-+++ src/cats/sql.c
-@@ -758,9 +758,6 @@ void _dbg_print_db(JCR *jcr, FILE *fp)
- fprintf(fp, "\tcmd=\"%s\" changes=%i\n", NPRTB(mdb->cmd), mdb->changes);
- if (mdb->lock.valid == RWLOCK_VALID) {
- fprintf(fp, "\tRWLOCK=%p w_active=%i w_wait=%i\n", &mdb->lock, mdb->lock.w_active, mdb->lock.w_wait);
--#ifndef HAVE_WIN32
-- fprintf(fp, "\t\tthreadid=0x%x mutex=%p\n", (int)mdb->lock.writer_id, &mdb->lock.mutex);
--#endif
- }
- }
-
diff --git a/sysutils/bacula/patches/patch-ao b/sysutils/bacula/patches/patch-ao
index 377f740ce3e..82c3b8ab06d 100644
--- a/sysutils/bacula/patches/patch-ao
+++ b/sysutils/bacula/patches/patch-ao
@@ -1,9 +1,9 @@
-$NetBSD: patch-ao,v 1.1 2009/05/15 10:29:05 adam Exp $
+$NetBSD: patch-ao,v 1.2 2009/08/24 08:23:41 adam Exp $
---- configure.orig 2009-05-15 10:52:32.000000000 +0200
+--- configure.orig 2009-07-10 16:12:39.000000000 +0200
+++ configure
-@@ -45609,7 +45609,7 @@ if test "${support_bat}" = "yes" ; then
- exit 1
+@@ -45726,7 +45726,7 @@ echo "$as_me: error: Could not find qmak
+ { (exit 1); exit 1; }; }
fi
- QMAKEBIN="qmake"
diff --git a/sysutils/bacula/patches/patch-ap b/sysutils/bacula/patches/patch-ap
index caf8f562e99..55721cbeea8 100644
--- a/sysutils/bacula/patches/patch-ap
+++ b/sysutils/bacula/patches/patch-ap
@@ -1,13 +1,13 @@
-$NetBSD: patch-ap,v 1.1 2009/05/16 08:06:57 adam Exp $
+$NetBSD: patch-ap,v 1.2 2009/08/24 08:23:41 adam Exp $
---- src/qt-console/bat.pro.in.orig 2009-03-27 18:59:16.000000000 +0100
+--- src/qt-console/bat.pro.in.orig 2009-06-08 10:38:06.000000000 +0200
+++ src/qt-console/bat.pro.in
@@ -11,8 +11,6 @@ CONFIG += qt debug @QWT@
bins.path = /$(DESTDIR)@sbindir@
- bins.files = ./bat
+ bins.files = bat
-confs.path = /$(DESTDIR)@sysconfdir@
--confs.commands = ./install_conf_file
+-confs.commands = ./install_conf_file
help.path = /$(DESTDIR)@htmldir@
help.files = help/*.html images/status.png images/mail-message-new.png