--- bacula-1.38.11.orig/autoconf/configure.in +++ bacula-1.38.11/autoconf/configure.in @@ -605,9 +605,9 @@ if test "$withval" != "no"; then if test "$withval" = "yes"; then for python_root in /usr /usr/local /usr/sfw; do - if test -f $python_root/include/python2.2/Python.h; then - PYTHON_INCDIR=-I$python_root/include/python2.2 - PYTHON_LIBS="-L$python_root/lib/python2.2/config -lpython2.2" + if test -f $python_root/include/python2.5/Python.h; then + PYTHON_INCDIR=-I$python_root/include/python2.5 + PYTHON_LIBS="-L$python_root/lib/python2.5/config -lpython2.5" break elif test -f $python_root/include/python2.3/Python.h; then PYTHON_INCDIR=-I$python_root/include/python2.3 --- bacula-1.38.11.orig/INSTALL +++ bacula-1.38.11/INSTALL @@ -41,7 +41,7 @@ See the README for a few additional details and the online manual - for all the gory details: http://www.bacula.org/html-manual + for all the gory details: http://www.bacula.org/rel-manual 3. Carefully review the output from ./configure. If it is not what you want, re-run the ./configure. Often ./configure "caches" --- bacula-1.38.11.orig/configure +++ bacula-1.38.11/configure @@ -14949,9 +14949,9 @@ if test "$withval" != "no"; then if test "$withval" = "yes"; then for python_root in /usr /usr/local /usr/sfw; do - if test -f $python_root/include/python2.2/Python.h; then - PYTHON_INCDIR=-I$python_root/include/python2.2 - PYTHON_LIBS="-L$python_root/lib/python2.2/config -lpython2.2" + if test -f $python_root/include/python2.5/Python.h; then + PYTHON_INCDIR=-I$python_root/include/python2.5 + PYTHON_LIBS="-L$python_root/lib/python2.5/config -lpython2.5" break elif test -f $python_root/include/python2.3/Python.h; then PYTHON_INCDIR=-I$python_root/include/python2.3 --- bacula-1.38.11.orig/po/es_AR.po +++ bacula-1.38.11/po/es_AR.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: branch 1.38\n" "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2006-02-26 13:10+0100\n" +"POT-Creation-Date: 2006-06-29 09:37+0200\n" "PO-Revision-Date: 2006-04-13 08:15+0200\n" "Last-Translator: \n" "Language-Team: Spanish\n" @@ -74,7 +74,7 @@ "It is probably not running or your password is incorrect.\n" msgstr "" -#: src/cats/mysql.c:320 src/cats/postgresql.c:264 src/cats/sqlite.c:323 +#: src/cats/mysql.c:321 src/cats/postgresql.c:266 src/cats/sqlite.c:323 #, c-format msgid "Query failed: %s: ERR=%s\n" msgstr "" @@ -91,7 +91,7 @@ "It is probably not running or your password is incorrect.\n" msgstr "" -#: src/cats/postgresql.c:506 +#: src/cats/postgresql.c:508 #, c-format msgid "error fetching currval: %s\n" msgstr "" @@ -141,8 +141,8 @@ msgid "error fetching row: %s\n" msgstr "" -#: src/cats/sql.c:326 src/dird/catreq.c:369 src/dird/catreq.c:401 -#: src/dird/catreq.c:426 +#: src/cats/sql.c:326 src/dird/catreq.c:367 src/dird/catreq.c:399 +#: src/dird/catreq.c:424 #, c-format msgid "Attribute create error. %s" msgstr "" @@ -351,10 +351,10 @@ #: src/cats/sql_find.c:317 #, c-format -msgid "Request for Volume item %d greater than max %d\n" +msgid "Request for Volume item %d greater than max %d or less than 1.\n" msgstr "" -#: src/cats/sql_find.c:329 +#: src/cats/sql_find.c:331 #, c-format msgid "No Volume record found for item %d.\n" msgstr "" @@ -667,8 +667,8 @@ msgid "TLS library initialization failed.\n" msgstr "" -#: src/console/console.c:404 src/dird/dird.c:200 src/dird/dird.c:410 -#: src/dird/dird.c:413 src/filed/filed.c:188 src/gnome2-console/console.c:275 +#: src/console/console.c:404 src/dird/dird.c:201 src/dird/dird.c:411 +#: src/dird/dird.c:414 src/filed/filed.c:188 src/gnome2-console/console.c:275 #: src/stored/stored.c:193 #, c-format msgid "Please correct configuration file: %s\n" @@ -713,11 +713,11 @@ msgid "Enter a period to cancel a command.\n" msgstr "" -#: src/console/console.c:582 src/console/console.c:611 src/dird/dird.c:496 -#: src/dird/dird.c:711 src/dird/dird.c:777 src/dird/dird.c:829 +#: src/console/console.c:582 src/console/console.c:611 src/dird/dird.c:498 +#: src/dird/dird.c:713 src/dird/dird.c:779 src/dird/dird.c:831 #: src/filed/filed.c:302 src/filed/filed.c:348 #: src/gnome2-console/console.c:140 src/gnome2-console/console.c:169 -#: src/stored/stored.c:309 src/wx-console/console_thread.cpp:94 +#: src/stored/stored.c:311 src/wx-console/console_thread.cpp:94 #: src/wx-console/console_thread.cpp:120 msgid "TLS required but not configured in Bacula.\n" msgstr "" @@ -815,7 +815,7 @@ msgid "Start Admin JobId %d, Job=%s\n" msgstr "" -#: src/dird/admin.c:82 src/dird/backup.c:343 src/dird/mac.c:287 +#: src/dird/admin.c:82 src/dird/backup.c:377 src/dird/mac.c:280 #, c-format msgid "Error getting job record for stats: %s" msgstr "" @@ -832,8 +832,8 @@ msgid "Admin Canceled" msgstr "" -#: src/dird/admin.c:102 src/dird/backup.c:455 src/dird/mac.c:389 -#: src/dird/restore.c:246 +#: src/dird/admin.c:102 src/dird/backup.c:428 src/dird/mac.c:382 +#: src/dird/restore.c:250 #, c-format msgid "Inappropriate term code: %c\n" msgstr "" @@ -966,12 +966,12 @@ msgstr "" #: src/dird/backup.c:88 src/dird/backup.c:94 src/dird/mac.c:124 -#: src/dird/ua_output.c:611 +#: src/dird/ua_output.c:623 #, c-format msgid "Pool %s not in database. %s" msgstr "" -#: src/dird/backup.c:92 src/dird/mac.c:128 src/dird/ua_output.c:619 +#: src/dird/backup.c:92 src/dird/mac.c:128 src/dird/ua_output.c:631 #, c-format msgid "Pool %s created in database.\n" msgstr "" @@ -990,59 +990,47 @@ msgid "Start Backup JobId %s, Job=%s\n" msgstr "" -#: src/dird/backup.c:276 +#: src/dird/backup.c:309 #, c-format msgid "Unexpected Client Job message: %s\n" msgstr "" -#: src/dird/backup.c:284 +#: src/dird/backup.c:317 #, c-format msgid "Network error with FD during %s: ERR=%s\n" msgstr "" -#: src/dird/backup.c:300 +#: src/dird/backup.c:333 msgid "No Job status returned from FD.\n" msgstr "" -#: src/dird/backup.c:350 +#: src/dird/backup.c:384 #, c-format msgid "Error getting client record for stats: %s" msgstr "" -#: src/dird/backup.c:356 src/dird/mac.c:294 +#: src/dird/backup.c:390 src/dird/mac.c:287 #, c-format msgid "Error getting Media record for Volume \"%s\": ERR=%s" msgstr "" -#: src/dird/backup.c:384 src/dird/mac.c:322 -#, c-format -msgid "Could not get Job Volume Parameters to update Bootstrap file. ERR=%s\n" -msgstr "" - -#: src/dird/backup.c:418 src/dird/mac.c:352 -#, c-format -msgid "" -"Could not open WriteBootstrap file:\n" -"%s: ERR=%s\n" -msgstr "" - -#: src/dird/backup.c:428 src/dird/mac.c:362 +#: src/dird/backup.c:401 src/dird/mac.c:355 msgid "Backup OK -- with warnings" msgstr "" -#: src/dird/backup.c:430 src/dird/mac.c:364 src/stored/bscan.c:1060 +#: src/dird/backup.c:403 src/dird/mac.c:357 src/stored/bscan.c:1060 msgid "Backup OK" msgstr "" -#: src/dird/backup.c:435 src/dird/mac.c:369 src/stored/bscan.c:1064 +#: src/dird/backup.c:408 src/dird/mac.c:362 src/stored/bscan.c:1064 msgid "*** Backup Error ***" msgstr "" -#: src/dird/backup.c:445 src/dird/mac.c:379 src/stored/bscan.c:1067 +#: src/dird/backup.c:418 src/dird/mac.c:372 src/stored/bscan.c:1067 msgid "Backup Canceled" msgstr "" -#: src/dird/backup.c:495 +#: src/dird/backup.c:468 #, c-format msgid "" "Bacula %s (%s): %s\n" @@ -1056,17 +1044,18 @@ " Scheduled time: %s\n" " Start time: %s\n" " End time: %s\n" +" Elapsed time: %s\n" " Priority: %d\n" " FD Files Written: %s\n" " SD Files Written: %s\n" -" FD Bytes Written: %s\n" -" SD Bytes Written: %s\n" +" FD Bytes Written: %s (%sB)\n" +" SD Bytes Written: %s (%sB)\n" " Rate: %.1f KB/s\n" " Software Compression: %s\n" " Volume name(s): %s\n" " Volume Session Id: %d\n" " Volume Session Time: %d\n" -" Last Volume Bytes: %s\n" +" Last Volume Bytes: %s (%sB)\n" " Non-fatal FD errors: %d\n" " SD Errors: %d\n" " FD termination status: %s\n" @@ -1075,6 +1064,18 @@ "\n" msgstr "" +#: src/dird/backup.c:559 src/dird/mac.c:315 +#, c-format +msgid "Could not get Job Volume Parameters to update Bootstrap file. ERR=%s\n" +msgstr "" + +#: src/dird/backup.c:593 src/dird/mac.c:345 +#, c-format +msgid "" +"Could not open WriteBootstrap file:\n" +"%s: ERR=%s\n" +msgstr "" + #: src/dird/bsr.c:155 #, c-format msgid "Unable to get Job record. ERR=%s\n" @@ -1085,29 +1086,29 @@ msgid "Unable to get Job Volume Parameters. ERR=%s\n" msgstr "" -#: src/dird/bsr.c:203 +#: src/dird/bsr.c:212 #, c-format msgid "Unable to create bootstrap file %s. ERR=%s\n" msgstr "" -#: src/dird/bsr.c:212 +#: src/dird/bsr.c:221 msgid "Error writing bsr file.\n" msgstr "" -#: src/dird/bsr.c:218 +#: src/dird/bsr.c:227 #, c-format msgid "Bootstrap records written to %s\n" msgstr "" -#: src/dird/bsr.c:222 +#: src/dird/bsr.c:231 msgid "The job will require the following Volumes:\n" msgstr "" -#: src/dird/bsr.c:254 +#: src/dird/bsr.c:263 msgid "No Volumes found to restore.\n" msgstr "" -#: src/dird/catreq.c:109 src/dird/catreq.c:297 +#: src/dird/catreq.c:109 src/dird/catreq.c:295 #, c-format msgid "1990 Invalid Catalog Request: %s" msgstr "" @@ -1117,92 +1118,92 @@ msgid "Invalid Catalog request; DB not open: %s" msgstr "" -#: src/dird/catreq.c:135 +#: src/dird/catreq.c:133 msgid "1901 No Media.\n" msgstr "" -#: src/dird/catreq.c:163 +#: src/dird/catreq.c:161 msgid "not in Pool" msgstr "" -#: src/dird/catreq.c:165 +#: src/dird/catreq.c:163 msgid "not correct MediaType" msgstr "" -#: src/dird/catreq.c:181 +#: src/dird/catreq.c:179 #, c-format msgid "1998 Volume \"%s\" status is %s, %s.\n" msgstr "" -#: src/dird/catreq.c:186 +#: src/dird/catreq.c:184 #, c-format msgid "1997 Volume \"%s\" not in catalog.\n" msgstr "" -#: src/dird/catreq.c:207 +#: src/dird/catreq.c:205 #, c-format msgid "Unable to get Media record for Volume %s: ERR=%s\n" msgstr "" -#: src/dird/catreq.c:209 +#: src/dird/catreq.c:207 #, c-format msgid "1991 Catalog Request for vol=%s failed: %s" msgstr "" -#: src/dird/catreq.c:229 +#: src/dird/catreq.c:227 #, c-format msgid "" "Volume Files at %u being set to %u for Volume \"%s\". This is incorrect.\n" msgstr "" -#: src/dird/catreq.c:232 +#: src/dird/catreq.c:230 #, c-format msgid "1992 Update Media error. VolFiles=%u, CatFiles=%u\n" msgstr "" -#: src/dird/catreq.c:264 +#: src/dird/catreq.c:262 #, c-format msgid "Catalog error updating Media record. %s" msgstr "" -#: src/dird/catreq.c:266 +#: src/dird/catreq.c:264 msgid "1993 Update Media error\n" msgstr "" -#: src/dird/catreq.c:286 +#: src/dird/catreq.c:284 #, c-format msgid "Catalog error creating JobMedia record. %s" msgstr "" -#: src/dird/catreq.c:288 +#: src/dird/catreq.c:286 msgid "1991 Update JobMedia error\n" msgstr "" -#: src/dird/catreq.c:298 +#: src/dird/catreq.c:296 #, c-format msgid "Invalid Catalog request: %s" msgstr "" -#: src/dird/catreq.c:332 +#: src/dird/catreq.c:330 #, c-format msgid "1991 Invalid Catalog Update: %s" msgstr "" -#: src/dird/catreq.c:333 +#: src/dird/catreq.c:331 #, c-format msgid "Invalid Catalog Update; DB not open: %s" msgstr "" -#: src/dird/catreq.c:407 +#: src/dird/catreq.c:405 msgid "Got MD5/SHA1 but not same File as attributes\n" msgstr "" -#: src/dird/catreq.c:431 +#: src/dird/catreq.c:429 #, c-format msgid "Catalog error updating MD5/SHA1. %s" msgstr "" -#: src/dird/dird.c:71 +#: src/dird/dird.c:72 #, c-format msgid "" "Copyright (C) 2000-2005 Kern Sibbald.\n" @@ -1223,50 +1224,50 @@ "\n" msgstr "" -#: src/dird/dird.c:196 src/stored/stored.c:189 +#: src/dird/dird.c:197 src/stored/stored.c:189 msgid "Cryptography library initialization failed.\n" msgstr "" -#: src/dird/dird.c:396 +#: src/dird/dird.c:397 msgid "Too many open reload requests. Request ignored.\n" msgstr "" -#: src/dird/dird.c:411 +#: src/dird/dird.c:412 msgid "Out of reload table entries. Giving up.\n" msgstr "" -#: src/dird/dird.c:414 +#: src/dird/dird.c:415 msgid "Resetting previous configuration.\n" msgstr "" -#: src/dird/dird.c:474 +#: src/dird/dird.c:476 #, c-format msgid "" "No Director resource defined in %s\n" "Without that I don't know who I am :-(\n" msgstr "" -#: src/dird/dird.c:482 src/filed/filed.c:295 +#: src/dird/dird.c:484 src/filed/filed.c:295 #, c-format msgid "No Messages resource defined in %s\n" msgstr "" -#: src/dird/dird.c:487 +#: src/dird/dird.c:489 #, c-format msgid "Only one Director resource permitted in %s\n" msgstr "" -#: src/dird/dird.c:502 src/filed/filed.c:357 src/stored/stored.c:361 +#: src/dird/dird.c:504 src/filed/filed.c:357 src/stored/stored.c:363 #, c-format msgid "\"TLS Certificate\" file not defined for Director \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:508 src/filed/filed.c:363 src/stored/stored.c:367 +#: src/dird/dird.c:510 src/filed/filed.c:363 src/stored/stored.c:369 #, c-format msgid "\"TLS Key\" file not defined for Director \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:514 src/filed/filed.c:369 src/stored/stored.c:373 +#: src/dird/dird.c:516 src/filed/filed.c:369 src/stored/stored.c:375 #, c-format msgid "" "Neither \"TLS CA Certificate\" or \"TLS CA Certificate Dir\" are defined for " @@ -1274,64 +1275,63 @@ "using \"TLS Verify Peer\".\n" msgstr "" -#: src/dird/dird.c:533 src/filed/filed.c:388 src/stored/stored.c:392 +#: src/dird/dird.c:535 src/filed/filed.c:388 src/stored/stored.c:394 #, c-format msgid "Failed to initialize TLS context for Director \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:541 +#: src/dird/dird.c:543 #, c-format msgid "No Job records defined in %s\n" msgstr "" -#: src/dird/dird.c:585 src/dird/dird.c:598 +#: src/dird/dird.c:587 src/dird/dird.c:600 #, c-format msgid "Hey something is wrong. p=0x%lu\n" msgstr "" -#: src/dird/dird.c:647 +#: src/dird/dird.c:649 #, c-format msgid "\"%s\" directive in Job \"%s\" resource is required, but not found.\n" msgstr "" -#: src/dird/dird.c:654 +#: src/dird/dird.c:656 msgid "Too many items in Job resource\n" msgstr "" -#: src/dird/dird.c:672 src/dird/job.c:101 src/dird/ua_cmds.c:1480 -#: src/dird/ua_output.c:600 +#: src/dird/dird.c:674 #, c-format -msgid "Could not open database \"%s\".\n" +msgid "Could not open Catalog \"%s\", database \"%s\".\n" msgstr "" -#: src/dird/dird.c:675 +#: src/dird/dird.c:677 #, c-format msgid "%s" msgstr "" -#: src/dird/dird.c:717 +#: src/dird/dird.c:719 #, c-format msgid "" "Neither \"TLS CA Certificate\" or \"TLS CA Certificate Dir\" are defined for " "Storage \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:733 src/stored/stored.c:347 +#: src/dird/dird.c:735 src/stored/stored.c:349 #, c-format msgid "Failed to initialize TLS context for Storage \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:784 +#: src/dird/dird.c:786 #, c-format msgid "\"TLS Certificate\" file not defined for Console \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:790 +#: src/dird/dird.c:792 #, c-format msgid "\"TLS Key\" file not defined for Console \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:796 +#: src/dird/dird.c:798 #, c-format msgid "" "Neither \"TLS CA Certificate\" or \"TLS CA Certificate Dir\" are defined for " @@ -1339,12 +1339,12 @@ "using \"TLS Verify Peer\".\n" msgstr "" -#: src/dird/dird.c:813 src/dird/dird.c:853 src/filed/filed.c:326 +#: src/dird/dird.c:815 src/dird/dird.c:855 src/filed/filed.c:326 #, c-format msgid "Failed to initialize TLS context for File daemon \"%s\" in %s.\n" msgstr "" -#: src/dird/dird.c:836 +#: src/dird/dird.c:838 #, c-format msgid "" "Neither \"TLS CA Certificate\" or \"TLS CA Certificate Dir\" are defined for " @@ -1427,7 +1427,7 @@ msgid "%s: name=%s JobType=%d level=%s Priority=%d Enabled=%d\n" msgstr "" -#: src/dird/dird_conf.c:534 src/dird/ua_cmds.c:430 src/dird/ua_prune.c:454 +#: src/dird/dird_conf.c:534 src/dird/ua_cmds.c:441 src/dird/ua_prune.c:454 #: src/dird/ua_run.c:643 src/dird/ua_select.c:234 src/dird/ua_select.c:257 msgid "Job" msgstr "" @@ -1581,7 +1581,7 @@ msgid "Unknown resource type %d in free_resource.\n" msgstr "" -#: src/dird/dird_conf.c:1118 src/lib/parse_conf.c:211 +#: src/dird/dird_conf.c:1118 src/lib/parse_conf.c:213 #: src/tray-monitor/tray_conf.c:268 #, c-format msgid "Too many items in %s resource\n" @@ -1693,89 +1693,89 @@ msgid "Cannot destroy var context: ERR=%s\n" msgstr "" -#: src/dird/fd_cmds.c:73 src/tray-monitor/tray-monitor.c:867 +#: src/dird/fd_cmds.c:74 src/tray-monitor/tray-monitor.c:867 msgid "File daemon" msgstr "" -#: src/dird/fd_cmds.c:104 +#: src/dird/fd_cmds.c:105 #, c-format msgid "File daemon \"%s\" rejected Job command: %s\n" msgstr "" -#: src/dird/fd_cmds.c:117 +#: src/dird/fd_cmds.c:118 #, c-format msgid "Error updating Client record. ERR=%s\n" msgstr "" -#: src/dird/fd_cmds.c:122 +#: src/dird/fd_cmds.c:123 #, c-format msgid "FD gave bad response to JobId command: %s\n" msgstr "" -#: src/dird/fd_cmds.c:144 src/dird/fd_cmds.c:180 +#: src/dird/fd_cmds.c:145 src/dird/fd_cmds.c:181 msgid ", since=" msgstr "" -#: src/dird/fd_cmds.c:164 +#: src/dird/fd_cmds.c:165 msgid "No prior or suitable Full backup found. Doing FULL backup.\n" msgstr "" -#: src/dird/fd_cmds.c:165 src/dird/fd_cmds.c:173 +#: src/dird/fd_cmds.c:166 src/dird/fd_cmds.c:174 #, c-format msgid " (upgraded from %s)" msgstr "" -#: src/dird/fd_cmds.c:171 +#: src/dird/fd_cmds.c:172 #, c-format msgid "Prior failed job found. Upgrading to %s.\n" msgstr "" -#: src/dird/fd_cmds.c:196 +#: src/dird/fd_cmds.c:197 msgid "since_utime " msgstr "" -#: src/dird/fd_cmds.c:232 +#: src/dird/fd_cmds.c:233 #, c-format msgid "Unimplemented backup level %d %c\n" msgstr "" -#: src/dird/fd_cmds.c:320 src/filed/job.c:566 +#: src/dird/fd_cmds.c:321 src/filed/job.c:559 #, c-format msgid "Cannot run program: %s. ERR=%s\n" msgstr "" -#: src/dird/fd_cmds.c:331 src/dird/fd_cmds.c:356 src/dird/fd_cmds.c:370 +#: src/dird/fd_cmds.c:332 src/dird/fd_cmds.c:357 src/dird/fd_cmds.c:371 msgid ">filed: write error on socket\n" msgstr "" -#: src/dird/fd_cmds.c:337 +#: src/dird/fd_cmds.c:338 #, c-format msgid "Error running program: %s. ERR=%s\n" msgstr "" -#: src/dird/fd_cmds.c:346 +#: src/dird/fd_cmds.c:347 #, c-format msgid "Cannot open included file: %s. ERR=%s\n" msgstr "" -#: src/dird/fd_cmds.c:441 src/filed/job.c:1622 +#: src/dird/fd_cmds.c:442 src/filed/job.c:1637 #, c-format msgid "Could not open bootstrap file %s: ERR=%s\n" msgstr "" -#: src/dird/fd_cmds.c:526 +#: src/dird/fd_cmds.c:527 #, c-format msgid "" " | | " +"]" msgstr "" #: src/dird/ua_cmds.c:168 @@ -2568,7 +2601,7 @@ #: src/dird/ua_cmds.c:225 #, c-format -msgid "Pool already has maximum volumes = %d\n" +msgid "Pool already has maximum volumes=%d\n" msgstr "" #: src/dird/ua_cmds.c:227 @@ -2593,11 +2626,11 @@ msgid "Enter base volume name: " msgstr "" -#: src/dird/ua_cmds.c:274 src/dird/ua_label.c:605 +#: src/dird/ua_cmds.c:274 src/dird/ua_label.c:609 msgid "Volume name too long.\n" msgstr "" -#: src/dird/ua_cmds.c:278 src/dird/ua_label.c:611 src/lib/edit.c:413 +#: src/dird/ua_cmds.c:278 src/dird/ua_label.c:615 src/lib/edit.c:446 msgid "Volume name must be at least one character long.\n" msgstr "" @@ -2622,11 +2655,11 @@ msgid "%d Volumes created in pool %s\n" msgstr "" -#: src/dird/ua_cmds.c:350 src/dird/ua_cmds.c:917 +#: src/dird/ua_cmds.c:350 src/dird/ua_cmds.c:927 msgid "Turn on or off? " msgstr "" -#: src/dird/ua_cmds.c:358 src/dird/ua_cmds.c:925 +#: src/dird/ua_cmds.c:358 src/dird/ua_cmds.c:935 msgid "off" msgstr "" @@ -2643,153 +2676,157 @@ msgid "job" msgstr "" -#: src/dird/ua_cmds.c:394 +#: src/dird/ua_cmds.c:394 src/dird/ua_cmds.c:404 #, c-format msgid "Warning Job %s is not running. Continuing anyway ...\n" msgstr "" -#: src/dird/ua_cmds.c:416 src/filed/status.c:195 src/stored/status.c:343 +#: src/dird/ua_cmds.c:399 +msgid "ujobid" +msgstr "" + +#: src/dird/ua_cmds.c:427 src/filed/status.c:195 src/stored/status.c:343 msgid "No Jobs running.\n" msgstr "" -#: src/dird/ua_cmds.c:419 +#: src/dird/ua_cmds.c:430 msgid "Select Job:\n" msgstr "" -#: src/dird/ua_cmds.c:425 +#: src/dird/ua_cmds.c:436 #, c-format msgid "JobId=%s Job=%s" msgstr "" -#: src/dird/ua_cmds.c:430 +#: src/dird/ua_cmds.c:441 msgid "Choose Job to cancel" msgstr "" -#: src/dird/ua_cmds.c:434 +#: src/dird/ua_cmds.c:445 msgid "Confirm cancel (yes/no): " msgstr "" -#: src/dird/ua_cmds.c:442 +#: src/dird/ua_cmds.c:452 #, c-format msgid "Job %s not found.\n" msgstr "" -#: src/dird/ua_cmds.c:547 +#: src/dird/ua_cmds.c:557 #, c-format msgid "" "Error: Pool %s already exists.\n" "Use update to change it.\n" msgstr "" -#: src/dird/ua_cmds.c:558 +#: src/dird/ua_cmds.c:568 #, c-format msgid "Pool %s created.\n" msgstr "" -#: src/dird/ua_cmds.c:571 +#: src/dird/ua_cmds.c:581 msgid "restart" msgstr "" -#: src/dird/ua_cmds.c:575 +#: src/dird/ua_cmds.c:585 msgid "Python interpreter restarted.\n" msgstr "" -#: src/dird/ua_cmds.c:577 src/dird/ua_cmds.c:1145 +#: src/dird/ua_cmds.c:587 src/dird/ua_cmds.c:1155 msgid "Nothing done.\n" msgstr "" -#: src/dird/ua_cmds.c:593 src/dird/ua_cmds.c:639 +#: src/dird/ua_cmds.c:603 src/dird/ua_cmds.c:649 msgid "Illegal command from this console.\n" msgstr "" -#: src/dird/ua_cmds.c:600 src/dird/ua_run.c:353 +#: src/dird/ua_cmds.c:610 src/dird/ua_run.c:353 #, c-format msgid "Client \"%s\" not found.\n" msgstr "" -#: src/dird/ua_cmds.c:609 +#: src/dird/ua_cmds.c:619 #, c-format msgid "Client \"%s\" address set to %s\n" msgstr "" -#: src/dird/ua_cmds.c:634 +#: src/dird/ua_cmds.c:644 #, c-format msgid "Job \"%s\" not found.\n" msgstr "" -#: src/dird/ua_cmds.c:643 +#: src/dird/ua_cmds.c:653 #, c-format msgid "Job \"%s\" %sabled\n" msgstr "" -#: src/dird/ua_cmds.c:667 src/dird/ua_status.c:286 +#: src/dird/ua_cmds.c:677 src/dird/ua_status.c:286 #, c-format msgid "Connecting to Storage daemon %s at %s:%d\n" msgstr "" -#: src/dird/ua_cmds.c:673 src/dird/ua_status.c:297 +#: src/dird/ua_cmds.c:683 src/dird/ua_status.c:297 msgid "Connected to storage daemon\n" msgstr "" -#: src/dird/ua_cmds.c:693 src/dird/ua_cmds.c:1032 src/dird/ua_status.c:324 +#: src/dird/ua_cmds.c:703 src/dird/ua_cmds.c:1042 src/dird/ua_status.c:324 #, c-format msgid "Connecting to Client %s at %s:%d\n" msgstr "" -#: src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1035 +#: src/dird/ua_cmds.c:706 src/dird/ua_cmds.c:1045 msgid "Failed to connect to Client.\n" msgstr "" -#: src/dird/ua_cmds.c:812 +#: src/dird/ua_cmds.c:822 msgid "Enter new debug level: " msgstr "" -#: src/dird/ua_cmds.c:878 +#: src/dird/ua_cmds.c:888 msgid "Available daemons are: \n" msgstr "" -#: src/dird/ua_cmds.c:883 +#: src/dird/ua_cmds.c:893 msgid "Select daemon type to set debug level" msgstr "" -#: src/dird/ua_cmds.c:987 src/dird/ua_run.c:478 +#: src/dird/ua_cmds.c:997 src/dird/ua_run.c:478 #, c-format msgid "Level %s not valid.\n" msgstr "" -#: src/dird/ua_cmds.c:1000 +#: src/dird/ua_cmds.c:1010 msgid "No job specified.\n" msgstr "" -#: src/dird/ua_cmds.c:1040 +#: src/dird/ua_cmds.c:1050 msgid "Error sending include list.\n" msgstr "" -#: src/dird/ua_cmds.c:1045 +#: src/dird/ua_cmds.c:1055 msgid "Error sending exclude list.\n" msgstr "" -#: src/dird/ua_cmds.c:1131 +#: src/dird/ua_cmds.c:1141 msgid "" "In general it is not a good idea to delete either a\n" "Pool or a Volume since they may contain data.\n" "\n" msgstr "" -#: src/dird/ua_cmds.c:1134 +#: src/dird/ua_cmds.c:1144 msgid "Choose catalog item to delete" msgstr "" -#: src/dird/ua_cmds.c:1202 +#: src/dird/ua_cmds.c:1212 msgid "Enter JobId to delete: " msgstr "" -#: src/dird/ua_cmds.c:1245 +#: src/dird/ua_cmds.c:1255 #, c-format msgid "Job %s and associated records deleted from the catalog.\n" msgstr "" -#: src/dird/ua_cmds.c:1258 +#: src/dird/ua_cmds.c:1268 #, c-format msgid "" "\n" @@ -2797,52 +2834,60 @@ "and all Jobs saved on that volume from the Catalog\n" msgstr "" -#: src/dird/ua_cmds.c:1262 +#: src/dird/ua_cmds.c:1272 msgid "Are you sure you want to delete this Volume? (yes/no): " msgstr "" -#: src/dird/ua_cmds.c:1283 +#: src/dird/ua_cmds.c:1293 msgid "Are you sure you want to delete this Pool? (yes/no): " msgstr "" -#: src/dird/ua_cmds.c:1380 +#: src/dird/ua_cmds.c:1390 #, c-format msgid "Using Catalog name=%s DB=%s\n" msgstr "" -#: src/dird/ua_cmds.c:1421 src/dird/ua_tree.c:622 src/stored/btape.c:2587 +#: src/dird/ua_cmds.c:1450 +msgid "ERR: Can't open db\n" +msgstr "" + +#: src/dird/ua_cmds.c:1486 +msgid "ERR: Job was not found\n" +msgstr "" + +#: src/dird/ua_cmds.c:1562 src/dird/ua_tree.c:625 src/stored/btape.c:2587 #, c-format msgid "" " Command Description\n" " ======= ===========\n" msgstr "" -#: src/dird/ua_cmds.c:1423 +#: src/dird/ua_cmds.c:1564 #, c-format msgid " %-10s %s\n" msgstr "" -#: src/dird/ua_cmds.c:1425 +#: src/dird/ua_cmds.c:1566 msgid "" "\n" "When at a prompt, entering a period cancels the command.\n" "\n" msgstr "" -#: src/dird/ua_cmds.c:1441 +#: src/dird/ua_cmds.c:1582 #, c-format msgid "%s Version: %s (%s)\n" msgstr "" -#: src/dird/ua_cmds.c:1460 +#: src/dird/ua_cmds.c:1601 msgid "Could not find a Catalog resource\n" msgstr "" -#: src/dird/ua_cmds.c:1463 +#: src/dird/ua_cmds.c:1604 msgid "You must specify a \"use \" command before continuing.\n" msgstr "" -#: src/dird/ua_cmds.c:1467 +#: src/dird/ua_cmds.c:1608 #, c-format msgid "Using default Catalog name=%s DB=%s\n" msgstr "" @@ -2851,8 +2896,8 @@ msgid "The Director will segment fault.\n" msgstr "" -#: src/dird/ua_dotcmds.c:231 src/dird/ua_restore.c:740 -#: src/dird/ua_restore.c:778 src/dird/ua_restore.c:809 +#: src/dird/ua_dotcmds.c:245 src/dird/ua_restore.c:737 +#: src/dird/ua_restore.c:775 src/dird/ua_restore.c:806 #, c-format msgid "Query failed: %s. ERR=%s\n" msgstr "" @@ -2868,14 +2913,14 @@ #: src/dird/ua_input.c:120 src/dird/ua_run.c:862 src/dird/ua_select.c:54 #: src/dird/ua_update.c:223 src/dird/ua_update.c:237 src/dird/ua_update.c:247 -#: src/dird/ua_update.c:261 src/dird/ua_update.c:551 -#: src/stored/parse_bsr.c:741 src/tools/dbcheck.c:1098 +#: src/dird/ua_update.c:261 src/dird/ua_update.c:552 +#: src/stored/parse_bsr.c:770 src/tools/dbcheck.c:1098 msgid "yes" msgstr "" #: src/dird/ua_input.c:124 src/dird/ua_select.c:57 src/dird/ua_update.c:225 #: src/dird/ua_update.c:237 src/dird/ua_update.c:249 src/dird/ua_update.c:261 -#: src/dird/ua_update.c:551 src/stored/parse_bsr.c:741 +#: src/dird/ua_update.c:552 src/stored/parse_bsr.c:770 msgid "no" msgstr "" @@ -2911,11 +2956,11 @@ msgid "Slot too large.\n" msgstr "" -#: src/dird/ua_label.c:176 src/dird/ua_label.c:473 +#: src/dird/ua_label.c:176 src/dird/ua_label.c:477 msgid "No slots in changer to scan.\n" msgstr "" -#: src/dird/ua_label.c:188 src/dird/ua_label.c:484 +#: src/dird/ua_label.c:188 src/dird/ua_label.c:488 msgid "No Volumes found to label, or no barcodes.\n" msgstr "" @@ -2944,153 +2989,133 @@ msgid "Volume \"%s\" not found in catalog. Slot=%d InChanger set to zero.\n" msgstr "" -#: src/dird/ua_label.c:344 +#: src/dird/ua_label.c:348 #, c-format msgid "" "Volume \"%s\" has VolStatus %s. It must be Purged or Recycled before " "relabeling.\n" msgstr "" -#: src/dird/ua_label.c:360 +#: src/dird/ua_label.c:364 msgid "Enter new Volume name: " msgstr "" -#: src/dird/ua_label.c:373 +#: src/dird/ua_label.c:377 #, c-format msgid "Media record for new Volume \"%s\" already exists.\n" msgstr "" -#: src/dird/ua_label.c:388 +#: src/dird/ua_label.c:392 msgid "Enter slot (0 or Enter for none): " msgstr "" -#: src/dird/ua_label.c:413 +#: src/dird/ua_label.c:417 #, c-format msgid "Delete of Volume \"%s\" failed. ERR=%s" msgstr "" -#: src/dird/ua_label.c:416 +#: src/dird/ua_label.c:420 #, c-format msgid "Old volume \"%s\" deleted from catalog.\n" msgstr "" -#: src/dird/ua_label.c:427 +#: src/dird/ua_label.c:431 #, c-format msgid "Requesting to mount %s ...\n" msgstr "" -#: src/dird/ua_label.c:449 +#: src/dird/ua_label.c:453 msgid "Do not forget to mount the drive!!!\n" msgstr "" -#: src/dird/ua_label.c:489 +#: src/dird/ua_label.c:493 msgid "" "The following Volumes will be labeled:\n" "Slot Volume\n" "==============\n" msgstr "" -#: src/dird/ua_label.c:498 src/stored/btape.c:606 -msgid "Do you want to continue? (y/n): " +#: src/dird/ua_label.c:502 +msgid "Do you want to continue? (yes|no): " msgstr "" -#: src/dird/ua_label.c:519 +#: src/dird/ua_label.c:523 #, c-format msgid "Media record for Slot %d Volume \"%s\" already exists.\n" msgstr "" -#: src/dird/ua_label.c:525 +#: src/dird/ua_label.c:529 #, c-format msgid "Error setting InChanger: ERR=%s" msgstr "" -#: src/dird/ua_label.c:548 +#: src/dird/ua_label.c:552 #, c-format msgid "Maximum pool Volumes=%d reached.\n" msgstr "" -#: src/dird/ua_label.c:555 +#: src/dird/ua_label.c:559 #, c-format msgid "Catalog record for cleaning tape \"%s\" successfully created.\n" msgstr "" -#: src/dird/ua_label.c:562 +#: src/dird/ua_label.c:566 #, c-format msgid "Catalog error on cleaning tape: %s" msgstr "" -#: src/dird/ua_label.c:598 +#: src/dird/ua_label.c:602 #, c-format msgid "Illegal character \"%c\" in a volume name.\n" msgstr "" -#: src/dird/ua_label.c:643 +#: src/dird/ua_label.c:647 #, c-format msgid "Sending relabel command from \"%s\" to \"%s\" ...\n" msgstr "" -#: src/dird/ua_label.c:650 +#: src/dird/ua_label.c:654 #, c-format msgid "Sending label command for Volume \"%s\" Slot %d ...\n" msgstr "" -#: src/dird/ua_label.c:682 +#: src/dird/ua_label.c:686 #, c-format msgid "Catalog record for Volume \"%s\", Slot %d successfully created.\n" msgstr "" -#: src/dird/ua_label.c:695 +#: src/dird/ua_label.c:699 #, c-format msgid "Label command failed for Volume %s.\n" msgstr "" -#: src/dird/ua_label.c:705 +#: src/dird/ua_label.c:709 #, c-format msgid "Connecting to Storage daemon %s at %s:%d ...\n" msgstr "" -#: src/dird/ua_label.c:733 +#: src/dird/ua_label.c:737 msgid "Could not open SD socket.\n" msgstr "" -#: src/dird/ua_label.c:739 -#, c-format -msgid "readlabel %s Slot=%d drive=%d\n" -msgstr "" - -#: src/dird/ua_label.c:781 -#, c-format -msgid "autochanger list %s \n" -msgstr "" - -#: src/dird/ua_label.c:805 src/dird/ua_label.c:815 +#: src/dird/ua_label.c:809 src/dird/ua_label.c:819 #, c-format msgid "Invalid Slot number: %s\n" msgstr "" -#: src/dird/ua_label.c:824 +#: src/dird/ua_label.c:828 #, c-format msgid "Invalid Volume name: %s\n" msgstr "" -#: src/dird/ua_label.c:893 -#, c-format -msgid "autochanger slots %s\n" -msgstr "" - -#: src/dird/ua_label.c:903 +#: src/dird/ua_label.c:907 #, c-format msgid "Device \"%s\" has %d slots.\n" msgstr "" -#: src/dird/ua_label.c:925 -#, c-format -msgid "autochanger drives %s\n" -msgstr "" - -#: src/dird/ua_label.c:952 +#: src/dird/ua_label.c:956 #, c-format -msgid "Pool \"%s\" resource not found!\n" +msgid "Pool \"%s\" resource not found for volume \"%s\"!\n" msgstr "" #: src/dird/ua_output.c:64 src/dird/ua_output.c:88 @@ -3111,59 +3136,59 @@ msgid "Resource %s not found\n" msgstr "" -#: src/dird/ua_output.c:251 +#: src/dird/ua_output.c:253 msgid "Hey! DB is NULL\n" msgstr "" -#: src/dird/ua_output.c:358 +#: src/dird/ua_output.c:367 #, c-format msgid "Jobid %d used %d Volume(s): %s\n" msgstr "" -#: src/dird/ua_output.c:376 +#: src/dird/ua_output.c:385 msgid "No Pool specified.\n" msgstr "" -#: src/dird/ua_output.c:387 src/dird/ua_select.c:458 +#: src/dird/ua_output.c:396 src/dird/ua_select.c:458 #, c-format msgid "Error obtaining pool ids. ERR=%s\n" msgstr "" -#: src/dird/ua_output.c:397 +#: src/dird/ua_output.c:406 #, c-format msgid "Pool: %s\n" msgstr "" -#: src/dird/ua_output.c:413 src/dird/ua_status.c:452 +#: src/dird/ua_output.c:422 src/dird/ua_status.c:455 msgid "Ignoring illegal value for days.\n" msgstr "" -#: src/dird/ua_output.c:422 +#: src/dird/ua_output.c:431 #, c-format msgid "Unknown list keyword: %s\n" msgstr "" -#: src/dird/ua_output.c:448 +#: src/dird/ua_output.c:457 #, c-format msgid "%s is not a job name.\n" msgstr "" -#: src/dird/ua_output.c:469 +#: src/dird/ua_output.c:481 #, c-format msgid "Could not find next Volume for Job %s (%s, %s).\n" msgstr "" -#: src/dird/ua_output.c:473 +#: src/dird/ua_output.c:485 #, c-format msgid "The next Volume to be used by Job \"%s\" (%s, %s) will be %s\n" msgstr "" -#: src/dird/ua_output.c:483 +#: src/dird/ua_output.c:495 #, c-format msgid "Could not find next Volume for Job %s.\n" msgstr "" -#: src/dird/ua_output.c:673 +#: src/dird/ua_output.c:685 msgid "You have no messages.\n" msgstr "" @@ -3360,81 +3385,81 @@ msgid "No Restore Job resource found!\n" msgstr "" -#: src/dird/ua_restore.c:237 +#: src/dird/ua_restore.c:234 #, c-format msgid "Missing value for keyword: %s\n" msgstr "" -#: src/dird/ua_restore.c:286 +#: src/dird/ua_restore.c:283 msgid "List last 20 Jobs run" msgstr "" -#: src/dird/ua_restore.c:287 +#: src/dird/ua_restore.c:284 msgid "List Jobs where a given File is saved" msgstr "" -#: src/dird/ua_restore.c:288 +#: src/dird/ua_restore.c:285 msgid "Enter list of comma separated JobIds to select" msgstr "" -#: src/dird/ua_restore.c:289 +#: src/dird/ua_restore.c:286 msgid "Enter SQL list command" msgstr "" -#: src/dird/ua_restore.c:290 +#: src/dird/ua_restore.c:287 msgid "Select the most recent backup for a client" msgstr "" -#: src/dird/ua_restore.c:291 +#: src/dird/ua_restore.c:288 msgid "Select backup for a client before a specified time" msgstr "" -#: src/dird/ua_restore.c:292 +#: src/dird/ua_restore.c:289 msgid "Enter a list of files to restore" msgstr "" -#: src/dird/ua_restore.c:293 +#: src/dird/ua_restore.c:290 msgid "Enter a list of files to restore before a specified time" msgstr "" -#: src/dird/ua_restore.c:294 +#: src/dird/ua_restore.c:291 msgid "Find the JobIds of the most recent backup for a client" msgstr "" -#: src/dird/ua_restore.c:295 +#: src/dird/ua_restore.c:292 msgid "Find the JobIds for a backup for a client before a specified time" msgstr "" -#: src/dird/ua_restore.c:296 +#: src/dird/ua_restore.c:293 msgid "Enter a list of directories to restore for found JobIds" msgstr "" -#: src/dird/ua_restore.c:297 src/dird/ua_status.c:713 src/filed/status.c:251 +#: src/dird/ua_restore.c:294 src/dird/ua_status.c:722 src/filed/status.c:251 #: src/stored/status.c:412 src/wx-console/wxbconfigpanel.cpp:191 msgid "Cancel" msgstr "" -#: src/dird/ua_restore.c:333 +#: src/dird/ua_restore.c:330 #, c-format msgid "Unknown keyword: %s\n" msgstr "" -#: src/dird/ua_restore.c:357 +#: src/dird/ua_restore.c:354 #, c-format msgid "Improper date format: %s\n" msgstr "" -#: src/dird/ua_restore.c:397 src/dird/ua_select.c:590 +#: src/dird/ua_restore.c:394 src/dird/ua_select.c:590 #, c-format msgid "Error: Pool resource \"%s\" does not exist.\n" msgstr "" -#: src/dird/ua_restore.c:402 +#: src/dird/ua_restore.c:399 #, c-format msgid "Error: Pool resource \"%s\" access not allowed.\n" msgstr "" -#: src/dird/ua_restore.c:421 +#: src/dird/ua_restore.c:418 msgid "" "\n" "First you select one or more JobIds that contain files\n" @@ -3444,226 +3469,226 @@ "\n" msgstr "" -#: src/dird/ua_restore.c:433 +#: src/dird/ua_restore.c:430 msgid "To select the JobIds, you have the following choices:\n" msgstr "" -#: src/dird/ua_restore.c:438 +#: src/dird/ua_restore.c:435 msgid "Select item: " msgstr "" -#: src/dird/ua_restore.c:452 +#: src/dird/ua_restore.c:449 msgid "Enter Filename (no path):" msgstr "" -#: src/dird/ua_restore.c:467 src/dird/ua_restore.c:567 +#: src/dird/ua_restore.c:464 src/dird/ua_restore.c:564 msgid "Enter JobId(s), comma separated, to restore: " msgstr "" -#: src/dird/ua_restore.c:473 +#: src/dird/ua_restore.c:470 msgid "Enter SQL list command: " msgstr "" -#: src/dird/ua_restore.c:501 src/dird/ua_restore.c:526 +#: src/dird/ua_restore.c:498 src/dird/ua_restore.c:523 msgid "" "Enter file names with paths, or < to enter a filename\n" -"containg a list of file names with paths, and terminate\n" +"containing a list of file names with paths, and terminate\n" "them with a blank line.\n" msgstr "" -#: src/dird/ua_restore.c:505 src/dird/ua_restore.c:530 +#: src/dird/ua_restore.c:502 src/dird/ua_restore.c:527 msgid "Enter full filename: " msgstr "" -#: src/dird/ua_restore.c:565 +#: src/dird/ua_restore.c:562 #, c-format msgid "You have already seleted the following JobIds: %s\n" msgstr "" -#: src/dird/ua_restore.c:580 +#: src/dird/ua_restore.c:577 msgid "" "Enter full directory names or start the name\n" -"with a < to indicate it is a filename containg a list\n" +"with a < to indicate it is a filename containing a list\n" "of directories and terminate them with a blank line.\n" msgstr "" -#: src/dird/ua_restore.c:584 +#: src/dird/ua_restore.c:581 msgid "Enter directory name: " msgstr "" -#: src/dird/ua_restore.c:609 +#: src/dird/ua_restore.c:606 msgid "No Jobs selected.\n" msgstr "" -#: src/dird/ua_restore.c:613 +#: src/dird/ua_restore.c:610 #, c-format msgid "You have selected the following JobIds: %s\n" msgstr "" -#: src/dird/ua_restore.c:616 +#: src/dird/ua_restore.c:613 #, c-format msgid "You have selected the following JobId: %s\n" msgstr "" -#: src/dird/ua_restore.c:624 +#: src/dird/ua_restore.c:621 msgid "Invalid JobId in list.\n" msgstr "" -#: src/dird/ua_restore.c:637 +#: src/dird/ua_restore.c:634 #, c-format msgid "Unable to get Job record for JobId=%s: ERR=%s\n" msgstr "" -#: src/dird/ua_restore.c:642 +#: src/dird/ua_restore.c:639 #, c-format msgid "No authorization. Job \"%s\" not selected.\n" msgstr "" -#: src/dird/ua_restore.c:656 +#: src/dird/ua_restore.c:653 msgid "" "The restored files will the most current backup\n" "BEFORE the date you specify below.\n" "\n" msgstr "" -#: src/dird/ua_restore.c:659 +#: src/dird/ua_restore.c:656 msgid "Enter date as YYYY-MM-DD HH:MM:SS :" msgstr "" -#: src/dird/ua_restore.c:665 +#: src/dird/ua_restore.c:662 msgid "Improper date format.\n" msgstr "" -#: src/dird/ua_restore.c:686 +#: src/dird/ua_restore.c:683 #, c-format msgid "Cannot open file %s: ERR=%s\n" msgstr "" -#: src/dird/ua_restore.c:694 src/dird/ua_restore.c:698 +#: src/dird/ua_restore.c:691 src/dird/ua_restore.c:695 #, c-format msgid "Error occurred on line %d of %s\n" msgstr "" -#: src/dird/ua_restore.c:744 src/dird/ua_restore.c:782 +#: src/dird/ua_restore.c:741 src/dird/ua_restore.c:779 #, c-format msgid "No database record found for: %s\n" msgstr "" -#: src/dird/ua_restore.c:769 +#: src/dird/ua_restore.c:766 msgid "No JobId specified cannot continue.\n" msgstr "" -#: src/dird/ua_restore.c:813 +#: src/dird/ua_restore.c:810 #, c-format msgid "No table found: %s\n" msgstr "" -#: src/dird/ua_restore.c:918 +#: src/dird/ua_restore.c:915 #, c-format msgid "" "\n" "Building directory tree for JobId %s ... " msgstr "" -#: src/dird/ua_restore.c:937 +#: src/dird/ua_restore.c:934 msgid "" "\n" "There were no files inserted into the tree, so file selection\n" "is not possible.Most likely your retention policy pruned the files\n" msgstr "" -#: src/dird/ua_restore.c:939 +#: src/dird/ua_restore.c:936 msgid "" "\n" "Do you want to restore all the files? (yes|no): " msgstr "" -#: src/dird/ua_restore.c:955 +#: src/dird/ua_restore.c:952 #, c-format msgid "" "\n" "1 Job, %s files inserted into the tree and marked for extraction.\n" msgstr "" -#: src/dird/ua_restore.c:959 +#: src/dird/ua_restore.c:956 #, c-format msgid "" "\n" "1 Job, %s files inserted into the tree.\n" msgstr "" -#: src/dird/ua_restore.c:965 +#: src/dird/ua_restore.c:962 #, c-format msgid "" "\n" "%d Jobs, %s files inserted into the tree and marked for extraction.\n" msgstr "" -#: src/dird/ua_restore.c:969 +#: src/dird/ua_restore.c:966 #, c-format msgid "" "\n" "%d Jobs, %s files inserted into the tree.\n" msgstr "" -#: src/dird/ua_restore.c:1046 +#: src/dird/ua_restore.c:1043 #, c-format msgid "Error getting FileSet \"%s\": ERR=%s\n" msgstr "" -#: src/dird/ua_restore.c:1054 src/dird/ua_select.c:167 +#: src/dird/ua_restore.c:1051 src/dird/ua_select.c:167 msgid "The defined FileSet resources are:\n" msgstr "" -#: src/dird/ua_restore.c:1058 src/dird/ua_run.c:644 src/dird/ua_select.c:175 +#: src/dird/ua_restore.c:1055 src/dird/ua_run.c:644 src/dird/ua_select.c:175 msgid "FileSet" msgstr "" -#: src/dird/ua_restore.c:1058 src/dird/ua_select.c:175 +#: src/dird/ua_restore.c:1055 src/dird/ua_select.c:175 msgid "Select FileSet resource" msgstr "" -#: src/dird/ua_restore.c:1065 +#: src/dird/ua_restore.c:1062 #, c-format msgid "Error getting FileSet record: %s\n" msgstr "" -#: src/dird/ua_restore.c:1066 +#: src/dird/ua_restore.c:1063 msgid "" "This probably means you modified the FileSet.\n" "Continuing anyway.\n" msgstr "" -#: src/dird/ua_restore.c:1081 +#: src/dird/ua_restore.c:1078 #, c-format msgid "Pool \"%s\" not found, using any pool.\n" msgstr "" -#: src/dird/ua_restore.c:1107 src/dird/ua_restore.c:1123 +#: src/dird/ua_restore.c:1104 src/dird/ua_restore.c:1120 #, c-format msgid "No Full backup before %s found.\n" msgstr "" -#: src/dird/ua_restore.c:1146 +#: src/dird/ua_restore.c:1143 msgid "No jobs found.\n" msgstr "" -#: src/dird/ua_restore.c:1312 +#: src/dird/ua_restore.c:1316 msgid "" "Warning, the JobIds that you selected refer to more than one MediaType.\n" "Restore is not possible. The MediaTypes used are:\n" msgstr "" -#: src/dird/ua_restore.c:1320 +#: src/dird/ua_restore.c:1324 msgid "No MediaType found for your JobIds.\n" msgstr "" -#: src/dird/ua_restore.c:1352 +#: src/dird/ua_restore.c:1356 #, c-format msgid "Warning default storage overridden by %s on command line.\n" msgstr "" -#: src/dird/ua_restore.c:1363 +#: src/dird/ua_restore.c:1367 #, c-format msgid "" "\n" @@ -3908,7 +3933,7 @@ msgid "mod" msgstr "" -#: src/dird/ua_run.c:640 src/dird/ua_update.c:464 +#: src/dird/ua_run.c:640 src/dird/ua_update.c:463 msgid "Parameters to modify:\n" msgstr "" @@ -3959,7 +3984,7 @@ msgstr "" #: src/dird/ua_run.c:650 src/dird/ua_select.c:476 src/dird/ua_select.c:566 -#: src/dird/ua_update.c:400 src/dird/ua_update.c:475 +#: src/dird/ua_update.c:400 src/dird/ua_update.c:474 #: src/wx-console/wxbrestorepanel.cpp:320 #: src/wx-console/wxbrestorepanel.cpp:506 #: src/wx-console/wxbrestorepanel.cpp:516 @@ -3996,7 +4021,7 @@ msgid "JobId" msgstr "" -#: src/dird/ua_run.c:660 src/dird/ua_update.c:479 +#: src/dird/ua_run.c:660 src/dird/ua_update.c:478 msgid "Select parameter to modify" msgstr "" @@ -4258,80 +4283,85 @@ msgid "Enter the JobId to select: " msgstr "" -#: src/dird/ua_select.c:638 +#: src/dird/ua_select.c:639 #, c-format msgid "Could not find Job \"%s\": ERR=%s" msgstr "" -#: src/dird/ua_select.c:705 +#: src/dird/ua_select.c:717 #, c-format msgid "Automatically selected %s: %s\n" msgstr "" -#: src/dird/ua_select.c:710 +#: src/dird/ua_select.c:722 #, c-format msgid "Cannot select %s in batch mode.\n" msgstr "" -#: src/dird/ua_select.c:722 +#: src/dird/ua_select.c:736 msgid "Selection is empty!\n" msgstr "" -#: src/dird/ua_select.c:728 +#: src/dird/ua_select.c:742 msgid "Item 1 selected automatically.\n" msgstr "" -#: src/dird/ua_select.c:739 +#: src/dird/ua_select.c:753 msgid "Selection aborted, nothing done.\n" msgstr "" -#: src/dird/ua_select.c:744 +#: src/dird/ua_select.c:758 #, c-format msgid "Please enter a number between 1 and %d\n" msgstr "" -#: src/dird/ua_select.c:793 +#: src/dird/ua_select.c:807 msgid "Storage name given twice.\n" msgstr "" -#: src/dird/ua_select.c:810 +#: src/dird/ua_select.c:824 #, c-format msgid "Expecting jobid=nn command, got: %s\n" msgstr "" -#: src/dird/ua_select.c:814 +#: src/dird/ua_select.c:828 #, c-format msgid "JobId %s is not running.\n" msgstr "" -#: src/dird/ua_select.c:823 +#: src/dird/ua_select.c:838 #, c-format msgid "Expecting job=xxx, got: %s.\n" msgstr "" -#: src/dird/ua_select.c:827 +#: src/dird/ua_select.c:842 src/dird/ua_select.c:854 #, c-format msgid "Job \"%s\" is not running.\n" msgstr "" -#: src/dird/ua_select.c:843 +#: src/dird/ua_select.c:850 +#, c-format +msgid "Expecting ujobid=xxx, got: %s.\n" +msgstr "" + +#: src/dird/ua_select.c:870 #, c-format msgid "Storage resource \"%s\": not found\n" msgstr "" -#: src/dird/ua_select.c:875 +#: src/dird/ua_select.c:902 msgid "Enter autochanger drive[0]: " msgstr "" -#: src/dird/ua_select.c:905 +#: src/dird/ua_select.c:932 msgid "Media Types defined in conf file:\n" msgstr "" -#: src/dird/ua_select.c:911 +#: src/dird/ua_select.c:938 msgid "Media Type" msgstr "" -#: src/dird/ua_select.c:911 +#: src/dird/ua_select.c:938 msgid "Select the Media Type" msgstr "" @@ -4372,7 +4402,7 @@ msgid " Heap: bytes=%s max_bytes=%s bufs=%s max_bufs=%s\n" msgstr "" -#: src/dird/ua_status.c:277 src/dird/ua_status.c:493 src/dird/ua_status.c:655 +#: src/dird/ua_status.c:277 src/dird/ua_status.c:502 src/dird/ua_status.c:664 #: src/filed/status.c:198 src/filed/status.c:277 src/stored/status.c:345 #: src/stored/status.c:361 src/stored/status.c:438 msgid "====\n" @@ -4412,181 +4442,181 @@ msgid "===================================================================================\n" msgstr "" -#: src/dird/ua_status.c:399 +#: src/dird/ua_status.c:401 #, c-format msgid "%-14s %-8s %3d %-18s %-18s %s\n" msgstr "" -#: src/dird/ua_status.c:491 +#: src/dird/ua_status.c:500 msgid "No Scheduled Jobs.\n" msgstr "" -#: src/dird/ua_status.c:508 src/stored/status.c:277 +#: src/dird/ua_status.c:517 src/stored/status.c:277 msgid "" "\n" "Running Jobs:\n" msgstr "" -#: src/dird/ua_status.c:516 +#: src/dird/ua_status.c:525 #, c-format msgid "Console connected at %s\n" msgstr "" -#: src/dird/ua_status.c:526 +#: src/dird/ua_status.c:535 msgid "" "No Jobs running.\n" "====\n" msgstr "" -#: src/dird/ua_status.c:531 +#: src/dird/ua_status.c:540 msgid " JobId Level Name Status\n" msgstr "" -#: src/dird/ua_status.c:532 src/filed/status.c:221 src/stored/status.c:382 +#: src/dird/ua_status.c:541 src/filed/status.c:221 src/stored/status.c:382 msgid "======================================================================\n" msgstr "" -#: src/dird/ua_status.c:540 +#: src/dird/ua_status.c:549 msgid "is waiting execution" msgstr "" -#: src/dird/ua_status.c:543 +#: src/dird/ua_status.c:552 msgid "is running" msgstr "" -#: src/dird/ua_status.c:546 +#: src/dird/ua_status.c:555 msgid "is blocked" msgstr "" -#: src/dird/ua_status.c:549 +#: src/dird/ua_status.c:558 msgid "has terminated" msgstr "" -#: src/dird/ua_status.c:552 +#: src/dird/ua_status.c:561 msgid "has erred" msgstr "" -#: src/dird/ua_status.c:555 +#: src/dird/ua_status.c:564 msgid "has errors" msgstr "" -#: src/dird/ua_status.c:558 +#: src/dird/ua_status.c:567 msgid "has a fatal error" msgstr "" -#: src/dird/ua_status.c:561 +#: src/dird/ua_status.c:570 msgid "has verify differences" msgstr "" -#: src/dird/ua_status.c:564 +#: src/dird/ua_status.c:573 msgid "has been canceled" msgstr "" -#: src/dird/ua_status.c:568 +#: src/dird/ua_status.c:577 #, c-format msgid "is waiting on Client %s" msgstr "" -#: src/dird/ua_status.c:574 +#: src/dird/ua_status.c:583 #, c-format msgid "is waiting on Storage %s" msgstr "" -#: src/dird/ua_status.c:579 +#: src/dird/ua_status.c:588 msgid "is waiting on max Storage jobs" msgstr "" -#: src/dird/ua_status.c:582 +#: src/dird/ua_status.c:591 msgid "is waiting on max Client jobs" msgstr "" -#: src/dird/ua_status.c:585 +#: src/dird/ua_status.c:594 msgid "is waiting on max Job jobs" msgstr "" -#: src/dird/ua_status.c:588 +#: src/dird/ua_status.c:597 msgid "is waiting on max total jobs" msgstr "" -#: src/dird/ua_status.c:591 +#: src/dird/ua_status.c:600 msgid "is waiting for its start time" msgstr "" -#: src/dird/ua_status.c:594 +#: src/dird/ua_status.c:603 msgid "is waiting for higher priority jobs to finish" msgstr "" -#: src/dird/ua_status.c:599 +#: src/dird/ua_status.c:608 #, c-format msgid "is in unknown state %c" msgstr "" -#: src/dird/ua_status.c:613 +#: src/dird/ua_status.c:622 msgid "is waiting for a mount request" msgstr "" -#: src/dird/ua_status.c:620 +#: src/dird/ua_status.c:629 msgid "is waiting for an appendable Volume" msgstr "" -#: src/dird/ua_status.c:627 +#: src/dird/ua_status.c:636 #, c-format msgid "is waiting for Client %s to connect to Storage %s" msgstr "" -#: src/dird/ua_status.c:643 +#: src/dird/ua_status.c:652 #, c-format msgid "%6d %-6s %-20s %s\n" msgstr "" -#: src/dird/ua_status.c:665 src/filed/status.c:211 src/stored/status.c:373 +#: src/dird/ua_status.c:674 src/filed/status.c:211 src/stored/status.c:373 msgid "No Terminated Jobs.\n" msgstr "" -#: src/dird/ua_status.c:670 src/stored/status.c:378 +#: src/dird/ua_status.c:679 src/stored/status.c:378 msgid "" "\n" "Terminated Jobs:\n" msgstr "" -#: src/dird/ua_status.c:671 +#: src/dird/ua_status.c:680 msgid " JobId Level Files Bytes Status Finished Name \n" msgstr "" -#: src/dird/ua_status.c:672 +#: src/dird/ua_status.c:681 msgid "========================================================================\n" msgstr "" -#: src/dird/ua_status.c:703 src/filed/status.c:241 src/lib/util.c:178 +#: src/dird/ua_status.c:712 src/filed/status.c:241 src/lib/util.c:178 #: src/stored/status.c:402 msgid "Created" msgstr "" -#: src/dird/ua_status.c:707 src/filed/status.c:245 src/lib/util.c:191 +#: src/dird/ua_status.c:716 src/filed/status.c:245 src/lib/util.c:191 #: src/lib/util.c:258 src/stored/status.c:406 msgid "Error" msgstr "" -#: src/dird/ua_status.c:710 src/filed/status.c:248 src/stored/status.c:409 +#: src/dird/ua_status.c:719 src/filed/status.c:248 src/stored/status.c:409 msgid "Diffs" msgstr "" -#: src/dird/ua_status.c:716 src/filed/status.c:254 src/lib/util.c:187 +#: src/dird/ua_status.c:725 src/filed/status.c:254 src/lib/util.c:187 #: src/lib/util.c:254 src/stored/btape.c:1158 src/stored/status.c:415 #: src/wx-console/wxbconfigpanel.cpp:180 msgid "OK" msgstr "" -#: src/dird/ua_status.c:719 src/filed/status.c:257 src/stored/status.c:418 +#: src/dird/ua_status.c:728 src/filed/status.c:257 src/stored/status.c:418 msgid "Other" msgstr "" -#: src/dird/ua_status.c:722 src/filed/status.c:268 src/stored/status.c:429 +#: src/dird/ua_status.c:731 src/filed/status.c:268 src/stored/status.c:429 #, c-format msgid "%6d %-6s %8s %14s %-7s %-8s %s\n" msgstr "" -#: src/dird/ua_status.c:730 src/stored/btape.c:180 +#: src/dird/ua_status.c:739 src/stored/btape.c:180 msgid "\n" msgstr "" @@ -4664,7 +4694,7 @@ "\n" msgstr "" -#: src/dird/ua_tree.c:104 src/dird/ua_tree.c:664 src/dird/ua_tree.c:672 +#: src/dird/ua_tree.c:104 src/dird/ua_tree.c:667 src/dird/ua_tree.c:675 #, c-format msgid "cwd is: %s\n" msgstr "" @@ -4708,42 +4738,42 @@ msgid "No file specification given.\n" msgstr "" -#: src/dird/ua_tree.c:520 +#: src/dird/ua_tree.c:523 #, c-format msgid "Node %s has no children.\n" msgstr "" -#: src/dird/ua_tree.c:611 +#: src/dird/ua_tree.c:614 #, c-format msgid "%d total files; %d marked to be restored; %s bytes.\n" msgstr "" -#: src/dird/ua_tree.c:656 +#: src/dird/ua_tree.c:659 msgid "Invalid path given.\n" msgstr "" -#: src/dird/ua_tree.c:683 src/dird/ua_tree.c:694 +#: src/dird/ua_tree.c:686 src/dird/ua_tree.c:697 msgid "No files unmarked.\n" msgstr "" -#: src/dird/ua_tree.c:696 +#: src/dird/ua_tree.c:699 msgid "1 file unmarked.\n" msgstr "" -#: src/dird/ua_tree.c:698 +#: src/dird/ua_tree.c:701 #, c-format msgid "%d files unmarked.\n" msgstr "" -#: src/dird/ua_tree.c:709 src/dird/ua_tree.c:725 +#: src/dird/ua_tree.c:712 src/dird/ua_tree.c:728 msgid "No directories unmarked.\n" msgstr "" -#: src/dird/ua_tree.c:727 +#: src/dird/ua_tree.c:730 msgid "1 directory unmarked.\n" msgstr "" -#: src/dird/ua_tree.c:729 +#: src/dird/ua_tree.c:732 #, c-format msgid "%d directories unmarked.\n" msgstr "" @@ -4841,7 +4871,7 @@ msgid "Invalid slot, it must be between 0 and MaxVols=%d\n" msgstr "" -#: src/dird/ua_update.c:287 src/dird/ua_update.c:577 +#: src/dird/ua_update.c:287 src/dird/ua_update.c:578 #, c-format msgid "Error updating media record Slot: ERR=%s" msgstr "" @@ -4907,7 +4937,7 @@ msgid "InChanger" msgstr "" -#: src/dird/ua_update.c:399 src/dird/ua_update.c:472 +#: src/dird/ua_update.c:399 src/dird/ua_update.c:471 msgid "Slot" msgstr "" @@ -4919,197 +4949,197 @@ msgid "AllFromPool" msgstr "" -#: src/dird/ua_update.c:463 -#, c-format -msgid "Updating Volume \"%s\"\n" -msgstr "" - -#: src/dird/ua_update.c:465 +#: src/dird/ua_update.c:464 msgid "Volume Status" msgstr "" -#: src/dird/ua_update.c:466 +#: src/dird/ua_update.c:465 msgid "Volume Retention Period" msgstr "" -#: src/dird/ua_update.c:467 +#: src/dird/ua_update.c:466 msgid "Volume Use Duration" msgstr "" -#: src/dird/ua_update.c:468 +#: src/dird/ua_update.c:467 msgid "Maximum Volume Jobs" msgstr "" -#: src/dird/ua_update.c:469 +#: src/dird/ua_update.c:468 msgid "Maximum Volume Files" msgstr "" -#: src/dird/ua_update.c:470 +#: src/dird/ua_update.c:469 msgid "Maximum Volume Bytes" msgstr "" -#: src/dird/ua_update.c:471 +#: src/dird/ua_update.c:470 msgid "Recycle Flag" msgstr "" -#: src/dird/ua_update.c:473 +#: src/dird/ua_update.c:472 msgid "InChanger Flag" msgstr "" -#: src/dird/ua_update.c:474 +#: src/dird/ua_update.c:473 msgid "Volume Files" msgstr "" -#: src/dird/ua_update.c:476 +#: src/dird/ua_update.c:475 msgid "Volume from Pool" msgstr "" -#: src/dird/ua_update.c:477 +#: src/dird/ua_update.c:476 msgid "All Volumes from Pool" msgstr "" -#: src/dird/ua_update.c:478 +#: src/dird/ua_update.c:477 msgid "Done" msgstr "" -#: src/dird/ua_update.c:489 +#: src/dird/ua_update.c:485 #, c-format -msgid "Current Volume status is: %s\n" +msgid "Updating Volume \"%s\"\n" msgstr "" #: src/dird/ua_update.c:490 +#, c-format +msgid "Current Volume status is: %s\n" +msgstr "" + +#: src/dird/ua_update.c:491 msgid "Possible Values are:\n" msgstr "" -#: src/dird/ua_update.c:501 +#: src/dird/ua_update.c:502 msgid "Choose new Volume Status" msgstr "" -#: src/dird/ua_update.c:507 +#: src/dird/ua_update.c:508 #, c-format msgid "Current retention period is: %s\n" msgstr "" -#: src/dird/ua_update.c:509 +#: src/dird/ua_update.c:510 msgid "Enter Volume Retention period: " msgstr "" -#: src/dird/ua_update.c:516 +#: src/dird/ua_update.c:517 #, c-format msgid "Current use duration is: %s\n" msgstr "" -#: src/dird/ua_update.c:518 +#: src/dird/ua_update.c:519 msgid "Enter Volume Use Duration: " msgstr "" -#: src/dird/ua_update.c:525 +#: src/dird/ua_update.c:526 #, c-format msgid "Current max jobs is: %u\n" msgstr "" -#: src/dird/ua_update.c:526 +#: src/dird/ua_update.c:527 msgid "Enter new Maximum Jobs: " msgstr "" -#: src/dird/ua_update.c:533 +#: src/dird/ua_update.c:534 #, c-format msgid "Current max files is: %u\n" msgstr "" -#: src/dird/ua_update.c:534 +#: src/dird/ua_update.c:535 msgid "Enter new Maximum Files: " msgstr "" -#: src/dird/ua_update.c:541 +#: src/dird/ua_update.c:542 #, c-format msgid "Current value is: %s\n" msgstr "" -#: src/dird/ua_update.c:542 +#: src/dird/ua_update.c:543 msgid "Enter new Maximum Bytes: " msgstr "" -#: src/dird/ua_update.c:550 +#: src/dird/ua_update.c:551 #, c-format msgid "Current recycle flag is: %s\n" msgstr "" -#: src/dird/ua_update.c:552 +#: src/dird/ua_update.c:553 msgid "Enter new Recycle status: " msgstr "" -#: src/dird/ua_update.c:559 +#: src/dird/ua_update.c:560 #, c-format msgid "Current Slot is: %d\n" msgstr "" -#: src/dird/ua_update.c:560 +#: src/dird/ua_update.c:561 msgid "Enter new Slot: " msgstr "" -#: src/dird/ua_update.c:567 +#: src/dird/ua_update.c:568 #, c-format msgid "Current InChanger flag is: %d\n" msgstr "" -#: src/dird/ua_update.c:568 +#: src/dird/ua_update.c:569 msgid "Set InChanger flag? yes/no: " msgstr "" -#: src/dird/ua_update.c:579 +#: src/dird/ua_update.c:580 #, c-format msgid "New InChanger flag is: %d\n" msgstr "" -#: src/dird/ua_update.c:586 +#: src/dird/ua_update.c:587 msgid "" "Warning changing Volume Files can result\n" "in loss of data on your Volume\n" "\n" msgstr "" -#: src/dird/ua_update.c:588 +#: src/dird/ua_update.c:589 #, c-format msgid "Current Volume Files is: %u\n" msgstr "" -#: src/dird/ua_update.c:589 +#: src/dird/ua_update.c:590 msgid "Enter new number of Files for Volume: " msgstr "" -#: src/dird/ua_update.c:594 +#: src/dird/ua_update.c:595 msgid "Normally, you should only increase Volume Files by one!\n" msgstr "" -#: src/dird/ua_update.c:595 +#: src/dird/ua_update.c:596 msgid "Continue? (yes/no): " msgstr "" -#: src/dird/ua_update.c:605 +#: src/dird/ua_update.c:606 #, c-format msgid "New Volume Files is: %u\n" msgstr "" -#: src/dird/ua_update.c:617 +#: src/dird/ua_update.c:618 #, c-format msgid "Current Pool is: %s\n" msgstr "" -#: src/dird/ua_update.c:618 +#: src/dird/ua_update.c:619 msgid "Enter new Pool name: " msgstr "" -#: src/dird/ua_update.c:631 +#: src/dird/ua_update.c:632 msgid "Selection terminated.\n" msgstr "" -#: src/dird/ua_update.c:664 +#: src/dird/ua_update.c:665 #, c-format msgid "db_update_pool_record returned %d. ERR=%s\n" msgstr "" -#: src/dird/ua_update.c:671 +#: src/dird/ua_update.c:672 msgid "Pool DB record updated from resource.\n" msgstr "" @@ -5125,51 +5155,51 @@ msgid "Verifying against JobId=%d Job=%s\n" msgstr "" -#: src/dird/verify.c:187 +#: src/dird/verify.c:180 #, c-format msgid "Start Verify JobId=%s Level=%s Job=%s\n" msgstr "" -#: src/dird/verify.c:266 +#: src/dird/verify.c:263 msgid "Deprecated feature ... use bootstrap.\n" msgstr "" -#: src/dird/verify.c:279 +#: src/dird/verify.c:276 #, c-format msgid "Unimplemented Verify level %d(%c)\n" msgstr "" -#: src/dird/verify.c:331 +#: src/dird/verify.c:328 #, c-format msgid "Unimplemented verify level %d\n" msgstr "" -#: src/dird/verify.c:386 +#: src/dird/verify.c:383 msgid "Verify OK" msgstr "" -#: src/dird/verify.c:390 +#: src/dird/verify.c:387 msgid "*** Verify Error ***" msgstr "" -#: src/dird/verify.c:394 +#: src/dird/verify.c:391 msgid "Verify warnings" msgstr "" -#: src/dird/verify.c:397 +#: src/dird/verify.c:394 msgid "Verify Canceled" msgstr "" -#: src/dird/verify.c:400 +#: src/dird/verify.c:397 msgid "Verify Differences" msgstr "" -#: src/dird/verify.c:405 +#: src/dird/verify.c:402 #, c-format msgid "Inappropriate term code: %d %c\n" msgstr "" -#: src/dird/verify.c:419 +#: src/dird/verify.c:416 #, c-format msgid "" "Bacula %s (%s): %s\n" @@ -5191,7 +5221,7 @@ "\n" msgstr "" -#: src/dird/verify.c:454 +#: src/dird/verify.c:451 #, c-format msgid "" "Bacula %s (%s): %s\n" @@ -5211,94 +5241,153 @@ "\n" msgstr "" -#: src/dird/verify.c:530 +#: src/dird/verify.c:527 #, c-format msgid "" "bird/dev/null` --- bacula-1.38.11.orig/updatedb/update_sqlite_tables_8_to_9 +++ bacula-1.38.11/updatedb/update_sqlite_tables_8_to_9 @@ -9,7 +9,7 @@ echo " " bindir=/usr/bin -cd /var/bacula/working +cd /var/lib/bacula sqlite=sqlite ${bindir}/${sqlite} $* bacula.db < +Build-Depends: autotools-dev, debhelper (>= 4.2), po-debconf (>= 0.8.2), + zlib1g-dev, libreadline5-dev | libreadline-dev, libjconv-dev, + libsqlite0-dev, libsqlite3-dev, libmysqlclient15-dev (>= 5.0.24-1) | libmysqlclient14-dev, libpq-dev | postgresql-dev, + libwrap0-dev, libssl-dev, python-dev, + libgnome2-dev, libwxgtk2.6-dev | libwxgtk2.4-dev, libacl1-dev, libkrb5-dev, libgnomeui-dev, + libx11-dev, mtx, bc, libxt-dev, python-support +Build-Conflicts: python2.2-dev, python2.3 +Standards-Version: 3.7.0 + +Package: bacula +Architecture: all +Depends: bacula-server, bacula-client +Suggests: bacula-doc +Description: Network backup, recovery and verification (Meta-package) + Bacula is a set of computer programs that permit you (or the system + administrator) to manage backup, recovery and verification of computer data + across a network of computer of different kinds. + . + Bacula is relatively easy to use and efficient, while offering many advanced + storage management features that make it easy to find and recover lost or + damaged files. Due to its modular design, Bacula is scalable from small single + computer systems to systems consisting of hundreds of computers located over + a large network. + . + This meta-package provides the entire suite of bacula applications: + job scheduling, storage control, node connector, and administrative console. + +Package: bacula-common +Architecture: all +Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 +Depends: adduser (>= 3.0) +Suggests: bacula-doc +Description: Network backup, recovery and verification (Common Support files) + Bacula is a set of computer programs that permit you to manage backup, + recovery, and verification of computer data across a network of computers + of different kinds. + +Package: bacula-director-common +Architecture: any +Pre-Depends: debconf (>= 1.4.30) | debconf-2.0, bacula-common (= ${Source-Version}) +Depends: exim4|mail-transport-agent, ${shlibs:Depends}, adduser +Description: Network backup, recovery and verification (Director common files) + Bacula is a set of computer programs that permit you to manage backup, + recovery, and verification of computer data across a network of computers + of different kinds. + +Package: bacula-director-sqlite +Architecture: any +Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 +Depends: bacula-director-common (= ${Source-Version}), sqlite, ${shlibs:Depends} +Conflicts: bacula-director +Provides: bacula-director +Replaces: bacula-director +Description: Network backup, recovery and verification (Director daemon) + The Bacula Director service supervises all the backup, restore, verify and + archive operations. The system administrator uses the Director to schedule + backups and to recover files. + The Director can run as a daemon or as a service (i.e. in the foreground) + . + This version stores Bacula's Catalog in an SQLite database, and thus is + suited for smaller installations. + +Package: bacula-director-sqlite3 +Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 +Architecture: any +Depends: bacula-director-common (= ${Source-Version}), sqlite3, ${shlibs:Depends} +Conflicts: bacula-director +Provides: bacula-director +Replaces: bacula-director +Description: Network backup, recovery and verification (Director daemon) + The Bacula Director service supervises all the backup, restore, verify and + archive operations. The system administrator uses the Director to schedule + backups and to recover files. + The Director can run as a daemon or as a service (i.e. in the foreground) + . + This version stores Bacula's Catalog in an SQLite3 database, and thus is + suited for smaller installations. + +Package: bacula-director-mysql +Architecture: any +Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 +Depends: bacula-director-common (= ${Source-Version}), dbconfig-common (>= 1.8.19), mysql-client, ${shlibs:Depends} +Conflicts: bacula-director +Provides: bacula-director +Replaces: bacula-director +Recommends: mysql-server (>= 4.0) +Description: Network backup, recovery and verification (Director daemon) + The Bacula Director service supervises all the backup, restore, verify and + archive operations. The system administrator uses the Director to schedule + backups and to recover files. + The Director can run as a daemon or as a service (i.e. in the foreground) + . + This version stores Bacula's Catalog in a MySQL server, and thus is suited + for largish installations. + +Package: bacula-director-pgsql +Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 +Architecture: any +Depends: bacula-director-common (=${Source-Version}), dbconfig-common (>= 1.8.19), postgresql-client-8.1 | postgresql-client-8.0 | postgresql-client (>= 7.4), sqlite3, ${shlibs:Depends} +Conflicts: bacula-director +Provides: bacula-director +Replaces: bacula-director +Recommends: postgresql-8.1 | postgresql-8.0 | postgresql (>= 7.4) +Suggests: postgresql-contrib, postgresql-doc +Description: Network backup, recovery and verification (Director daemon) + The Bacula Director service supervises all the backup, restore, verify and + archive operations. The system administrator uses the Director to schedule + backups and to recover files. + The Director can run as a daemon or as a service (i.e. in the foreground) + . + This version stores Bacula's Catalog in a PostgreSQL server, and thus is + suited for largish installations. + +Package: bacula-client +Architecture: all +Depends: bacula-console (= ${Source-Version}), bacula-fd (= ${Source-Version}) +Recommends: bacula-traymonitor +Description: Network backup, recovery and verification (Client meta-package) + Minimal Bacula system client (File Daemon and Console only) + +Package: bacula-fd +Architecture: any +Depends: bacula-common (= ${Source-Version}), ${shlibs:Depends} +Suggests: bacula-traymonitor +Description: Network backup, recovery and verification (Filer daemon) + This program has to be installed in the machine to be backed up. It is + responsible for providing the file attributes and data when requested by + the Director, and also for the filesystem-dependent part of restoration. + . + There is a Win32 version of this program available for download from + Bacula's website: www.bacula.org + +Package: bacula-server +Architecture: all +Depends: bacula-director-sqlite3 (= ${Source-Version})|bacula-director, bacula-sd (= ${Source-Version}), bacula-sd-sqlite3 (= ${Source-Version})|bacula-sd-tools +Recommends: bacula-fd +Description: Network backup, recovery and verification (Server meta-package) + Bacula system server: SQL-based catalog (SQLite, MySQL, or PgSQL) and + Storage Daemon, for a single machine (medium-sized deployment) + . + This meta-package provides an standard server install, comprising Director + and Storage daemons. + +Package: bacula-sd +Architecture: any +Pre-Depends: bacula-common (= ${Source-Version}) +Depends: ${shlibs:Depends}, mtx, python (>= 2.4) +Recommends: mt-st, bacula-sd-tools +Suggests: dds2tar, scsitools, sg3-utils +Description: Network backup, recovery and verification (Storage daemon) + This program performs the storage and recovery of the file attributes and + data to the physical backup media or volumes. In other words, it is + responsible for reading and writing your tapes (or other storage media, + such as files). + . + The Storage Daemon runs as a daemon on the machine which has the backup + device(s) (usually a tape drive). + +Package: bacula-sd-sqlite3 +Architecture: any +Depends: bacula-sd (= ${Source-Version}), ${shlibs:Depends} +Conflicts: bacula-sd-tools, bacula-sd (<< 1.38.9) +Replaces: bacula-sd-tools, bacula-sd (<< 1.38.9) +Provides: bacula-sd-tools +Description: Network backup, recovery and verification (SD tools-SQLite3) + This package contains the bscan and bcopy utilities, which are used for + recovery when Bacula's catalog is unavailable. + +Package: bacula-sd-sqlite +Architecture: any +Depends: bacula-sd (= ${Source-Version}), ${shlibs:Depends} +Conflicts: bacula-sd-tools, bacula-sd (<< 1.38.9) +Replaces: bacula-sd-tools, bacula-sd (<< 1.38.9) +Provides: bacula-sd-tools +Description: Network backup, recovery and verification (SD tools-SQLite) + This package contains the bscan and bcopy utilities, which are used for + recovery when Bacula's catalog is unavailable. + +Package: bacula-sd-mysql +Architecture: any +Depends: bacula-sd (= ${Source-Version}), ${shlibs:Depends} +Conflicts: bacula-sd-tools, bacula-sd (<< 1.38.9) +Replaces: bacula-sd-tools, bacula-sd (<< 1.38.9) +Provides: bacula-sd-tools +Description: Network backup, recovery and verification (SD tools-MySQL) + This package contains the bscan and bcopy utilities, which are used for + recovery when Bacula's catalog is unavailable. + +Package: bacula-sd-pgsql +Architecture: any +Depends: bacula-sd (= ${Source-Version}), ${shlibs:Depends} +Conflicts: bacula-sd-tools, bacula-sd (<< 1.38.9) +Replaces: bacula-sd-tools, bacula-sd (<< 1.38.9) +Provides: bacula-sd-tools +Description: Network backup, recovery and verification (SD tools-PostgreSQL) + This package contains the bscan and bcopy utilities, which are used for + recovery when Bacula's catalog is unavailable. + +Package: bacula-console +Architecture: any +Pre-Depends: debconf (>= 1.4.30) +Depends: bacula-common (= ${Source-Version}), ${shlibs:Depends} +Description: Network backup, recovery and verification (Mgmt. Console) + The Console allows the administrator or user to communicate with the + Bacula Director. This is the TTY version. + +Package: bacula-console-gnome +Architecture: any +Pre-Depends: debconf (>= 1.4.30) +Depends: bacula-common (= ${Source-Version}), ${shlibs:Depends} +Description: Network backup, recovery and verification (Console, Gnome version) + The Console allows the administrator or user to communicate with the + Bacula Director. This is the Gnome version. + . + This Gnome2 GUI interface is for the moment far from complete but is quite + functional, having all the capabilities of the shell Console. + +Package: bacula-console-wx +Provides: bacula-wxconsole +Replaces: bacula-wxconsole +Conflicts: bacula-wxconsole +Architecture: any +Pre-Depends: debconf (>= 1.4.30) +Depends: bacula-common (= ${Source-Version}), ${shlibs:Depends} +Description: Network backup, recovery and verification (Console, Gnome version) + The WX-Console allows the administrator or user to communicate with the + Bacula Director. It provides a graphical interface to the backup/restore + operations. + . + This GUI interface has been designed to ease restore operations as much as + possible as compared to the "conventional" console. + . + There is a Win32 version of this program available for download from + Bacula's website: www.bacula.org + +Package: bacula-traymonitor +Architecture: any +Depends: ${shlibs:Depends}, bacula-common (= ${Source-Version}) +Recommends: gnome-session | kde | desktop-environment +Description: Network backup, recovery and verification (Tray monitor) + The tray monitor for bacula; FreeDesktop standard's compatible + . --- bacula-1.38.11.orig/debian/bacula-sd-sqlite.install +++ bacula-1.38.11/debian/bacula-sd-sqlite.install @@ -0,0 +1,2 @@ +debian/tmp-install-sqlite/usr/sbin/bscan usr/bin +debian/tmp-install-sqlite/usr/sbin/bcopy usr/bin --- bacula-1.38.11.orig/debian/changelog +++ bacula-1.38.11/debian/changelog @@ -0,0 +1,943 @@ +bacula (1.38.11-7ubuntu6) feisty; urgency=low + + * Add gnome-session to the bacula-traymonitor Recommends. + * Fix the bacula-fd init script to create the directory properly. + (LP: #65122) + * Correct src/dird/bacula-dir.conf.in to pass the correct arguments + to "/etc/bacula/scripts/make_catalog_backup. (LP: #68725) + + -- Steve Kowalik Thu, 1 Feb 2007 20:18:32 +1100 + +bacula (1.38.11-7ubuntu5) feisty; urgency=low + + * Teach the build system about python2.5. + + -- Matthias Klose Tue, 16 Jan 2007 12:51:27 +0100 + +bacula (1.38.11-7ubuntu4) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Mon, 15 Jan 2007 17:53:22 +0000 + +bacula (1.38.11-7ubuntu3) feisty; urgency=low + + * "Never do patching after midnight" release + - debian/rules: don't unpatch if it isn't patched + + -- Ante Karamatic Wed, 20 Dec 2006 10:50:48 +0100 + +bacula (1.38.11-7ubuntu2) feisty; urgency=low + + * debian/patches/tee.patch: + - fix FTBS on libc >= 2.5 + + -- Ante Karamatic Wed, 20 Dec 2006 00:52:07 +0100 + +bacula (1.38.11-7ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/control: adjusted build depends to new python style + + -- Ante Karamatic Mon, 30 Oct 2006 14:02:29 +0000 + +bacula (1.38.11-7) unstable; urgency=low + + * ACK NMU. Closes: #394605. + * New Japanese translation thanks to Hideky Yamane. Closes: #392638. + * New Czech translation from Jakup Kasparec. Closes: #392680. + + -- John Goerzen Fri, 27 Oct 2006 08:39:46 -0500 + +bacula (1.38.11-6.1) unstable; urgency=low + + * Remove explicit build dependency on python2.3. + + -- Matthias Klose Fri, 27 Oct 2006 05:47:35 +0200 + +bacula (1.38.11-6) unstable; urgency=high + + * Only call dbconfig-common if it exists in maintainer scripts. + Closes: #388220, #388222. + + -- John Goerzen Fri, 22 Sep 2006 10:06:22 -0500 + +bacula (1.38.11-5ubuntu1) edgy; urgency=low + + * Merge from debian unstable. + * debian/control: adjusted build depends to new python style + + -- Stephan Hermann Tue, 19 Sep 2006 15:18:40 +0200 + +bacula (1.38.11-5) unstable; urgency=high + + * Added missing shlibs:Depends for bacula-director-pgsql. Closes: #384837. + + -- John Goerzen Sun, 27 Aug 2006 18:48:24 -0500 + +bacula (1.38.11-4) unstable; urgency=high + + * Rebuild against newer libmysql15-dev. Closes: #384433. + * Build build-dep on libmysql15-dev. + + -- John Goerzen Fri, 25 Aug 2006 13:52:24 -0500 + +bacula (1.38.11-3) unstable; urgency=high + + * Update postrm to new dbconfig-common method. Closes: #383142. + + -- John Goerzen Mon, 21 Aug 2006 09:19:49 -0500 + +bacula (1.38.11-2) unstable; urgency=low + + * Updated Brazilian Portugese translation from Felipe August van de Wiel. + Closes: #373992. + * Updated Dutch translation from Kurt De Bree. Closes: #375128. + * New Portugese translation from Rui Branco. Closes: #380675. + + -- John Goerzen Sat, 12 Aug 2006 09:40:36 -0500 + +bacula (1.38.11-1ubuntu1) edgy; urgency=low + + * Resynchronize with Debian unstable + - added ${shlibs:Depends} dependency to bacula-director-pgsql + - changed dependency on python2.3-dev to python2.4-dev + - create /var/run/bacula on any service startup + + -- Søren Hansen Mon, 24 Jul 2006 15:10:25 +0200 + +bacula (1.38.11-1) unstable; urgency=low + + * New upstream release + * Update debian/copyright with new upstream LICENSE + * Add Suggests on bacula-doc + + -- John Goerzen Fri, 30 Jun 2006 08:02:36 -0500 + +bacula (1.38.10-2) unstable; urgency=low + + * Applied 1.38.10-scheduler.patch and 1.38.10-dvd-eof.patch from upstream. + + -- John Goerzen Mon, 26 Jun 2006 17:12:43 -0500 + +bacula (1.38.10-1) unstable; urgency=low + + * New upstream version. + * New French translation from Thomas Huriaux. Closes: #370476. + * Update dep on dbconfig-common for new PostgreSQL date style config. + * Daemons listen only on localhost by default. Closes: #367105. + + -- John Goerzen Mon, 12 Jun 2006 15:44:23 -0500 + +bacula (1.38.9-10) unstable; urgency=low + + * Update LICENSE with newer version from upstream. Closes: #367970. + * Applied patch from Kern Sibbald, Bacula author, to fix odd + segfault in bacula-sd. Closes: #367424. + + -- John Goerzen Wed, 24 May 2006 22:25:03 -0500 + +bacula (1.38.9-9) unstable; urgency=low + + * Remove LD_ASSUME_KERNEL from bacula-director-common init script. + Closes: #367537. + + -- John Goerzen Tue, 16 May 2006 21:29:27 -0500 + +bacula (1.38.9-8) unstable; urgency=low + + * Now use GNU sed instead of ssed for inplace editing -- GNU sed + now has this feature. Closes: #367201. + * Include examples/ directory in bacula-common. + * Remove old bacula-doc files. + * Create additional PostgreSQL indices (like we alredy do for MySQL) + * Added dbconfig-common as a dep for bacula-director-mysql. + Closes: #367420. + * Added build-dep on libxt-dev. + * Listed postgresql-8.1 and postgresql-8.0 as recommends for + bacula-director-pgsql. + + -- John Goerzen Mon, 15 May 2006 16:48:57 -0500 + +bacula (1.38.9-7) unstable; urgency=low + + * Made bacula-sd-* also Replace the old bacula-sd package. Closes: #367075. + * Update debian/copyright from LICENSE. + * Remove bsmtp and btraceback manpages from debian/manpages. + + -- John Goerzen Sat, 13 May 2006 11:09:03 -0500 + +bacula (1.38.9-6) unstable; urgency=low + + * Rewrote remaining templates to use better language. + Closes: #236992, #313149. + * Removed obsolete file debian/RATIONALE. + * Added build-dependency on bc, which is used by autoconf/randpass. + * Changed Recommends in bacula-sd to dep on python for the dvd-changer + script. + * Rewrite most of README.Debian. Include information about + users/security. Closes: #304076. + * Remove obsolete directory debian/_pending. + + -- John Goerzen Sat, 13 May 2006 10:02:24 -0500 + +bacula (1.38.9-5) unstable; urgency=low + + * bacula-sd-*: added conflict on bacula-sd < 1.38.9, since some + manpages have moved around since that version and conflicts + could exist on upgrade. Closes: #367075. + * Removed accidentally-copied bacula-director-pgsql.preinst. + Closes: #367066, #367069, #367070. + + -- John Goerzen Sat, 13 May 2006 09:25:35 -0500 + +bacula (1.38.9-4) unstable; urgency=low + + * Sanitize multi-variant deps with virtual packages + + * Move bwild and bregex into bacula-director-common instead of all + the bacula-director-* packages. Change bacula-director-common + from arch all to arch any. + + * Changed all URLs from html-manual to rel-manual, and forwarded + this patch upstream. Closes: #363151. + + * Fix bacula-director-sqlite postinst to properly handle the upgrade + to 1.38. + + * Added missing scripts disk-changer and dvd-handler to bacula-sd. + + * Removed cruft in debian/additions and debian/patches. + + * Revert changes to: + + grant_postgresql_privileges.in (no longer necessary) + + gnome2-console/console.c (should respect upstream syntax choices) + + update_mysql_tables_6_to_7, 7_to_8 (irrelevant) + + update_sqlite_tables_7_to_8 (gratuitous) + + * Thanks to new support in dbconfig-common 1.8.13, the encoding for + the PostgreSQL database can now be specified. PostgreSQL encoding + should therefore be fixed. + + * Removed obsolete per-arch build code from rules. + + -- John Goerzen Fri, 12 May 2006 08:50:19 -0500 + +bacula (1.38.9-3) unstable; urgency=low + + * Clean up Sqlite3 postinst + + * Added some more upstream docs to bacula-common + + * Switched MySQL to use dbconfig-common. Removed largs amounts of + old code for MySQL support. Closes: #338884, #357386. + + * No longer force removal of director conffiles on removal (only + purge). + + * Removed obsolete templates for MySQL & PostgreSQL. + + * Removed obsolete install-flavors templates in debian/rules. + + * Install Sqlite and Sqlite3 scripts properly. + + * Removed obsolete translations (they were causing build errors now + that the obsolete templates are gone) + + -- John Goerzen Thu, 11 May 2006 06:45:44 -0500 + +bacula (1.38.9-2) unstable; urgency=low + + * Sanitize dependencies in control -- make sure everything that + needs to depends on bacula-common and use bacula-server and + bacula-client. + + * Reverse direction of /var/log/bacula/log symlink to have main + logfile written in /var/log/bacula. + + * Install upstream's default logrotate (with Debian's path). + Previously, there was no logrotate installed by default. + Closes: #309675. + + * Removed duplicate user-adding code from bacula-director-common. + bacula-common already does this. + + * Removed spurious chown/chmod of /var/run/bacula from bacula-sd + and bacula-fd. bacula-common already does this. + + * Moved chmod/chown of /var/lib/bacula and /var/log/bacula + from bacula-director-common to bacula-common. These areas may be + used by non-director packages as well. + + * Slight simplification of debian/rules + + * Switched to dbconfig-common for PostgreSQL. Closes: #365096. + + * Removed large amounts of old code for PostgreSQL support. + + -- John Goerzen Wed, 10 May 2006 22:17:29 -0500 + +bacula (1.38.9-1) unstable; urgency=low + + * New maintainer: John Goerzen . + Closes: #366625. + Thanks to Jose Luis Tallon for initially packaging and maintaining + Bacula in Debian. + + * Close bugs that have been fixed in my earlier NMUs. + Closes: #322753, #335809, #343762, #326175, #309601, #305220, #329271. + Closes: #326178, #312329, #303456, #339341, #339322, #281957, #331757. + Closes: #358762, #357619, #337250, #337376, #346430, #314492, #303862. + Closes: #339084. + + * Examine all diffs to upstream and revert ones that are not + (any longer) necessary. + + * Revert diff to db.m4 -- Bacula is now aware of pg_config natively. + + * Removed commented-out patching/unpatching code in debian/rules + + * Removed obsolete patch files debian/patches/*.patches, + debian/patches/*old. These were only referenced by commented-out + code in debian/rules. + + * Revert patch to dbd_find.c -- no apparent reason existed for + the change. + + * Reverted hack to comment in update_mysql_tables_6_to_7 + + * Reverted hack to configure checking on syntax + + * Renamed bacula-wxconsole to bacula-console-wx to maintain a + sane naming scheme. Closes: #326177. + + * Removed commented-out bacula-doc section from debian/control. + + * Build-depends on mtx. + + * Removed commented-out build-depends-indep for docs. + + * Rewrote debian/rules build system -- now uses suggested vim-like + build system. It calls configure several times and builds the + package for each DB, rather than trying to hack the configure + system to short-circuit that. + + * Use stock make_catalog_backup/delete_catalog_backup scripts, + and move these into the per-db bacula-director-* packages. + + * Now build Sqlite3 packages (in addition to existing Sqlite v2 + packages) and make them the default. + + * Fix sqlite build-deps. Previous versions build-dep'd on sqlite3 + but built using sqlite2. + + * No longer rename consoles in rules. + + * Update standards-version to 3.7.0. + + * Clean target removes config.log + + * Move bcopy and bscan manpages into proper bacula-sd-*sql* packages + + * Added missing debconf dependencies to the bacula director packages + + * Added missing adduser dependency to bacula-director-common + + * Fixed menu files for correct location of console files + + -- John Goerzen Wed, 10 May 2006 11:16:05 -0500 + +bacula (1.38.9-0.2) unstable; urgency=low + + * No longer rm -rf /var/lib/bacula in bacula-director-common postinst. + Other Bacula packages may still be installed, and this breaks them. + * Include bwild and bregex in bacula-director-* packages. + + -- John Goerzen Tue, 9 May 2006 08:45:28 -0500 + +bacula (1.38.9-0.1) unstable; urgency=low + + * New upstream release: 1.38.9, which is mostly a bugfix release. + + -- John Goerzen Mon, 8 May 2006 10:50:45 -0500 + +bacula (1.38.8-0.1) unstable; urgency=low + + * Non-maintainer upload by John Goerzen. + * Add missing build-deps: libgnomeui-dev, libx11-dev. + * Commented out code that attempts to patch pg_hba.conf. This sort of + thing should never be done without prompting the user. It was broken + for sid as written, and also failed to take into account the + possibility of Unix domain sockets or having multiple versions of + PostgreSQL on a machine. Closes: #309601. + * Build-Conflicts on python2.2-dev. The configure script will use it + by default, instead of python2.3-dev, if it's available. This could + lead to different Python versions being linked in on different archs. + * Numerous fixes to clean target to make sure all sorts of otherwise-missed + generated files get removed. + * Removed spurious chown of /var/lib/bacula in + bacula-director-common.preinst. Having it there could lead to + failure to install that package since that directory may not already + exist. postinst for that package was already doing the same chown + anyway. + * Removed erreneous chown attempt of /var/log/bacula/log in + bacula-director-common.postinst. This file is not installed + by this package. Closes: #303862. + * Fixed distribution of bscan and bcopy such that they appear in their + bacula-sd-* properly, and not in bacula-director or bacula-sd. + * debian/rules contains bashisms and will not build if bash is not + the default shell. Explicitly set SHELL in debian/rules. + + * The below changes were made available by Jose Luis Tallon on SourceForge. + + * New upstream version (Closes: #339322) + - fixes insecure temporary file creation (Closes: #329271) + - fixes error in online help (Closes: #303456) + - fixes segfault w/ fd (Closes: #346430) + + * debian/rules : fix typo w/in build process (Closes: #337250) + - enable TLS functionality + - added upstream's generic 'bacula' manpage + + * debian/control, dependency information + - simplify dependencies; allow transition to cdebconf (Closes: #331757) + - wrapped Build-Depends line + - upgrade to building with wxWidgets2.6 (Closes: #326178) + - upgrade to libmysqlclient15 (Closes: #358762) + - bacula-doc is now another set of packages + - splitted bacula-sd in 'flavors'(avoid static linking) + + * init process: auto-create /var/run/bacula on startup (Closes: #357619) + + * bacula-director-mysql: + - fix db-autoconfig -- typo in grant sentence(improper quoting) (Closes: #312329) + - upgrade to libmysqlclient15-dev (Closes: #343762) + - Automatically add indexes to tables (Closes: #335809) + + * bacula-director-pgqsl: + - purge debconf data on purge (Closes: #314492) + - rebuild -- update postgresql-client dependency (Closes: #339341) + + * bacula-sd + - Solves problem w/ Linux2.6 and no tapes on startup (Closes: #337376) + - Better handling of auto-labels (Closes: #322753) + + * GUI + - bacula-wxconsole: Link against GNOME2 libs only (Closes: #326178) + - bacula-console-gnome: provide desktop entry (Closes: #326175) + - bacula-console-gnome: fix help (Closes: #305220) + - created bacula-traymonitor package (Closes: #281957) + + * Localization + - se_SV (tack sÃ¥ mycket, Daniel) (Closes: #339084) + + * Christoph Haas added to "Uploaders" + + -- John Goerzen Thu, 27 Apr 2006 10:04:07 -0500 + +bacula (1.36.3-2ubuntu2) dapper; urgency=low + + * debian/bacula-director-common.postinst: + - Check for existence of /var/lib/bacula and /var/lib/bacula/log + and create if missing, before chown/chmod them (Ubuntu: #36580) + + -- Ante Karamatic Thu, 13 Apr 2006 23:45:29 +0200 + +bacula (1.36.3-2ubuntu1) dapper; urgency=low + + * Create /var/run/bacula on (any) service start (Ubuntu: #28921) + * Build against libmysqlclient15off + * debian/rules: + -- add -lkrb5support and -ldl to LIBS_pgsql + * debian/control: + -- added ${shlibs:Depends} dependency to bacula-direcotr-pgsql + + -- Ante Karamatic Thu, 13 Apr 2006 20:07:08 +0200 + +bacula (1.36.3-2) unstable; urgency=low + + * bacula-director-mysql: fix granting of privileges during postinst + -- typo in grant sentence('eval' missing) (Closes: #312329) + + * bacula-director-pgsql: fix problems with unicode filenames + -- CREATE DATABASE $CATALOG WITH ENCODING = 'SQL_ASCII' (Closes: #313227) + + * bacula-sd: Fix MTX support (Closes: #308803) + + * Localization enhancements: + - JA (Closes: #310104) + - FR (Closes: #309664) + - CS (Closes: #312148) + - VI (Closes: #313148) + + * Solved problem with bacula-sd's lib dependencies + -- bcopy was being improperly compiled (Closes: #309919) + + * PostgreSQL transition completed: build-depend on libpq-dev instead + + -- Jose Luis Tallon Wed, 9 Jun 2005 02:33:13 +0200 + +bacula (1.36.3-1) unstable; urgency=low + + * New upstream version; several bugfixes (Closes: #306176) + + * bacula-director-mysql: link against libmysql12, in order + to better support MySQL-4.1 installations which have not + been properly configured (Closes: #305669) + + * bacula-director-mysql: Additional fixes for the solution of + #303111 -- Add much more robustness to the autoconfig process + + * Included patch from bugs.bacula.org to have proper behaviour on backup + attempts when FD is unreachable(Closes: #304531) + + * Documentation: fix bscan and bls's manpage(rewritten). + + -- Jose Luis Tallon Wed, 11 May 2005 18:56:13 +0200 + +bacula (1.36.2-2) unstable; urgency=low + + * bacula-director-pgsql: postinst enhancements by Jamie Ffolliott + + * bacula-fd: proper behaviour on restart (Closes: #293570) + + * bacula-director-common: fix to template for make_catalog_backup + to force users to configure it properly (Closes: #299052) + + * bacula-common: remove dup'd btraceback (Closes: #301219) + + * Updated french translation (Closes: #303120) + + * bacula-director-mysql: + - succeed also when password contains spaces (Closes: #303111) + + -- Jose Luis Tallon Sun, 10 Apr 2005 19:21:25 +0200 + +bacula (1.36.2-1) unstable; urgency=low + + * New upstream version. Some fixes and enhancements (Closes: #297477) + + * bacula-director-pgsql: postinst fixed (Closes: #289838, #272191) + - connect to db, create tables, create user & grant privs + - use the configured root password + - support remote pgsql hosts + - patch the grant script to re-enable key indexes needed + - set create_tables to false after successful creation, and + reset variables configured by debconf if they result in an error + so they are re-entered on the next install attempt. + - fix the catalog upgrade process + - save .pgpass with user/pass, for secure use by bacula scripts, + package upgrades + - write bacula-dir.conf with correct bacula user/pass/db, and + correct the catalog backup command + - enable auth to the local bacula db in pg_hba.conf. Fixes a + director startup error. + * bacula-director-pgsql: config fixed + - configure remote pgsql hosts + - add reconfigure + - add drop db option in reconfigure, to re-create the bacula db + + * bacula-director-pgsql: postrm completed + - drop the db and user, & remove the .pgpass file + + * Many thanks to Jamie ffolliott , the author of + all of the PostgreSQL-related fixes. Long overdue, now in :-) + + * UpdateDB: fix typo in 'update_mysql_tables_7_to_8' (Closes: #288107) + + * bacula-director-mysql: fix typo in sql_cmds (Closes: #295823) + + * bacula-director-sqlite: fix db upgrade logic (Closes: #282416, #289209) + (lines 62 & 71 of the postinst script) + + * bacula-fd: new version apparently solves crashes (Closes: #277273) + + * bacula-common: move symlink to proper package (Closes: #285659) + + * Patch by Nicolas Boichat to fix "cancel" in wx-console (Closes: #292517) + + * Updated Dutch translation (Closes: #281559) + + -- Jose Luis Tallon Tue, 22 Mar 2005 13:31:34 +0100 + +bacula (1.36.1-1) unstable; urgency=low + + * New upstream version. Includes several minor improvements. + + * bacula-director-pgsql: really compile in support for PostgreSQL, after + latest breakages (Closes: #274997, #282788) + + * bacula-director-sqlite: revised upgrade logic. Should work now -- + feedback requested (Closes: #282416) + + * Fix once and for all, broken variable assignment(hopefully) + (Closes: 275284) + + * UpdateDB: robustness added to upstream scripts; should be able to better + detect broken setups. Integrated upstream. Thanks, Kern! + + -- Jose Luis Tallon Fri, 3 Dec 2004 18:22:05 +0100 + +bacula (1.36.0-1) unstable; urgency=low + + * New upstream version (Closes: #278605) + - hopefully solves problems where bacula-fd segfaulted + - database format changed to v8. Add upgrading v6 -> v7 -> v8 + capabilities to postinst scripts. (Closes: #271892) + - updatedb scripts patched, to avoid problem with PostgreSQL update. + + * bacula-director-common: added "reload" action (send SIGHUP) + + * bacula-fd: + - to avoid problems with broken setups, postinst scripts now use + '/bin/bash' instead of '/bin/sh' (Closes: #277127) + + * bacula-doc: added missing image (Closes: #279913) + + * UpdateDB: robustness added to upstream scripts; should be able to better + detect broken setups. + + * Really close bug due to typo in 'config' (Closes: #275284) + + * Fix a typo in package description, by (Closes: #277220) + + -- Jose Luis Tallon Wed, 17 Nov 2004 20:41:05 +0100 + +bacula (1.34.6-2) unstable; urgency=low + + * PgSQL "flavor": + - another little build improvement (Closes: #274997) + - typo in 'config', reported by PMHahn (Closes: #275284) + + -- Jose Luis Tallon Sat, 9 Oct 2004 16:04:05 +0200 + +bacula (1.34.6-2) unstable; urgency=high + + * Urgency high because the PostgreSQL "flavor" is not properly built. + It is linked against the "internal" database, which is not functional. + - The flag to enable PostgreSQL is called "HAVE_POSTGRESQL" instead of + HAVE_PGSQL -- Reported by E Zanardi + - Newer libpq needs -lssl -lcrypto... + + * bacula-director-mysql: fixed bogus update procedure + - succeed when catalog is already up-to-date (Closes: #271998) + - work when admin user has a non-blank password. + + * bacula-director-pgsql: fixed problem, where --regardless of specified + dbadmin-- root was used to connect to PgSQL (Closes: #272181) + + * bacula-sd: daemon leaves FD 0,1,2 open; Close them. + Backported change to lib/daemon.c from 1.35.3 (Closes: #272083) + + * bacula-director-common: + - link /usr/lib/bacula/smtp to bsmtp to preserve older configurations + (Closes: #272880) + - Integrated patch from Daniel Hermann, to ensure proper 'director' + termination in init.d script (Closes: #271579) + + * Integrated some more of PMHahn build enhancements. Thanks! + + * Properly building the static bscan "flavors" brings in + many build dependencies..ggrrrr + ( libpq depends on libkrb5, libk5crypto, libcom_err, libcrypt,... ) + + * Corrected some more typos + - Missing cleanup after building "flavored" binaries + - Missing 'btraceback' component + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Wed, 29 Sep 2004 16:04:05 +0200 + +bacula (1.34.6-1) unstable; urgency=high + + * New upstream version + * Applied patch to avoid deadlocks in bacula-dir (urgency -> high) + + * Several cleanups from both Philipp M Hahn & Filip Van Raemdonck. I can't + sufficiently express my gratitude here. Thanks!! + - fixed upgrade support + - build improvements + - several minor fixups/reorganization. I hope i got it right this time.. + + * Now bscan is a set of 3 statically-linked binaries, so that bacula-sd + does not pull all three client libs. This had been pending for a long time... + + * Some more minor improvements + - Logfiles are already in /var/log/bacula/ (Closes: #254245) + - Fixed perms on /var/log/bacula/log (Closes: #252410) + + * Bacula's GNOME console was already linked against v2 libs + since 1.34.5-1 (Closes: #264975) + + * MySQL flavor's postinst issues + - Wrong ordering of db_get / assignment (Closes: #270329) + - Split line changes meaning, other cleanups (Closes: #270197) + + * Updated debconf translations + - FR (Closes: #269958) + - JA, by Hideki Yamane (Closes: #270765) + + * Debconf-related fixes: + - Updated versioned dependency w/Debconf: v1.4.30 seems to work. + - Reset password's "seen" flag, so that it gets asked again + - Moved root password question back to 'config' grr... + + * Several adjustments to descriptions; minor additions to Suggests: + Matthew Hawkins has provided invaluable feedback here. Thanks!!! + + * The "fix all those typos" release. + - Shin-young Yune: -director-pgsql.postinst + - typos in -director-{my,pg}sql 's postinst scripts + - typos in dh_link commands to get manpages installed + + * Misc fixes + - /var/lib/bacula absent from -director-common (Closes: #270196) + - /usr/share/bacula-common/defconfig dir was empty! + - grant_pgsql_privileges missing from -director-common + - adjusted dependencies so that meta-packages can be upgraded + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Wed, 2 Sep 2004 12:36:51 +0200 + +bacula (1.34.5-1) unstable; urgency=high + + * Urgency high, because: + - TLS libraries from libc6-i686 no longer break bacula. (Closes: #250351) + + * New upstream version (Closes: #242725, #242735) + - Supports PostgreSQL for the catalog (Closes: #252244) + - Supports backup to disk. + - Supports backing up ACLs (enabled in this package) + - Several minor bugfixes since 1.34.2 + + * Completely redone, much more efficient, build system. Contributed by + Turbo Fredriksson and adapted by me: now only the + "flavor-dependent"(cats,dird,tools) are rebuilt, instead of the full + package. The scripts are also generated from 'rules' instead. + + * Several upstream enhancements/changes; + + Database schema changes: `postinst' will try to upgrade MySQL & SQLite + + Added PostgreSQL support for the catalog + + Added support for disk-based backups, etc (see Documentation) + + * Security related changes + - More secure password handling in configure/postinst (prompt during postinst, + delete password inmediately) -- breaks unattended installs unless one + uses debconf seeding, sorry; Warnings with lintian/linda, grrr... + - Added TCP wrappers(libwrap) support, after agreement with + Steve Smith (Closes: #245626) + - Ensured proper ownership and permissions for /var/lib/bacula, in order + for the PostgreSQL port to run securely. + + * Upgrade to compiling/linking the console against Gnome2; + renamed to bconsole-gnome to avoid namespace pollution (Closes: #246953) + + * Added wxWindows console version, bacula-wxconsole. + + * Moved bcopy,bls,bextract,bscan,btape manpages to sect 8 - lintian's advice. + - Fix minor error in bconsole's displayed usage (Closes: #254427) + + * Include bscan.sqlite, bscan.mysql, bscan.pgsql in bacula-sd, under /usr/lib + so that data recovery can be attempted with the supplied package in the event + that the catalog gets damaged; As politely asked by Christof Lehmann, and + later by Tilo Levante (Closes: #255059) + + * PostgreSQL port of the maintainer scripts, merged from contributions by + Alvaro Hernandez Tortosa and + Philipp Matthias Hahn . Many thanks!. + + * Merged enhancements/patches by PMHahn: PgSQL support, docs, + maint. scripts, debian/rules. I owe you one. + + * Added pt_BR translation, by (Closes: #254110) + + * Misc minor bugfixes: + - Restart breakage if not running (Closes: #252360) + - Fixed wrong paths in scripts: added "flavor-independent" catalog backup + script for bacula-sd (Closes: #250863) + - Depend on exim4|mail-transport-agent (Closes: #255340) + + * Package sponsored by Filip Van Raemdonck + + -- Jose Luis Tallon Sun, 29 Aug 2004 19:08:51 +0200 + +bacula (1.32f-5-3.1) unstable; urgency=high + + * NMU - acknowledged. + + * Changes from NMUer Filip Van Raedmdonck: + - Build database specific catalog backup script and install it in the + respective packages. This fixes tests and paths. (Closes: #250863) + - Build GNOME 2 console. (Closes: #264975) + Rename to gnome-bconsole to avoid namespace pollution. (Closes: #246953) + - Retitle the menu entry to avoid conflict with the textual one, point it to + the right config file location and run it with help of gksu. + - Add Brazilian Portuguese debconf template translation. (Closes: #254110) + - Depend on exim4 instead of exim. (Closes: #255340) + + -- Filip Van Raemdonck Mon, 11 Aug 2004 18:42:34 +0200 + +bacula (1.32f-5-3) unstable; urgency=low + + * Added *real* DE translation and some enhancements to the manual pages, + submitted by Philipp Hahn . Thanks! (Closes: #246676) + + * Fix permissions problem in -director-sqlite's postinst (Closes: #246955) + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Sun, 2 May 2004 23:58:06 +0100 + +bacula (1.32f-5-2) unstable; urgency=low + + * Create '/var/lib/bacula/bacula.db' in postinst (Closes: #243983) + + * Fix dependency goofup which made the 'bacula' meta-package uninstallable (Closes: #245259) + + * Changed architecture for 'bacula', 'bacula-client' and 'bacula-server' + meta-packages from 'any' to 'all'. Thanks to Linda ;) + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Wed, 21 Apr 2004 12:48:01 +0100 + +bacula (1.32f-5-1) unstable; urgency=low + + * Do not provide same file as conserver-client: moved /usr/bin/console + to /usr/bin/bconsole. (Closes: #240282) + + * Added menu entries for 'bacula-console' & 'bacula-console-gnome'. + + * Added French translation of Bacula's templates (Closes: #238190) + * Added Dutch translation of Bacula's templates (Closes: #241310) + Thanks, guys!!! + + * Since Katie does not understand tham i am myself ;) when comparing my + name in changelog[UTF-8] & control[7bit ascii], remove accentuated vowels. + + * Fix wrong substitutions in FD scripts: provide customized + {start,stop}mysql scripts for Debian (Closes: #238630) + + * Tweak dependencies, so that one can install the "everything" + meta-package(`bacula_x.yy-*.deb') with the MySQL version of the director + [depend on the 'bacula-director' virtual package] (Closes: #240005) + + * Package sponsored by Roberto Lumbreras + + -- Jose Luis Tallon Mon, 12 Apr 2004 22:03:19 +0200 + +bacula (1.32f-4-3) unstable; urgency=low + + * Fix typo in bacula-director-sqlite.postinst introduced in the previous + upload. Cosmetic enhancement when reinstalling/upgrading: avoid error + messages from SQLite. + + * Package sponsored by Roberto Lumbreras + + -- José Luis Tallón Sun, 14 Mar 2004 01:18:31 +0100 + +bacula (1.32f-4-2) unstable; urgency=low + + * Add missing logic to bacula-director-sqlite's postinst so that + configuration succeeds (Closes: #236126) + + * Fix compilation problem in Alpha platform (var.c file) + + * Package sponsored by Roberto Lumbreras + + -- José Luis Tallón Sat, 13 Mar 2004 21:39:33 +0100 + +bacula (1.32f-4-1) unstable; urgency=low + + * Do *not* depend on OpenSSL, since it is not really needed, as confirmed + by upstream. + + * Increase robustnes in bacula-director-mysql's postinst: succeed + also when MySQL runs at localhost and network connectivity is disabled. + + * Increase robustness & polish some rough edges in the 'config' script: + detect whether tables are created and act accordingly. + + * Make bacula-director-mysql *restart* bacula if there was a previous + version installed, do *stop* it on remove. + + * Increase robustness of bacula-director-common's initscript : killall -15 + if start-stop-daemon --stop did not succeed. + + * Fix packaging bug in bacula-console introduced with prev. release changes. + + * Fix several typos/leftovers from package polishing lately: mostly + forgetting to update vars to reflect changes in file location/name + + * New upstream version + + * RFP/ITP fullfilled (Closes: bug#188946) + + * Package sponsored by Roberto Lumbreras + + * Moved /usr/sbin/console to /usr/sbin/bacula-console, and provided a + wrapper script so that it gets called with appropiate arguments, as a + convenience to users. Added corresponding manpage (linked to console.1) + + * Previous changes, before first upload to the Debian archive: + + - bacula (1.32f-3-1) 28 Jan 2004 + + * Fixed a typo in bacula-director-mysql, which made postinst stomp on + existing configuration file. Noticed by Dick Middleton. + Robustness features in bacula-director-mysql.postinst. + + * Slightly better manpages. + + * Readied for first upload to Debian's archive. + + - bacula (1.32b-5) 24 Dec 2003 + + * Completely revamped the bacula-director-mysql postinst, based + upon suggestions/debugging by Frank Lenaerts. + Most work was done during the DebConf-ES, with assistance from + Alvaro Hernandez Tortosa + + * Added "chmod 755" for scripts in the patches subdir to rules, + fixing a sure FTBFS bug. Pointed by Frank Lenaerts + + + - bacula (1.32b-4) 23 Nov 2003 + + * Polished 'purge' behaviour[postrm scripts] -- do remove files. + + * Updated Build-Depends & debian/rules to better comply with policy, + following advice from Roberto Lumbreras + + * Strengthened permissions on /etc/bacula and FD/SD/Director config + files, to avoid giving away passwords to local users and thus + avoid attacks. Problem reported/solution suggested by Frank + Lenaerts. + + * Verified dependencies, loosened a bit so that backporting is easier. + Suggested by Frank Lenaerts + + - bacula (1.32b-3) 10 Nov 2003 + + * Fixed several little packaging bugs: + - Dir & SD ports were mistakenly exchanged. + - SD privileges were a little too low. + - Gnome-Console's config file was missing. + + - bacula (1.32b-2) 6 Nov 2003 + + * Polished Packaging a little bit + + * Fixed daemon stop bug, based on suggestions + by Matthieu Racine + + * bacula-common's postinst now adds needed entries to /etc/services + + - bacula (1.32b-1) 19 Oct 2003 + + * Initial Packaging: 12 binary packages built + + -- José Luis Tallón Wed, 18 Feb 2004 00:04:11 +0100 + --- bacula-1.38.11.orig/debian/bacula-director-pgsql.manpages +++ bacula-1.38.11/debian/bacula-director-pgsql.manpages @@ -0,0 +1,2 @@ +debian/manpages/bacula-dir.8 +debian/manpages/dbcheck.8 --- bacula-1.38.11.orig/debian/bacula-fd.init +++ bacula-1.38.11/debian/bacula-fd.init @@ -0,0 +1,70 @@ +#!/bin/sh +# +# bacula-fd SysV init script for Bacula-FD. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux by Ian Murdock . +# Customized for Bacula by Jose Luis Tallon +# +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/bacula-fd +NAME="bacula-fd" +PORT=9102 +DESC="Bacula File daemon" +ARGS="-c /etc/bacula/bacula-fd.conf" + +test -f $DAEMON || exit 0 + +set -e + +if [ -n "`getent services bacula-fd`" ]; then + PORT=`getent services bacula-fd | awk '{ gsub("/tcp","",$2); print $2; }'` +fi + +PIDFILE=/var/run/bacula/$NAME.$PORT.pid + +create_var_run_dir() +{ + if [ ! -d /var/run/bacula/ ]; then + mkdir -p -m 0755 /var/run/bacula/ + chown bacula:daemon /var/run/bacula/ + fi +} + +case "$1" in + start) + if [ -f /etc/bacula/do_not_run ]; then + echo "Not starting $DESC: disabled via /etc/bacula/do_not_run" + exit 0 + fi + + echo -n "Starting $DESC: " + create_var_run_dir + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + echo "$NAME." + ;; + + restart|force-reload) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + sleep 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-mysql.manpages +++ bacula-1.38.11/debian/bacula-director-mysql.manpages @@ -0,0 +1,2 @@ +debian/manpages/bacula-dir.8 +debian/manpages/dbcheck.8 --- bacula-1.38.11.orig/debian/bacula-console.postrm +++ bacula-1.38.11/debian/bacula-console.postrm @@ -0,0 +1,47 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +CONSOLE=/usr/sbin/bacula-console +CFGDIR=/etc/bacula +CFGFILE="bconsole.conf" + +case "$1" in + purge) + rm -f $CFGDIR/$CFGFILE.* + ;; + + remove) + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/Makefile +++ bacula-1.38.11/debian/Makefile @@ -0,0 +1,13 @@ +# +# +.PHONY: dummy + +SUBDIRS=additions manpages patches po + + +tidy: dummy + rm -f *~ + +mrproper: tidy + for dir in ${SUBDIRS}; do $(MAKE) -C $$dir tidy; done + --- bacula-1.38.11.orig/debian/bacula-director-mysql.config +++ bacula-1.38.11/debian/bacula-director-mysql.config @@ -0,0 +1,33 @@ +#!/bin/sh +# config script for bacula-dir ( MySQL flavor ) + +. /usr/share/debconf/confmodule +db_version 2.0 + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then + dbc_first_version=1.38.9-3 + dbc_dbuser=bacula + dbc_dbname=bacula + . /usr/share/dbconfig-common/dpkg/config.mysql + dbc_go bacula-director-mysql $@ +fi + +db_title "Bacula Director" + +set -e + +case "$1" in + configure) + ;; + + reconfigure) + ;; + + *) + echo "config called with unknown argument \$1'" >&2 + exit 0 + ;; +esac + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.dirs +++ bacula-1.38.11/debian/bacula-director-sqlite3.dirs @@ -0,0 +1,3 @@ +usr/sbin +usr/lib/bacula +etc/bacula --- bacula-1.38.11.orig/debian/bacula-sd.init +++ bacula-1.38.11/debian/bacula-sd.init @@ -0,0 +1,70 @@ +#!/bin/sh +# +# bacula-fd SysV init script for Bacula-FD. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux by Ian Murdock +# Customized for Bacula by Jose Luis Tallon +# +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/bacula-sd +NAME="bacula-sd" +PORT=9103 +DESC="Bacula Storage daemon" +ARGS="-c /etc/bacula/bacula-sd.conf -u bacula -g tape" + +test -f $DAEMON || exit 0 + +set -e + +if [ -n "`getent services bacula-sd`" ]; then + PORT=`getent services bacula-sd | awk '{ gsub("/tcp","",$2); print $2; }'` +fi + +PIDFILE=/var/run/bacula/$NAME.$PORT.pid + +create_var_run_dir() +{ + if [ ! -d /var/run/bacula/ ]; then + mkdir -p 0755 /var/run/bacula/ + chown bacula:daemon /var/run/bacula/ + fi +} + +case "$1" in + start) + if [ -f /etc/bacula/do_not_run ]; then + echo "Not starting $DESC: disabled via /etc/bacula/do_not_run" + exit 0 + fi + + echo -n "Starting $DESC: " + create_var_run_dir + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + echo "$NAME." + ;; + + restart|force-reload) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + sleep 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-mysql.postrm +++ bacula-1.38.11/debian/bacula-director-mysql.postrm @@ -0,0 +1,63 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_version 2.0 + + dbc_first_version=1.38.9-3 + dbc_dbuser=bacula + dbc_dbname=bacula +fi + +if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then + . /usr/share/dbconfig-common/dpkg/postrm.mysql + dbc_go bacula-director-mysql $@ +fi + + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +CONFFILE=/etc/bacula/bacula-dir.conf + +case "$1" in + purge) + rm -f $CONFFILE $CONFFILE.dist + # Drop Bacula's user privileges? Can't do + # Potentially, drop DB ... Can't do? + db_purge + ;; + + remove) + ;; + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-mysql.prerm +++ bacula-1.38.11/debian/bacula-director-mysql.prerm @@ -0,0 +1,49 @@ +#! /bin/sh +# prerm script for bacula +# +# see: dh_installdeb(1) + +. /usr/share/debconf/confmodule + +dbc_first_version=1.38.9-3 +dbc_dbuser=bacula +dbc_dbname=bacula + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then + . /usr/share/dbconfig-common/dpkg/prerm.mysql + dbc_go bacula-director-mysql $@ +fi + + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + /usr/sbin/invoke-rc.d bacula-director stop + ;; + upgrade) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-sd.postinst +++ bacula-1.38.11/debian/bacula-sd.postinst @@ -0,0 +1,63 @@ +#! /bin/bash +# postinst script for bacula-sd +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +SRCDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CONFIG="bacula-sd.conf" + + +case "$1" in + configure) + + if [ ! -f $DSTDIR/$CONFIG ]; then TARGET=$DSTDIR/$CONFIG + else TARGET=$DSTDIR/$CONFIG.dist; fi + + sed -e s~@hostname@~`hostname`~ < $SRCDIR/$CONFIG > $TARGET + + # Harden permissions, so that passwords can not be looked at + chown bacula:bacula $DSTDIR/$CONFIG + chmod 640 $DSTDIR/$CONFIG + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/bacula-director-sqlite.install +++ bacula-1.38.11/debian/bacula-director-sqlite.install @@ -0,0 +1,5 @@ +debian/tmp-install-sqlite/etc/bacula/scripts/make_sqlite_tables usr/share/bacula-director +debian/tmp-install-sqlite/etc/bacula/scripts/update_sqlite* usr/share/bacula-director +debian/tmp-install-sqlite/etc/bacula/scripts/*catalog_backup etc/bacula/scripts +debian/tmp-install-sqlite/usr/sbin/bacula-dir usr/sbin +debian/tmp-install-sqlite/usr/sbin/dbcheck usr/sbin --- bacula-1.38.11.orig/debian/bacula-common.postinst +++ bacula-1.38.11/debian/bacula-common.postinst @@ -0,0 +1,58 @@ +#! /bin/sh +# postinst script for bacula-director-common +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + chown bacula:daemon /var/run/bacula + chmod 755 /var/run/bacula + chown bacula:bacula /var/lib/bacula + chmod 700 /var/lib/bacula + chown bacula:adm /var/log/bacula + chmod 750 /var/log/bacula + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/bacula-director-mysql.postinst +++ bacula-1.38.11/debian/bacula-director-mysql.postinst @@ -0,0 +1,83 @@ +#! /bin/bash +# postinst script for bacula-director-mysql +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +LOGDIR=/var/log/bacula +POSTINST_COMMON=/usr/share/bacula-director/postinst-common +DEFCONFIG=/usr/share/bacula-common/defconfig +CFGFILE=/etc/bacula/bacula-dir.conf + +. /usr/share/debconf/confmodule +dbc_first_version=1.38.9-3 +dbc_dbuser=bacula +dbc_dbname=bacula + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then + . /usr/share/dbconfig-common/dpkg/postinst.mysql + dbc_go bacula-director-mysql $@ +fi + +case "$1" in +configure) + + # PreProcess configuration + echo -n "Processing configuration ..." + . /etc/dbconfig-common/bacula-director-mysql.conf + TARGET=$CFGFILE.dpkg-tmp + + sed -e "s/dbname = bacula;/dbname = $dbc_dbname; DB Address = \"$dbc_dbserver\";/" \ + -e "s/@db_user@/$dbc_dbuser/" -e "s/@db_pswd@/$dbc_dbpass/" \ + $DEFCONFIG/bacula-dir.conf > $TARGET + + /bin/bash $POSTINST_COMMON + + echo "Ok." + ;; + +abort-upgrade|abort-remove|abort-deconfigure) + + ;; + +*) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# Do start daemon +db_stop + +if [ -n "$2" ]; then + /etc/init.d/bacula-director stop + sleep 1 +fi + +invoke-rc.d --quiet bacula-director start + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-common.links +++ bacula-1.38.11/debian/bacula-director-common.links @@ -0,0 +1,3 @@ +usr/lib/bacula/bsmtp usr/lib/bacula/smtp +usr/lib/bacula/bsmtp usr/sbin/bsmtp +usr/lib/bacula/btraceback usr/sbin/btraceback --- bacula-1.38.11.orig/debian/bacula-director-sqlite.prerm +++ bacula-1.38.11/debian/bacula-director-sqlite.prerm @@ -0,0 +1,40 @@ +#! /bin/sh +# prerm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + /usr/sbin/invoke-rc.d bacula-director stop + ;; + upgrade) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- bacula-1.38.11.orig/debian/bacula-traymonitor.dirs +++ bacula-1.38.11/debian/bacula-traymonitor.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/pixmaps --- bacula-1.38.11.orig/debian/bacula-console-gnome.postinst +++ bacula-1.38.11/debian/bacula-console-gnome.postinst @@ -0,0 +1,59 @@ +#! /bin/sh +# postinst script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +SRCDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CONFIG="gnome-console.conf" + +case "$1" in + configure) + + if [ ! -f $DSTDIR/$CONFIG ]; then TARGET=$DSTDIR/$CONFIG + else TARGET=$DSTDIR/$CONFIG.dist; fi + + sed -e "s~@hostname@~`hostname`~" < $SRCDIR/$CONFIG > $TARGET + + chown root:bacula $DSTDIR/$CONFIG + chmod 640 $DSTDIR/$CONFIG + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/compat +++ bacula-1.38.11/debian/compat @@ -0,0 +1 @@ +4 --- bacula-1.38.11.orig/debian/bacula-sd.dirs +++ bacula-1.38.11/debian/bacula-sd.dirs @@ -0,0 +1,5 @@ +usr/sbin +usr/lib/bacula +var/lib/bacula +var/run/bacula +etc/bacula --- bacula-1.38.11.orig/debian/NEWS +++ bacula-1.38.11/debian/NEWS @@ -0,0 +1,10 @@ +bacula (1.38.9-3) unstable; urgency=low + + * Welcome to the 1.38 series of Bacula. + + This version of Bacula in Debian introduces some significant changes in the + Debian packages. PostgreSQL director packages and MySQL packages + have already switched to using dbconfig-common. And new Sqlite3 + packages are available. + + -- John Goerzen Thu, 11 May 2006 06:46:55 -0500 --- bacula-1.38.11.orig/debian/bacula-traymonitor.install +++ bacula-1.38.11/debian/bacula-traymonitor.install @@ -0,0 +1,2 @@ +debian/tmp-install-sqlite/usr/sbin/bacula-tray-monitor usr/bin +src/tray-monitor/generic.xpm usr/share/pixmaps/bacula-traymonitor.xpm --- bacula-1.38.11.orig/debian/bacula-director-sqlite.templates +++ bacula-1.38.11/debian/bacula-director-sqlite.templates @@ -0,0 +1,16 @@ +Template: bacula-director-sqlite/create_tables +Type: boolean +Default: true +_Description: Create tables for Bacula's Catalog? + The tables needed for Bacula's catalog are missing. This is normal + for a fresh install of Bacula. + . + These tables are needed for the Bacula director to function. + Should these tables be automatically set up for you? + +Template: bacula-director-sqlite/remove_catalog_on_purge +Type: boolean +Default: false +_Description: Remove Catalog on purge? + Do you want the Bacula Catalog to be removed if you purge the + Bacula director? --- bacula-1.38.11.orig/debian/bacula-director-common.install +++ bacula-1.38.11/debian/bacula-director-common.install @@ -0,0 +1,7 @@ +debian/tmp-install-sqlite/usr/sbin/bsmtp usr/lib/bacula +debian/tmp-install-sqlite/etc/bacula/scripts/query.sql etc/bacula/scripts +debian/tmp-install-sqlite/usr/sbin/btraceback usr/lib/bacula +debian/tmp-install-sqlite/etc/bacula/scripts/btraceback.gdb etc/bacula/scripts +debian/tmp-install-sqlite/usr/sbin/bwild usr/sbin +debian/tmp-install-sqlite/usr/sbin/bregex usr/sbin +debian/additions/postinst-common usr/share/bacula-director --- bacula-1.38.11.orig/debian/bacula-sd-pgsql.install +++ bacula-1.38.11/debian/bacula-sd-pgsql.install @@ -0,0 +1,2 @@ +debian/tmp-install-pgsql/usr/sbin/bscan usr/bin +debian/tmp-install-pgsql/usr/sbin/bcopy usr/bin --- bacula-1.38.11.orig/debian/bacula-director-pgsql.install +++ bacula-1.38.11/debian/bacula-director-pgsql.install @@ -0,0 +1,6 @@ +debian/tmp-install-pgsql/etc/bacula/scripts/make_postgresql_tables usr/share/bacula-director +debian/tmp-install-pgsql/etc/bacula/scripts/grant_postgresql_privileges usr/share/bacula-director +debian/tmp-install-pgsql/etc/bacula/scripts/update_postgres* usr/share/bacula-director +debian/tmp-install-pgsql/etc/bacula/scripts/*catalog_backup etc/bacula/scripts +debian/tmp-install-pgsql/usr/sbin/bacula-dir usr/sbin +debian/tmp-install-pgsql/usr/sbin/dbcheck usr/sbin --- bacula-1.38.11.orig/debian/rules +++ bacula-1.38.11/debian/rules @@ -0,0 +1,340 @@ +#!/usr/bin/make -f +# debian/rules for Bacula +# based upon dh_make template, copyright 1997 by Joey Hess. +# + +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -g -Wall +INSTALL_PROGRAM = install + +SHELL := bash + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +VARIANTS := sqlite sqlite3 pgsql mysql + +###################################################################### + +NAME=bacula + +# The variant that is used when we install non-variant-specific stuff. +# Only bother building extra consoles and stuff for this one. +DEFAULTVARIANT := sqlite +TEMPLATES = $(wildcard debian/*.templates) +BUILDDIR := $(CURDIR)/debian/tmp-build +INSTALLDIR := $(CURDIR)/debian/tmp-install +DEFAULTINSTALLDIR := $(INSTALLDIR)-$(DEFAULTVARIANT) +DBC := usr/share/dbconfig-common/data/ + +CONF_ALL = --enable-smartalloc \ + --with-python --with-openssl --with-tcp-wrappers \ + --with-libiconv-prefix=/usr/include --with-readline=yes \ + --with-libintl-prefix=/usr/include --with-x --with-readline=yes + +CONF_common = --disable-gnome --disable-wx-console --disable-tray-monitor + +CONF_sqlite = --with-sqlite --without-mysql --without-postgresql --without-sqlite3 \ + --enable-wx-console --enable-tray-monitor \ + --enable-gnome + +CONF_sqlite3 = --with-sqlite3 --without-mysql --without-postgresql --without-sqlite $(CONF_common) +CONF_mysql = --with-mysql --without-sqlite --without-postgresql --without-sqlite3 $(CONF_common) +CONF_pgsql = --with-postgresql --without-sqlite --without-mysql --without-sqlite3 $(CONF_common) + +########################################################################### + +extract: extract-stamp +extract-stamp: $(foreach s,$(VARIANTS),extract-stamp-$(s)) +extract-stamp-%: + @echo " *** DEBIAN *** VARIANT $(*): EXTRACTING to $(BUILDDIR)-$(*)" + mkdir $(BUILDDIR)-$(*) + tar -cSf - --exclude=./_darcs --exclude=./debian . | tar -xSpf - -C $(BUILDDIR)-$(*) + touch $@ + +configure-stamp-%: extract-stamp-% + dh_testdir + @echo " *** DEBIAN *** CONFIGURING VARIANT $*" + cp /usr/share/misc/config.guess /usr/share/misc/config.sub \ + $(BUILDDIR)-$(*)/autoconf/ + cd $(BUILDDIR)-$(*) && \ + $(SHELL) ./configure --config-cache \ + --host=${DEB_HOST_GNU_TYPE} --build=${DEB_BUILD_GNU_TYPE} \ + --prefix=/usr \ + --sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts \ + --sharedstatedir=/var/lib/bacula \ + --localstatedir=/var/lib/bacula \ + --with-pid-dir=/var/run/bacula --with-smtp-host=localhost \ + --with-working-dir=/var/lib/bacula \ + --with-subsys-dir=/var/lock \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + $(CONF_ALL) $(CONF_$(*)) + touch $@ + +build-stamp-%: configure-stamp-% + dh_testdir + @echo " *** DEBIAN *** BUILDING VARIANT $*" + +# Main building process + $(MAKE) -C $(BUILDDIR)-$(*) + +# Grrr... client-only does not build needed db-independent 'bsmtp', 'stored' + $(MAKE) -C $(BUILDDIR)-$(*)/src/tools + $(MAKE) -C $(BUILDDIR)-$(*)/src/stored + + chmod 755 debian/additions/postinst-common + chmod 755 debian/additions/bconsole + + touch $@ + +build-arch: build-stamp +build-stamp: $(foreach v,$(VARIANTS),build-stamp-$(v)) + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: + dh_testdir + + touch $@ + + +build: patch build-arch build-indep debian/po/templates.pot + +############################################### +# Cleaning macro +############################################### + +define clean-upstream +dh_testdir +dh_testroot +$(RM) config.cache +#Grrr... clean up after building "servers" +-for subdir in src/cats src/dird src/stored src/tools \ + scripts/logwatch scripts po; do \ + $(MAKE) -C $$subdir distclean; \ +done + +# Add here commands to clean up after the build process. +-$(MAKE) distclean +endef + +clean: + $(clean-upstream) + + $(RM) autoconf/config.cache autoconf/config.sub autoconf/config.guess autoconf/config.log config.log + + ## unpatch tee.patch + $(SHELL) -c "if test -e patch-stamp; then patch -p0 -R -i debian/patches/tee.patch; fi" + + $(RM) *stamp* + + dh_clean + + $(RM) -r debian/tmp* debian/bacula-doc po/Makefile po/Makefile.in \ + bacula-dir logwatch/Makefile scripts/devel_bacula \ + scripts/disk-changer scripts/bacula-tray-monitor.desktop \ + src/cats/create_sqlite3_database \ + src/cats/drop_sqlite3_database src/cats/drop_sqlite3_tables \ + src/cats/grant_sqlite3_privileges src/cats/make_sqlite3_tables \ + src/cats/update_sqlite3_tables autoconf/config.log + + -for dir in src/tconsole src/gnome-console src/gnome2-console src/wx-console \ + scripts platforms src/win32 src/win32/pebuilder \ + src/tray-monitor src/stored scripts/logwatch \ + rescue rescue/solaris rescue/freebsd \ + rescue/linux rescue/linux/cdrom rescue/linux/floppy; do \ + $(RM) $$dir/Makefile ;\ + done + $(RM) src/win32/*.nsi + + ## delete all remaining config files + $(RM) `find src -name '*.conf'` + + ## delete ${FLAVORED_BINARIES} + $(RM) $(foreach pkg,$(VARIANTS), src/dird/bacula-dir.$(pkg) src/tools/dbcheck.$(pkg) src/stored/bscan.$(pkg) src/stored/bcopy.$(pkg)) + + #-$(MAKE) -C doc/latex clean + + $(RM) build-arch-flavor-stamp + + $(RM) config.status config.cache config.log config.out + $(RM) autoconf/Make.common Makefile + $(RM) dbcheck bscan bcopy + + $(RM) patch-stamp + + +debian/po/templates.pot: $(TEMPLATES) + @debconf-updatepo + +# Macro to extract a here document and put it in place +# args: 1 -- db name, 2 -- file to extract, 3 -- version +define ext-upgrade +debian/patches/extract_here < $(2) > debian/bacula-director-$(1)/$(DBC)/bacula-director-$(1)/upgrade/$(1)/$(3) +endef + +# Macro to extract a here document for install and put it in place +# args: 1 -- db name, 2 -- file to extract +# We append so we can do the postgresql hack for datestyle +define ext-install +debian/patches/extract_here < $(2) > debian/bacula-director-$(1)/$(DBC)/bacula-director-$(1)/install/$(1) +endef + +install: build install-stamp +install-stamp: build-stamp $(foreach v,$(VARIANTS),install-stamp-$(v)) + dh_installdirs -a + dh_install -pbacula-director-common + + dh_install -pbacula-fd + dh_install -pbacula-console -pbacula-console-gnome -pbacula-console-wx + cp $(DEFAULTINSTALLDIR)/usr/sbin/bconsole debian/bacula-console/usr/sbin/bacula-console + cp $(DEFAULTINSTALLDIR)/usr/sbin/gnome-console debian/bacula-console-gnome/usr/bin/bacula-console-gnome + cp $(DEFAULTINSTALLDIR)/usr/sbin/wx-console debian/bacula-console-wx/usr/bin/bacula-console-wx + +######### dbconfig-common stuff +# PostgreSQL + $(call ext-upgrade,pgsql,updatedb/update_postgresql_tables_7_to_8,1.36.0) + $(call ext-upgrade,pgsql,updatedb/update_postgresql_tables_8_to_9,1.38.0) + echo "ALTER DATABASE _DBC_DBNAME_ SET datestyle TO 'ISO, YMD';" > \ + debian/bacula-director-pgsql/$(DBC)/bacula-director-pgsql/install-dbadmin/pgsql + $(call ext-install,pgsql,src/cats/make_postgresql_tables.in) +# MySQL + $(call ext-upgrade,mysql,updatedb/update_mysql_tables_6_to_7,1.32f-5) + $(call ext-upgrade,mysql,updatedb/update_mysql_tables_7_to_8,1.36.0) + $(call ext-upgrade,mysql,updatedb/update_mysql_tables_8_to_9,1.38.0) + $(call ext-install,mysql,src/cats/make_mysql_tables.in) +# Remove USE bacula -- dbconfig-common selects the database for us + sed -i 's/USE bacula;//' debian/bacula-director-mysql/$(DBC)/bacula-director-mysql/install/mysql +# SQLite + cp updatedb/update_sqlite_tables_[678]* \ + debian/bacula-director-sqlite/usr/share/bacula-director + cp debian/tmp-install-sqlite/etc/bacula/scripts/make_sqlite_tables \ + debian/bacula-director-sqlite/usr/share/bacula-director + sed -i 's./var/bacula./var/lib/bacula.' \ + debian/bacula-director-sqlite/usr/share/bacula-director/update* +# SQLite3 + cp debian/tmp-install-sqlite3/etc/bacula/scripts/make_sqlite3_tables \ + debian/bacula-director-sqlite3/usr/share/bacula-director +# Will need this when it comes time to do SQLite3 updates +# sed -i 's./var/bacula./var/lib/bacula.' \ +# debian/bacula-director-sqlite/usr/share/bacula-director/update* + + dh_link -pbacula-console usr/share/man/man8/bconsole.8.gz usr/share/man/man8/bacula-console.8.gz + + touch $@ + +install-stamp-%: build-stamp-% + @echo " *** DEBIAN *** INSTALLING VARIANT $*" + dh_installdirs -pbacula-director-$(*) + mkdir $(INSTALLDIR)-$(*) + $(MAKE) -C $(BUILDDIR)-$(*) install DESTDIR=$(INSTALLDIR)-$(*) + + dh_install -pbacula-director-$(*) + touch $@ + + +install-indep: build install-stamp + dh_testdir + dh_testroot + dh_install -i + dh_installdirs -i + dh_link -pbacula-director-common + dh_link -pbacula-common var/log/bacula/log var/lib/bacula/log + chmod 755 $(CURDIR)/debian/bacula-director-common/usr/sbin/btraceback + dh_install -pbacula -pbacula-client -pbacula-server + #install doc/html-manual/* \ + # $(CURDIR)/debian/bacula-doc/usr/share/doc/bacula-doc/html-manual + #$(RM) $(CURDIR)/debian/bacula-doc/usr/share/doc/bacula-doc/html-manual/*.wml + for f in bconsole.conf gnome-console.conf wx-console.conf \ + bacula-sd.conf bacula-fd.conf; do \ + debian/patches/fix_config \ + debian/tmp-install-sqlite/etc/bacula/$$f \ + debian/bacula-common/usr/share/bacula-common/defconfig/$$f; \ + done + debian/patches/fix_director \ + debian/tmp-install-sqlite/etc/bacula/bacula-dir.conf \ + debian/bacula-common/usr/share/bacula-common/defconfig/bacula-dir.conf + + +patch: patch-stamp +patch-stamp: + chmod 755 debian/patches/fix_config debian/patches/fix_director \ + debian/patches/extract_here + chmod 755 debian/additions/bconsole + patch -p0 -i debian/patches/tee.patch + + touch patch-stamp + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: build install-indep patch + dh_testdir -i + dh_testroot -i +# dh_installdebconf -i + dh_installdocs -i -X.cvsignore -X1 -X*.wml -X*.inc -X*.list -X*.pl -X*.apf -X*.book + dh_installexamples -i +# dh_installmenu -i + dh_installlogrotate -i +# dh_installinit -i + dh_installcron -i + dh_installman -i + dh_installinfo -i + dh_installchangelogs ChangeLog -i + dh_link -i + dh_compress -i -X.pdf + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + + +# Build architecture-dependent files here. +binary-arch: build install binary-arch-common + +binary-arch-common: DH_OPTIONS= +binary-arch-common: build install + dh_testdir -a + dh_testroot -a + dh_install -a + dh_installdebconf -a + dh_installdocs -a + dh_installexamples -a + dh_installmenu -pbacula-console -pbacula-console-gnome -pbacula-console-wx + dh_installlogrotate -a + dh_installinit -pbacula-sd -- defaults 90 + dh_installinit -pbacula-fd -- defaults 91 + dh_installinit --name=bacula-director -pbacula-director-common --no-start -- defaults 92 +# dh_installcron -a + dh_installman -a + dh_installinfo -a + dh_installchangelogs ChangeLog -a + dh_strip -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install build-arch --- bacula-1.38.11.orig/debian/bacula-director-pgsql.postinst +++ bacula-1.38.11/debian/bacula-director-pgsql.postinst @@ -0,0 +1,97 @@ +#! /bin/bash +# postinst script for bacula-director-pgsql +# by Jose Luis Tallon +# most ideas/code contributed by: +# - Alvaro Hernandez Tortosa +# - Philip Mattias Hahn +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +dbc_first_version=1.38.9-2 +dbc_dbuser=bacula +dbc_dbname=bacula + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then + . /usr/share/dbconfig-common/dpkg/postinst.pgsql + dbc_pgsql_createdb_encoding="SQL_ASCII" + dbc_sql_substitutions="1" + dbc_go bacula-director-pgsql $@ +fi + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +## Globals +CATALOG=bacula +PGSQL=/usr/bin/psql +LOGDIR="/var/log/bacula" +GRANT_SQL_PRIVS="/usr/share/bacula-director/grant_pgsql_privileges" +POSTINST_COMMON="/usr/share/bacula-director/postinst-common" +DEFCONFIG="/usr/share/bacula-common/defconfig" +CFGFILE="/etc/bacula/bacula-dir.conf" +AUTHFILE=`getent passwd bacula | cut -d ':' -f 6`/.pgpass + +case "$1" in +configure) + + + echo -n "Processing configuration ..." + . /etc/dbconfig-common/bacula-director-pgsql.conf + TARGET=$CFGFILE.dpkg-tmp + + if [ "$dbc_install" = "true" ] ; then + sed -e "s/make_catalog_backup bacula bacula/make_catalog_backup -h '$dbc_dbserver' -U $dbc_dbuser/" \ + -e "s/dbname = bacula;/dbname = $dbc_dbname; DB Address = \"$dbc_dbserver\";/" \ + -e "s/@db_user@/$dbc_dbuser/" -e "s/@db_pswd@/$dbc_dbpass/" \ + $DEFCONFIG/bacula-dir.conf > $TARGET + fi + + /bin/sh $POSTINST_COMMON + echo "Ok." + ;; + +abort-upgrade|abort-remove|abort-deconfigure) + + ;; + +*) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +# Do start daemon +db_stop + +if [ -n "$2" ]; then + /etc/init.d/bacula-director stop + sleep 1 +fi + +invoke-rc.d --quiet bacula-director start + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/copyright +++ bacula-1.38.11/debian/copyright @@ -0,0 +1,85 @@ +This package was debianized by Jose Luis Tallon on +Sun, 19 Oct 2003 14:36:45 +0200 and is now maintained by John Goerzen +. + +It was downloaded from http://www.bacula.org + +Upstream Authors: Kern Sibbald and John Walker. + +Trademark: +The name Bacula is a registered trademark. + +=================================== + +License: +For the most part, Bacula is licensed under the GPL version 2 +and any code that is Copyright Kern Sibbald and John Walker or +Copyright Kern Sibbald (after November 2004) with the GPL +indication is so licensed, but with the following four additions: + +Linking: +Bacula may be linked with any libraries permitted under the GPL, +or with any non-GPLed libraries, including OpenSSL, that are +required for its proper functioning, providing the source code of +those non-GPLed libraries is non-proprietary and freely +available to the public. + +IP rights: +Recipient understands that although each Contributor grants the +licenses to its Contributions set forth herein, no assurances are +provided by any Contributor that the Program does not infringe +the patent or other intellectual property rights of any other +entity. Each Contributor disclaims any liability to Recipient +for claims brought by any other entity based on infringement of +intellectual property rights or otherwise. As a condition to +exercising the rights and licenses granted hereunder, each +Recipient hereby assumes sole responsibility to secure any other +intellectual property rights needed, if any. For example, if a +third party patent license is required to allow Recipient to +distribute the Program, it is Recipient's responsibility to +acquire that license before distributing the Program. + +Copyrights: +Each Contributor represents that to its knowledge it has +sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement. + +Code falling under the above conditions will be marked as follows: + + Copyright (C) 2000-2006 Kern Sibbald + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as amended with additional clauses defined in the + file LICENSE in the main source directory. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + the file LICENSE for additional details. + + +Windows: +Certain source code used to build the Windows version of the Bacula +File daemon is copyrighted and or trademarked by Microsoft and may +contain Microsoft intellectual property (examples: Microsoft VC++, the +source to the VSS libraries, the Microsoft C runtime libraries). As +such we cannot and do not distribute that software. We are permitted +however to distribute Bacula in binary form with the necessary Microsoft +libraries linked in. + +You may obtain the parts that we cannot distribute as follows. The +Microsoft compiler available for purchase, and Microsoft provides a free +version of the compiler. The source code and libraries are available for +download from Microsoft public Web servers. We have documented in the +src/win32 directory the URLs from which we obtained the library source, and +how we build the Windows File daemon and many users have succeeded in doing +so themselves. Our intention is to respect as closely as possible Open +Source practices while maintaining full respect for proprietary and +copyrighted code. + + + +On Debian systems, the complete text of the GNU General Public +License and the GNU Lesser General Public License can be found +in /usr/share/common-licenses/. --- bacula-1.38.11.orig/debian/bacula-director-common.postrm +++ bacula-1.38.11/debian/bacula-director-common.postrm @@ -0,0 +1,40 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-sd-sqlite3.manpages +++ bacula-1.38.11/debian/bacula-sd-sqlite3.manpages @@ -0,0 +1,2 @@ +debian/manpages/bcopy.8 +debian/manpages/bscan.8 --- bacula-1.38.11.orig/debian/bacula-sd.prerm +++ bacula-1.38.11/debian/bacula-sd.prerm @@ -0,0 +1,38 @@ +#! /bin/sh +# prerm script for bacula-sd +# + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/bacula.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/bacula-fd.dirs +++ bacula-1.38.11/debian/bacula-fd.dirs @@ -0,0 +1,5 @@ +usr/sbin +var/lib/bacula +var/run/bacula +etc/bacula +etc/bacula/scripts --- bacula-1.38.11.orig/debian/bacula-fd.prerm +++ bacula-1.38.11/debian/bacula-fd.prerm @@ -0,0 +1,38 @@ +#! /bin/sh +# prerm script for bacula-fd +# + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/bacula.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/bacula-console-wx.postinst +++ bacula-1.38.11/debian/bacula-console-wx.postinst @@ -0,0 +1,61 @@ +#! /bin/sh +# postinst script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +SRCDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CFGFILE="wx-console.conf" + +case "$1" in + configure) + + if [ ! -f $DSTDIR/$CFGFILE ]; then TARGET=$DSTDIR/$CFGFILE + else TARGET=$DSTDIR/$CFGFILE.dist; fi + + # bconsole & wx-console use the same config file ;) + sed -e "s~@hostname@~`hostname`~" < $SRCDIR/$CFGFILE > $TARGET + + chown root:bacula $DSTDIR/$CFGFILE + chmod 640 $DSTDIR/$CFGFILE + +# dpkg-statoverride --list $CONSOLE >/dev/null 2>&1 || \ +# dpkg-statoverride --update --add root bacula 750 $CONSOLE >/dev/null 2>&1 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-sd.install +++ bacula-1.38.11/debian/bacula-sd.install @@ -0,0 +1,7 @@ +debian/tmp-install-sqlite/usr/sbin/bacula-sd usr/sbin +debian/tmp-install-sqlite/usr/sbin/bls usr/sbin +debian/tmp-install-sqlite/usr/sbin/bextract usr/sbin +debian/tmp-install-sqlite/usr/sbin/btape usr/sbin +debian/tmp-install-sqlite/etc/bacula/scripts/mtx-changer etc/bacula/scripts +debian/tmp-install-sqlite/etc/bacula/scripts/disk-changer etc/bacula/scripts +debian/tmp-install-sqlite/etc/bacula/scripts/dvd-handler etc/bacula/scripts --- bacula-1.38.11.orig/debian/bacula-director-mysql.dirs +++ bacula-1.38.11/debian/bacula-director-mysql.dirs @@ -0,0 +1,5 @@ +usr/sbin +usr/lib/bacula +etc/bacula +usr/share/dbconfig-common/data/bacula-director-mysql/upgrade/mysql +usr/share/dbconfig-common/data/bacula-director-mysql/install --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.install +++ bacula-1.38.11/debian/bacula-director-sqlite3.install @@ -0,0 +1,5 @@ +debian/tmp-install-sqlite3/etc/bacula/scripts/make_sqlite*tables usr/share/bacula-director +debian/tmp-install-sqlite3/etc/bacula/scripts/update_sqlite* usr/share/bacula-director +debian/tmp-install-sqlite3/etc/bacula/scripts/*catalog_backup etc/bacula/scripts +debian/tmp-install-sqlite3/usr/sbin/bacula-dir usr/sbin +debian/tmp-install-sqlite3/usr/sbin/dbcheck usr/sbin --- bacula-1.38.11.orig/debian/bacula-director-pgsql.dirs +++ bacula-1.38.11/debian/bacula-director-pgsql.dirs @@ -0,0 +1,6 @@ +usr/sbin +usr/lib/bacula +etc/bacula +usr/share/dbconfig-common/data/bacula-director-pgsql/upgrade/pgsql +usr/share/dbconfig-common/data/bacula-director-pgsql/install +usr/share/dbconfig-common/data/bacula-director-pgsql/install-dbadmin --- bacula-1.38.11.orig/debian/bacula-sd-sqlite.manpages +++ bacula-1.38.11/debian/bacula-sd-sqlite.manpages @@ -0,0 +1,2 @@ +debian/manpages/bcopy.8 +debian/manpages/bscan.8 --- bacula-1.38.11.orig/debian/bacula-fd.postinst +++ bacula-1.38.11/debian/bacula-fd.postinst @@ -0,0 +1,63 @@ +#! /bin/bash +# postinst script for bacula-fd +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +SRCDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CONFIG="bacula-fd.conf" + + +case "$1" in + configure) + + if [ ! -f $DSTDIR/$CONFIG ]; then TARGET=$DSTDIR/$CONFIG + else TARGET=$DSTDIR/$CONFIG.dist; fi + + sed -e s~@hostname@~`hostname`~ < $SRCDIR/$CONFIG > $TARGET + + # Harden permissions, so that passwords can not be looked at + chown root:root $DSTDIR/$CONFIG + chmod 640 $DSTDIR/$CONFIG + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.postrm +++ bacula-1.38.11/debian/bacula-director-sqlite3.postrm @@ -0,0 +1,46 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +CONFFILE=/etc/bacula/bacula-dir.conf +case "$1" in + purge) + rm -f $CONFFILE $CONFFILE.dist + db_purge + ;; + remove) + ;; + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-sd-mysql.manpages +++ bacula-1.38.11/debian/bacula-sd-mysql.manpages @@ -0,0 +1,2 @@ +debian/manpages/bcopy.8 +debian/manpages/bscan.8 --- bacula-1.38.11.orig/debian/bacula-console-gnome.dirs +++ bacula-1.38.11/debian/bacula-console-gnome.dirs @@ -0,0 +1,4 @@ +usr/bin +etc/bacula +usr/share/applications +usr/share/icons/gnome --- bacula-1.38.11.orig/debian/bacula-console-wx.menu +++ bacula-1.38.11/debian/bacula-console-wx.menu @@ -0,0 +1,2 @@ +?package(bacula-wxconsole):needs="X11" section="Apps/System" \ + title="Bacula wxConsole" command="/usr/bin/bacula-console-wx -c /etc/bacula/wx-console.conf" --- bacula-1.38.11.orig/debian/po/templates.pot +++ bacula-1.38.11/debian/po/templates.pot @@ -0,0 +1,53 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" --- bacula-1.38.11.orig/debian/po/pt_BR.po +++ bacula-1.38.11/debian/po/pt_BR.po @@ -0,0 +1,83 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: bacula\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2006-07-04 00:29-0300\n" +"Last-Translator: Felipe Augusto van de Wiel (faw) \n" +"Language-Team: l10n portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Criar as tabelas para o Catálogo do Bacula ?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"As tabelas necessárias para o catálogo do Bacula estão faltando. Isso é " +"normal para uma nova instalação do Bacula." + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" +"Essas tabelas são necessárias para que o \"Bacula director\" funcione. As " +"mesmas devem ser criadas automaticamente para você ?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Remover Catálogo ao expurgar o pacote ?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" +"Você deseja que o Catálogo do Bacula seja removido caso você expurge (remova " +"com a opção \"purge\") o \"Bacula director\" ?" + +#~ msgid "" +#~ "Warning: This is not undoable. Once you remove the catalog, you won't be " +#~ "able to restore your backups unless you have another copy of the catalog " +#~ "at hand." +#~ msgstr "" +#~ "Aviso : Isso é perigoso. Uma vez que o catálogo tenha sido removido, não " +#~ "será mais possível restaurar seus backups a menos que você tenha uma " +#~ "outra cópia da caálogo em mãos." + +#~ msgid "" +#~ "Shall I remove the Catalog / SQLite database at package purge time? This " +#~ "will free all the used space." +#~ msgstr "" +#~ "O Catálogo / base de dados SQLite deverá ser removido quando o pacote do " +#~ "Bacula for expurgado ? Isso irá liberar todo o espaço ocupado." --- bacula-1.38.11.orig/debian/po/fr.po +++ bacula-1.38.11/debian/po/fr.po @@ -0,0 +1,67 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Initial translator: Eric Madesclair +msgid "" +msgstr "" +"Project-Id-Version: bacula\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2006-05-25 15:04+0200\n" +"Last-Translator: Thomas Huriaux \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Faut-il créer les tables du catalogue de Bacula ?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Les tables nécessaires au catalogue de Bacula sont absentes. Cette situation " +"est normale pour une nouvelle installation." + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" +"Ces tables sont nécessaires pour le bon fonctionnement de Bacula. Choisissez " +"cette option pour configurer automatiquement ces tables." + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Faut-il supprimer le catalogue lors de la purge du paquet ?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" +"Choisissez cette option pour supprimer le catalogue de Bacula lors de la " +"purge du « Director » de Bacula." --- bacula-1.38.11.orig/debian/po/Makefile +++ bacula-1.38.11/debian/po/Makefile @@ -0,0 +1,6 @@ +# +.PHONY: dummy + + +tidy: dummy + rm -f *~ --- bacula-1.38.11.orig/debian/po/pt.po +++ bacula-1.38.11/debian/po/pt.po @@ -0,0 +1,58 @@ +# Portuguese Translation for bacula debconf messages +# This file is distributed under the same license as the bacula package. +# Ricardo Silva , 2006 +# +# +msgid "" +msgstr "" +"Project-Id-Version: bacula 1.38.11-1\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2006-07-31 20:03+0100\n" +"Last-Translator: Ricardo Silva \n" +"Language-Team: Native Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Criar tabelas para o Catálogo do Bacula?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"As tabelas necessárias para o catálogo do Bacula não existem. Isto é normal " +"para uma instalação fresca do Bacula." + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" +"Estas tabelas são necessárias para o director do Bacula funcionar. Devem " +"estas tabelas ser automaticamente criadas?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Remover o Catálogo aquando da eliminação?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" +"Deseja que o Catálogo do Bacula seja removido se eliminar o director do " +"Bacula?" --- bacula-1.38.11.orig/debian/po/es.po +++ bacula-1.38.11/debian/po/es.po @@ -0,0 +1,80 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2004-09-08 03:35+CET\n" +"Last-Translator: Jose Luis Tallon \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "¿Crear las tablas para el catálogo?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +#, fuzzy +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Hemos detectado que las tablas necesarias para contener el catálogo de " +"Bacula no están accesibles (tiene pinta de tratarse de una instalación " +"nueva). ¿Debo crearlas ahora?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "¿Borrar el catálogo al eliminar el paquete?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" + +#~ msgid "" +#~ "Warning: This is not undoable. Once you remove the catalog, you won't be " +#~ "able to restore your backups unless you have another copy of the catalog " +#~ "at hand." +#~ msgstr "" +#~ "Advertencia: Esta acción no se puede deshacer. Una vez que se elimine el " +#~ "catálogo, no podrá restaurar sus copias de seguridad a menos que disponga " +#~ "de otra copia del catálogo." + +#~ msgid "" +#~ "Shall I remove the Catalog / SQLite database at package purge time? This " +#~ "will free all the used space." +#~ msgstr "" +#~ "¿Debo borrar el catálogo cuando se elimine el paquete? Esto liberará todo " +#~ "el espacio utilizado por el catálogo." --- bacula-1.38.11.orig/debian/po/de.po +++ bacula-1.38.11/debian/po/de.po @@ -0,0 +1,80 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: bacula 1.34.0\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2004-ß4-29 22:59+0100\n" +"Last-Translator: Philipp Hahn \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Tabellen für Baculas Katalog erzeugen?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +#, fuzzy +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Es wurde festgestellt, daß die für Baculas Katalog benötigten Tabellen " +"fehlen (es handelt sich evtl. um eine neue Installation). Sollen sie jetzt " +"erzeugt werden?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Katalog beim Entfernen löschen?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" + +#~ msgid "" +#~ "Warning: This is not undoable. Once you remove the catalog, you won't be " +#~ "able to restore your backups unless you have another copy of the catalog " +#~ "at hand." +#~ msgstr "" +#~ "Warnung: Dies kann nicht rückgängig gemacht werden. Sobald der Katalog " +#~ "entfernt ist, können keine Backups mehr wiederhergestellt werden, außer " +#~ "es existiert noch eine Kopie des Katalogs." + +#~ msgid "" +#~ "Shall I remove the Catalog / SQLite database at package purge time? This " +#~ "will free all the used space." +#~ msgstr "" +#~ "Soll der Katalog / SQLite Datenbanken beim Löschen des Pakets entfernt " +#~ "werden? Dies wird allen belegten Speicher freigeben." --- bacula-1.38.11.orig/debian/po/sv.po +++ bacula-1.38.11/debian/po/sv.po @@ -0,0 +1,81 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: bacula 1.36.3-2\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2005-11-14 22:11+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: swe\n" +"X-Poedit-Country: swe\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Skapa tabeller för Bacula:s katalog?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +#, fuzzy +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Jag har detekterat att tabellerna som behövs för Bacula-katalogen saknas " +"(detta är antagligen en färsk installation). Ska jag skapa dom nu?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Ta bort katalog vid avinstallation?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" + +#~ msgid "" +#~ "Warning: This is not undoable. Once you remove the catalog, you won't be " +#~ "able to restore your backups unless you have another copy of the catalog " +#~ "at hand." +#~ msgstr "" +#~ "Varning: Detta är permanent. När du en gÃ¥ng tagit bort katalogen kommer " +#~ "du inte kunna Ã¥terställa dina säkerhetskopior om du inte har en annan " +#~ "kopia av katalogen till hands." + +#~ msgid "" +#~ "Shall I remove the Catalog / SQLite database at package purge time? This " +#~ "will free all the used space." +#~ msgstr "" +#~ "Ska jag ta bort katalogen/SQLite-databasen när paketet rensas ut? Detta " +#~ "kommer att lämna tillbaka all använd diskplats." --- bacula-1.38.11.orig/debian/po/vi.po +++ bacula-1.38.11/debian/po/vi.po @@ -0,0 +1,70 @@ +# Vietnamese translation for bacula. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: bacula 1.36.3-1\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2005-06-12 17:12+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Tạo bảng cho phân loại của Bacula không?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +#, fuzzy +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Thiếu bảng cần đến cho phân loại Bacula (rất có thể là lần cài đặt ban đầu). " +"Bạn có muốn tạo những bảng ấy ngay bây giá» không?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Loại bá» phân loại khi tẩy không?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" + +#~ msgid "" +#~ "Warning: This is not undoable. Once you remove the catalog, you won't be " +#~ "able to restore your backups unless you have another copy of the catalog " +#~ "at hand." +#~ msgstr "" +#~ "Cảnh báo: không thể hủy bÆ°á»›c này. Má»™t khi đã loại bá» phân loại, không thể " +#~ "phục hồi bản lÆ°u trữ, trừ bạn có má»™t bản sao phân loại nữa." + +#~ msgid "" +#~ "Shall I remove the Catalog / SQLite database at package purge time? This " +#~ "will free all the used space." +#~ msgstr "" +#~ "Bạn có muốn loại phân loại /bá» cÆ¡ sở dữ liệu SQLite khi tẩy gói tin này? " +#~ "Làm nhÆ° thế sẽ giải phóng các sức chứa đã dùng." --- bacula-1.38.11.orig/debian/po/cs.po +++ bacula-1.38.11/debian/po/cs.po @@ -0,0 +1,68 @@ +# translation of bacula_1.38.11-6_cs-utf8.po to czech +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Jakub Kasparec , 2006. +msgid "" +msgstr "" +"Project-Id-Version: bacula_1.38.11-6_cs-utf8\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2006-10-12 21:26+0200\n" +"Last-Translator: Jakub Kasparec \n" +"Language-Team: czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "PÅ™ejete si vytvoÅ™it tabulky pro katalog Baculy?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Zjistil jsem, že chybí tabulky potÅ™ebné pro katalog Baculy (pravdÄ›podobnÄ› " +"instalujete Baculu prvnÄ›)." + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" +"Tyto tabulky jsou potÅ™eba pro správnou funkci balíku Bacula director. Mám " +"pro vás tyto tabulky automaticky nastavit?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Odebrat pÅ™i odstraňování balíku také katalog?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" +"PÅ™ejete si odebrat také katalog Baculy pÅ™i odstranÄ›ní balíku Bacula director?" --- bacula-1.38.11.orig/debian/po/nl.po +++ bacula-1.38.11/debian/po/nl.po @@ -0,0 +1,73 @@ +# translation of bacula 1.38.9-10_templates.po to Dutch +# This file is distributed under the same license as the bacula package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Luk Claes , 2004 +# Kurt De Bree , 2006 +# This is an unofficial translation +# +msgid "" +msgstr "" +"Project-Id-Version: bacula 1.38.9-10\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2006-06-19 19:28+0100\n" +"Last-Translator: Kurt De Bree \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Tabellen creëren voor de catalogus van Bacula?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"De benodigde tabellen voor de Bacula catalogus ontbreken. Dit is normaal " +"voor een verse installatie." + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" +"Deze tabellen zijn nodig voor de werking van de 'Bacula director'. Wilt u " +"deze tabellen automatisch aanmaken?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "Catalogus verwijderen bij wissen (purge)?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "" +"Wilt u dat de Bacula catalogus verwijderd wordt als de Bacula director wordt " +"gewist (purge)?" --- bacula-1.38.11.orig/debian/po/POTFILES.in +++ bacula-1.38.11/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] bacula-director-sqlite.templates --- bacula-1.38.11.orig/debian/po/ja.po +++ bacula-1.38.11/debian/po/ja.po @@ -0,0 +1,80 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: bacula 1.38.11-6\n" +"Report-Msgid-Bugs-To: jgoerzen@complete.org\n" +"POT-Creation-Date: 2006-05-13 10:03-0500\n" +"PO-Revision-Date: 2006-10-09 00:52+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "Create tables for Bacula's Catalog?" +msgstr "Bacula ã®ã‚«ã‚¿ãƒ­ã‚°ç”¨ãƒ†ãƒ¼ãƒ–ルを作æˆã—ã¾ã™ã‹?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"The tables needed for Bacula's catalog are missing. This is normal for a " +"fresh install of Bacula." +msgstr "" +"Bacula ã®ã‚«ã‚¿ãƒ­ã‚°ã«å¿…è¦ãªãƒ†ãƒ¼ãƒ–ルãŒå­˜åœ¨ã—ã¦ã„ã¾ã›ã‚“。Bacula ã‚’åˆã‚ã¦ã‚¤ãƒ³ã‚¹" +"トールã™ã‚‹å ´åˆã¯å•é¡Œã‚ã‚Šã¾ã›ã‚“。" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:4 +msgid "" +"These tables are needed for the Bacula director to function. Should these " +"tables be automatically set up for you?" +msgstr "" +"ã“れらã®ãƒ†ãƒ¼ãƒ–ル㯠Bacula director ãŒå‹•ä½œã™ã‚‹ãŸã‚ã«å¿…è¦ã§ã™ã€‚自動的ã«ãƒ†ãƒ¼ãƒ–ル" +"を作æˆã—ã¾ã™ã‹?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "Remove Catalog on purge?" +msgstr "purge ã®éš›ã«ã‚«ã‚¿ãƒ­ã‚°ã‚’削除ã—ã¾ã™ã‹?" + +#. Type: boolean +#. Description +#: ../bacula-director-sqlite.templates:14 +msgid "" +"Do you want the Bacula Catalog to be removed if you purge the Bacula " +"director?" +msgstr "Bacula director を完全ã«å‰Šé™¤ã™ã‚‹éš›ã« Bacula ã®ã‚«ã‚¿ãƒ­ã‚°ã‚’削除ã—ã¾ã™ã‹?" + +#~ msgid "" +#~ "Warning: This is not undoable. Once you remove the catalog, you won't be " +#~ "able to restore your backups unless you have another copy of the catalog " +#~ "at hand." +#~ msgstr "" +#~ "警告: ã“ã‚Œã¯ã‚„ã‚Šç›´ã—ãŒããã¾ã›ã‚“。一旦カタログを削除ã™ã‚‹ã¨ã€æ‰‹å‹•ã§ã‚«ã‚¿ãƒ­ã‚°" +#~ "ã®ã‚³ãƒ”ーを行ã£ã¦ã„ãªã„é™ã‚Šã€ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—をリストアã§ãã¾ã›ã‚“。" + +#~ msgid "" +#~ "Shall I remove the Catalog / SQLite database at package purge time? This " +#~ "will free all the used space." +#~ msgstr "" +#~ "パッケージを purge ã™ã‚‹éš›ã«ã‚«ã‚¿ãƒ­ã‚°ãƒ»SQLite データベースを削除ã—ã¾ã™ã‹? ã“" +#~ "れを行ã†ã¨ã€åˆ©ç”¨ã—ã¦ã„ãŸé ˜åŸŸã‚’å…¨ã¦é–‹æ”¾ã—ã¾ã™ã€‚" --- bacula-1.38.11.orig/debian/bacula-console.postinst +++ bacula-1.38.11/debian/bacula-console.postinst @@ -0,0 +1,71 @@ +#! /bin/sh +# postinst script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +SRCDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CONFIG="bconsole.conf" + +CONSOLE=/usr/sbin/bacula-console + +case "$1" in + configure) + + if [ -n "$2" ] && dpkg --compare-versions "$2" le '1.32f-5-*' ; then + # Upgrading ... + if dpkg --compare-versions "$2" eq "1.32f"; then + mv $DSTDIR/console.conf $DSTDIR/$CONFIG + fi + fi + + if [ ! -f $DSTDIR/$CONFIG ]; then TARGET=$DSTDIR/$CONFIG + else TARGET=$DSTDIR/$CONFIG.dist; fi + + sed -e "s~@hostname@~`hostname`~" < $SRCDIR/$CONFIG > $TARGET + + chown root:bacula $DSTDIR/$CONFIG + chmod 640 $DSTDIR/$CONFIG + +# dpkg-statoverride --list $CONSOLE >/dev/null 2>&1 || \ +# dpkg-statoverride --update --add root bacula 750 $CONSOLE >/dev/null 2>&1 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- bacula-1.38.11.orig/debian/bacula-common.postrm +++ bacula-1.38.11/debian/bacula-common.postrm @@ -0,0 +1,43 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + userdel bacula 2>&1 > /dev/null + rm -rf /var/run/bacula + rm -rf /etc/bacula + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-pgsql.postrm +++ bacula-1.38.11/debian/bacula-director-pgsql.postrm @@ -0,0 +1,65 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_version 2.0 + + dbc_first_version=1.38.9-2 + dbc_dbuser=bacula + dbc_dbname=bacula +fi + +if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql ]; then + . /usr/share/dbconfig-common/dpkg/postrm.pgsql + dbc_go bacula-director-pgsql $@ +fi + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +CATALOG=bacula +PGSQL=/usr/bin/psql +CONFFILE=/etc/bacula/bacula-dir.conf +AUTHFILE=`getent passwd bacula | cut -d ':' -f 6`/.pgpass + + +case "$1" in + purge) + rm -f $CONFFILE $CONFFILE.dist $AUTHFILE + + db_purge + ;; + + remove) + ;; + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-console-wx.manpages +++ bacula-1.38.11/debian/bacula-console-wx.manpages @@ -0,0 +1 @@ +debian/manpages/bacula-wxconsole.1 --- bacula-1.38.11.orig/debian/bacula-director-common.postinst +++ bacula-1.38.11/debian/bacula-director-common.postinst @@ -0,0 +1,55 @@ +#! /bin/bash +# postinst script for bacula-director-common +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +SRCDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CONFIG="bacula-dir.conf" + + +case "$1" in + configure) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-console.install +++ bacula-1.38.11/debian/bacula-console.install @@ -0,0 +1 @@ +debian/additions/bconsole usr/bin --- bacula-1.38.11.orig/debian/bacula-common.dirs +++ bacula-1.38.11/debian/bacula-common.dirs @@ -0,0 +1,6 @@ +etc/bacula +var/run/bacula +var/lib/bacula +var/log/bacula +usr/share/bacula-common +usr/share/bacula-common/defconfig --- bacula-1.38.11.orig/debian/TODO +++ bacula-1.38.11/debian/TODO @@ -0,0 +1,23 @@ +* Make sure btraceback can be found in /usr/lib/bacula + +* Verify upgrades work as expected + +* Set datestyle on debian db create pgsql + +* Maybe: + + Remove old AUTHFILE=`getent passwd bacula | cut -d ':' -f 6`/.pgpass + and $AUTHFILE.bak + +* Make SQLite&sqlite3 purge actually remove the DB like the debconf questions + say it will + +* Should we zap old debconf stuff on install of the new version? + +* Need a MySQL preinst? + +* check backup_catalog scripts & make sure they're getting installed + +* Sanitize consoles + +* Update debian/copyright --- bacula-1.38.11.orig/debian/bacula-sd-pgsql.manpages +++ bacula-1.38.11/debian/bacula-sd-pgsql.manpages @@ -0,0 +1,2 @@ +debian/manpages/bcopy.8 +debian/manpages/bscan.8 --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.templates +++ bacula-1.38.11/debian/bacula-director-sqlite3.templates @@ -0,0 +1,16 @@ +Template: bacula-director-sqlite3/create_tables +Type: boolean +Default: true +_Description: Create tables for Bacula's Catalog? + The tables needed for Bacula's catalog are missing. This is normal + for a fresh install of Bacula. + . + These tables are needed for the Bacula director to function. + Should these tables be automatically set up for you? + +Template: bacula-director-sqlite3/remove_catalog_on_purge +Type: boolean +Default: false +_Description: Remove Catalog on purge? + Do you want the Bacula Catalog to be removed if you purge the + Bacula director? --- bacula-1.38.11.orig/debian/additions/bconsole +++ bacula-1.38.11/debian/additions/bconsole @@ -0,0 +1,3 @@ +#!/bin/sh +CFGFILE=/etc/bacula/bconsole.conf +exec /usr/sbin/bacula-console -c $CFGFILE $* --- bacula-1.38.11.orig/debian/additions/bacula-tray-monitor.desktop +++ bacula-1.38.11/debian/additions/bacula-tray-monitor.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Bacula Monitor +Comment=Notification Tray Monitor +Icon=/usr/share/pixmaps/bacula-tray-monitor.xpm +Exec=/usr/sbin/bacula-tray-monitor -c /etc/bacula/tray-monitor.conf +Terminal=false +Type=Application +Encoding=UTF-8 +X-Desktop-File-Install-Version=0.3 +Categories=System;Application;Utility;X-Red-Hat-Base; --- bacula-1.38.11.orig/debian/additions/bacula-console-gnome.desktop +++ bacula-1.38.11/debian/additions/bacula-console-gnome.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Bacula console +Name[fr]=Console Bacula +Comment=Bacula GNOME console +Comment[es]=Consola GNOME para Bacula +Comment[fr]=Console GNOME pour Bacula +Exec=/usr/bin/bacula-console-gnome -c /etc/bacula/gnome-console.conf +Terminal=false +Categories=System;Application --- bacula-1.38.11.orig/debian/additions/postinst-common +++ bacula-1.38.11/debian/additions/postinst-common @@ -0,0 +1,29 @@ +#!/bin/sh + +DEFCONFIGDIR="/usr/share/bacula-common/defconfig" +DSTDIR="/etc/bacula" +CONFIG="bacula-dir.conf" + + + +SOURCE=$DSTDIR/$CONFIG.dpkg-tmp +if [ ! -f $DSTDIR/$CONFIG ]; then + TARGET=$DSTDIR/$CONFIG +else + TARGET=$DSTDIR/$CONFIG.dist +fi + + +# Final config fix +sed -e "s/@hostname@/`hostname`/" < $SOURCE > $TARGET + +# get rid of now unnecessary file +rm -f $SOURCE + +# Harden permissions, so that passwords can not be looked at +# Fixed by Philipp M Hahn +chown root:bacula $TARGET +chmod 640 $TARGET + + +exit 0 --- bacula-1.38.11.orig/debian/manpages/bacula-wxconsole.1 +++ bacula-1.38.11/debian/manpages/bacula-wxconsole.1 @@ -0,0 +1,48 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH WX-CONSOLE 1 "Apr 28, 2004" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + wx-console \- Bacula's management Console +.SH SYNOPSIS +.B wx-console +.RI [options] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B wx-console +command, the wxWidgets version of the Bacula administration console. +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH OPTIONS +console [\-s] [\-c config_file] [\-d debug_level] [config_file] +.TP +.B \-c +Specify configuration file. +.TP +.B \-d +Set debug level to \fInn\fP. +.TP +.B \-s +No signals. +.TP +.B \-t +Test config mode: read configuration and exit. +.TP +.B \-? +Show version and usage of program. +.SH SEE ALSO +.BR bacula-dir (8), +.BR bls (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bacula-dir.8 +++ bacula-1.38.11/debian/manpages/bacula-dir.8 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BACULA\-DIR 8 "Jan 24, 2004" "Kern Sibbald" "Network backup, recovery&verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +.B bacula\-dir +\- Bacula Director +.SH SYNOPSIS +.B bacula\-dir +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bacula\-dir +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.br +Bacula's Director Daemon acts as the controller of the +network backup system: it is responsible for scheduling and +coordinating backups across the network. +.SH OPTIONS +.TP +.BI \-c +Change location to read \fIbacula-dir.conf\fP from (default $CWD) +.TP +.BI \-u +Set the username/uid to run as. +.TP +.BI \-g +Set the group/gid to run as. +.SH SEE ALSO +.BR bacula-fd (8), +.BR bacula-sd (8). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). + --- bacula-1.38.11.orig/debian/manpages/bconsole.8 +++ bacula-1.38.11/debian/manpages/bconsole.8 @@ -0,0 +1,46 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH CONSOLE 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + console \- Bacula's management Console +.SH SYNOPSIS +.B console +.RI [options] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B console +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH OPTIONS +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.B \-s +No signals. +.TP +.B \-t +Test config mode: read configuration and exit. +.TP +.B \-? +Show version and usage of program. +.SH SEE ALSO +.BR bacula\-dir (8), +.BR bls (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bacula-sd.8 +++ bacula-1.38.11/debian/manpages/bacula-sd.8 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BACULA\-SD 8 "Jan 24, 2004" "Kern Sibbald" "Network backup, recovery & verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +.B bacula\-sd +\- Bacula's Storage Daemon +.SH SYNOPSIS +.B bacula\-sd +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bacula\-sd +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.br +Bacula's Storage Daemon acts as the interface between the Bacula +network backup system and a tape drive/autochanger or filesystem where +the backups will be stored. +.SH OPTIONS +.TP +.B \-c\ config +Change location to read \fIbacula\-sd.conf\fP from (default $CWD) +.TP +.BI \-u\ user +Set the username/uid to run as. +.TP +.BI \-g\ group +Set the group/gid to run as. +.SH SEE ALSO +.BR bacula\-dir (8), +.BR bacula\-fd (8), +.BR bacula (8). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/btape.8 +++ bacula-1.38.11/debian/manpages/btape.8 @@ -0,0 +1,137 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BTAPE 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + btape \- Bacula's Tape interface +.SH SYNOPSIS +.B btape +.RI [ options ] +.I device-name +.br +.SH DESCRIPTION +This manual page documents briefly the +.B btape +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-? +Show summary of options and commands. +.TP +.BI \-b\ bootstrap +Specify a bootstrap file. +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.B \-t +Open the default tape device. +.TP +.B \-s +Turn off signals. +.sp 3 +.SH COMMANDS +.TP +.B bsf +backspace file +.TP +.B bsr +backspace record +.TP +.B bfill +fill tape using Bacula writes +.TP +.B cap +list device capabilities +.TP +.B clear +clear tape errors +.TP +.B eod +go to end of Bacula data for append +.TP +.B eom +go to the physical end of medium +.TP +.B fill +fill tape, write onto second volume +.TP +.B unfill +read filled tape +.TP +.B fsf +forward space a file +.TP +.B fsr +forward space a record +.TP +.B help +print this reference +.TP +.B label +write a Bacula label to the tape +.TP +.B load +load a tape +.TP +.B quit +quit btape +.TP +.B rawfill +use write() to fill tape +.TP +.B readlabel +read and print the Bacula tape label +.TP +.B rectest +test record handling functions +.TP +.B rewind +rewind the tape +.TP +.B scan +read() tape block by block to EOT and report +.TP +.B scanblocks +Bacula read block by block to EOT and report +.TP +.B status +print tape status +.TP +.B test +General test Bacula tape functions +.TP +.B weof +write an EOF on the tape +.TP +.B wr +write a single Bacula block +.TP +.B rr +read a single record +.TP +.B qfill +quick fill command +.br +.SH SEE ALSO +.BR bscan (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bextract.8 +++ bacula-1.38.11/debian/manpages/bextract.8 @@ -0,0 +1,57 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BEXTRACT 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + bextract \- Bacula's 'Extract from tape' +.SH SYNOPSIS +.B bextract +.RI [ options ] +.I bacula-archive-device-name +.I output-directory +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bextract +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-? +Show version and usage of program. +.TP +.BI \-b\ bootstrap +Specify a bootstrap file. +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.BI \-e\ file +Specify exclude list. +.TP +.BI \-i\ file +Specify include list. +.TP +.BI \-V\ volume-name +Specify volume names. +.SH SEE ALSO +.BR bls (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bacula-fd.8 +++ bacula-1.38.11/debian/manpages/bacula-fd.8 @@ -0,0 +1,43 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BACULA\-FD 8 "Jan 24, 2004" "Kern Sibbald" "Network backup, recovery & verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME +.B bacula\-fd +\- Bacula's File Daemon +.SH SYNOPSIS +.B bacula\-fd +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bacula +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.br +Bacula's File Daemon acts as the interface between the Bacula +network backup system and the filesystems to be backed up: it is +responsible for reading/writing/verifying the files to be +backup'd/verified/restored. Network transfer can optionally be +compressed. +.SH OPTIONS +.TP +.BI \-c\ config +Change location to read \fIbacula\-fd.conf\fP from (default $CWD) +.TP +.BI \-u\ user +Set the username/uid to run as. +.TP +.BI \-g\ group +Set the group/gid to run as. +.SH SEE ALSO +.BR bacula\-dir (8), +.BR bacula\-sd (8). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon , +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bacula-console-gnome.1 +++ bacula-1.38.11/debian/manpages/bacula-console-gnome.1 @@ -0,0 +1,48 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH GNOME\-CONSOLE 1 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME + gnome\-console \- Bacula's management Console, GUI version. +.br +.SH DESCRIPTION +This manual page documents briefly the +.B gnome\-console +command, the Gnome GUI version of the Bacula administration console. +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.sp 2 +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +The Console allows the administrator or user to communicate with the +Bacula Director. This is the Gnome version. +.PP +This Gnome GUI interface is for the moment far from complete but is quite +functional, having all the capabilities of the shell Console. +.BR +.SH SEE ALSO +.BR bacula\-dir (8), +.BR bls (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bls.8 +++ bacula-1.38.11/debian/manpages/bls.8 @@ -0,0 +1,84 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BLS 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME + bls \- Bacula's 'Tape LS' +.SH SYNOPSIS +.B bls +.RI [ options ] +.I +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bls +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-? +Show version and usage of program. +.TP +.BI \-b\ bootstrap +Specify a bootstrap file. +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.BI \-e\ +Specify exclude list file +.TP +.BI \-i\ +Specify include list file +.TP +.BI \-j +List jobs +.TP +.BI \-k +List blocks +.TP +.I (no \-j or \-k option) +List saved files +.TP +.BI -L +Dump label +.TP +.BI \-p +Proceed despite errors +.TP +.BI \-V\ volumes +Specify volume names (separated by '|'). +.TP +.B \-v +Set verbose mode. +.SH SEE ALSO +.BR bscan (8), +.BR bextract (8). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/bscan.8 +++ bacula-1.38.11/debian/manpages/bscan.8 @@ -0,0 +1,78 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BSCAN 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + bscan \- Bacula's 'Scan tape' +.SH SYNOPSIS +.B bscan +.RI [ options ] +.I bacula-archive +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bscan +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-? +Show version and usage of program. +.TP +.BI \-b\ bootstrap +Specify a bootstrap file. +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.B \-m +Update media info in database. +.TP +.BI \-n\ name +Specify the database name (default: \fIbacula\fP) +.TP +.BI \-u\ username +Specify database username (default: \fIbacula\fP) +.TP +.BI \-p\ password +Specify database password (default: \fInone\fP) +.TP +.BI \-h\ host +Specify database host (default: \fINULL\fP) +.TP +.B \-r +List records. +.TP +.B \-s +Synchronize or store in Database. +.TP +.B \-v +Verbose output mode. +.TP +.BI \-V\ volume +Specify volume names (separated by '|') +.TP +.BI \-w\ dir +Specify working directory (default from conf file) +.SH SEE ALSO +.BR bls (8), +.BR bextract (8). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). + --- bacula-1.38.11.orig/debian/manpages/bcopy.8 +++ bacula-1.38.11/debian/manpages/bcopy.8 @@ -0,0 +1,60 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH BCOPY 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + bcopy \- Bacula's 'Copy from tape' +.SH SYNOPSIS +.B bcopy +.RI [ options ] +.I input-archive +.I output-archive +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bcopy +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-? +Show version and usage of program. +.TP +.BI \-b\ bootstrap +Specify a bootstrap file. +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.BI \-i\ input +Specify input Volume names (separated by '|') +.TP +.BI \-o\ output +Specify output Volume names (separated by '|') +.TP +.BI \-w\ directory +Specify working directory (default \fI/tmp\fP). +.TP +.B \-v +Set verbose mode. +.SH SEE ALSO +.BR bls (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/manpages/dbcheck.8 +++ bacula-1.38.11/debian/manpages/dbcheck.8 @@ -0,0 +1,62 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH DBCHECK 8 "Oct 24, 2003" "Kern Sibbald&John Walker" "Network backup, recovery and verification" +.\" Please adjust this date whenever revising the manpage. +.\" +.SH NAME + bcopy \- Bacula's DB Check +.SH SYNOPSIS +.B bcopy +.RI [ options ] +.I working-directory +.I bacula-database +.I user +.I password +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bcopy +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-? +Show version and usage of program. +.TP +.BI \-b\ bootstrap +Specify a bootstrap file. +.TP +.BI \-c\ config +Specify configuration file. +.TP +.BI \-d\ nn +Set debug level to \fInn\fP. +.TP +.BI \-i\ input +Specify input Volume names (separated by '|') +.TP +.BI \-o\ output +Specify output Volume names (separated by '|') +.TP +.BI \-w\ directory +Specify working directory (default \fI/tmp\fP). +.TP +.B \-v +Set verbose mode. +.SH SEE ALSO +.BR bls (1), +.BR bextract (1). +.br +.SH AUTHOR +This manual page was written by Jose Luis Tallon +.nh +, +for the Debian GNU/Linux system (but may be used by others). --- bacula-1.38.11.orig/debian/bacula-director-sqlite.manpages +++ bacula-1.38.11/debian/bacula-director-sqlite.manpages @@ -0,0 +1,2 @@ +debian/manpages/bacula-dir.8 +debian/manpages/dbcheck.8 --- bacula-1.38.11.orig/debian/bacula-fd.manpages +++ bacula-1.38.11/debian/bacula-fd.manpages @@ -0,0 +1 @@ +debian/manpages/bacula-fd.8 --- bacula-1.38.11.orig/debian/bacula-sd.manpages +++ bacula-1.38.11/debian/bacula-sd.manpages @@ -0,0 +1,4 @@ +debian/manpages/bacula-sd.8 +debian/manpages/btape.8 +debian/manpages/bls.8 +debian/manpages/bextract.8 --- bacula-1.38.11.orig/debian/bacula-director-common.preinst +++ bacula-1.38.11/debian/bacula-director-common.preinst @@ -0,0 +1,44 @@ +#! /bin/sh +# preinst script for bacula +# + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + + install) + ;; + + upgrade) +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/bacula.pid \ +# --exec /usr/sbin/bacula-dir 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- bacula-1.38.11.orig/debian/watch +++ bacula-1.38.11/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://prdownloads.sourceforge.net/bacula/bacula-?_?([\w+\d+\.]+|\d+)(\.tar|\.tgz)(\.gz|\.bz2|) debian uupdate --- bacula-1.38.11.orig/debian/bacula-console-gnome.postrm +++ bacula-1.38.11/debian/bacula-console-gnome.postrm @@ -0,0 +1,41 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + rm -f /etc/bacula/gnome-console.* + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-console-gnome.install +++ bacula-1.38.11/debian/bacula-console-gnome.install @@ -0,0 +1,2 @@ +debian/additions/bacula-console-gnome.desktop usr/share/applications +scripts/bacula.png usr/share/icons/gnome --- bacula-1.38.11.orig/debian/bacula-director-sqlite.postrm +++ bacula-1.38.11/debian/bacula-director-sqlite.postrm @@ -0,0 +1,46 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +CONFFILE=/etc/bacula/bacula-dir.conf +case "$1" in + purge) + rm -f $CONFFILE $CONFFILE.dist + db_purge + ;; + remove) + ;; + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-sqlite.config +++ bacula-1.38.11/debian/bacula-director-sqlite.config @@ -0,0 +1,45 @@ +#!/bin/sh +# config script for bacula-dir ( SQLite flavor ) +# +# by Jose Luis Tallon + +. /usr/share/debconf/confmodule +db_version 2.0 + +db_title "Bacula Director" + +set -e + +CATALOG="/var/lib/bacula/bacula.db" + +case "$1" in + configure) + if [ ! -f "$CATALOG" ]; then + db_input medium bacula-director-sqlite/create_tables || true + db_go + fi + + db_input medium bacula-director-sqlite/remove_catalog_on_purge || true + db_go + ;; + + reconfigure) + if [ ! -f "$CATALOG" ]; then + touch $CATALOG + chown bacula:bacula $CATALOG + fi + if [ ! -n "sqlite $CATALOG .tables" ]; then + db_input medium bacula-director-sqlite/create_tables || true + db_go + fi + + db_input medium bacula-director-sqlite/remove_catalog_on_purge || true + db_go + ;; + + *) + echo "config called with unknown argument \$1'" >&2 + exit 0 + ;; +esac + --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.config +++ bacula-1.38.11/debian/bacula-director-sqlite3.config @@ -0,0 +1,45 @@ +#!/bin/sh +# config script for bacula-dir ( SQLite flavor ) +# +# by Jose Luis Tallon + +. /usr/share/debconf/confmodule +db_version 2.0 + +db_title "Bacula Director" + +set -e + +CATALOG="/var/lib/bacula/bacula.db" + +case "$1" in + configure) + if [ ! -f "$CATALOG" ]; then + db_input medium bacula-director-sqlite3/create_tables || true + db_go + fi + + db_input medium bacula-director-sqlite3/remove_catalog_on_purge || true + db_go + ;; + + reconfigure) + if [ ! -f "$CATALOG" ]; then + touch $CATALOG + chown bacula:bacula $CATALOG + fi + if [ ! -n "sqlite3 $CATALOG .tables" ]; then + db_input medium bacula-director-sqlite3/create_tables || true + db_go + fi + + db_input medium bacula-director-sqlite3/remove_catalog_on_purge || true + db_go + ;; + + *) + echo "config called with unknown argument \$1'" >&2 + exit 0 + ;; +esac + --- bacula-1.38.11.orig/debian/README.Debian +++ bacula-1.38.11/debian/README.Debian @@ -0,0 +1,93 @@ +Bacula, network-based backup, recovery & verification system +http://www.bacula.org +=============================================================================== + +The 'bacula-common' package provides some of the common infrastructure +for Bacula. You can find Bacula READMEs and other documentation files +there. + +BASIC INFORMATION +----------------- + +To use bacula you must install one of the flavors of director, +depending on your preferred database, onto a server. + +You must also install bacula-sd on the machine where you will be +storing your backed-up data. And you'll need bacula-fd on any machine +that you want to back up. + +The installation will run the necessary daemons automatically, but to +get any backups working you must customize the relevant configuration +files in /etc/bacula as described in the bacula manual. Once you have +edited the files you should issue an appropriate /etc/init.d/bacula-xx +force-reload. + +NETWORK ENABLING +---------------- + +By default, Debian's Bacula packages install config files in which the +servers listen only on localhost by default. If you want to be able +to do backups over the network, you'll need to find the lines in +bacula-dir.conf, bacula-sd.conf, and bacula-fd.conf that reference +127.0.0.1 and remove them. + +PACKAGES +======== + +The virtual package 'bacula-director' is provided by + + - bacula-director-sqlite3 + - bacula-director-sqlite + - bacula-director-mysql + - bacula-director-pgsql + +These binaries have been compiled against the database indicated +in the package's name. + +CONSOLE +======= + +The package bacula-console provides the administration console for +Bacula, so that users can contact the director. + + There is, in fact, a wrapper +script to ease usage by users: /usr/bin/bconsole + +The GNOME version of the admin console is contained in the +bacula-console-gnome package. + +The wxWidgets-based console is included in the bacula-console-wx +package. + +There are no wrappers for bacula-console-gnome nor +bacula-wxconsole since they will likely be run from the corresponding +launchers with appropriate '-c /etc/bacula/.conf' arguments. +The convenient '.menu' files are provided, too. + +USERS & SECURITY +================ + +Make sure you customize the passwords in the files in /etc/bacula. + +The installation will create a bacula user on the system, and the +daemons and RunBefore/RunAfter jobs will run as that user. However, +the file director must run as root, as will your ClientRunBefore/After +jobs. Installation of a director will ask you for a database user to +use. + +You can run Bacula consoles as any user, but the user you use will +need to be able to read the console config files. These files are, by +default, under /etc/bacula. You'll need to specify the config file +with -c for any of the GUI consoles. + +FURTHER READING +=============== + +See the Bacula documentation on the upstream author's website, +http://www.bacula.org. + +-- John Goerzen + +based on a file by Jose Luis Tallon + + -- John Goerzen , Sat, 13 May 2006 10:18:42 -0500 --- bacula-1.38.11.orig/debian/bacula-console-wx.dirs +++ bacula-1.38.11/debian/bacula-console-wx.dirs @@ -0,0 +1,2 @@ +usr/bin +etc/bacula --- bacula-1.38.11.orig/debian/bacula-console-wx.postrm +++ bacula-1.38.11/debian/bacula-console-wx.postrm @@ -0,0 +1,49 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +CONSOLE=/usr/sbin/bacula-console + +case "$1" in + purge) + rm -f /etc/bacula/console.* +# dpkg-statoverride --list $CONSOLE >/dev/null && \ +# dpkg-statoverride --remove $CONSOLE >/dev/null 2>&1 || true + ;; + + remove) +# dpkg-statoverride --list $CONSOLE >/dev/null && \ +# dpkg-statoverride --remove $CONSOLE >/dev/null 2>&1 || true + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-console.menu +++ bacula-1.38.11/debian/bacula-console.menu @@ -0,0 +1,2 @@ +?package(bacula-console):needs="text" section="Apps/System" \ + title="Bacula console" command="/usr/bin/bconsole" --- bacula-1.38.11.orig/debian/bacula-director-sqlite.postinst +++ bacula-1.38.11/debian/bacula-director-sqlite.postinst @@ -0,0 +1,122 @@ +#! /bin/bash +# postinst script for bacula-director-sqlite +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +DB="/var/lib/bacula/bacula.db" +MAKE_SQL_TABLES=/usr/share/bacula-director/make_sqlite_tables +UPGRADE_SQL_DIR=/usr/share/bacula-director +UPGRADE_TABLES1=update_sqlite_tables_6_to_7 +UPGRADE_TABLES2=update_sqlite_tables_7_to_8 +UPGRADE_TABLES3=update_sqlite_tables_8_to_9 +LOGDIR=/var/log/bacula +POSTINST_COMMON=/usr/share/bacula-director/postinst-common +DEFCONFIG=/usr/share/bacula-common/defconfig +CFGFILE=/etc/bacula/bacula-dir.conf + +case "$1" in + configure) + touch $DB; #Bug 243983 + chown bacula:bacula $DB + + db_get bacula-director-sqlite/create_tables || true + if [ "$RET" = "true" ]; then + touch $DB; #Bug 243983 + chown bacula:bacula $DB + + if [ -z "$2" ]; then + # if we are not upgrading, we must create the tables + echo -n "Creating tables in DB $DB ..." >&2 + if $MAKE_SQL_TABLES 2>&1 > /dev/null; then echo "Ok." ; + else echo "ERROR"; exit 100; fi + fi + fi + # fix for upgrade -- + if [ -n "$2" ]; then + touch $LOGDIR/upgrade.log + + if dpkg --compare-versions "$2" le '1.32f-5-*' ; then + # On upgrade, unconditionally change Catalog + echo -n "Upgrading SQLite tables to v7 format..." + if ${UPGRADE_SQL_DIR}/$UPGRADE_TABLES1 >> $LOGDIR/upgrade.log 2>&1 + then echo "Ok." + else echo -e "\nERROR: could not upgrade Catalog. Please check $LOGDIR/upgrade.log for details." + fi + fi + + if dpkg --compare-versions "$2" lt '1.36.0' ; then + # On upgrade, unconditionally change Catalog + echo -n "Upgrading SQLite tables to v8 format..." + if ${UPGRADE_SQL_DIR}/$UPGRADE_TABLES2 >> $LOGDIR/upgrade.log 2>&1 + then echo "Ok." + else echo -e "\nERROR: could not upgrade Catalog. Please check $LOGDIR/upgrade.log for details." + fi + fi + + if dpkg --compare-versions "$2" lt '1.38.0' ; then + # On upgrade, unconditionally change Catalog + echo -n "Upgrading SQLite tables to v9 format..." + if ${UPGRADE_SQL_DIR}/$UPGRADE_TABLES3 >> $LOGDIR/upgrade.log 2>&1 + then echo "Ok." + else echo -e "\nERROR: could not upgrade Catalog. Please check $LOGDIR/upgrade.log for details." + fi + fi + fi + + chmod 640 $DB + + # Preprocess configuration + TARGET=$CFGFILE.dpkg-tmp + + sed -e 's/user = @db_user@;//' -e 's/password = "@db_passwd@";//' \ + $DEFCONFIG/bacula-dir.conf > $TARGET + + /bin/bash $POSTINST_COMMON + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# Do start daemon +db_stop + +if [ -n "$2" ]; then + /etc/init.d/bacula-director stop + sleep 1 +fi + +invoke-rc.d --quiet bacula-director start + +#DEBHELPER# + +exit 0 + --- bacula-1.38.11.orig/debian/bacula-director-pgsql.prerm +++ bacula-1.38.11/debian/bacula-director-pgsql.prerm @@ -0,0 +1,48 @@ +#! /bin/sh +# prerm script for bacula +# +# see: dh_installdeb(1) + +set -e + +. /usr/share/debconf/confmodule + +dbc_first_version=1.38.9-2 +dbc_dbuser=bacula +dbc_dbname=bacula + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/prerm.pgsql ]; then + . /usr/share/dbconfig-common/dpkg/prerm.pgsql + dbc_go bacula-director-pgsql $@ +fi + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + /usr/sbin/invoke-rc.d bacula-director stop + ;; + upgrade) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.postinst +++ bacula-1.38.11/debian/bacula-director-sqlite3.postinst @@ -0,0 +1,88 @@ +#! /bin/bash +# postinst script for bacula-director-sqlite +# + +. /usr/share/debconf/confmodule +db_version 2.0 + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +DB="/var/lib/bacula/bacula.db" +MAKE_SQL_TABLES=/usr/share/bacula-director/make_sqlite3_tables +UPGRADE_SQL_DIR=/usr/share/bacula-director +LOGDIR=/var/log/bacula +POSTINST_COMMON=/usr/share/bacula-director/postinst-common +DEFCONFIG=/usr/share/bacula-common/defconfig +CFGFILE=/etc/bacula/bacula-dir.conf + +case "$1" in + configure) + touch $DB; #Bug 243983 + chown bacula:bacula $DB + + db_get bacula-director-sqlite3/create_tables || true + if [ "$RET" = "true" ]; then + touch $DB; #Bug 243983 + chown bacula:bacula $DB + + if [ -z "$2" ]; then + # if we are not upgrading, we must create the tables + echo -n "Creating tables in DB $DB ..." >&2 + if $MAKE_SQL_TABLES 2>&1 > /dev/null; then echo "Ok." ; + else echo "ERROR"; exit 100; fi + fi + fi + + chmod 640 $DB + + # Preprocess configuration + TARGET=$CFGFILE.dpkg-tmp + + sed -e 's/user = @db_user@;//' -e 's/password = "@db_passwd@";//' \ + $DEFCONFIG/bacula-dir.conf > $TARGET + + /bin/bash $POSTINST_COMMON + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# Do start daemon +db_stop + +if [ -n "$2" ]; then + /etc/init.d/bacula-director stop + sleep 1 +fi + +invoke-rc.d --quiet bacula-director start + +#DEBHELPER# + +exit 0 + --- bacula-1.38.11.orig/debian/bacula-console.manpages +++ bacula-1.38.11/debian/bacula-console.manpages @@ -0,0 +1 @@ +debian/manpages/bconsole.8 --- bacula-1.38.11.orig/debian/bacula-director-common.bacula-director.init +++ bacula-1.38.11/debian/bacula-director-common.bacula-director.init @@ -0,0 +1,127 @@ +#! /bin/sh +# bacula-director SysV init script for Bacula-Director. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux by Ian Murdock . +# Customized for Bacula by Jose Luis Tallon +# +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/bacula-dir +NAME="bacula-dir" +PORT=9101 +DESC="Bacula Director" +ARGS="-c /etc/bacula/bacula-dir.conf -u bacula -g bacula" + +test -f $DAEMON || exit 0 + +set -e + +if [ -n "`getent services bacula-dir`" ]; then + PORT=`getent services bacula-dir | awk '{ gsub("/tcp","",$2); print $2; }'` +fi + + +PIDFILE=/var/run/bacula/$NAME.$PORT.pid + +create_var_run_dir() +{ + if [ ! -d /var/run/bacula/ ]; then + mkdir -p 0755 /var/run/bacula/ + chown bacula:daemon /var/run/bacula/ + fi +} + + +get_pid() +{ + if [ -r "$1" ]; then pid="`cat $1`"; + else pid=""; fi +} + +check_pid() +{ + /bin/ps -p $1 >/dev/null 2>&1; return $? +} + +kill_pid() +{ + kill -$1 $2 2>/dev/null || true +} + +# do_start() +do_start() +{ + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $ARGS +} + +# do_stop() +do_stop() +{ + get_pid $PIDFILE ; + start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + # make sure daemon is stopped/killed + if [ -n "$pid" ]; then + if check_pid $pid ; then + # TERM first, then KILL if not dead + kill_pid TERM $pid + sleep 1 + if check_pid $pid ; then + sleep 1 # some time to die peacefully... + if check_pid $pid ; then + sleep 3 + if check_pid $pid ; then kill_pid KILL $pid ; fi + fi + fi + fi + fi +} + + +######################################################################## + +case "$1" in + start) + if [ -f /etc/bacula/do_not_run ]; then + echo "Not starting $DESC: disabled via /etc/bacula/do_not_run" + exit 0 + fi + echo -n "Starting $DESC: " + create_var_run_dir + if do_start ; then echo "$NAME." + else echo "failed." ; fi + ;; + + stop) + echo -n "Stopping $DESC: " + do_stop + echo "$NAME." + ;; + + reload) + echo -n "Reloading $DESC..." + get_pid $PIDFILE + if [ -n "$pid" ]; then kill_pid HUP $pid ; + else do_start ; + fi + echo "$NAME." + ;; + + restart|force-reload) + echo -n "Restarting $DESC: " + # redirect STDOUT so that it looks prettier :-) + do_stop + do_start + echo "$NAME." + ;; + + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- bacula-1.38.11.orig/debian/bacula-traymonitor.menu +++ bacula-1.38.11/debian/bacula-traymonitor.menu @@ -0,0 +1,2 @@ +?package(bacula-traymonitor):needs="X11" section="Apps/System"\ + title="Bacula tray monitor" command="/usr/bin/bacula-tray-monitor" --- bacula-1.38.11.orig/debian/bacula-director-pgsql.config +++ bacula-1.38.11/debian/bacula-director-pgsql.config @@ -0,0 +1,38 @@ +#!/bin/sh +# config script for bacula-dir ( PostgreSQL flavor ) + +. /usr/share/debconf/confmodule +db_version 2.0 + +dbc_first_version=1.38.9-2 +dbc_dbuser=bacula +dbc_dbname=bacula + +# source dbconfig-common shell library, and call the hook function +if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then + . /usr/share/dbconfig-common/dpkg/config.pgsql + dbc_go bacula-director-pgsql $@ +fi + +db_title "Bacula Director" + +set -e + + +case "$1" in + configure) + + ;; + + reconfigure) + + ;; + + *) + echo "config called with unknown argument \$1'" >&2 + exit 0 + ;; +esac + +exit 0 + --- bacula-1.38.11.orig/debian/bacula-common.manpages +++ bacula-1.38.11/debian/bacula-common.manpages @@ -0,0 +1,3 @@ +scripts/bacula.man +#debian/tmp-install-sqlite/usr/share/man/man8/bacula.8.gz + --- bacula-1.38.11.orig/debian/bacula-fd.install +++ bacula-1.38.11/debian/bacula-fd.install @@ -0,0 +1 @@ +debian/tmp-install-sqlite/usr/sbin/bacula-fd usr/sbin --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.prerm +++ bacula-1.38.11/debian/bacula-director-sqlite3.prerm @@ -0,0 +1,40 @@ +#! /bin/sh +# prerm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|deconfigure) + /usr/sbin/invoke-rc.d bacula-director stop + ;; + upgrade) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- bacula-1.38.11.orig/debian/bacula-common.examples +++ bacula-1.38.11/debian/bacula-common.examples @@ -0,0 +1 @@ +examples/* --- bacula-1.38.11.orig/debian/bacula-director-common.dirs +++ bacula-1.38.11/debian/bacula-director-common.dirs @@ -0,0 +1,5 @@ +usr/lib/bacula +var/lib/bacula +var/log/bacula +var/run/bacula +usr/share/bacula-director --- bacula-1.38.11.orig/debian/bacula-fd.postrm +++ bacula-1.38.11/debian/bacula-fd.postrm @@ -0,0 +1,42 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + rm -f /etc/bacula/bacula-fd.* + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/bacula-common.docs +++ bacula-1.38.11/debian/bacula-common.docs @@ -0,0 +1,7 @@ +README +ReleaseNotes +kernstodo +kes-1.38 +nb-1.37 +ABOUT-NLS +projects --- bacula-1.38.11.orig/debian/bacula-console-gnome.menu +++ bacula-1.38.11/debian/bacula-console-gnome.menu @@ -0,0 +1,2 @@ +?package(bacula-console-gnome):needs="X11" section="Apps/System" \ + title="Bacula GNOME console" command="/usr/bin/bacula-console-gnome -c /etc/bacula/gnome-console.conf" --- bacula-1.38.11.orig/debian/bacula-common.preinst +++ bacula-1.38.11/debian/bacula-common.preinst @@ -0,0 +1,79 @@ +#! /bin/bash +# preinst script for bacula +# + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +create_bacula_do_not_run() +{ + if [ "$1" = "install" -a "$#" -eq 1 ]; then + test -d /etc/bacula || mkdir -p /etc/bacula + + cat > /etc/bacula/do_not_run </dev/null; then + echo -n "Adding user 'bacula'... " + adduser --system --no-create-home --group bacula 2>&1 > /dev/null + usermod -c "Bacula" bacula + usermod -G tape bacula + echo "Ok." + usermod -d /var/lib/bacula bacula + fi + ;; + + upgrade) + # Before 1.38.9-2, logs were in the wrong place. Fix. + if dpkg --compare-versions "$2" lt 1.38.9-2 && + test -h /var/log/bacula/log && + test -f /var/lib/bacula/log; then + rm /var/log/bacula/log + mv /var/lib/bacula/log /var/log/bacula/log + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- bacula-1.38.11.orig/debian/bacula-console.dirs +++ bacula-1.38.11/debian/bacula-console.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +etc/bacula --- bacula-1.38.11.orig/debian/bacula-director-mysql.install +++ bacula-1.38.11/debian/bacula-director-mysql.install @@ -0,0 +1,5 @@ +debian/tmp-install-mysql/etc/bacula/scripts/make_mysql_tables usr/share/bacula-director +debian/tmp-install-mysql/etc/bacula/scripts/update_mysql* usr/share/bacula-director +debian/tmp-install-mysql/etc/bacula/scripts/*catalog_backup etc/bacula/scripts +debian/tmp-install-mysql/usr/sbin/bacula-dir usr/sbin +debian/tmp-install-mysql/usr/sbin/dbcheck usr/sbin --- bacula-1.38.11.orig/debian/bacula-director-sqlite.dirs +++ bacula-1.38.11/debian/bacula-director-sqlite.dirs @@ -0,0 +1,3 @@ +usr/sbin +usr/lib/bacula +etc/bacula --- bacula-1.38.11.orig/debian/bacula-sd.postrm +++ bacula-1.38.11/debian/bacula-sd.postrm @@ -0,0 +1,41 @@ +#! /bin/sh +# postrm script for bacula +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + rm -f /etc/bacula/bacula-sd.* + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- bacula-1.38.11.orig/debian/patches/fix_scripts.sed +++ bacula-1.38.11/debian/patches/fix_scripts.sed @@ -0,0 +1,3 @@ +s~^bindir=@SQL_BINDIR@~bindir=/usr/bin~g +s~@working_dir@~/var/lib/bacula~ +s~MTX=mtx~MTX=/usr/sbin/mtx~ --- bacula-1.38.11.orig/debian/patches/extract_here +++ bacula-1.38.11/debian/patches/extract_here @@ -0,0 +1,8 @@ +#!/usr/bin/perl +# Extract a shell-style here-document from a script +$found = 0; +while (<>) { + if (m/END.OF.DATA/ && !$found) {$found = 1; next;}; + last if (m/END.OF.DATA/); + print if $found; +} --- bacula-1.38.11.orig/debian/patches/fix_config +++ bacula-1.38.11/debian/patches/fix_config @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + + +if [ -z "$1" -o -z "$2" ]; then + test -n "$DH_VERBOSE" && echo "Params missing!" >/dev/fd/2; + exit 1 +fi + +cat $1 | sed -e s~`hostname`~@hostname@~g | sed -r -f `dirname $0`/fix_config.sed > $2 --- bacula-1.38.11.orig/debian/patches/fix_director +++ bacula-1.38.11/debian/patches/fix_director @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + + +if [ -z "$1" -o -z "$2" ]; then + test -n "$DH_VERBOSE" && echo "Params missing!" >/dev/fd/2; + exit 1 +fi + +cat $1 | sed -e s~`hostname`~@hostname@~g | \ + sed -e "s~Address =`hostname`~Address = @fqdn@~g" | \ + sed -f `dirname $0`/fix_director.sed | \ + sed -f `dirname $0`/fix_config.sed > $2 --- bacula-1.38.11.orig/debian/patches/tee.patch +++ bacula-1.38.11/debian/patches/tee.patch @@ -0,0 +1,85 @@ +--- src/console/console.c.orig 2006-12-20 00:27:08.000000000 +0100 ++++ src/console/console.c 2006-12-20 00:27:52.000000000 +0100 +@@ -75,7 +75,7 @@ + static BSOCK *UA_sock = NULL; + static DIRRES *dir; + static FILE *output = stdout; +-static bool tee = false; /* output to output and stdout */ ++static bool tee_out = false; /* output to output and stdout */ + static bool stop = false; + static int argc; + static int numdir; +@@ -150,7 +150,7 @@ + { N_("input"), inputcmd, _("input from file")}, + { N_("output"), outputcmd, _("output to file")}, + { N_("quit"), quitcmd, _("quit")}, +- { N_("tee"), teecmd, _("output to file and terminal")}, ++ { N_("tee_out"), teecmd, _("output to file and terminal")}, + { N_("sleep"), sleepcmd, _("sleep specified time")}, + { N_("time"), timecmd, _("print current time")}, + { N_("version"), versioncmd, _("print Console's version")}, +@@ -702,7 +702,7 @@ + { + int len; + if (!stop) { +- if (output == stdout || tee) { ++ if (output == stdout || tee_out) { + sendit(prompt); + } + } +@@ -781,14 +781,14 @@ + /* Send output to both termina and specified file */ + static int teecmd(FILE *input, BSOCK *UA_sock) + { +- tee = true; ++ tee_out = true; + return do_outputcmd(input, UA_sock); + } + + /* Send output to specified "file" */ + static int outputcmd(FILE *input, BSOCK *UA_sock) + { +- tee = false; ++ tee_out = false; + return do_outputcmd(input, UA_sock); + } + +@@ -799,14 +799,14 @@ + const char *mode = "a+"; + + if (argc > 3) { +- sendit(_("Too many arguments on output/tee command.\n")); ++ sendit(_("Too many arguments on output/tee_out command.\n")); + return 1; + } + if (argc == 1) { + if (output != stdout) { + fclose(output); + output = stdout; +- tee = false; ++ tee_out = false; + } + return 1; + } +@@ -865,7 +865,7 @@ + void sendit(const char *buf) + { + #ifdef xHAVE_CONIO +- if (output == stdout || tee) { ++ if (output == stdout || tee_out) { + char *p, *q; + /* + * Here, we convert every \n into \r\n because the +@@ -890,10 +890,10 @@ + + fputs(buf, output); + fflush(output); +- if (tee) { ++ if (tee_out) { + fputs(buf, stdout); + } +- if (output != stdout || tee) { ++ if (output != stdout || tee_out) { + fflush(stdout); + } + #endif --- bacula-1.38.11.orig/debian/patches/fix_config.sed +++ bacula-1.38.11/debian/patches/fix_config.sed @@ -0,0 +1 @@ +s~/usr/sbin/bsmtp~/usr/lib/bacula/bsmtp~g --- bacula-1.38.11.orig/debian/patches/fix_director.sed +++ bacula-1.38.11/debian/patches/fix_director.sed @@ -0,0 +1,3 @@ +s~Job[ ]+= "/etc/bacula/scripts/~Job = "/usr/lib/bacula/~ +s~user = bacula; password = ""~user = @db_user@; password = "@db_pswd@"~ +s~"/etc/bacula/scripts/make_catalog_backup bacula bacula"~"/etc/bacula/scripts/make_catalog_backup -u -p"~ --- bacula-1.38.11.orig/debian/bacula-sd-sqlite3.install +++ bacula-1.38.11/debian/bacula-sd-sqlite3.install @@ -0,0 +1,2 @@ +debian/tmp-install-sqlite3/usr/sbin/bscan usr/bin +debian/tmp-install-sqlite3/usr/sbin/bcopy usr/bin --- bacula-1.38.11.orig/debian/bacula-console-gnome.manpages +++ bacula-1.38.11/debian/bacula-console-gnome.manpages @@ -0,0 +1 @@ +debian/manpages/bacula-console-gnome.1 --- bacula-1.38.11.orig/debian/bacula-director-sqlite3.manpages +++ bacula-1.38.11/debian/bacula-director-sqlite3.manpages @@ -0,0 +1,2 @@ +debian/manpages/bacula-dir.8 +debian/manpages/dbcheck.8 --- bacula-1.38.11.orig/debian/bacula-sd-mysql.install +++ bacula-1.38.11/debian/bacula-sd-mysql.install @@ -0,0 +1,2 @@ +debian/tmp-install-mysql/usr/sbin/bscan usr/bin +debian/tmp-install-mysql/usr/sbin/bcopy usr/bin