diff options
author | adam <adam> | 2008-11-21 14:09:30 +0000 |
---|---|---|
committer | adam <adam> | 2008-11-21 14:09:30 +0000 |
commit | 3e363a007f5dde60ca41b20b38f07938e4e5830e (patch) | |
tree | e250f059b24abe301aa25dabc777d6932d7f4abb /sysutils/bacula | |
parent | 65acbb17d2306c85f3c8b003393c9c19ec921a35 (diff) | |
download | pkgsrc-3e363a007f5dde60ca41b20b38f07938e4e5830e.tar.gz |
Changes 2.4.3:
* Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
a non created job faster.
* Fix typo in configure.in that breaks --with-db-password option
* Remove all double quotes from SQLite creating script and
replace by single quotes as suggested by John Huttley.
* Fix SQL case problem that may cause the failure of DiskToCatalog.
* Copy missing storage name into edit buffer. As far as I can tell
this never caused a bug.
* Remove catalog dependency for bcopy
* Modify catalog scripts to have an easier packaging integration,
using default variables.
Make difference between SQLite3 and SQLite in db_get_type()
job when reading from one autochanger and writing to another.
* Add more information to SD acquire.c INFO messages.
* Fix NULL Volume name error when reading and the drive must
be switched.
* Fix a Verify InitCatalog problem where in certain cases
a garbage filename may be entered in the verification database.
* Add space after version before date in bat about dialog.
* Fix seg fault in Dir during estimate command with no level value given.
* Add message to migration job when the target job is already migrated.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/Makefile | 16 | ||||
-rw-r--r-- | sysutils/bacula/Makefile.common | 32 | ||||
-rw-r--r-- | sysutils/bacula/distinfo | 51 | ||||
-rw-r--r-- | sysutils/bacula/options.mk | 7 | ||||
-rw-r--r-- | sysutils/bacula/patches/patch-ab | 26 | ||||
-rw-r--r-- | sysutils/bacula/patches/patch-ac | 6 | ||||
-rw-r--r-- | sysutils/bacula/patches/patch-ae | 6 | ||||
-rw-r--r-- | sysutils/bacula/patches/patch-af | 6 | ||||
-rw-r--r-- | sysutils/bacula/patches/patch-ai | 6 | ||||
-rw-r--r-- | sysutils/bacula/patches/patch-ak | 13 |
10 files changed, 54 insertions, 115 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile index dbf02d7b61b..291c6bd9561 100644 --- a/sysutils/bacula/Makefile +++ b/sysutils/bacula/Makefile @@ -1,6 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2008/07/13 15:26:36 tonnerre Exp $ - -PKGREVISION= 4 +# $NetBSD: Makefile,v 1.28 2008/11/21 14:09:30 adam Exp $ CONFLICTS+= bacula-client-[0-9]* bacula-clientonly-[0-9]* @@ -11,12 +9,14 @@ PKG_DESTDIR_SUPPORT= destdir PLIST_SRC= PLIST.common PLIST_SRC+= PLIST.server -PLIST_SUBST+= BACULA_DB=${BACULA_DB:Q} -MESSAGE_SUBST+= PREFIX=${PREFIX:Q} -MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q} +PLIST_SUBST+= BACULA_DB=${BACULA_DB} +MESSAGE_SUBST+= PREFIX=${PREFIX} +MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV} -CONFIGURE_ARGS+= --with-dir-user=${BACULA_DIR_USER:Q} --with-dir-group=${BACULA_GROUP:Q} -CONFIGURE_ARGS+= --with-sd-user=${BACULA_SD_USER:Q} --with-sd-group=${BACULA_GROUP:Q} +CONFIGURE_ARGS+= --with-dir-group=${BACULA_GROUP} +CONFIGURE_ARGS+= --with-dir-user=${BACULA_DIR_USER} +CONFIGURE_ARGS+= --with-sd-group=${BACULA_GROUP} +CONFIGURE_ARGS+= --with-sd-user=${BACULA_SD_USER} OWN_DIRS_PERMS+= ${BACULA_WORKINGDIR} ${ROOT_USER} ${BACULA_GROUP} 770 diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common index b3505c37763..04800992c45 100644 --- a/sysutils/bacula/Makefile.common +++ b/sysutils/bacula/Makefile.common @@ -1,18 +1,13 @@ -# $NetBSD: Makefile.common,v 1.45 2008/07/12 17:04:12 dmcmahill Exp $ +# $NetBSD: Makefile.common,v 1.46 2008/11/21 14:09:30 adam Exp $ -DISTNAME= bacula-2.2.4 +DISTNAME= bacula-2.4.3 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/} PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/} -PATCHFILES= 2.2.4-lost-block.patch \ - 2.2.4-parse-command.patch \ - 2.2.4-poll-mount.patch \ - 2.2.4-replace.patch \ - 2.2.4-restore.patch \ - 2.2.4-sd-auth-fail.patch \ - 2.2.4-sql.patch \ - 2.2.4-verify.patch +PATCHFILES= 2.4.3-orphaned-jobs.patch \ + 2.4.3-cancel-after-network-outage.patch \ + 2.4.3-update-slots.patch DIST_SUBDIR= ${DISTNAME} MAINTAINER= pkgsrc-users@NetBSD.org @@ -21,6 +16,7 @@ COMMENT?= The Network Backup Solution USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes +USE_TOOLS+= msgfmt GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" @@ -38,11 +34,11 @@ BACULA_WORKINGDIR?= ${VARBASE}/spool/bacula BUILD_DEFS+= VARBASE BACULA_PIDDIR BACULA_WORKINGDIR -FILES_SUBST+= BACULA_ETCDIR=${PKG_SYSCONFDIR:Q} -FILES_SUBST+= BACULA_PIDDIR=${BACULA_PIDDIR:Q} -FILES_SUBST+= BACULA_GROUP=${BACULA_GROUP:Q} -FILES_SUBST+= BACULA_DIR_USER=${BACULA_DIR_USER:Q} -FILES_SUBST+= BACULA_SD_USER=${BACULA_SD_USER:Q} +FILES_SUBST+= BACULA_ETCDIR=${PKG_SYSCONFDIR} +FILES_SUBST+= BACULA_PIDDIR=${BACULA_PIDDIR} +FILES_SUBST+= BACULA_GROUP=${BACULA_GROUP} +FILES_SUBST+= BACULA_DIR_USER=${BACULA_DIR_USER} +FILES_SUBST+= BACULA_SD_USER=${BACULA_SD_USER} SUBST_CLASSES+= egdir SUBST_STAGE.egdir= post-patch @@ -55,11 +51,11 @@ SUBST_FILES.egdir+= src/wx-console/Makefile.in SUBST_FILES.egdir+= src/tray-monitor/Makefile.in SUBST_SED.egdir= -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-scriptdir=${PREFIX}/libexec/bacula CONFIGURE_ARGS+= --with-sbin-perm=0755 -CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR:Q} -CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR:Q} +CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR} +CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR} CONFIGURE_ARGS+= --with-readline=${PREFIX}/include/readline .if ${OPSYS} == "Linux" diff --git a/sysutils/bacula/distinfo b/sysutils/bacula/distinfo index d1895deb934..8f49708c67e 100644 --- a/sysutils/bacula/distinfo +++ b/sysutils/bacula/distinfo @@ -1,40 +1,23 @@ -$NetBSD: distinfo,v 1.29 2008/07/13 15:26:36 tonnerre Exp $ +$NetBSD: distinfo,v 1.30 2008/11/21 14:09:30 adam Exp $ -SHA1 (bacula-2.2.4/2.2.4-lost-block.patch) = d3b9f927100d148e831248b381c5b2543d215502 -RMD160 (bacula-2.2.4/2.2.4-lost-block.patch) = ff24810e204324acc42dbaff0291a0fa02b56e21 -Size (bacula-2.2.4/2.2.4-lost-block.patch) = 1057 bytes -SHA1 (bacula-2.2.4/2.2.4-parse-command.patch) = 71538cee6fcfa07a20cabdf0e48887294e56723a -RMD160 (bacula-2.2.4/2.2.4-parse-command.patch) = 6fc6d9a3c3e2defa0bdee725cf3a0e701cdab8f1 -Size (bacula-2.2.4/2.2.4-parse-command.patch) = 849 bytes -SHA1 (bacula-2.2.4/2.2.4-poll-mount.patch) = 0b8839c3ecd47f58bcff7b0192e9816b2f9034a6 -RMD160 (bacula-2.2.4/2.2.4-poll-mount.patch) = a1bf2692534facb16ccbe697c39a9a61f0a0df35 -Size (bacula-2.2.4/2.2.4-poll-mount.patch) = 823 bytes -SHA1 (bacula-2.2.4/2.2.4-replace.patch) = ef188d27fc90527737be874c045f6abbe423321c -RMD160 (bacula-2.2.4/2.2.4-replace.patch) = ffc8d4bd4c4f520d3c2365a13b83fe2921aeda9c -Size (bacula-2.2.4/2.2.4-replace.patch) = 631 bytes -SHA1 (bacula-2.2.4/2.2.4-restore.patch) = 27bfbeb43b3d69bd5f77904be608f96d66e560ce -RMD160 (bacula-2.2.4/2.2.4-restore.patch) = 03fb3ecf838a9390eb645d50b727bdfd508ee321 -Size (bacula-2.2.4/2.2.4-restore.patch) = 1234 bytes -SHA1 (bacula-2.2.4/2.2.4-sd-auth-fail.patch) = c73ee8b3865f36752004805f6a44a4fcdaa740b8 -RMD160 (bacula-2.2.4/2.2.4-sd-auth-fail.patch) = eb8db56209c5918677844d751f010281f4b50e41 -Size (bacula-2.2.4/2.2.4-sd-auth-fail.patch) = 5385 bytes -SHA1 (bacula-2.2.4/2.2.4-sql.patch) = 2e8bf86ba64d5b4d16197fbfeba0ca504b9f3721 -RMD160 (bacula-2.2.4/2.2.4-sql.patch) = ad49cfd911e3d82763d9101f129b7be24e20ec7d -Size (bacula-2.2.4/2.2.4-sql.patch) = 18382 bytes -SHA1 (bacula-2.2.4/2.2.4-verify.patch) = 0fe11ff7e49420c13b1b6a79b64e9c511a9e4516 -RMD160 (bacula-2.2.4/2.2.4-verify.patch) = da82063dc69d4de08331e80531b2edd6c4ea40ea -Size (bacula-2.2.4/2.2.4-verify.patch) = 2076 bytes -SHA1 (bacula-2.2.4/bacula-2.2.4.tar.gz) = 1fd8e75f231fb3a811696c05ea3c0c719c75289a -RMD160 (bacula-2.2.4/bacula-2.2.4.tar.gz) = 5005d5566f55a8feb8a7efa610cd60a3d92383af -Size (bacula-2.2.4/bacula-2.2.4.tar.gz) = 3020298 bytes +SHA1 (bacula-2.4.3/2.4.3-cancel-after-network-outage.patch) = c3bfc9805792525b95857640c3549443b54e33c4 +RMD160 (bacula-2.4.3/2.4.3-cancel-after-network-outage.patch) = 100e77272267824ee3275df7b190a6da31d78fe3 +Size (bacula-2.4.3/2.4.3-cancel-after-network-outage.patch) = 4766 bytes +SHA1 (bacula-2.4.3/2.4.3-orphaned-jobs.patch) = 04b44be465f004393658065619e54db982892afa +RMD160 (bacula-2.4.3/2.4.3-orphaned-jobs.patch) = d099958f74e66de6dd0a631d9fd12dccd215936b +Size (bacula-2.4.3/2.4.3-orphaned-jobs.patch) = 565 bytes +SHA1 (bacula-2.4.3/2.4.3-update-slots.patch) = b0ddfb9284125cca9ff05ffef256fdbc6ff854a9 +RMD160 (bacula-2.4.3/2.4.3-update-slots.patch) = 5b59468193c979a08045b983ecdf767b15aa40ec +Size (bacula-2.4.3/2.4.3-update-slots.patch) = 2681 bytes +SHA1 (bacula-2.4.3/bacula-2.4.3.tar.gz) = c24e7c2bd8706467d71c60b32cccdec416902cc3 +RMD160 (bacula-2.4.3/bacula-2.4.3.tar.gz) = 3fc216718746f8cdc1e4ca385e3d6f9c72c534c5 +Size (bacula-2.4.3/bacula-2.4.3.tar.gz) = 3125702 bytes SHA1 (patch-aa) = c1e5ec7c3e78c125b9fbaba97190ead10adbc599 -SHA1 (patch-ab) = 24104c731532c00d2901ccd72f43b7184b006496 -SHA1 (patch-ac) = 585f8a00fe7c0e6e8e4c0b91a0bd32bd2fb81c81 -SHA1 (patch-ae) = 69db6d396bd1654b3065d693c5ea2c0afbb8bc61 -SHA1 (patch-af) = 6ecbac39c156c81f30ba53b565f55ab5e876b3e0 +SHA1 (patch-ac) = ee3771bc026d7f6e714f5e77dec920d07d4c12cf +SHA1 (patch-ae) = 80f2adb5e905f775fbfe6568654ba8495b4c456e +SHA1 (patch-af) = e2e60b5ecba58ced41855f01719c6bc6e27e6a1d SHA1 (patch-ag) = a2734446ac79380692dd5a2647928919c9b2f2b8 SHA1 (patch-ah) = 83b156ac18b64d19ea0022103c50c431f3b86b87 -SHA1 (patch-ai) = 499a164fcf9e4fc466b691f91203b4293dcee7eb +SHA1 (patch-ai) = 7965e5f65b010174cdf6490455d3967b316a36ec SHA1 (patch-aj) = df5eba3c80d36ecc26c6acb1566a4411c308b2f0 -SHA1 (patch-ak) = d2b751888edf23a696f347c65ab0f11e6a3829f9 SHA1 (patch-am) = 0b5b81543eb66ad191d94b59c986561e492a069d diff --git a/sysutils/bacula/options.mk b/sysutils/bacula/options.mk index f2920bbfd4a..6a1b950e3a3 100644 --- a/sysutils/bacula/options.mk +++ b/sysutils/bacula/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.11 2008/07/10 13:54:56 dmcmahill Exp $ +# $NetBSD: options.mk,v 1.12 2008/11/21 14:09:30 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.bacula PKG_SUPPORTED_OPTIONS= bacula-static python @@ -18,11 +18,11 @@ CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3} BACULA_DB= sqlite3 .elif !empty(PKG_OPTIONS:Mcatalog-pgsql) . include "../../mk/pgsql.buildlink3.mk" -CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX:Q} +CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX} BACULA_DB= postgresql .elif !empty(PKG_OPTIONS:Mcatalog-mysql) . include "../../mk/mysql.buildlink3.mk" -CONFIGURE_ARGS+= --with-mysql=${PREFIX:Q} +CONFIGURE_ARGS+= --with-mysql=${PREFIX} BACULA_DB= mysql .endif @@ -49,4 +49,3 @@ PLIST_SUBST+= STATIC= .else PLIST_SUBST+= STATIC="@comment " .endif - diff --git a/sysutils/bacula/patches/patch-ab b/sysutils/bacula/patches/patch-ab deleted file mode 100644 index 6f645aabe7d..00000000000 --- a/sysutils/bacula/patches/patch-ab +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2008/07/13 15:26:36 tonnerre Exp $ - ---- src/cats/make_catalog_backup.in.orig 2007-04-24 17:36:15.000000000 +0200 -+++ src/cats/make_catalog_backup.in -@@ -8,7 +8,11 @@ - # $2 is the user name with which to access the database - # (default = bacula). - # $3 is the password with which to access the database or "" if no password --# (default "") -+# (default ""). WARNING!!! Passing the password via the command line is -+# insecure and should not be used since any user can display the command -+# line arguments and the environment using ps. Please consult your -+# MySQL or PostgreSQL manual for secure methods of specifying the -+# password. - # $4 is the host on which the database is located - # (default "") - # -@@ -31,7 +35,7 @@ else - else - MYSQLHOST="" - fi -- ${BINDIR}/mysqldump -u $2$MYSQLPASSWORD$MYSQLHOST -f --opt $1 >$1.sql -+ ${BINDIR}/mysqldump -u ${2}${MYSQLPASSWORD}${MYSQLHOST} -f --opt $1 >$1.sql - else - if test xpostgresql = x@DB_TYPE@ ; then - if test $# -gt 2; then diff --git a/sysutils/bacula/patches/patch-ac b/sysutils/bacula/patches/patch-ac index 0e45c6547bb..b44c7fed128 100644 --- a/sysutils/bacula/patches/patch-ac +++ b/sysutils/bacula/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.2 2005/12/08 01:04:45 wiz Exp $ +$NetBSD: patch-ac,v 1.3 2008/11/21 14:09:31 adam Exp $ ---- src/console/Makefile.in.orig 2004-06-20 15:43:02.000000000 +0400 +--- src/console/Makefile.in.orig 2007-05-27 11:34:40.000000000 +0200 +++ src/console/Makefile.in -@@ -82,19 +82,19 @@ install: all +@@ -87,19 +87,19 @@ install: all fi $(INSTALL_PROGRAM) bconsole $(DESTDIR)$(sbindir)/bconsole @srcconf=bconsole.conf; \ diff --git a/sysutils/bacula/patches/patch-ae b/sysutils/bacula/patches/patch-ae index 9cd6822ce5a..7e293a840f8 100644 --- a/sysutils/bacula/patches/patch-ae +++ b/sysutils/bacula/patches/patch-ae @@ -1,8 +1,8 @@ -$NetBSD: patch-ae,v 1.2 2005/12/08 01:04:45 wiz Exp $ +$NetBSD: patch-ae,v 1.3 2008/11/21 14:09:31 adam Exp $ ---- src/filed/Makefile.in.orig 2004-03-11 00:38:48.000000000 +0300 +--- src/filed/Makefile.in.orig 2007-05-27 11:34:40.000000000 +0200 +++ src/filed/Makefile.in -@@ -111,14 +111,14 @@ devclean: realclean +@@ -120,14 +120,14 @@ devclean: realclean install: all $(INSTALL_PROGRAM) bacula-fd $(DESTDIR)$(sbindir)/bacula-fd @srcconf=bacula-fd.conf; \ diff --git a/sysutils/bacula/patches/patch-af b/sysutils/bacula/patches/patch-af index a6e1704c91d..6b532df943f 100644 --- a/sysutils/bacula/patches/patch-af +++ b/sysutils/bacula/patches/patch-af @@ -1,8 +1,8 @@ -$NetBSD: patch-af,v 1.2 2005/12/08 01:04:45 wiz Exp $ +$NetBSD: patch-af,v 1.3 2008/11/21 14:09:31 adam Exp $ ---- src/stored/Makefile.in.orig 2004-06-20 15:43:04.000000000 +0400 +--- src/stored/Makefile.in.orig 2008-08-28 14:54:56.000000000 +0200 +++ src/stored/Makefile.in -@@ -132,14 +132,14 @@ install: all +@@ -157,14 +157,14 @@ install: all $(INSTALL_PROGRAM) bscan $(DESTDIR)$(sbindir)/bscan $(INSTALL_PROGRAM) btape $(DESTDIR)$(sbindir)/btape @srcconf=bacula-sd.conf; \ diff --git a/sysutils/bacula/patches/patch-ai b/sysutils/bacula/patches/patch-ai index f0685e179c1..ef63d1ee47f 100644 --- a/sysutils/bacula/patches/patch-ai +++ b/sysutils/bacula/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.3 2005/12/08 01:04:45 wiz Exp $ +$NetBSD: patch-ai,v 1.4 2008/11/21 14:09:31 adam Exp $ ---- src/tray-monitor/Makefile.in.orig 2005-04-26 17:04:25.000000000 +0200 +--- src/tray-monitor/Makefile.in.orig 2007-08-16 10:44:39.000000000 +0200 +++ src/tray-monitor/Makefile.in -@@ -71,14 +71,14 @@ devclean: realclean +@@ -69,14 +69,14 @@ devclean: realclean install: all $(INSTALL_PROGRAM) bacula-tray-monitor $(DESTDIR)$(sbindir)/bacula-tray-monitor @srcconf=tray-monitor.conf; \ diff --git a/sysutils/bacula/patches/patch-ak b/sysutils/bacula/patches/patch-ak deleted file mode 100644 index 09b4e85387e..00000000000 --- a/sysutils/bacula/patches/patch-ak +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ak,v 1.3 2008/07/13 15:26:36 tonnerre Exp $ - ---- src/dird/bacula-dir.conf.in.orig 2007-05-27 21:30:39.000000000 +0200 -+++ src/dird/bacula-dir.conf.in -@@ -61,6 +61,8 @@ Job { - FileSet="Catalog" - Schedule = "WeeklyCycleAfterBackup" - # This creates an ASCII copy of the catalog -+ # WARNING!!! Passing the password via the command line is insecure. -+ # see comments in make_catalog_backup for details. - RunBeforeJob = "@scriptdir@/make_catalog_backup bacula bacula" - # This deletes the copy of the catalog - RunAfterJob = "@scriptdir@/delete_catalog_backup" |