1 2009-04-10 Dustin J. Mitchell <dustin@zmanda.com>
2 * common-src/conffile.c: fix handling of double-backslash in quoted
5 2009-04-09 Jean-Louis Martineau <martineau@zmanda.com>
6 * server-src/dumper.c: Check authopt before using it.
8 2009-04-07 Jean-Louis Martineau <martineau@zmanda.com>
9 * client-drc/sendbackup.c: Init result.
11 2009-04-07 Jean-Louis Martineau <martineau@zmanda.com>
12 * server-src/taper-source.c (default_taper_source_seek_to_part_start):
13 returns FALSE on not splitted dump.
14 * server-src/driverio.c: info.last_level should not be set on error
15 if level >= info.last_level.
16 * server-src/driver.c: Rename update_failed_dump_to_tape to
18 Call update_failed_dump on failed dump to holding disk.
19 * application-src/amgtar.c: Don't update statefile if the backup failed.
20 * client-drc/sendbackup.c: Don't update amandates if backup failed.
22 2009-04-03 Dustin J. Mitchell <dustin@zmanda.com>
23 * perl/Amanda/Changer/compat.pm: always configure devices while
25 * server-src/amcheckdump.pl: configure devices returned from the
28 2009-04-01 Nikolas Coukouma <atrus@zmanda.com>
29 * device-src/s3.c: don't send empty location constraint,
30 allocate error messages
32 2009-04-01 Dustin J. Mitchell <dustin@zmanda.com>
33 * device-src/s3-device.c: always send errors from setup_handle
35 2009-04-01 Nikolas Coukouma <atrus@zmanda.com>
36 * device-src/s3-device.c: don't clobber errors from setup_handle
38 2009-03-31 Jean-Louis Martineau <martineau@zmanda.com>
39 * server-src/amcheck.c: Set l on error path.
41 2009-03-31 Jean-Louis Martineau <martineau@zmanda.com>
42 * perl/Amanda/Changer/compat.pm: Don't import :logging from Debug.
44 2009-03-30 Jean-Louis Martineau <martineau@zmanda.com>
45 * packaging/deb/changelog, packaging/deb/rules,
46 * packaging/deb/buildpkg, packaging/rpm/buildpkg,
47 * packaging/rpm/amanda.spec: Change version to 2.6.1p1.
48 * NEWS: Add news for 2.6.1p1.
49 * configure.in: Change version to 2.6.1p1.
51 2009-03-29 Dan Locks <dwlocks@zmanda.com>
52 * packaging/rpm/amanda.spec: change a number of %if conditionals to
53 macros which expand if they are defined.
55 2009-03-25 Dustin J. Mitchell <dustin@zmanda.com>
56 * device-src/s3.c: fix segfault in s3_make_bucket with location
59 2009-03-19 Dustin J. Mitchell <dustin@zmanda.com>
60 (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
61 * common-src/Makefile.am: don't include genversion.h in distribution
64 2009-03-19 Dustin J. Mitchell <dustin@zmanda.com>
65 * xfer-src/Makefile.am: add -release to libamxfer
67 2009-03-17 Jean-Louis Martineau <martineau@zmanda.com>
68 * server-src/amlabel.c: give correct exit status on failure
70 2009-03-13 Jean-Louis Martineau <martineau@zmanda.com>
71 * server-src/amstatus.pl: dump in "writing to tape" mode should also
72 be included in the "dumped" summary.
74 2009-03-13 Jean-Louis Martineau <martineau@zmanda.com>
75 * server-src/find.c: Fix listing of partial dump in holding disk.
77 2009-03-12 Jean-Louis Martineau <martineau@zmanda.com>
78 * server-src/planner.c: Log quoted qname.
80 2009-03-11 Dustin J. Mitchell <dustin@zmanda.com>
81 * device-src/amtapetype.pl: do not produce broken 'bytes' units
82 * installcheck/amtapetype.pl: test changes
83 * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
84 * common-src/conffile.c: fix default for tapetype:length
86 2009-03-11 Dustin J. Mitchell <dustin@zmanda.com>
87 * common-src/amfeatures.c: improve error handling in
88 am_string_to_feature, return NULL on error
89 * amandad-src/amandad_util.c recover-src/amrecover.c
90 server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
91 server-src/driver.c server-src/dumper.c server-src/planner.c: always
92 terminate the string passed to am_string_to_feature
94 2009-03-11 Dustin J. Mitchell <dustin@zmanda.com>
95 * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
96 on a bad feature string
98 2009-03-10 Jean-Louis Martineau <martineau@zmanda.com>
99 * server-src/taper.c: return DONE if input file is partial.
101 2009-03-10 Dustin J. Mitchell <dustin@zmanda.com>
102 * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
104 2009-02-27 Jean-Louis Martineau <martineau@zmanda.com>
105 * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
107 2009-02-24 Dustin J. Mitchell <dustin@zmanda.com>
108 * changer-src/chg-rait.sh: get directory handling right (patch from
109 Jim.pennino on wiki.zmanda.com)
110 * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
112 * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
113 volume that's not currently reserved
114 * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
115 after cleaning or ejecting
116 * installcheck/Amanda_Changer_compat.pl: updated tests
118 2009-02-24 Jean-Louis Martineau <martineau@zmanda.com>
119 * amandad-src/amandad.c, application-src/amgtar.c,
120 changer-src/scsi-changer-driver.c, client-src/client_util.c,
121 common-src/conffile.c, device-src/s3-device.c,
122 oldrecover-src/set_commands.c, recover-src/set_commands.c,
123 server-src/amindexd.c, server-src/planner.c,
124 server-src/reporter.c: Replace all occurences of index by strchr,
125 Replace all occurences of rindex by strrchr.
127 2009-02-24 Nikolas Coukouma <atrus@zmanda.com>
128 * device-src/s3.c: make s3_list_keys use its own buffer
130 2009-02-24 Nikolas Coukouma <atrus@zmanda.com>
131 * device-src/s3.c: fix error buffer handling of overflow data
133 2009-02-23 Dustin J. Mitchell <dustin@zmanda.com>
134 * device-src/rait-device.c: actually *report* mismatched child
135 labels/timestamps; correctly detect the 'first' device; and free old
138 2009-02-23 Dustin J. Mitchell <dustin@zmanda.com>
139 * device-src/vfs-device.c: remove bogus locking stubs that are
140 making syscalls like close(-1); fix error handling in read_label
141 if check_is_dir fails()
143 2009-02-19 Dustin J. Mitchell <dustin@zmanda.com>
144 * perl/Amanda/Changer/compat.pm: add missing semicolon in do_release
146 2009-02-18 John Hein <jhein@timing.com>
147 * common-src/dgram.c: set the send buffer size when creating a new
150 2009-02-17 Dustin J. Mitchell <dustin@zmanda.com>
151 * restore-src/amfetchdump.c: remove unintended debugging messages
153 2009-02-17 Jean-Louis Martineau <martineau@zmanda.com>
154 * changer-src/chg-manual.sh: make messages clearer
155 * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
157 * server-src/amcheckdump.pl: handle errors better
159 2009-02-09 Dustin J. Mitchell <dustin@zmanda.com>
160 * man/xml-source/amanda.conf.5.xml: remove TODO
162 2009-02-07 Dustin J. Mitchell <dustin@zmanda.com>
163 * common-src/event.c: use built-in child watch source on FreeBSD
165 2009-02-06 Jean-Louis Martineau <martineau@zmanda.com>
166 * server-src/dumper.c: options is already unquoted.
167 * common-src/util.c: argument should not be quoted when added to argv.
169 2009-02-06 Dustin J. Mitchell <dustin@zmanda.com>
170 * installcheck/Amanda_Changer_compat.pl: remove debugging code
172 2009-02-06 Jean-Louis Martineau <martineau@zmanda.com>
173 patch by Yoshihiro Ishikawa
174 * recover-src/extract_list.c: Handle application-api.
176 2009-02-06 Dustin J. Mitchell <dustin@zmanda.com>
177 * installcheck/Amanda_Changer_compat.pl: support 'eject'
178 * perl/Amanda/Changer.pm: change release/do_relase relationship
179 * perl/Amanda/Changer/compat.pm: same
180 * perl/Amanda/Changer/disk.pm: same
181 * perl/Amanda/Changer/single.pm: same
183 2009-01-13 Dustin J. Mitchell <dustin@zmanda.com>
184 * perl/Amanda/Paths.pm.in: add $localstatedir
185 * server-src/amserverconfig.pl: remove extraneous /
187 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
188 * amplot/amplot.awk: Set term to x11.
190 2009-02-02 Jean-Louis Martineau <martineau@zmanda.com>
191 * common-src/conffile.c: Correctly copy pp_scriptlist.
193 2009-02-02 Dustin J. Mitchell <dustin@zmanda.com>
194 * config/config.guess config/config.sub: new updates from FSF
195 * autogen: fix quoting error
196 * config/amanda/dumpers.m4: use a hostname we're more confident
199 2009-01-30 Jean-Louis Martineau <martineau@zmanda.com>
200 * server-src/amstatus.pl: Remove a bogus line.
202 2009-01-22 Jean-Louis Martineau <martineau@zmanda.com>
203 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1")
204 * packaging/deb/rules, packaging/deb/buildpkg, packaging/deb/changelog,
205 packaging/rpm/buildpkg,
206 packaging/rpm/amanda.spec: Change version to 2.6.1.
208 2009-01-22 Jean-Louis Martineau <martineau@zmanda.com>
209 * man/xml-source/amstar.8.xml: Typo.
211 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
212 * server-src/driver.c: Add call to short_dump_state().
214 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
215 * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
217 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>,
218 Dustin J. Mitchell <dustin@zmanda.com>
219 * common-src/fileheader.c: Remove strquotedstr function.
220 * common-src/quoting-test.c: Test strquotedstr function.
221 * common-src/util.c: Add prototype for strquotedstr function.
222 * common-src/util.h: Add new strquotedstr function.
224 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
225 * application-src/Makefile.am: Typo
227 2009-01-21 Dustin J. Mitchell <dustin@zmanda.com>
228 Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
229 * packaging/rpm/amanda.spec: detect and properly support suse11.1,
230 with a temporary hack to support suse11, too
232 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
233 * packaging/rpm/amanda.spec: Typo.
235 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
236 * server-src/amstatus.pl: Fix use of %free and %qlen keys.
238 2009-01-20 Dan Locks <dwlocks@zmanda.com>
239 * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
240 libtermcap.so.2 for fedora, change tar requirement to %{tarver}
242 2009-01-20 Dan Locks <dwlocks@zmanda.com>
243 * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
244 install perl for the client package add "directory mode" to defattr
245 statements where appropriate.
247 2009-01-19 Jean-Louis Martineau <martineau@zmanda.com>
248 * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
250 2009-01-19 Jean-Louis Martineau <martineau@zmanda.com>
251 * device-src/vfs-device.c: robust_open can return fd 0.
253 2009-01-19 Tom Robinson <tom.robinson@constantstream.com>
254 * server-src/amoverview.pl: fix parsing of filenames containing colons
256 2009-01-19 Jean-Louis Martineau <martineau@zmanda.com>
257 * application-src/amzfs-sendrecv.pl: Handle incremental,
258 new KEEP-SNAPSHOT property.
259 * man/xml-source/amzfs-sendrecv.8.xml: Document it.
260 * application-src/teecount.c: New program.
261 * application-src/Makefile.am: Add teecount.
262 * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
263 * common-src/amanda.h: include "safe-read.h"
265 2009-01-17 Jean-Louis Martineau <martineau@zmanda.com>
266 * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
269 2009-01-16 Dan Locks <dwlocks@zmanda.com>
270 * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
272 2009-01-16 Dustin J. Mitchell <dustin@zmanda.com>
273 * device-src/vfs-device.c: don't cache the dir_handle, as
274 such caching does not work on some network filesystems
276 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
277 * packaging/rpm/amanda.spec: Fix for fedora 10.
279 2009-01-16 Dustin J. Mitchell <dustin@zmanda.com>
280 * device-src/amtapetype.pl: remove call to old device function
282 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
283 * server-src/driver.c: Use bitwise NOT for taper_state.
285 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
286 * server-src/taper.c: Go to next tape if device_start_file fail.
287 * device-src/tape-device.c: write a filemark when a file is finished.
288 * device-src/tape-device.h (TapeDevice): Remove first_file.
290 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
291 * client-src/sendbackup.c: Fix for no index with application.
292 * application-src/amstar.c: Improve error reporting.
293 * application-src/amgtar.c: Improve error reporting.
295 2009-01-14 Jean-Louis Martineau <martineau@zmanda.com>
296 * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
297 * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
299 2009-01-13 Jean-Louis Martineau <martineau@zmanda.com>
300 * server-src/amcheck.c: Check fallback_splitsize is smaller than
302 * server-src/taper-mem-port-source.c: Dont; check physmem_available.
304 2009-01-12 Jean-Louis Martineau <martineau@zmanda.com>
305 * server-src/server_util.c: New get_pending_cmd function.
306 * server-src/server_util.h: get_pending_cmd prototype.
307 * server-src/driver.c: Send message to dumper in ABORT command.
308 * server-src/driverio.c: Send message to dumper in ABORT command.
309 * server-src/dumper.c: Check for ABORT cmd.
310 * server-src/reporter.c: Don't log duplicate
311 'Not enough holding disk space' error
313 2009-01-12 Jean-Louis Martineau <martineau@zmanda.com>
314 * server-src/driver.c: Fix result_argv subscript.
316 2009-01-08 Jean-Louis Martineau <martineau@zmanda.com>
317 * restore-src/amfetchdump.c: Write to stderr.
319 2009-01-06 Jean-Louis Martineau <martineau@zmanda.com>
320 * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
323 2009-01-06 Jean-Louis Martineau <martineau@zmanda.com>
324 * server-src/taper.c: Don't call changer_label() if a changer is not
327 2009-01-06 Jean-Louis Martineau <martineau@zmanda.com>
328 * server-src/driverio.c: Set *result_argv to NULL on EOF.
329 * server-src/taper-mem-port-source.c: Set an error if the memory can't
330 be allocated for the memory buffer.
332 2009-01-05 Dustin J. Mitchell <dustin@zmanda.com>
333 * client-src/runtar.c: remove unnecessary check for existence of
336 2009-01-05 Jean-Louis Martineau <martineau@zmanda.com>
337 * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
338 perl/Amanda/Xfer.swg: Fix compiler warning.
340 2009-01-05 Jean-Louis Martineau <martineau@zmanda.com>
341 * config/automake/scripts.am: Remove 'use lib' line before doing check.
343 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
344 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b2")
345 * packaging/deb/rules, packaging/deb/buildpkg,
346 packaging/deb/changelog, packaging/rpm/buildpkg,
347 packaging/rpm/amanda.spec: Change version to 2.6.1b2.
349 2008-12-22 Paul Yeatman <pyeatman@zmanda.com>
350 * man/entities/global.entities.in: added author/email entity for me
351 * man/xml-source/amanda-auth.7.xml: newly added man page
352 * man/Makefile.am: added amanda-auth to section 7
353 * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
354 and added link to amanda-auth man page
355 * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
356 amanda-auth and added link to amanda-auth man page
358 2008-12-22 Nikolas Coukouma <atrus@zmanda.com>
359 * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
361 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
362 * device-src/s3.c: translate error code 0 to "None", not NULL
364 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
365 * application-src/amgtar.c,
366 application-src/amstar.c: Use sizeof(line) for argument to fgets.
368 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
369 * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
372 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
373 * installcheck/Installcheck/Dumpcache.pm
374 installcheck/Installcheck/Run.pm installcheck/amdump.pl
375 installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
376 it, and use it in amdump and pp-scripts
377 * application-src/amlog-script.pl: don't pretend to be script-email
378 * man/Makefile.am: amanda-archive-format should be section 5
379 * man/xml-source/amanda-archive-format.5.xml: small tweaks
380 * man/xml-source/amanda-changers.7.xml: fix authorship
381 * man/xml-source/amanda.8.xml: add link to amvault(8)
382 * man/xml-source/amvault.8.xml: enumerate limitations of this version
383 * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
385 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
386 * config/amanda/dirs.m4: add --with-amdatadir
387 * example/Makefile.am: use it for examples and templates
388 * perl/Amanda/Paths.pm.in: add $amdatadir
389 * server-src/amserverconfig.pl: use it
390 * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
391 so that built packages still put examples and templates in
394 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
395 * application-src/amstar.c: Use fgets to read star output.
396 * application-src/amgtar.c: Use fgets to read gtar output.
398 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>,
399 Dustin J. Mitchell <dustin@zmanda.com>
400 * common-src/util.c: Convert underscore in application and script
401 property name to dash.
402 * device-src/property.c: Make underscore and dash equal in device
404 * installcheck/Amanda_Device.pl: Check device property name with
406 * installcheck/pp-scripts.pl: Check property name with underscore.
408 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
409 * server-src/reporter.c: Fix reporting of FLUSH.
411 2008-12-19 Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
412 * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
413 Reset read and write when retrying a failed request
415 2008-12-19 Jean-Louis Martineau <martineau@zmanda.com>
416 * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
418 2008-12-18 Jean-Louis Martineau <martineau@zmanda.com>
419 * common-src/security-util.c: Don't free 'rc'.
421 2008-12-18 Jean-Louis Martineau <martineau@zmanda.com>
422 * man/xml-source/amgtar.8.xml: Improve documentation of regex.
424 2008-12-18 Jean-Louis Martineau <martineau@zmanda.com>
425 * common-src/conffile.h (anonymous_value): New prototype.
426 * common-src/conffile.c (anonymous_value): New function.
427 * common-src/conffile.c: Use anonymous_value.
428 * server-src/diskfile.c: Use anonymous_value.
430 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
431 * perl/Amanda/Script_App.pm: Fix infinite loop.
432 * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
434 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
435 * server-src/planner.c: Run script only if todo is set.
437 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
438 * installcheck/amfetchdump.pl: chdir() before rmtree().
440 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
441 * common-src/pipespawn.c: Remove bogus g_debug().
443 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
444 * installcheck/amarchiver.pl: chdir() before rmtree().
445 * installcheck/amcheckdump.pl: Add reason to BAIL_OUT.
446 * installcheck/amdevcheck.pl: Add reason to BAIL_OUT.
448 2008-12-07 Satya Ganga <gsat@zmanda.com>
449 * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx
450 offline command instead of "eject" which is not supported on solaris.
452 2008-12-17 Dan Locks <dwlocks@zmanda.com>
453 * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
454 "present but cannot be compiled" warning during debian packaging.
456 2008-12-17 Dan Locks <dwlocks@zmanda.com>
457 * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
459 2008-12-17 Dustin J. Mitchell <dustin@zmanda.com>
460 * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
461 * installcheck/pp-scripts.pl: add atime-preserve property, remove
462 references to Installcheck::Dumpcache, which isn't in this release
464 2008-12-16 Dustin J. Mitchell <dustin@zmanda.com>
465 * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
468 2008-12-16 Jean-Louis Martineau <martineau@zmanda.com>
469 * common-src/security-util.c: Don't close if it's not open.
471 2008-12-16 Jean-Louis Martineau <martineau@zmanda.com>
472 * application-src/Makefile.am: Add amlog-script.
473 * application-src/amlog-script.pl: New scripts.
474 * server-src/amcheck.c , server-src/planner.c,
475 server-src/server_util.c, server-src/server_util.h,
476 server-src/driver.c: Add level argument to run_server_scripts().
477 The script is executed with that level argument.
478 * installcheck/pp-scripts.pl: Check scripts.
479 * installcheck/Makefile.am: Add pp-scripts.
481 2008-12-16 Dustin J. Mitchell <dustin@zmanda.com>
482 * man/Makefile.am man/xml-source/amanda-changers.7.xml
483 man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
484 man/xml-source/amanda.conf.5.xml: new documentation
485 * perl/Amanda/Changer.pm: not finished yet!
486 * perl/Amanda/Changer/compat.pm: fix error message
487 * server-src/changer.c changer-src/chg-glue.pl:
488 better error handling
490 2008-12-16 Dustin J. Mitchell <dustin@zmanda.com>
491 * changer-src/chg-glue.pl: add labelling support
492 * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
493 the changer is not seekable (hack to make slotinfofile work)
494 * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
495 slots to labels on a best-information-available basis
497 2008-12-15 Jean-Louis Martineau <martineau@zmanda.com>
498 * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
500 2008-12-15 Dustin J. Mitchell <dustin@zmanda.com>
501 * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
502 * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
503 stringify bigints in is_deeply arguments
504 * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
505 * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
506 BigIntCompat for perl-5.6 compatibility
508 2008-12-14 Dustin J. Mitchell <dustin@zmanda.com>
509 * man/Makefile.am: change manpage build process
510 * man/entities/global.entities.in: generate with config.status
511 * man/xslt/html.xsl.in: new templates to handle authors
512 * man/xslt/man.xsl.in: new templates to handle authors
513 * man/xml-source/*.xml: change specification of authors
514 * man/xml-source/amanda-applications.7.xml: add links to apps
515 * man/xml-source/amanda-scripts.7.xml: add links to scripts
517 2008-12-12 John Hein <jhein@timing.com>
518 * server-src/amdump.sh: fix Open3 invocation to work on
521 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
522 * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
523 always be at the beginning of the line.
525 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
526 * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
528 2008-12-12 Dustin J. Mitchell <dustin@zmanda.com>
529 * client-src/sendbackup-dump.c: fix previous commit to not use
530 precompiler directives in the middle of a macro invocation
532 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
533 * NEWS, ReleaseNotes: Add amzfs-sendrecv.
534 * client-src/sendbackup.c: Fix indexd test.
535 * man/Makefile.am: Add amzfs-sendrecv.8.
536 * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
537 * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
538 * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
539 * man/xml-source/amzfs-sendrecv.8.xml: New man page.
540 * application-src/amzfs-sendrecv.pl: New application.
541 * application-src/amzfs-snapshot.pl: Fix to use
542 Amanda::Application::Zfs
543 * application-src/Makefile.am: Add amzfs-sendrecv.
544 * perl/Amanda/Script_App.pm: Exit instead of die.
545 * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
546 * perl/Makefile.am: Add Amanda/Application and
547 Amanda/Application/Zfs.pm
549 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
550 * recover-src/extract_list.c: Wait to read at least one byte from the
551 data stream before forking the child.
553 2008-12-12 Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
554 * changer-src/chg-zd-mtx.sh: fix bashisms
555 * client-src/sendbackup-dump.c: use -L on systems that support it
557 2008-12-11 Jean-Louis Martineau <martineau@zmanda.com>
558 * NEWS, ReleaseNotes: Add amsamba.
560 2008-12-11 Jean-Louis Martineau <martineau@zmanda.com>
561 * server-src/driver.c: Check start_t before doing a dump to tape.
563 2008-12-09 C R Ritson.
564 * server-src/reporter.c: Add threshold to small and big estimate.
566 2008-12-09 Jean-Louis Martineau <martineau@zmanda.com>
567 * client-src/client_util.c: Parse RECOVER-MODE application support.
568 * client-src/client_util.h (backup_support_option_t):
569 Add smb_recover_mode.
570 * client-src/sendsize.c: Fix size.
571 * man/Makefile.am: Add amsamba.8.
572 * man/xml-source/amsamba.8.xml: New man page.
573 * man/xml-source/amanda-applications.7.xml: List amsamba.
574 * man/xml-source/amanda.8.xml: List amsamba.
575 * application-src/Makefile.am (CHECK_PERL): Add amsamba
576 * application-src/amsamba.pl: New application.
577 * recover-src/extract_list.c: Get support option from application
578 and set --recover-mode if needed.
579 * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
580 * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
581 * perl/Amanda/Paths.pm.in: Add $sysconfdir.
582 * perl/Amanda/Util.swg: Add skip_quoted_string.
584 2008-12-09 Jean-Louis Martineau <martineau@zmanda.com>
585 * man/xml-source/amstar.8.xml: Typo.
587 2008-12-09 Jean-Louis Martineau <martineau@zmanda.com>
588 * man/xml-source/amanda.conf.5.xml: Fix plugin location.
590 2008-12-07 Dustin J. Mitchell <dustin@zmanda.com>
591 * server-src/Makefile.am server-src/amvault.pl: new, experimental
592 script to copy data from secondary to tertiary volumes
593 * common-src/fileheader.c: strip spurious ' ' from headers
594 * man/Makefile.am man/xml-source/amvault.8.xml: docs
595 * perl/Amanda/DB/Catalog.pm: add kbps calculation
596 * perl/Amanda/Device.swg: add volume_header() method
598 2008-12-05 Dustin J. Mitchell <dustin@zmanda.com>
599 * server-src/taper.c: remove dead code that can cause compiler errors
601 2008-12-05 Jean-Louis Martineau <martineau@zmanda.com>
602 * server-src/driverio.c: Send a message with NO-NEW-TAPE.
603 * server-src/driver.c: Generate message for NO-NEW-TAPE, call
604 start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
605 for INPUT-ERROR and TAPE-ERROR
606 * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
608 2008-12-03 Jean-Louis Martineau <martineau@zmanda.com>
609 * man/xml-source/amanda.conf.5.xml: Provide default unit.
611 2008-12-03 Jean-Louis Martineau <martineau@zmanda.com>
612 * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
614 2008-12-01 Nikolas Coukouma <atrus@zmanda.com>
615 * device-src/s3.c: fix signedness
617 2008-12-01 Dustin J. Mitchell <dustin@zmanda.com>
618 * common-src/util.c: fix mishandling of trailing backslash in
621 2008-12-01 Nikolas Coukouma <atrus@zmanda.com>
622 * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
623 by adding some "null-op" read and write functions.
625 2008-11-27 Jean-Louis Martineau <martineau@zmanda.com>
626 * server-src/amstatus.pl: Correctly parse degraded size.
628 2008-11-26 Jean-Louis Martineau <martineau@zmanda.com>
629 * client-src/sendbackup.c: Set application in extraction command.
631 2008-11-25 Jean-Louis Martineau <martineau@zmanda.com>
632 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
633 * ReleaseNotes: Release notes for 2.6.1b1.
634 * NEWS: News for 2.6.1b1.
635 * packaging/deb/rules, packaging/deb/buildpkg,
636 packaging/rpm/buildpkg,
637 packaging/rpm/amanda.spec: Change version to 2.6.1b1.
639 2008-11-25 Jean-Louis Martineau <martineau@zmanda.com>
640 * config/amanda/bsd-security.m4: Fix.
641 * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
643 * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
645 2008-11-25 Dustin J. Mitchell <dustin@zmanda.com>
646 * changer-src/Makefile.am changer-src/chg-glue.pl:
647 add new c-to-perl glue script
648 * server-src/changer.c: interface with new script
649 * server-src/amtape.c man/xml-source/amtape.8.xml:
650 remove 'slot last' and 'slot prev'
651 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
652 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
654 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
655 installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
656 installcheck/Makefile.am: tests for all of it
658 2008-11-25 Dustin J. Mitchell <dustin@zmanda.com>
659 * example/template.d/advanced.conf.in: don't imply that
660 maxdumpsize is in bytes
662 2008-11-21 Nikolas Coukouma <atrus@zmanda.com>
663 * device-src/s3.c: work around a bug in Amazon's HTTP implementation
664 by avoiding HEAD requests.
666 2008-11-21 Jean-Louis Martineau <martineau@zmanda.com>
667 * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
669 * restore-src/restore.c: Also check for F_EMPTY.
671 2008-11-21 Jean-Louis Martineau <martineau@zmanda.com>
672 * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
673 that should terminate.
675 2008-11-21 Dustin J. Mitchell <dustin@zmanda.com>
676 * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
679 2008-11-20 Jean-Louis Martineau <martineau@zmanda.com>
680 * server-src/server_util.c: Skip one field in parsing INFO pid line.
682 2008-11-20 Jean-Louis Martineau <martineau@zmanda.com>
683 * oldrecover-src/extract_list.c: Use config.
684 * server-src/dumper.c: Check dle_str for NULL.
686 2008-11-20 Jean-Louis Martineau <martineau@zmanda.com>
687 * server-src/amdump.sh: Run amreport if the 'log' file already exist.
689 2008-11-20 Urs Schurer <urs@sitb.de>
690 * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
693 2008-11-19 Satya Ganga <gsat@zmanda.com>
694 * example/inetd.conf.amandaserver.in: Add serverconfig file
695 * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
697 2008-11-18 Dan Locks <dwlocks@zmanda.com>
698 * packaging/rpm/amanda.spec: removed conditionals around
699 perl(ExtUtils::Embed) so that buildrequires applies to all platforms
701 2008-11-18 Satya Ganga <gsat@zmanda.com>
702 * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
704 2008-11-18 Jean-Louis Martineau <martineau@zmanda.com>
705 * application-src/amstar.c: Free qdisk after the loop.
706 * application-src/amgtar.c: Free qdisk after the loop.
708 2008-11-17 Jean-Louis Martineau <martineau@zmanda.com>
709 * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
711 2008-11-17 Jean-Louis Martineau <martineau@zmanda.com>
712 * server-src/taper.c: Fix formating.
714 2008-11-17 Jean-Louis Martineau <martineau@zmanda.com>
715 * server-src/amstatus.pl: Parse "taper: using label ..." line.
716 * server-src/driver.c: Print tape size.
717 * server-src/amtoc.pl: Fix for new log format.
718 * server-src/reporter.c: Increase field width.
719 * server-src/taper.c: Print number of kbytes written to each tape.
721 2008-11-14 Dustin J. Mitchell <dustin@zmanda.com>
722 * device-src/s3-device.c: eliminate an extra buffer copy in the
723 common case where the caller supplies a large enough buffer
724 * device-src/s3.h: tweak a comment
726 2008-11-14 Jean-Louis Martineau <martineau@zmanda.com>
727 * server-src/holding.h: Improve comment.
728 * server-src/reporter.c: Print holding disk size in displyaunit.
730 2008-11-14 Jean-Louis Martineau <martineau@zmanda.com>
731 * client-src/client_util.c: Get stderr of scripts and send it to
733 * client-src/client_util.h: Add err in client_script_result_t.
734 * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
735 * client-src/sendsize.c: Fix.
736 * server-src/planner.c: Get WARNING line from client.
737 * server-src/reporter.c: Don't mark the dumper as FAILED if the
739 * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
740 * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
742 2008-11-12 Dustin J. Mitchell <dustin@zmanda.com>
743 * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
745 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
746 * amandad-src/amandad.c: Check that something is ready to be read
747 before calling errfd_recv.
749 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
750 * changer-src/chg-manual.sh: fix typo
752 2008-11-11 Dan Locks <dwlocks@zmanda.com>
753 * packaging/rpm/amanda.spec: add fedora 9 detection, add
754 BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
755 undetected instead of at all times
757 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
758 * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
759 active test scripts; add a DLE in the amfetchdump installcheck
761 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
762 * config/macro-archive/ac_perl_module_version.m4: new macro
763 * config/amanda/swig.m4: check for ExtUtils::Embed
765 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
766 * installcheck/amarchiver.pl: quote $sbindir from regexp
769 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
770 * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
773 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
774 * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
777 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
778 * client-src/selfcheck.c: fix.
779 * amandad-src/amandad.c: Read stderr of server and report it to server.
780 * server-src/planner.c: Keep first line only.
782 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
783 * amar-src/amarchiver.c: fix filesize printf conversion
785 2008-11-10 Jean-Louis Martineau <martineau@zmanda.com>
786 * client-src/sendbackup.c, client-src/selfcheck.c: Check return
789 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
790 * installcheck/Installcheck/Run.pm: change default DLEs
791 * installcheck/amcheckdump.pl: add DLE explicitly
792 * installcheck/amdevcheck.pl: add DLE explicitly
793 * installcheck/amdump.pl: use the amgtar application in a dump
795 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
796 * installcheck/Makefile.am: only test amfetchdump if it was built
797 * installcheck/amfetchdump.pl: use arguments in the right order
799 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
800 * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
801 * man/Makefile.am man/xml-source/amarchiver.8.xml
802 amar-src/Makefile.am amar-src/amarchiver.c: new application
803 * installcheck/Makefile.am installcheck/amarchiver.pl: tests
805 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
806 * installcheck/Installcheck/Run.pm: add Expect support
807 * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
808 installcheck, using Expect support
810 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
811 * common-src/amgetconf.pl: don't setup_application() in dbclose
813 2008-11-10 Jean-Louis Martineau <martineau@zmanda.com>
814 * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
816 2008-11-08 Dustin J. Mitchell <dustin@zmanda.com>
817 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
818 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
819 perl/Makefile.am: entirely new perl-based changer API
820 * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
821 add changer subsections
822 * man/xml-source/amanda.conf.5.xml: document them
823 * server-src/amcheckdump.pl: use the new changer API
824 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
825 installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
826 installcheck/Installcheck/Config.pm installcheck/Makefile.am
827 installcheck/Amanda_Changer_Disk.pl: new/updated tests
829 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
830 * application-src/amstar.c: fix.
832 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
833 * perl/Amanda/Application.swg: Remove %init.
835 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
836 * application-src/amgtar.c, application-src/amgtar_perl.pl,
837 application-src/amstar.c: Write backup image to fd3 and index to fd4.
838 * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
839 * recover-src/extract_list.c: Add more check.
840 * client-src/client_util.c (backup_support_option): Get stderr of
841 application and put it in errarray,
842 * client-src/client_util.h (backup_support_option): New prototype.
843 * client-src/selfcheck.c, client-src/sendbackup.c,
844 client-src/sendsize.c: Get stderr of application and send it to
846 * server-src/dumper.c: Log the first error message.
847 * server-src/planner.c: Log the first error message.
848 * server-src/reporter.c: Don't print some error in report.
850 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
851 * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
852 * client-src/client_util.c (run_calcsize): New function.
853 * client-src/client_util.h (run_calcsize): Prototype.
854 * client-src/sendbackup.c: Update amandates.
855 * client-src/sendsize.c: Handling of calcsize and multi-estimate.
856 * client-src/selfcheck.c: Check calcsize for application.
857 * application-src/amgtar_perl.pl, application-src/amstar.c,
858 * application-src/amgtar.c: handling of calcsize and multi-estimate.
859 * perl/Amanda/Script_App.pm: Add a check.
860 * perl/Amanda/Application.swg: Add run_calcsize.
861 * perl/Amanda/Application.pm: Delete
862 * perl/Makefile.am: Built from Application.swg
863 * client-src/calcsize.c: Handling of STAR program.
865 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
866 * man/xml-source/amgtar.8.xml: Document new properties.
867 * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
869 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
870 * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
871 exit with a status != 0.
872 * server-src/amtape.c: Display changer error.
874 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
875 * application-src/amgtar.c: Add exit-handling property.
877 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
878 * application-src/amgtar.c: Add normal, ignore and strange property.
880 2008-11-04 Jean-Louis Martineau <martineau@zmanda.com>
881 * server-src/amcheck.c: Check tape_splitsize < tape length.
883 2008-10-30 Dustin J. Mitchell <dustin@zmanda.com>
884 * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
885 add new sort key, 'w', for write_timestamp
886 * server-src/amadmin.c: use it
887 * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
888 the oldest-written copy of a dump
890 2008-10-30 Jean-Louis Martineau <martineau@zmanda.com>
891 * application-src/amgtar_perl.pl, application-src/amstar.c,
892 application-src/amgtar.c: Implement validate command.
893 * server-src/amcheckdump.pl: Execute the validate command of an
895 * perl/Amanda/Script_App.pm (print_to_server): Add validate.
896 * perl/Amanda/Application.pm (known_commands): Add validate.
897 * common-src/security-util.c: Fix typo.
899 2008-10-29 Dustin J. Mitchell <dustin@zmanda.com>
900 * man/xml-source/amanda.conf.5.xml
901 man/xml-source/amanda-devices.7.xml: improve device property
904 2008-10-29 Dustin J. Mitchell <dustin@zmanda.com>
905 * man/xml-source/amanda.conf.5.xml: taperflush params can be
908 2008-10-27 Jean-Louis Martineau <martineau@zmanda.com>
909 * common-src/fileheader.c (dumpfile_free_data): New function.
910 * common-src/fileheader.h (dumpfile_free_data): New prototype.
911 * server-src/cmdline.c, server-src/dumper.c,
912 server-src/planner.c, server-src/amadmin.c,
913 server-src/amflush.c, server-src/holding.c,
914 server-src/driver.c, server-src/find.c,
915 server-src/taper-source.c, server-src/taper-file-source.c
916 server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
918 2008-10-27 Dustin J. Mitchell <dustin@zmanda.com>
919 * common-src/glib-util.c: check library version at runtime
921 2008-10-27 Jean-Louis Martineau <martineau@zmanda.com>
922 * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
924 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
925 * installcheck/Amanda_Archive.pl: fix to also test for identity of
926 $user_data on perls that recognize such things
928 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
929 * amar-src/amar-test.c: don't ignore the return value of write()
931 2008-08-14 Nikolas Coukouma <atrus@zmanda.com>
932 Jean-Louis Martineau <martineau@zmanda.com>
933 * amar-src/amar.c: fix mis-aligned memory accesses
934 * amar-src/amar-test.c: fix test_pipe
936 2008-10-24 Jean-Louis Martineau <martineau@zmanda.com>
937 * perl/Amanda/Script_App.pm: New base module for script and application.
938 * perl/Amanda/Script.pm: New base module for script.
939 * perl/Amanda/Application.pm: New base module for application.
940 * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
942 * application-src/generic-dumper.pl: Remove file.
943 * application-src/generic-script.pl: Remove file.
944 * application-src/script-email.pl: Use Amanda::Script.
945 * application-src/amgtar_perl.pl: Use Amanda::Application.
946 * application-src/amzfs-snapshot.pl: Use Amanda::Script.
947 * application-src/Makefile.am: Remove generic-*.pl files.
949 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
950 * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
952 * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
954 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
955 * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
956 $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
958 * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
960 2008-10-23 Dustin J. Mitchell <dustin@zmanda.com>
961 * amar-src/Makefile.am: add amar.h to noinst_HEADERS
963 2008-10-23 Dustin J. Mitchell <dustin@zmanda.com>
964 * configure.in Makefile.am amar-src/Makefile.am: new directory
965 * amar-src/amar.c amar-src/amar.h: amanda archive library
966 * amar-src/amar-test.c: tests for library
967 * common-src/security-util.c common-src/security-util.h
968 common-src/util.c common-src/util.h: move net_writev to
969 util.c, rename to full_writev
970 * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
971 man/xml-source/amanda.8.xml: new manpage to describe the format
973 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
974 * configure.in: add tests for more headers, plus some defines
975 for the presence of Amanda's headers
976 * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
977 POSIX regex API and a GRegex (PCRE) call-compatability layer.
978 * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
979 Use callbacks to write and read data. Provide callbacks for
980 memory buffers and files. The callbacks for files are currently
982 * device-src/s3-device.c: update to use new API
984 2008-10-20 Dustin J. Mitchell <dustin@zmanda.com>
985 * perl/Makefile.am: remove spurious variables
987 2008-10-17 Jean-Louis Martineau <martineau@zmanda.com>
988 * changer-src/chg-multi.sh: Check permission on the statefile and its
991 2008-10-17 Jean-Louis Martineau <martineau@zmanda.com>
992 * server-src/planner.c: Set i to 0.
994 2008-10-17 Jean-Louis Martineau <martineau@zmanda.com>
995 * server-src/amcheck.c, server-src/dumper.c
996 server-src/planner.c: Don't send appliaciton-api request if the
997 client doesn't use the xml protocol.
999 2008-10-15 Jean-Louis Martineau <martineau@zmanda.com>
1000 * server-src/reporter.c: print space instead of N/A, dumper stats are
1001 set to "FLUSH" if it is a flush.
1003 2008-10-13 Dustin J. Mitchell <dustin@zmanda.com>
1004 * device-src/vfs-device.c: re-open the dir handle on every
1005 device start or read label
1006 * installcheck/Amanda_Device.pl: adjust tests to degrade the
1007 VFS device *after* it is started
1009 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
1010 * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
1012 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
1013 * installcheck/Makefile.am: revert previous commit.
1014 * config/automake/scripts.am: Check for a server perl module.
1016 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
1017 * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
1019 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
1020 * perl/Makefile.am: Don't check Amanda/Config files.
1022 2008-10-11 Jean-Louis Martineau <martineau@zmanda.com>
1023 * perl/Makefile.am: Check file in top_srcdir if they are not
1026 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
1027 * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
1029 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
1030 * perl/Makefile.am: test for libConfig.so before doing check.
1032 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
1033 * config/automake/scripts.am: Check perl scripts on compilation.
1034 Add -I... to 'make check' to access perl module in build tree.
1035 Add installcheck rules to check perl scripts with installed perl
1037 * application-src/amstar_perl.pl: Remove file.
1038 * device-src/Makefile.am, application-src/Makefile.am,
1039 server-src/Makefile.am, installcheck/Makefile.am,
1040 common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
1041 * installcheck/Makefile.am:
1042 Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
1043 * perl/Makefile.am: Add rules to check all .pm files for check-local.
1044 * device-src/amtapetype.pl, server-src/amaddclient.pl,
1045 common-src/amgetconf.pl: Fix syntax errors.
1047 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
1048 * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
1049 application-src/script-email.pl, application-src/amgtar_perl.pl:
1052 2008-10-10 Nick Smith <nick.smith@techop.ch>
1053 * application-src/amzfs-snapshot.pl: fix typos
1055 2008-10-08 Dustin J. Mitchell <dustin@zmanda.com>
1056 * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
1057 * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
1059 * server-src/amcheckdump.pl: don't read tapelist
1060 * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
1062 2008-10-08 Nick Smith <nick.smith@techop.ch>
1063 * server-src/driver.c: set degr_mesg to NULL when not degraded
1065 2008-10-06 Jean-Louis Martineau <martineau@zmanda.com>
1066 * application-src/amzfs-snapshot.pl: Accept execute-where argument.
1067 * application-src/script-email.pl: Accept execute-where argument.
1068 * client-src/client_util.c: Send execute-where argument to script.
1069 * server-src/server_util.c: Send execute-where argument to script.
1071 2008-10-06 Jean-Louis Martineau <martineau@zmanda.com>
1072 * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
1074 * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
1076 2008-10-03 Dustin J. Mitchell <dustin@zmanda.com>
1077 * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
1078 * common-src/timestamp.c: add comment
1080 2008-10-02 Dustin J. Mitchell <dustin@zmanda.com>
1081 * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
1082 * installcheck/Amanda_DB_Catalog.pl: test it
1083 * perl/Amanda/Logfile.swg: fix typo
1085 2008-10-01 Nikolas Coukouma <atrus@zmanda.com>
1086 * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
1087 Add new property, S3_SSL, to control the use of SSL/TLS when
1088 connecting to Amazon S3
1089 * man/xml-source/amanda-devices.7.xml:
1090 document S3_SSL and S3_BUCKET_LOCATION
1092 2008-10-01 Nikolas Coukouma <atrus@zmanda.com>
1093 * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
1095 2008-10-01 Dustin J. Mitchell <dustin@zmanda.com>
1096 * common-src/amanda.h common-src/conffile.c
1097 oldrecover-src/extract_list.c recover-src/extract_list.c
1098 server-src/amcheck.c server-src/amflush.c server-src/planner.c:
1099 use g_ascii_isspace, as we assume ASCII (for now) and isspace()
1100 is affected by locale and encoding settings. Thanks to Michael
1101 Reuland for helping track this down.
1103 2008-09-30 Jean-Louis Martineau <martineau@zmanda.com>
1104 * server-src/diskfile.h (xml_optionstr): New prototype.
1105 * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
1106 * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
1107 * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
1108 * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
1109 * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
1110 * server-src/dumper.c: Call clean_dle_str_for_client.
1111 * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
1112 * server-src/diskfile.c (clean_dle_str_for_client): New function.
1113 * restore-src/restore.c: Call clean_dle_str_for_client.
1114 * common-src/amxml.c: Fix parsing.
1115 * common-src/amanda.h (match_no_newline): Prototype.
1116 * common-src/match.c (match_no_newline): New function.
1118 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
1119 * restore-src/restore.c: set data.flags for use by the changer_find
1122 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
1123 * perl/Amanda/MainLoop.swg: add call_later()
1124 * installcheck/Amanda_MainLoop.pl: test it
1126 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
1127 * device-src/rait-device.c: fix typos
1129 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
1130 * common-src/semaphore.h: fix typo
1131 * device-src/rait-device.c: add a private threadpool-like
1132 implementation for old glibs, where GThreadPool is susceptible to
1135 2008-09-29 Dustin J. Mitchell <dustin@zmanda.com>
1136 * device-src/device.c device-src/device.h device-src/null-device.c
1137 device-src/property.c device-src/property.h device-src/rait-device.c
1138 device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
1139 device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
1140 device-src/tape-uware.c device-src/tape-xenix.c
1141 device-src/vfs-device.c: add a 'configure' method to the Device API;
1142 revamp device property handling to add source and surety and make
1143 implementation easier
1144 * device-src/rait-device.h device-src/rait-device.c: make RAIT device
1145 calculate block sized based on child devices, if they were configured
1147 * man/xml-source/amanda-devices.7.xml: note that common properties are
1148 not implemented on all devices
1149 * common-src/glib-util.c common-src/glib-util.h: add helpers for
1150 case-insensitive hashes
1151 * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
1152 perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
1153 server-src/amlabel.c server-src/amtape.c server-src/taper.c
1154 server-src/taperscan.c: use new API
1156 2008-09-29 Dustin J. Mitchell <dustin@zmanda.com>
1157 * server-src/find.c: handle find_result->label == NULL
1158 * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
1160 2008-09-26 Dustin J. Mitchell <dustin@zmanda.com>
1161 * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
1163 2008-09-26 Jean-Louis Martineau <martineau@zmanda.com>
1164 * server-src/driver.c: Parse dumpsize from taper result.
1166 2008-09-26 Jean-Louis Martineau <martineau@zmanda.com>
1167 * client-src/selfcheck.c: Set qdevice on common_exit path.
1169 2008-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1170 * common-src/fileheader.c: fix headers_are_equal
1172 2008-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1173 * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
1174 * device-src/device.c device-src/device.h: set blocksize in tape
1176 * device-src/null-device.c device-src/s3-device.c
1177 device-src/tape-device.c device-src/vfs-device.c: set blocksize
1178 in headers when starting files
1179 * device-src/rait-device.c: duplicate headers for child devices, since
1180 they are no longer const
1181 * server-src/dumper.c: set blocksize on holding-disk files to
1184 2008-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1185 * device-src/tape-device.c: mark device as non-appendable temporarily,
1186 since file numbers are incorrect when appending
1187 * installcheck/Amanda_Device.pl: handle non-appendable devices
1189 2008-09-24 Jean-Louis Martineau <martineau@zmanda.com>
1190 * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
1192 * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
1193 * server-src/chunker.c: Get mesg from ABORT cmd and log it.
1194 * server-src/driver.c: Add the mesg argument to all dumper_cmd and
1197 2008-09-24 Jean-Louis Martineau <martineau@zmanda.com>
1198 * server-src/planner.c: Set degr_mesg and send it to driver.
1199 * server-src/driverio.h (sched_t): Add degr_mesg field.
1200 * server-src/driver.c: Parse message if no degraded estimate.
1202 2008-09-23 Dustin J. Mitchell <dustin@zmanda.com>
1203 * common-src/conffile.c common-src/conffile.h: store a struct
1204 containing both filename and line number for each parameter, and use
1205 it when reporting errors and warnings
1207 2008-09-23 Dustin J. Mitchell <dustin@zmanda.com>
1208 * device-src/device.c: make 'unimplemented method' an assertion
1210 2008-09-23 Dustin J. Mitchell <dustin@zmanda.com>
1211 * device-src/s3.c: use max_keys, instead of maximum body size (which
1212 doesn't work) to limit the number of keys listed
1214 2008-09-22 Jean-Louis Martineau <martineau@zmanda.com>
1215 * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
1216 * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
1217 * server-src/taperscan.c: Check type != F_EMPTY.
1218 * server-src/taper.c: Call changer_label().
1219 * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
1221 2008-09-22 Jean-Louis Martineau <martineau@zmanda.com>
1222 * device-src/device.c: Don't g_value_unset a bzero value.
1224 2008-09-22 Jean-Louis Martineau <martineau@zmanda.com>
1225 * server-src/driver.c: Set result_argv=NULL, Fix typo.
1227 2008-09-22 Dustin J. Mitchell <dustin@zmanda.com>
1228 * config/amanda/ps.m4: give up on runtime detection and just special-
1229 case the 'ps' arguments for various systems
1230 * perl/Amanda/Constants.pm.in: add $PS
1231 * perl/Amanda/Process.pm: use $PS
1233 2008-09-19 Jean-Louis Martineau <martineau@zmanda.com>
1234 * server-src/reporter.c (addline): Done it constant time.
1236 2008-09-19 Dustin J. Mitchell <dustin@zmanda.com>
1237 * common-src/Makefile.am common-src/quoting-test.c: new tests
1238 * common-src/token.c common-src/token.h: removed
1239 * common-src/util.c common-src/util.h: new home for quoting functions
1240 * configure.in: don't check for shquote
1241 * man/xml-source/amanda.conf.5.xml: info on quoting
1242 * perl/Amanda/Config/Server.pm: note about incompatibility
1243 * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
1244 server-src/driver.c server-src/driverio.c server-src/driverio.h
1245 server-src/dumper.c server-src/infofile.c server-src/server_util.c
1246 server-src/server_util.h server-src/taper-file-source.c
1247 server-src/taper-port-source.c server-src/taper.c: use new/updated
1250 2008-09-19 Nick Smith <nick.smith@techop.ch>
1251 * example/amanda.conf.in: fix incorrect execute_on examples
1253 2008-09-18 Jean-Louis Martineau <martineau@zmanda.com>
1254 * server-src/dumper.c: Call security_close_connection before
1255 checking if pkt == NULL.
1257 2008-09-18 Jean-Louis Martineau <martineau@zmanda.com>
1259 * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
1260 * server-src/diskfile.c: Init xml_app.result to stralloc("").
1262 2008-09-16 Dan Locks <dwlocks@zmanda.com>
1263 * packaging/rpm/amanda.spec: Added detection of CentOS 4 and 5 as
1264 suggested by dswartz. added graceful failure when Distro/version is
1265 not detected correctly
1267 2008-09-15 Dustin J. Mitchell <dustin@zmanda.com>
1268 * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
1270 2008-09-14 Dustin J. Mitchell <dustin@zmanda.com>
1271 * server-src/tapefile.c server-src/tapefile.h: add comments to
1273 * perl/Amanda/Tapelist.swg: perl tapelist parser, too
1274 * installcheck/Amanda_Tapelist.pl: tests
1275 * man/xml-source/tapelist.5.xml: docs
1276 * server-src/amlabel.c: no initial comments when labeling
1277 * server-src/taper.c: maintain comment when relabeling
1279 2008-09-12 Jean-Louis Martineau <martineau@zmanda.com>
1280 * amandad-src/amandad.c: Fix typo: authetication -> authentication.
1282 2008-09-05 Dustin J. Mitchell <dustin@zmanda.com>
1283 * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
1284 Mike McConnell for spotting these
1286 2008-09-05 Dustin J. Mitchell <dustin@zmanda.com>
1287 * server-src/taper.c: improve handling of device errors in taper
1289 2008-09-02 Jean-Louis Martineau <martineau@zmanda.com>
1290 * restore-src/amrestore.c: Load a default server config.
1292 2008-08-29 Dustin J. Mitchell <dustin@zmanda.com>
1293 * autogen: revert glib's configure-time requirement for
1296 2008-08-28 Dustin J. Mitchell <dustin@zmanda.com>
1297 * device-src/tape-device.c: use the correct blocksize while reading
1298 * device-src/rait-device.c: fix typo
1299 * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
1302 2008-08-28 Jean-Louis Martineau <martineau@zmanda.com>
1303 * server-src/dumper.c: Reset the MESG buffer for a new dump.
1305 2008-08-27 Dustin J. Mitchell <dustin@zmanda.com>
1306 * server-src/amcheck.c: make the check for tapelist result in a NOTE,
1308 * server-src/tapefile.c: make a missing tapelist equivalent to an
1311 2008-08-27 Dustin J. Mitchell <dustin@zmanda.com>
1312 * config/amanda/types.m4: always include sys/types.h, if it exists,
1313 before trying other headers (fixes builds of FreeBSD-4.x); thanks
1314 to John Hein <jhein@timing.com>
1315 * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
1318 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
1319 * perl/amglue/bigint.c: add #include "stdint.h"
1321 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
1322 * config/amanda/ps.m4: search multiple ps invocations; thanks
1323 to John Hein <jhein@timing.com>
1325 2008-08-22 Jean-Louis Martineau <martineau@zmanda.com>
1326 * server-src/amadmin.ci (tape): Correctly print next tape to use.
1327 * server-src/tapefile.c (print_new_tapes): New function to print new
1329 * server-src/tapefile.h (print_new_tapes): Prototype.
1330 * server-src/reporter.c: Correctly print next tape to use.
1332 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
1333 * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
1334 add new 'define device' config section
1335 * perl/Makefile.am perl/Amanda/Config/Server.pm
1336 perl/Amanda/Config/Server/Devices.pm
1337 perl/Amanda/Config/Server/Grammar: ditto
1338 * device-src/device.c device-src/device.h: configure devices from
1339 device definitions, with better error handling
1340 * device-src/rait-device.c: handle child devices better
1341 * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
1342 installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
1343 installcheck/amgetconf.pl: new tests, modifications to work with the
1345 * man/xml-source/amanda-devices.7.xml
1346 man/xml-source/amanda.conf.5.xml: corresponding documentation updates
1347 * perl/Amanda/Changer.pm perl/Amanda/Device.swg
1348 restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
1349 server-src/amcheckdump.pl server-src/amdevcheck.pl
1350 server-src/amlabel.c server-src/amtape.c server-src/taper.c
1351 server-src/taperscan.c: remove calls to
1352 set_startup_properties_from_config
1353 * device-src/vfs-test.c: load config before trying to use a device
1354 * common-src/conffile.c: fix use of uninitialized variable
1356 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
1357 * changer-src/chg-disk.sh: replace == with =
1358 * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
1360 2008-08-22 Jean-Louis Martineau <martineau@zmanda.com>
1361 * server-src/reporter.c: Fix computation of compression ratio.
1363 2008-08-22 Jean-Louis Martineau <martineau@zmanda.com>
1364 * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
1365 * application-src/amgtar.c, application-src/amgtar_perl.pl:
1366 Ignore "Directory is new" and "Directory has been renamed".
1368 2008-08-21 Jean-Louis Martineau <martineau@zmanda.com>
1369 * common-src/krb5-security.c: Fix security_seterror use.
1371 2008-08-19 Dustin J. Mitchell <dustin@zmanda.com>
1372 * configure.in: check for getgrgid_r and getpwuid_r
1373 * common-src/security-util.c: conditionalize on checks
1375 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
1376 * common-src/version.h: remove #include of config.h
1377 * device-src/vfs-device.c: #include amanda.h first
1379 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
1380 * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
1381 * installcheck/Installcheck/Run.pm: report exit status
1382 * installcheck/Makefile.am installcheck/amtapetype.pl: new test
1383 * man/xml-source/amtapetype.8.xml: updated manpage
1384 * device-src/s3-device.c device-src/vfs-device.c
1385 device-src/tape-device.c: add compression property
1386 * perl/Amanda/Xfer.swg: add POD for the cancel() method
1387 * xfer-src/dest-device.c: add a default for max_memory
1389 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
1390 * common-src/conffile.c: make find_multiplier case-insensitive
1391 * device-src/device.c: reorder assertions
1392 * device-src/tape-device.c: don't set access_mode twice, but
1393 set in_file = FALSE in start
1394 * device-src/s3-device.c: fix property registration
1395 * perl/Amanda/MainLoop.swg: remove attach() from example
1396 * perl/Amanda/Xfer.swg: more detail in POD
1397 * xfer-src/source-pattern.c: operate byte-for-byte, like the random
1398 source, instead of using lots of memcpys and reallocs
1399 * xfer-src/source-random.c: remove redundant check
1401 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
1402 * configure.in Makefile.am tape-src/*: remove tape-src
1403 * changer-src/Makefile.am: don't link with libamtape
1404 * changer-src/chg-scsi.c: don't use libamtape
1405 * changer-src/scsi-changer-driver.c: don't use libamtape
1406 * config/amanda/tape.m4: fix comment
1407 * example/amanda.conf.in example/template.d/tapetypes: fix outdated
1409 * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
1410 remove amdd and ammt manpages
1411 * restore-src/Makefile.am: remove refs to tape-src/
1412 * server-src/Makefile.am: remove refs to tape-src/
1414 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
1415 * common-src/krb4-security.c common-src/krb5-security.c
1416 config/amanda/tape.m4 common-src/amanda.h: remove
1417 --with-maxtapeblocksize
1418 * common-src/conffile.c: deprecate file-pad
1419 * device-src/device-queueing.c device-src/device-queueing.h
1420 device-src/device.c device-src/device.h device-src/null-device.c
1421 device-src/property.c device-src/property.h device-src/rait-device.c
1422 device-src/s3-device.c device-src/tape-device.c
1423 device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
1424 server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
1425 xfer-src/source-device.c perl/Amanda/Device.swg: devices have
1426 {min,max,current} block sizes; remove the short_block parameter from
1427 device_write_block; fix property initialization; rename
1428 PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
1429 * device-src/rait-device.c: set child block sizes explicitly
1430 * installcheck/Amanda_Device.pl: tests; better S3 test count
1432 * installcheck/Amanda_Xfer.pl: tests
1433 * man/xml-source/amanda-devices.7.xml: update block sizes
1435 * man/xml-source/amanda.conf.5.xml: refer to block size properties
1436 * restore-src/amrestore.c: use set_restore_device_read_buffer_size
1437 * restore-src/restore.h restore-src/restore.c: add
1438 set_restore_device_read_buffer_size
1440 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
1441 * server-src/driver.c: handle taper_{input,tape}_error memory
1442 correctly, and add taper_tape_error to the trace log
1444 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
1445 * application-src/amzfs-snapshot.pl application-src/script-email.pl:
1446 remove unnecessary 'use Amanda::Device'
1448 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
1449 * common-src/amgetconf.pl: use filename-safe characters for $appname
1450 * installcheck/amgetconf.pl: test it
1452 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
1453 * man/entities/global.entities: add manpage refs
1454 * packaging/rpm/amanda_enterprise.spec
1455 packaging/rpm/amanda_enterprise_client.spec
1456 man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
1457 man/Makefile.am: add disklist(5), tapelist(5)
1458 * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
1459 man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
1460 man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
1461 man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
1462 man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
1463 man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
1464 - remove references to "output drivers" in favor of "device drivers"
1465 - add more inter-page references
1467 - add client_login to amanda-client.conf(5)
1468 - reformat informaltables, which don't render well in HTML or nroff,
1469 into variablelists, with fixes for bad xml->man conversion
1470 - fix funky replacement entities in HTML output
1471 * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
1472 * perl/Amanda/Device.swg: fix typo
1473 * perl/Amanda/MainLoop.swg: add hints for writing async functions
1474 * perl/Amanda/Types.swg: fix bad POD
1475 * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
1476 * perl/Amanda/Xfer.swg: tweaks
1477 * server-src/taper.c: fix typo
1478 * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
1479 will no longer overwrite such tapes
1481 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
1482 * common-src/debug.c: lock debug logging on a per-line basis
1484 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
1485 * device-src/rait-device.c: parse RAIT names with internal {..}
1486 * installcheck/Amanda_Device.pl: light testing
1488 2008-08-15 Dustin J. Mitchell <dustin@zmanda.com>
1489 * common-src/debug.c: include backtraces on fatal errors
1490 * config/amanda/debugging.m4: look for glibc's backtrace support
1491 * configure.in: ditto
1493 2008-08-14 Dustin J. Mitchell <dustin@zmanda.com>
1494 * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
1495 device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
1496 to date with function signatures
1498 2008-08-14 Dustin J. Mitchell <dustin@zmanda.com>,
1499 Nikolas Coukouma <atrus@zmanda.com>
1500 * xfer-src/*: add support for asynchronous cancellation of transfers
1501 and use it for error-handling
1502 * perl/Amanda/Xfer.swg: reflect into perl
1503 * installcheck/Amanda_Xfer.pl: test cancellation
1505 2008-08-12 Dustin J. Mitchell <dustin@zmanda.com>
1506 * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
1507 * man/Makefile.am: remove config.log after running config.status
1509 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
1510 * common-src/conffile.c: cleaner fix for signed compared to unsigned
1511 errors on older versions of GCC.
1513 2008-08-06 Dustin J. Mitchell <dustin@zmanda.com>
1514 * common-src/Makefile.am: second fix
1516 2008-08-06 Dustin J. Mitchell <dustin@zmanda.com>
1517 * common-src/Makefile.am: don't syntax-check amgetconf, since
1518 it uses Amanda::* modules
1520 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
1521 * server-src/amgetconf.pl, common-src/amgetconf.pl:
1522 Add --execute-where=client|server and --client options
1523 to make amgetconf query the client configuration
1524 instead. Move from server-src to common-src.
1525 * man/xml-source/amgetconf.8.xml: Document the new options.
1526 * installcheck/amgetconf.pl: Test the new options.
1527 * server-src/Makefile.am, common-src/Makefile.am:
1528 Updated Makefiles for move.
1529 * packaging/deb/amanda-enterprise-backup-client.install,
1530 packaging/sun-pkg/i386/client/prototype:
1531 Add amgetconf to client packages.
1533 2008-08-04 Dan Locks <dwlocks@zmanda.com>
1534 * packaging/rpm/amanda.spec: add %{tarver} macro and set the correct
1535 minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
1537 2008-08-04 Dustin J. Mitchell <dustin@zmanda.com>
1538 * common-src/conffile.c: workaround gcc<4.1.0 problems with long
1539 constants, don't use G_MAXINT64 in precompiler expressions
1541 2008-08-03 Dustin J. Mitchell <dustin@zmanda.com>
1542 * server-src/amrmtape.sh: use shell redirection with shell functions
1544 2008-08-03 Dustin J. Mitchell <dustin@zmanda.com>
1545 * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
1546 * common-src/dgram.c: address family debugging
1547 * common-src/stream.c: address family debugging
1549 2008-08-03 Dustin J. Mitchell <dustin@zmanda.com>
1550 * common-src/amanda.h common-src/conffile.c common-src/conffile.h
1551 installcheck/Amanda_Config.pl perl/Amanda/Config.swg
1552 server-src/planner.c: replace am64 type with gint64; also replace
1555 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
1556 * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
1557 stringify consistently (no '+' prefixing positive numbers).
1558 * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
1559 * installcheck/bigint.pl, perl/amglue/bigint.c:
1560 Use Amanda::BigIntCompat everywhere we use bigint.
1562 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
1563 * common-src/match.c: Correct array index to be within bounds
1565 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
1566 * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
1567 AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
1568 appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
1569 (which causes errors).
1571 2008-07-30 Dustin J. Mitchell <dustin@zmanda.com>
1572 * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
1573 * installcheck/amgetconf.pl: ditto
1575 2008-07-29 Dan Locks <dwlocks@zmanda.com>
1576 * packaging/rpm/amanda.spec: Merged fixes from enterprise .spec for
1577 parsing redhat-release for fedora versions correctly.
1579 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
1580 * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
1582 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
1583 * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
1584 Also check the returned ETag to make sure it matches the sent MD5 hash.
1585 Use simpler s3_base64_encode() instead of base64_encode().
1586 Correct the use of character classes in several regular expressions.
1587 * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
1588 s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
1589 as some constants. Move regexec_wrap() into this and rename it to
1591 * device-src/Makefile.am: add s3-util.c and s3-util.h
1593 2008-07-28 Dustin J. Mitchell <dustin@zmanda.com>
1594 * installcheck/Installcheck/Config.pm: don't set default tapetype
1595 unless not set explicitly.
1596 * installcheck/Amanda_Config.pl: test changes
1597 * man/xml-source/amanda-client.conf.5.xml
1598 man/xml-source/amanda.conf.5.xml: encourage, but don't require,
1601 2008-07-28 Dustin J. Mitchell <dustin@zmanda.com>
1602 * server-src/amserverconfig.pl: apply perltidy, factor some common
1603 code, and create the config dir and changer conf only after the check
1604 for mtx is performed
1606 2008-07-28 Dustin J. Mitchell <dustin@zmanda.com>
1607 * device-src/tests/semaphore-test.c: move function call out of
1608 variable initialization
1610 2008-07-25 Dan Locks <dwlocks@zmanda.com>
1611 * packaging/deb/control: added alternative dependency of libssl0.9.8 for
1612 Ubuntu 8.x builds. Added build dependencies for debhelper, fakeroot,
1613 libcurl-dev, libssl-dev. Updated server and client dependency for curl
1616 2008-07-18 Dan Locks <dwlocks@zmanda.com>
1617 * configure.in: add format-security to gcc compile flags
1618 * server-src/amindexd.c,
1619 server-src/dumper.c,
1620 server-src/reporter.c,
1621 restore-src/restore.c,
1622 common-src/security-util.c,
1623 common-src/bsd-security.c: replacemented unquoted strings in
1624 function arguments with "%s", arg. jrfranks's suggestion, dustin provided
1627 2008-07-17 Dan Locks <dwlocks@zmanda.com>
1628 * packaging/debian/amanda-enterprise-backup-*.install: added entries for
1629 applications and devices man pages.
1631 2008-07-17 Jean-Louis Martineau <martineau@zmanda.com>
1632 * man/Makefile.am: Add amzfs-snapshot.8
1633 * man/xml-source/amzfs-snapshot.8.xml: New man page.
1634 * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
1635 * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
1636 * application-src/amzfs-snapshot.pl: New script
1637 * application-src/Makefile.am: Add amzfs-snapshot
1638 * perl/Amanda/Util.swg: Add sanitise_filename.
1640 2008-07-17 Jean-Louis Martineau <martineau@zmanda.com>
1641 * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
1643 2008-07-16 Jean-Louis Martineau <martineau@zmanda.com>
1644 * server-src/driver.c: Improve message in failure to dump in degraded
1647 2008-07-16 Dan Locks <dwlocks@zmanda.com>
1648 * packaging/deb/control,
1649 packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
1650 build dependency for openssl and curl development files.
1652 2008-07-15 Dustin J. Mitchell <dustin@zmanda.com>
1653 * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
1654 specifying both IPv{4,6} does not work; remove IPv4
1656 2008-07-15 Jean-Louis Martineau <martineau@zmanda.com>
1657 * man/Makefile.am: Add new man pages.
1658 * man/xml-source/script-email.8.xml: New man page.
1659 * man/xml-source/amanda.8.xml: List new man pages.
1660 * man/xml-source/amanda-scripts.7.xml: New man page.
1662 2008-07-15 Dustin J. Mitchell <dustin@zmanda.com>
1663 * configure.in: generate (x)inetd files
1664 * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
1665 example/xinetd.amandaserver.in: give appropriate path for amandad,
1666 from configure (fixes builds on 64-bit machines)
1667 2008-07-15 Dustin J. Mitchell <dustin@zmanda.com>
1668 * client-src/client_util.c: #include "glib-util.h"
1669 * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
1670 * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
1671 * device-src/rait-device.c: Remove g_ptr_array_foreach.
1673 2008-07-15 Jean-Louis Martineau <martineau@zmanda.com>
1674 * client-src/client_util.c: Read stdout of scripts.
1675 * client-src/client_util.h: New prototype for run_client_scripts,
1676 New client_script_result_t struct.
1677 * client-src/sendbackup.c: Send scripts properties to application.
1678 * client-src/sendsize.c: Send scripts properties to application.
1679 * client-src/selfcheck.c: Send scripts properties to application.
1680 * recover-src/extract_list.c: Send scripts properties to application.
1681 * common-src/amxml.h (script_t) Add field to keep result of script.
1682 * common-src/amxml.c: Set script->result to NULL.
1684 2008-07-14 Dan Locks <dwlocks@zmanda.com>
1685 * packaging/rpm/amanda.spec: fix macro detection of fedora version
1687 2008-07-14 Dan Locks <dwlocks@zmanda.com>
1688 * packaging/rpm/amanda.spec: fix distribution detection, add
1689 activate-devpay to server files list
1691 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
1692 * installcheck/Amanda_Changer.pl: set up and parse a config, now that
1693 Amanda::Changer needs one
1695 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
1696 * perl/Amanda/Changer.pm: set device properties when testing device
1697 labels in the changer
1699 2008-07-11 Jean-Louis Martineau <martineau@zmanda.com>
1700 * application-src/amgtar.c: Add a DIRECTORY property.
1701 * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
1703 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
1704 * changer-src/chg-lib.sh.in: remove bogus Log() invocations
1706 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
1707 * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
1710 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
1711 * installcheck/Amanda_Device.pl: be more liberal in the flags that are
1712 accepted from S3's read_label; this will reduce false failures
1714 2008-07-11 Jean-Louis Martineau <martineau@zmanda.com>
1715 * client-src/client_util.c: Remove unused output_tool_property function.
1716 * client-src/client_util.h: Remove output_tool_property prototype.
1717 * man/xml-source/amanda-client.conf.5.xml: Add application and script
1719 * man/xml-source/amanda.conf.5.xml: Improve application and script
1721 * device-src/device.c: Fix for new property_t.
1722 * server-src/diskfile.h: Change prototype for xml_application and
1724 * server-src/diskfile.c: Add <priority> tag if client support it.
1725 * server-src/amindexd.c: Fix call to xml_application.
1726 * server-src/amcheck.c: Fix call to xml_application.
1727 * server-src/planner.c: Fix call to xml_application.
1728 * server-src/driverio.c: Fix call to xml_application.
1729 * server-src/server_util.c: Remove code to write property to stdin of
1731 * perl/Amanda/Config.swg: Fix for new property_t.
1732 * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
1733 * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
1735 * installcheck/Amanda_Config.pl: Fix for new property_t.
1736 * common-src/util.c: Remove unused output_tool_proplist fucntion,
1737 Fix for new property_t.
1738 * common-src/util.h: Remove output_tool_proplist prototype.
1739 * common-src/amxml.c:Fix for new property_t, parse priority of property.
1740 * common-src/conffile.c: Parse priority of a property,
1741 Add application and script to amanda-client.conf.
1742 * common-src/conffile.h: New property_t struct.
1743 * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
1744 * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
1746 2008-07-11 Jean-Louis Martineau <martineau@zmanda.com>
1747 * man/entities/global.entities: Add ENTITY email.jlm.
1748 * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
1749 amgtar.8 and amstar.8.
1750 * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
1751 at the begining of a line.
1752 * man/xml-source/amanda-applications.7.xml: New page.
1753 * man/xml-source/amgtar.8.xml: New page.
1754 * man/xml-source/amstar.8.xml: New page.
1756 2008-07-09 Ian Turner <ian@zmanda.com>
1757 * device-src/device.h: Clarify documentation of device_read_label().
1758 * device-src/s3-device.c, device-src/tape-device.c,
1759 device-src/vfs-device.c (device_read_label): Always clear volume
1760 labels, even if device is in error.
1761 * device-src/rait-device.c: Ditto; also properly handle properties
1762 that change device labels.
1764 2007-07-09 Nikolas Coukouma <nikolas@zmanda.com>
1765 * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
1766 property (for setting location constraints).
1768 2008-07-08 Dustin J. Mitchell <dustin@zmanda.com>
1769 * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
1770 when EOF occurs on writing
1772 2008-07-08 Dustin J. Mitchell <dustin@zmanda.com>,
1773 Nikolas Coukouma <nikolas@zmanda.com>,
1774 Ian Turner <ian@zmanda.com>,
1775 Jean-Louis Martineau <martineau@zmanda.com>
1776 Amanda has been analyzed with Klocwork source code analysis, the most
1777 accurate and comprehensive tool for finding critical programming
1778 errors and security vulnerabilities.
1779 * amandad-src/amandad.c changer-src/chg-scsi.c
1780 client-src/client_util.c client-src/selfcheck.c
1781 client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
1782 common-src/bsd-security.c common-src/fileheader.c
1783 common-src/local-security.c common-src/queueing.c
1784 common-src/security-util.c device-src/property.c
1785 device-src/rait-device.c device-src/tape-device.c
1786 device-src/vfs-device.c recover-src/set_commands.c
1787 restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
1788 server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
1789 server-src/changer.c server-src/chunker.c server-src/cmdline.c
1790 server-src/driver.c server-src/holding.c server-src/logfile.c
1791 server-src/reporter.c server-src/server_util.c
1792 server-src/taper-file-source.c: fix many issues identified
1793 by Klockwork, ranging in severity from stylistic to minor.
1794 - many memory leaks in error paths and application shutdown
1795 - better handling of incorrect commandline arguments
1796 - better resource management (file descriptors, etc.)
1798 2008-07-07 Nikolas Coukouma <nikolas@zmanda.com>
1799 * device-src/Makefile.am: conditionalize activate-devpay on
1802 2007-07-06 Nikolas Coukouma <nikolas@zmanda.com>
1803 * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
1804 device-src/activate-devpay.c, device-src/Makefile.am:
1805 Allow both regular S3 and S3-with-DevPay to be used in
1806 the same installation. Remove WANT_DEVPAY macro.
1807 * device-src/s3-device.c: Added a flag, is_devpay, to the device
1808 and handled divergent cases. Removed useless device_error_set calls.
1809 * device-src/s3.c: Use DevPay authentication iff user_token is set.
1810 Replaced some if statements about non-NULL pointers with assertions.
1811 * config/amanda/s3-device.m4, device-src/Makefile.am:
1812 remove devpay flag and WANT_DEVPAY definition.
1813 * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
1816 2007-07-06 Nikolas Coukouma <nikolas@zmanda.com>
1817 * device-src/s3.c: wait for bucket to appear after creation, treat
1818 missing bucket as temporary error, increase retries from 5 to 14
1819 (about 3min), explicitly handle HTTP verbs as libcurl expects.
1820 * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
1821 buckets taking too long to appear.
1823 2008-07-06 Dan Locks <dwlocks@zmanda.com>
1824 * packaging/deb/amanda-backup-server.postrm
1825 packaging/deb/amanda-backup-client.postrm: removed unused
1827 * packaging/deb/postrm: fixed typo in deluser command
1828 * packaging/deb/rules: added specific preinst and postrm scripts for
1831 2008-07-03 Dustin J. Mitchell <dustin@zmanda.com>
1832 * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
1833 new files for HTML output
1834 * man/xslt/man.xsl.in: substitute XSLT_VERS
1835 * man/xml-source/amanda-devices.7.xml: tweaks
1836 * man/xml-source/amanda.8.xml: tweaks
1837 * man/xml-source/amanda.conf.5.xml: tweaks
1838 * man/xml-source/amgetconf.8.xml: tweaks
1839 * man/xml-source/amtoc.8.xml: tweaks
1841 2008-07-03 Dustin J. Mitchell <dustin@zmanda.com>
1842 * common-src/genversion.c: correctly represent available amflock
1845 2008-07-03 Jean-Louis Martineau <martineau@zmanda.com>
1846 * perl/Amanda/Xfer.swg: #include "glib-util.h"
1848 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
1849 * device-src/rait-device.c: don't use self->device_name in open_device
1851 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
1852 * installcheck/amgetconf.pl: supply a plugin for scripts
1854 2008-07-02 Jean-Louis Martineau <martineau@zmanda.com>
1855 * server-src/diskfile.c: Check an application is set if
1856 program == "APPLICATION".
1857 * common-src/amxml.c: Check plugin is set for application and script.
1858 * common-src/conffile.c: Check plugin is set for application and script
1860 2008-07-02 Jean-Louis Martineau <martineau@zmanda.com>
1861 * server-src/amstatus.pl: Fix printing of config path on error.
1863 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
1864 * installcheck/Amanda_Device.pl: test that start(READ) without first
1865 reading the label doesn't cause errors
1866 * device-src/s3-device.c: call s3_device_read_label directly
1868 2008-07-02 Ian Turner <ian@zmanda.com>
1869 * man/xml-source/amanda.8.xml: Document how to override device
1872 2008-07-02 Ian Turner <ian@zmanda.com>
1873 Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
1875 * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
1876 to start RAIT device in degraded mode.
1877 * device/device.c: Be a little more forgiving of NULL devices.
1878 * device-src/vfs-device.c: Fix a bug where vfs_device_start()
1879 would sometimes throw an erroneous assertion.
1880 * device-src/rait-device.c: Be much more robust in error handling;
1881 new feature to start a RAIT device in degraded mode.
1882 * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
1884 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
1885 * common-src/amanda.h: remove unused #include <alloca.h>
1887 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
1888 * device-src/tape-device.c: add "user" and "good" to feature flags
1889 * man/xml-source/amanda-devices.7.xml: document it
1891 2008-07-01 Dustin J. Mitchell <dustin@zmanda.com>
1892 * device-src/device.h: fix comments to reflect removal of
1894 * device-src/tape-device.c: remove autofinishing
1896 2008-07-01 Dustin J. Mitchell <dustin@zmanda.com>
1897 * changer-src/chg-lib.sh.in: also handle bare tape dev names
1899 2008-07-01 Dustin J. Mitchell <dustin@zmanda.com>
1900 * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
1901 * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
1904 2008-06-30 Dustin J. Mitchell <dustin@zmanda.com>
1905 * common-src/match.c: fix multiple bugs in match_datestamp
1907 2008-06-29 Dustin J. Mitchell <dustin@zmanda.com>
1908 * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
1909 perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
1910 perl/Amanda/Device.swg perl/Amanda/Logfile.swg
1911 perl/Amanda/Util.swg: POD cleanup
1912 * perl/Makefile.am: new files, rules to make HTML
1913 * perl/amperl.css: CSS file for online POD
1914 * perl/make_html.pl: make online POD
1916 2008-06-29 Dustin J. Mitchell <dustin@zmanda.com>
1917 * installcheck/Makefile.am installcheck/amstatus.pl: new check
1919 2008-06-27 Ian Turner <ian@zmanda.com>
1920 * server-src/taper.c: fix printing a NULL pointer in the error path
1922 2008-06-27 Dustin J. Mitchell <dustin@zmanda.com>
1923 * device-src/device.c: check for and fail on multiple
1924 short writes to the same file
1925 * device-src/null-device.c device-src/rait-device.c
1926 device-src/s3-device.c device-src/tape-device.c
1927 device-src/vfs-device.c: do not autofinish files
1928 * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
1929 expect devices to autofinish anymore
1930 * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
1931 * device-src/device-queueing.c: comments
1932 * xfer-src/xfer-element.h: comments
1934 2008-06-27 Nikolas Coukouma <atrus@zmanda.com>
1935 * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
1936 Add support for bucket location constraints
1937 * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
1938 * device-src/s3.c device-src/s3.h device-src/s3-device.c:
1939 Checks for libcurl and bucket name compatability with location constraints
1940 * device-src/s3.c: make s3_init() threadsafe,
1941 refactor regex compilation and calling,
1942 refactor perform_request() functions to construct URL later,
1943 use GString to tidy string generation
1944 * installcheck/Amanda_Device.pl: Add tests for location constraints
1946 2008-06-27 Ian Turner <ian@zmanda.com>
1947 * device-src/rait-device.c: Fix a memory corruption issue on the last
1950 2008-06-27 Ian Turner <ian@zmanda.com>
1951 * device-src/rait-device.c: Fix a memory corruption issue on the last
1954 2008-06-27 Ian Turner <ian@zmanda.com>
1955 * device-src/rait-device.c: Track file numbers properly when child
1956 devices change them (that is, in rait_device_start_file() and
1957 rait_device_seek_file()).
1958 * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
1960 2008-06-27 Jean-Louis Martineau <martineau@zmanda.com>
1961 * device-src/s3-device.c (s3_device_read_label): Don't set
1962 volume_header if nothing is read.
1964 2008-06-27 Jean-Louis Martineau <martineau@zmanda.com>
1965 * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
1967 2008-06-27 Dustin J. Mitchell <dustin@zmanda.com>
1968 * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
1969 * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
1972 2008-06-26 Jean-Louis Martineau <martineau@zmanda.com>
1973 * application-src/amstar.c: Use local start_time variable.
1974 * application-src/amgtar.c: Use local start_time variable.
1975 * common-src/clock.h: Remove times_zero and start_time extern.
1976 * common-src/clock.c: Remove times_zero.
1978 2008-06-25 Jean-Louis Martineau <martineau@zmanda.com>
1979 * server-src/diskfile.c: Don't send encryption in xml req packet for
1982 2008-06-25 Dustin J. Mitchell <dustin@zmanda.com>
1983 * application-src/amgtar.c: revert --atime-preserve change
1985 2008-06-22 Dustin J. Mitchell <dustin@zmanda.com>
1986 * application-src/amgtar.c: change --atime-preserve=system to
1989 2008-06-20 Dustin J. Mitchell <dustin@zmanda.com>
1990 * installcheck/amdump.pl: fix checks to refresh the test configuration
1992 2008-06-20 Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
1993 * server-src/amdump.sh: correctly handle error exits from planner
1994 * server-src/planner.c: fail if planning fails
1995 * installcheck/amdump.pl: test changes
1997 2008-06-20 Dan Locks <dwlocks@zmanda.com>
1998 * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
2000 2008-06-20 Dan Locks <dwlocks@zmanda.com>
2001 * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
2003 2008-06-20 Jean-Louis Martineau <martineau@zmanda.com>
2004 * client-src/client_util.c: Call check_access() only
2005 if getuid() == geteuid().
2006 * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
2008 2008-06-19 Jean-Louis Martineau <martineau@zmanda.com>
2009 * server-src/amcleanup.pl: Correctly rename amdump files.
2011 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
2012 * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
2013 * man/entities/global.entities: emails for dustin and ian
2014 * man/xml-source/amanda.8.xml: refer to new manpage
2015 * man/xml-source/amanda.conf.5.xml: refer to new manpage
2016 * man/xml-source/amrecover.8.xml: refer to new manpage
2017 * server-src/amcheck.c: fix message regarding WORM media
2019 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
2020 * server-src/amgetconf.pl: fail on bad parameters or subsections, but
2021 not empty values or subsection lists
2022 * perl/Amanda/Config.swg: publish a list of subsections
2023 * installcheck/amgetconf.pl: test it
2025 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
2026 * example/template.d/amanda-single-tape.conf.in
2027 example/template.d/amanda-harddisk.conf.in
2028 example/template.d/amanda-tape-changer.conf.in
2029 example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
2030 use application amgtar instead of program GNUTAR
2032 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
2033 * config/amanda/net.m4: AC_SUBST port ranges; update comments
2035 2008-06-19 Satya Ganga <gsat@zmanda.com>
2036 * example/template.d/amanda-single-tape.conf.in
2037 example/template.d/advanced.conf.in: update displayunit to "g" and
2038 remove chg-manual for single tape configurations.
2040 2008-06-19 Ian Turner <ian@zmanda.com>
2041 * device-src/rait-device.c (rait_device_start): Check for consistent
2042 volume label on all child devices, fail with
2043 DEVICE_STATUS_DEVICE_ERROR otherwise.
2044 * installcheck/Amanda_Device.pl: Test for foregoing.
2046 2008-06-19 Paddy Sreenivasan <paddy@zmanda.com>
2047 * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
2049 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
2050 * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
2051 * config/automake/scripts.am: explain why
2053 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
2054 * changer-src/chg-manual.sh: Make it interruptible.
2056 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
2057 * application-src/amgtar.c: Remove check for amandates file.
2059 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
2060 * common-src/amanda.h: Fix skip_quoted_string for "\\".
2061 * common-src/file.c: Fix debug_agets for "\\".
2063 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
2064 * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
2066 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
2067 * client-src/sendsize.c: Report error from application to server.
2068 * application-src/amgtar.c: Report exit status of tar.
2070 2008-06-16 Dustin J. Mitchell <dustin@zmanda.com>
2071 * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
2072 xfer-src/dest-device.c xfer-src/source-device.c: new elements
2073 Amanda::Xfer:{Dest,Source}::Device
2074 * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
2075 * installcheck/Amanda_Xfer.pl: tests for new elements
2077 2008-06-16 Dustin J. Mitchell <dustin@zmanda.com>
2078 * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
2080 * installcheck/amservice.pl: put -f switches first
2082 2008-06-15 Dustin J. Mitchell <dustin@zmanda.com>
2083 * installcheck/Amanda_Config.pl: test config overwrites
2084 * common-src/conffile.c: don't segfault applying config overwrites
2085 after config_init(0, NULL)
2087 2008-06-13 Jean-Louis Martineau <martineau@zmanda.com>
2088 * client-src/sendbackup.c: Run compression and encryption for
2091 2008-06-13 Jean-Louis Martineau <martineau@zmanda.com>
2092 * perl/Amanda/Util.swg: Expose get_original_cwd.
2093 * application-src/amgtar_perl.pl, application-src/amoracle.pl:
2094 chdir(get_original_cwd()) before restore.
2096 2008-06-13 Dustin J. Mitchell <dustin@zmanda.com>
2097 * device-src/property.c device-src/property.h: remove tape properties
2098 * device-src/tape-device.c device-src/tape-device.h: add tape
2101 2008-06-12 Dan Locks <dwlocks@zmanda.com>
2102 * packaging/rpm/amanda_enterprise.spec,
2103 packaging/rpm/amanda_enterprise_client.spec,
2104 packaging/deb/rules: install amgtar and amstar suid root
2106 2008-06-12 Jean-Louis Martineau <martineau@zmanda.com>
2107 * client-src/selfcheck.c: Typo.
2109 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
2110 * client-src/sendsize.c: Check MAX-LEVEL from application.
2111 * server-src/planner.c: Ask for estimate even if SERVER, estimate is
2112 valid if client return -1 and invelid if client return -2.
2113 * common-src/amfeatures.h: New fe_xml_estimate amfeature.
2114 * common-src/amxml.c: Parse <estimate> tag.
2115 * common-src/amxml.h (dle_t): New estimate field.
2116 * common-src/amfeatures.c: Set fe_xml_estimate.
2118 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
2119 * client-src/client_util.c (application_property_add_to_argv):
2120 Add include and exclude.
2121 * client-src/client_util.h (application_property_add_to_argv):
2123 * client-src/sendbackup.c, client-src/sendsize.c,
2124 client-src/selfcheck.c, recover-src/extract_list.c:
2125 Add bsu param to application_property_add_to_argv.
2126 * client-src/selfcheck.c: Check if application support includ/exclude.
2127 * application-src/amgtar_perl.pl: Don't support include/exclude.
2128 * application-src/amgtar.c: Support include-optional and
2130 * common-src/amxml.c: Fix include/exclude parsing.
2132 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
2133 * application-src/Makefile.am: Install amgtar and amstar suid root.
2135 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
2136 * client-src/selfcheck.c: Print cmdline before execing the application.
2137 * application-src/generic-dumper.pl: Cleanup.
2138 * application-src/script-oracle.pl: Cleanup.
2139 * application-src/script-email.pl: Cleanup.
2140 * application-src/amgtar_perl.pl: Cleanup.
2141 * application-src/generic-script.pl: Cleanup.
2142 * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
2143 * perl/Amanda/Debug.swg: Typo.
2145 2008-06-10 Dustin J. Mitchell <dustin@zmanda.com>
2146 * common-src/Makefile.am: don't use $(builddir), fix comparison
2147 * installcheck/Makefile.am: don't use $(builddir)
2149 2008-06-10 Ian Turner <ian@zmanda.com>
2150 * common-src/fileheader.c: Silence a compiler warning.
2151 * device-src/rait-device.c: ditto.
2153 2008-06-10 Dustin J. Mitchell <dustin@zmanda.com>
2154 * device-src/rait-device.c: hack around glib bug in versions <2.10.2
2155 using the precompiler macro instead of glib_check_version, which
2156 doesn't exist in every version of glib
2158 2008-06-10 Dan Locks <dwlocks@zmanda.com>
2159 * packaging/rpm/amanda.spec: Replaced individual SBINDIR/am... entries
2160 with SBINDIR/am* in %%files
2162 2008-06-10 Jean-Louis Martineau <martineau@zmanda.com>
2163 * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
2165 2008-06-09 Dan Locks <dwlocks@zmanda.com>
2166 * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
2167 cause the script to fail.
2169 2008-06-09 Dan Locks <dwlocks@zmanda.com>
2170 * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
2171 use a single SBINDIR/am* entry in %files
2173 2008-06-09 Dustin J. Mitchell <dustin@zmanda.com>
2174 * common-src/fileheader.c: correctly free dle_str
2175 * device-src/device.c device-src/device.h: add volume_header Device
2177 * device-src/rait-device.c device-src/s3-device.c
2178 device-src/tape-device.c device-src/vfs-device.c: populate
2180 * server-src/amlabel.c: use volume_header to detect a non-empty tape
2181 and require a force (-f) to overwrite it
2182 * server-src/taperscan.c: use volume_header to detect a non-empty tape
2183 and require 'amlabel -f' to overwrite it
2184 * device-src/tape-device.c device-src/vfs-device.c: fix read_label
2185 return values and remove useless chain-up calls
2187 2008-06-09 Jean-Louis Martineau <martineau@zmanda.com>
2188 * server-src/amservice.c: Open input file in read mode, prepend
2189 get_original_cwd() to relative path.
2190 * installcheck/Makefile.am: Check amservice only on server.
2192 2008-06-09 Dustin J. Mitchell <dustin@zmanda.com>
2193 * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
2195 2008-06-09 Dustin J. Mitchell <dustin@zmanda.com>
2196 * man/xml-source/amanda.8.xml: add links to amservice
2198 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
2199 * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
2200 * configure.in: don't call AC_SOCKADDR_STORAGE
2202 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
2203 * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
2205 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
2206 * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
2207 handling so that checks can load/unload vtapes "manually"
2209 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
2210 * server-src/amdevcheck.pl: apply config_overwrites before printing
2213 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
2214 * application-src/amgtar_perl.pl application-src/amstar_perl.pl
2215 application-src/generic-dumper.pl application-src/generic-script.pl
2216 application-src/script-email.pl server-src/amgetconf.pl: add GPL
2219 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
2220 * server-src/amservice.c: Exit with 1 if the connection fail.
2221 * man/xml-source/amservice.8.xml: Document exit code.
2223 2008-06-06 Dustin J. Mitchell <dustin@zmanda.com>
2224 * device-src/device.c: make device_set_error bulletproof to NULLs
2225 * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
2228 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
2229 * man/Makefile.am: Add amservice.8.
2230 * man/xml-source/amservice.8.xml: New man page for amservice.
2231 * server-src/amservice.c: New program to execute an amanda service
2233 * server-src/Makefile.am: Add amservice
2234 * installcheck/amservice.pl: New check for amservice program.
2235 * installcheck/Makefile.am: Add amservice
2237 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
2238 * server-src/dumper.c: Don't quote dle_str.
2239 * common-src/fileheader.c: DLE= in header is like heredoc.
2241 2008-06-06 Dustin J. Mitchell <dustin@zmanda.com>
2242 * device-src/*: major overhaul:
2243 - add device_set_error to set error status and message for Device
2244 - every error return from a device API method sets error status
2245 - device_status_error is now threadsave
2246 - a device in an error state will not perform further operations
2247 - ensure Device attributes are set correctly by member functions
2248 - device_open never returns NULL, but may return a null device with
2250 - clearly define $device_name="$device_type:$device_node"
2251 - send RAIT logging to the debug log
2252 - vfs, tape devices don't touch the device until read_label or start
2253 - on out-of-space in write, set is_eof, finish the file, and return
2255 - use accessor functions in Amanda::Device
2256 - move device-specific properties to live with their devices
2257 - change g_return_val_if_fail to g_assert or explicit checks
2258 - remove most default Device methods, as they were more confusing
2260 - misc. other cleanup
2261 * device-src/null-device.h device-src/rait-device.h
2262 device-src/s3-device.h device-src/vfs-device.h: removed to make most
2263 device class declarations local to the source file
2264 * perl/Amanda/Device.swg: new error handling
2265 * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
2266 server-src/amcheck.c server-src/amcheckdump.pl
2267 server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
2268 server-src/taperscan.c: use new device error-handling
2269 * server-src/taper-file-source.c server-src/taper-port-source.c
2270 server-src/taper-source.c: rename GObject constants (typo)
2271 * server-src/taper-source.h:
2272 * server-src/taper.c: handle opening devices better, log on EOM
2273 * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
2275 * installcheck/amdevcheck.pl: volume-unlabeled message has changed
2276 * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
2278 * configure.in device-src/tests/: removed
2279 * device-src/vfs-test.c: moved from device-src/tests/
2281 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
2282 * client-src/sendbackup.c: Don't write the uncompression program if
2283 it is not client compressed.
2285 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
2286 * server-src/taper.c: Log no-tape line.
2288 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
2289 * server-src/reporter.c: Improve formating.
2291 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
2292 * server-src/driver.c: start the degraded mode if it receive
2293 NO-NEW-TAPE from taper.
2295 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
2296 * server-src/amcheckdump.pl: Check log fiels in directory if find_log
2297 find no log for the timestamps.
2299 2008-06-05 Dustin J. Mitchell <dustin@zmanda.com>
2300 * common-src/conffile.c common-src/conffile.h: expose config_add_error
2301 * server-src/diskfile.c server-src/diskfile.h: use config_add_error
2302 to send diskfile errors to conffile's error-handling mechanism
2303 * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
2304 server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
2305 server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
2306 server-src/planner.c: parse disklist along with config
2308 2008-06-04 Jean-Louis Martineau <martineau@zmanda.com>
2309 And Dustin J. Mitchell <dustin@zmanda.com>
2310 * man/xml-source/amanda-client.conf.5.xml: Document property.
2311 * installcheck/Amanda_Config.pl: Add test for client property.
2312 * common-src/conffile.c (client_var): Add CONF_PROPERTY.
2314 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
2315 * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
2316 * common-src/fileheader.c: Don't print NULL dle_str.
2318 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
2319 * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
2320 add fe_amrecover_dle_in_header.
2321 * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
2322 * recover-src/set_commands.c: Use fe_amindexd_DLE.
2323 * server-src/dumper.c: Set dle_str and add it to the header.
2324 * restore-src/restore.c: Remove dle_str is client doesn't have
2325 fe_amrecover_dle_in_header.
2326 * common-src/fileheader.c: Parse and set dle_str from header.
2327 * common-src/fileheader.h: Add dle_str in dumpfile_t.
2329 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
2330 * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
2331 man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
2332 man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
2334 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
2335 * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
2337 * installcheck/amgetconf.pl: Fix and add more tests.
2339 2008-06-03 Dustin J. Mitchell <dustin@zmanda.com>
2340 * common-src/amxml.c: give parse error on an empty "disk" element
2341 * server-src/diskfile.c: give parse error on an empty "disk" element
2343 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
2344 * common-src/security-util.c: Remove unneeded pointer cast.
2345 * common-src/stream.c: Fix compiler error.
2347 2008-05-30 Dustin J. Mitchell <dustin@zmanda.com>
2348 * installcheck/Installcheck/Config.pm: fix subsection inheritance
2350 2008-05-30 Dustin J. Mitchell <dustin@zmanda.com>
2351 * common-src/amanda.h, common-src/bsd-security.c,
2352 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
2353 common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
2354 common-src/security-util.c, common-src/security-util.h,
2355 common-src/sockaddr-util.c, common-src/sockaddr-util.h,
2356 common-src/stream.c, common-src/util.c, common-src/util.h,
2357 restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
2358 change all relevant functions to use it, to avoid aliasing violations
2360 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
2361 * common-src/conffile.c (lookup_keyword): Use temporary variable.
2362 * installcheck/Amanda_Config.pl: Check insentivity of -/_ in amanda
2364 * installcheck/Installcheck/Config.pm: Adjust to make the subsection
2367 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
2368 * recover-src/extract_list.c: Send properties from dump_dle to
2371 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
2372 * client-src/client_util.c: New *-RECOVER scripts.
2373 * application-src/script-email.pl: Add new *-RECOVER scripts.
2374 * application-src/generic-script.pl: Add new *-RECOVER scripts.
2375 * application-src/amstar.c: Fix.
2376 * application-src/amgtar.c: Fix.
2377 * recover-src/amrecover.c: Add a global dump_dle variable.
2378 * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
2380 * recover-src/amrecover.h: Add an extern dump_dle variable.
2381 * recover-src/set_commands.c: Send to amindexd the DLE command.
2382 * server-src/amindexd.c: Handle the DLE command.
2383 * server-src/server_util.c: Add *-RECOVER scripts, they can't be
2385 * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
2386 * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
2387 * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
2388 * common-src/amxml.c: Add *-RECOVER scripts.
2389 * common-src/conffile.c: Add *-RECOVER scripts.
2390 * common-src/conffile.h: Add *-RECOVER scripts.
2392 2008-05-29 Dustin J. Mitchell <dustin@zmanda.com>
2393 * common-src/conffile.c: make config insensitive to
2394 differences between '-' and '_'
2395 * man/xml-source/amanda-client.conf.5.xml
2396 man/xml-source/amanda.conf.5.xml
2397 man/xml-source/amgetconf.8.xml: document it
2398 * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
2401 2008-05-29 Orion Poplawski <orion@cora.nwra.com>
2402 * server-src/chunker.c: fix buffer overrun
2404 2008-05-29 Jean-Louis Martineau <martineau@zmanda.com>
2405 * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
2407 2008-05-28 Dustin J. Mitchell <dustin@zmanda.com>
2408 * device-src/rait-device.c: rait-device returns correct size when
2409 blocksize is too small
2411 2008-05-28 Jean-Louis Martineau <martineau@zmanda.com>
2412 * server-src/reporter.c: Fix ignoring pid line.
2414 2008-05-27 Jean-Louis Martineau <martineau@zmanda.com>
2415 * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
2416 * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
2418 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
2419 * server-src/amstatus.pl: use lib '@amperldir@';
2420 * perl/Amanda/Process.pm: use Amanda::Constants;
2422 2008-05-26 Dustin J. Mitchell <dustin@zmanda.com>
2423 * device-src/rait-device.c: temporarily remove the call to set the
2424 BLOCK_SIZE property on all RAIT children, as it fails with VFS
2426 * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
2427 correctly detect and handle child device failures
2428 * common-src/fileheader.c: fix parse_file_header to be threadsafe
2430 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
2431 * device-src/tape-aix.c, device-src/tape-xenix.c
2432 device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
2433 * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
2434 * device-src/property.c: Add broken_gmt_online property.
2435 * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
2436 * device-src/tape-device.c: Use broken_gmt_online property.
2437 * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
2438 * device-src/tape-ops.h (tape_is_ready): Change prototype.
2440 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
2441 * changer-src/chg-zd-mtx.sh: Fix logging.
2443 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
2444 * packaging/rpm/amanda.spec: Fix output message.
2446 2008-05-25 Dustin J. Mitchell <dustin@zmanda.com>
2447 * common-src/Makefile.am common-src/simpleprng.c
2448 common-src/simpleprng.h: new simple PRNG module for
2449 reproducible use in tests (bitlength bug fixed).
2450 * xfer-src/dest-null.c: verify stream against PRNG
2451 * xfer-src/source-random.c: use PRNG to create stream
2452 * installcheck/Amanda_Xfer.pl: verify streams in xfers
2453 * perl/Amanda/Xfer.swg: use PRNG
2454 * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
2455 PRNG to test glue elements
2457 2008-05-23 Dustin J. Mitchell <dustin@zmanda.com>
2458 * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
2459 reading from dying child
2461 2008-05-22 Dustin J. Mitchell <dustin@zmanda.com>
2462 * xfer-src/xfer-test.c: don't try to write to a file in the
2465 2008-05-22 Jean-Louis Martineau <martineau@zmanda.com>
2466 * perl/Amanda/Process.pm (load_ps_table): Fix split.
2468 2008-05-22 Jean-Louis Martineau <martineau@zmanda.com>
2469 * configure.in: Call AMANDA_PS_ARGUMENT
2470 * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
2472 * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
2473 * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
2475 2008-05-22 Jean-Louis Martineau <martineau@zmanda.com>
2476 * perl/Amanda/Process.pm: process_alive return '' if the process is
2478 * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
2479 * installcheck/Makefile.am (server_tests): Add Amanda_Process.
2481 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
2482 * server-src/amstatus.pl: Add "failed: killed while" to some status if
2483 the driver process is dead.
2484 * perl/Amanda/Process.pm: New process_alive function.
2486 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
2487 * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
2488 server-src/amflush.c, server-src/driver.c, server-src/taper.c,
2489 restore-src/amidxtaped.c, restore-src/restore.c,
2490 restore-src/amfetchdump.c: Convert all pid_t to long before printing.
2492 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
2493 * man/xml-source/amcleanup.8.xml: Document new -p option.
2494 * server-src/logfile.c (program_str): Add many programs.
2495 * server-src/logfile.h (program_e): Add many programs.
2496 * server-src/dumper.c, server-src/planner.c,
2497 server-src/chunker.c, server-src/amflush.c,
2498 server-src/driver.c, server-src/taper.c,
2499 restore-src/amidxtaped.c, restore-src/restore.c,
2500 restore-src/amfetchdump.c,
2501 server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
2502 * server-src/server_util.c (run_amcleanup): New function to run
2504 * server-src/server_util.c (get_master_process): New function get the
2505 name of the first pid line in a log file.
2506 * server-src/server_util.h (run_amcleanup): Prototype.
2507 * server-src/server_util.h (get_master_process): Prototype.
2508 * server-src/reporter.c: Ignore pid and pid-done lines.
2509 * server-src/amcleanup.pl: New amcleanup program written in perl.
2510 * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
2512 * server-src/amcleanup.sh: Old program removed.
2513 * perl/Amanda/Process.pm: New module to hanlde amanda process.
2514 * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
2516 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
2517 * server-src/driver.c: Fix quoting of diskname.
2519 2008-05-20 Dustin J. Mitchell <dustin@zmanda.com>
2520 * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
2521 necessarily socklen_t used by getpeername et al.
2522 * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
2523 common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
2524 common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
2525 use the type instead of socklen_t
2527 2008-05-20 Jean-Louis Martineau <martineau@zmanda.com>
2528 Dustin J. Mitchell <dustin@zmanda.com>
2529 John Franks <jrfranks@zmanda.com>
2530 * server-src/amstatus.pl: quote disknames in amstatus
2531 * server-src/Makefile.am: don't check amstatus (since it
2532 uses Amanda::* libs)
2533 * perl/Amanda/Util.swg: add (un)quote_string
2534 * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
2536 2008-05-16 Jean-Louis Martineau <martineau@zmanda.com>
2537 * common-src/conffile.c: Fix conf_parserror use.
2539 2008-05-15 Dustin J. Mitchell <dustin@zmanda.com>
2540 * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
2541 XFA in server builds
2543 2008-05-15 Jean-Louis Martineau <martineau@zmanda.com>
2544 * common-src/conffile.c: Parse send-amreport-on.
2545 * common-src/conffile.h (send_amreport_t): New enum for possible value
2546 of send-amreport-on.
2547 * server-src/reporter.c: Use send-amreport-on setting.
2548 * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
2549 * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
2551 2008-05-15 Jean-Louis Martineau <martineau@zmanda.com>
2552 * client-src/client_util.c (application_property_argv_size): New
2553 function to count the number of argument needed to store all
2554 properties of an application for + * a dle in an ARGV.
2555 * client-src/client_util.c (application_property_add_to_argv): New
2556 function to add all properties of an application for a dle to an ARGV.
2557 * client-src/client_util.h (application_property_argv_size,
2558 application_property_add_to_argv): Prototype.
2559 * client-src/sendbackup.c, client-src/sendsize.c,
2560 client-src/selfcheck.c: Use new functions to pass properties as
2561 argument to application plugin.
2562 * application-src/script-email.pl, application-src/amstar.c,
2563 application-src/generic-script.pl,
2564 application-src/amgtar.c: Get properties from command line.
2565 * server-src/server_util.c: Use new functions to pass properties as
2566 argument to pre/post script.
2567 * common-src/util.c (count_proplist): Callback function to count the
2568 number of values of a property.
2569 * common-src/util.c (proplist_add_to_argv): callback function to store a
2570 property and it's value in an ARGV.
2571 * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
2572 * common-src/conffile.c (property_argv_size): New function to count the
2573 number of properties.
2574 * common-src/conffile.c (property_add_to_argv): New function to store a
2575 property and it's value in an ARGV.
2576 * common-src/conffile.h (property_argv_size,
2577 property_add_to_argv): Prototype.
2579 2008-05-15 Dustin J. Mitchell <dustin@zmanda.com>
2580 * xfer-src/Makefile.am: add element-glue.h to the distribution
2581 * xfer-src/element-glue.h: add 'extern'
2582 * xfer-src/xfer-test.c: fix test elements
2583 * xfer-src/xfer.c: don't use the sometimes-undefined constant
2585 * xfer-src/source-random.c: Only use 'prolong' for threads, not
2587 * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
2590 2008-05-14 Dustin J. Mitchell <dustin@zmanda.com>
2591 * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
2592 xfer-src/source-random.c xfer-src/xfer-test.c
2593 xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
2594 xfer-src/source-fd.c xfer-src/element-glue.h
2595 xfer-src/Makefile.am xfer-src/filter-xor.c
2596 xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
2597 of transfer mechansims and new algorithm for linking xfers, with
2598 expanded unit tests to exercise new glue elements
2599 * installcheck/Amanda_Xfer.pl: updated installchecks
2600 * common-src/semaphore.h: fix comment typo
2601 * common-src/testutils.c common-src/testutils.h: optionally skip
2602 timeouts (-t), and only show g_debug messages if -d is given
2604 2008-05-14 Dustin J. Mitchell <dustin@zmanda.com>
2605 * client-src/amhpfixdevs.sh client-src/Makefile.am
2606 client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
2607 permanently remove amsinixfixdevs and amhpfixdevs
2609 2008-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2610 Patch by Orion Poplawski
2611 * server-src/planner.c: Warn about overwrite of last level 1, and
2612 force backup of level 1 if overwrite on this run.
2614 2008-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2615 * common-src/conffile.c: Define default tapetype.
2617 2008-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2618 * device-src/tape-device.c (tape_validate_properties): New function to
2619 validate properties.
2621 2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
2622 * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
2624 2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
2625 * common-src/conffile.c: Check the tapetype is defined.
2627 2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
2628 * device-src/tape-device.c: Allow user to set "read_buffer_size"
2630 * restore-src/amrestore.c: Don't limit blocksize to
2631 --with-maxtapeblocksize.
2632 * common-src/conffile.c: Increase readblocksize to blocksize.
2633 blocksize and readblocksize can be bigger than
2634 --with-maxtapeblocksize.
2636 2008-05-06 Jean-Louis Martineau <martineau@zmanda.com>
2637 * common-src/conffile.c: Add a 'mailer' config parameter.
2638 * common-src/conffile.h: Add CNF_MAILER.
2639 * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
2640 changer-src/chg-manual.sh, application-src/script-email.pl
2641 server-src/amcheck.c server-src/amgetconf.pl
2642 server-src/reporter.c: Use mailer from config.
2643 * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
2644 * config/amanda/progs.m4: Set DEFAULT_MAILER.
2645 * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
2646 * man/xml-source/amanda-client.conf.5.xml,
2647 man/xml-source/amanda.conf.5.xml,
2648 man/xml-source/amgetconf.8.xml: Update man pages.
2650 2008-05-02 Dan Locks <dwlocks@zmanda.com>
2651 * packaging/rpm/amanda.spec: Replace ${ with %{ where applicable.
2653 2008-05-02 Dan Locks <dwlocks@zmanda.com>
2654 * packaging/deb/amanda-enterprise-backup-server.postinst
2655 packaging/rpm/amanda_enterprise.spec: Change .am_passphrase to a
2656 semi-random number in both packages.
2658 2008-04-29 Dustin J. Mitchell <dustin@zmanda.com>
2659 * config/amanda/dirs.m4: note that --with-dumperdir is
2660 deprecated in ./configure --help
2663 2008-04-24 Jean-Louis Martineau <martineau@zmanda.com>
2664 * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
2666 2008-04-28 Dustin J. Mitchell <dustin@zmanda.com>
2667 * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
2668 xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
2669 Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
2670 * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
2671 xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
2672 reorganize detection of transfer completion, to handle cases where
2673 elements don't do any active processing
2674 * installcheck/Amanda_Xfer.pl: test it all
2676 2008-04-24 Jean-Louis Martineau <martineau@zmanda.com>
2677 * server-src/reporter.c: Correctly print truncated quoted diskname.
2679 2008-04-23 Dustin J. Mitchell <dustin@zmanda.com>
2680 * installcheck/Amanda_MainLoop.pl common-src/event-test.c
2681 common-src/queueing-test.c: try to make tests more resilient
2682 to heavily-loaded, slow machines
2684 2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
2685 * common-src/security-util.c: Typo.
2687 2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
2688 * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
2689 * common-src/event.c: Check event is not dead before fire it.
2691 2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
2692 * server-src/planner.c: Fix vstrextend use.
2694 2008-04-23 Dustin J. Mitchell <dustin@zmanda.com>
2695 * common-src/event.c: use internal child_watch_source
2696 for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
2697 signals and are thus unreliable
2699 2008-04-22 Dustin J. Mitchell <dustin@zmanda.com>
2700 * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
2701 parsing of 'sec' and 'kb' from logfile messages
2702 * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
2703 * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
2706 2008-04-22 Dustin J. Mitchell <dustin@zmanda.com>
2707 * common-src/event.c: on glib <2.4.0, use a simple polling
2708 child_watch_source; on more recent glib, use glib's own
2711 2008-04-22 Dustin J. Mitchell <dustin@zmanda.com>
2712 * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
2713 xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
2714 xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
2715 xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
2716 - flatten XferElement hierarchy to one level
2717 - change test element argument order
2718 - rename XMsg.src to Xmsg.elt
2719 - Improve memory management (refcounting, perl interface)
2720 * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
2721 perl/Amanda/MainLoop.swg perl/Makefile.am
2722 perl/amglue/amglue.h perl/amglue/source.c:
2723 - rewrite handling of amglue_Source for better refcounting
2724 - Amanda::MainLoop callbacks get the event source as 1st argument,
2725 and will be called even if the event source goes out of scope in
2727 - MainLoop.swg significantly rewritten to get refcounting right
2728 * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
2730 * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
2733 2008-04-22 Jean-Louis Martineau <martineau@zmanda.com>
2734 * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
2736 * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
2737 possible errors are VOLUME_MISSING or DEVICE_BUSY.
2739 2008-04-22 Kevin Zembower <kzembowe@jhuccp.org>
2740 * man/xml-source/amflush.8.xml: add amflush example
2742 2008-04-22 Jean-Louis Martineau <martineau@zmanda.com>
2743 * device-src/tape-device.c: Move all device access from
2744 tape_device_open_device to tape_device_read_label.
2745 tape_device_start read the label if it is not already read.
2746 * device-src/vfs-device.c (vfs_device_open_device): remove read of the
2749 2008-04-22 Jean-Louis Martineau <martineau@zmanda.com>
2750 * device-src/tape-device.c (check_resetofs): Compilation fix if
2751 NEED_RESETOFS is defined.
2752 * device-src/tape-posix.c: Handle no ENOMEDIUM.
2754 2008-04-21 Dan Locks <dwlocks@zmanda.com>
2755 * packaging/deb/buildpkg: modified build script to create unsigned
2758 2008-04-21 Jean-Louis Martineau <martineau@zmanda.com>
2759 * changer-src/chg-lib.sh.in (amdevcheck_status):
2760 Set amdevcheck_message.
2761 * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
2762 changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
2763 changer-src/chg-multi.sh: Output amdevcheck_message
2764 * device-src/device.c: Set errmsg and status.
2765 device_open always return a device, the status and errmsg are set.
2766 * device-src/device.h: Define DeviceStatusFlags.
2767 * device-src/null-device.c, device-src/s3-device.c,
2768 device-src/tape-device.c, device-src/vfs-device.c,
2769 device-src/rait-device.c: Set errmsg and status.
2770 * device-src/tape-posix.c: Return status for VOLUME_MISSING.
2771 * device-src/tape-ops.h: Remove TapeCheckResult.
2772 * server-src/taper-source.h (_TaperSource): Add errmsg.
2773 * server-src/taper-source.c: Set errmsg
2774 * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
2775 server-src/taperscan.c, restore-src/amrestore.c,
2776 restore-src/restore.c: Use status and errmsg of a device.
2777 * server-src/taper-disk-port-source.c: Set errmsg.
2778 * server-src/reporter.c: Fix parsing of taper PARTIAL line.
2779 * server-src/taper.c: Use errmsg for device and _TaperSource.
2780 * server-src/taper-file-source.c: Set errmsg.
2781 * server-src/amcheckdump.pl,
2782 server-src/amdevcheck.pl: Use status and errmsg from device.
2783 * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
2784 * perl/Amanda/Device.swg: New interface.
2785 * installcheck/Makefile.am: Don't print some commands.
2786 * installcheck/Amanda_Device.pl: Check new device api.
2787 * common-src/queueing.c: Use new queue_fd_t.
2788 * common-src/queueing.h (queue_fd_t): new struct.
2789 * common-src/amanda-sh-lib.sh.in: Fix bug.
2790 * common-src/queueing-test.c: Use queue_fd_t.
2792 2008-04-21 Dustin J. Mitchell <dustin@zmanda.com>
2793 * installcheck/amgetconf.pl: properly quote filenames in
2794 regex, to avoid spurious failures when e.g., '+' appears
2797 2008-04-18 Dustin J. Mitchell <dustin@zmanda.com>
2798 * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
2799 Amanda::MainLoop, allowing asynchronous operation of
2801 * server-src/amcheckdump.pl: use new Amanda::Changer
2802 interface (synchronously, until we have Amanda::Xfer)
2803 * installcheck/Amanda_Changer.pl: test new interface
2805 2008-04-18 Dustin J. Mitchell <dustin@zmanda.com>
2806 * installcheck/Makefile.am: build $(full_tests) too
2808 2008-04-18 Cyrille Bollu <Cyrille.Bollu@fedasil.be>
2809 * client-src/sendsize.c: use --numeric-owner during 'sendsize'
2811 2008-04-17 Dustin J. Mitchell <dustin@zmanda.com>
2812 * installcheck/Makefile.am: segregate installchecks that require
2813 both client and server components
2815 2008-04-17 Dustin J. Mitchell <dustin@zmanda.com>
2816 * common-src/debug.c: add Amanda version to debug logs
2818 2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
2819 * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
2820 process type and context process attributes
2821 * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
2822 debug_init to set up debugging according to the process context, and
2823 log nothing in CONTEXT_SCRIPTUTIL
2824 * server-src/amgetconf.pl server-src/amdevcheck.pl:
2826 * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
2827 * installcheck/Amanda_Debug.pl: add comment
2829 2008-04-16 Dan Locks <dwlocks@zmanda.com>
2830 * Fixes to debian package reported by daniel_P
2831 * packaging/deb/preinst: remove spaces near ${amanda_group}
2832 * packaging/deb/amanda-backup-server.dirs
2833 packaging/deb/amanda-backup-client.dirs: added var/amanda and
2834 usr/share/lintian/overrides
2835 * packaging/deb/rules: added logic to find PERLSITELIB and append that
2836 to amanda-backup-server.install, removed broken brace expansion
2837 * packaging/deb/buildpkg: removed extraneous configure step
2838 * packaging/deb/amanda-backup-server.postinst: added check for correct
2839 permissions on /tmp/amanda
2841 2008-04-16 Dan Locks <dwlocks@zmanda.com>
2842 * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
2843 from configure invocation. no longer necessary.
2845 2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
2846 * device-src/s3.c config/amanda/s3-device.m4: test curl features
2847 at runtime, instead of compile time, and always use SSL if it
2850 2008-04-16 Jean-Louis Martineau <martineau@zmanda.com>
2851 * server-src/amadmin.c: Improve message.
2852 * man/xml-source/amanda.conf.5.xml: Fix man page.
2853 * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
2855 2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
2856 * config/amanda/dumpers.m4: continue searching for gnutar if we
2857 find a binary claiming to be gnu tar that is not. This gets
2858 around serious breakage on Ubuntu, where star is installed as
2859 /bin/gnutar, but /bin/tar is actually GNU Tar.
2861 2008-04-15 Dustin J. Mitchell <dustin@zmanda.com>
2862 * common-src/file.c(mk1dir): fix reversed conditional to handle
2865 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
2866 * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
2867 msg_timestamp() to stderr.
2869 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
2870 * server-src/dumper.c: Call error() only after set_logerror is done.
2871 * server-src/planner.c: Call error() only after set_logerror is done.
2872 * server-src/chunker.c: Report a better error message.
2873 * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
2875 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
2876 * server-src/find.c (dumps_match_dumpspecs): New function to only keep
2877 dumps that match a dumpspecs, using it simplify amfetchdump.
2878 * server-src/find.h (dumps_match_dumpspecs): Prototype.
2879 * restore-src/amrestore.c: Add a first_restored_file to
2880 search_a_tape(), to allow restore ot stop after the first image.
2881 * restore-src/restore.c: Set first_restored_file, it was never set,
2882 it's needed to stop after the first image.
2883 * restore-src/restore.c (restore_from_tapelist): break if piping to
2885 * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
2886 * restore-src/amfetchdump.c: If -p, the keep only one dump.
2887 * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
2888 * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
2889 * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
2890 * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
2891 * installcheck/Amanda_Logfile.pl: Add many tests.
2893 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
2894 * tape-src/tapetype.c: Initialize an default config.
2896 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
2897 * common-src/util.c (connect_portrange, connect_port, bind_portrange):
2898 Return the latest errno reported.
2900 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
2901 * common-src/conffile.c common-src/conffile.h
2902 perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
2903 new interface for config errors, re-introduce rawtapedev for
2904 deprectation purposes
2905 * installcheck/Installcheck/Config.pm: support test
2906 amanda-client.conf files
2907 * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
2908 * client-src/client_util.c client-src/client_util.h: add
2909 config_errors_to_error_string
2910 * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
2911 better, so users see client-side config errors
2912 * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
2913 changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
2914 client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
2915 application-src/amgtar.c recover-src/amrecover.c
2916 server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
2917 server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
2918 server-src/amtape.c server-src/amcheckdump.pl
2919 server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
2920 server-src/driver.c server-src/reporter.c server-src/taper.c
2921 server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
2922 server-src/amlabel.c installcheck/Amanda_Changer.pl
2923 installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
2924 installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
2925 restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
2928 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
2929 * server-src/diskfile.c: improve messages when client does not
2930 support required features
2932 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
2933 * installcheck/Amanda_Config.pl common-src/conffile.c
2934 common-src/conffile.h: fix deprecation of keywords to
2935 actually issue a warning. 'netusage' is no longer
2938 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
2939 * common-src/event.c: use SA_RESTART for child_watch_source
2941 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
2942 * perl/Amanda/MainLoop.swg perl/amglue/source.c
2943 installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
2944 GSources defined in event.c, using an extensible model
2945 * common-src/event.c: check whether child_watch_source's signal
2946 handler has been replaced, and issue a warning if it has.
2948 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
2949 * common-src/queueing.c: fix condition (thanks to Jean-Louis
2952 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
2953 * common-src/Makefile.am common-src/queueing-test.c: new tests
2954 * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
2955 * common-src/queueing.c: fix two bugs:
2956 - spurious in-place memmove on every buffer copy
2957 - silent discard of a final packet if the consumer does not
2958 completely consume it
2959 * common-src/queueing.h: update comments
2960 * common-src/testutils.h: add header-protection macros
2962 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
2963 * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
2966 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
2967 * man/xml-source/amanda.conf.5.xml: fix typos
2969 2008-04-04 Jean-Louis Martineau <martineau@zmanda.com>
2970 * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
2972 2008-04-04 Jean-Louis Martineau <martineau@zmanda.com>
2973 * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
2975 2008-04-01 Dustin J. Mitchell <dustin@zmanda.com>
2976 Suggested by Sunil Sawant <sunil@zmanda.com>
2977 * man/xml-source/amrecover.8.xml: suggest including a config in the
2978 amrecover command line
2980 2008-04-01 John Franks <jfranks@zmanda.com>
2981 * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
2982 Patches to reapply after gnulib updates.
2983 * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
2984 gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
2985 gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
2986 gnulib/getaddrinfo.h:
2987 Remove restricted keywords from source files.
2989 2008-04-01 Satya Ganga <gsat@zmanda.com>
2990 * example/template.d/amanda-S3.conf.in: S3 device should have
2991 "infinite" tape length
2993 2008-03-31 John Franks <jfranks@zmanda.com>
2994 * common-src/stream.c
2995 Fix warning about ininitialized variables.
2997 2008-03-31 John Franks <jfranks@zmanda.com>
2998 * oldrecover-src/Makefile.am xfer-src/Makefile.am
2999 recover-src/Makefile.am server-src/Makefile.am
3000 restore-src/Makefile.am:
3001 Fix build problems with multiply defined symbols.
3003 2008-03-31 Dan Locks <dwlocks@zmanda.com>
3004 * packaging/deb/buildpkg
3005 packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
3007 2008-03-31 Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
3008 * client-src/sendbackup-gnutar.c client-src/sendsize.c
3009 client-src/selfcheck.c: update amandates whenever possible, but only
3010 complain when it is really needed: when using calcsize, or when
3011 using GNUTAR and --without-gnutar-listdir.
3012 * client-src/amandates.c: Set errno before return of start_amandates
3013 * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
3015 2008-03-31 Jean-Louis Martineau <martineau@zmanda.com>
3016 * server-src/amgetconf.pl: Parse config after setup_applccation call.
3018 2008-03-31 Jean-Louis Martineau <martineau@zmanda.com>
3019 * server-src/amcheck.c: Check errno after full_read.
3021 2008-03-31 Dan Locks <dwlocks@zmanda.com>
3022 * packaging/Makefile.am: add deb subdirectory.
3024 2008-03-31 Dustin J. Mitchell <dustin@zmanda.com>
3025 * common-src/rsh-security.c common-src/ssh-security.c: improve error
3026 messages for resolve_hostname calls
3028 2008-03-27 Dustin J. Mitchell <dustin@zmanda.com>
3029 * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
3030 * gnulib/regenerate/regenerate gnulib/Makefile.am
3031 config/gnulib/gnulib-cache.m4: add full-read, full-write modules
3032 * oldrecover-src/extract_list.c client-src/noop.c
3033 client-src/sendbackup-gnutar.c client-src/sendbackup.c
3034 client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
3035 application-src/amgtar.c recover-src/extract_list.c
3036 server-src/changer.c server-src/logfile.c server-src/amindexd.c
3037 server-src/amcheck.c server-src/dumper.c server-src/chunker.c
3038 server-src/taper-port-source.c server-src/driverio.c
3039 server-src/holding.c server-src/driver.c
3040 server-src/taper-file-source.c restore-src/restore.c
3041 common-src/security-util.c common-src/amanda.h
3042 tape-src/output-file.c: use gnulib full_read, full_write functions,
3043 which have slightly different error semantics than the corresponding
3046 2008-03-27 Jean-Louis Martineau <martineau@zmanda.com>
3047 * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
3049 2008-03-27 Jean-Louis Martineau <martineau@zmanda.com>
3050 * device-src/activate-devpay.c (parse_commandline): Always return.
3052 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
3053 * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
3054 * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
3055 * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
3056 * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
3057 * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
3058 * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
3059 * amandad-src/Makefile.am,
3060 * client-src/Makefile.am, device-src/Makefile.am,
3061 server-src/Makefile.am, server-src/server_util.c,
3062 tape-src/Makefile.am: Add library to many *_LIBADD.
3063 * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
3064 WANT_CYGWIN_COPY_PERL_DLL.
3066 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
3067 * common-src/conffile.c: Fix typo and remove unused prefix.
3069 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
3070 * server-src/reporter.c: Check difference between origsize and outsize
3071 to find if the image is compressed.
3073 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
3074 Greg Troxel reported the bug and possible solution.
3075 * common-src/stream.c (stream_server): New family argument, it is used
3076 to create the socket.
3077 * common-src/stream.h (stream_server): New prototype.
3078 * server-src/chunker.c, server-src/taper.c: Call stream_server with
3079 family of 'localhost', it's the name dumper use to contact them.
3080 * restore-src/amidxtaped.c: Call stream_server with AF_INET.
3081 * common-src/bsd-security.c, common-src/security-util.c: Call
3082 stream_server with family of incoming packet.
3084 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
3085 Davor Ocelic reported the problem.
3086 * application-src/Makefile.am: Use applicationexec_PROGRAMS and
3087 applicationexec_SCRIPTS to install executable.
3089 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
3090 * common-src/security-util.c (show_stat_info): Use getpwuid_r
3092 2008-03-25 Dustin J. Mitchell <dustin@zmanda.com>
3093 * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
3094 peculiar linking of threading libraries.
3096 2008-03-20 Dan Locks <dwlocks@zmanda.com>
3097 * packaging/deb/control: removed grep dependency
3098 * packaging/deb/amanda-backup-client.postinst
3099 packaging/deb/amanda-backup-server.postinst
3100 packaging/deb/amanda-backup-server.postrm
3101 packaging/deb/amanda-backup-client.postrm: removed call to
3102 ldconfig to satisfy lintian
3103 * packaging/deb/amanda-backup-server.lintian
3104 packaging/deb/amanda-backup-client.lintian: sorted and added new
3106 * packaging/deb/amanda-backup-client.dirs: removed var/amanda
3108 2008-03-18 Dustin J. Mitchell <dustin@zmanda.com>
3109 * device-src/activate-devpay.c: fix type warning
3111 2008-03-17 Jean-Louis Martineau <martineau@zmanda.com>
3112 * server-src/diskfile.c: Correctly check if two hosts map to the same
3115 2008-03-15 Dustin J. Mitchell <dustin@zmanda.com>
3116 * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
3117 perl/amglue/source.c: rename mainloop.c to source.c to avoid
3118 conflicts with MainLoop.c on case-insensitive filesystems
3120 2008-03-14 Dan Locks <dwlocks@zmanda.com>
3121 * Initial debian release: This package is based on Bdale Garbee's
3122 work as the official debian maintainer for amanda.
3124 2008-03-14 Jean-Louis Martineau <martineau@zmanda.com>
3125 * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
3127 * server-src/server_util.c: Rename _proplist to _property.
3128 * server-src/diskfile.c: Rename _proplist to _property.
3129 * server-src/amadmin.c (disklist_one): Print property.
3130 * perl/Amanda/Config.swg: Add new constants to Amanda::Config
3131 * installcheck/Amanda_Config.pl: Test global property.
3132 * common-src/conffile.c: Add global and by dumptype property.
3133 * common-src/conffile.h: Add global and by dumptype property.
3135 2008-03-14 Dustin J. Mitchell <dustin@zmanda.com>
3136 * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
3137 * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
3138 * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
3140 * common-src/event.h: fix typo in comment
3142 2008-03-14 Dustin J. Mitchell <dustin@zmanda.com>
3143 * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
3144 expects an int, not a char.
3146 2008-03-13 Dan Locks <dwlocks@zmanda.com>
3147 * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
3148 it works with rpm versions earlier than 4.4
3150 2008-03-13 Dustin J. Mitchell <dustin@zmanda.com>
3151 * device-src/device-queueing.c device-src/device-queueing.h
3152 server-src/taper-source.c server-src/taper-source.h
3153 server-src/taper-source-test.c server-src/taper.c
3154 common-src/queueing.c common-src/queueing.h: change ints in
3155 consumer/producer to (s)size_t
3156 * device-src/device.c device-src/device-queueing.c
3157 device-src/tests/semaphore-test.c device-src/tests/Makefile.am
3158 device-src/queueing.c device-src/semaphore.c
3159 device-src/device-queueing.h device-src/queueing.h
3160 device-src/Makefile.am device-src/semaphore.h
3161 device-src/property.h server-src/taper.c common-src/queueing.c
3162 common-src/queueing.h common-src/semaphore-test.c
3163 common-src/semaphore.c common-src/semaphore.h
3164 common-src/Makefile.am: move queueing and semaphore into
3165 common-src, along with their tests
3166 * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
3167 xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
3168 xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
3169 xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
3170 xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
3171 * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
3172 xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
3173 xfer-src/Makefile.am xfer-src/xfer.h: support for sending
3174 and receiving XMsgs.
3175 * common-src/event.c common-src/event.h: add default_event_loop().
3176 * device-src/device.c server-src/taper-source-test.c common-src/util.c
3177 common-src/util.h common-src/glib-util.c common-src/glib-util.h:
3178 create new glib_init() to do g_type_init(), initialize threads, etc.
3180 2008-03-13 Jean-Louis Martineau <martineau@zmanda.com>
3181 * client-src/sendsize.c: Don't use sscanf for est->qamname because it
3183 * server-src/diskfile.c: Clean the diskname before using it as a regex.
3184 * common-src/protocol.c: Fix bug if packet have a '%' character.
3186 2008-03-13 Jean-Louis Martineau <martineau@zmanda.com>
3187 * installcheck/Installcheck/Run.pm: Increase size of TAPE.
3189 2008-03-12 Dustin J. Mitchell <dustin@zmanda.com>
3190 * common-src/event.c: Use %jd to print a pid_t, since it may be
3191 larger on some platforms.
3193 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
3194 * common-src/conffile.c: Fix solaris 8 cc warning.
3196 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
3197 * client-src/sendbackup.c: Set stroptions to "".
3199 2008-03-12 Dustin J. Mitchell <dustin@zmanda.com>
3200 * common-src/event.c common-src/event.h common-src/event-test.c:
3201 add two new GSources: child_watch_source (sends events when a child
3202 dies) and fdsource (sends events when file descriptors match
3203 conditions). Thanks to Jean-Louis Martineau for finding and fixing
3206 2008-03-12 Dustin J. Mitchell <dustin@zmanda.com>
3207 * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
3208 documentation to reflect use of gnulib's git repository
3210 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
3211 * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
3212 it is done automaticaly.
3213 * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
3214 conflict with make CLOBBER_MY_CONFIG.
3216 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
3217 * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
3220 2008-03-11 Dan Locks <dwlocks@zmanda.com>
3221 * packaging/rpm/buildpkg: made the script quieter
3223 2008-03-12 Dan Locks <dwlocks@zmanda.com>
3224 * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
3225 added --quiet to the configure invocation
3227 2008-03-10 Jean-Louis Martineau <martineau@zmanda.com>
3228 * gnulib: Update to latest version, add getopt module.
3230 2008-03-07 Jean-Louis Martineau <martineau@zmanda.com>
3231 * oldrecover-src/Makefile.am, example/Makefile.am,
3232 amandad-src/Makefile.am, recover-src/Makefile.am,
3233 restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
3234 * installcheck/Amanda_Config.pl: Check config_filename.
3235 * installcheck/Installcheck/Config.pm: Use local amandates and
3237 * installcheck/Makefile.am: Take a copy of amanda-client.conf
3238 * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
3239 * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
3240 * config/automake/installperms.am: installperms.sh in top_builddir,
3241 DISTCLEANFILES += $(installperms_sh)
3242 * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
3243 DISTCHECK_CONFIGURE_FLAGS.
3244 * common-src/Makefile.am: distclean-local: remove svn-info.h.
3246 2008-03-07 Dan Locks <dwlocks@zmanda.com>
3247 * packaging/rpm/buildpkg: Simplified usage of packaging script by
3248 creating a tarball from existing source.
3250 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
3251 * installcheck/Installcheck/Run.pm: merge from application-api.
3252 * installcheck/Installcheck/Config.pm: merge from application-api.
3254 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
3255 * merge application-api
3257 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
3258 * common-src/Makefile.am: dest=$(amlibexecdir).
3260 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
3261 * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
3262 Add chg-lib.sh.in to EXTRA_DIST.
3263 * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
3264 Add generic-dumper.pl to EXTRA_DIST.
3265 * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
3266 Add amanda-sh-lib.sh.in to EXTRA_DIST.
3268 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3269 * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
3270 * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
3272 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3273 * config/amanda/swig.m4: Check for *freebsd[123456]*
3275 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3276 * changer-src/chg-scsi-chio.c: Compile fix.
3277 * changer-src/scsi-chio.c: Compile fix.
3278 * config/amanda/changer.m4: Check for linux/chio.h
3280 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3281 * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
3283 2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
3284 * config/amanda/swig.m4: With many thanks to John E. Hein
3285 <jhein@timing.com>, fix the comment and make the change committed
3286 yesterday apply to all FreeBSD < 7.0.
3288 2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
3289 * config/amanda/summary.m4: quote all warning messages that will be
3290 included in heredocs, to avoid spurious interpretation of backquotes
3292 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3293 * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
3295 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3296 * restore-src/amidxtaped: Use default config if amrecover doesn't send
3297 a config name. (amoldrecover doesn't send a config).
3298 * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
3299 so desired_tape->numfiles == 0.
3300 If amidxtaped is launched directly from xinetd, then
3301 flags->pipe_to_fd == STDOUT_FILENO, but this test should only
3302 succeed for amrestore of amfetchdump.
3304 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
3305 * device-src/tape-device.c: Set d_self->is_eof to FALSE.
3307 2008-03-04 Dustin J. Mitchell <dustin@zmanda.com>
3308 * perl/Makefile.am config/amanda/swig.m4: add a special case for
3309 FreeBSD-6.2: include -lpthread in the linking of each perl
3310 extension, because libgthread does not pull in libpthread as
3311 it does on other platforms.
3313 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
3314 * common-src/security-util.c: getnameinfo return != 0 on error.
3316 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
3317 * config/amanda/dumpers.m4: Typo.
3319 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
3320 * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
3321 return value of 'pipe', declared with attribute warn_unused_result.
3323 2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
3324 * common-src/amanda.h: add <stdint.h>
3326 2008-02-28 Dustin J. Mitchell <dustin@zmanda.com>
3327 * config/automake/installperms.am: --without-installperms now
3328 generates a shell-parsable list of desired permissions
3329 * Makefile.am: erase installperms.sh before beginning a 'make
3331 * oldrecover-src/Makefile.am client-src/Makefile.am
3332 recover-src/Makefile.am server-src/Makefile.am: give mode
3335 2008-02-28 Dustin J. Mitchell <dustin@zmanda.com>
3336 Thanks to John E. Hein <jhein@timing.com> for identifying this problem
3337 * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
3338 * installcheck/Amanda_Config.pl: use a properly-sized constant to
3339 check parsing of large configuration values
3342 2008-02-28 Jean-Louis Martineau <martineau@zmanda.com>
3343 * server-src/amindexd.c: Compute maxpart, call clean_dump.
3344 * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
3345 * server-src/disk_history.h (add_dump): New prototype,
3346 add maxpart argument.
3347 * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
3348 previous part is not already added.
3349 * server-src/disk_history.c (clean_dump): New function to remove
3350 DUMP_ITEM if all part are not added.
3351 * common-src/tapelist.h (tapelist_t): Add partnum field.
3352 * common-src/tapelist.h (append_to_tapelist): New prototype,
3353 add partnum argument.
3354 * common-src/tapelist.c (append_to_tapelist): New partnum argument.
3355 * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
3357 2008-02-28 Jean-Louis Martineau <martineau@zmanda.com>
3358 * common-src/security-util.c: Don't write unclaimed warning if we have
3361 2008-02-27 Dustin J. Mitchell <dustin@zmanda.com>
3362 * common-src/testutils.c common-src/testutils.h
3363 common-src/Makefile.am: add libtestutils.la
3364 * common-src/event-test.c common-src/amflock-test.c:
3367 2008-02-27 Jean-Louis Martineau <martineau@zmanda.com>
3368 * server-src/find.c: Use sort_key in switch statement.
3370 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
3371 * NEWS, ReleaseNotes: Document --with-amlibdir.
3372 * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
3373 --without-amlibexecdir,
3374 Set AMPERLLIB to $amlibdir/perl.
3376 2008-02-26 Dustin J. Mitchell <dustin@zmanda.com>
3377 * common-src/event-test.c: a more robust and effective test of
3378 EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
3380 2008-02-26 Dustin J. Mitchell <dustin@zmanda.com>
3381 * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
3382 add --with-amperldir, --without-amperldir, and install perl modules
3383 in Perl's installsitearch by default; thanks to Orion Poplawski
3384 <orion@cora.nwra.com> for help and suggestions.
3386 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
3387 * client-src/getfsent.c: Don't fail if stat of mount point fail.
3389 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
3390 * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
3391 RUNNING_AS_DUMPUSER_PREFERRED.
3393 2008-02-25 Jean-Louis Martineau <martineau@zmanda.com>
3394 * server-src/reporter.c: Report size of data on holding disk.
3396 2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
3397 * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
3399 2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
3400 * server-src/amcheck.c, server-src/dumper.c,
3401 server-src/planner.c: Call waitpid to cleanup defunct process.
3403 2008-02-20 Dustin J. Mitchell <dustin@zmanda.com>
3404 * device-src/tape-posix.c: keep ioctl error message in
3407 2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
3408 * device-src/device.c, device-src/null-device.c,
3409 device-src/s3.c, device-src/tape-device.c,
3410 device-src/queueing.h, device-src/s3.h,
3411 device-src/vfs-device.c, device-src/rait-device.c,
3412 server-src/taper-source-test.c, server-src/server_util.c,
3413 server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
3414 perl/amglue/integers.swg, restore-src/restore.c,
3415 common-src/glib-util.c: Fix solaris compiler warning.
3417 2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
3418 * common-src/util.c (quote_string): Quote single quote (').
3419 * server-src/find.c:Correctly compute length of diskname.
3421 2008-02-15 Dustin J. Mitchell <dustin@zmanda.com>
3422 * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
3423 use AC_PROG_EGREP instead of the Amanda version
3424 * server-src/find.c: fix compiler warning on Solaris 8
3426 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3427 * packaging/rpm/amanda.spec: Remove amverify*
3429 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3430 * oldrecover-src/Makefile.am: Build all files in the build directory.
3431 * recover-src/Makefile.am: Build all files in the build directory.
3432 * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
3433 * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
3434 AC_OUTPUT create the common-src directory.
3436 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3437 * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
3438 * file server-src/infofile.c: Use %jd to print intmax_t value.
3439 * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
3441 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3442 * packaging/rpm/amanda.spec: Fix typo.
3444 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3445 * server-src/amdump.sh: Don't use 'date -d', use sed.
3447 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
3448 * installcheck/Installcheck/Run.pm: run test dumps of a smaller
3449 directory, to avoid overflowing test tapes
3451 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
3452 * dumper-src/amstar.pl dumper-src/amgtar.pl
3453 device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
3454 server-src/amdevcheck.pl: add GPL header
3456 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
3457 * installcheck/Makefile.am installcheck/amdump.pl: add a check
3458 that runs 'amdump' directly, since that fails often
3460 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
3461 * common-src/event-test.c: make tests more robust to environmental
3462 variations, clean up forked children
3464 2008-02-13 Dustin J. Mitchell <dustin@zmanda.com>
3465 * common-src/security-util.c
3466 common-src/security-util.h: don't cast pointers to
3467 integers for tcp_conn event id's
3469 2008-02-13 Dan Locks <dwlocks@zmanda.com>
3470 * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
3471 build environment as well as if provided on rpmbuild commandline.
3472 Conditionalized this var to handle cross compiling on FC8.
3474 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
3475 * amandad-src/amandad.c: use sizeof() instead of strlen()
3476 in a constant expression
3478 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
3479 * amandad-src/amandad.c: initialize as->service
3480 * common-src/event.c common-src/event.h: new GMainLoop-based
3481 version of the event library, allowing GMainLoop-based and
3482 event-based processes to co-exist peacefully
3484 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
3485 * installcheck/amcheckdump.pl: fix typo
3487 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
3488 * server-src/dumper.c: Fail if no header or no data.
3490 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
3491 * server-src/amstatus.pl: Report failure if dumper succeed and
3494 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
3495 * common-src/conffile.h (config_name, config_dir, config_filename):
3496 Remove extern declaration.
3497 * common-src/conffile.h (get_config_name, get_config_dir,
3498 get_config_filename): New prototype.
3499 * common-src/conffile.c (config_name, config_dir, config_filename):
3501 * common-src/conffile.h (get_config_name, get_config_dir,
3502 get_config_filename): New functions.
3503 * perl/Amanda/Config.swg: Don't inline the functions.
3504 * oldrecover-src/extract_list.c, client-src/sendbackup.c,
3505 client-src/sendsize.c, client-src/selfcheck.c,
3506 recover-src/amrecover.c, recover-src/extract_list.c,
3507 server-src/changer.c, server-src/amlogroll.c,
3508 server-src/amindexd.c, server-src/amcheck.c,
3509 server-src/dumper.c, server-src/planner.c,
3510 server-src/chunker.c, server-src/amadmin.c,
3511 server-src/amtape.c, server-src/amcleanupdisk.c,
3512 server-src/amflush.c, server-src/amtrmlog.c,
3513 server-src/driverio.c, server-src/driver.c,
3514 server-src/reporter.c, server-src/taper.c,
3515 server-src/amtrmidx.c, server-src/diskfile.c,
3516 server-src/amlabel.c,
3517 restore-src/amfetchdump.c: Use new functions.
3519 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
3520 * common-src/event-test.c common-src/Makefile.am: add checks
3521 for the event module
3523 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
3524 * server-src/dumper.c server-src/server_util.c
3525 server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
3526 common-src/file.c: Always call mkpdir without the 02000 bit set,
3527 as it is not needed and causes problems on MacOS X.
3529 2008-02-11 Dustin J. Mitchell <dustin@zmanda.com>
3530 * all source files: update GPL dates
3531 * perl/*: use LGPL instead of GPL
3533 2008-02-11 Dustin J. Mitchell <dustin@zmanda.com>
3534 * amandad-src/amandad.c: fix use of non-constant array size
3536 2008-02-11 Dustin J. Mitchell <dustin@zmanda.com>
3537 * amandad-src/amandad.c: add hack to avoid a race condition in
3538 sendbackup operation
3539 * common-src/security-util.c: issue debug log message when data
3540 tokens are dropped by the security API
3542 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
3543 * recover-src/amrecover.c: Use tapedev from server if it is not set
3544 in amanda.client.conf
3545 * example/amanda-client.conf.in: Document it.
3547 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
3548 * device-src/tape-device.c (tape_device_init): Init min_block_size
3549 and fixed_block_size to 32768.
3551 2008-02-07 Dustin J. Mitchell <dustin@zmanda.com>
3552 * packaging/rpm/amanda_enterprise.spec man/Makefile.am
3553 man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
3554 man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
3555 server-src/amverify.sh server-src/Makefile.am: remove amverify*
3556 * server-src/amdevcheck.pl: tweak @ARGV parsing
3557 * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
3558 installcheck/amcheckdump.pl: significant rewrite to catch more errors
3559 and not loop for ever on some errors.
3561 2008-02-01 Dustin J. Mitchell <dustin@zmanda.com>
3562 * server-src/amgetconf.pl installcheck/amgetconf.pl
3563 common-src/conffile.c: fix and test amgetconf to allow extra
3564 command-line arguments (undocumented), to allow -o options without a
3565 space, and to correctly return empty results for empty build
3568 2008-02-01 Dan Locks <dwlocks@zmanda.com>
3569 * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
3570 for both client and server, removed amplot from client, added missing
3571 directory %{SYSCONFDIR}/amanda
3573 2008-01-29 Dan Locks <dwlocks@zmanda.com>
3574 * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
3575 where amanda/amandates is concerned. also added %{LOCALSTATEDIR} to
3578 2008-01-29 Dan Locks <dwlocks@zmanda.com>
3579 * man/xml-source/* added http://wiki.zmanda.com to the "see also"
3582 2008-01-29 Jean-Louis Martineau <martineau@zmanda.com>
3583 * client-src/sendbackup.c: Check for g_options.
3584 * client-src/sendsize.c: Check for g_options.
3585 * client-src/selfcheck.c: Check for g_options.
3586 * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
3588 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
3589 * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
3591 2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
3592 * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
3593 displayunit, and add a unit test to be sure.
3595 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
3596 * server-src/amstatus.pl: handle lowercase displayunit.
3598 2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
3599 * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
3600 for netinet/in.h and in_port_t, and define the latter if
3601 necessary. Thanks to Craig Dewick <cdewick@lios.apana.org.au>
3604 2008-01-28 Paddy Sreenivasan <paddy@zmanda.com>
3605 * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
3608 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
3609 * amandad-src/amandad.c: Send service stderr to amandad debug file,
3610 Wait for service termination and send error message to server.
3612 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
3613 * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
3614 Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
3616 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3617 * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
3618 * server-src/amcheckdump.pl: fix usage message
3620 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3621 * configure.in config/amanda/userid.m4: add --with-single-userid
3623 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3624 * server-src/amfreetapes.sh: remove unused script
3626 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3627 * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
3628 for all amglue files where they are missing from glib headers
3630 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3631 * installcheck/Makefile.am: condition installchecks on the selected
3634 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3635 * installcheck/Makefile.am Makefile.am: distribute
3636 installcheck/Installcheck scripts, make sure enough parameters
3637 are passed along to distcheck for it to succeed, and also clean
3638 up properly after tests are run.
3640 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
3641 * config/amanda/dumpers.m4: eliminate strange warning when
3642 --without-smbclient is given
3644 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
3645 * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
3646 installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
3647 installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
3648 installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
3649 installcheck/Installcheck/Config.pm
3650 installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
3651 installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
3652 accumulated tweaks and updates to installchecks
3654 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
3655 * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
3656 installcheck/Makefile.am: new tests for integer-handling
3657 SWIG support, including an installed module (Amanda::Test) that
3658 is not used except by this test.
3660 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
3661 * installcheck/Amanda_Types.pl
3662 installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
3663 installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
3664 installcheck/Installcheck installcheck/Installcheck/Run.pm
3665 installcheck/Installcheck/Config.pm installcheck/Makefile.am
3666 installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
3667 installcheck/amgetconf.pl: tweaks:
3668 - Move installcheck utilities to the Installcheck::* namespace
3669 - add Installcheck::Run to help with setting up amdump runs, and
3670 running applications in general
3671 - Add complete runs to amdevcheck, amcheckdump
3672 - Return a nonzero exit status from amgetconf when an invalid
3673 configuration parameter is specified.
3675 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
3676 * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
3677 new module (Tapelist) replaces old stub (Tapefile)
3678 * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
3680 * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
3683 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
3684 * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
3685 critical() and warning(), respectively
3686 * server-src/amgetconf.pl server-src/amcheckdump.pl
3687 server-src/amdevcheck.pl: use die()
3688 * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
3689 installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
3692 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
3693 * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
3694 server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
3695 Perl, and add the ability to list available build variables.
3696 * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
3697 config/amanda/bsd-security.m4 config/amanda/dumpers.m4
3698 config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
3699 config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
3700 config/amanda/bsdudp-security.m4 config/amanda/compress.m4
3701 config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
3702 of constants for use in Amanda::Constants
3703 * perl/Makefile.am perl/Amanda/Paths.pm.in
3704 perl/Amanda/Constants.pm.in: add new constants
3705 * perl/Amanda/Config.swg: add getconf_byname_strs
3706 * installcheck/amgetconf.pl: check new functionality
3707 * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
3710 2008-01-17 Jean-Louis Martineau <martineau@zmanda.com>
3711 * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
3712 configure.in: Set for release 2.6.1alpha.
3714 2008-01-16 Dustin J. Mitchell <dustin@zmanda.com>
3715 * installcheck/Makefile.am: Require user to specify
3716 CLOBBER_MY_CONFIG=OK when running installchecks
3718 2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
3719 * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
3721 2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
3722 * oldrecover-src/extract_list.c, client-src/sendbackup.c,
3723 client-src/sendsize.c, client-src/selfcheck.c,
3724 recover-src/extract_list.c, server-src/changer.c,
3725 server-src/amflush.c, server-src/driverio.c,
3726 common-src/pipespawn.c: Call safe_fd before exec*.
3728 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
3729 * packaging/rpm/amanda.spec: Remove build_host.
3731 2008-01-15 Dustin J. Mitchell <dustin@zmanda.com>
3732 * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
3733 perl/amglue/integers.swg: fix typos and compiler warnings
3735 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
3736 * packaging/Makefile.am: New file.
3737 * packaging/README: New file.
3738 * packaging/rpm/buildpkg: New file.
3739 * packaging/rpm/amanda.spec: New file.
3741 * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
3742 * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
3743 ${amlibexecdir}/application
3744 * Makefile.am (SUBDIRS): Add packaging.
3745 * amanda.spec: Remove file.
3747 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
3748 * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
3749 * device-src/tape-device.c, device-src/tape-posix.c,
3750 device-src/vfs-device.c: include "util.h"
3751 * device-src/rait-device.c: fix compiler warning.
3753 2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
3754 * perl/amglue/bigint.c: fix the range-checking mechanics for large
3755 integers, since the precompiler seems to get confused by large
3758 2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
3759 * config/amanda/krb5-security.m4: abort configure run if krb5
3760 is requested by libraries aren't found
3762 2008-01-13 Dustin J. Mitchell <dustin@zmanda.com>
3763 * man/xml-source/amanda.conf.5.xml: use × instead of ×
3765 2008-01-11 Paddy Sreenivasan <paddy@zmanda.com>
3766 * device-src/Makefile.am: Don't install queueing.h and device.h
3768 2008-01-11 Dustin J. Mitchell <dustin@zmanda.com>
3769 * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
3771 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
3772 * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
3773 * installcheck/amgetconf.pl: usetimestamps defaults to yes.
3774 * NEWS, ReleaseNotes: Notes about make installcheck.
3776 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
3777 * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
3778 * ReleaseNotes: Ditto.
3780 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
3781 * ReleaseNotes: Update for amanda-2.6.0
3782 * News: Update for amanda-2.6.0
3783 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
3784 * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
3785 * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}
3787 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3788 * common-src/conffile.c (usetimestamps): Default ot yes.
3789 * man/xml-source/amanda.conf.5.xml (usetimestamps): Document it.
3791 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3792 * server-src/amverifyrun.sh, server-src/amverify.sh,
3793 tape-src/ammt.c, tape-src/amdd.c: Write deprecated message.
3795 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3796 * config/amanda/defaults.m4: Set amandates to $localstatedir/amanda/amandate
3798 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3799 * server-src/amfreetapes.sh: Use amlibexecdir.
3801 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3802 * config/amanda/dirs.m4: Set amlibexecdir to $libexecdir/amanda.
3803 * amandad-src/amandad.c, amplot/amplot.sh,
3804 amplot/Makefile.am, changer-src/chg-chs.sh,
3805 changer-src/chg-disk.sh, changer-src/chg-juke.sh,
3806 changer-src/chg-lib.sh.in, changer-src/chg-manual.sh,
3807 changer-src/chg-mcutil.sh, changer-src/chg-mtx.sh,
3808 changer-src/chg-multi.sh, changer-src/chg-null.sh,
3809 changer-src/chg-rait.sh, changer-src/chg-rth.pl,
3810 changer-src/chg-zd-mtx.sh, changer-src/Makefile.am,
3811 client-src/Makefile.am, client-src/patch-system.sh,
3812 client-src/selfcheck.c, client-src/sendbackup-dump.c,
3813 client-src/sendbackup-gnutar.c, client-src/sendsize.c,
3814 common-src/amaespipe.sh, common-src/amanda-sh-lib.sh.in,
3815 common-src/amcrypt-ossl-asym.sh, common-src/amcrypt-ossl.sh,
3816 common-src/amcrypt.sh, common-src/genversion.c,
3817 common-src/local-security.c, common-src/Makefile.am,
3818 common-src/rsh-security.c, common-src/ssh-security.c,
3819 dumper-src/amgtar.pl, example/xinetd.amandaclient,
3820 example/xinetd.amandaserver, installcheck/amgetconf.pl,
3821 perl/Amanda/Changer.pm, perl/Amanda/Paths.pm.in,
3822 restore-src/Makefile.am, server-src/amcheck.c,
3823 server-src/amcheckdb.sh, server-src/amcleanup.sh,
3824 server-src/amdump.sh, server-src/amflush.c,
3825 server-src/amoverview.pl, server-src/amrmtape.sh,
3826 server-src/amverifyrun.sh, server-src/amverify.sh,
3827 server-src/changer.c, server-src/driver.c,
3828 server-src/getconf.c, server-src/Makefile.am,
3829 tape-src/Makefile.am: Use amlibexecdir.
3831 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3832 * config/amanda/flags.m4 (AMANDA_STATIC_FLAGS):
3833 Set AMANDA_STATIC_LDFLAGS to '-static' if set.
3834 * configure.in: Call AMANDA_STATIC_FLAGS.
3835 * amandad-src/Makefile.am, changer-src/Makefile.am,
3836 client-src/Makefile.am, common-src/Makefile.am,
3837 dumper-src/Makefile.am, oldrecover-src/Makefile.am,
3838 recover-src/Makefile.am, restore-src/Makefile.am,
3839 server-src/Makefile.am,
3840 tape-src/Makefile.am(AM_LDFLAGS): Set to AMANDA_STATIC_LDFLAGS.
3842 2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
3843 * configure.in (AC_CONFIG_FILES): Add example/template.d/amanda-S3.conf
3844 * example/Makefile.am (dist_template_DATA): Add
3845 template.d/amanda-S3.conf
3847 2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
3848 * changer-src/scsi-solaris.c: Cleanup.
3850 2008-01-09 Ian Turner <ian@zmanda.com>
3851 * changer-src/chg-zd-mtx.sh.in: Don't write a corrupt changerfile
3852 when a tape has no barcode label.
3854 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
3855 * server-src/amcheckdump.pl: call critical() rather than
3858 2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
3859 * server-src/amcheckdump.pl: Parse 'amflush: starttime' and
3860 'planner: timestamp' line.
3861 * server-src/amflush.c: Print correct starttime line.
3863 2008-01-08 Ian Turner <ian@zmanda.com>
3864 Most of this work was done by Dustin J. Mitchell
3865 <dustin@zmanda.com>, with contributions by Ian Turner <ian@zmanda.com>.
3866 * example/template.d/amanda-S3.conf.in: Example configuration
3868 * device-src/device.c: Register the S3 device.
3869 * device-src/tests/get-activation-key.pl: Tool to retrieve
3870 a DevPay activation key.
3871 * device-src/s3-device.c, device-src/s3-device.h: S3 device driver.
3872 * device-src/s3.c, device-src/s3.h: Network support for S3 driver.
3873 * device-src/property.c, device-src/property.h: Register S3
3874 authentication properties.
3875 * device-src/activate-devpay.c: Tool to convert a devpay
3876 activation key into user tokens.
3877 * device-src/Makefile.am: Support all these new files.
3878 * configure.in: Check S3 prerequesites.
3879 * config/amanda/s3-device.m4: Check if the S3 device should be
3881 * config/amanda/libs.m4: Code to check for libcurl version and
3883 * common-src/util.c: Use libcurl header.
3885 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
3886 * server-src/amcheckdump.pl: call critical() rather than
3889 2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
3890 * common-src/local-security.c: New 'local' security driver.
3891 * common-src/security.c (drivers): Add local_security_driver
3892 * common-src/Makefile.am (libamanda_la_SOURCES): Add local-security.c
3893 * man/xml-source/amanda.conf.5.xml,
3894 man/xml-source/amanda-client.conf.5.xml,
3895 example/amanda-client.conf.in,
3896 example/template.d/dumptypes: Document 'local' security driver.
3898 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
3899 * server-src/amcheckdump.pl perl/Amanda/Util.swg: don't use
3900 the C safe_fd, which kills the Perl debugger; just check
3901 that fd's 0-2 are open
3903 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
3904 * perl/Amanda/Types.swg perl/Makefile.am: add new Amanda::Types module
3905 to contain data structures common to several other modules.
3906 * perl/Amanda/Device.swg: move dumpfile_t to Amanda::Types
3907 * installcheck/Amanda_Types.pl installcheck/Makefile.am: simple tests
3909 * common-src/fileheader.c common-src/fileheader.h: build_header
3910 now takes a precise size, not a minimum.
3912 2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
3913 * recover-src/amrecover.c: Call apply_config_overwrites before
3914 config_init(CONFIG_INIT_EXPLICIT_NAME ...)
3916 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
3917 * common-src/util.c (strquotedstr, hexdump): Remove function.
3918 * common-src/util.h (strquotedstr, hexdump): Remove prototype.
3919 * common-src/fileheader.c (strquotedstr, hexdump): Add function.
3920 * common-src/fileheader.c (strquotedstr): Fix.
3922 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
3923 * perl/Amanda/Changer.pm: Use Amanda::Config::get_config_dir().
3925 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
3926 * config/automake/scripts.am: Don't set CHECK_PERL.
3927 * changer-src/Makefile.am: Set CHECK_PERL.
3928 * client-src/Makefile.am: Set CHECK_PERL.
3929 * dumper-src/Makefile.am: Set CHECK_PERL.
3930 * common-src/Makefile.am: Set CHECK_PERL.
3932 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
3933 * common-src/krb5-security.c: Fix argument to resolve_hostname.
3934 * config/amanda/krb4-security.m4: Check .a or .so lib.
3935 * config/amanda/krb5-security.m4: Check .a or .so lib.
3937 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
3938 * device-src/Makefile.am: Merge typo.
3939 * example/Makefile.am: Merge Typo.
3941 2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
3942 * configure.in config/amanda/printf.m4: remove unused
3945 2007-12-27 Paddy Sreenivasan <paddy@zmanda.com>
3946 * server-src/reporter.c: Check for NULL mailto
3948 2007-12-27 Satya Ganga <gsat@zmanda.com>
3949 * server-src/amserverconfig.pl: holding disk will be created
3950 only if we have at least 1G free space in the Amanda home dir
3952 2007-12-27 Ian Turner <ian@zmanda.com>
3953 * server-src/taperscan.c server-src/taper.c: only print error_message
3956 2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
3957 * server-src/amrmtape.sh: remove @DB_EXT@, which no longer
3958 exists (since 2007-10-09).
3960 2007-12-26 Dustin J. Mitchell <dustin@zmanda.com>
3961 * server-src/amverify.sh: fix multiple non-portable shell
3964 2007-12-23 Dustin J. Mitchell <dustin@zmanda.com>
3965 Large-scale merge of perl interface to Amanda, along with
3966 a fleet of related changes. Patch authors are given for
3967 changes not made by Dustin.
3969 * perl/Makefile.am config/amanda/swig.m4: use
3970 ExtUtils::Embed::perl_inc() to get the include directory
3971 and let Amanda's compiler/linker flags and libtool take
3973 * perl/Amanda/Config.swg: use accessors for config_name,
3974 config_filename, and config_dir
3975 * server-src/amcheckdump.pl server-src/amdevcheck.pl
3976 perl/Amanda/Util.swg installcheck/Amanda_Config.pl: use
3978 * perl/Amanda/Util.swg common-src/amanda.h: use a .-relative
3979 path in two #include directives to avoid accidentally
3980 including perl's headers of the same name; this is a temporary
3981 hack until a larger-scale overhaul of Amanda's headers is done.
3982 * config/amanda/swig.m4: error out if shared libraries are disabled
3983 * server-src/amcheckdump.pl: Use timestamp from latest
3984 amdump.1 or amflush.1 log file. (Jean-Louis Martineau
3985 <martineau@zmanda.com>)
3986 * server-src/amcheckdump.pl: Output partnum. (Jean-Louis
3987 Martineau <martineau@zmanda.com>)
3988 * server-src/amcheckdump.pl: Add a '/' after the config name.
3989 (Jean-Louis Martineau <martineau@zmanda.com>)
3990 * perl/Amanda/Logfile.swg perl/Amanda/Device.swg perl/Makefile.am
3991 perl/amglue/integers.swg perl/amglue/amglue.h
3992 perl/amglue/amglue.swg perl/amglue/glib.swg
3993 perl/amglue/bigint.c: Always use Math::BigInt to convert numeric
3994 quantities from C to Perl, to avoid integer overflow and automatic
3995 promotion to double.
3996 * perl/Amanda/Debug.swg client-src/versionsuffix.c
3997 common-src/util.c common-src/util.h common-src/debug.c
3998 common-src/debug.h common-src/conffile.c
3999 common-src/conffile.h common-src/file.c common-src/file.h:
4000 - move get_/set_pname to util.c
4001 - rename RunningAsWho to running_as_flags
4002 - cache original cwd before changing it in safe_cd, and use the
4003 cached value in conffile
4004 * server-src/logfile.c: call set_logerror in open_log
4005 * client-src/runtar.c common-src/debug.c common-src/amanda.h
4006 common-src/file.c common-src/file.h: replace client_uid,
4007 client_gid globals with functions, to eliminate the need
4009 * server-src/logfile.c: Update warning about globals
4010 * server-src/find.c: Update search_logfile to possibly search
4011 all tapes in a logfile. Also, other miscellaneous
4012 refactoring. (Ian Turner <ian@zmanda.com>)
4013 * server-src/find.h: Document new interface.
4014 * server-src/amindexd.c, server-src/amadmin.c,
4015 server-src/amtrmidx.c, restore-src/amfetchdump.c: Use new
4016 find_dump interface.
4017 * common-src/util.c, common-src/util.h: New function
4018 compare_possibly_null_strings, which is like strcmp() but
4019 orders NULL pointers before non-null strings.
4020 * Makefile.am: reflect BINARY_OWNER into distcheck-triggered
4022 * common-src/conffile.c common-src/conffile.h: completely
4023 new API, almost complete rewrite
4024 * common-src/columnar.c common-src/columnar.h
4025 common-src/Makefile.am: new files, extracted from
4027 * oldrecover-src/amrecover.c oldrecover-src/extract_list.c
4028 changer-src/chg-scsi-chio.c changer-src/chg-scsi.c
4029 client-src/sendbackup.c client-src/sendsize.c
4030 client-src/selfcheck.c amandad-src/amandad.c
4031 device-src/device.c recover-src/amrecover.c
4032 recover-src/extract_list.c server-src/diskfile.h
4033 server-src/logfile.c server-src/amlogroll.c
4034 server-src/amindexd.c server-src/amcheck.c
4035 server-src/dumper.c server-src/planner.c
4036 server-src/chunker.c server-src/amadmin.c
4037 server-src/amtape.c server-src/amcleanupdisk.c
4038 server-src/getconf.c server-src/amflush.c
4039 server-src/amtrmlog.c server-src/driverio.c
4040 server-src/holding.c server-src/driverio.h
4041 server-src/driver.c server-src/reporter.c server-src/taper.c
4042 server-src/find.c server-src/amindex.c server-src/amtrmidx.c
4043 server-src/diskfile.c server-src/amlabel.c
4044 perl/Amanda/Config.swg config/amanda/defaults.m4
4045 restore-src/amidxtaped.c restore-src/amrestore.c
4046 restore-src/restore.c restore-src/amfetchdump.c
4047 common-src/util.h common-src/glib-util.c tape-src/tapeio.c
4048 common-src/amanda.h tape-src/tapeio.h: use new conffile API
4049 * installcheck/Makefile.am installcheck/Amconfig.pm.in
4050 installcheck/Installdirs.pm.in installcheck/Amanda_Config.pl
4051 installcheck/Amanda_Changer.pl installcheck/Amanda_Cmdline.pl
4052 installcheck/Amanda_Logfile.pl installcheck/amcheckdump.pl
4053 installcheck/amdevcheck.pl installcheck/amgetconf.pl:
4054 new unit tests for new modules, applications
4055 * server-src/amdevcheck.pl server-src/amcheckdump.pl: new pure-
4056 Perl applications; amcheckdump.pl is by Ian Turner
4058 * perl/Amanda perl/Makefile.am perl/Amanda/Paths.pm.in
4059 perl/Amanda/Logfile.swg perl/Amanda/Changer.pm
4060 perl/Amanda/Config.swg perl/Amanda/Debug.swg
4061 perl/Amanda/Tapefile.swg perl/Amanda/Cmdline.swg
4062 perl/Amanda/Util.swg perl/Amanda/Device.swg: new directory
4063 containing perl interfaces to Amanda modules
4064 * perl/amglue perl/amglue/integers.swg perl/amglue/amglue.h
4065 perl/amglue/exports.swg perl/amglue/ghashtable.c
4066 perl/amglue/amglue.swg perl/amglue/constants.swg
4067 perl/amglue/glib.swg perl/amglue/bigint.c: functions and
4068 macros to glue Amanda to perl
4070 2007-12-21 Satya Ganga <gsat@zmanda.com>
4071 * server-src/amserverconfig.pl: correct holding disk size
4072 validation logic so that it works on solaris too
4074 2007-12-21 Satya Ganga <gsat@zmanda.com>
4075 * server-src/amserverconfig.pl: amserverconfig needs to create a empty
4078 2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
4079 Bug reported by Tim Bunnell.
4080 * client-src/getfsent.c (dev2rdev): Do it only for block device.
4082 2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
4083 * server-src/taper.c: Unquote holding_disk_file.
4085 2007-12-20 Dustin J. Mitchell <dustin@zmanda.com>
4086 * common-src/debug.h: fix (cosmetic, but confusing) typo
4088 2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
4089 * common-src/util.c (quote_string): Quote ':'.
4091 2007-12-19 Ian Turner <ian@zmanda.com>
4092 * server-src/taper.c: Don't crash if there is a problem writing a
4095 2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
4096 * server-src/planner.c: Correctly set planner_timestamp if
4097 usetimestamps is set to no.
4099 2007-12-18 Jean-Louis Martineau <martineau@zmanda.com>
4100 * server-src/driverio.c (childstr): Check dumper->chunker.
4102 2007-12-14 Ian Turner <ian@zmanda.com>
4103 * device-src/tape-device.c: Try to open tape devices as O_NONBLOCK
4104 at first; if the device is not ready, we will let the changer script
4105 retry, instead of having the kernel do it for us.
4106 * device-src/tape-ops.h, device-src/tape-aix.c,
4107 device-src/tape-uware.c, device-src/tape-xenix.c,
4108 device-src/tape-posix.c: Add new tape_is_ready() function.
4110 2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
4111 * config/amanda/dumpers.m4: Don't set STAR in AMANDA_PROG_SAMBA_CLIENT.
4113 2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
4114 * server-src/find.c (search_logfile): Parse taper result line before
4117 2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
4118 * server-src/find.c (find_log): Result should not have duplicate
4121 2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
4122 * server-src/amstatus.pl: Parse NEW-TAPE line
4123 * server-src/taper.c: Add the handle in NEW-TAPE result.
4124 * server-src/driver.c: Check number of arguments in NEW-TAPE result.
4126 2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
4127 * config/amanda/progs.m4: Define AMLINT To 'echo;false' to no lint
4130 2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
4131 * common-src/bsdudp-security.c: Loop over all address until a bind
4133 * common-src/bsd-security.c: Loop over all address until a bind
4135 * common-src/stream.c: Loop over all address until a connect is
4138 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
4139 * server-src/amindexd.c: Don't use duplicate part.
4141 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
4142 * restore-src/amfetchdump.c: Don't use duplicate part.
4144 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
4145 * server-src/holding.c (holding_get_all_datestamps): Don't add
4146 duplicate datestamp.
4148 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
4149 * server-src/amcheck.c: Don't complain about correct unlabeled
4152 2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
4153 * client-src/sendbackup.c, client-src/sendsize.c,
4154 client-src/selfcheck.c, client-src/calcsize.c,
4155 amandad-src/amandad.c, device-src/device.c,
4156 device-src/vfs-device.c, server-src/changer.c,
4157 server-src/dumper.c, server-src/planner.c,
4158 server-src/chunker.c, server-src/server_util.c,
4159 server-src/taperscan.c, server-src/driver.c,
4160 server-src/taper.c, server-src/find.c,
4161 server-src/diskfile.c, common-src/pipespawn.c,
4162 common-src/util.c, common-src/conffile.c: Fix memory leak.
4164 2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
4165 * server-src/find.c (search_logfile): Parse PARTPARTIAL line.
4167 2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
4168 * server-src/taper.c: Use g_strdup if pointer can be NULL.
4170 2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
4171 * server-src/taperscan.c: Don't output the latest changer result.
4173 2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
4174 * common-src/util.c (resolve_hostname): Take a new socktype argument.
4175 * common-src/util.h (resolve_hostname): New prototype.
4176 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
4177 common-src/bsdudp-security.c, common-src/krb5-security.c,
4178 common-src/rsh-security.c, common-src/security-util.c,
4179 common-src/ssh-security.c, common-src/stream.c,
4180 recover-src/set_commands.c, server-src/amcheck.c,
4181 server-src/dumper.c: Call resolve_hostname with socktype argument.
4183 2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
4184 * common-src/util.c (resolve_hostname): Don't return V4MAPPED address.
4185 * common-src/amanda.h (AI_V4MAPPED, AI_ALL): Don't define.
4187 2007-12-04 Ian Turner <ian@zmanda.com>
4188 * server-src/taperscan.c, server-src/taperscan.h: Support persistence
4189 between invocations of taper_scan(), so that you can get second-best
4191 * server-src/amcheck.c, server-src/amtape.c: Use the new taperscan
4193 * server-src/taper.c: Do the right thing if there is an error writing
4196 2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
4197 * server-src/amtape.c: Correctly output the result of taper scan.
4199 2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
4200 * server-src/amcheck.c, server-src/dumper.c
4201 server-src/planner.c: Don't crash is securoty driver is not found.
4203 2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
4204 * server-src/changer.c: Print better message if the changer script
4207 2007-12-03 Jean-Louis Martineau <martineau@zmanda.com>
4208 * man/xml-source/amserverconfig.8.xml: Fix indentation.
4210 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4211 * server-src/taper-mem-port-source.c, server-src/taper-file-source.c
4212 server-src/taper.c: Cast guint64 to uintmax_t and use %ju to print.
4214 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4215 * man/xml-source/amanda.conf.5.xml: Improve documentation.
4216 * example/amanda.conf.in: Ditto.
4218 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4219 * server-src/server_util.c (cmdstr): Remove SPLIT-NEEDNEXT
4221 * server-src/server_util.h (cmd_t): Remove SPLIT_NEEDNEXT
4223 * server-src/taper.c: Send part_kbyte in PARTDONE result.
4224 * server-src/amstatus.pl: Parse part_kbyte in PARTDONE result line.
4225 Parse REQUEST-NEW_TAPE line.
4226 * common-src/conffile.h: CONF_FLUSH_THRESHOLD_DUMPED,
4227 CONF_FLUSH_THRESHOLD_SCHEDULE, CONF_TAPERFLUSH.
4228 * common-src/conffile.c: CNF_FLUSH_THRESHOLD_DUMPED,
4229 CNF_FLUSH_THRESHOLD_SCHEDULE, CNF_TAPERFLUSH.
4230 * server-src/driverio.h: Add Many globals.
4231 * server-src/driver.c: Split runq in runq and directq.
4232 Implement flush-threshold-*/taperflush.
4233 * example/amanda.conf.in: Example for flush-threshold-* and taperflush.
4234 * man/xml-source/amanda.conf.5.xml: Document flush-threshold-*
4237 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4238 * server-src/taperscan.c: Fix output formating.
4240 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4241 * recover-src/set_commands.c: Add a terminating '/' in cd_regex.
4242 Never add it in cd_dir.
4244 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4245 * config/automake/scripts.am: Build of the scripts also depend on
4246 $(top_builddir)/config.status
4248 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4249 * server-src/amdump.sh: Pass a --startime argument to planner.
4250 * server-src/planner.c: Get the --starttime command line argument.
4252 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4253 * server-src/amstatus.pl: New --locale-independent-date-format option.
4254 * man/xml-source/amstatus.8.xml: Document it.
4255 * server-src/amflush.c: Output a "starttime-locale-independent" line.
4256 * server-src/amdump.sh: Output a "starttime-locale-independent" line.
4258 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
4259 * server-src/find.c: Remove seen_chunk_of function.
4261 2007-11-28 Jean-Louis Martineau <martineau@zmanda.com>
4262 * config/macro-archive/docbook-dtd.m4: Check return code of 5.
4264 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
4265 * installcheck/Amconfig.pm.in: fix quoting error leading to
4266 directories named '"'
4268 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
4269 * common-src/file.c: only chown new directories when running as root
4271 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
4272 * config/automake/installperms.am: strip directory names from build
4273 filenames when setting permissions; fixes errors from examples/
4276 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
4277 * man/Makefile.am: Allow installs, but not tarballs, without
4280 2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
4281 * server-src/planner.c: Check dp->todo before using (est)->dp.
4283 2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
4284 * device-src/device.c (default_device_start): Overwrite label only
4285 if mode == ACCESS_WRITE.
4287 2007-11-20 Ian Turner <ian@zmanda.com>
4288 * device-src/device.c, device-src/device.h
4289 device-src/tape-device.c, device-src/rait-device.c: Change API
4290 semantics with respect to label reading. This patch makes it
4291 possible to open and read a volume with properties while only
4292 reading its label once. Thanks to Jean-Louis Martineau
4293 <martineau@zmanda.com> for suggesting this change.
4295 2007-11-20 Ian Turner <ian@zmanda.com>
4296 * device-src/vfs-device.c: Be more thourough about updating volume
4299 2007-11-20 Ian Turner <ian@zmanda.com>
4300 * changer-src/chg-lib.sh.in: Use a more robust check for MT path.
4301 * server-src/amverify.sh.in: Use amrestore instead of amdd/ammt.
4303 2007-11-09 Ian Turner <ian@zmanda.com>
4304 * server-src/taperscan.c: Fix a memory allocation bug and be a little
4307 2007-11-06 Ian Turner <ian@zmada.com>
4308 * server-src/taperscan.c: Print a proper message if there is
4309 only one flag from device_read_label().
4311 2007-11-26 Dustin J. Mitchell <dustin@zmanda.com>
4312 * configure.in config/amanda/config.m4 common-src/genversion.c
4313 common-src/Makefile.am: explicitly generate svn info at configure
4314 time, rather than relying on svn keywords
4316 2007-11-26 Ian Turner <ian@zmanda.com>
4317 * server-src/Makefile.am: Move amdevcheck from libexec/ to sbin/.
4318 Thanks to Satya Ganga <gsat@zmanda.com> for noticing this problem.
4320 2007-11-26 John Franks <jrfranks@zmanda.com>
4321 * common-src/debug.c For cygwin builds: change to
4322 close and reopen log file handle on successful rename.
4323 This is to ensure that Windows has no possibility of
4324 preventing access to the original file name if processes
4327 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
4328 * server-src/amflush.c: Send config option (-o) to child process.
4330 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
4331 * server-src/planner.c: Don't set est(dp)->state before testing it.
4333 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
4334 * config/amanda/readline.m4: Include termcap, curses or ncurese in LIBS.
4336 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
4337 * server-src/diskfile.c (match_disklist): Fix for disk not found.
4339 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
4340 * server-src/driver.c: Don't release taper_ev_read in
4341 start_degraded_mode.
4343 2007-11-20 Paddy Sreenivasan <paddy@zmanda.com>
4344 * amanda.spec: Added calls to Zmanda
4345 * example/amanda-client.conf.in: Switch to bsdtcp
4347 2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
4348 * server-src/amstatus.pl: Handle taper FAILED message.
4350 2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
4351 * config/amanda/userid.m4: Use $enableval in AC_ARG_ENABLE.
4353 2007-11-07 Paddy Sreenivasan <paddy@zmanda.com>
4354 * server-src/amserverconfig.pl server-src/amaddclient.pl:
4355 new configuration tools
4356 * common-src/amgpgcrypt.pl common-src/amcryptsimple.pl:
4357 new encryption plugins
4358 * man/xml-source/amaddclient.8.xml man/xml-source/amgpgcrypt.8.xml
4359 man/xml-source/amcryptsimple.8.xml
4360 man/xml-source/amserverconfig.8.xml: man pages for new tools
4361 * example/template.d/* - Configuration file templates
4362 * example/amanda-client.conf.in: Updated amanda configuration file
4363 * example/Makefile.am man/Makefile.am server-src/Makefile.am
4364 common-src/Makefile.am: Added amserverconfig, amaddclient,
4365 amgpgcrypt and amcryptsimple
4366 * device-src/Makefile.am: Fixed libamdevice version
4367 * configure.in: Added template files
4368 * amanda.spec: Updated spec file for new utilities
4370 2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
4371 * config/automake/installperms.am: new method of specifying
4372 permissions on installed files
4373 * config/amanda/userid.m4 configure.in: add --disable-installperms
4374 to disable any permsisions settings (useful for packaging builds)
4375 * oldrecover-src/Makefile.am example/Makefile.am
4376 changer-src/Makefile.am amplot/Makefile.am
4377 client-src/Makefile.am amandad-src/Makefile.am man/Makefile.am
4378 dumper-src/Makefile.am recover-src/Makefile.am
4379 server-src/Makefile.am restore-src/Makefile.am
4380 Makefile.am support/Makefile.am common-src/Makefile.am
4381 tape-src/Makefile.am: use installperms.am
4383 2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
4384 Suggested by Jon LaBadie
4385 * config/automake/precompile.am: new rule to make
4386 precompiler output files; useful for debugging
4387 * */Makefile.am: include precompile.am
4389 2007-11-01 Jean-Louis Martineau <martineau@zmanda.com>
4390 * AUTHORS: Add Dustin J. Mitchell.
4392 2007-10-31 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
4393 * most C files, amanda.h: Switch to using the g_printf family, which
4394 supports a consistent set of %-conversions, including the 'z'
4395 (size_t) and 'j' (intmax_t) size specifiers. Convert various
4396 printf format strings accordingly.
4398 2007-10-31 Dustin J. Mitchell <dustin@zmanda.com>
4399 * common-src/genversion.c common-src/Makefile.am: fix BUILD_REV
4400 and BUILD_BRANCH to work even when packages are built from
4401 distribution tarballs
4403 2007-10-31 Ian Turner <ian@zmanda.com>
4404 * server-src/taperscan.c: Don't segfault if there is an error opening
4405 a device during taperscan.
4407 2007-10-30 Dustin J. Mitchell <dustin@zmanda.com>
4408 * docs autogen INSTALL UPGRADING configure.in
4409 DEVELOPING Makefile.am: remove docs/ directory in favor of
4410 manpages and online reference; most docs/* were outdated
4412 2007-10-29 Dustin J. Mitchell <dustin@zmanda.com>
4413 * changer-src/chg-zd-mtx.sh: fix typo
4415 2007-10-29 Ian Turner <ian@zmanda.com>
4416 * restore-src/restore.c: Don't mention slot numbers when running
4419 2007-10-29 Ian Turner <ian@zmanda.com>
4420 * man/xml-source/amfetchdump.8.xml: Remove documentation for
4423 2007-10-26 Dustin J. Mitchell <dustin@zmanda.com>
4424 Add support for post-install tests, which can be more thorough than
4426 * configure.in Makefile.am installcheck/*: new directory
4427 * installcheck/amgetconf.pl: test some of amgetconf's functionality
4428 * docs/developing.txt: notes on various test mechanisms
4429 * config/automake/scripts.am: add CHECK_PERL_FLAGS
4430 * common-src/debug.c: only try to chown debug files if running as root
4432 2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
4433 * config/mkinstalldirs config/depcomp config/config.guess
4434 config/ltmain.sh config/config.sub config/missing
4435 config/install-sh config/ylwrap: update files with automake-1.10,
4437 * autogen: don't call automake with --add-missing, as it stomps all
4438 over the working copy
4440 2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
4441 * gnulib/* config/*: updated to latest gnulib
4442 * gnulib/regenerate/regenerate: update gnulib date
4443 * gnulib/regenerate/getaddrinfo-cygwin.patch: update to patch new
4445 * device-src/tests/vfs_test.c: mkdtemp.h no longer exists
4447 2007-10-24 Jean-Louis Martineau <martineau@zmanda.com>
4448 * client-src/Makefile.am: Remove duplicate entry for
4449 libamclient_la_SOURCES.
4451 2007-10-23 Dustin J. Mitchell <dustin@zmanda.com>
4452 * config/automake/scripts.am: rules to build (substitute) scripts
4453 * config/automake/vars.am: define empty variables for later appending
4454 * config/automake/check-perl.am config/automake/check-shell.pm:
4456 * changer-src/Makefile.am amplot/Makefile.am client-src/Makefile.am
4457 dumper-src/Makefile.am server-src/Makefile.am
4458 common-src/Makefile.am: Use new include files
4459 * configure.in: remove now-unnecessary AC_CONFIG_FILES
4460 * *.sh.in *.pl.in *.awk.in: renamed
4462 2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
4463 * server-src/reporter.c: Always call sort_disks.
4465 2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
4466 * man/xml-source/amanda.conf.5.xml: Correctly document portrange.
4467 * common-src/conffile.c: Fix portrange.
4469 2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
4470 * common-src/conffile.c: Allow reserved-udp-port and reserved-tcp-port
4471 in amanda-client.conf.
4473 2007-10-17 Dustin J. Mitchell <dustin@zmanda.com>
4474 * common-src/amanda.h: remove amflock cruft
4476 2007-10-16 Dustin J. Mitchell <dustin@zmanda.com>
4477 * config/amanda/defaults.m4: Change EXAMPLE_TAPEDEV to use the 'tape:'
4478 syntax, and to indicate "you need to change this!" more explicitly
4480 2007-10-16 Ian Turner <ian@zmanda.com>
4481 * common-src/glib-util.c: Allow use of units in parsing GValues; in
4482 particular, this allows use of units when specifying device
4483 properties in the configuration file.
4484 * common-src/conffile.c, common-src/conffile.h: Make unit suffixes
4485 available outside of conffile.c.
4487 2007-10-16 Ian Turner <ian@zmanda.com>
4488 * device-src/device.c: Fix a compilation error in
4489 device_set_startup_properties_from_config().
4491 2007-10-16 Ian Turner <ian@zmanda.com>
4492 * man/xml-source/amanda.conf.5.xml, server-src/taper.c,
4493 common-src/conffile.c, common-src/conffile.h: Add new
4494 configuration directive device_output_buffer_size to replace
4497 2007-10-15 Ian Turner <ian@zmanda.com>
4498 * device-src/device.c: Don't complain about problems setting
4499 MAX_VOLUME_USAGE; do complain about problems setting
4502 2007-10-16 Jean-Louis Martineau <martineau@zmanda.com>
4503 * client-src/sendbackup-gnutar.c: Use GNUTAR.
4505 2007-10-15 Dustin J. Mitchell <dustin@zmanda.com>
4506 * device-src/device.c: do not fall back to tape:/foo if the tape
4507 device is not available (WANT_TAPE_DEVICE is not set)
4509 2007-10-12 Dustin J. Mitchell <dustin@zmanda.com>
4510 * changer-src/chg-mtx.sh.in changer-src/chg-zd-mtx.sh.in
4511 changer-src/chg-multi.sh.in: add missing definition of prefix
4513 2007-10-12 Jean-Louis Martineau <martineau@zmanda.com>
4514 * common-src/protocol.c (s_repwait): return PA_FINISH on P_NAK.
4516 2007-10-11 Dustin J. Mitchell <dustin@zmanda.com>
4517 * config/amanda/tape.m4: fix typo (have_MTIOCTOP -> HAVE_MTIOCTOP)
4519 2007-10-10 Dustin J. Mitchell <dustin@zmanda.com>
4520 * common-src/amflock-test.c common-src/amflock-lnlock.c: don't use
4521 AMANDA_TMPDIR during build-time testing
4523 2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
4524 * recover-src/uscan.l recover-src/extract_list.c
4525 recover-src/uparse.y recover-src/amrecover.h
4526 recover-src/help.c recover-src/set_commands.c: deprecate
4527 'settape', add 'setdevice'
4528 * man/xml-source/amrecover.8.xml: corresponding doc update
4529 * example/amanda.conf.in: update comments in example config,
4530 change default value of amrecover_changer from the confusing
4533 2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
4534 * common-src/amflock-test.c: lock files in the cwd, rather than /tmp,
4535 and pay attention to errors from unlink()
4537 2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
4538 * gnulib/regenerate/regenerate gnulib/mkdtemp.c gnulib/mkdtemp.h
4539 gnulib/gettimeofday.c gnulib/sys_time_.h gnulib/tempname.c
4540 gnulib/tempname.h gnulib/stat_.h gnulib/Makefile.am
4541 device-src/tests/vfs_test.c config/gnulib/mkdtemp.m4
4542 config/gnulib/sys_time_h.m4 config/gnulib/tempname.m4
4543 config/gnulib/gnulib-comp.m4 config/gnulib/sys_stat_h.m4
4544 config/gnulib/gnulib-cache.m4 config/gnulib/gettimeofday.m4:
4545 add 'mkdtemp' gnulib module, use it in vfs_test.c
4547 2007-10-09 Jean-Louis Martineau <martineau@zmanda.com>
4548 * common-src/util.c (portable_readdir): Don't use reentrant function.
4550 2007-10-08 Dustin J. Mitchell <dustin@zmanda.com>
4551 * autogen configure.in config/macro-archive/*.m4
4552 config/amanda/*.m4 config/libtool/*.m4: move most autoconf
4553 checks to macros in .m4 files. Hilights of changes along the way:
4554 - use AC_REQUIRES to enforce check ordering
4555 - Add a post-configure summary of important results
4556 - use AM_CONDITIONAL to control conditional compilation of whole
4557 files, instead of preprocessor macros
4558 - correct spelling of PRINCIPLE -> PRINCIPAL
4559 - remove support for dbmalloc (we use valgrind, coverity, etc. now)
4560 - remove support for infofiles in anything but text format
4561 - change DONT_SUID_ROOT to !WANT_SETUID_ROOT
4562 - remove unused --with-broken-fsf
4563 - remove multiple unused function and header checks, the defines
4564 from which do not appear in any source file
4565 - remove LTLIBOBJS cruft based on
4566 http://www.delorie.com/gnu/docs/autoconf/autoconf_165.html
4567 - remove unused LTALLOCA definition based on
4568 http://www.delorie.com/gnu/docs/libtool/libtool_30.html
4569 - use autoconf macro archive's
4570 AC_DEFINE_DIR to expand $prefix, etc. in directory variables
4571 - do not *require* --with-{user,group}; this allows 'make distcheck'
4573 * docs/developing.txt: describe how to update gnulib, libtool, and
4575 * po/reautopoint.patch po/reautopoint: script to update gettext,
4576 parallel to gnulib/regenerate/regenerate
4577 * amandad-src/amandad.c changer-src/scsi-aix.c
4578 changer-src/scsi-bsd.c changer-src/scsi-cam.c
4579 changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
4580 changer-src/scsi-hpux.c changer-src/scsi-hpux_new.c
4581 changer-src/scsi-irix.c changer-src/scsi-linux.c
4582 changer-src/scsi-proto.c changer-src/scsi-solaris.c
4583 changer-src/sense.c client-src/calcsize.c client-src/getfsent.c
4584 client-src/selfcheck.c client-src/sendbackup.c
4585 client-src/sendsize.c common-src/alloc.c common-src/amanda.h
4586 common-src/conffile.c common-src/debug.c common-src/file.c
4587 common-src/genversion.c common-src/krb4-security.c
4588 common-src/writev.c device-src/tape-posix.c server-src/amadmin.c
4589 server-src/amcheck.c server-src/amlabel.c server-src/amlogroll.c
4590 server-src/amtape.c server-src/amtrmidx.c server-src/amtrmlog.c
4591 server-src/changer.c server-src/chunker.c server-src/diskfile.c
4592 server-src/driver.c server-src/dumper.c server-src/getconf.c
4593 server-src/infofile.c server-src/infofile.h server-src/planner.c
4594 server-src/reporter.c tape-src/output-tape.c: changes corresponding
4595 to simplifications and fixes in autoconf
4596 * gnulib/regenerate/no-error.patch gnulib/regenerate/regenerate: no
4597 need to create gnulib.m4i anymore
4599 2007-10-08 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
4600 * example/amanda.conf.in: add segate LTO tapetype
4602 2007-10-08 Paddy Sreenivasan <paddy@zmanda.com>
4603 * changer-src/chg-lib.sh.in
4604 changer-src/chg-null.sh.in changer-src/chg-disk.sh.in
4605 changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
4606 changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
4607 amplot/amplot.sh.in client-src/patch-system.sh.in
4608 server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
4609 server-src/amrmtape.sh.in server-src/amverify.sh.in
4610 server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
4611 server-src/amdump.sh.in common-src/amanda-sh-lib.sh.in
4612 common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt.sh.in
4613 common-src/amaespipe.sh.in common-src/Makefile.am
4614 common-src/amcrypt-ossl.sh.in: move amanda-sh-lib.sh from
4615 $libexecdir/amanda to just $libexecdir
4617 2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
4618 * device-src/tests/Makefile.am device-src/tests/vfs_test.c: add a test
4620 * device-src/property.c device-src/vfs-device.c: add
4623 2007-10-04 Dan Locks <dwlocks@zmanda.com>
4624 * amanda.spec: add .spec file Zmanda uses for community builds
4626 2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
4627 * device-src/device.c device-src/Makefile.am configure.in: add
4628 WANT_TAPE_DEVICE conditional, for machines that have no tape
4629 support whatsoever (Mac OS X)
4631 2007-10-03 Dan Locks <dwlocks@zmanda.com>
4632 * configure.in: Added /opt/local/bin AC_PATH_PROG(PKG_CONFIG.. for
4633 mac osx and macports
4635 2007-10-03 Jean-Louis Martineau <martineau@zmanda.com>
4636 * server-src/driver.c: Go in degraded mode after out of tape.
4638 2007-10-02 Jean-Louis Martineau <martineau@zmanda.com>
4639 * man/xml-source/amanda.conf.5.xml: Fix indentation.
4641 2007-10-02 Dustin J. Mitchell <dustin@zmanda.com>
4642 * server-src/amcheck.c: Fix typo in merge found by
4643 martineau@zmanda.com
4645 2007-10-01 Ian Turner <ian@zmanda.com>
4646 * device-src/rait-device.c, device-src/queueing.c,
4647 device-src/tests/device_test.c, device-src/device.h,
4648 device-src/device.c: Remove device_is_eof() function in favor of
4649 accessing is_eof member directly.
4651 2007-10-01 Dustin J. Mitchell <dustin@zmanda.com>
4653 * amandad-src/amandad.c: fix a use-after-free
4655 2007-10-01 Ian Turner <ian@zmanda.com>
4656 * device-src/device.c: Automatically register the CANONICAL_NAME
4657 property for all devices.
4659 2007-10-01 Ian Turner <ian@zmanda.com>
4660 * device-src/tape-posix.c: Use MTEOD on systems that have it but not
4663 2007-10-01 Ian Turner <ian@zmanda.com>
4664 * device-src/device.c, device-src/vfs-device.c,
4665 device-src/rait-device.c: Use g_strdup() instead of strdup().
4667 2007-10-01 Ian Turner <ian@zmanda.com>
4668 * changer-src/chg-lib.sh.in: Fix some compilation problems on
4671 2007-09-25 Dan Locks <dwlocks@zmanda.com>
4672 * common-src/util.c: cast uid_t to long long for printf formatting
4674 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4675 * oldrecover-src/Makefile.am changer-src/Makefile.am
4676 client-src/Makefile.am amandad-src/Makefile.am
4677 recover-src/Makefile.am server-src/Makefile.am
4678 restore-src/Makefile.am common-src/Makefile.am
4679 tape-src/Makefile.am: replace -I../config with
4680 -I$(top_builddir)/config
4681 * device-src/tests/Makefile.am: Replace -I.. with
4682 -I$(top_srcdir)/device-src
4684 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4685 * client-src/sendsize.c: change "smbclient" to SAMBA_CLIENT to allow
4688 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4689 * common-src/amflock-flock.c common-src/amflock-posix.c
4690 common-src/amflock-lockf.c common-src/amflock-lnlock.c
4691 common-src/amflock.c: use G_GNUC_UNUSED to avoid compiler
4694 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4695 * common-src/amanda.h common-src/file.h: move declaration of
4696 canonicalize_pathname to file.h
4698 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4699 * common-src/util.c common-src/util.h: only check euid==uid
4700 if not RUNNING_AS_UID_ONLY; set_root_privs() checks that euid=0
4701 * client-src/runstar.c client-src/noop.c client-src/runtar.c
4702 client-src/sendbackup.c client-src/killpgrp.c
4703 client-src/sendsize.c client-src/selfcheck.c
4704 client-src/rundump.c amandad-src/amandad.c
4705 server-src/amlogroll.c server-src/amindexd.c
4706 server-src/amcheck.c server-src/dumper.c server-src/planner.c
4707 server-src/chunker.c server-src/amadmin.c server-src/amtape.c
4708 server-src/amcleanupdisk.c server-src/amflush.c
4709 server-src/amtrmlog.c server-src/amdevcheck.c
4710 server-src/driver.c server-src/reporter.c server-src/taper.c
4711 server-src/amtrmidx.c server-src/amlabel.c
4712 restore-src/amidxtaped.c restore-src/amfetchdump.c:
4713 remove RUNNING_WITHOUT_SETUID and change RUNNING_AS_SETUID_ROOT
4714 to RUNNING_AS_UID_ONLY (with corresponding checks for root-ness)
4715 * client-src/calcsize.c: drop root privs immediately, and only
4716 regain them for stat() and opendir() operations
4718 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4719 * device-src/property.c device-src/property.h: create VERBOSE property
4721 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4722 * device-src/device.h device-src/queueing.h: expand comments
4723 * tape-src/output-rait.h tape-src/output-null.c
4724 tape-src/output-null.h tape-src/output-file.c
4725 tape-src/output-file.h tape-src/output-tape.c
4726 tape-src/output-tape.h tape-src/output-rait.c: add deprecation
4729 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4730 * changer-src/chg-zd-mtx.sh.in: Don't pass stripped device names back
4733 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4734 * changer-src/chg-mtx.sh.in, changer-src/chg-manual.sh.in,
4735 changer-src/chg-zd-mtx.sh.in, changer-src/chg-juke.sh.in,
4736 changer-src/chg-chs.sh.in, changer-src/chg-multi.sh.in: Don't use
4737 ammt for anything; use system mt and only for device operations that
4739 * changer-src/chg-lib.sh.in: Support for above change.
4741 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4742 * device-src/tape-device.c: Fix a border case bug where
4743 tape_device_robust_read() would abort when called with a buffer
4744 exactly equal to the minimum read size.
4746 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4747 * device-src/tape-device.c: Use g_strdup() instead of strdup().
4749 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4750 * device-src/vfs-device.h, device-src/fd-device.c,
4751 device-src/tape-device.c, device-src/Makefile.am,
4752 device-src/fd-device.h, device-src/tape-device.h,
4753 device-src/vfs-device.c: Delete the FdDevice and make TapeDevice
4754 and VfsDevice direct descendants of Device. Also, correct all
4755 reading and writing of volume and part labels for both drivers.
4756 * server-src/amcheck.c: Unlabeled tapes are OK, at least with
4757 label_new_tapes_option.
4759 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4760 * server-src/taperscan.c: Fix the order of arguments to
4761 scan_read_label(). Patch by Dustin J. Mitchell <dustin@zmanda.com>.
4763 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4764 * restore-src/restore.c: Change "no tapedev specified" message.
4766 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4767 * server-src/amtape.c: changer_label should be called only on success.
4769 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4770 * restore-src/restore.c: init cur_tapedev.
4772 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4773 * gnulib/regenerate/regenerate gnulib/* config/gnulib/*: add
4774 gnulib module 'fsusage'
4775 * common-src/statfs-test.c common-src/statfs.c
4776 common-src/statfs.h common-src/Makefile.am: remove old statfs
4777 * client-src/selfcheck.c client-src/calcsize.c
4778 server-src/amcheck.c server-src/driver.c: use fsusage instead of
4781 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4782 * common-src/alloc.c: Do away with debug_amfree(), which makes invalid
4783 assumptions about the way system malloc() works.
4784 * common-src/amanda.h: Update definition of amtable_free() accordingly.
4786 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4787 * server-src/amadmin.c: Allow 'f' sort order.
4788 * server-src/find.c: Fix parsing of log files.
4789 * server-src/find.h (DEFAULT_SORT_ORDER): Set to "hkdlpbf".
4791 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4792 * server-src/driverio.h (sched_t): Split attempted in dump_attempted
4793 and taper_attempted.
4794 * server-src/driver.c: Split attempted in dump_attempted
4795 and taper_attempted.
4796 * server-src/driver.c (file_taper_result): Retry dump if INPUT-ERROR.
4798 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4799 * server-src/dumper.c (add_msg_data): Remove bogus handling of "
4802 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4803 * server-src/taper-file-source.c: If there's a problem reading the
4804 holding disk, log the error as we get it from the OS.
4806 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4807 * server-src/taper-source.c, server-src/taper.c: Do the right thing
4808 if the connection to dumper is severed before we recieve a header.
4810 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4811 * server-src/taper-source.c, server-src/taper-source.h,
4812 server-src/taper-source-test.c, server-src/taper-port-source.c,
4813 server-src/taper-port-source.h: Don't have TaperPortSource track
4814 the control FD, and make it responsible for closing the data FD.
4815 * server-src/taper.c: ditto, plus close control socket correctly.
4817 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4818 * server-src/vfs-device.c: Fix a bug where all VFS device volumes
4819 were thought unlabeled. Also do the right thing when there are
4820 extra files in the VFS volume directory.
4821 * server-src/amlabel.c: Fail if there is a problem re-reading the
4824 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4825 * device-src/device.c: Set the device name before reading the label.
4826 * device-src/fd-device.c: An invalid header indicates an unlabeled
4827 volume, not a volume error.
4828 * device-src/taper-device.c: Insufficient buffer space causes
4829 ENOMEM, not ENOSPC, at least on Linux.
4830 * server-src/amlabel.c: Correctly handle the case where
4831 device_read_label() returns exactly 1 set bit.
4833 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4834 * server-src/taper-source.c, server-src/taper-disk-port-source.c,
4835 server-src/taper.c: Be careful not to use strings from getcwd()
4836 past the next invocation of getcwd().
4838 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4839 * device-src/vfs-device.c: Use old VFS device specification.
4841 2007-09-25 Ian Turner <ian@zmanad.com> (merged by dustin@zmanda.com)
4842 * server-src/amlabel.c: Don't dump core on successful labeling.
4844 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4845 * device-src/tests/semaphore-test.c device-src/tests/Makefile.am:
4846 test semaphore module
4847 * device-src/semaphore.c: bugfixes, optimizations
4848 * device-src/semaphore.h: inline documentation
4850 2007-09-25 Nikhil Bandiwadekar <nikhil@zmanda.com> (merged by dustin@zmanda.com)
4851 * server-src/driver.c: Added quoting to directory name while logging
4852 in statistics section
4853 * server-src/reporter.c: Handled quoted string for directory name in
4856 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4857 * device-src/device.c, device-src/device.h, device-src/s3-device.c,
4858 device-src/fd-device.c, device-src/tape-device.c,
4859 device-src/vfs-device.c, device-src/rait-device.c: Implement new,
4860 more nuanced device_read_label() interface.
4861 * server-src/amcheck.c, server-src/amtape.c, server-src/taperscan.c,
4862 server-src/amlabel.c, restore-src/amrestore.c,
4863 restore-src/restore.c: Use new interface.
4864 * common-src/glib-util.c, common-src/glib-util.h: New Flags->string
4866 * server-src/amdevcheck.c: New tool to check device/volume status.
4867 * man/xml-source/amdevcheck.8.xml: Document it.
4868 * server-src/Makefile.am: Add amdevcheck
4869 * man/Makefile.am: Add amdevcheck.8
4871 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4872 * device-src/s3-device.c: adjust glib logging calls to match debug.h's
4874 * common-src/debug.c: typo
4875 * common-src/debug.h: add definitions for g_info() and g_debug() if
4878 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4879 Thanks to Pavel Pragin <ppragin@zmanda.com> for finding these issues.
4880 * server-src/amtape.c: Update the changer database in 'amtape update'.
4881 Thanks to Dustin J. Mitchell <dustin@zmanda.com> for this fix.
4882 * server-src/taperscan.c: Update the changer database during the
4883 taper scan algorithm.
4885 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4886 Thanks to Jean-Louis Martineau <martineau@zmanda.com> for these fixes:
4887 * server-src/dumper.c: Log packet to debug file.
4888 * server-src/planner.c: Improve quoting.
4889 * server-src/driver.c: Don't call free_serial if we still need it.
4890 * server-src/driver.c: Wait for dumper result if taper fail.
4891 * server-src/amstatus.pl.in: Improve parsing of initial schedule.
4893 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4894 * device-src/tape-device.c: Use the right default block size for
4897 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4898 * device-src/vfs-device.c: add forgotten device_add_property() call
4900 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4901 * server-src/taper.c: Remove an erroneous assertion. Thanks to
4902 Jean-Louis Martineau <martineau@zmanda.com> for noticing this issue.
4904 2007-09-25 Patch by Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4905 * server-src/driverio.h server-src/driver.c: Record
4906 information from first PARTDONE result. Remove duplicate
4907 update_info_dumper. Call update_info_taper as needed.
4909 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4910 * restore-src/restore.c: Don't send text to prompt_out if amidxtaped.
4912 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
4913 * restore-src/amfetchdump.c: Fix a bug where amfetchdump will never
4914 try to use the changer.
4916 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4917 * restore-src/amfetchdump.c: Fix a bug where amfetchdump will
4918 still try to use the changer even with the -d parameter.
4920 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4921 * man/xml-source/amadmin.8.xml server-src/amadmin.c: add an
4922 'outd' column to 'amadmin CONF holding list -l', indicating
4923 an "outdated" dump, and a '-d' option to list only outdated
4924 holding disk files. Outdated dumps are described in the
4925 amadmin documentation.
4927 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4928 * client-src/sendsize.c configure.in server-src/getconf.c
4929 restore-src/amrestore.c restore-src/amfetchdump.c
4930 common-src/util.c common-src/genversion.c common-src/util.h
4931 common-src/debug.c common-src/error.c common-src/amanda.h
4932 common-src/Makefile.am:
4933 - support the glib logging infrastructure by feeding messages
4935 - merge the error module into the debug module
4936 - document debug.h with verbose comments
4937 - call g_critical() for error() and g_error() for errordump()
4938 - remove double dgettext() call in debug_printf
4939 - remove --without-debugging (so debugging is always on)
4940 - remove mostly unused debug prefix support
4941 - remove onerror(), replacing its few uses with alternatives
4943 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4944 * device-src/tests/device_test.c configure.in
4945 recover-src/extract_list.c recover-src/uparse.y
4946 server-src/amlogroll.c server-src/dumper.c server-src/reporter.c
4947 common-src/conffile.c common-src/amanda.h common-src/getcwd.c
4948 common-src/getcwd.h common-src/Makefile.am: Replace calls
4949 to safe_getcwd with calls to g_get_current_dir(), which
4950 has the same signature and semantics.
4952 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4953 * restore-src/restore.c: Fix a bug where amfetchdump would not
4954 restore anything when given the -p option. Thanks to Jean-Louis
4955 Martineau <martineau@zmanda.com> for help in the development of
4958 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4959 * man/xml-source/amanda.conf.5.xml: note that includefile can
4961 * server-src/amcleanupdisk.c: fix local variable shadowing
4964 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4965 * server-src/holding.c (holding_walk_file): amfree(filename).
4967 2007-09-25 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
4968 * man/Makefile.am: fixes for conditional compiles
4970 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4971 * common-src/conffile.c: Clean up some bad warning suppression and
4972 obselete unused code.
4974 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
4975 * example/config.site man/xml-source/amanda.conf.5.xml
4976 device-src/device.c device-src/device.h device-src/property.c
4977 device-src/fd-device.c device-src/tape-device.c
4978 device-src/property.h device-src/tape-device.h
4979 device-src/tape-ops.h server-src/amcheck.c server-src/amtape.c
4980 server-src/taperscan.c server-src/taper.c server-src/amlabel.c
4981 restore-src/amrestore.c restore-src/restore.c:
4982 This patch adds a new property READ_BUFFER_SIZE which is used
4983 only by the tape device. The VFS device still uses BLOCK_SIZE
4984 for reading; other devices don't need the property.
4986 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4987 * server-src/amcheck.c: remove debugging message
4988 * device-src/tape-posix.c: fix compilation
4989 errors when MTCOMPRESSION is not defined
4991 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
4992 * Makefile.am config/Makefile.am config/ax_create_stdint_h.m4i
4993 autogen configure.in: remove AX_CREATE_STDINT_H
4994 * configure.in: add system-specific glib configuration
4995 * changer-src/scsi-cam.c device-src/device.c
4996 device-src/device.h device-src/tests/device_test.c
4997 device-src/rait-device.c server-src/amcheck.c
4998 server-src/taper.c server-src/amlabel.c
4999 restore-src/amrestore.c restore-src/restore.c
5000 common-src/glib-util.c common-src/security-util.c
5001 common-src/amanda.h common-src/krb4-security.c:
5002 replace references to stdint types and defines with glib
5005 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5006 * device-src/s3.c, device-src/tape-device.c,
5007 device-src/rait-device.c: Fix a number of compiler warnings, some
5008 legimate, others not. Thanks to Dustin J. Mitchell
5009 <dustin@zmanda.com> and Jean-Louis Martineau <martineau@zmanda.com>
5010 for help identifying warnings that need fixing.
5012 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
5013 * man/xml-source/amcleanup.8.xml server-src/amcleanupdisk.c
5014 server-src/amcleanup.sh.in: add -v option for verbose output
5015 * server-src/holding.c server-src/holding.h: rewrite
5016 implementation of the holding API to use functors
5017 * server-src/driver.c: modifications to holding API changes
5019 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5020 * device-src/device.c: Suppress a compiler warning.
5022 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5023 * device-src/device.h, device-src/device.c, device-src/fd-device.c,
5024 device-src/tape-device.c, device-src/vfs-device.c,
5025 device-src/rait-device.c: Update the seek_file API skip missing
5026 files. Thanks to Dustin J. Mitchell <dustin@zmanda.com> and
5027 Jean-Louis Martineau <martineau@zmanda.com> for help with this patch.
5028 * restore-src/restore.c: Use the new API.
5030 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5031 * client-src/Makefile.am, device-src/tests/Makefile.am,
5032 device-src/Makefile.am, configure.in, common-src/Makefile.am,
5033 tape-src/Makefile.am: Use AM_CFLAGS and LDFLAGS when
5034 compiling. These changes by Dustin J. Mitchell <dustin@zmanda.com>.
5035 * device-src/device.c, device-src/null-device.c,
5036 device-src/device.c, device-src/queueing.c, device-src/property.c,
5037 device-src/fd-device.c, device-src/s3-device.c,
5038 device-src/semaphore.h, device-src/property.h,
5039 device-src/vfs-device.c: Fix compiler warnings revealed by above
5040 change. Thanks to Jean-Louis Martineau Jean-Louis Martineau
5041 <martineau@zmanda.com> for help with these fixes.
5043 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5044 * restore-src/restore.c restore-src/restore.h:
5045 Allow NULLs in arguments to dump_match(); make it a static
5048 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5049 * device-src/device.c device-src/vfs-device.h
5050 device-src/rait-device.h device-src/device.h
5051 device-src/null-device.c device-src/tape-aix.c
5052 device-src/tape-uware.c device-src/null-device.h
5053 device-src/tape-xenix.c device-src/queueing.c
5054 device-src/semaphore.c device-src/property.c
5055 device-src/fd-device.c device-src/tape-device.c
5056 device-src/queueing.h device-src/semaphore.h
5057 device-src/property.h device-src/tape-posix.c
5058 device-src/fd-device.h device-src/tape-device.h
5059 device-src/vfs-device.c device-src/rait-device.c
5060 device-src/tape-ops.h common-src/glib-util.c
5061 common-src/glib-util.h: restrict to GPLv2
5063 2007-09-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5064 * Correct Cygwin build errors:
5065 common-src/Makefile.am
5068 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5069 * server-src/cmdline.c server-src/planner.c server-src/amadmin.c
5070 server-src/amcleanupdisk.c server-src/amflush.c
5071 server-src/holding.c server-src/holding.h server-src/driver.c
5072 server-src/find.c common-src/glib-util.c common-src/glib-util.h:
5073 remove 'verbose' flag, remove holding directories from API (they
5074 will be gone soon anyway), and rework the holding module to use
5075 glib data structures
5077 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5078 * gnulib/regenerate/regenerate gnulib/Makefile.am
5079 device-src/tests/Makefile.am device-src/Makefile.am
5080 server-src/taper-mem-port-source.c server-src/taper.c
5081 config/gnulib/gnulib-comp.m4 config/gnulib/gnulib-cache.m4
5082 config/gnulib.m4i common-src/physmem.c common-src/physmem.h
5083 common-src/amanda.h common-src/base64.c common-src/Makefile.am
5084 common-src/base64.h: move base64, physmem into gnulib and set
5085 device API to include libgnu.
5087 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5088 * common-src/Makefile.am: remove redundant use of EXTRA_DIST
5090 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5091 * device-src/device.c device-src/tests/device_test.c
5092 device-src/rait-device.c server-src/amcheck.c
5093 server-src/amtape.c server-src/taperscan.c server-src/taper.c
5094 server-src/amlabel.c restore-src/restore.c: device_open() no
5095 longer free()s the device name it is given.
5097 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5098 * restore-src/restore.c: fix uninitialized value error
5100 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5101 * server-src/changer.c server-src/amindexd.c
5102 restore-src/amidxtaped.c common-src/debug.c common-src/amanda.h
5103 common-src/alloc.c: fix support for builds without --with-debugging
5105 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5106 * device-src/tests/queue_test.c: simplify signal handling to
5109 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
5110 * server-src/cmdline.c server-src/cmdline.h:
5111 Optionally parse datestamps and levels
5112 * server-src/amadmin.c: pass flags to cmdline functions
5113 * server-src/find.c restore-src/amidxtaped.c
5114 restore-src/amrestore.c restore-src/restore.c
5115 restore-src/restore.h restore-src/amfetchdump.c:
5116 Use cmdline module in amrestore, amidxtaped, and amfetchdump
5118 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5119 * restore-src/amrestore.c: Fix a segmentation fault that occurs
5120 when the user specifies hostname, diskname, and date. Thanks to
5121 Jean-Louis Martineau <martineau@zmanda.com> for finding and
5124 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5125 * device-src/device.c (device_set_startup_properties_from_config):
5126 Use tapetype parameters as well as device_property directives.
5127 * device-src/device.h: ditto.
5128 * common-src/conffile.c: Use a new macro DEFAULT_TAPE_LENGTH
5129 as default tapetype length.
5130 * common-src/conffile.h: ditto.
5131 * restore-src/amrestore.c: Use new interface to
5132 devic_set_startup_properties_from_config().
5133 * restore-src/restore.c: ditto.
5134 * server-src/amcheck.c: ditto.
5135 * server-src/amlabel.c: ditto.
5136 * server-src/amtape.c: ditto.
5137 * server-src/taper.c: ditto.
5138 * server-src/taperscan.c: ditto.
5140 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5141 * server-src/amcheck.c: Return 0 if everything is good with the
5142 tape. Thanks to Dustin Mitchell <dustin@zmanda.com> for
5143 reporting this issue, and to Jean-Louis Martineau
5144 <martineau@zmanda.com> for suggesting the form of the fix.
5146 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5147 * server-src/restore.c: Only restore files matching requested
5148 disknames. Report and patch by Jean-Louis Martineau
5149 <martineau@zmanda.com>.
5151 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5152 * server-src/restore.c: Drop some globals, use data types
5155 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5156 * server-src/taper.c: Be slightly more rigorous in sanity-checking
5157 the expected number of splits.
5158 * server-src/taper-file-source.c: Correctly predict the number
5161 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5162 * device-src/vfs-device.c: Accept device names without a
5165 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5166 Merge in new Device API. Thanks to Jean-Louis and Dustin for their
5167 code contributions to this patch.
5169 2007-09-20 Dustin J. Mitchell <dustin@zmanda.com>
5170 * oldrecover-src/extract_list.c recover-src/extract_list.c:
5171 change stralloc2 to newstralloc2 to avoid possible memory
5172 leak (coverity bug #214)
5174 2007-09-17 Jean-Louis Martineau <martineau@zmanda.com>
5175 * client-src/client_util.c: Parse kencrypt in option string.
5176 * client-src/sendbackup.c: Send KENCRYPT keyword in REP packet.
5177 * client-src/client_util.h: Add kencrypt field in option_t.
5178 * amandad-src/amandad.c: Enable kencrypt.
5179 * server-src/dumper.c: Enable kencrypt.
5180 * common-src/security.h (accept): New prototype, add conf_fn and datap.
5181 * common-src/bsdtcp-security.c (bsdtcp_accept): Use new param.
5182 * common-src/ssh-security.c (ssh_connect): Set rh->rc->conf_fn and
5184 * common-src/security-util.c (sec_accept): Set rc->conf_fn and
5186 * common-src/amanda.h (kencrypt_type): New enum.
5187 * common-src/bsdudp-security.c (bsdudp_accept): Use new param.
5188 * common-src/security-util.h (sec_accept): New prototype.
5189 * common-src/krb5-security.c: encryption enabled based on kencrypt.
5190 * common-src/bsd-security.c (bsd_accept): Use new param.
5192 2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
5193 * common-src/util.c common-src/util.h: add euid checks to
5195 * client-src/runstar.c client-src/noop.c client-src/runtar.c
5196 client-src/sendbackup.c client-src/killpgrp.c
5197 client-src/sendsize.c client-src/selfcheck.c
5198 client-src/rundump.c client-src/calcsize.c
5199 amandad-src/amandad.c configure.in server-src/amlogroll.c
5200 server-src/amindexd.c server-src/dumper.c server-src/planner.c
5201 server-src/chunker.c server-src/amadmin.c server-src/amtape.c
5202 server-src/amcleanupdisk.c server-src/amflush.c
5203 server-src/amtrmlog.c server-src/amdevcheck.c
5204 server-src/driver.c server-src/reporter.c server-src/taper.c
5205 server-src/amtrmidx.c server-src/amlabel.c
5206 restore-src/amidxtaped.c restore-src/amfetchdump.c: use them
5207 * common-src/krb5-security.c: remove unused variable
5209 2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
5210 * server-src/getconf.c: Don't check running_as in amgetconf, as
5211 it may not have a configuration file (e.g., for build params)
5213 2007-09-12 Dustin J. Mitchell <dustin@zmanda.com>
5214 Bug identified by Satya Ganga <gsat@zmanda.com>
5215 * common-src/util.c: handle bad call to check_running_as correctly
5217 2007-09-11 Dustin J. Mitchell <dustin@zmanda.com>
5218 Bug reported by Bill Bartlett; patch by Jean-Louis Martineau
5219 <martineau@zmanda.com>
5220 * common-src/statfs.c: fix error in available-space calculations
5222 2007-09-10 Dustin J. Mitchell <dustin@zmanda.com>
5223 * server-src/amcheck.c: quiet compiler warnings when SINGLE_USERID is
5226 2007-09-10 Dustin J. Mitchell <dustin@zmanda.com>
5227 * configure.in: change FORCE_USERID to CHECK_USERID, add SINGLE_USERID
5228 (when all of Amanda runs as the same userid) and WANT_SETUID_CLIENT
5229 (clint binaries should be setuid-root), currently only used on
5231 * common-src/util.c common-src/util.h: utility functions for userid
5232 checks and manipulations
5233 * oldrecover-src/amrecover.c client-src/runstar.c
5234 client-src/noop.c client-src/runtar.c client-src/sendbackup.c
5235 client-src/killpgrp.c client-src/sendsize.c
5236 client-src/selfcheck.c client-src/rundump.c
5237 client-src/calcsize.c amandad-src/amandad.c
5238 recover-src/amrecover.c server-src/amlogroll.c
5239 server-src/amindexd.c server-src/amcheck.c server-src/dumper.c
5240 server-src/planner.c server-src/chunker.c server-src/amadmin.c
5241 server-src/amtape.c server-src/amcleanupdisk.c
5242 server-src/getconf.c server-src/amflush.c server-src/amtrmlog.c
5243 server-src/amdevcheck.c server-src/driver.c
5244 server-src/reporter.c server-src/taper.c server-src/amdump.sh.in
5245 server-src/amtrmidx.c server-src/amlabel.c common-src/genversion.c
5246 restore-src/amidxtaped.c restore-src/amfetchdump.c
5247 common-src/bsdtcp-security.c common-src/bsdudp-security.c
5248 common-src/krb5-security.c common-src/krb4-security.c
5249 common-src/bsd-security.c: use utility functions to check userids.
5251 2007-09-07 Dustin J. Mitchell <dustin@zmanda.com>
5252 Change by Paul Bijnens
5253 * man/xml-source/amanda.conf.5.xml: Clarify 'etimeout'
5255 2007-09-07 Dustin J. Mitchell <dustin@zmanda.com>
5256 * gnulib/regenerate/no-error.patch gnulib/Makefile.am: remove
5257 spurious sign-compare warnings from gnulib
5259 2007-09-05 Dustin J. Mitchell <dustin@zmanda.com>
5260 Bug identified downstream in Debian packaging
5261 * changer-src/chg-null.sh.in: fix typo
5263 2007-08-29 Dustin J. Mitchell <dustin@zmanda.com>
5264 * common-src/genversion.c common-src/Makefile.am: add subversion revision
5265 and branch info to 'amadmin x version'
5267 2007-08-23 Dustin J. Mitchell <dustin@zmanda.com>
5268 sf bug #1775316 reported by joerg <altix@users.sourceforge.net>
5269 * configure.in: use 'sed' instead of shell substitutions to C-quote
5272 2007-08-22 Dustin J. Mitchell <dustin@zmanda.com>
5273 * common-src/Makefile.am: adjust dependencies so that 'make dist' can
5274 run without a 'make all'
5276 2007-08-20 Dustin J. Mitchell <dustin@zmanda.com>
5277 * client-src/sendbackup-gnutar.c client-src/sendsize.c: use
5278 sanitized, canonicalized, and quoted filenames where necessary
5279 * server-src/driver.c: quote diskname in logfile
5280 * common-src/amanda.h common-src/file.c: Add ':' to the list
5281 of characters sanitised when constructing filenames from
5282 disknames; add canonicalize_pathname()
5284 2007-08-14 Dustin J. Mitchell <dustin@zmanda.com>
5285 * common-src/amanda.h common-src/util.h: move readline headers
5286 out of amanda.h and into util.h, since the corresponding
5287 functions are in util.c
5288 * common-src/util.c: comments
5289 * configure.in: check for both headers and libraries and define
5290 HAVE_READLINE if both are found; add new --with-readline
5291 to require readline and --without-readline to not search
5293 * oldrecover-src/Makefile.am recover-src/Makefile.am: remove explicit
5294 use of READLINE_LIBS
5296 2007-08-09 Dustin J. Mitchell <dustin@zmanda.com>
5297 Patch by C R Ritson <c.r.ritson@newcastle.ac.uk>
5298 * server-src/amverifyrun.sh.in: "lock" the logfile by creating a
5301 2007-08-06 Dustin J. Mitchell <dustin@zmanda.com>
5302 * example/DLT-A4.ps example/Makefile.am: add new template contributed
5303 by Terry Burton <tez@terryburton.co.uk>.
5305 2007-08-01 Dustin J. Mitchell <dustin@zmanda.com>
5306 Patch by Satya Ganga <gsat@zmanda.com>
5307 * server-src/amcleanup.sh.in: shell-compatibility fixes for bash-2.03
5310 2007-07-31 Dustin J. Mitchell <dustin@zmanda.com>
5311 * common-src/statfs-test.c common-src/statfs.c common-src/statfs.h
5312 common-src/Makefile.am: Add a statfs-test to make sure that
5313 statfs works on target systems.
5315 2007-07-27 Ian Turner <ian@zmanda.com>
5316 * restore-src/amfetchdump.c: Check for required arguments in
5319 2007-07-27 Dustin J. Mitchell <dustin@zmanda.com>
5320 * config/automake/check-perl.am: new automake fragment to check perl scripts
5321 * config/automake/check-shell.am: new automake fragment to check shell scripts
5322 * configure.in changer-src/Makefile.am client-src/Makefile.am dumper-src/Makefile.am
5323 server-src/Makefile.am common-src/Makefile.am: use new checks
5324 * changer-src/chg-lib.sh.in: add newline for Solaris's 'bash'
5325 * changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in: fix errors found by
5328 2007-07-26 Ian Turner <ian@zmanda.com>
5329 * restore-src/restore.c: If tpchanger is not defined, then (duh)
5330 don't use the changer. This patch by Jean-Louis Martineau
5331 <martineau@zmanda.com>.
5333 2007-07-24 Dustin J. Mitchell <dustin@zmanda.com>
5334 * changer-src/chg-lib.sh.in common-src/amanda-sh-lib.sh.in
5335 configure.in common-src/Makefile.am: new general-purpose
5336 shell-script library
5337 * configure.in: check for prog 'gettext'
5338 * changer-src/chg-null.sh.in
5339 changer-src/chg-manual.sh.in changer-src/chg-disk.sh.in
5340 changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
5341 changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
5342 amplot/amplot.sh.in client-src/patch-system.sh.in
5343 server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
5344 server-src/amrmtape.sh.in server-src/amverify.sh.in
5345 server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
5346 server-src/amdump.sh.in common-src/amcrypt-ossl-asym.sh.in
5347 common-src/amcrypt.sh.in common-src/amaespipe.sh.in
5348 common-src/amcrypt-ossl.sh.in: use new library to function
5349 correctly even when gettext is missing.
5351 2007-07-23 Jean-Louis Martineau <martineau@zmanda.com>
5352 * common-src/conffile.c: Set MaxWidth for numerical value
5353 * server-src/reporter.c: Calculate the size if a numerical value.
5355 2007-07-20 Jean-Louis Martineau <martineau@zmanda.com>
5356 Patch by Dimitri Gorokhovik
5357 * changer-src/chg-multi.sh.in: Typo.
5359 2007-07-18 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
5360 * changer-src/chg-lib.sh.in, changer-src/chg-zd-mtx.sh.in: Correctly
5361 accept the use of tape:/dev/nst0 notation in chg-zd-mtx.
5363 2007-07-18 Dustin J. Mitchell <dustin@zmanda.com>
5364 * server-src/reporter.c: fix reporting of STRANGE messages
5366 2007-07-16 Dustin J. Mitchell <dustin@zmanda.com>
5367 * changer-src/chg-zd-mtx.sh.in: check for validity of 'mt' and 'mtx'
5368 binaries early, and produce appropriate error messages
5370 2007-07-13 Dustin J. Mitchell <dustin@zmanda.com>
5371 * configure.in: add /usr/sfw/bin to SYSPATH for Solaris 10
5373 2007-07-13 Jean-Louis Martineau <martineau@zmanda.com>
5374 * changer-src/chg-lib.sh.in: Remoce duplicate amdd, add ammt.
5376 2007-07-12 Dustin J. Mitchell <dustin@zmanda.com>
5377 * autogen config/Makefile.am config/ax_compare_version.m4i
5378 Makefile.am: new m4 file
5379 * config/docbook-xslt-min.m4i config/docbook-dtd.m4i
5380 config/docbook-xslt.m4i: major bug fixing
5382 2007-07-11 Dustin J. Mitchell <dustin@zmanda.com>
5383 * recover-src/amrecover.c recover-src/extract_list.c: Add detailed
5384 logging of the amrecover user conversation.
5386 2007-07-11 Jean-Louis Martineau <martineau@zmanda.com>
5387 Patch by Paul Bijnens
5388 * changer-src/chg-multi.sh.in: Typo.
5390 2007-07-10 Dustin J. Mitchell <dustin@zmanda.com>
5391 * configure.in: an empty 'MAILER' is no longer an error, just a
5393 * changer-src/chg-manual.sh.in changer-src/chg-scsi-chio.c
5394 changer-src/chg-scsi.c server-src/amverify.sh.in
5395 server-src/getconf.c common-src/genversion.c: conditionalize
5396 references to MAILER, to handle the situation when it is not
5399 2007-07-09 Dustin J. Mitchell <dustin@zmanda.com>
5400 Documentation patch as suggested by Chris Hoogendyk and Olivier
5402 * man/xml-source/amanda.8.xml: add better documentation about the
5403 -o command-line option for configuration override.
5405 2007-07-09 Jean-Louis Martineau <martineau@zmanda.com>
5406 * restore-src/restore.c: Don't do superfluous fsf,
5407 improve error handling.
5409 2007-07-05 Dustin J. Mitchell <dustin@zmanda.com>
5410 * server-src/amadmin.c: correct misalignment of 'amadmin x balance'
5411 output, as reported by Stefan G. Weichinger <sgw@amanda.org>.
5413 2007-07-03 Dustin J. Mitchell <dustin@zmanda.com>
5414 * common-src/amanda.h common-src/amflock.c: remove unused
5415 CONFIGURE_TEST conditionals
5417 2007-06-28 Dustin J. Mitchell <dustin@zmanda.com>
5418 * common-src/security-util.c: Change authorization error message to
5419 "Please add the line "HOST USER SERVICE" to AMANDAHOSTS on the client"
5420 as suggested by Paddy Sreenivasan <paddy@zmanda.com>.
5422 2007-06-28 Dustin J. Mitchell <dustin@zmanda.com>
5423 * configure.in common-src/amflock-flock.c
5424 common-src/amflock-posix.c common-src/amanda.h
5425 common-src/amflock-lockf.c common-src/amflock-test.c
5426 common-src/amflock-lnlock.c common-src/amflock.c
5427 common-src/amflock.h common-src/Makefile.am:
5428 refactor file locking support into multiple implementations,
5429 only test for availability (not functionality) at configure
5430 time, and add a 'make check' test script. Fixes a bug reported
5431 by Paul Crittenden. Chris Hoogendyk, Jon LaBadie, and Jean-Louis
5432 Martineau helped track it down.
5434 2007-06-27 Dustin J. Mitchell <dustin@zmanda.com>
5435 * autogen config/ax_create_stdint_h.m4i config/acinclude.m4i
5436 Makefile.am: use updated version of ax_create_stdint_h.m4
5437 from http://autoconf-archive.cryp.to/ax_create_stdint_h.html.
5438 Original by Guido U. Draheim <guidod@gmx.de>, patched locally
5439 to avoid spurious "command not found" on Solaris 10.
5440 * config/Makefile.am: add ax_create_stdint_h.m4i
5442 2007-06-25 Dustin J. Mitchell <dustin@zmanda.com>
5443 * server-src/cmdline.c server-src/cmdline.h server-src/taperscan.c
5444 server-src/taperscan.h config/docbook-dtd.m4i
5445 config/docbook-xslt-min.m4i config/docbook-xslt.m4i
5446 config/xsltproc.m4i common-src/sockaddr-util.c
5447 common-src/sockaddr-util.h common-src/amaespipe.sh.in:
5450 2007-06-25 Dustin J. Mitchell <dustin@zmanda.com>
5451 * client-src/sendbackup.c client-src/killpgrp.c
5452 client-src/sendsize.c client-src/selfcheck.c
5453 server-src/amcheck.c server-src/reporter.c common-src/util.c
5454 common-src/util.h common-src/security-util.c: add str_exit_status()
5455 to interpret the status resulting from wait(), use it throughout
5458 2007-06-20 Dustin J. Mitchell <dustin@zmanda.com>
5459 * server-src/planner.c common-src/bsdudp-security.c
5460 common-src/krb5-security.c common-src/bsd-security.c:
5461 remove dead/unused code
5463 2007-06-20 Dustin J. Mitchell <dustin@zmanda.com>
5464 * client-src/sendsize.c: call dbfn(), not debug_fn()
5465 * common-src/amanda.h: make dbfn() return a meaningful string
5466 when debugging is disabled
5468 2007-06-19 Dustin J. Mitchell <dustin@zmanda.com>
5469 * tape-src/tapetype.c: close and re-open tape after rewind
5470 (patch from Franz Fischer <amanda@franz-fischer.de>, modified
5471 by Jean-Louis Martineau <martineau@zmanda.com>)
5473 2007-06-06 Jean-Louis Martineau <martineau@zmanda.com>
5474 * restore-src/restore.c: accept all header with size >= DISK_BLOCK_BYTES
5476 2007-06-18 Jean-Louis Martineau <martineau@zmanda.com>
5477 * server-src/amstatus.pl.in: Set and use chunk_time.
5479 2007-06-07 Dustin J. Mitchell <dustin@zmanda.com>
5480 * server-src/amcleanupdisk.c: don't try to clean up holding disks
5483 2007-06-06 Dustin J. Mitchell <dustin@zmanda.com>
5484 * client-src/sendbackup.c: remove bogus check for unknown program
5486 2007-06-07 Jean-Louis Martineau <martineau@zmanda.com>
5487 Christopher McCrory found the cause of the problem.
5488 * server-src/find.c: Send ouput to stderr.
5490 2007-06-07 Jean-Louis Martineau <martineau@zmanda.com>
5491 * configure.in: detect GNU tar's 'backup' and ignore it. Thanks
5492 to Jeanna Geier <jeanna@webteam.net> for spotting this.
5494 2007-06-05 Jean-Louis Martineau <martineau@zmanda.com>
5495 * common-src/util.c: Don't use -w flags for od execution.
5497 2007-06-05 Dustin J. Mitchell <dustin@zmanda.com>
5498 * client-src/selfcheck.c: fix formatting typo
5499 * common-src/security.h: fix prototypes in comments
5500 * common-src/security-util.c common-src/util.c: fix
5502 * common-src/debug.c common-src/amanda.h: remove
5504 * changer-src/scsi-linux.c changer-src/chg-scsi-chio.c
5505 changer-src/scsi-cam.c client-src/calcsize.c
5506 recover-src/amrecover.c server-src/driver.c
5507 client-src/sendbackup-gnutar.c server-src/find.c
5508 server-src/diskfile.c : format string / i18n tweaks
5509 * common-src/amcrypt-ossl.sh.in: fix shell quoting
5511 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5512 * changer-src/sense.c server-src/driver.c server-src/reporter.c
5513 server-src/amadmin.c server-src/amtape.c common-src/amanda.h:
5514 use T_() instead of _T() as the macro flagging static strings
5515 in need of translation; fixes compilation error on Mac OS X, where
5516 _T is defined in the system headers.
5518 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5519 * changer-src/chg-zd-mtx.sh.in changer-src/chg-multi.sh.in:
5520 use chg-lib.sh fully, fix i18n problems.
5522 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5523 * common-src/krb5-security.c common-src/bsdtcp-security.c
5524 common-src/security-util.c: check results from getnameinfo()
5527 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5528 * server-src/amstatus.pl.in: use perl flags -Tw
5530 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5531 * common-src/debug.c common-src/error.c: fix compilation errors
5532 on strict platforms.
5534 2007-06-04 Jean-Louis Martineau <martineau@zmanda.com>
5535 * common-src/bsd-security.c common-src/bsdudp-security.c:
5536 Make bsd, bsdudp open an IPv4 and an IPv6 socket; fixes bug reported
5539 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5540 * oldrecover-src/Makefile.am changer-src/Makefile.am
5541 amplot/Makefile.am client-src/Makefile.am
5542 amandad-src/Makefile.am dumper-src/Makefile.am
5543 recover-src/Makefile.am restore-src/Makefile.am
5544 tape-src/Makefile.am: add quotes to allow spaces in user
5547 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5548 * changer-src/chg-scsi.c: use long int for tape sleep time
5549 * client-src/selfcheck.c: error out if no calcsize program is found
5550 * server-src/amindexd.c: run 'sort' in the C locale
5551 * server-src/amcheck.c: flag localhost not resolving as an error
5552 * server-src/diskfile.c: improve error handling
5553 * common-src/amcrypt.sh.in common-src/amcrypt-ossl-asym.sh.in
5554 common-src/amcrypt-ossl.sh.in: search /opt/csw/bin for openssl
5555 binaries; improve error handling
5557 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
5558 * server-src/planner.c server-src/amcleanupdisk.c
5559 server-src/amflush.c server-src/holding.c server-src/holding.h:
5560 do not assume anything about the names of holding
5561 directories; use holding disk files themselves to discover
5562 dump time/datestamps
5564 2007-06-04 Jean-Louis Martineau <martineau@zmanda.com>
5565 * common-src/krb5-security.c: Typo.
5567 2007-06-01 Ian Turner <ian@zmanda.com>
5568 * restore-src/restore.c: Set flags->fsf = 0 by default.
5570 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5571 * server-src/driver.c: Check dumper->down.
5572 * server-src/dumper.c (sendbackup_response): Only call
5573 security_close_connection if pkt != NULL.
5575 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5576 * server-src/amstatus.pl.in: Use compressed size.
5578 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5579 * server-src/planner.c: Don't report overwrite if no label.
5581 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5582 * changer-src/chg-manual.sh.in: Don't reset the slot to 0 on eject.
5584 2007-05-25 Kevin Till <ktill@zmanda.com>
5585 * example/amanda.conf.in: ditto
5586 * man/xml-source/amanda.conf.5.xml: ditto
5587 * common-src/conffile.c: ditto
5589 2007-05-24 Dustin J. Mitchell <dustin@zmanda.com>
5590 * changer-src/scsi-changer-driver.c changer-src/scsi-cam.c
5591 client-src/sendbackup.c client-src/selfcheck.c
5592 recover-src/extract_list.c server-src/amindexd.c
5593 server-src/amcheck.c server-src/driver.c server-src/dumper.c
5594 server-src/planner.c server-src/amadmin.c server-src/diskfile.c
5595 contrib/set_prod_link.pl common-src/krb5-security.c
5596 common-src/bsd-security.c common-src/security-util.c
5597 common-src/conffile.c common-src/bsdudp-security.c:
5598 trivial changes to add _(), etc. -- harmonization of branch
5599 divergence caused by manual resolution of merge conflicts
5601 2007-05-24 Satya Ganga <gsat@zmanda.com> (merged by dustin@zmanda.com)
5602 * server-src/amcleanup.sh.in: rewrite to find all the active
5603 process/children for a given configuration
5605 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5606 * common-src/fileheader.c:
5607 Remove ".exe" extension from program name is tape header.
5609 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5610 * config/gettext-macros/gettext.m4
5611 config/gettext-macros/inttypes-pri.m4:
5612 Change name gl_HEADER_INTTYPES_H to gl_AC_HEADER_INTTYPES_H
5614 2007-05-24 Dustin J. Mitchell <dustin@zmanda.com>
5615 * configure.in: add configure.in recognition for Mac OS X
5617 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5618 * configure.in: IPV6 on cygwin only partially works.
5619 Force WORKING_IPV6 to false.
5621 2007-05-24 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
5622 * server-src/driver.c: use amanda text domain in driver
5624 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5625 * config/libtool.m4i:
5626 Fix to pass loader variables correctly on Solaris systems
5627 with a gcc that does not use -static or -shared.
5629 2007-05-24 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
5630 * server-src/amstatus.pl.in: parse directory and holding_disk_dir with
5633 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5634 * client-src/sendbackup.c client-src/sendsize.c client-src/sendbackup-star.c
5635 configure.in server-src/amindexd.c server-src/taper.c server-src/diskfile.c
5636 config/acinclude.m4i common-src/amanda.h common-src/util.c
5637 common-src/security-util.c:
5638 Fix compilation problems using GCC on solaris.
5640 2007-05-24 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
5641 * server-src/reporter.c: Split FAILED and STRANGE section.
5643 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5644 * common-src/conffile.c: Fix windows compilation warning.
5646 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5647 * po/Makefile.am changer-src/scsi-changer-driver.c changer-src/sense.c
5648 client-src/unctime.c server-src/amadmin.c server-src/amtape.c
5649 server-src/driver.c server-src/reporter.c common-src/amanda.h
5650 tape-src/tapeio.h tape-src/tapetype.c:
5651 Change _() gettext macro to call gettext()
5652 Create _T() to allow gettext translation of static strings.
5653 * common-src/security.c: Create larger buffers for error messages.
5655 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5656 * configure.in: Prevent annoying lint usage message from
5657 being displayed in configure console output.
5659 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5661 Fix problem of not generating po/Makefile.in on fresh checkout.
5662 * server-src/logfile.c:
5663 Always output to logfile in "C" locale.
5664 * amandad-src/amandad.c changer-src/chg-scsi-chio.c
5665 changer-src/chg-scsi.c client-src/calcsize.c client-src/getfsent.c
5666 client-src/killpgrp.c client-src/noop.c client-src/rundump.c
5667 client-src/runstar.c client-src/runtar.c client-src/selfcheck.c
5668 client-src/sendbackup.c client-src/sendsize.c
5669 client-src/versionsuffix.c common-src/amfeatures.c
5670 common-src/amflock.c common-src/file.c common-src/genversion.c
5671 common-src/statfs.c common-src/token.c oldrecover-src/amrecover.c
5672 recover-src/amrecover.c restore-src/amfetchdump.c
5673 restore-src/amidxtaped.c restore-src/amrestore.c server-src/amadmin.c
5674 server-src/amcheck.c server-src/amcleanupdisk.c server-src/amflush.c
5675 server-src/amindexd.c server-src/amlabel.c server-src/amlogroll.c
5676 server-src/amtape.c server-src/amtrmidx.c server-src/amtrmlog.c
5677 server-src/chunker.c server-src/diskfile.c server-src/driver.c
5678 server-src/dumper.c server-src/getconf.c server-src/infofile.c
5679 server-src/planner.c server-src/reporter.c server-src/taper.c
5680 tape-src/amdd.c tape-src/ammt.c tape-src/tapeio.c tape-src/tapetype.c:
5681 Change back to always run in "C" locale.
5683 2007-05-23 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
5684 * changer-src/chg-manual.sh.in: Fix quoting; fix gettext usage.
5686 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5688 New gettext routines.
5689 * server-src/amcheckdb.sh.in server-src/amcleanup.sh.in
5690 server-src/amverifyrun.sh.in server-src/amrmtape.sh.in
5691 server-src/amverify.sh.in server-src/amdump.sh.in
5692 server-src/amfreetapes.sh.in amplot/amplot.sh.in
5693 changer-src/chg-mtx.sh.in changer-src/chg-null.sh.in
5694 changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in
5695 changer-src/chg-disk.sh.in changer-src/chg-juke.sh.in
5696 changer-src/chg-rait.sh.in changer-src/chg-scsi.c
5697 changer-src/chg-chs.sh.in changer-src/chg-multi.sh.in
5698 changer-src/chg-mcutil.sh.in client-src/patch-system.sh.in
5699 common-src/amcrypt.sh.in common-src/amaespipe.sh.in
5700 common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt-ossl.sh.in:
5701 Internationalize shell messages
5702 * autogen config/gettext-macros/nls.m4
5703 config/gettext-macros/lib-link.m4:
5704 Update for autoconf version 2.6 autogen
5705 * oldrecover-src/amrecover.c recover-src/amrecover.c
5706 server-src/amflush.c server-src/logfile.c server-src/amtrmlog.c
5707 server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
5708 server-src/driver.c server-src/dumper.c server-src/chunker.c
5709 server-src/planner.c server-src/reporter.c server-src/amadmin.c
5710 server-src/amtape.c server-src/taper.c server-src/server_util.c
5711 client-src/versionsuffix.c client-src/runtar.c
5712 server-src/amtrmidx.c server-src/amcleanupdisk.c
5713 server-src/getconf.c server-src/diskfile.c
5714 changer-src/chg-scsi-chio.c client-src/noop.c server-src/infofile.c
5715 server-src/amlabel.c client-src/sendbackup.c client-src/getfsent.c
5716 client-src/killpgrp.c client-src/sendsize.c client-src/selfcheck.c
5717 client-src/rundump.c client-src/calcsize.c restore-src/amidxtaped.c
5718 restore-src/amrestore.c restore-src/amfetchdump.c Makefile.am
5719 amandad-src/amandad.c common-src/genversion.c common-src/debug.c
5720 common-src/error.c common-src/statfs.c common-src/amflock.c
5721 common-src/file.c common-src/token.c common-src/security-util.c
5722 common-src/conffile.c common-src/amanda.h common-src/amfeatures.c
5723 tape-src/ammt.c tape-src/amdd.c tape-src/tapeio.c
5724 tape-src/tapetype.c:
5725 Use amanda domain for LC_MESSAGES.
5727 2007-05-22 Maitreyee Karmarkar <maitreyee@zmanda.com> (merged by dustin@zmanda.com)
5728 * server-src/amcheck.c : Changed some amcheck messages
5729 * common-src/conffile.c : Changed some amcheck messages
5731 2007-05-22 Maitreyee Karmarkar <maitreyee@zmanda.com> (merged by dustin@zmanda.com)
5732 * client-src/selfcheck.c, server-src/changer.c, server-src/amcheck.c,
5733 server-src/taperscan.c, server-src/diskfile.c,
5734 common-src/conffile.c:
5735 Change in some amcheck error messages
5737 2007-05-22 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5738 * common-src/krb5-security.c common-src/security-util.c
5739 server-src/taper.c server-src/taperscan.c:
5740 Fix botched *vstrallocf conversions.
5741 * oldrecover-src/extract_list.c server-src/amlogroll.c
5742 server-src/chunker.c server-src/driver.c server-src/dumper.c
5743 server-src/getconf.c server-src/holding.c server-src/planner.c
5744 server-src/reporter.c server-src/taper.c:
5745 Add errno text when printing getcwd() error message.
5747 2007-05-22 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
5748 * configure.in: move crypt scripts to common-src since they are needed
5749 by both server and client
5750 * common-src/Makefile.am: ditto
5751 * server-src/Makefile.am: ditto
5753 2007-05-17 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5754 * configure.in oldrecover-src/amrecover.c
5755 oldrecover-src/extract_list.c oldrecover-src/display_commands.c
5756 oldrecover-src/help.c oldrecover-src/set_commands.c
5757 recover-src/amrecover.c recover-src/extract_list.c
5758 recover-src/display_commands.c recover-src/help.c
5759 recover-src/set_commands.c server-src/amflush.c
5760 server-src/changer.c server-src/taperscan.c server-src/logfile.c
5761 server-src/amtrmlog.c server-src/driverio.c
5762 server-src/amlogroll.c server-src/tapefile.c
5763 server-src/amindexd.c server-src/driver.c server-src/amcheck.c
5764 server-src/dumper.c server-src/chunker.c server-src/planner.c
5765 server-src/reporter.c server-src/server_util.c
5766 server-src/amadmin.c server-src/amtape.c server-src/taper.c
5767 server-src/amcleanupdisk.c server-src/find.c
5768 server-src/amtrmidx.c server-src/getconf.c
5769 server-src/diskfile.c server-src/infofile.c
5770 server-src/amlabel.c changer-src/scsi-linux.c
5771 changer-src/chg-scsi-chio.c changer-src/scsi-chio.c
5772 changer-src/scsi-hpux.c changer-src/scsi-changer-driver.c
5773 changer-src/scsi-cam.c changer-src/chg-scsi.c
5774 changer-src/scsi-bsd.c changer-src/scsi-irix.c
5775 changer-src/scsi-solaris.c changer-src/sense.c
5776 changer-src/scsi-aix.c changer-src/scsi-hpux_new.c
5777 autogen client-src/unctime.c client-src/versionsuffix.c
5778 client-src/noop.c client-src/client_util.c client-src/runtar.c
5779 client-src/sendbackup-gnutar.c client-src/getfsent.c
5780 client-src/sendbackup.c client-src/sendbackup-dump.c
5781 client-src/killpgrp.c client-src/sendsize.c
5782 client-src/selfcheck.c client-src/rundump.c
5783 client-src/calcsize.c client-src/amandates.c
5784 restore-src/amidxtaped.c restore-src/amrestore.c
5785 restore-src/restore.c restore-src/amfetchdump.c Makefile.am
5786 amandad-src/amandad_util.c amandad-src/amandad.c
5787 common-src/rsh-security.c common-src/pipespawn.c
5788 common-src/security.c common-src/krb5-security.c
5789 common-src/util.c common-src/genversion.c
5790 common-src/bsdtcp-security.c common-src/debug.c
5791 common-src/fileheader.c common-src/dgram.c
5792 common-src/stream.c common-src/match.c
5793 common-src/protocol.c common-src/ssh-security.c
5794 common-src/statfs.c common-src/krb4-security.c
5795 common-src/amflock.c common-src/bsd-security.c
5796 common-src/file.c common-src/token.c common-src/event.c
5797 common-src/security-util.c common-src/conffile.c
5798 common-src/amanda.h common-src/bsdudp-security.c
5799 common-src/alloc.c common-src/clock.c common-src/amfeatures.c
5800 tape-src/ammt.c tape-src/amdd.c tape-src/output-file.c
5801 tape-src/tapeio.c tape-src/tapeio.h tape-src/output-tape.c
5802 tape-src/tapetype.c tape-src/output-rait.c:
5803 o First stage of internationalization.
5804 - Add GNU gettext to configuration.
5805 - Add _() macro to flag translatable strings and modify
5806 code to use it. Macros like SSIZE_T_FMT are included in
5807 this call, even though xgettext will not parse them; this
5808 will be fixed later.
5809 - Add plural() function for selecting singular or plural form
5810 of string and modify code to use it.
5811 - Add amanda.po target to Makefile.
5813 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5814 * server-src/amcheck.c: Remove bogus amfree(newtapefile).
5816 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5817 * server-src/amcheck.c: Check all tapelist filename.
5819 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5820 * server-src/dumper.c (read_datafd): Reset timeout after the write.
5822 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5823 * amplot/amplot.sh.in: Remove function keyword.
5824 * changer-src/chg-lib.sh.in: Remove function keyword.
5825 * changer-src/chg-multi.sh.in: Remove function keyword.
5826 * changer-src/chg-zd-mtx.sh.in: Remove function keyword.
5828 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5829 * server-src/diskfile.c: Fix double free.
5831 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5832 * common-src/amanda.h: define sockaddr_storage and ss_family.
5833 * common-src/amanda.h: define INET_ADDRSTRLEN.
5834 * config/acinclude.m4i (AC_SOCKADDR_STORAGE): New macro.
5835 * configure.in: AC_SOCKADDR_STORAGE.
5837 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5838 * common-src/amanda.h: Define AI_V4MAPPED and AI_ALL.
5840 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
5841 * util.c (cmp_sockaddr): un-map V4mapped address before comparison.
5842 * common-src/security-util.c: add debugging.
5844 2007-05-17 Dustin J. Mitchell <dustin@zmanda.com> (merged by dustin@zmanda.com)
5845 * common-src/amanda.h: fix typo (missing 'extern') in erroutput_type
5847 2007-05-16 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5848 * oldrecover-src/amrecover.c oldrecover-src/extract_list.c
5849 oldrecover-src/display_commands.c oldrecover-src/set_commands.c
5850 recover-src/amrecover.c recover-src/extract_list.c
5851 recover-src/display_commands.c recover-src/set_commands.c
5852 server-src/changer.c server-src/taperscan.c
5853 server-src/amtrmlog.c server-src/amindexd.c server-src/driver.c
5854 server-src/amcheck.c server-src/dumper.c server-src/chunker.c
5855 server-src/planner.c server-src/reporter.c server-src/taper.c
5856 server-src/amtrmidx.c changer-src/scsi-linux.c
5857 changer-src/chg-scsi-chio.c changer-src/scsi-chio.c
5858 changer-src/scsi-hpux.c changer-src/scsi-cam.c
5859 changer-src/scsi-changer-driver.c changer-src/chg-scsi.c
5860 changer-src/scsi-bsd.c changer-src/scsi-irix.c
5861 changer-src/scsi-solaris.c changer-src/sense.c
5862 changer-src/scsi-aix.c changer-src/scsi-hpux_new.c
5863 client-src/client_util.c client-src/runtar.c
5864 client-src/sendbackup-gnutar.c client-src/sendbackup.c
5865 client-src/sendbackup-dump.c client-src/killpgrp.c
5866 client-src/sendsize.c client-src/selfcheck.c
5867 client-src/rundump.c client-src/calcsize.c
5868 client-src/amandates.c restore-src/amidxtaped.c
5869 restore-src/restore.c amandad-src/amandad_util.c
5870 amandad-src/amandad.c common-src/rsh-security.c
5871 common-src/sockaddr-util.c common-src/pipespawn.c
5872 common-src/security.c common-src/krb5-security.c
5873 common-src/util.c common-src/util.h common-src/bsdtcp-security.c
5874 common-src/tapelist.c common-src/debug.c common-src/fileheader.c
5875 common-src/error.c common-src/dgram.c common-src/stream.c
5876 common-src/protocol.c common-src/ssh-security.c
5877 common-src/krb4-security.c common-src/bsd-security.c
5878 common-src/event.c common-src/security-util.c
5879 common-src/conffile.c common-src/amanda.h
5880 common-src/bsdudp-security.c common-src/security-util.h
5881 common-src/alloc.c tape-src/output-file.c tape-src/tapeio.c
5882 tape-src/output-tape.c:
5883 - Change dbprintf() to use __VA_ARGS__. (Remove extra parens)
5884 - Prepend program name and nano second accuracy time stamp
5885 to each line in debug file.
5886 - Emove any resulting duplicate timestamps from functions that
5887 inserted them in each dbprintf() line.
5888 - Fix dballoc compilation.
5889 - Fix dbmalloc compilation.
5890 - Fix amfree() to report file and line # of amfree line during
5892 - Add vstrallocf() and newvstrallocf() functions. These are
5893 the same as vstralloc() and newvstralloc() except they use
5894 printf style format strings. (Required to eliminate
5895 untranslateable string concatenations in messages.)
5896 - Change files to use *allocf() functions where it seemed
5898 - Fix kerberos 4 compilation.
5899 - Fix kerberos 5 compilation.
5901 2007-05-16 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
5902 * common-src/debug.c (debug_rename): Fix for cygwin: rename
5903 will not overwrite an existing file
5905 2007-05-15 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
5906 * client-src/sendbackup.c common-src/dgram.c common-src/event.c
5907 server-src/changer.c server-src/driverio.c:
5908 Cast FD_SETSIZE to int to avoid compilation problems.
5910 2007-05-15 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
5911 * common-src/debug.c: dbrename patch by Jean-Louis Martineau to
5912 unlink the target of the rename operation before renaming.
5914 2007-05-15 Dustin J. Mitchell <dustin@zmanda.com>
5915 * client-src/sendsize.c: fix parsing of include/excludes for
5918 2007-05-11 Jean-Louis Martineau <martineau@zmanda.com>
5919 * server-src/amcrypt-ossl-asym.sh.in: Use CLIENT_LOGIN.
5920 * server-src/amcrypt-ossl.sh.in: Use CLIENT_LOGIN.
5922 2007-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5923 * common-src/krb5-security.c: Fix compilation.
5925 2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
5926 * common-src/stream.c: add errno's to stream_client_internal
5928 2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
5929 * server-src/amadmin.c server-src/infofile.c
5930 common-src/security-util.c common-src/krb5-security.c:
5931 fix type-punning warnings
5933 2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
5934 * recover-src/set_commands.c server-src/amcheck.c
5935 server-src/dumper.c common-src/rsh-security.c
5936 common-src/krb5-security.c common-src/util.c common-src/util.h
5937 common-src/bsdtcp-security.c common-src/stream.c
5938 common-src/ssh-security.c common-src/bsd-security.c
5939 common-src/security-util.c common-src/bsdudp-security.c
5940 common-src/security-util.h: Add IPv6-savvy resolve_hostname() and use it
5943 2007-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5944 * config/Makefile.am (EXTRA_DIST): Add docbook-dtd.m4i,
5945 docbook-xslt.m4i, docbook-xslt-min.m4i and xsltproc.m4i.
5947 2007-05-07 Jean-Louis Martineau <martineau@zmanda.com>
5948 * common-src/stream.c: pass correct sockaddr size to bind()
5950 2007-05-07 Pieter Bowman <bowman@math.utah.edu>
5951 * common-src/file.c: reverse the order of chown/chmod to correctly
5952 create temporary files.
5954 2007-05-07 Jean-Louis Martineau <martineau@zmanda.com>
5955 * common-src/krb5-security.c: Fix compilation.
5957 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
5958 * server-src/cmdline.c server-src/holding.c server-src/holding.h
5959 server-src/amadmin.c server-src/amcleanupdisk.c: remove
5960 holding_file_read_header()
5962 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
5963 * common-src/sockaddr-util.h common-src/bsdtcp-security.c common-src/security-util.c
5964 common-src/krb5-security.c common-src/stream.c: add and use a copy_sockaddr() macro
5966 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
5967 * configure.in common-src/rsh-security.c common-src/bsdtcp-security.c
5968 common-src/ssh-security.c common-src/bsdudp-security.c
5969 common-src/krb5-security.c common-src/krb4-security.c common-src/bsd-security.c
5970 common-src/Makefile.am: use AM_CONDITIONAL to select security modules to compile
5972 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
5973 * autogen man/Makefile.am configure.in config/acinclude.m4i
5974 config/docbook-xslt-min.m4i config/docbook-dtd.m4i config/docbook-xslt.m4i
5975 config/xsltproc.m4i Makefile.am: detect xsltproc, docbook xslt, and docbook
5976 dtd versions better, to ensure proper creation of manpages.
5978 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
5979 * server-src/amindexd.c common-src/sockaddr-util.c common-src/sockaddr-util.h
5980 common-src/util.c common-src/security-util.c common-src/amanda.h
5981 common-src/dgram.c common-src/stream.c common-src/Makefile.am: add new
5982 sockaddr-util.[ch] containing sockaddr-related functions.
5984 2007-05-04 Jean-Louis Martineau <martineau@zmanda.com>
5985 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.3alpha)
5987 2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
5988 * docs/*.txt: Update from xml-docs.
5990 2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
5991 * man/xml-source/amrecover.8.xml: Fix space.
5993 2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
5994 * Amanda 2.5.2 released.
5995 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2).
5997 2007-05-02 Jean-Louis Martineau <martineau@zmanda.com>
5998 * docs/*.txt, man/xml-source/*.xml: Change OVERWRITE bu OVERRIDE.
5999 * man/xml-source/amadmin.8.xml: Add notees on no-reuse command.
6001 2007-05-02 Jean-Louis Martineau <martineau@zmanda.com>
6002 * amandad-src/amandad.c: Improve 'invalid service' message.
6004 2007-05-01 Jean-Louis Martineau <martineau@zmanda.com>
6005 * recover-src/extract_list.c: Report the error message.
6006 * recover-src/extract_list.c: Don't call close_connection.
6007 * common-src/security-util.c: (tcpm_close_connection): Check for rh->rc
6009 2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
6010 * common-src/security-util.c (tcp1_stream_client): Set rh->rc->driver.
6012 2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
6013 * common-src/bsd-security.c, common-src/bsdudp-security.c,
6014 common-src/krb4-security.c: Fix ntohs for port number.
6015 * common-src/dgram.c: Add socket number in comment.
6017 2007-04-27 Dustin J. Mitchell <dustin@zmanda.com>
6018 * server-src/holding.c server-src/holding.h server-src/find.c:
6019 use holding module in find.c:search_holding_disk()
6021 2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
6022 * server-src/amcheck.c: Fix infobad setting.
6024 2007-04-26 Jean-Louis Martineau <martineau@zmanda.com>
6025 * server-src/amcheck.c: Set *bad on error.
6027 2007-04-26 Jean-Louis Martineau <martineau@zmanda.com>
6028 * server-src/amflush.c: Quote L_DISK and FLUSH line.
6029 * server-src/driver.c: Parse quoted FLUSH line.
6030 * server-src/planner.c: Quote L_DISK and FLUSH line.
6032 2007-04-25 Dustin J. Mitchell <dustin@zmanda.com>
6033 * configure.in common-src/ssh-security.c: allow build-time configuration of SSH options
6035 2007-04-23 Paddy Sreenivasan <paddy@zmanda.com>
6036 * changer-src/scsi-solaris.c common-src/protocol.c: changes to build on Solaris
6038 2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
6039 * configure.in: remove unused AMANDA_C_VOLATILE
6040 * config/acinclude.m4: remove unused AMANDA_C_VOLATILE
6042 2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
6043 * autogen: silence unnecessary warnings about GNU make, return exit status
6045 2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
6046 * common-src/stream.c: retry socket creation if OS does not support IPv6
6049 2007-04-20 Jean-Louis Martineau <martineau@zmanda.com>
6050 * amplot/amplot.sh.in (test_awk,find_gnuplot): Imported from zmanda.
6051 * amplot/amplot.awk: Fix some parsing.
6052 * server-src/driver.c (free_kps): Return 0 instead of big value.
6054 2007-04-18 Jean-Louis Martineau <martineau@zmanda.com>
6055 * oldrecover-src/Makefile.am, changer-src/Makefile.am,
6056 client-src/Makefile.am, amandad-src/Makefile.am,
6057 recover-src/Makefile.am, server-src/Makefile.am,
6058 restore-src/Makefile.am: Link libgnu after libamanda.
6060 2007-04-18 Jean-Louis Martineau <martineau@zmanda.com>
6061 * client-src/sendbackup.c: Improve tar argument in amanda header for
6064 2007-04-18 Dustin J. Mitchell <dustin@zmanda.com>
6065 * man/Makefile.am configure.in config/acinclude.m4i: add xsltproc- and docbook-
6066 related autoconf macros, use them to ensure the environment is appropriate for
6067 building manpages; manpage build is off by default.
6069 2007-04-17 Jean-Louis Martineau <martineau@zmanda.com>
6070 * changer-src/chg-disk.sh.in: Send error message to stdout.
6072 2007-04-17 Dustin J. Mitchell <dustin@zmanda.com>
6073 * changer-src/chg-zd-mtx.sh.in: fix more typos (thanks to
6074 "Stefan G. Weichinger" <sgw@amanda.org>)
6076 2007-04-17 Jean-Louis Martineau <martineau@zmanda.com>
6077 * restore-src/restore.c: Fix restoration of split and encrypted backup.
6079 2007-04-13 Dustin J. Mitchell <dustin@zmanda.com>
6080 * changer-src/chg-zd-mtx.sh.in: fix typo in error message
6082 2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
6083 * Amanda 2.5.2b1 released.
6084 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2b1).
6086 2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
6087 * client-src/sendbackup.c (first_num): Removed function.
6088 * client-src/sendbackup.c (the_num): return the nth number in a string.
6089 * client-src/sendbackup.h (AM_SIZE_RE): Need a field.
6090 * client-src/sendbackup-dump.c: Use new AM_SIZE_RE.
6091 * client-src/sendbackup-gnutar.c: Use new AM_SIZE_RE.
6093 2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
6094 * NEWS: Change in amanda-2.5.2
6095 * ReleaseNotes: Releases Notes for 2.5.2
6096 * server-src/chunker.c (write_tapeheader): Set errno to ENOSPC.
6098 2007-04-12 Dustin J. Mitchell <dustin@zmanda.com>
6099 * server-src/dumper.c: use fullwrite() instead of write()
6101 2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
6102 * amandad-src/amandad.c: Remove duplicate setsockopt(,,SO_REUSEADDR).
6103 * common-src/bsd-security.c: Use int for setsockopt.
6104 * common-src/stream.c (try_socksize): Use int for setsockopt.
6106 2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
6107 * server-src/amcheck.c: Remove duplicate test.
6108 * server-src/dumper.c: Use newvstralloc.
6110 2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
6111 * server-src/reporter.c: Take value from chunker if it succeed and
6114 2007-04-10 Jean-Louis Martineau <martineau@zmanda.com>
6115 * configure.in: Use krb5 shared library.
6117 2007-04-10 Dustin J. Mitchell <dustin@zmanda.com>
6118 * changer-src/chg-zd-mtx.sh.in: remove configurability of mt, mtx paths
6120 2007-04-10 Jean-Louis Martineau <martineau@zmanda.com>
6121 * common-src/krb5-security.c: Initialize rc->gss_context.
6123 2007-04-09 Dustin J. Mitchell <dustin@zmanda.com>
6124 * changer-src/chg-zd-mtx.sh.in: fix bugs in configuration for mt, mtx paths
6126 2007-04-06 Dustin J. Mitchell <dustin@zmanda.com>
6127 * oldrecover-src/extract_list.c oldrecover-src/display_commands.c
6128 client-src/sendbackup.c client-src/getfsent.c client-src/sendsize.c
6129 client-src/selfcheck.c recover-src/amrecover.c recover-src/extract_list.c
6130 recover-src/display_commands.c server-src/amlogroll.c
6131 server-src/amindexd.c server-src/tapefile.c server-src/amcheck.c
6132 server-src/dumper.c server-src/planner.c server-src/reporter.c
6133 server-src/amadmin.c server-src/find.c server-src/infofile.c
6134 restore-src/amidxtaped.c common-src/security-util.c common-src/amanda.h:
6135 improve parsing with strcmp_const and strcmp_const_skip
6137 2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
6138 * server-src/taper.c: Limit splitsize to 1G in PORT-WRITE.
6140 2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
6141 * common-src/krb5-security.c: Report client hostname.
6143 2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
6144 * common-src/tapelist.c (append_to_tape): Don't call dump_tapelist.
6146 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
6147 * contrib/macosx/org.amanda.amandad.bsd*.plist: updated to use username
6150 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
6151 * amplot/amplot.sh.in configure.in config/acinclude.m4i:
6152 move checks for gnuplot, awk to runtime for easier packaging;
6153 add fake gettext functions to ease the transition to
6154 full gettext support
6156 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
6157 * server-src/amindex.c: fix bug where debug fd was closed by safe_fd,
6158 remove remote_hostname, rewrite to use getaddrinfo/getnameinfo
6159 * server-src/dumper.c server-src/amcheck.c recover-src/set_commands.c:
6160 use getaddrinfo/getnameinfo
6161 * common-src/security-util.[ch]: add try_resolving_hostname()
6162 * common-src/ssh-security.c common-src/rsh-security.c:
6163 use try_resolving_hostname, rewrite to avoid gethostbyname
6164 * common-src/krb5-security.c: use getaddrinfo instead of gethostbyname
6166 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
6167 * changer-src/chg-lib.sh.in changer-src/chg-mtx.sh.in
6168 changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in
6169 changer-src/chg-multi.sh.in changer-src/Makefile.am
6170 configure.in: make the path to MTX and other executables configurable
6171 in changer scripts; introduce new changer shell library to reduce
6172 code duplication; add fake gettext functions to ease the transition to
6173 full gettext support
6175 2007-04-04 Dustin J. Mitchell <dustin@zmanda.com>
6176 * server-src/dumper.c server-src/chunker.c: remove assumed ENOSPC
6177 error in static write_tapeheader functions
6179 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
6180 * common-src/security-util.c: Remove buggy &.
6182 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
6183 * common-src/conffile.c: Add READBLOCKSIZE tapetype config option.
6184 * common-src/conffile.c(getconf_readblocksize): Function to retrieve
6185 the tapetype readblocksize or the configured maxtapeblocksize.
6186 * common-src/conffile.h: Add READBLOCKSIZE tapetype config option.
6187 * man/xml-source/amanda.conf.5.xml: Document it.
6188 * tape-src/output-tape.c: Use getconf_readblocksize.
6189 * tape-src/tapeio.c: Use getconf_readblocksize.
6191 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
6192 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6193 common-src/bsdudp-security.c,
6194 common-src/security-util.c: Fix auth_debug and dbprintf usage.
6196 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
6197 Merge from zmanda ext.
6198 * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
6199 server-src/amflush.c server-src/cmdline.c server-src/cmdline.h
6200 server-src/holding.c server-src/holding.h server-src/driver.c
6201 server-src/planner.c server-src/amadmin.c server-src/taper.c
6202 server-src/amcleanupdisk.c server-src/find.c
6203 server-src/Makefile.am: revise holding-disk management, add new
6204 'amadmin' subcommand to list and delete dumps from the holding
6206 * server-src/amadmin.c: Add 'amadmin XX holding list -l'
6208 2007-04-02 Dustin J. Mitchell <dustin@zmanda.com>
6209 * common-src/bsdtcp-security.c common-src/bsd-security.c
6210 common-src/security-util.c common-src/bsdudp-security.c:
6211 bugfixes, always check for NULL ai_canonname
6212 * common-src/util.c common-src/util.h common-src/krb4-security.c
6213 common-src/security-util.c: bugfix for hosts with multiple addresses,
6214 improved cmp_sockaddr, remove redundant checks
6215 * server-src/taper.c: add log message when new tapes are auto-labeled
6216 * common-src/security-util.c: patch to avoid spurious compiler warnings
6219 2007-03-30 Dustin J. Mitchell <dustin@zmanda.com>
6220 * common-src/file.c: remove unused amanda_setup()
6222 2007-03-30 Jean-Louis Martineau <martineau@zmanda.com>
6223 * common-src/amanda.h: Define a _() macro.
6225 2007-03-28 Dustin J. Mitchell <dustin@zmanda.com>
6226 * common/amanda.h: fix typo in SS_SET_INADDR_ANY for non-IPv6
6228 * gnulib/regenerate/regenerate: update to include visibility
6229 and lock modules (See 2007-03-14)
6230 * recover-src/extract_list.c common-src/krb4-security.c
6231 common-src/event.c common-src/security-util.c: use
6232 SELECT_ARG_TYPE instead of fd_set
6234 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6235 * common-src/krb5-security.c: Fix for krb5 and IPv6.
6236 * common-src/security-util.c: Fix for krb5 and IPv6.
6238 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6239 * common-src/krb5-security.c: Compile with heimdal kerberos.
6241 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6242 Fix solaris 9 problem:
6243 * common-src/krb5-security.c: Use putenv instead of setenv.
6244 * common-src/security-util.c: Set flags according to family.
6246 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6247 Merge from zmanda EXT.
6249 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6250 * Makefile.am (EXTRA_DIST): Remove contrib/gnulib-update-current.
6252 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6253 * server-src/reporter.c: Ouput quoted diskname in "DUMP SUMMARY"
6256 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
6257 * changer-src/chg-zd-mtx.sh.in: Exit with a message if the
6258 configuration file doesn't exist.
6260 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
6261 * common-src/conffile.c: Fix error message.
6263 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
6264 * amandad-src/amandad.c: Fix segfault.
6266 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
6267 * common-src/security-util.c: Use SS_LEN.
6268 * common-src/util.c: Use SS_LEN.
6270 2007-03-21 Jean-Louis Martineau <martineau@zmanda.com>
6271 * common-src/security.h (security_driver): Add data_encrypt and
6272 data_decrypt function.
6273 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6274 common-src/bsdudp-security.c, common-src/krb4-security.c,
6275 common-src/rsh-security.c,
6276 common-src/ssh-security.c: Set data_encrypt and data_decrypt to NULL.
6278 * common-src/conffile.c: Parse KRB5KEYTAB and KRB5PRINCIPAL on client.
6279 * common-src/krb5-security.c: Complete rewrite.
6280 * common-src/security-util.h: Change many prototype.
6281 * common-src/security-util.c: Change argument to function.
6282 * recover-src/amrecover.c: Use generic_client_get_security_conf.
6283 * recover-src/extract_list.c: Use generic_client_get_security_conf.
6285 2007-03-21 Jean-Louis Martineau <martineau@zmanda.com>
6286 Merge from zmanda EXT.
6287 - Add SS_INIT, SS_SET_INADDR_ANY, SS_GET_PORT and SS_SET_PORT
6288 macros for IPv6 portability
6289 - add SS_LEN() macro for calculating length of a
6290 struct sockaddr, use it in a few locations where incorrect
6291 lengths were being passed.
6292 - New script for rebuilding gnulib from scratch; current
6293 gnulib is from "cvs update -D '2007-01-31 13:12:51 -0600'"
6295 2007-03-12 Jean-Louis Martineau <martineau@zmanda.com>
6296 * recover-src/set_commands.c (set_tape): Don't amfree(tape).
6297 * oldrecover-src/set_commands.c (set_tape): Don't amfree(tape).
6299 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
6300 * changer-src/scsi-linux.c, common-src/security-util.c,
6301 common-src/stream.c, oldrecover-src/amrecover.c,
6302 restore-src/restore.c, server-src/amcheck.c,
6303 server-src/taper.c: Use SIZE_T_FMT and SSIZE_T_FMT instead of %z.
6305 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
6306 * common-src/bsd-security.c: Always retry getaddrinfo if INET6 failed.
6307 * common-src/bsdudp-security.c: Ditto.
6309 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
6310 * common-src/debug.c: Remove old file in current directory.
6312 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
6313 * changer-src/chg-chio.pl.in: Typo.
6315 2007-02-21 Jean-Louis Martineau <martineau@zmanda.com>
6316 * recover-src/extract_list.c: Remove match for path_on_disk_slash.
6318 2007-02-20 Jean-Louis Martineau <martineau@zmanda.com>
6319 * common-src/stream.c, common-src/util.c: Pass exact socklen_t to
6320 bind and connect call.
6322 2007-02-20 Jean-Louis Martineau <martineau@zmanda.com>
6323 * server-src/taper.c: Set splitsize to 0 if no data in file.
6324 * server-src/amflush.c: Don't send FLUSH request if no data in file.
6325 * server-src/planner.c: Don't send FLUSH request if no data in file.
6326 * server-src/driver.c: Don't send request to taper if no data in file.
6328 2007-02-19 Jean-Louis Martineau <martineau@zmanda.com>
6329 * amandad-src/amandad.c: Fix compilation with --without-ipv6.
6331 2007-02-19 Jean-Louis Martineau <martineau@zmanda.com>
6332 * server-src/amverify.sh.in: Remove bogus fi.
6334 2007-02-16 Jean-Louis Martineau <martineau@zmanda.com>
6335 * server-src/amverify.sh.in: Add timeout on wait for device ready.
6336 * changer-src/chg-chio.pl.in: Wait (with timeout) for drive ready.
6338 2007-02-15 Jean-Louis Martineau <martineau@zmanda.com>
6339 * server-src/taper.c: Don't call free_server_config.
6341 2007-02-15 Jean-Louis Martineau <martineau@zmanda.com>
6342 * patching file oldrecover-src/amrecover.h (local_cd): Prototype.
6343 * oldrecover-src/set_commands.c: Works with quoted arguments.
6344 * oldrecover-src/uparse.y (LCD): Call local_cd.
6345 * recover-src/amrecover.h (local_cd): Prototype.
6346 * recover-src/set_commands.c: Works with quoted arguments.
6347 * recover-src/uparse.y (LCD): Call local_cd.
6349 2007-02-14 Jean-Louis Martineau <martineau@zmanda.com>
6350 * common-src/security-util.c: Add "on the client" message.
6352 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
6353 * server-src/amstatus.pl.in: fix for chunk and displayunit.
6355 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
6356 * server-src/dumper.c: Fix if krb4 is compiled but another auth is
6359 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
6360 * common-src/alloc.c (safe_env): Remove LANG and LC_* only if we are
6361 priviledged process.
6363 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
6364 * dumper-src/amgtar.pl.in: Replace -t options by -T.
6365 * dumper-src/Makefile.am: Remove perl -t options.
6367 2007-02-12 Jean-Louis Martineau <martineau@zmanda.com>
6368 * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add sl.
6369 * common-src/statfs.c: Fix scale function.
6371 2007-02-12 Jean-Louis Martineau <martineau@zmanda.com>
6372 * client-src/sendsize.c: Fix PARAM_HONOR_NODUMP.
6374 2007-02-09 Jean-Louis Martineau <martineau@zmanda.com>
6375 * server-src/reporter.c: Fix postscript crash.
6377 2007-02-09 Jean-Louis Martineau <martineau@zmanda.com>
6378 * changer-src/chg-manual.sh.in: Add tty, email, tty_email request mode.
6380 2007-02-07 Jean-Louis Martineau <martineau@zmanda.com>
6381 * server-src/amindexd.c: Use dbfd.
6383 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
6384 * common-src/alloc.c (vstrallocf): New function.
6385 * common-src/amanda.h (vstrallocf): Prototype.
6386 * client-src/sendsize.c: Send error if fe_rep_sendsize_quoted_error.
6387 * common-src/amfeatures.c (am_init_feature_set): Set
6388 fe_rep_sendsize_quoted_error.
6389 * common-src/amfeatures.h (fe_rep_sendsize_quoted_error): new features.
6390 * server-src/planner.c: Receive error message from sendsize.
6392 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
6393 * amandad-src/amandad.c, changer-src/scsi-linux.c,
6394 common-src/conffile.c, configure.in,
6395 man/Makefile.am, man/xml-source/amcheck.8.xml,
6396 server-src/amlabel.c, server-src/taper.c: Merge from zmanda.
6398 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
6399 * common-src/clock.c (timesub): The result must always be positive.
6401 2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
6402 * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT.
6404 2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
6405 * server-src/amcheck.c: Add parentheses.
6407 2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
6408 * contrib/gnulib-update-current: New file.
6409 * Makefile.am (EXTRA_DIST): Add contrib/gnulib-update-current.
6411 2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
6412 * man/Makefile.am: Use http://docbook.sourceforge.net
6413 * man/xml-source/amadmin.8.xml, man/xml-source/amaespipe.8.xml,
6414 man/xml-source/amanda.8.xml, man/xml-source/amanda-client.conf.5.xml,
6415 man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
6416 man/xml-source/amcrypt.8.xml, man/xml-source/amdump.8.xml,
6417 man/xml-source/amfetchdump.8.xml, man/xml-source/amflush.8.xml,
6418 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
6419 man/xml-source/ammt.8.xml, man/xml-source/amrecover.8.xml,
6420 man/xml-source/amreport.8.xml,
6421 man/xml-source/amtape.8.xml: Fix for xmllint.
6422 * man/xslt/man.xsl: Remove bogus code.
6424 2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
6425 * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot.
6427 2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
6428 * server-src/amdump.sh.in: Output a starttime line.
6429 * server-src/amflush.c: Output a starttime line.
6430 * server-src/amstatus.pl.in: parse the starttime line.
6432 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
6433 * configure.in: Fix --with-ipv6 option.
6435 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
6436 * server-src/amdump.sh.in: Exit with a status.
6438 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
6439 * server-src/diskfile.c: Use hostnext pointer.
6441 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
6442 * server-src/reporter.c: Exit with a status.
6444 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
6445 * server-src/amstatus.pl.in: Exit with a status.
6447 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
6448 * server-src/amstatus.pl.in: Detect failed dump to tape.
6450 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
6451 * configure.in: Add --with-ipv6 option.
6453 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
6454 * server-src/changer.c (changer_command): Send stderr to dbfd().
6456 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
6457 * server-src/diskfile.c: Check hostname have same case.
6459 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
6460 * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists.
6462 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
6463 * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable.
6465 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
6466 * common-src/conffile.c: Cleanup conf_print function.
6468 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
6469 * common-src/conffile.c: Check for duplicate -o options.
6470 * recover-src/amrecover.c: Change precedence of option.
6472 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
6473 * server-src/diskfile.c: Fix compiler warning.
6475 2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
6476 * common-src/security-util.c (tcpm_recv_token): Check size < 0.
6479 2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
6480 * server-src/diskfile.c: Check duplicate DLE with match_host and
6483 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
6484 * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there.
6486 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
6487 * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST.
6489 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
6490 * server-src/amcheck.c: Check tape_access.
6491 * server-src/taper.c: Improve message.
6493 2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6494 * configure.in: Define GCC_COMPILER.
6495 * gnulib/Makefile.am: Add -Wno-error to AM_CFLAGS if GCC_COMPILER.
6497 2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6498 * server-src/getconf.c: Fix segfault in parameter parsing.
6500 2007-01-15 Jean-Louis Martineau <martineau@zmanda.com>
6501 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6502 common-src/bsdudp-security.c,
6503 common-src/stream.c: Don't call check_addrinfo_give_name.
6504 * common-src/security-util.c (check_addrinfo_give_name): Always log
6507 2007-01-11 Jean-Louis Martineau <martineau@zmanda.com>
6508 * common-src/conffile.c Set default length/filemark correctly.
6509 * man/xml-source/amanda.conf.5.xml: Document they are in kbytes.
6511 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
6512 * config/gnulib/gnulib-common.m4: New file.
6513 * config/gnulib.m4i: Load config/gnulib/gnulib-common.m4.
6515 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
6516 * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL.
6518 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
6519 * common-src/conffile.c, common-src/conffile.h,
6520 server-src/diskfile.c: Keep different list for exclude file and list.
6522 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
6523 * server-src/taper.c (read_file): Don't count first header twice.
6525 2007-01-05 Jean-Louis Martineau <martineau@zmanda.com>
6526 * server-src/amstatus.pl.in: Fix split-dump accounting.
6528 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
6529 * restore-src/restore.c: Use prompt_in.
6531 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
6532 * amandad-src/amandad.c, common-src/bsd-security.c,
6533 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
6534 common-src/dgram.c, common-src/security-util.c,
6535 common-src/stream.c,
6536 common-src/util.c: Replace HAVE_IPV6 by WORKING_IPV6.
6537 * configure.in: Define HAVE_IPV6 if IPv6 is working.
6539 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
6540 * changer-src/chg-chio.pl.in, changer-src/chg-iomega.pl.in,
6541 changer-src/chg-rth.pl.in, dumper-src/amgtar.pl.in,
6542 server-src/amoverview.pl.in, server-src/amstatus.pl.in,
6543 server-src/amtoc.pl.in: Clean ENV and set PATH.
6545 2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
6546 * server-src/driver.c: Don't repport error for many run in a day if
6549 2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
6550 * common-src/util.c (quote_string): Escape '\' character.
6552 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6553 * recover-src/display_commands.c: Send quoted text to amindexd.
6554 * recover-src/extract_list.c: Send quoted text to amindexd.
6555 * recover-src/set_commands.c: Send quoted text to amindexd.
6557 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6558 * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk.
6560 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6561 * client-src/sendsize.c: Compilation fix.
6563 2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6564 * common-src/packet.c (pkt_init_empty): New function.
6565 * common-src/packet.h (pkt_init_empty): New prototype.
6566 * amandad-src/amandad.c, common-src/protocol.c,
6567 common-src/security-util.c: Use pkt_init_empty.
6569 2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6570 * common-src/conffile.c: Print nothing if the list is emtpy.
6572 2006-12-14 Jean-Louis Martineau <martineau@zmanda.com>
6573 * restore-src/restore.c: Fix filename for output file.
6575 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6576 * common-src/amanda.h: Define __attribute__ for gcc >= 3.
6577 * common-src/packet.c (pkt_init): Accept NULL for fmt.
6578 * amandad-src/amandad.c, common-src/protocol.c,
6579 common-src/security-util.c: Pass NULL to pkt_init.
6580 * amandad-src/amandad.c, changer-src/chg-scsi.c,
6581 changer-src/scsi-linux.c, client-src/sendbackup.c,
6582 common-src/amanda.h, common-src/conffile.c,
6583 common-src/event.c, common-src/packet.c,
6584 common-src/security-util.c, common-src/stream.c,
6585 common-src/util.c, oldrecover-src/amrecover.c,
6586 restore-src/restore.c, server-src/amcheck.c,
6587 server-src/driver.c, server-src/driverio.c,
6588 server-src/taper.c: Fix printf format error.
6590 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6591 * server-src/amindexd.c: Use fgets to read index file because they
6594 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6595 * configure.in: Find patch for sort program.
6596 * server-src/amindexd.c: Clean the indexd file between the uncompress
6599 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6600 * configure.in: Add ICE_CHECK_DECL(snprintf,stdio.h)
6601 * configure.in: Add ICE_CHECK_DECL(vsnprintf,stdio.h)
6602 * client-src/sendbackup.c: Fix ignoring return value of write.
6604 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6605 * man/xml-source/amadmin.8.xml, man/xml-source/amanda.8.xml,
6606 man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
6607 man/xml-source/amfetchdump.8.xml, man/xml-source/ammt.8.xml,
6608 man/xml-source/amrecover.8.xml: Move </note> tag to beginning of line
6610 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6611 * changer-src/chg-rait.sh.in: Fix typo for -reset.
6613 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
6614 * server-src/amindexd.c: Fix host case problem.
6615 * server-src/diskfile.c (add_disk, parse_diskline): Update hostname
6617 * server-src/diskfile.h (disk_s): New hostname field.
6618 * server-src/disk_history.c (add_dump): New hostname parameter.
6619 * server-src/disk_history.h (DUMP_ITEM): New hostname field.
6620 * server-src/disk_history.h (add_dump): Protoype change.
6622 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
6623 * amandad-src/amandad.c: Add missing HAVE_IPV6.
6624 * common-src/security-util.c: Add missing HAVE_IPV6.
6625 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6626 common-src/bsdudp-security.c, common-src/dgram.c,
6627 common-src/dgram.h, common-src/stream.c,
6628 common-src/util.c: Fix for broken getaddrinfo:not returning V4MAPPED
6630 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
6631 * common-src/conffile.c (lookup_keyword): Use strcasecmp.
6632 * common-src/conffile.c (get_conftoken): Don;t convert to uppercase.
6633 * server-src/getconf.c: Don;t print extra '\n' for --list.
6635 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
6636 * common-src/util.c (str_sockaddr): Use host byte order for port.
6638 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
6639 * server-src/amtape.h: Remove file.
6641 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
6642 Application API phase 1.
6643 * client-src/client_util.c, client-src/client_util.h,
6644 client-src/selfcheck.c, client-src/sendbackup.c,
6645 client-src/sendsize.c, common-src/amfeatures.c,
6646 common-src/amfeatures.h, common-src/fileheader.c,
6647 common-src/fileheader.h, recover-src/extract_list.c,
6648 server-src/amcheck.c, server-src/amstatus.pl.in,
6649 server-src/dumper.c, server-src/Makefile.am,
6650 server-src/planner.c: Fix for Application API.
6651 * configure.in: Fix for moved files.
6652 * dumper-src/generic-dumper.pl.in: Fix for Application API.
6653 * dumper-src/Makefile.am: Fix for renamed files.
6654 * dumper-src/gnutar.pl.in: Renamed to dumper-src/amgtar.pl.in.
6655 * dumper-src/amgtar.pl.in: Fix for Application API.
6656 * dumper-src/star.pl.in: Renamed to dumper-src/amstar.pl.in.
6657 * dumper-src/amstar.pl.in: Fix for Application API.
6659 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6660 * client-src/sendbackup.c: Kill dump process on error.
6662 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6663 * changer-src/chg-chio.pl.in: Check tapedev is set.
6664 * changer-src/chg-disk.sh.in: Check tapedev is set.
6665 * changer-src/chg-iomega.pl.in: Check tapedev is set.
6666 * changer-src/chg-manual.sh.in: Check tapedev is set.
6667 * changer-src/chg-mtx.sh.in: Check tapedev is set.
6668 * changer-src/chg-rth.pl.in: Check tapedev is set.
6669 * server-src/amcheck.c: Tapedev is needed only if tpchanger is not set.
6670 * server-src/amflush.c: Tapedev is needed only if tpchanger is not set.
6671 * server-src/amindexd.c: Tapedev is needed only if tpchanger is not set
6672 * server-src/taper.c: Tapedev is needed only if tpchanger is not set.
6674 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6675 * client-src/sendbackup.c: Ignore tar exit with status 1.
6677 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6678 * server-src/amindexd.c (clean_backslash): New function use to unescape
6679 '\' characters in index files.
6681 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6682 * restore-src/restore.c (search_tapes): Fix prompt_out setting.
6684 2006-11-28 Jean-Louis Martineau <martineau@zmanda.com>
6685 * common-src/amanda.h: Don't include gnulib header if CONFIGURE_TEST
6687 * common-src/amflock.c (main): Remove unused fd variable.
6689 2006-11-28 Jean-Louis Martineau <martineau@zmanda.com>
6690 * config/Makefile.am (EXTRA_DIST): Add gnulib.m4i.
6692 2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
6693 * common-src/util.c (copy_file): Fix compilation error.
6695 2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
6696 * common-src/stream.c: Fix compilation error.
6698 2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
6699 * common-src/amanda.h (NI_MAXHOST): Define if not defined.
6700 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6701 common-src/bsdudp-security.c, common-src/dgram.c,
6702 common-src/security-util.c, common-src/stream.c,
6703 common-src/util.c: HAVE_IPV6 conditional code
6705 2006-11-26 Jean-Louis Martineau <martineau@zmanda.com>
6706 * config/gnulib/*: m4 files for gnulib.
6707 * config/gnulib.m4i: File to load all m4 files for gnulib.
6708 * gnulib/*: gnulib source.
6709 * */Makefile.am (INCLUDES): Add $(top_srcdir)/gnulib.
6710 * */Makefile.am (LDADD): Add ../gnulib/libgnu.$(LIB_EXTENSION).
6711 * Makefile.am (ACINCLUDE_M4_DEPS): Add $(srcdir)/config/gnulib.m4i.
6712 * Makefile.am (SUBDIRS): Add gnulib.
6713 * configure.in: AC_PREREQ(2.59), gl_EARLY, gl_INIT.
6714 * configure.in (AC_CONFIG_FILES): Add gnulib/Makefile.
6715 * autogen: Add config/gnulib.m4i to acinclude.m4.
6717 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
6718 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
6719 client-src/sendsize.c,
6720 server-src/amindexd.c: Patch for gcc-3.2.3 to compile the new
6723 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
6724 * common-src/file.c (old_sanitise_filename): New function.
6725 * common-src/amanda.h (old_sanitise_filename): Prototype.
6726 * common-src/util.c (copy_file): New function.
6727 * common-src/util.h (copy_file): Prototype.
6728 * server-src/diskfile.c: Check that two DLE doesn't get the same
6730 * server-src/amindex.c (getoldindexfname): New function.
6731 * server-src/amindex.h (getoldindexfname): prototype.
6732 * server-src/amindexd.c: Use the old sanitized filename if the new
6734 * server-src/amcheck.c: Call check_infofile.
6735 * server-src/planner.c: Call check_infofile.
6736 * server-src/server_util.c (check_infofile): New function, will copy
6737 the old sanitizes info file if the new doesn't exist.
6738 * server-src/server_util.h (check_infofile): Prototype.
6740 2006-11-23 Jean-Louis Martineau <martineau@zmanda.com>
6741 * common-src/security-util.c (tcpm_recv_token): amanda protocol
6742 packet can be larger than NETWORK_BLOCK_BYTES
6744 2006-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6745 * common-src/stream.c: Fix compiler error.
6747 2006-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6748 * amandad-src/amandad.c, common-src/amanda.h,
6749 common-src/bsd-security.c, common-src/bsdtcp-security.c,
6750 common-src/bsdudp-security.c, common-src/dgram.c,
6751 common-src/dgram.h, common-src/krb4-security.c,
6752 common-src/krb5-security.c, common-src/security-util.c,
6753 common-src/security-util.h, common-src/stream.c,
6754 common-src/util.c, common-src/util.h,
6755 restore-src/amidxtaped.c, server-src/amindexd.c: IPV6.
6757 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6758 * client-src/sendsize.c, oldrecover-src/display_commands.c,
6759 oldrecover-src/extract_list.c, recover-src/display_commands.c,
6760 recover-src/extract_list.c,
6761 server-src/driver.c: Fix compiler error.
6763 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6764 * client-src/sendsize.c: Open the amandates file after the
6765 <config>/amanda-client.conf file is loaded.
6767 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6768 * client-src/sendsize.c: Fix compiler error on boris.
6769 * server-src/driver.c: Fix compiler error on rocky.
6771 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6772 * common-src/security-util.c, server-src/amcheck.c,
6773 * server-src/driver.c, server-src/dumper.c,
6774 * server-src/planner.c, tape-src/output-file.c: Lint cleanup.
6776 2006-11-20 Ian Turner <ian@zmanda.com>
6777 * tape-src/output-file.c: Fix a compilation error related to
6778 improper type casts. Thanks to Satya Ganga for noticing this
6781 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6782 * server-src/driver.c: Use temporary variable to scanf an OFF_T_FMT.
6783 * server-src/planner.c: Use temporary variable to scanf an OFF_T_FMT.
6785 2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
6786 * client-src/selfcheck.c: Work for estimate calcsize and
6789 2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
6790 * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use'
6793 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
6794 * man/xml-source/amgetconf.8.xml: Document --list.
6796 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
6797 * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer".
6799 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
6800 * common-src/amanda.h, common-src/conffile.c,
6801 common-src/conffile.h, common-src/security-util.c,
6802 configure.in, oldrecover-src/amrecover.c,
6803 oldrecover-src/extract_list.c, recover-src/amrecover.c,
6804 recover-src/extract_list.c, restore-src/amrestore.c,
6805 server-src/dumper.c: Fix compiler error on Tru64.
6807 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
6808 * common-src/conffile.c (getconf_byname):
6809 Parse "DEFINE:identifer:parameter" format.
6810 * common-src/conffile.c (getconf_list): New function to list a DEFINE.
6811 * common-src/conffile.c (lookup_holdingdisk): New function.
6812 * common-src/conffile.h (getconf_list,
6813 lookup_holdingdisk): New prototype.
6814 * server-src/getconf.c: accept --list argument and
6815 "DEFINE:identifer:parameter" format.
6816 * man/xml-source/amgetconf.8.xml: Document.
6818 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
6819 * server-src/driver.c: set off_t variable to 0 before sscanf.
6820 * server-src/planner.c: set off_t variable to 0 before sscanf.
6822 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6823 * server-src/amstatus.pl.in: Improve error message.
6825 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6826 * common-src/security-util.c: Fix coverity bug 170.
6827 * server-src/diskfile.c: Fix coverity bug 147.
6829 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6830 * common-src/conffile.c (validate_chunksize): Check chunksize is >=
6833 2006-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6834 * common-src/amanda.h: Define OFF_T_STRTOL.
6835 * configure.in: Check for strtol and strtoll.
6837 2006-11-02 Ian Turner <ian@zmanda.com>
6838 * common-src/amanda.h: Use atol if atoll is missing.
6840 2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
6841 * common-src/security-util.c: Better message on invalid size.
6843 2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
6844 * configure.in: List bsdudp as a udp transport.
6846 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
6847 * server-src/diskfile.c: Don't use 0 for NULL.
6849 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
6850 Revert Ian patch of 2006-10-29.
6851 * common-src/conffile.c: Defile AMANDATES_FILE
6852 * client-src/amandates.h: Don't define AMANDATES_FILE
6854 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
6855 * common-src/conffile.c: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME.
6856 * common-src/conffile.h: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME.
6857 * server-src/amadmin.c (disklist_one): Print correct starttime.
6858 * server-src/diskfile.c: Set start_t to starttime.
6859 * server-src/diskfile.h (disk_t): Add starttime.
6861 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
6862 * changer-src/scsi-changer-driver.c: Add Tandberg SLR100,
6864 * changer-src/sense.c: Add Tandberg SLR100 Tape Drive "SLR100".
6866 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
6867 * common-src/amanda.h: Define dbrename if !DEBUG_CODE.
6868 * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE.
6870 2006-10-30 Jean-Louis Martineau <martineau@zmanda.com>
6871 * server-src/amadmin.c (disklist_one): Print ignore field.
6872 * server-src/amoverview.pl.in: Ignore 'ignore yes' and 'strategy skip'.
6873 * server-src/diskfile.c: Correct hostname allocation.
6874 Keep 'ignore yes' and 'strategy skip' DLE in
6875 memory, set there todo to 0.
6876 * server-src/diskfile.h: (struct disk_s): New ignore field.
6878 2006-10-29 Ian Turner <ian@zmanda.com>
6879 This was reported as debian bug 394796. Thanks to Damyan Ivanov
6880 <dam@modsoftsys.com> for reporting and to Bdale Garbee
6881 <bdale@gag.com> for a preliminary patch.
6882 * common-src/conffile.c: Use AMANDATES_FILE as default for
6883 location of amandates.
6884 * common-src/amandates.h: Move from client-src/
6885 * client-src/amandates.h: Move to common-src/
6886 * common-src/Makefile.am: Update to reflect new location of
6888 * client-src/Makefile.am: ditto.
6890 2006-10-25 Jean-Louis Martineau <martineau@zmanda.com>
6891 Patch by Jay Fenlason
6892 * common-src/rsh-security.c: Fix.
6894 2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
6895 * common-src/conffile.c (get_config_options): Build and argv of the
6897 * common-src/conffile.h (get_config_options): Prototype.
6898 * server-src/driverio.c: exec dumper/chunker/driver with the argv from
6900 * server-src/amtape.c: Accept -o argument.
6901 * man/xml-source/amtape.8.xml: Document it.
6903 2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
6904 * server-src/taper.c: Fix allocation problem on tapedev.
6906 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
6907 * common-src/conffile.c (conf_print): Add a parameter if we want
6908 CONFTYPE_STRING enclosed in ".
6909 * server-src/planner.c: Use getconf_int to get etimeout value.
6911 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
6912 * server-src/taper.c (free_split_buffer): Correct free.
6914 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
6915 * client-src/sendbackup.c: Parse quote amdevice.
6916 * server-src/amcheck.c: Send quoted amdevice.
6917 * server-src/planner.c: Send quoted amdevice.
6919 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
6920 * common-src/conffile.c (CNF_CTIMEOUT, CNF_DTIMEOUT, CNF_ETIMEOUT):
6921 They are of type CONFTYPE_INT
6922 (CONFTYPE_TIME are for value parsed as "hhmm"")
6923 * common-src/conffile.c (getconf_byname): Use conf_print().
6924 * common-src/conffile.h: Add comment.
6925 * server-src/amcheck.c, server-src/dumper.c, server-src/planner.c:
6926 Use getconf_int to get timeout value.
6928 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
6929 * man/xml-source/amanda.conf.5.xml: Fix formating.
6931 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
6932 * client-src/calcsize.c, client-src/sendsize.c: Remove bogus fseek.
6934 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
6935 * client-src/calcsize.c: Quote amname.
6937 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
6938 * server-src/driver.c: Print an L_STATS with the hostname
6939 * server-src/reporter.c: Print hostname, org, config and date at the
6940 beginning of the report
6942 2006-10-16 Jean-Louis Martineau <martineau@zmanda.com>
6943 * common-src/dgram.c (dgram_cat),
6944 common-src/packet.c (pkt_init, pkt_cat): Works correctly with
6945 vsnprintf returning -1.
6947 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
6948 * common-src/Makefile.am (libamanda_la_LIBADD) Remove @LTLIBOBJS@.
6950 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
6951 * server-src/taper.c: stralloc(tapedev).
6952 * configure.in (EXAMPLE_TAPEDEV): Set to /dev/null if no tape-device.
6953 * example/amanda-client.conf.in, example/amanda.conf.in
6954 example/chg-mcutil.conf.in: Use EXAMPLE_TAPEDEV.
6956 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
6957 * common-src/alloca.c, common-src/getcwd.c, common-src/mktime.c,
6958 common-src/memmove.c, common-src/snprintf.c,
6959 common-src/strcasecmp.c, common-src/strerror.c,
6960 common-src/strftime.c, common-src/strncasecmp.c,
6961 common-src/strstr.c, common-src/waitpid.c,
6962 COPYRIGHT-APACHE: Removed files.
6963 * configure.in: Remove many AC_REPLACE_FUNCS.
6964 * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-APACHE.
6966 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
6967 * common-src/Makefile.am: Remove all reference to our regex
6968 * common-src/match.c: #include <regex.h>, the system regex
6969 * common-src/memmove.c: No more memmove in regex-src
6970 * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-REGEX
6971 * Makefile.am (EXTRA_DIST): Remove regex-src/*
6972 * regex-src: Remove directory.
6973 * common-src/regcomp.c, common-src/regerror.c,
6974 common-src/regexec.c, common-src/regfree.c,
6975 common-src/amregex.h: Remove files.
6977 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
6978 * server-src/planner.c: Improve message for dump larger than available
6979 tape space if runtapes > 1 and splitsize == 0.
6981 2006-10-10 Jean-Louis Martineau <martineau@zmanda.com>
6982 * server-src/driver.c (wait_children): Don't crash if dumper->chunker
6985 2006-10-04 Jean-Louis Martineau <martineau@zmanda.com>
6986 * amandad-src/amandad.c: Call security_recvpkt() on A_SENDNACK
6988 * common-src/security-util.c: Improve message.
6990 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
6991 * server-src/amcleanupdisk.c: Accept -o arguments.
6992 * server-src/amcleanup.sh.in: Add missing 'shift' for non-linux system.
6993 Accept -o arguments.
6995 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
6996 * server-src/amoverview.pl.in: Fix parsing of time field from amadmin.
6998 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
6999 * restore-src/amidxtaped.c, restore-src/restore.c,
7000 server-src/amcheck.c, server-src/amflush.c,
7001 server-src/amlabel.c, server-src/taper.c,
7002 server-src/taperscan.c: Check for CNF_TAPEDEV == NULL.
7004 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
7005 * common-src/conffile.c: Don't set CNF_TAPEDEV to DEFAULT_TAPE_DEVICE.
7006 * configure.in: Don't set DEFAULT_TAPE_DEVICE.
7008 2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
7009 * common-src/bsdtcp-security.c: Add logging on error.
7011 2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
7012 * server-src/amoverview.pl.in: Use shellwords instead of quotewords,
7013 don't add date for disk not in the disklist.
7015 2006-09-28 Jean-Louis Martineau <martineau@zmanda.com>
7016 * common-src/bsd-security.c: Fix %hd printf argument format.
7017 * common-src/security-util.c: Fix %hd printf argument format.
7019 2006-09-28 Jean-Louis Martineau <martineau@zmanda.com>
7020 * common-src/conffile.c (client_keytab): Add DEBUG_*.
7021 * oldrecover-src/amrecover.c: Call read_clientconf.
7023 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
7024 * restore-src/restore.c: Improve debugging.
7025 * server-src/changer.c: Make sure to dup the fd out of the 0..2 range.
7027 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
7028 * restore-src/amfetchdump.c: Pass new prompt_in parameter to
7030 * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in
7032 * restore-src/restore.h (search_tapes): New prompt_in parameter.
7033 * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin
7035 * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin
7038 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
7039 Patch by Orion Poplawski <orion@cora.nwra.com>
7040 * server-src/planner.c: Add a skip_quoted_line() on error.
7042 2006-09-23 Jean-Louis Martineau <martineau@zmanda.com>
7043 * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line.
7044 * server-src/amtoc.pl.in: Fix parsing of 'START taper' line.
7046 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
7047 * common-src/conffile.h: New CONFTYPE_INTRANGE conftype_t.
7048 * common-src/conffile.c: New CNF_RESERVED_UDP_PORT,
7049 CNF_RESERVED_TCP_PORT,
7050 CNF_UNRESERVED_TCP_PORT config options.
7051 * common-src/dgram.c: Use the new CNF_RESERVED_UDP_PORT option.
7052 * common-src/stream.c: Use the new CNF_*RESERVED_PORT options.
7053 * man/xml-source/amanda-client.conf.5.xml: Document it.
7054 * man/xml-source/amanda.conf.5.xml: Document it.
7056 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
7057 Patch by William Jojo
7058 * client-src/sendsize.c: Fix #endif for AIX.
7060 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
7061 * common-src/packet.c: Fix use of arglist_start/arglist_end.
7062 * server-src/amindexd.c: Fix use of vsnprintf (for IRIX).
7063 * server-src/logfile.c: Fix use of arglist_start/arglist_end.
7065 2006-09-21 Jean-Louis Martineau <martineau@zmanda.com>
7066 * server-src/amcheck.c: Don't assert if holding use is set to 0.
7068 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7069 * server-src/find.c (search_logfile): Count 'PARTIAL taper line'.
7071 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7072 Patch by Paul Bijens
7073 * server-src/amcheck.c: Print "tapelist" instead of "tapefile".
7075 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7076 * common-src/dgram.c (dgram_bind): Remove unused variables.
7078 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7079 * common-src/conffile.c, common-src/conffile.h: Add debug_amandad,
7080 debug_amidxtaped, debug_amindexd, debug_amrecover, debug_auth,
7081 debug_event, debug_holding, debug_protocol, debug_planner,
7082 debug_driver, debug_dumper, debug_chunker, debug_taper,
7083 debug_selfcheck, debug_sendsize, debug_sendbackup
7084 configurations options.
7085 * common-sc/debug.c: Use it's own clock function.
7086 * amandad-src/amandad.c, amandad-src/amandad_util.c,
7087 client-src/calcsize.c, client-src/client_util.c,
7088 client-src/killpgrp.c, client-src/rundump.c,
7089 client-src/runtar.c, client-src/selfcheck.c,
7090 client-src/sendbackup.c, client-src/sendsize.c,
7091 common-src/bsd-security.c, common-src/bsdtcp-security.c,
7092 common-src/bsdudp-security.c, common-src/debug.c,
7093 common-src/dgram.c, common-src/event.c,
7094 common-src/krb5-security.c, common-src/pipespawn.c,
7095 common-src/protocol.c, common-src/rsh-security.c,
7096 common-src/security.c, common-src/security-util.c,
7097 common-src/security-util.h, common-src/ssh-security.c,
7098 common-src/stream.c, common-src/util.c,
7099 recover-src/amrecover.c, restore-src/amidxtaped.c,
7100 server-src/amindexd.c, server-src/chunker.c,
7101 server-src/driver.c, server-src/dumper.c,
7102 server-src/planner.c,
7103 server-src/taper.c: Use the debug_* configuration options.
7104 Use debug_prefix_time to print the time on
7105 all debugging message.
7107 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7108 * amandad-src/amandad.c: Use CNF_REP_TRIES.
7109 * common-src/conffile.c: New CONNECT_TRIES, REQ_TRIES, REP_TRIES
7110 configuration options.
7111 * common-src/conffile.h: New CONNECT_TRIES, REQ_TRIES, REP_TRIES
7112 configuration options.
7113 * common-src/protocol.c: Use CNF_CONNECT_TRIES and CNF_REQ_TRIES.
7114 * common-src/protocol.c: Rename reqtries to resettries.
7115 Rename acktries to reqtries.
7116 * man/xml-source/amanda-client.conf.5.xml: Document new options.
7117 * man/xml-source/amanda.conf.5.xml: Document new options.
7119 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7120 * amandad-src/amandad.c: Read client configuratrion file.
7121 * client-src/client_util.c, client-src/selfcheck.c,
7122 client-src/sendbackup.c, client-src/sendbackup-dump.c,
7123 client-src/sendbackup-gnutar.c, client-src/sendsize.c,
7124 recover-src/amrecover.c, recover-src/extract_list.c,
7125 restore-src/amfetchdump.c, server-src/amadmin.c,
7126 server-src/amcheck.c, server-src/amflush.c,
7127 server-src/amflush.c, server-src/amlabel.c,
7128 server-src/amlogroll.c, server-src/amtrmidx.c,
7129 server-src/amtrmlog.c, server-src/chunker.c,
7130 server-src/diskfile.c, server-src/driver.c,
7131 server-src/dumper.c, server-src/getconf.c,
7132 server-src/planner.c, server-src/reporter.c,
7133 server-src/taper.c: Use generic macro/functions instead of
7134 client/server functions.
7135 * client-src/client_util.h: Remove unuse macro.
7136 * client-src/Makefile.am: Remove clientconf.? files.
7137 * common-src/amanda.h: Define MAX_DUMPERS.
7138 * common-src/conffile.c: New file, merge of client-src/clientconf.c
7139 and server-src/conffile.c
7140 * common-src/conffile.h: New file, merge of client-src/clientconf.c
7141 and server-src/conffile.c
7142 * common-src/Makefile.am (libamanda_la_SOURCES): Add conffile.c
7143 * common-src/Makefile.am (noinst_HEADERS): Add conffile.h
7144 * common-src/util.c: Move many thing to common-src/conffile.c.
7145 * common-src/util.h: Move many thing to common-src/conffile.h.
7146 * server-src/driverio.h: Remove MAX_DUMPERS define.
7147 * server-src/Makefile.am: Remove conffile.[hc].
7149 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7150 * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket.
7152 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7153 * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH
7156 2006-09-18 Jean-Louis Martineau <martineau@zmanda.com>
7157 * common-src/util.c(dump_sockaddr): Convert from network to machine
7158 bytes order before printing.
7159 * common-src/dgram.c (dgram_recv): Print the fromaddr.
7161 2006-09-15 Jean-Louis Martineau <martineau@zmanda.com>
7162 * amandad-src/amandad.c: Correct order of close/dup.
7164 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7165 * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
7167 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7168 * server-src/amstatus.pl.in: Check that $dumpers_active is defined.
7170 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7171 * common-src/util.c (conftoken_getc): Return an int.
7173 2006-09-11 Jean-Louis Martineau <martineau@zmanda.com>
7174 * client-src/sendbackup-dump.c: Works if rundump is not used.
7176 2006-09-05 Jean-Louis Martineau <martineau@zmanda.com>
7177 * Amanda 2.5.1 released.
7178 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1).
7179 * NEWS: Change in amanda-2.5.1
7181 2006-08-30 Jean-Louis Martineau <martineau@zmanda.com>
7182 * server-src/dumper.c: Typo in error message.
7184 2006-08-29 Jean-Louis Martineau <martineau@zmanda.com>
7185 * client-src/selfcheck.c: Print error message to stdout before
7188 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7189 * server-src/dumper.c (log_msgout): Seek to begining of file.
7191 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7192 * server-src/reporter.c: Report if a dump was successfully retried.
7194 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7195 * server-src/amstatus.pl.in: Correct size for retried dump.
7197 2006-08-25 Jean-Louis Martineau <martineau@zmanda.com>
7198 * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0.
7200 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
7201 * common-src/statfs.c (scale): Macro replaced by a function.
7203 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
7204 * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept.
7205 * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept.
7207 2006-08-24 Maitreyee Karmarkar <maitreyee.zmanda.com>
7208 * man/xml-source/amcheck.8.xml: amcheck xml man page change
7210 2006-08-23 Kevin Till <ktill@zmanda.com>
7211 * server-src/driver.c: fix typo
7213 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
7214 * server-src/driver.c (dumper_result): Decrement pendings_aborts.
7215 * server-src/driver.c (handle_dumper_result): Don't send duper result
7216 to chunker if we aborted it.
7217 * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd
7219 * server-src/dumper.c: Accept ABORT command.
7221 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
7222 * restore-src/restore.c (restore): Set bytes_read to the return value
7223 of read_file_header.
7225 2006-08-22 Jean-Louis Martineau <martineau@zmanda.com>
7226 * tape-src/output-tape.c: Works if EOVERFLOW is not defined.
7228 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7229 * amandad-src/amandad.c, common-src/rsh-security.c,
7230 common-src/ssh-security.c, restore-src/restore.c,
7231 server-src/changer.c, server-src/dumper.c: Fix sentinel warning.
7233 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7234 * example/amanda.conf.in: Typo.
7236 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7237 * server-src/driverio.c: Fix bogus "(unsigned long)-1".
7239 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7240 * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd.
7242 2006-08-21 Maitreyee Karmarkar <maitreyee.zmanda.com>
7243 * server-src/amcheck.c: Check specific clients
7244 * man/amcheck.8: add the multiple client check format
7246 2006-08-18 Ian Turner <ian@zmanda.com>
7247 * tape-src/amtapetype.c: Don't crash on exit
7249 2006-08-17 Paddy Sreenivasan <paddy@zmanda.com>
7250 * server-src/driverio.c:
7251 * server-src/changer.c:
7252 * restore-src/amfetchdump.c:
7253 * recover-src/extract_list.c:
7254 * oldrecover-src/extract_list.c:
7255 * common-src/util.c:
7256 * common-src/stream.c:
7257 * common-src/file.c:
7258 * common-src/dgram.c: Fix warnings
7260 2006-08-17 Kevin Till <ktill@zmanda.com>
7261 * common-src/stream.c: Loop 5 times (ntries > 5) on select error
7263 2006-08-14 Paddy Sreenivasan <paddy@zmanda.com>
7264 * client-src/sendsize.c: Fix warning
7265 * server-src/reporter.c: Fix warnings
7267 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
7268 * Amanda 2.5.1b2 released.
7269 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2).
7271 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
7272 * server-src/driver.c (find_diskspace): Make sure size > 0.
7274 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
7275 * server-src/planner.c: Don't check new disk.
7277 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
7278 * server-src/planner.c: Always log if full size estimate is larger
7279 than the available tape space.
7281 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
7282 * server-src/planner.c: Always log if the latest full dump will be
7285 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
7286 * common-src/clock.c (timesub): Don't make a negative time.
7288 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
7289 * man/xml-source/amanda.conf.5.xml: Tell which file are loaded.
7290 * man/xml-source/amanda-client.conf.5.xml: Ditto.
7292 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
7293 * NEWS: for 2.5.1b2.
7295 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
7296 * common-src/util.h (CONFTYPE_HOLDING): New conftype.
7297 * common-src/util.c (conf_init_holding, conf_set_holding,
7298 get_conftype_hold): New fonction.
7299 * example/amanda.conf.in: Example of new holdingdisk value.
7300 * man/xml-source/amanda.8.xml: Example.
7301 * man/xml-source/amanda.conf.5.xml: Document it.
7302 * server-src/amadmin.c (disklist_one): Print holdingdisk value.
7303 * server-src/conffile.c: Parse new CONF_HOLDING type.
7304 * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro.
7305 * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk.
7306 * server-src/driver.c: Use new CONFTYPE_HOLDING value.
7308 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
7309 * client-src/selfcheck.c: Fix bug found by coverity.
7310 * common-src/debug.c: Fix bug found by coverity.
7312 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7313 * server-src/amflush.c: Typo.
7315 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7316 * server-src/amflush.c: Correct test for driver_stream.
7318 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7319 * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates.
7320 * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE.
7321 * server-src/conffile.c (getconf_taperalgo): New function.
7322 * server-src/conffile.h (getconf_taperalgo): Prototype.
7323 * server-src/driver.c: Use getconf_taperalgo.
7325 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7326 * client-src/clientconf.c (client_getconf_boolean): New function.
7327 * client-src/clientconf.h (client_getconf_boolean): Prototype.
7328 * server-src/conffile.c (getconf_boolean): New function.
7329 * server-src/conffile.h (getconf_boolean): Prototype.
7330 * restore-src/amidxtaped.c: Use getconf_boolean.
7331 * server-src/amflush.c: Use getconf_boolean.
7332 * server-src/planner.c: Use getconf_boolean.
7334 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7335 * server-src/getconf.c: Don't print BUGGY.
7336 * changer-src/chg-chio.pl.in: Don't parse BUGGY.
7337 * changer-src/chg-iomega.pl.in: Don't parse BUGGY.
7338 * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY.
7339 * man/xml-source/amgetconf.8.xml: Don't parse BUGGY.
7340 * server-src/amverifyrun.sh.in: Don't parse BUGGY.
7341 * server-src/amverify.sh.in: Don't parse BUGGY.
7343 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7344 * restore-src/restore.c: Cleanup.
7345 * restore-src/amrestore.c: Don't fsf if the last read return 0.
7347 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7348 * client-src/selfcheck.c: Fix bug found by klocwork.
7349 * common-src/rsh-security.c: Fix bug found by klocwork.
7350 * common-src/ssh-security.c: Fix bug found by klocwork.
7351 * server-src/planner.c: Fix bug found by klocwork.
7353 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7354 * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef.
7356 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7357 * server-src/amcheck.c: Fix quoting.
7359 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7360 * client-src/clientconf.c: client_getconf* validate the type.
7361 * common-src/util.c (get_conftype_*): New function.
7362 * common-src/util.h (get_conftype_*): Prototype.
7363 * server-src/conffile.c: getconf* validate the type.
7364 * server-src/conffile.h: Use get_conftype_* function.
7366 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7367 * client-src/clientconf.c: New AMANDATES client config option.
7368 * client-src/clientconf.h: New AMANDATES client config option.
7369 * client-src/amandates.c: Use AMANDATES.
7370 * client-src/amandates.h: Use AMANDATES.
7371 * client-src/selfcheck.c: Use AMANDATES.
7372 * client-src/sendbackup-gnutar.c: Use AMANDATES.
7373 * client-src/sendsize.c:: Use AMANDATES.
7374 * common-src/util.h : New CONF_AMANDATES.
7375 * man/xml-source/amanda-client.conf.5.xml: Document it.
7377 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7378 * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option.
7379 * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option.
7380 * client-src/selfcheck.c: Use GNUTAR_LIST_DIR.
7381 * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR.
7382 * client-src/sendsize.c: Use GNUTAR_LIST_DIR.
7383 * common-src/util.h: New CONF_GNUTAR_LIST_DIR.
7384 * man/xml-source/amanda-client.conf.5.xml: Document it.
7386 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7387 * client-src/calcsize.c, client-src/killpgrp.c,
7388 client-src/rundump.c, client-src/runtar.c,
7389 client-src/selfcheck.c, client-src/sendbackup.c,
7390 client-src/sendsize.c, common-src/amanda.h,
7391 common-src/debug.c, oldrecover-src/amrecover.c,
7392 recover-src/amrecover.c, restore-src/amfetchdump.c,
7393 restore-src/amidxtaped.c, server-src/amadmin.c,
7394 server-src/amcheck.c, server-src/amcleanupdisk.c,
7395 server-src/amflush.c, server-src/amindexd.c,
7396 server-src/amlabel.c, server-src/amlogroll.c,
7397 server-src/amtape.c, server-src/amtrmidx.c,
7398 server-src/amtrmlog.c, server-src/chunker.c,
7399 server-src/driver.c, server-src/dumper.c,
7400 server-src/getconf.c, server-src/planner.c,
7401 server-src/reporter.c, server-src/taper.c: dbrename ot the config dir.
7403 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7404 * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT
7405 and DBG_SUBDIR_CLIENT.
7406 * amandad-src/amandad.c, changer-src/chg-scsi.c,
7407 changer-src/chg-scsi-chio.c, client-src/calcsize.c,
7408 client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c,
7409 client-src/selfcheck.c, client-src/sendbackup.c,
7410 client-src/sendsize.c,
7411 oldrecover-src/amrecover.c, recover-src/amrecover.c,
7412 restore-src/amfetchdump.c, restore-src/amidxtaped.c,
7413 restore-src/amrestore.c, server-src/amadmin.c,
7414 server-src/amcheck.c, server-src/amcleanupdisk.c,
7415 server-src/amflush.c, server-src/amindexd.c,
7416 server-src/amlabel.c, server-src/amlogroll.c,
7417 server-src/amtape.c, server-src/amtrmidx.c,
7418 server-src/amtrmlog.c, server-src/chunker.c,
7419 server-src/diskfile.c, server-src/driver.c,
7420 server-src/dumper.c, server-src/getconf.c,
7421 server-src/infofile.c, server-src/planner.c,
7422 server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER,
7423 DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT.
7425 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7426 * client-src/calcsize.c: Get config on argument.
7427 * client-src/killpgrp.c: Get config on argument.
7428 * client-src/rundump.c: Get config on argument.
7429 * client-src/runtar.c: Get config on argument.
7430 * client-src/sendbackup.c: Call program with config as argument.
7431 * client-src/sendbackup-dump.c: Call program with config as argument.
7432 * client-src/sendbackup-gnutar.c: Call program with config as argument.
7433 * client-src/sendbackup.h: Add global g_options.
7434 * client-src/sendsize.c: Call program with config as argument.
7436 2006-07-23 Jean-Louis Martineau <martineau@zmanda.com>
7437 * client-src/sendbackup-gnutar.c: Fix bug found by splint.
7438 * client-src/sendsize.c: Fix bug found by splint.
7440 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
7441 * server-src/taper.c: Fix amfree(mem_splitbuf).
7443 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
7444 * server-src/diskfile.c, server-src/taper.c: Fix memory leak found
7447 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
7448 * server-src/taper.c: Fix split_buffer allocation problem.
7450 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
7451 * client-src/selfcheck.c, common-src/security-util.c,
7452 restore-src/restore.c, server-src/diskfile.c: Fix memory leak found
7455 2006-07-20 Jean-Louis Martineau <martineau@zmanda.com>
7456 * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c,
7457 client-src/amandates.c, client-src/calcsize.c,
7458 client-src/selfcheck.c, client-src/sendbackup.c,
7459 client-src/sendsize.c, common-src/security-util.c,
7460 recover-src/extract_list.c, restore-src/restore.c,
7461 server-src/amindexd.c, server-src/diskfile.c,
7462 server-src/driver.c, server-src/reporter.c,
7463 server-src/tapefile.c, server-src/taper.c: Fix memory leak found
7466 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
7467 * client-src/selfcheck.c : Read client config file.
7468 * client-src/sendbackup.c: Read client config file.
7469 * client-src/sendsize.c : Read client config file.
7471 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
7472 * amandad-src/amandad.h (g_option_t): Add 'char *config';
7473 * amandad-src/amandad_util.c (parse_g_options): Parse 'config='.
7474 * common-src/amfeatures.h (fe_req_options_config): New amfeature.
7475 * common-src/amfeatures.c (am_init_feature_set):
7476 set fe_req_options_config.
7477 * server-src/amcheck.c: Send 'config=' in global options.
7478 * server-src/dumper.c: Send 'config=' in global options.
7479 * server-src/planner.c: Send 'config=' in global options.
7481 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
7482 * amandad-src/amandad.c: Call dbopen("amandad").
7483 * changer-src/chg-scsi.c: Call dbopen("server").
7484 * changer-src/chg-scsi-chio.c: Call dbopen("server").
7485 * client-src/calcsize.c: Call dbopen("client").
7486 * client-src/getfsent.c: Call dbopen(NULL).
7487 * client-src/killpgrp.c: Call dbopen("client").
7488 * client-src/rundump.c: Call dbopen("client").
7489 * client-src/runstar.c: Call dbopen("client").
7490 * client-src/runtar.c: Call dbopen("client").
7491 * client-src/selfcheck.c: Call dbopen("client").
7492 * client-src/sendbackup.c: Call dbopen("client").
7493 * client-src/sendsize.c: Call dbopen("client").
7494 * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir'
7496 * common-src/bsd-security.c: Call dbopen(NULL).
7497 * common-src/debug.c (debug_open): Call debug_setup_1(subdir)
7498 * common-src/debug.c (debug_setup_1): Take a subdir argument,
7500 * common-src/file.c: Call dbopen(NULL).
7501 * common-src/statfs.c: Call dbopen(NULL).
7502 * common-src/token.c: Call dbopen(NULL).
7503 * oldrecover-src/amrecover.c: Call dbopen("client").
7504 * recover-src/amrecover.c: Call dbopen("client").
7505 * restore-src/amfetchdump.c: Call dbopen("server").
7506 * restore-src/amidxtaped.c: Call dbopen("server").
7507 * restore-src/amrestore.c: Call dbopen("server").
7508 * server-src/amadmin.c: Call dbopen("server").
7509 * server-src/amcheck.c: Call dbopen("server").
7510 * server-src/amcleanupdisk.c: Call dbopen("server").
7511 * server-src/amflush.c: Call dbopen("server").
7512 * server-src/amindexd.c: Call dbopen("server").
7513 * server-src/amlabel.c: Call dbopen("server").
7514 * server-src/amlogroll.c: Call dbopen("server").
7515 * server-src/amtape.c: Call dbopen("server").
7516 * server-src/amtrmidx.c: Call dbopen("server").
7517 * server-src/amtrmlog.c: Call dbopen("server").
7518 * server-src/chunker.c: Call dbopen("server").
7519 * server-src/diskfile.c: Call dbopen("server").
7520 * server-src/driver.c: Call dbopen("server").
7521 * server-src/dumper.c: Call dbopen("server").
7522 * server-src/getconf.c: Call dbopen("server").
7523 * server-src/infofile.c: Call dbopen("server").
7524 * server-src/planner.c: Call dbopen("server").
7525 * server-src/reporter.c: Call dbopen("server").
7526 * server-src/taper.c: Call dbopen("server").
7528 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
7529 * server-src/chunker.c: Fix rt computation.
7530 * server-src/dumper.c: Fix dumptime computation.
7531 * server-src/taper.c: Fix rt computation.
7533 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
7534 * NEWS: Klocwork defects fixed.
7535 * NEWS: Coverity defect fixed.
7537 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
7538 * Makefile.am (pkgdata_DATA): add ReleaseNotes.
7540 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
7541 * Amanda 2.5.1b1 released.
7542 * configure.in: Remove -Werror.
7544 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
7545 * client-src/sendsize.c: Use read/write to copy tar snapshot file.
7546 * client-src/sendbackup-gnutar.c: Ditto.
7548 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
7549 * common-src/stream.c (stream_accept): Loop 5 times on select error.
7551 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
7552 * server-src/dumper.c: The datafd is not scheduled at start,
7554 * common-src/stream.c (tcpm_recv_token): Set error_msg.
7556 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
7557 * common-src/util.c (free_new_argv): Move out of
7558 #ifndef HAVE_LIBREADLINE.
7560 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
7561 * server-src/amadmin.c (tape): Report the number of new tapes instead
7562 of "a new tape" for each tapes.
7563 * server-src/reporter.c (output_tapeinfo): Ditto.
7565 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
7566 * server-src/taperscan.c (changer_taper_scan): Report error from
7569 2006-07-11 John Franks jrfranks@zmanda.com
7570 * configure.in: Fix multiple definition of readline during cygwin
7573 2006-07-11 Paddy Sreenivasan <paddy@zmanda.com>
7574 * common-src/pipespawn.c : Fixed compiler warning
7576 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7577 * man/xml-source/amtapetype.8.xml: No default value for -e.
7579 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7580 * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF.
7581 * server-src/reporter.c: Check tp == NULL.
7583 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7584 * tape-src/tapetype.c: Make -e an needed argument.
7585 * man/xml-source/amtapetype.8.xml: Update man page.
7587 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7588 * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile.
7590 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7591 * recover-src/extract_list.c (check_file_overwrite): Renamed from
7592 check_file_overwite.
7593 * recover-src/extract_list.c (check_file_overwrite): Do the path check
7594 in the correct order (from left ro right).
7596 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7597 * common-src/file.c (debug_agets): Remove call to dbprintf.
7599 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
7600 * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list,
7601 free_unlink_list): New function to manage unlink_list.
7602 * recover-src/extract_list.c (check_file_overwite): Check all
7603 component of an EXTRACT_LIST_ITEM, if a component is not a
7604 directory, add it to the unlink_list.
7605 * recover-src/extract_list.c (extract_files): Call do_unlink_list and
7606 free_unlink_list, rename buf to cwd.
7608 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
7609 * common-src/pipespawn.c (pipespawnv_passwd): Add prototype.
7610 * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL
7611 parameters to the pipespawnv_passwd call.
7612 * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and
7613 passwdfd parameters, add passwdvar and local variable.
7614 Don't use memcpy to set passwdfd.
7615 * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype.
7617 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
7618 * common-src/security-util.c (stream_read_sync_callback): Remove bogus
7621 2006-07-07 Kevin Till <ktill@zmanda.com>
7622 * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1
7623 * common-src/bsdtcp-security.c: ditto
7624 * common-src/krb4-security.c: ditto
7625 * common-src/security-util.c: ditto
7626 * restore-src/amidxtaped.c: ditto
7628 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
7629 * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc.
7631 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
7632 * common-src/security-util.c: Validate and report big packet size.
7634 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
7635 * oldrecover-src/Makefile.am: Typo.
7637 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
7638 * client-src/sendsize.c: Typo.
7640 2006-07-06 John Franks <jrfranks@zmanda.com>
7641 * common-src/genversion.c:
7642 Remove reference to error(). This causes a compile
7645 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
7646 Klocwork bug 128, 170, 182, 470, 517
7647 * changer-src/chg-scsi.c: Validate drivenum, check count_file.
7648 * client-src/sendsize.c: Validate level.
7649 * oldrecover-src/amrecover.c: Use tm.
7650 * recover-src/amrecover.c: Use tm.
7651 * server-src/infofile.c (delete_txinfofile): Use local variable.
7653 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
7654 * server-src/taper.c: Check for cur_filename.
7655 * tape-src/output-file.c: Use vstrextend.
7656 * tape-src/tapeio.c: Check for r.
7658 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
7660 * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint.
7661 * recover-src/extract_list.c (clean_tape_list): Cleanup for splint.
7662 * server-src/amindexd.c: Add a /*@i@*/.
7663 * server-src/conffile.c: Cast to off_t for conf_init_am64.
7664 * server-src/driver.c: Cast to unsigned to print pid_t.
7665 * server-src/find.c (strip_failed_chunks): Cleanup for splint.
7667 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
7669 * server-src/amindexd.c: Free their_feature_string.
7671 * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize.
7673 * common-src/genversion.c: Check NULL result of malloc.
7675 * client-src/selfcheck.c: Check NULL result of fdopen.
7676 Klocwork bug 539, 542
7677 * oldrecover-src/extract_list.c: Fix pfn2->next = fn2.
7678 * recover-src/extract_list.c : Ditto
7679 Klocwork bug 268, 272, 543, 544
7680 * oldrecover-src/extract_list.c: Check for cmd != NULL.
7681 * recover-src/extract_list.c : Ditto
7683 * restore-src/amidxtaped.c: Check for argv != NULL.
7685 * changer-src/scsi-linux.c: Make buffer one larger.
7687 * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters.
7689 * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL.
7691 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7693 * regex-src/regcomp.c (allocset): Check for p->g->sets
7696 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7697 Klocwork bug 169, 170, 181
7698 * changer-src/chg-scsi.c: Validate input.
7700 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7702 * common-src/file.c (rmpdir): Check for p == NULL.
7704 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7706 * common-src/dgram.c (dgram_send_addr): Set addr_save earlier.
7708 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7710 * server-src/taper.c (file_reader_side): Maximum value for
7713 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7715 * recover-src/display_commands.c: Check for cmd != NULL.
7716 * oldrecover-src/display_commands.c: Ditto
7718 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7720 * restore-src/restore.c (restore): Check for tmp_filename.
7722 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7724 * server-src/driver.c: Check for h and activehd >= 0.
7726 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7727 Klocwork bug 338 and 390
7728 * server-src/reporter.c (handle_partial, handle_strange): Check result
7731 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7733 * client-src/selfcheck.c (check_options, check_disk): Check for
7736 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7738 * client-src/clientconf.c (add_client_conf): Check result of realloc.
7740 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7741 Klocwork bug 447 and 449
7742 * restore-src/restore.c: Check for valid sendbackup request.
7744 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7746 * restore-src/restore.c (restore): Set statinfo.st_size.
7748 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7750 * common-src/file.c (sanitise_filename): Never return NULL.
7752 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7753 * amandad-src/Makefile.am: Remove tape-src and libamtape.
7754 * client-src/Makefile.am: Remove tape-src and libamtape.
7755 * man/Makefile.am: Cleanup.
7756 * oldrecover-src/Makefile.am: Remove tape-src and libamtape.
7757 * recover-src/Makefile.am: Remove tape-src and libamtape.
7759 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7761 * server-src/driver.c (handle_dumper_result): Check for
7762 dumper->ev_read != NULL.
7764 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7766 * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL.
7768 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7769 Klocwork bug 556 and 557
7770 * common-src/security-util.c (bsd_recv_security_ok): Check result of
7771 strtok, check service == NULL.
7773 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7775 * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail.
7776 * client-src/calcsize.c (main): check NULL result from calc_load_file.
7778 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7780 * server-src/amflush.c (main): Check return of lookup_disk.
7782 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7783 Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559
7784 * common-src/security-util.c: Check result of fdopen.
7785 * client-src/sendsize.c : Ditto.
7786 * server-src/amcheck.c : Ditto.
7787 * server-src/amflush.c : Ditto.
7789 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7790 Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519
7791 * common-src/bsd-security.c: Replace malloc by alloc.
7792 * common-src/bsdudp-security.c: Ditto
7793 * common-src/genversion.c: Ditto
7794 * recover-src/amrecover.c: Ditto
7795 * restore-src/amidxtaped.c: Ditto
7796 * server-src/reporter.c: Ditto
7798 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7799 Klocwork bug 562 and 475
7800 * recover-src/set_commands.c (cd_dir): Check result of rindex.
7801 * oldrecover-src/set_commands.c (cd_dir): ditto.
7803 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7805 * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev.
7807 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7809 * restore-src/restore.c (restore): Check for final_filename.
7811 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7813 * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next.
7815 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7817 * server-src/amadmin.c (disklist_one): Check localtime return NULL.
7818 * server-src/amadmin.c (info_one) : Ditto.
7820 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7821 Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567
7822 * server-src/amadmin.c (seqdatestr): Check localtime return NULL.
7823 * common-src/util.c (construct_datestamp, construct_timestamp,
7825 * oldrecover-src/amrecover.c (main): Ditto.
7826 * oldrecover-src/uscan.l (ll_parse_date): Ditto.
7827 * recover-src/amrecover.c (main): Ditto.
7828 * recover-src/uscan.l (ll_parse_date): Ditto.
7829 * server-src/amflush.c (main): Ditto.
7830 * server-src/reporter.c (handle_success): Ditto.
7832 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7834 * client-src/sendsize.c (add_diskest): Check for level value.
7836 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7838 * server-src/reporter.c (nicedate): Check month value.
7840 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7842 * server-src/amadmin.c (tape): Limit nb_days to 10000.
7844 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7846 * server-src/amadmin.c (balance): Test 'later' after it is set.
7848 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7849 * common-src/alloc.c (internal_vstralloc): Don't return NULL.
7851 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
7852 * server-src/infofile.c (open_txinfofile): Use local variable.
7854 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
7855 * restore-src/restore.c (label_of_current_slot): Close the tapefd if
7858 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
7859 * server-src/find.c (strip_failed_chunks):
7860 - Get a **output_find as parameter.
7861 - Check the label before remove a valid chunk.
7862 - Memory management fix.
7864 2006-06-28 Jean-Louis Martineau <martineau@zmanda.com>
7865 * common-src/security-util.c: Improve message for .amandahosts.
7867 2006-06-27 Ian Turner <ian@zmanda.com>
7868 * common-src/fileheader.c: Fix a bug where spanned dumps would
7871 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7872 * server-src/amcheck.c: Fix test for holdingdisk negative size.
7874 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7875 * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set.
7876 * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set.
7877 * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set.
7878 * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set.
7879 * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set.
7881 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7882 Patch by Paul Bijnens
7883 * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK).
7885 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7886 * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL.
7887 * client-src/clientconf.c (client_getconf_byname): Ditto
7889 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7890 * recover-src/extract_list.c: check_file_overwite.
7892 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7893 * recover-src/extract_list.c: Do the cleanup of the extract list
7894 at the extraction time
7895 * oldrecover-src/extract_list.c: Ditto.
7897 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7898 * NEWS: Add new features.
7899 * ReleasesNotes: New files.
7901 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7902 * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt
7903 amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt
7904 * docs/amaespipe.8.txt: New file.
7905 * docs/amcrypt.8.txt: New file.
7906 * docs/amcrypt-asym-ossl.8.txt: New file.
7907 * docs/amcrypt-ossl.8.txt: New file.
7908 * docs/amfetchdump.8.txt: New file.
7910 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7911 * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt.
7912 * docs/howto-auth: Documentation on auth.
7913 * docs/*.txt: Update from xml-docs
7915 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7916 * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp.
7917 * man/xml-source/amanda-client.conf.5.xml: Ditto.
7919 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7920 * recover-src/extract_list.c (is_empty_dir): New function.
7921 * recover-src/extract_list.c: Print a warning if cwd is not empty.
7923 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7924 * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument.
7926 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7927 * server-src/amadmin.c: Print errstr returned by match_disklist.
7928 * server-src/amcheck.c: Print errstr returned by match_disklist.
7929 * server-src/amflush.c: Print errstr returned by match_disklist.
7930 * server-src/diskfile.c (match_disklist): Return an error str.
7931 * server-src/diskfile.h (match_disklist): New prototype.
7932 * server-src/planner.c: Print errstr returned by match_disklist.
7933 * server-src/reporter.c: Accept host/disk as arguments.
7935 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7936 * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before
7939 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7940 * server-src/driver.c (wait_children, kill_children): New function.
7941 * server-src/driver.c (wait_for_children): Use wait_children and
7943 * server-src/driver.c (main): Use wait_children.
7944 * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT
7947 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7948 * common-src/amfeatures.c (am_init_feature_set): Set
7949 fe_amrecover_feedme_tape.
7950 * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures.
7951 * common-src/fileheader.c (print_header): Fix.
7952 * recover-src/extract_list.c: Use fe_amrecover_feedme_tape.
7953 * restore-src/amfetchdump.c: Print error if get_lock == 0.
7954 * restore-src/amidxtaped.c: Call send_message if get_lock == 0.
7955 * restore-src/restore.c: Split search_tapes in 5 functions.
7956 * restore-src/restore.h (send_message): prototype.
7958 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7959 * man/xml-source/amfetchdump.8.xml: Document -O and new -o.
7960 * restore-src/amfetchdump.c: Replace -o by -O
7962 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
7963 * client-src/clientconf.c (parse_client_conf): Fix segmentation fault.
7964 * server-src/conffile.c (parse_server_conf): Fix segmentation fault.
7966 2006-06-21 Kevin Till <ktill@zmanda.com>
7967 * changer-src/chg-juke.sh.in
7968 * changer-src/chg-manual.sh.in
7969 * changer-src/chg-mcutil.sh.in
7970 * changer-src/chg-multi.sh.in
7971 * changer-src/chg-mtx.sh.in
7972 * changer-src/chg-rait.sh.in
7973 * changer-src/chg-disk.sh.in
7974 * changer-src/chg-zd-mtx.sh.in
7975 * changer-src/chg-null.sh.in
7976 * changer-src/chg-chs.sh.in
7977 * client-src/patch-system.sh.in
7978 * amplot/amplot.sh.in
7979 * server-src/amcrypt-ossl.sh.in
7980 * server-src/amrmtape.sh.in
7981 * server-src/amcleanup.sh.in
7982 * server-src/amverifyrun.sh.in
7983 * server-src/amaespipe.sh.in
7984 * server-src/amdump.sh.in
7985 * server-src/amcrypt.sh.in
7986 * server-src/amcrypt-ossl-asym.sh.in
7987 * server-src/amcheckdb.sh.in
7988 * server-src/amfreetapes.sh.in
7989 * server-src/amverify.sh.in
7990 change /bin/sh to @SHELL@ for configure to pick up the correct
7991 shell. Sourceforge bug 1466655
7992 * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem
7994 2006-06-20 Kevin Till <ktill@zmanda.com>
7995 * common-src/security-util.c: ignore EINTR in net_writev
7996 patch by Jean-Louis Martineau.
7998 2006-06-20 John Franks <jrfranks@zmanda.com>
7999 * server-src/conffile.c:
8000 Remove Duplicate keyword table entries and alphabetize
8001 to make future duplicates easier to spot...
8003 * server-src/taper.c:
8004 Fix compiler warnings when no mmap function is present.
8006 2006-06-20 John Franks <jrfranks@zmanda.com>
8007 * server-src/diskfile.c:
8008 Default boolean values without parameters to yes if
8009 no value is present in configuration file. This
8010 maintains backward compatibility and is logical since
8011 a value such as "index" reads as an assertion of fact.
8013 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
8014 * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1
8016 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
8017 * man/xml-source/amanda.conf.5.xml: amrecover_check_label and
8018 amrecover_do_fsf default to yes.
8019 * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1.
8020 * server-src/diskfile.c (parse_diskline): index set from
8023 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8024 * server-src/amstatus.pl.in: Match quotes in DONE line.
8026 2006-06-16 Kevin Till <ktill@zmanda.com>
8027 * example/amanda-client.conf.in:
8028 correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER
8029 * server-src/amcrypt-ossl-asym.sh.in:
8030 set RANDFILE for openssl to place entropy file.
8031 * server-src/amcrypt-ossl.sh.in: ditto
8033 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8034 * amandad-src/amandad.c : Use strcasecmp to compare auth.
8035 * client-src/selfcheck.c : Ditto
8036 * client-src/sendbackup.c : Ditto
8037 * restore-src/amidxtaped.c: Ditto
8038 * server-src/amindexd.c : Ditto
8040 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8041 * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use
8042 of arglist_start and arglist_end..
8043 * server-src/amindexd.c (lreply_backend): Remove function.
8045 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8046 * common-src/bsd-security.c (stream_read_callback): Send error to the
8049 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8050 * recover-src/extract_list.c: Typo.
8051 * restore-src/restore.c: Typo.
8053 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8054 * client-src/clientconf.c: Allow include.
8055 * client-src/clientconf.c (read_confline): Don't crash.
8056 * server-src/conffile.c (read_confline): Don't crash.
8057 * recover-src/amrecover.c: Exit if error in conf file.
8059 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8060 * common-src/arglist.h: Typo.
8061 * recover-src/extract_list.c: handle MESSAGE from amidxtaped.
8063 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8064 * common-src/amfeatures.c (am_init_feature_set): Set
8065 fe_amrecover_message.
8066 * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message.
8067 * common-src/arglist.h (printf_arglist_function3): Prototype.
8069 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8070 * restore-src/restore.c (send_message): New function that send message
8071 to stderr and/or amrecover.
8072 * restore-src/restore.c: Call send_message on some error path.
8074 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
8075 * common-src/event.c (event_loop_wait, event_wait): Take an
8076 event_handle_t * as parameter.
8077 * common-src/event.h: New prototype.
8078 * common-src/bsd-security.c: Call event_wait(bs->ev_read).
8079 * common-src/krb4-security.c: Call event_wait(ks->ev_read).
8080 * common-src/krb5-security.c: Call event_wait(ks->ev_read).
8081 * common-src/security-util.c: Call event_wait(ss->ev_read).
8083 2006-06-15 Kevin Till <ktill@zmanda.com>
8084 * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase
8085 * server-src/amcrypt-ossl-asym.sh.in: export PATH
8086 * server-src/amcrypt-ossl.sh.in: export PATH
8089 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
8090 * server-src/amcheck.c: -w doesn't change the test selection.
8091 * man/xml-source/amcheck.8.xml
8093 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
8094 * server-src/planner.c: Log empty disklist and no DLE selected.
8096 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
8097 * common-src/bsd-security.c: Use %u to print in_port_t data.
8098 * common-src/bsdudp-security.c: Ditto.
8100 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
8101 * changer-src/chg-disk.sh.in: Return the number of slot in output of
8103 * changer-src/chg-zd-mtx.sh.in: Ditto.
8105 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
8106 * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already
8107 have the .conf suffix.
8109 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
8110 * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a
8113 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
8114 * common-src/security-util.c (bsd_recv_security_ok): Set error only
8117 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8118 * server-src/driver.c: usetimestamps is a warning.
8120 2006-06-12 Kevin Till <ktill@zmanda.com>
8121 * common-src/security-util.c: if host is 127.0.0.1 and either
8122 localhost or localhost.domain is in .amandahost, hostmatch passes.
8123 * common-src/security-util.h: update check_user_amandahosts prototype
8125 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8126 * amandad-src/amandad.c (process_writenetfd): Close the pipe if the
8127 security_stream is closed.
8128 * recover-src/extract_list.c: Improve message if we don't get thei
8129 FEATURE line from amidxtaped.
8131 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8132 * recover-src/amrecover.c: Read amanda-client.conf and
8133 <conf>/amanda-client.conf.
8135 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8136 * common-src/security-util.c, common-src/tapelist.c,
8137 restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c,
8138 server-src/amtape.c, server-src/changer.c, server-src/driver.c,
8139 server-src/planner.c, server-src/taper.c,
8140 server-src/taperscan.c: Fix memory leak.
8142 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8143 * restore-src/restore.c: Fix Adding at end of list.
8145 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8146 * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL.
8148 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
8149 * server-src/holding.c (pick_datestamp): Fix reading user input.
8151 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
8152 * recover-src/amrecover.c (sigint_handler): Call send_command only if
8155 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
8156 * common-src/util.c (connect_port): ETIMEDOUT is a fatal error.
8158 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
8159 * common-src/stream.c (stream_client_internal): Get errno set
8161 * server-src/driver.c (handle_chunker_result): Don't assert(0) on
8162 receive of a TRYAGAIN from a chunker, but set
8164 * server-src/dumper.c: Try gethostbyname("localhost") before calling
8165 stream_client and log appropriate message.
8167 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
8168 * server-src/amcheck.c: Report ERROR if gethostbyname("localhost")
8171 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
8172 * client-src/clientconf.c (add_client_conf): New function to map
8173 normal option to their
8175 * client-src/clientconf.h (add_client_conf): Prototype.
8176 * man/xml-source/amrecover.8.xml: Document -o.
8177 * recover-src/amrecover.c: Also read <config>/amanda-client.conf
8179 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
8180 * server-src/diskfile.c (parse_diskline): Only return 0 or -1.
8182 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
8183 * amandad-src/amandad.h (g_option_t): Add auth.
8184 * amandad-src/amandad_util.c (init_g_options): Set auth to NULL.
8185 * amandad-src/amandad_util.c (parse_g_options): Parse auth.
8186 * amandad-src/amandad_util.c (free_g_options): Free auth.
8187 * client-src/sendbackup.c: Get amandad_auth from command line and
8188 compare with REQ packet.
8189 * common-src/amfeatures.h (fe_amindexd_options_hostname,
8190 fe_amindexd_options_features,
8191 fe_amindexd_options_auth,
8192 fe_amidxtaped_options_hostname,
8193 fe_amidxtaped_options_features,
8194 fe_amidxtaped_options_auth): New amfeatures.
8195 * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures.
8196 * recover-src/amrecover.c: Send auth in OPTIONS of req packet.
8197 * recover-src/extract_list.c: Send auth in OPTIONS of req packet.
8198 * restore-src/amidxtaped.c: Parse amandad_auth from command line.
8199 Get auth from OPTIONS line.
8201 * server-src/amindexd.c: Parse amandad_auth from command line.
8202 Get auth from OPTIONS line.
8205 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
8206 * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error
8209 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8210 * amandad-src/amandad.c: exec the service with the auth as parameter.
8211 * amandad-src/amandad.c(writebuf): Do no close fd.
8212 * client-src/selfcheck.c: Read the auth for the command line and
8213 compare with the option string.
8214 * client-src/selfcheck.c(main): Do no close 0,1,2 fd.
8216 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8217 * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section.
8218 * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
8219 man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml,
8220 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
8221 man/xml-source/amreport.8.xml,
8222 man/xml-source/amrestore.8.xml: Add -o option.
8224 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8225 * common-src/util.c(get_conftoken): Merge from zmanda.
8227 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8228 * common-src/util.c(get_conftoken): Remove a conftoken_ungetc.
8230 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8231 * common-src/bsd-security.c (stream_read_callback): Merge with zmanda.
8233 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8234 * amandad-src/amandad.c(process_writenetfd): Call security_stream_read
8237 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
8238 * server-src/conffile.c (lookup_interface): Fix merge error.
8240 2006-06-07 John Franks <jrfranks@zmanda.com>
8241 * common-src/amanda.h:
8242 Fix isnormal() replacement macro to indirectly
8243 check if a floating point value is != 0.0.
8244 This prevents compiler warnings.
8246 2006-06-07 John Franks <jrfranks@zmanda.com>
8248 Put in "/* NOTREACHED */" comments after error() calls.
8249 * server-src/diskfile.c
8250 Change disktype index default to yes for backward compatibility.
8252 2006-06-06 John Franks <jrfranks@zmanda.com>
8253 * amandad-src/amandad.c common-src/bsd-security.c:
8254 Correct fix for infinite amandad loop.
8256 2006-06-06 John Franks <jrfranks@zmanda.com>
8257 * common-src/stream.c common-src/util.c:
8259 * server-src/conffile.c:
8260 Remove replicated line
8262 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
8263 * common-src/util.c (conftoken_ungetc): Return the character.
8264 * common-src/util.c (get_conftoken): Merge to allow escape character.
8265 * common-src/util.c (read_block): Allow STRING as IDENT.
8266 * server-src/conffile.c (getconf_long, getconf_size): New function.
8267 * server-src/conffile.c: Cleanup after Merge.
8269 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
8270 * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c,
8271 server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c,
8272 server-src/amtrmlog.c, server-src/getconf.c,
8273 server-src/reporter.c: Usage -o
8274 * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c,
8275 server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c,
8276 server-src/dumper.c, server-src/getconf.c, server-src/planner.c,
8277 server-src/reporter.c,
8278 server-src/taper.c: Add call to report_bad_conf_arg.
8279 * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END.
8281 2006-06-06 John Franks <jrfranks@zmanda.com>
8283 Increase checking level from 1 to 2 for SUN lint.
8284 * client-src/amandates.c client-src/clientconf.c
8285 common-src/security-util.c recover-src/amrecover.c
8286 recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c
8287 server-src/amlabel.c server-src/chunker.c server-src/conffile.c
8288 server-src/conffile.h server-src/diskfile.c server-src/diskfile.h
8289 server-src/driver.c server-src/holding.c server-src/reporter.c
8290 server-src/tapefile.c server-src/taper.c tape-src/amdd.c:
8292 * common-src/util.h common-src/util.c:
8294 Add missing conftype size.
8295 * common-src/bsd-security.c
8296 Fix infinte loop which consumes all /tmp space and 1/2
8297 the CPU time when EOF is reached on socket.
8299 2006-06-05 Paddy Sreenivasan <paddy@zmanda.com>
8300 * common-src/util.c: Fix warning
8302 2006-06-05 Jean-Louis Martineau <martineau@zmanda.com>
8303 * restore-src/amfetchdump.c, server-src/amcheck.c,
8304 server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in,
8305 server-src/amdump.sh.in, server-src/amflush.c,
8306 server-src/amlabel.c, server-src/amlogroll.c,
8307 server-src/amtrmidx.c, server-src/amtrmlog.c,
8308 server-src/chunker.c, server-src/conffile.c,
8309 server-src/diskfile.c, server-src/driver.c,
8310 server-src/driverio.c, server-src/dumper.c,
8311 server-src/getconf.c, server-src/planner.c,
8312 server-src/reporter.c, server-src/taper.c,
8313 server-src/taperscan.c: Allow -o options and some memory fix.
8314 * server-src/conffile.c(lookup_dumptype, lookup_tapetype,
8315 lookup_interface): Use strcasecmp.
8317 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
8318 * common-src/stream.c (stream_client_internal): Use connect_portrange.
8319 * common-src/util.c (connect_portrange): First, try to connect with a
8321 * common-src/util.c (connect_port): Try to connect with a specific port.
8322 * common-src/util.h: Cleanup.
8324 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
8325 * server-src/reporter.c: Remove empty if.
8327 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
8328 * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'.
8329 * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface):
8330 Read a CONF_NL after the call to read_block.
8331 * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not
8332 called from diskfile.
8333 * server-src/diskfile.c: Don't loop on empty line after read_dumptype.
8335 2006-06-01 Kevin Till <ktill@zmanda.com>
8336 * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL.
8337 Thanks to Ben Slusky.
8338 * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL.
8339 * man/xml-source/amcrypt-ossl.8.xml: man page
8340 * man/xml-source/amcrypt-ossl-asym.8.xml: man page
8341 * configure.in: ditto
8342 * man/Makefile.am: ditto
8343 * man/entities/global.entities: ditto
8344 * server-src/Makefile.am: ditto
8346 2006-06-01 John Franks <jfranks@zmanda.com>
8347 Eliminate Cygwin compile warnings.
8348 * client-src/getfsent.c: Quiet unused parameter warnings.
8349 * client-src/selfcheck.c: Quiet unused parameter warnings.
8350 * common-src/security-util.h: Make hostname const char *.
8352 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8353 * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t.
8354 * server-src/find.c: result should be ssize_t.
8356 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8357 * common-src/amanda.h: Remove am64_t.
8358 * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c,
8359 common-src/util.h, server-src/conffile.c, server-src/conffile.h:
8360 Second pass of config cleanup, add function to parse -o argument.
8361 * recover-src/amrecover.c: -o command argument.
8362 * restore-src/restore.c: Use off_t instead of am64_t.
8363 * server-src/amadmin.c: New config subcommand. -o command argument.
8364 * server-src/amlabel.c: Fix memory leak.
8365 * server-src/diskfile.c: Fix memory leak.
8366 * server-src/diskfile.h: Rename no_hold to to_holdingdisk.
8367 * server-src/driver.c: Many.
8368 * server-src/planner.c: am64_t to off_t.
8370 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8371 This is the first pass of a general rewrite of configuration file
8372 parsing, It will now use array to store all options.
8374 * client-src/clientconf.c:
8375 * client-src/clientconf.h:
8376 * server-src/conffile.c:
8377 * server-src/conffile.h:
8378 * common-src/util.c: Many new functions.
8379 * common-src/util.h:
8381 * restore-src/amidxtaped.c, server-src/amcheck.c,
8382 server-src/amcleanupdisk.c, server-src/amlabel.c,
8383 server-src/diskfile.c, server-src/driver.c, server-src/driverio.c,
8384 server-src/find.c, server-src/holding.c, server-src/planner.c,
8385 server-src/reporter.c,
8386 server-src/taper.c: Use new macro to get configuration option.
8388 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8389 * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c,
8390 client-src/selfcheck.c, client-src/sendsize.c,
8391 common-src/bsd-security.c, common-src/bsdtcp-security.c,
8392 common-src/bsdudp-security.c, common-src/fileheader.c,
8393 common-src/rsh-security.c, common-src/security-util.c,
8394 common-src/security-util.h, common-src/ssh-security.c,
8395 recover-src/extract_list.c, server-src/amcheck.c,
8396 server-src/amindexd.c, server-src/amlogroll.c,
8397 server-src/diskfile.c, server-src/driver.c, server-src/dumper.c,
8398 server-src/find.c, server-src/logfile.c, server-src/planner.c,
8399 server-src/reporter.c,
8400 server-src/tapefile.c: Fix memory and fd leak.
8402 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8403 * server-src/find.c (search_holding_disk): Take the datestamp from the
8404 file, not the directory name, otherwise usetimestamps=no doesn't
8407 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8408 * common-src/stream.c (stream_server): New priv parameter if we want
8409 a reserved port. Don't try to
8410 get a reserved port if priv==0.
8411 * common-src/stream.h (stream_server): New prototype.
8412 * common-src/bsd-security.c: Call stream_server with priv==0.
8413 * common-src/krb4-security.c: Call stream_server with priv==1.
8414 * common-src/security-util.c: Call stream_server with priv==0.
8415 * restore-src/amidxtaped.c: Call stream_server with priv==0.
8416 * server-src/chunker.c: Call stream_server with priv==0.
8417 * server-src/taper.c: Call stream_server with priv==0.
8419 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
8420 * server-src/diskfile.c: Return -1 if open of diskfile failed.
8421 * server-src/driver.c: Change message if didn't get a DATE line.
8422 * server-src/reporter.c: Ignore faillure in reading amanda.conf
8423 disklist and tapelist.
8425 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
8426 * man/xml-source/amanda.8.xml: Documents service in .amandahosts.
8428 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
8429 Previous patch doesn't work because 'make -j2' will use fd 3.
8430 * amandad-src/Makefile.am: Use a temporary file for output of
8432 * changer-src/Makefile.am: Ditto.
8433 * client-src/Makefile.am: Ditto.
8434 * common-src/Makefile.am: Ditto.
8435 * oldrecover-src/Makefile.am: Ditto.
8436 * recover-src/Makefile.am: Ditto.
8437 * restore-src/Makefile.am: Ditto.
8438 * server-src/Makefile.am: Ditto.
8439 * tape-src/Makefile.am: Ditto.
8441 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
8442 * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3.
8443 * changer-src/Makefile.am: Ditto.
8444 * client-src/Makefile.am: Ditto.
8445 * common-src/Makefile.am: Ditto.
8446 * oldrecover-src/Makefile.am: Ditto.
8447 * recover-src/Makefile.am: Ditto.
8448 * restore-src/Makefile.am: Ditto.
8449 * server-src/Makefile.am: Ditto.
8450 * tape-src/Makefile.am: Ditto.
8452 2006-05-28 Paddy Sreenivasan <paddy@zmanda.com>
8453 * tape-src/tapeio.c : Fixed warnings
8454 * tape-src/output-rait.c : Fixed warnings
8455 * tape-src/output-null.c : Fixed warnings
8456 * tape-src/output-file.c : Fiexed warnings
8457 * recover-src/amrecover.c: Fixed warnings
8458 * recover-src/extract_list.c : Fixed warnings
8459 * server-src/amadmin.c : Fixed warnings
8460 * server-src/driver.c : Fixed warnings
8461 * server-src/infofile.c : Fixed warnings
8463 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
8464 * server-src/conffile.c (read_dumptype): Parse SSH_KEYS.
8466 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
8467 * common-src/security-util.c (udp_inithandle): Remove bad merge.
8468 * server-src/amindexd.c: Improve error message.
8469 * server-src/planner.c: Add a space in output.
8471 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
8472 * server-src/conffile.c: Set dpcur.no_hold correctly,
8473 Fix for conffile program.
8475 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
8476 Allow many services to share the same tcp connection for
8478 Add a security_close_connection to the security-api.
8479 * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to
8480 control auth specific behaviour.
8481 * common-src/bsd-security.c: Add sec_close_connection_none.
8482 * common-src/bsdudp-security.c: Add sec_close_connection_none.
8483 * common-src/krb4-security.c: Add sec_close_connection_none.
8484 * common-src/krb5-security.c: Add sec_close_connection_none.
8485 * common-src/security.h (security_close_connection): Prototype.
8486 * common-src/security-util.h (sec_close_connection_none,
8487 tcpm_close_connection): Prototype.
8488 * common-src/security-util.h (struct tcp_conn): Add toclose.
8489 * common-src/security-util.h (struct sec_stream): Add closed_by_me and
8491 * common-src/security-util.c (sec_close_connection_none,
8492 tcpm_close_connection): New function.
8493 * common-src/security-util.c: Handle many services on one connection.
8494 * common-src/bsdtcp-security.c: Handle many services on one connection.
8495 * common-src/rsh-security.c: Handle many services on one connection.
8496 * common-src/ssh-security.c: Handle many services on one connection.
8497 * recover-src/amrecover.c: Add call security_close_connection.
8498 * recover-src/extract_list.c: Add call security_close_connection.
8499 * server-src/amcheck.c: Add call security_close_connection.
8500 * server-src/dumper.c: Add call security_close_connection.
8502 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
8503 * common-src/security-util.c (bsd_prefix_packet): We need the username
8504 of the getuid() user.
8506 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
8507 * common-src/fileheader.c: Parse datestamp on F_TAPEEND.
8508 * restore-src/amrestore.c: Set read_result to the result of
8510 * restore-src/restore.c (read_file_header): Return a ssize_t.
8511 Rename bytes_read by read_result.
8512 Set read_result to the result of read_file_header.
8513 * restore-src/restore.h (read_file_header): New prototype.
8515 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8516 * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend.
8518 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8519 * client-src/getfsent.c (print_entry): Add prototype.
8520 * common-src/token.c (main): Shut up compiler warning.
8521 * server-src/infofile.c (dump_rec, dump_db): Add prototype.
8523 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8524 * amandad-src/amandad.c, common-src/bsd-security.c,
8525 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
8526 common-src/event.c, common-src/krb5-security.c,
8527 common-src/protocol.c, common-src/rsh-security.c,
8528 common-src/security-util.c, common-src/ssh-security.c,
8529 common-src/util.c, server-src/driver.c: comment debugging.
8531 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8532 * common-src/security-util.c: typo.
8533 * server-src/amcheck.c: Make sure all check are done.
8535 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8536 Fix for program not compiled by default.
8537 make bsdsecurity still not compile.
8538 * common-src/bsd-security.c(bind_portrange): prototype change.
8539 * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o.
8540 * server-src/conffile.c: Many typo.
8541 * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo.
8543 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8544 * common-src/fileheader.c (validate_datestamp): Works for 8 characters
8546 * common-src/security-util.c (tcpm_send_token): netlength must be
8548 * common-src/security-util.c (bsd_prefix_packet): Fix typo.
8549 * common-src/util.c (get_time): Don't do computation for starttime.
8550 * server-src/conffile.c (read_dumptype): Do computation for starttime.
8552 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8553 * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync,
8554 recv_token): Return ssize_t.
8555 * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i
8556 krb5_stream_auth): Shut up compiler.
8557 * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX.
8559 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8560 * configure.in(AM_INIT_AUTOMAKE): Fix.
8562 2006-05-25 John Franks <jrfranks@zmanda.com>
8563 Pass user CFLAGS correctly to machine generated code and do not
8564 enforce code quality checks on them.
8566 Put compiler code check flags into existing, but previously
8567 unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should
8568 now only contain mandatory flags.
8570 * recover-src/Makefile.am oldrecover-src/Makefile.am:
8571 Use CFLAGS for compiling C code generated from uparse.y and uscan.l
8573 2006-05-24 John Franks <jrfranks@zmanda.com>
8574 Add support for binary path names on disk and in configuration files.
8575 (Allow spaces in filenames.)
8577 Allow quoted strings for disklist entries.
8579 Lint clean code using sun lint, splint and strict GCC warnings.
8580 Type / size clean, dead code removal, portibility checks, etc.
8581 Many checks are still turned off. See configure.in for lint flags used.
8583 Increase debug output in /tmp/amanda/*debug files.
8585 Set SO_REUSEADDR on sockets help avoid running out of ports.
8588 Added lint program discovery with specific targets for SUN lint and splint.
8589 Check each compiler option to see if GCC supports it.
8590 Enable more code quality warnings.
8591 Change missing xsltproc to warning rather than error.
8592 Define _GNU_SOURCES to build flags.
8593 Make size_t and time_t printf format macros.
8594 Check for isnormal() availability.
8595 Don't install man pages if they are not built.
8596 Fix man pages to not attempt build or install if
8597 --without-built-manpages is set.
8599 * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am
8600 client-src/Makefile.am common-src/Makefile.am
8601 oldrecover-src/Makefile.am recover-src/Makefile.am
8602 restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am:
8605 * common-src/amanda.h common-src/dgram.c common-src/stream.c
8607 Keep checking for ports on all bind errors.
8608 Delay and retry a few times if all ports are busy.
8609 Retry bind failures after all methods fail.
8610 increase bind checking timeout to 30 minutes.
8612 * client-src/amandad.c
8613 Issue wait when any child exits. (Get rid of defunct processes)
8614 Stat() index file before using system command.
8615 (shell is not reporting failure if index is not present)
8617 * recover-src/extract_list.c:
8618 Fix problem of 'add *' not adding directories.
8619 Fix problem of freeing pointer not obtained through malloc.
8620 Touch up file addition to actually use the file names
8621 retrieved when adding a directory and not the directory itself.
8623 * server-src/taper.c
8624 Strenghten error recovery for broken syncpipes and writer errors.
8626 * changer-src/chg-scsi-chio.c client-src/amandates.c
8627 client-src/client_util.c client-src/findpass.c client-src/getfsent.c
8628 client-src/selfcheck.c client-src/sendbackup-gnutar.c
8629 client-src/sendbackup-star.c client-src/sendbackup.c
8630 client-src/sendsize.c common-src/bsd-security.c common-src/file.c
8631 common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c
8632 server-src/diskfile.c server-src/driver.c server-src/dumper.c
8633 server-src/holding.c server-src/infofile.c server-src/logfile.c
8634 server-src/tapefile.c:
8635 allow empty lines in input streams.
8637 * recover-src/uparse.y
8638 print message when input is garbage.
8640 * server-src/getconf.c:
8641 Define HOSTNAME_INSTANCE if it was not already defined
8644 * configure.in: Make readline warning less specific. Readline is
8645 used by all input from terminal now.
8647 2006-05-24 Kevin Till <ktill@@zmanda.com>
8648 * client-src/sendbackup.c: ignore SIGINT
8649 * common-src/ssh-security.c: add to total only when n > 0
8650 * common-src/ssh-security.c: add ssh to error,
8651 retry writev when EINTR, EAGAIN is seen
8652 to STDOUT. exit when options is chosen in template mode.
8653 * server-src/driver.c: make sure timestamp is not null
8654 * amanda/configure.in: remove template.d/amanda.conf which is a dup
8655 of amanda-harddisk.conf
8656 * example/Makefile.am: add template.d/README
8657 * amanda-harddisk.conf.in: set tapedev
8658 * recover-src/amrecover.c: aclose socket before exit.
8659 * recover-src/extract_list.c: ditto
8660 * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README
8661 in the failure cases. <> user input field.
8662 * server-src/amcheck.c: no quoted text is a warning
8663 * server-src/driver.c: no need to amfree qname
8664 argument. Search mtx in PATH too.
8665 * example/template.d/advanced.conf.in: fix comment for autoflush
8666 * example/template.d/advanced.conf.in: add usetimestamps
8667 * server-src/diskfile.c: to catch unsupported compress-encryption
8668 combination and abort amdump gracefully.
8669 * man/xml-source/amanda.conf.5.xml: fix syntax, add
8670 dumptype references.
8671 * man/xml-source/amanda.8.xml: fix syntax
8672 * configure.in: ditto
8673 * man/Makefile.am: ditto
8674 * example/amanda.conf.in: tidy up
8675 * man/xml-source/amaespipe.8.xml: add uuencode as requirement
8676 * man/xml-source/amcrypt.8.xml: add uuencode as requirement
8677 * server-src/amcheck.c: catch dumptype misconfiguration
8678 * server-src/diskfile.c: ditto
8679 * server-src/driverio.c: ditto
8680 * server-src/planner.c: ditto
8681 * server-src/conffile.c: check includefile before calling
8682 read_conffile_recursively
8683 * example/amanda.conf.in: add public-key encryption dumptype example
8684 * man/xml-source/amanda.8.xml: fix some formatting
8685 * server-src/planner.c: adjust setuid() calling sequences so that ssh can work
8686 * server-src/dumper.c: ditto
8687 * configure.in: add LOW_TCPPORTRANGE for amrecover
8688 * common-src/stream.c: use LOW_TCPPORTRANGE
8689 * server-src/amdump.sh.in: check if config is supplied
8690 * man/xml-source/amrestore.8.xml: add notes on "-f" option
8692 2006-05-24 Ian Turner <ian@zmanda.com>
8693 * configure.in: Properly document --without-xsltproc as itself,
8694 and not the (nonexistant) option --without-built-manpages.
8696 2006-05-16 John Franks <jrfranks@zmanda.com>
8697 * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c
8698 common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c
8699 common-src/krb5-security.c common-src/match.c common-src/packet.c
8700 common-src/security-util.c common-src/security-util.h
8701 common-src/security.h common-src/util.c oldrecover-src/Makefile.am
8702 oldrecover-src/set_commands.c recover-src/amrecover.c
8703 recover-src/extract_list.c server-src/conffile.c server-src/driver.c
8704 server-src/dumper.c server-src/planner.c server-src/reporter.c:
8705 Minimal changes to get tree to compile along with some more
8708 2006-05-15 Jean-Louis Martineau <martineau@zmanda.com>
8709 * server-src/amadmin.c (disklist_one): print spindle.
8711 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8712 * commmon-src/bsd-security.c: Typo.
8714 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8715 * common-src/Makefile.am (noinst_HEADERS): Add security-util.h.
8717 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8718 Build a big tok_t enum for server and client config.
8719 * client-src/clientconf.c: Move many things to util.c.
8720 * client-src/clientconf.h: Remove extern variable.
8721 * common-src/util.c: Add common part of clientconf.c and conffile.c
8722 * common-src/util.h: Prototype.
8723 * server-src/conffile.c: Move many things to util.c.
8724 * server-src/diskfile.c(disk_parserror): Rename from parserror.
8725 * server-src/taper.c: Make many variable static.
8727 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8728 * restore-src/restore.c: Fix use of possibly NULL input.
8730 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8731 * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from
8733 * server-src/amadmin.c(disklist_one): Print ssh_keys.
8734 * server-src/conffile.c(SSH_KEYS): Parse new dumptype option.
8735 * server-src/conffile.h(dumptype_t): Add ssh_keys.
8736 * server-src/diskfile.c(parse_diskline): Copy new field.
8737 * server-src/diskfile.h(disk_t) Add ssh_keys.
8738 * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP
8739 command to the dumper.
8740 * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command.
8741 * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys.
8742 * server-src/server_util.c(amhost_get_security_conf): Return the
8745 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8746 * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp.
8747 * common-src/bsd-security.c: Use security-util.c.
8748 * common-src/bsdtcp-security.c: New security-api.
8749 * common-src/bsdudp-security.c: New secutity-api.
8750 * common-src/krb4-security.c: Use security-util.c.
8751 * common-src/krb5-security.c: Use security-util.c.
8752 * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c,
8754 and security-util.c.
8755 * common-src/protocol.c: Debuging cleanup.
8756 * common-src/rsh-security.c Use security-util.c.
8757 * common-src/security.c: Use bsdtcp_security_driver
8758 and bsdudp_security_driver.
8759 * common-src/security.h(accept): New prototype.
8760 * common-src/security-util.c: Many common function for security-api.
8761 * common-src/security-util.h: many prototype for security-api.
8762 * common-src/ssh-security.c Use security-util.c.
8763 * common-src/stream.c (stream_client_internal): Call connect_portrange.
8764 * common-src/util.c (make_socket): Make a socket.
8765 * common-src/util.c (connect_portrange): Make a socket, bind it and
8767 * common-src/util.h (connect_portrange): Prototype.
8768 * configure.in: new --with-bsdtcp-security and --with-bsdudp-security.
8770 2006-05-10 Jean-Louis Martineau <martineau@zmanda.com>
8771 Patch by <amanda@inventivetechnology.at>
8772 * man/xml-source/amrecover.8.xml: Document listhost command.
8774 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8775 Patch by <amanda@inventivetechnology.at>
8776 * server-src/amindexd.c: new LISTHOST command.
8777 * recover-src/set_commands.c (list_host): New function.
8778 * recover-src/amrecover.h (list_host): Prototype.
8779 * recover-src/help.c (list_host): Print help.
8780 * recover-src/uscan.l: Parse listhost command.
8781 * recover-src/uparse.y: LISTHOST command.
8782 * oldrecover-src/set_commands.c (list_host): New function.
8783 * oldrecover-src/amrecover.h (list_host): Prototype.
8784 * oldrecover-src/help.c (list_host): Print help.
8785 * oldrecover-src/uscan.l: Parse listhost command.
8786 * oldrecover-src/uparse.y: LISTHOST command.
8788 2006-05-08 Ian Turner <ian@zmanda.com>
8789 * server-src/amcheck.c: Make it an error when the expected new
8790 tape cannot be found. Thanks to Paul Bijnens
8791 <paul.bijnens@xplanation.com> for the patch and to Jason L
8792 Tibbitts III <tibbs@math.uh.edu> for noticing this problem.
8794 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8795 * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize
8796 for nativa and compressed estimate size.
8797 * planner.c: Send the native and compressed estimate size to the driver.
8798 * driver.c: log with L_STATS the estimate of a successful dump.
8799 * reporter.c: Parse the L_STATS.
8800 * reporter.c(generate_bad_estimate): New function that will put in the
8801 NOTES section all bad estimate.
8803 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8804 * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile.
8805 * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src.
8806 * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c
8807 * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h
8808 * oldrecover-src/display_commands.c: Copy of old
8809 recover-src/display_commands.c
8810 * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c
8811 * oldrecover-src/help.c: Copy of old recover-src/help.c
8812 * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am
8813 * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c
8814 * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y
8815 * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l
8816 * recover-src/amrecover.c: Works with security-api.
8817 * recover-src/amrecover.h: Works with security-api.
8818 * recover-src/extract_list.c: Works with security-api.
8820 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8821 * amandad-src/amandad.c: Fixup.
8823 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8824 * common-src/packet.h: pkt_t.body is now a char*.
8825 * common-src/packet.c (pkt_init): Return an alloced pkt.body.
8826 * common-src/packet.c (pkt_cat): Increade pkt.body size if needed.
8827 * common-src/protocol.c: Free allocated pkt.body.
8828 * common-src/dgram.c (dgram_cat): Return int.
8829 * common-src/dgram.h (dgram_cat): New prototype.
8830 * common-src/krb5-security.c: Work with dynamicaly allocated packet
8832 * common-src/rsh-security.c: Work with dynamicaly allocated packet
8834 * common-src/ssh-security.c: Work with dynamicaly allocated packet
8836 * amandad-src/amandad.c: Work with dynamicaly allocated packet body.
8837 * server-src/amcheck.c: Don't limit packet size.
8838 * server-src/planner.c: Don't limit packet size.
8840 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8841 * amandad-src/amandad.c (service_new): Apply the correct patch.
8843 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8844 * server-src/taper.c: Fix compiler warning.
8845 * common-src/match.c: Many function get const parameters.
8846 * common-src/amanda.h: Prototype change.
8848 2006-05-07 Jean-Louis Martineau <martineau@zmanda.com>
8849 * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[]
8850 and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to
8851 DATA_FD_OFFSET+DATA_FD_COUNT-1.
8853 2006-05-05 Jean-Louis Martineau <martineau@zmanda.com>
8854 * common-src/tapelist.c (append_to_tapelist): Remove bad amfree.
8856 2006-05-05 Nikhil Bandiwadekar <nikhil@zmanda.com>
8857 * server-src/conffile.c: fix to correctly handle am64 datatype
8859 2006-05-04 Jean-Louis Martineau <martineau@zmanda.com>
8860 * server-src/taper.c: Write the slot number in the
8861 'taper: wrote label' line.
8862 * server-src/amverifyrun.sh.in: Parse that line.
8864 2006-05-02 Jean-Louis Martineau <martineau@zmanda.com>
8865 * amstatus.pl.in: Limit characters for hostname in setup_estimate line.
8867 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
8868 * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option
8870 * common-src/ssh-security.c: Ditto.
8872 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
8873 * amandad-src/amandad.c: Accept a list of services on the command line.
8875 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
8876 * common-src/tapelist.c (append_to_tapelist): Fix memory leak.
8878 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
8879 * amandad-src/amandad.c: Fix memory leak.
8880 * amandad-src/amandad.h (free_g_options): Prototype.
8881 * amandad-src/amandad_util.c (free_g_options): New function to free a
8883 * server-src/amcleanupdisk.c: Fix memory leak.
8884 * server-src/reporter.c: Fix memory leak.
8885 * server-src/tapefile.c: Fix memory leak.
8886 * server-src/taperscan.c: Put message in error_message.
8888 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8889 * server-src/amcheck.c (start_server_check): Memory leak.
8891 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8892 * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h.
8893 * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h.
8895 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8896 * man/xml-source/amanda-client.conf.5.xml: New file.
8898 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8899 * common-src/amanda.h (check_user_ruserok, check_user_amandahosts):
8901 * common-src/bsd-security.c: Pass the service name across check_user*
8902 function and validate it from the .amandahosts file.
8904 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8905 * restore-src/amidxtaped.c: Can be launched by amandad.
8906 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
8907 * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad.
8908 * restore-src/restore.c: Fix indentation.
8910 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8911 * server-src/amindexd.c: Can be launched by amandad
8912 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
8913 * server-src/Makefile.am (amindexd_LDADD): Link with libamandad.
8915 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8916 * amandad-src/amandad.c: New file.
8917 * amandad-src/amandad.h: New file.
8918 * amandad-src/amandad_util.c: New file, add function init_g_options
8920 * amandad-src/Makefile.am: New file.
8921 * client-src/amandad.c: Removed file.
8922 * client-src/amandad.h: Removed file.
8923 * client-src/client_util.c (init_g_options, parse_g_options): Remove.
8924 * client-src/client_util.h (init_g_options, parse_g_options): Remove.
8925 * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src
8926 * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad.
8927 * client-src/Makefile.am (LDADD): Add
8928 ../amandad-src/libamandad.$(LIB_EXTENSION).
8929 * client-src/selfcheck.c: #include "amandad.h".
8930 * client-src/sendsize.c: #include "amandad.h".
8931 * configure.in (AC_CONFIG_FILES): amandad-src/Makefile.
8932 * Makefile.am (SUBDIRS): amandad-src.
8934 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8935 * docs/security-api.txt: Document security_read_sync.
8936 * common-src/security.h: Typo.
8938 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8939 * client-src/amandad.c (service_new): Pass the "amandad" argument to
8942 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8943 * common-src/bsd-security.c: Allow to run many services on the same
8945 * common-src/rsh-security.c: Ditto.
8946 * common-src/ssh-security.c: Ditto.
8948 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8949 * common-src/security.h (security_stream_read_sync): Prototype.
8950 * common-src/bsd-security.c (bsd_stream_read_sync): New function.
8951 * common-src/krb4-security.c (krb4_stream_read_sync): New function.
8952 * common-src/krb5-security.c (krb5_stream_read_sync): New function.
8953 * common-src/rsh-security.c (rsh_stream_read_sync): New function.
8954 * common-src/ssh-security.c (ssh_stream_read_sync): New function.
8956 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8957 * client-src/amandad.c: Open pipe in both direction to the services.
8958 * client-src/sendbackup.c: Deal with the newer pipe.
8960 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8961 * client-src/clientconf.c: New file to read the client configuration
8963 * client-src/clientconf.h: Header.
8964 * client-src/Makefile.am: Link clientconf into libamclient.
8965 * configure.in (AC_CONFIG_FILES): example/amanda-client.conf.
8966 * docs/amanda-client.conf.5.txt: New documentation.
8967 * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt.
8968 * example/amanda-client.conf.in: exemple.
8969 * example/Makefile.am (noinst_DATA): amanda-client.conf.
8970 * man/entities/global.entities: amclientconf.
8971 * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5.
8972 * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5).
8973 * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5).
8974 * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5).
8976 2006-04-26 K. K. George<kkg@zmanda.com>
8977 * server-src/reporter.c: Fix to untaint the mailto parameter.
8978 * server-src/amcheck.c: Fix to untaint the mailto parameter
8979 * changer-src/chg-scsi.c: Fix to untaint the mailto parameter.
8980 * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter.
8981 * common-src/util.h: Added function to check if the mailto
8982 parameter is untainted
8983 * common-src/util.c: Added function to check if the mailto
8984 parameter is untainted
8986 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
8987 * common-src/event.c(event_wait): New function.
8988 * common-src/event.h(event_wait): prototype.
8989 * docs/eventapi.txt: Document event_wait.
8991 2006-04-24 Jean-Louis Martineau <martineau@zmanda.com>
8992 * server-src/planner.c: Fix divide by zero if runtapes==0.
8994 2006-04-24 K. K. George<kkg@zmanda.com>
8995 * server-src/reporter.c: Fix to make the mailto parameter in
8996 amanda.conf optional. Added two more commandline options
8998 * server-src/amcheck.c: Fix to make the mailto parameter in
8999 amanda.conf optional.
9000 * man/xml-source/amreport.8.xml: Modified to document the
9001 -i & -Maddress commandline parameters
9002 * docs/amreport.8.txt: Modified to document the
9003 -i & -Maddress commandline parameters
9004 * changer-src/chg-scsi.c: Fix to make the mailto parameter in
9005 amanda.conf optional.
9006 * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in
9007 amanda.conf optional.
9009 2006-04-23 Jean-Louis Martineau <martineau@zmanda.com>
9010 * server-src/driver.c (handle_chunker_result): make sure that
9011 est_size > act-size.
9013 2006-04-21 Jean-Louis Martineau <martineau@zmanda.com>
9014 * server-src/changer.c (changer_command): Make sure fd[0] != 1.
9016 2006-04-19 Jean-Louis Martineau <martineau@zmanda.com>
9017 * restore-src/amidxtaped.c: Cleanup.
9019 2006-04-19 Ian Turner <ian@zmanda.com>
9020 * tape-src/output-tape.c: Do a more thourough check to ensure
9021 that we actually got a tape device, before proceeding to use
9024 2006-04-18 Ian Turner <ian@zmanda.com>
9025 * changer-src/chg-disk.sh.in: Check that the virtual device is a
9026 directory with proper permissions.
9027 * server-src/changer.c: Do the right thing (failure) if there is
9028 a problem with the changer.
9030 2006-04-18 Ian Turner <ian@zmanda.com>
9031 * recover-src/uscan.l: Accept setdate of the form
9032 yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss.
9033 * man/xml-source/amrecover.8.xml: Document this change.
9035 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
9036 * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format.
9037 * man/xml-source/amrecover.8.xml: Ditto.
9039 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
9040 * client-src/amandad.c: Use %p to printf pointer.
9042 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
9043 * server-src/amtape.c: Add update command.
9045 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9046 * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if
9047 no valid tape are found.
9049 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9050 * server-src/amcheck.c: Call taper_scan with
9051 (..., FILE_taperscan_output_callback,outf) arguments.
9052 * server-src/amtape.c: Call taper_scan with
9053 (..., FILE_taperscan_output_callback,stderr) arguments.
9054 * server-src/taper.c: Call taper_scan with
9055 (..., CHAR_taperscan_output_callback, &error_msg) arguments.
9056 * server-src/taperscan.h(FILE_taperscan_output_callback,
9057 CHAR_taperscan_output_callback): Protoype.
9058 * server-src/taperscan.h(taper_scan): New protoype, remove
9059 error_message arg, add taperscan_output_callback and data arg.
9060 * server-src/taperscan.c(FILE_taperscan_output_callback): Callback
9061 that print the msg to it's arg, which is FILE*.
9062 * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback
9063 that append the msg to it's arg, which is char*.
9064 * server-src/taperscan.c(taper_scan): Fix for new arguments.
9065 * server-src/taperscan.c(changer_taper_scan): Fix for new arguments.
9067 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9068 * man/xml-source/amanda.conf.5.xml: Document amandad_path and
9069 client_username dumptype option.
9071 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9072 * common-src/krb4-security.c: Increase timeout to 60 seconds.
9073 * common-src/rsh-security.c: Increase timeout to 60 seconds.
9074 * common-src/ssh-security.c: Increase timeout to 60 seconds.
9076 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
9077 * server-src/conffile.c: New configuration option usetimestamps.
9078 * server-src/conffile.h: New configuration option usetimestamps.
9079 * example/amanda.conf.in: Document new usetimestamps options.
9080 * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options.
9081 * server-src/amflush.c: Use datestamp or timestamp depending of
9083 * server-src/planner.c: Use datestamp or timestamp depending of
9085 * server-src/driver.c: Log an ERROR if many run a day and
9086 usetimestamps us set to no.
9088 2006-04-07 Ian Turner <ian@zmanda.com>
9089 * server-src/changer.c: Don't crash if we go to taperscan "Plan
9092 2006-04-07 Ian Turner <ian@zmanda.com>
9093 * server-src/changer.c: Only print changer debug messages if
9094 there was a problem.
9096 2006-04-07 Ian Turner <ian@zmanda.com>
9097 * recover-src/amrecover.c: Print a more helpful command if mount
9098 point autodetection fails.
9099 * recover-src/display_commands.c: Print a more helpful message
9100 if the user tries to ls without having setdisk earlier.
9102 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
9103 * server-src/amadmin.c: Fix use of datestamp as int.
9104 * server-src/find.c: Ditto.
9105 * server-src/reporter.c: Ditto.
9106 * server-src/tapefile.c: Ditto.
9108 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
9109 * common-src/Makefile.am: Fix dependency between genversion and
9112 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
9113 * recover-src/amrecover.c: Change initialization of server_name and
9116 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
9117 * restore-src/amrestore.c: reset count_error to 0 on a restore.
9119 2006-04-06 Kevin Till <ktill@zmanda.com>
9120 * server-src/Makefile.am: always install planner/dumper setuid-root
9121 * server-src/amcheck.c: check planner/dumper for setuid-root
9122 * server-src/dumper.c: drop privilege asap. Switch between bsd
9123 and ssh auth is now possible with the same installation.
9124 * server-src/planner.c: ditto
9126 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
9127 * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the
9128 changer_loadslot call.
9130 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
9131 * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp
9134 2006-04-06 Ian Turner <vectro@vectro.org>
9135 * recover-src/amrecover.c (main): Check AMANDA_SERVER and
9136 AMANDA_TAPE_SERVER environment variables before falling back
9137 to compiled-in defaults. Document this new behavior. Thanks to
9138 Malcolm Locke <malc@hoodee.co.uk> for the idea and patch.
9140 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
9141 * server-src/reporter.c (handle_chunk): CHUNK line always have the
9144 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9145 * server-src/krb5-security.c: Fix for krb5_connect call in
9148 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9149 * server-src/driver.c (start_some_dumps): Recover correctly if the
9150 chunker reply with something that is not a PORT command.
9151 * server-src/driver.c (dump_to_tape): remove duplicate free_serial.
9152 * server-src/driverio.c: Improve debugging.
9154 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9155 * common-src/tapelist.c(unmarshal_tapelist_str): Fix
9156 "value computed is not used" compiler warning.
9158 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9159 * common-src/bsd-security.c (bsd_connect): New datap argument.
9160 * common-src/krb4-security.c (krb4_connect): New datap argument.
9161 * common-src/krb5-security.c (krb5_connect): New datap argument.
9162 * common-src/rsh-security.c (rsh_connect): New datap argument,
9163 retrieve amanda_path and client_username from configuration.
9164 * common-src/ssh-security.c (ssh_connect): New datap argument,
9165 retrieve amanda_path and client_username from configuration.
9166 * common-src/protocol.c: Pass new datap argument to security_connect.
9167 * common-src/security.h(connect): New prototype.
9168 * common-src/security.h(security_connect): Add datap to macro.
9169 * server-src/amadmin.c(disklist_one): Print amandad_path and
9171 * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new
9173 * server-src/conffile.h(dumptype_t): Add amandad_path and
9175 * server-src/diskfile.c(parse_diskline): Copy new field.
9176 * server-src/diskfile.h(disk_t) Add amandad_path and client_username.
9177 * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and
9178 dp->client_username in a PORT_DUMP command to the dumper.
9179 * server-src/dumper.c: Parse amandad_path and client_username in a
9181 * server-src/dumper.c(dumper_get_security_conf): New function to return
9182 configuration option to the security-api.
9183 * server-src/dumper.c: Use dumper_get_security_conf for the callback
9184 to protocol_sendreq.
9185 * server-src/planner.c Use amhost_get_security_conf for the callback
9186 to protocol_sendreq.
9187 * server-src/amcheck.c: Use amhost_get_security_conf for the callback
9188 to protocol_sendreq.
9189 * server-src/server_util.c(amhost_get_security_conf): New function to
9190 return configuration option to the security-api,
9191 it expect an am_host_t arg.
9192 * server-src/server_util.h(amhost_get_security_conf): Prototype.
9194 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9195 * server-src/amstatus.pl.in: Remove duplicate instruction.
9197 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9198 * server-src/amindexd.c: Remove all code that set str_buffer_size,
9199 rename str_buffer_size to reply_buffer_size,
9200 rename buf to reply_buffer,
9201 * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer
9204 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9205 * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature.
9206 * common-src/amfeatures.c (am_init_feature_set):
9207 Add fe_amrecover_timestamp.
9208 * server-src/amindexd.c(opaque_ls_one): New function.
9209 * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a
9210 datestamp if client doesn't have fe_amrecover_timestamp.
9212 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9213 * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS".
9214 * server-src/amindexd.c (cmp_date): New function to cmp datestamp with
9215 timestamp, use it where needed.
9216 * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp.
9217 * server-src/amtrmidx.c: Fix for timestamp.
9218 * server-src/disk_history.h (DUMP_ITEM): Increase size of date.
9220 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9221 * server-src/amflush.c: Send DATE line to driver, use timestamp.
9222 * server-src/amindex.c (getindexfname): Increase datebuf size.
9223 * server-src/amtrmlog.c: Fix bug with date_keep computation if
9225 * server-src/amtrmlog.c: rotate timestamped log file.
9226 * server-src/chunker.c: Receive START cmd, use timestamp.
9227 * server-src/driver.c: Receive DATE line, send START cmd to chunker,
9229 * server-src/driverio.c (startup_dump_processes): Send START cmd to
9231 * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command.
9232 * server-src/driverio.h (startup_dump_processes): Prototype change,
9234 * server-src/dumper.c: Receive START cmd, use timestamp.
9235 * server-src/find.c (find_nicedate): Fix for timestamp.
9236 * server-src/planner.c: Send DATE line to driver, use timestamp.
9237 * server-src/server_util.c (cmdstr): Add START.
9238 * server-src/server_util.h (cmd_t): Add START.
9239 * server-src/taper.c: Get timestamp from TAPER_START command.
9241 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9242 * server-src/amindexd.c (amindexd_nicedate): New function.
9243 * server-src/find.h (struct find_result_s): Remove datestamp and
9244 datestamp_aux field, only timestamp will be used.
9245 * restore-src/amfetchdump.c: Convert datestamp to 'char *'.
9246 * restore-src/restore.c: Convert datestamp to 'char *'.
9247 * server-src/amindexd.c: Convert datestamp to 'char *'.
9248 * server-src/amlabel.c: Convert datestamp to 'char *'.
9249 * server-src/amtrmidx.c: Convert datestamp to 'char *'.
9250 * server-src/find.c: Convert datestamp to 'char *'.
9251 * server-src/reporter.c: Convert datestamp to 'char *'.
9252 * server-src/tapefile.c: Convert datestamp to 'char *'.
9253 * server-src/tapefile.h: Convert datestamp to 'char *'.
9254 * server-src/taper.c: Convert datestamp to 'char *'.
9256 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9257 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1).
9259 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9260 * server-src/driver.c: Change expression to remove overflow.
9262 2006-03-29 Jean-Louis Martineau <martineau@zmanda.com>
9263 * client-src/calcsize.c: Don't use declaration after instruction,
9264 older compiler don't accept it.
9266 2006-03-23 Jean-Louis Martineau <martineau@zmanda.com>
9267 * Amanda 2.5.0 released.
9268 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0).
9269 * NEWS: Update for 2.5.0
9271 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
9272 * server-src/dumper.c: wait for compress/index/encryp subprocess.
9274 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
9275 * server-src/amstatus.pl.in: Parse PARTIAL reply.
9277 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
9278 * server-src/driver.c: Put '#define HOLD_DEBUG' in comment.
9280 2006-03-21 Jean-Louis Martineau <martineau@zmanda.com>
9281 * server-src/chunker.c: Don't loop on startup_chunker.
9282 * server-src/dumper.c: Don't wait for all children, some process (ssh)
9283 might not terminate.
9285 2006-03-17 Ian Turner <ian@zmanda.com>
9286 * server-src/taper.c (read_file): When finished flushing a
9287 chunked dump, print information about the whole dump, not just
9288 the last chunk. Also, fix some memory leaks.
9290 2006-03-16 Kevin Till <ktill@zmanda.com>
9291 * server-src/amverify.sh.in: check for EOI. amrestore only
9292 reports EOI for some tapetypes.
9294 2006-03-15 Jean-Louis Martineau <martineau@zmanda.com>
9295 * server-src/conffile.c: Fix heritage of auth.
9297 2006-03-14 Kevin Till <ktill@@zmanda.com>
9298 * example/amanda.conf.in: add dumptype custom-compress.
9299 add ssh,krb5 as valid input for auth.
9300 * man/xml-source/amanda.conf.5.xml: give reference to
9301 custom-compress, encrypt-fast dumptypes.
9303 2006-03-14 Jean-Louis Martineau <martineau@zmanda.com>
9304 * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to
9306 * common-src/amfeatures.c (am_init_feature_set): Set
9307 fe_amrecover_FEEDME.
9308 * restore-src/restore.h (search_tapes): Add their_features parameter.
9309 * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call.
9310 * restore-src/amidxtaped.c: Add their_features to search_tapes call.
9311 * restore-src/restore.c (search_tapes): Send FEEDME only if client
9314 2006-03-11 Jean-Louis Martineau <martineau@zmanda.com>
9315 * server-src/driverio.c : Fix errors found using Coverity tools.
9317 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
9318 * server-src/taperscan.c: Fix Coverity fix.
9320 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
9321 * changer-src/scsi-changer-driver.c:
9322 Fix errors found using Coverity tools.
9323 * server-src/diskfile.c: Fix errors found using Coverity tools.
9324 * server-src/planner.c: Fix errors found using Coverity tools.
9325 * server-src/taperscan.c: Fix errors found using Coverity tools.
9327 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
9328 * server-src/driverio.c: Undo my bad fix.
9329 * server-src/infofile.c: Fix errors found using Coverity tools.
9330 * tape-src/tapetype.c: Fix errors found using Coverity tools.
9332 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9333 * restore-src/restore.c: Fix errors found using Coverity tools.
9335 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9336 * server-src/holding.c: Fix errors found using Coverity tools.
9338 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9339 * server-src/driverio.c: Fix errors found using Coverity tools.
9340 * server-src/planner.c: Fix errors found using Coverity tools.
9342 2006-03-09 John Franks <jrfranks@zmanda.com>
9343 * changer-src/chg-scsi.c: Fix errors found using Coverity tools.
9344 * changer-src/scsi-changer-driver.c:
9345 Fix errors found using Coverity tools.
9346 * changer-src/sense.c: Fix errors found using Coverity tools.
9347 * client-src/sendbackup-dump.c: Fix errors found using Coverity tools.
9348 * client-src/sendbackup.c: Fix errors found using Coverity tools.
9349 * recover-src/display_commands.c:Fix errors found using Coverity tools.
9350 * regex-src/regcomp.c: Fix errors found using Coverity tools.
9351 * restore-src/restore.c: Fix errors found using Coverity tools.
9352 * server-src/amindexd.c: Fix errors found using Coverity tools.
9353 * server-src/diskfile.c: Fix errors found using Coverity tools.
9354 * server-src/driver.c: Fix errors found using Coverity tools.
9355 * server-src/driverio.c: Fix errors found using Coverity tools.
9356 * server-src/infofile.c: Fix errors found using Coverity tools.
9357 * server-src/planner.c: Fix errors found using Coverity tools.
9358 * server-src/taper.c: Fix errors found using Coverity tools.
9359 * server-src/taperscan.c: Fix errors found using Coverity tools.
9360 * server-src/conffile.c: Change report default to use at least
9361 one space between every column.
9363 2006-03-08 Jean-Louis Martineau <martineau@zmanda.com>
9364 * client-src/amandad.c: Fix coverity bug.
9365 * client-src/calcsize.c: Fix coverity bug.
9366 * client-src/client_util.c: Fix coverity bug.
9367 * client-src/sendbackup.c: Fix coverity bug.
9368 * client-src/sendsize.c: Fix coverity bug.
9369 * common-src/bsd-security.c: Fix coverity bug.
9370 * common-src/file.c: Fix coverity bug.
9371 * common-src/fileheader.c: Fix coverity bug.
9372 * common-src/pipespawn.c: Fix coverity bug.
9373 * recover-src/extract_list.c: Fix coverity bug.
9374 * restore-src/restore.c: Fix coverity bug.
9375 * server-src/amindexd.c: Fix coverity bug.
9376 * server-src/conffile.c: Fix coverity bug.
9377 * server-src/diskfile.c: Fix coverity bug.
9378 * server-src/driverio.c: Fix coverity bug.
9379 * server-src/dumper.c: Fix coverity bug.
9380 * server-src/planner.c: Fix coverity bug.
9381 * server-src/reporter.c: Fix coverity bug.
9383 2006-03-07 Paddy Sreenivasan <paddy@zmanda.com>
9384 * man/xml-source/amanda.8.xml: added amaespipe and amcrypt.
9386 2006-03-07 Jean-Louis Martineau <martineau@zmanda.com>
9387 * server-src/taper.c: Don't log a multi-line message in no-tape case.
9389 2006-03-06 John Franks <jrfranks@zmanda.com>
9390 * recover-src/extract_list.c:
9391 1) Don't add '.' directory twice to tar extract list.
9392 2) Don't prepend extra '/' to extract patterns starting with '/'.
9393 3) Convert "/" extract pattern to "*" equivalent.
9395 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9396 * server-src/taperscan.c (scan_slot): append slotstr to
9398 * server-src/taperscan.c: Add a '\n' after each slot error message.
9400 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9401 * server-src/reporter.c (handle_error): Handle error from taper.
9403 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9404 * server-src/taper.c (label_tape): Set errstr and return 0 if no
9405 valid tape are available.
9407 2006-03-03 Ian Turner <ian@zmanda.com>
9408 * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and
9410 * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME
9411 * recover-src/extract_list.c: Accept port number with CONNECT;
9412 implement fe_amidxtaped_FEEDME.
9413 * restore-src/amidxtaped.c: Introduce port number with CONNECT.
9414 (closes SF bug 1431623)
9415 * restore-src/restore.c: Implement fe_amidxtaped_FEEDME.
9416 (closes SF bug 1421433)
9417 * restore-src/restore.h: Properly name rst_flags.
9419 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
9420 * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main):
9421 Set bh->proto_handle to NULL after allocating bh.
9422 * common-src/bsd-security.c (bsd_close): Donothing if
9423 bh->proto_handle == NULL.
9425 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
9426 * common-src/protocol.c (s_repwait): Decrease p->timeout on receive
9429 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
9430 * server-src/driver.c: Print dumper TRY_AGAIN message.
9432 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
9433 * server-src/planner.c: Don't print estimate size if estimate failed.
9435 2006-02-25 Ian Turner <ian@zmanda.com>
9436 * man/Makefile.am: Don't use static patterns (as they are not
9437 portable), use implicit rules instead.
9439 2006-02-20 Kevin Till <ktill@zmanda.com>
9440 * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to
9442 * common-src/krb5-security.c: ditto.
9444 2006-02-16 Kevin Till <ktill@zmanda.com>
9445 * example/amanda.conf.in: dumptype option is "encrypt"
9446 * man/xml-source/amanda.conf.5.xml: ditto
9447 * server-src/holding.c: util.h is include'd twice
9448 * common-src/ssh-security.c: set correct debug print
9450 2006-02-10 Kevin Till <ktill@zmanda.com>
9451 * man/xml-source/amanda.8.xml: replace informaltable with literallayout
9453 2006-02-13 John Franks <jrfranks@zmanda.com>
9454 * server-src/driver.c: Pring a more precise message when taper
9455 returns an error. Include error message from taper in log.
9456 Print out "protocol error" if taper returns a bogus command.
9458 2006-02-10 Kevin Till <ktill@zmanda.com>
9459 * man/xml-source/amanda.conf.5.xml: add note about first character of a
9460 tapetype string must be alphabet
9462 2006-02-10 John Franks <jrfranks@zmanda.com>
9463 * server-src/taper.c: Call error() if an invalid string is read
9464 by syncpipe_getstr().
9466 2006-02-09 John Franks <jrfranks@zmanda.com>
9467 * Makefile.am, */Makefile.am: Corrections generated by David Braun
9468 dustybird@users.sourceforge.net to properly set source directories
9469 for remote (VPATH) builds.
9470 * man/Makefile.am: Fixed man page builds to use proper source and
9472 * autogen: Force rebuilding everything and print only syntax errors.
9473 (Errors are seen occasionally in system autogen files...)
9474 * configure.in: Eliminate possibility of empty string in shell tests.
9475 fix quoting of '[' and ']' characters in help messages.
9476 Fix default value for DUMPER_DIR to pick up EPREFIX correctly.
9478 2006-02-08 Ian Turner <ian@zmanda.com>
9479 * server-src/driver.c (handle_taper_result): Properly handle
9480 SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug.
9483 2006-02-06 Kevin Till <ktill@zmanda.com>
9484 * restore-src/restore.c: fix comment formatting on version 1.2.1
9486 2006-02-06 Kevin Till <ktill@zmanda.com>
9487 * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used
9488 * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security
9489 * server-src/amcheck.c: ditto
9490 * server-src/dumper.c: ditto
9491 * restore-src/restore.c: add missing "}"
9493 2006-02-06 Ian Turner <ian@zmanda.com>
9494 * restore-src/amidxtaped.c: Properly handle changers,
9495 tape-label checking, and tape prompting in amrecover,
9496 amindexd, and amidextaped. Thanks to Paul Bijnens
9497 <pbijnens@users.sourceforge.net> for the patch.
9498 * restore-src/restore.c: ditto.
9499 * server-src/amindexd.c: ditto.
9501 2006-02-04 Paddy Sreenivasan <paddy@zmanda.com>
9502 * man/xml-source/amfetchdump.8.xml
9503 * man/xml-source/amcrypt.8.xml
9504 * man/xml-source/amanda.conf.5.xml
9505 * man/xml-source/amanda.8.xml
9506 * man/xml-source/amaespipe.8.xml
9507 * man/entities/global.entities: Merged changes from xml-docs tree
9509 2006-02-03 John Franks <jrfranks@zmanda.com>
9510 * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line.
9512 2006-02-03 Ian Turner <ian@zmanda.com>
9513 * server-src/amadmin.c (main): Don't free conf_tapelist too
9514 early. Thanks to Cédric Lucantis
9515 <cedric-lucantis@users.sourceforge.net> for the patch.
9517 2006-02-02 Kevin Till <ktill@zmanda.com>
9518 * man/xml-source/amanda.8.xml: fix formatting. <informaltable> problem
9520 * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes.
9522 2006-02-02 Ian Turner <ian@zmanda.com>
9523 * recover-src/extract_list.c (extract_files_child): Run tar with
9524 --numeric-owner if we are extracting a non-sambafied tar file.
9525 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for
9526 the patch. Thanks also to Mark Schaefer for suggesting this
9529 2006-02-01 Jean-Louis Martineau <martineau@zmanda.com>
9530 * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable,
9531 cast size_t to am64_t and use AM64_FMT to printf them.
9533 2006-01-31 Jean-Louis Martineau <martineau@zmanda.com>
9534 * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0
9535 before adding it to tapeq.
9537 2006-01-27 Ian Turner <ian@zmanda.com>
9538 * configure.in: Add new option --without-xsltproc (and
9539 --with-xsltproc), which turns off (or forces) the use of xsltproc to
9540 build manpages. Thanks to Paul Bijnens
9541 <pbijnens@users.sourceforge.net> for suggesting this feature.
9543 2006-01-27 Ian Turner <ian@zmanda.com>
9544 * restore-src/amfetchdump.c: Properly clean up logfiles. Also,
9545 run as user amanda even if we are started as some other user.
9546 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for the
9549 2006-01-25 Paddy Sreenivasan <paddy@zmanda.com>
9550 * common-src/amanda.h: Removed unnecessary header include files.
9552 2006-01-25 Kevin Till<ktill@zmanda.com>
9553 * server-src/amadmin.c: fix for sourceforge bug 1412698
9554 add missing parameters to "amadmin x disklist"
9555 * server-src/amstatus.pl.in: untaint user input, enforce known path.
9556 * server-src/amoverview.pl.in: untaint user input (bug 1353481)
9558 2006-01-25 Kevin Till<ktill@zmanda.com>
9559 * man/xml-source/amanda.conf.5.xml: fix formatting (<para> is not compatible
9560 with some tag) add supported auth types.
9562 2006-01-25 Kevin Till<ktill@zmanda.com>
9563 * common-src/bsd-security.c: move check_security to bsd_security.c,
9565 Thanks to Paul Bijnens
9566 * restore-src/amidxtaped.c: ditto
9567 * server-src/amindexd.c: ditto and no need to tell client
9568 about reason for denial
9569 * common-src/amanda.h: add proto of check_security
9570 * server-src/conffile.c: don't list CRYPT in the summary report
9572 * restore-src/restore.c: set outfd correctly for amfetchdump cases
9573 Thanks to Paul Bijnens
9575 2006-01-24 Ian Turner <ian@zmanda.com>
9576 * man/xml-source/amanda.conf.5.xml: Put documentation of
9577 split-dump options in the right place. Thanks to Paul Bijnens
9578 <pbijnens@users.sourceforge.net> for the fix.
9579 * man/xml-source/amanda.8.xml: ditto.
9581 2006-01-23 Ian Turner <ian@zmanda.com>
9582 * server-src/taperscan.c (find_brand_new_tape_label): Start
9583 brand new tape labels at 1 instead of 0. Thanks to Paul
9584 Bijnens <pbijnens@users.sourceforge.net> for the fix.
9586 2006-01-18 Jean-Louis Martineau <martineau@zmanda.com>
9587 * Amanda 2.5.0b2 released.
9588 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2).
9589 * NEWS: Update for 2.5.0b2
9591 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
9592 * server-src/disk_history.c: Fix memory leak.
9594 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
9595 * common-src/bsd-security.c: Fix memory leak.
9596 * common-src/tapelist.c: Fix memory leak.
9597 * restore-src/amidxtaped.c: Fix memory leak.
9598 * restore-src/restore.c: Fix memory leak.
9599 * server-src/amindexd.c: Fix memory leak.
9600 * server-src/conffile.c: Fix memory leak.
9601 * server-src/disk_history.c: Fix memory leak.
9602 * server-src/find.c: Fix memory leak.
9604 2006-01-13 John Franks <jrfranks@zmanda.com>
9605 * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY.
9606 Loop on I/O if EINTR or EAGAIN.
9607 * client-src/noop.c: Loop on I/O if EINTR or EAGAIN.
9608 * client-src/sendbackup.c: Remove SIGPIPE handler.
9609 Loop on I/O if EINTR or EAGAIN.
9610 Check for EPIPE on writes.
9611 * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN.
9612 * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY.
9613 * common-src/util.c: Loop on I/O if EINTR or EAGAIN.
9614 * recover-src/amrecover.c: Write commanda atomically in sigint handler
9615 * recover-src/extract_list.c:Remove SIGPIPE handler.
9616 Loop on I/O if EINTR or EAGAIN.
9617 Check for EPIPE on writes.
9618 Remove shutdown functions.
9619 * restore-src/amfetchdump.c: Remove SIGPIPE handler.
9620 * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY.
9621 Remove SIGPIPE handler.
9622 read_file_header does not return if it
9623 Fix infinite loop on EOF or error and
9624 fail if memory reallocation failure in
9626 * restore-src/restore.c: Remove SIGPIPE handler.
9627 Loop on I/O if EINTR or EAGAIN.
9628 Remove shutdown functions.
9630 * restore-src/restore.h: Change read_file_header to return void
9631 * server-src/amcheck.c: Use fullread() to handel EINTR etc.
9632 Remove unused variable.
9633 * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY.
9634 Use fullwrite on socket.
9635 * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY.
9636 * server-src/taper.c: Use fullwrite() to write data.
9637 Use fullread() to read data.
9638 * tape-src/output-file.c; Use fullwrite() to write data.
9640 2006-01-13 Jean-Louis Martineau <martineau@zmanda.com>
9641 * server-src/amcheck.c (start_server_check): Remove unused variable
9643 * restore-src/restore.c (restore): Remove unused variable s, l and
9646 2006-01-12 Jean-Louis Martineau <martineau@zmanda.com>
9647 * recover-src/extract_list.c (send_to_tape_server): Do only on write.
9648 * restore-src/amidxtaped.c (get_client_line_fd): New function to read
9649 one complete line from an fd.
9651 2006-01-09 John Franks <jrfranks@zmanda.com>
9652 * common-src/amanda.h: Include tcp.h
9653 * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets.
9654 * common-src/dgram.c: No linger on datagrams
9655 * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets.
9656 * common-src/util.c: Fix fullwrite to return # of bytes written
9658 * example/amanda.conf.in: Cleanup exclude list template.
9659 Use configure directlries instead of /usr/local
9660 * recover-src/extract_list.c: Cleanup read loops.
9661 Use real fullwrite instead of inline versions.
9662 Remove extra setting of LINGER on socket.
9663 * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets.
9664 * restore-src/restore.c:Use real fullwrite instead of inline versions.
9665 * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets.
9666 * server-src/chunker.c: Use real fullwrite instead of inline versions.
9667 * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets.
9668 * server-src/dumper.c: Use real fullwrite instead of inline versions.
9670 2006-01-09 Ian Turner <ian@zmanda.com>
9671 * changer-src/scsi-changer-driver.c: If there is a problem opening
9672 the device during GenericRewind, don't retry for 201 minutes; give
9673 up after only 200 seconds.
9675 2006-01-09 Ian Turner <ian@zmanda.com>
9676 * server-src/taperscan.c: When doing taper-scan algorithm, properly
9679 2006-01-09 Ian Turner <ian@zmanda.com>
9680 * tape-src/tapeio.c: Generate a more reasonable message when
9681 reading an empty tape label on brand-new tapes.
9683 2006-01-09 Ian Turner <ian@zmanda.com>
9684 * server-src/amcheck.c: Actually do what the documentation for
9685 amcheck -w says; that is, overwrite labels on tapes.
9687 2006-01-06 Kevin Till<ktill@zmanda.com>
9688 * server-src/amcheck.c: check if encrypt or compress program is
9689 executable. Check encrypt/compress configuration.
9690 * server-src/dumper.c: kill encrypt child when dump is stopped
9691 * server-src/amcrypt.sh.in: check for aespipe
9692 * server-src/amaespipe.sh.in: adjust PATH
9693 * man/xml-source/amtapetype.8.xml: fix format problem.
9695 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
9696 * recover-src/extract-list.c: Remove 'U' argument for gtar extraction.
9698 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
9699 * restore-src/restore.c (flush_open_outputs): Another shutdown is
9702 2006-01-05 John Franks <jrfranks@zmanda.com>
9703 * recover-src/extract_list.c: Extend linger timeouts to 60 seconds.
9704 Use shutdown() on sockets.
9705 Retry reads in case of EINTR or EAGAIN.
9706 * common-src/stream.c: set linger on correct socket.
9707 Extend linger timeouts to 60 seconds.
9708 * restore-src/restore.c: Fix compiler warnings.
9709 * Call shutdown in more cases.
9711 2006-01-05 John Franks <jrfranks@zmanda.com>
9712 * client-src/amandad.c: Set SO_LINGER on sockets.
9713 * common-src/dgram.c: Set SO_LINGER on sockets.
9714 * common-src/stream.c: Set SO_LINGER on sockets.
9715 * common-src/util.c: Return any bytes already read on error or EOF.
9716 * recover-src/extract_list.c: Set SO_LINGER on data socket.
9717 Fix printf of unterminated string data.
9718 Check return codes on socket header reads.
9719 * restore-src/amidxtaped.c: Set SO_LINGER on sockets.
9720 Check return codes on socket header reads.
9721 * restore-src/restore.c:
9722 Flush newline after operator prompt.
9723 * common-src/debug.c:
9724 Fix memory leak when debug file name already exists.
9725 Print error text upon hard open() error.
9726 Allow group members read only access to log files.
9728 2006-01-05 Kevin Till<ktill@zmanda.com>
9729 * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe
9730 early when it sees trailing garbage after EOF.
9732 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
9733 * common-src/amanda.h: Add a FD_COPY macro.
9734 * recover-src/extract_list.c (writer_intermediary): Don't use
9735 writer_intermediary, do the select locally.
9737 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
9738 * restore-src/restore.c (flush_open_outputs): Call shutdown before
9741 2005-12-30 John Franks <jrfranks@zmanda.com>
9742 * recover-src/extract_list.c:
9743 Fix double clearing of buffer during normal read path.
9744 * restore-src/amidxtaped.c
9745 Actually initialize changer if it is needed. (Set use_changer
9746 before checking it...)
9747 * Fix control messages being sent down the data pipe when
9748 restoring to client that does not support split dumps.
9749 * Print error and exit if a split dump is needed during restore
9750 and client can not handle it.
9752 2005-12-30 Ian Turner <ian@zmanda.com>
9753 * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header
9754 syntax, in favor of xx/-1.
9756 2005-12-29 John Franks <jrfranks@zmanda.com>
9757 * recover-src/display_commands.c
9758 Fix list deletion which did not update list root with NULL pointer.
9759 Make free_dir_item() a non-recursive function to prevent stack bloat.
9760 Fix list insertion code which inserts item in list initializes entry.
9761 * recover-src/extract_list.c
9762 Fix to initialize lditem before using it...
9763 Prevent multiple frees of cmd string.
9764 Do not free err which is only initialized with static string pointers.
9765 Fix typo which caused newstralloc() to free the wrong memory.
9766 * server-src/amindexd.c
9767 Fix Compiler warning of unused variable.
9768 * server-src/taperscan.c
9769 Fix Compiler warning of bogus format specifier.
9771 2005-12-29 Kevin Till<ktill@zmanda.com>
9772 * man/xml-source/amcrypt.8.xml: add new amcrypt man page
9773 * man/xml-source/amaespipe.8.xml: add new amaespipe man page
9775 2005-12-29 Ian Turner <ian@zmanda.com>
9776 * man/xml-source/amanda.conf.5.xml: Document label_new_tapes
9779 2005-12-28 Ian Turner <ian@zmanda.com>
9780 * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM.
9781 * recover-src/display_commands.c: ditto
9782 * recover-src/extract_list.c: ditto. Also use dynamic strings in
9783 struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM.
9785 2005-12-28 Ian Turner <ian@zmanda.com>
9786 * common-src/amfeatures.h: Add three new amfeatures:
9787 fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD,
9788 fe_amindexd_marshall_in_DHST.
9789 * common-src/amfeatures.c: ditto.
9790 * server-src/amindexd.c: Talk well to older clients.
9792 2005-12-23 Ian Turner <ian@zmanda.com>
9793 * server-src/taperscan.c: Don't crash if find_brand_new_tape_label
9794 returns NULL. Also, don't return NULL from
9795 find_brand_new_tape_label without a good excuse.
9797 2005-12-23 Kevin Till <ktill@zmanda.com>
9798 * client-src/client_util.c: change server_decrypt_option to
9799 server-decrypt-option
9800 * client-src/sendbackup.c: change client_decrypt_option to
9801 client-decrypt-option
9802 * server-src/dumper.c: ditto
9803 * common-src/amfeatures.c: add crypt related amfeaturs
9804 * common-src/amfeatures.h: ditto
9805 * server-src/diskfile.c: amfeatures checking and warns on
9808 2005-12-23 Paddy Sreenivasan <paddy@zmanda.com>
9809 * restore-src/restore.c:
9810 * server-src/amtape.c:
9811 * server-src/taperscan.c : Make scan_init static function
9813 2005-12-23 John Franks <jrfranks@zmanda.com>
9814 * server-src/taper.c: Reduce I/O's system call overhead by 30%
9815 in main read / write loop.
9817 2005-12-23 John Franks <jrfranks@zmanda.com>
9818 * recover-src/restore.c Remove inapproriate aclose which caused
9819 broken restore pipe.
9820 * recover-src/extract_list.c Fix and cleanup read_buffer()
9821 mainly to fix hole that drops parital buffer of data if end
9822 of file is reached or an error occured.. Touched up calling
9823 functions to make sure EOF/timeouts are handled correctly.
9824 Increased normal path read timeout value from on second to
9825 whatever READ_TIMEOUT is set to.
9827 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
9829 * restore-src/restore.c (restore): Remova an aclose.
9831 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
9833 * restore-src/amidxtaped.c (cleanup): Function registered with atexit
9834 to remove the log file.
9836 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
9838 * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h.
9840 2005-12-20 John Franks <jrfranks@zmanda.com>
9842 * restore-src/restore.c: Remove unused variables.
9843 Fix uninitialize reference to bytes_read.
9844 * server-src/amcheck.c: Remove unused variables.
9845 Include taperscan.h for missing prototype.
9846 * server-src/amtape.c: Remove unused variables.
9847 Include taperscan.h for missing prototype.
9848 * server-src/taper.c: Remove unused variables.
9849 Minor indenting changes.
9850 * server-src/taperscan.c:Remove unused variables.
9851 Fix typo which assigns NULL rather than
9853 Commented out reference to auto_pos which
9854 is assigned but never used...
9856 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
9858 * common-src/fileheader.c (parse_file_header): Parse '/' in part.
9859 * common-src/fileheader.c (build_header): Add space ' ' before "part".
9861 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
9863 * server-src/reporter.c: Fix report of output size.
9865 2005-12-19 Ian Turner <ian@zmanda.com>
9866 * server-src/taperscan.c: Check that automatic tape labels satisfy
9869 2005-12-19 Ian Turner <ian@zmanda.com>
9870 * server-src/fileheader.c: Fix broken split-dump file headers.
9872 2005-12-18 Jean-Louis Martineau <martineau@zmanda.com>
9873 Patch by Paul Bijnens
9875 * server-src/amcheck.c: Tapelist file is regular file.
9877 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
9879 * restore-src/restore.c (get_block): Return a ssize_t.
9880 * restore-src/restore.c: convert ssize_t to long for printing.
9881 * restore-src/restore.c (restore>): Remove unused variable, outpipe,
9884 2005-12-17 John R. Franks <jrfranks@zmanda.com>
9886 * restore-src/restore.h (read_file_header, restore): Return a ssize_t
9887 instead of using a global variable bytes_read.
9888 * restore-src/restore.c: Use local variable instead of global
9889 bytes_read. Many memory management fixe. Fixe pipe handling,
9890 * restore-src/amrestore.c: Use new read_file_header and restore.
9891 * restore-src/amfetchdump.c: Use new read_file_header and restore.
9893 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
9894 With Kevin Till <ktill@zmanda.com>
9896 * common-src/fileheader.c (parse_file_header): Fix parsing of first
9898 * common-src/fileheader.c (build_header): Print crypt after programi
9899 and only if it is needed.
9901 2005-12-14 Ian Turner <ian@zmanda.com>
9903 * common-src/alloc.c: Add new function vstrextend, which extends an
9905 * common-src/amanda.h: Define vstrextend.
9906 * example/amanda.conf.in: Document new option
9907 label_new_tapes. Change default labelstr.
9908 * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of
9910 * restore-src/restore.c: Use the new changer_find interface.
9911 * server-src/Makefile.am: Add new file taperscan.c
9912 * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c,
9913 instead of the previous separate amcheck implementation.
9914 * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c,
9915 instead of the previous separate amtape implementation. Also, use
9916 the new changer_find interface for other kinds of tape finding.
9917 * server-src/changer.c: Eliminate changer_scan. Change the API to
9918 changer_find, so that callers can pass a user-data object, instead
9920 * server-src/changer.h: Declare and document new changer_find
9922 * server-src/conffile.c: Add new config option label_new_tapes.
9923 * server-src/conffile.h: ditto.
9924 * server-src/taper.c: Use the taper-scan algorithm in taperscan.c,
9925 instead of the previous separate taper implementation. Also,
9926 combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the
9927 difference only matters on writing).
9928 * server-src/taperscan.c: Refactor the taper-scan algorithm from
9929 taper, amtape, and amcheck. Implement label_new_tapes feature.
9930 * server-src/taperscan.h: Declare and document new taperscan
9932 * tape-src/tapeio.c: Notice the difference between a non-Amanda tape
9933 and some other tape-reading problem.
9934 * tape-src/tapeio.h: New declarations.
9936 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
9938 * server-src/reporter.c (handle_success): On a taper line, the outsize
9939 should only count dump to tape, not flush.
9941 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
9943 * server-src/amstatus.pl.in: Parse chunker DONE line to set output size.
9945 2005-12-09 John Franks <jrfranks@zmanda.com>
9947 * client-src/Makefile.am: Do not include tape library if
9948 configuring with --without-server option.
9949 * recover-src/Makefile.am: Do not include tape library if
9950 configuring with --without-server option.
9952 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9954 * configure.in: Move the size detection after detection of large
9955 file support. That change the size of off_t.
9957 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9959 * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t.
9960 * server-src/taper.c: Use OFF_T_FMT.
9962 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9964 * configure.in: Set LL_FMT correctly.
9965 * server-src/conffile.c: Use LL_FMT.
9967 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9969 * server-src/conffile.c: Maxdumpsize is a AM64.
9970 * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and
9971 tape_mark are am64_t.
9973 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9975 * configure.in: Check for sizeof of many type. Check printf format of
9977 * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i
9978 set AM64_FMT to the printf format of a am64_t variable.
9979 * server-src/conffile.c: New AM64 type.
9980 * server-src/conffile.h(getconf_am64): Prototype.
9982 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9984 * client-src/Makefile.am: Remove amqde.
9985 * client-src/sendsize.c: Remove code to call amqde.
9986 * client-src/amqde.c: Remove file.
9987 * configure.in: Remove '--with-qde' option.
9989 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
9991 * server-src/amindexd.c (reply, lreply, fast_lreply): Must use
9992 str_buffer_sizebuf instead of sizeof(bug).
9994 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
9996 * server-src/planner.c: Print the time in the FINISH line.
9997 * server-src/reporter.c: The estimate time is based on the planner
10000 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
10002 * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security.
10004 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
10006 * server-src/holding.c (scan_holdingdisk): Static function.
10007 * server-src/taper.c (signal_handler, install_signal_handlers): Ditto.
10008 * server-src/reporter.c (output_strange,do_postscript_output): Ditto.
10010 2005-12-04 Jean-Louis Martineau <martineau@zmanda.com>
10012 * server-src/logfile.c (logtype_str): Add important ','.
10014 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
10016 * server-src/planner.c (setup_estimate): Fix wrong order for argument.
10018 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
10020 * server-src/driver.c (start_some_dumps): Don't test for
10021 cur_idle == NOT_IDLE.
10023 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
10025 * server-src/driverio.c (check_unfree_serial): New fonction to check
10026 unfreed serial number.
10027 * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL.
10028 * server-src/driverio.h (check_unfree_serial): Prototype.
10029 * server-src/driver.c (main): Call check_unfree_serial.
10031 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
10032 Patch by Franz Fischer
10034 * config/acinclude.m4i: Fix for __alpha.
10036 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
10038 * common-src/util.c: Debug must end with '\n'.
10040 2005-12-01 Jean-Louis Martineau <martineau@zmanda.com>
10042 * configure.in: Amanda support x86_64-unknown-linux-gnu.
10044 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
10046 * common-src/rsh-security.c (rsh_sendpkt): buf is a char array.
10047 * common-src/ssh-security.c (rsh_sendpkt): buf is a char array.
10048 * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro.
10050 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
10052 * client-src/rundump.c: undef USE_RUNDUMP before define.
10054 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
10055 Patch by Franz Fischer
10057 * client-src/amqde.c: Fix compiler warning.
10059 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
10060 Patch by Franz Fischer
10062 * common-src/event.h: Fix compiler warning.
10063 * server-src/conffile.h: Fix compiler warning.
10065 2005-11-30 Kevin Till <ktill@zmanda.com>
10067 * client-src/client_util.c add server-side, client-side encryption
10068 as well as custom compression. Custom compression patch is
10069 orginally created by Matthieu Lochegnies.
10070 * client-src/client_util.h Ditto
10071 * client-src/selfcheck.c Ditto
10072 * client-src/sendbackup-dump.c Ditto
10073 * client-src/sendbackup-gnutar.c Ditto
10074 * client-src/sendbackup.c Ditto
10075 * client-src/sendbackup.h Ditto
10076 * common-src/fileheader.c Ditto
10077 * common-src/fileheader.h Ditto
10078 * common-src/util.h Ditto
10079 * example/amanda.conf.in Ditto
10080 * man/xml-source/amanda.conf.5.xml Ditto
10081 * restore-src/amrestore.c Ditto
10082 * restore-src/restore.c Ditto
10083 * server-src/conffile.c Ditto
10084 * server-src/conffile.h Ditto
10085 * server-src/diskfile.c Ditto
10086 * server-src/diskfile.h Ditto
10087 * server-src/dumper.c Ditto
10089 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
10091 * config/libtool.m4i: libtool 1.5.20
10092 * config/ltmain.sh: libtool 1.5.20
10094 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
10095 Patch by Franz Fischer
10097 * common-src/fileheader.c (build_header): Declation before instruction.
10098 * restore-src/amfetchdump.c: Don't use C++ style comment.
10099 * restore-src/restore.c: Don't use C++ style comment.
10100 * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be
10101 dynamicaly allocated.
10102 * server-src/logfile.h: Don't use C++ style comment.
10103 * server-src/taper.c (free_split_buffer): Test splitbuf against NULL.
10105 2005-11-22 Paddy Sreenivasan <paddy@zmanda.com>
10106 * common-src/rsh-security.c: Fix x86_64 compile warnings.
10107 * common-src/ssh-security.c: Fix x86_64 compile warnings.
10108 * man/Makefile.am: Added EXTRA_XML files.
10109 * man/xml-source/amanda.8.xml: Added spanning patch variables.
10110 * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO.
10111 * xslt/global.entities: Removed file.
10113 2005-11-20 Jean-Louis Martineau <martineau@zmanda.com>
10114 Patch by Jon H. LaBadie
10116 * changer-src/chg-disk.sh.in: Check permission on file access.
10118 2005-11-17 Paddy Sreenivasan <paddy@zmanda.com>
10119 * man/entities/global.entities: New file. Added man page entities.
10120 * man/entities/xinclude.dtd: New file.
10121 * man/xslt/man.xsl: Correct include path for settings.xsl.
10123 2005-11-15 John R. Franks <jrfranks@zmanda.com>
10124 * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings.
10125 * common-src/rsh-security.c: Fix IA-64 compile warnings.
10126 * common-src/ssh-security.c: Fix IA-64 compile warnings.
10127 * regex-src/engine.c: Fix IA-64 compile warnings.
10128 * regex-src/regexec.c: Fix IA-64 compile warnings.
10130 2005-11-15 Paddy Sreenivasan <paddy@zmanda.com>
10132 * configure.in: Changed defaults for tape_dev and nr_tape_dev.
10133 * example/amanda.conf.in: Leave only changerfile definition
10135 * man/xml-source/amanda.conf.5.xml: Updated defaults for
10136 tapedev and rawtapedev
10138 2005-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10140 * server-src/planner.c: Fix incronly.
10142 2005-11-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10144 * man/Makefile.am: Set man_MANS,
10146 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10148 * man/Makefile.am: Set man5_MANS and man8_MANS,
10149 install-data-hook use them.
10151 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10152 Patch by Olivier Cherrier
10154 * man/Makefile.am (install-data-hook): Set protection correclty
10157 2005-10-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10159 * common-src/util.c (bind_portrange): Increase port in all case.
10161 2005-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10163 * server-src/conffile.c: Allow runtapes==0.
10164 * server-src/driver.c: Use a global conf_runtapes. Don't start a
10165 taper if runtapes==0.
10166 * server-src/reporter.c: Don't print The next tapes if runtapes==0.
10169 2005-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10171 * Amanda 2.5.0b1 released.
10172 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1).
10173 * NEWS: Update for 2.5.0b1.
10175 2005-10-25 Ian Turner <ian@zmanda.com>
10177 * man/Makefile.am: include amfetchdump.8.
10178 * man/xml-source/amadmin.8.xml: Add spanning-patch documentation.
10179 * man/xml-source/amanda.8.xml: ditto
10180 * man/xml-source/amrecover.8.xml: ditto
10181 * man/xml-source/amfetchdump.8.xml: ditto (new file)
10182 * man/xslt/global.entities: Add myself, Zmanda Inc.
10184 2005-10-24 Jean-Louis Martineau <martineau@zmanda.com>
10186 * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of
10187 the argvchild array.
10189 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
10191 * server-src/server_util.c (getcmd): Print DEBUG to stderr.
10193 2005-10-20 Ian Turner <ian@zmanda.com>
10195 * configure.in: Check for xsltproc.
10196 * man/Makefile.am: Properly build, clean, and distribute generated
10197 manpages from XML source.
10198 * man/amadmin.8: Remove from CVS
10199 * man/amanda.8: Remove from CVS
10200 * man/amanda.conf.5: Remove from CVS
10201 * man/amcheck.8: Remove from CVS
10202 * man/amcheckdb.8: Remove from CVS
10203 * man/amcleanup.8: Remove from CVS
10204 * man/amdd.8: Remove from CVS
10205 * man/amdump.8: Remove from CVS
10206 * man/amflush.8: Remove from CVS
10207 * man/amgetconf.8: Remove from CVS
10208 * man/amlabel.8: Remove from CVS
10209 * man/ammt.8: Remove from CVS
10210 * man/amoverview.8: Remove from CVS
10211 * man/amplot.8: Remove from CVS
10212 * man/amrecover.8: Remove from CVS
10213 * man/amreport.8: Remove from CVS
10214 * man/amrestore.8: Remove from CVS
10215 * man/amrmtape.8: Remove from CVS
10216 * man/amstatus.8: Remove from CVS
10217 * man/amtape.8: Remove from CVS
10218 * man/amtapetype.8: Remove from CVS
10219 * man/amtoc.8: Remove from CVS
10220 * man/amverify.8: Remove from CVS
10221 * man/amverifyrun.8: Remove from CVS
10222 * man/xml-source/amadmin.8.xml: Add from xml-docs
10223 * man/xml-source/amanda.8.xml: Add from xml-docs
10224 * man/xml-source/amanda.conf.5.xml: Add from xml-docs
10225 * man/xml-source/amcheck.8.xml: Add from xml-docs
10226 * man/xml-source/amcheckdb.8.xml: Add from xml-docs
10227 * man/xml-source/amcleanup.8.xml: Add from xml-docs
10228 * man/xml-source/amdd.8.xml: Add from xml-docs
10229 * man/xml-source/amdump.8.xml: Add from xml-docs
10230 * man/xml-source/amflush.8.xml: Add from xml-docs
10231 * man/xml-source/amgetconf.8.xml: Add from xml-docs
10232 * man/xml-source/amlabel.8.xml: Add from xml-docs
10233 * man/xml-source/ammt.8.xml: Add from xml-docs
10234 * man/xml-source/amoverview.8.xml: Add from xml-docs
10235 * man/xml-source/amplot.8.xml: Add from xml-docs
10236 * man/xml-source/amrecover.8.xml: Add from xml-docs
10237 * man/xml-source/amreport.8.xml: Add from xml-docs
10238 * man/xml-source/amrestore.8.xml: Add from xml-docs
10239 * man/xml-source/amrmtape.8.xml: Add from xml-docs
10240 * man/xml-source/amstatus.8.xml: Add from xml-docs
10241 * man/xml-source/amtape.8.xml: Add from xml-docs
10242 * man/xml-source/amtapetype.8.xml: Add from xml-docs
10243 * man/xml-source/amtoc.8.xml: Add from xml-docs
10244 * man/xml-source/amverify.8.xml: Add from xml-docs
10245 * man/xml-source/amverifyrun.8.xml: Add from xml-docs
10246 * man/xslt/expand-sambadoc.xsl: Add from xml-docs
10247 * man/xslt/global.entities: Add from xml-docs
10248 * man/xslt/man.xsl: Add from xml-docs
10249 * man/xslt/settings.xsl: Add from xml-docs
10251 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
10253 * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate
10255 * server-src/driver.c: Start autoflush while waiting for estimate.
10256 * server-src/planner.c: Write FLUSH line before estimate.
10258 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
10259 Patch by John R. Franks <jrfranks@zmanda.com>
10261 * server-src/taper.c (create_split_buffer): Should not use sizeof().
10263 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
10265 * server-src/taper.c (read_file): Move the putresult(DONE) to the
10266 right place, some cleanup.
10268 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
10270 * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s.
10272 2005-10-17 Ian Turner <ian@zmanda.com>
10274 * Changelog: Fix line breaks.
10275 * restore-src/restore.c: Give more useful FSF error messages.
10276 * recover-src/extract_list.c: Do better error checking on passed port
10278 * common-src/tapelist.c: Do proper memory management of strings.
10279 Otherwise really bad stuff happens.
10281 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
10283 * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already
10284 handle it correctly.
10286 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
10288 * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it
10291 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
10293 * server-src/driverio.c (serial2disk): Print str if error.
10295 2005-10-15 Paddy Sreenivasan <paddy@zmanda.com>
10297 * server-src/taper.c: Shared memory need not be removed in normal paths.
10298 Done as part of atexit.
10300 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
10301 Patch by John R. Franks <jrfranks@zmanda.com>
10303 * changer-src/scsi-aix.c: calls to open/openx guages success by
10304 checking for a file descriptor greater than 0. 0 is also a valid
10305 descriptor so the check should be >= 0.
10306 Calls to SCSI_OpenDevice does not check for error return.
10307 Calls to SCSI_OpenDevice does not check for error return.
10308 Calls to SCSI_OpenDevice does not check for error return.
10309 Call to opendir() does not check for error.
10310 * changer-src/scsi-hpux_new.c: Ditto.
10311 * changer-src/scsi-irix.c: Ditto.
10312 * changer-src/scsi-linux.c: Ditto.
10313 * changer-src/scsi-solaris.c: Ditto.
10314 * client-src/selfcheck.c: Call to open() does not check for error.
10315 * client-src/sendbackup.c: Call to freopen() does not check for error.
10316 * client-src/sendsize.c: Call to open() does not check for error.
10317 * common-src/bsd-security.c: Call to open() does not check for error.
10318 * common-src/file.c: Call to open() does not check for error.
10319 * restore-src/amrestore.c: Calls to tape_open() do not always check
10320 return code. open() is called with open flags set to 0
10321 (Call always fails with an EINVAL)
10322 * restore-src/restore.c: fopen() return error check is "fopen() < 0".
10323 fopen returns a pointer and the proper check should be
10325 Call to open() does not check for error.
10326 * tape-src/tapeio.c: tape_open() is called here and other places with a
10327 variable number of arguments, and yet is not defined as a varargs
10329 * tape-src/tapeio.h: Prototype for tape_open.
10331 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
10332 Patch by Paddy Sreenivasan <paddy@zmanda.com>
10334 * client-src/sendsize.c: Log message changes.
10335 * server-src/taper.c: And an atexit function to detach shared memory.
10336 Trap some signal and detach shared memory.
10338 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
10340 * regex-src/regcomp.c (findmust): Initialized start to NULL.
10342 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
10343 Patch by John R. Franks <jrfranks@zmanda.com>
10345 * regex-src/cclass.h: Fixed to add missing braces and reformat long
10346 strings to fix in 80 columns.
10347 * regex-src/cname.h: Fixed by adding braces and tidying up code a bit.
10348 * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0.
10349 ifdef out unused mcsub, mcin and mcfind functions.
10350 (findmust) Initialized newstart to NULL.
10351 * regex-src/regerror.c: Adds missing braces.
10352 * regex-src/regexec.c (nope): Use only in assert, so it is not only
10353 defined if NDEBUG is not defined.
10355 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
10356 Patch by John R. Franks <jrfranks@zmanda.com>
10358 * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy,
10359 it is not static int.
10360 * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy,
10361 it is not static int.
10363 2005-10-13 Jean-Louis Martineau <martineau@zmanda.com>
10365 * common-src/util.c (bind_portrange): New argument proto.
10366 Check for reserved port.
10367 * common-src/util.h (bind_portrange): New prototype.
10368 * common-src/bsd-security.c (bind_portrange): New prototype.
10369 * common-src/dgram.c: Add "udp" as argument to bind_portrange.
10370 * common-src/stream.c: Add "tcp" as argument to bind_portrange.
10372 2005-10-12 Jean-Louis Martineau <martineau@zmanda.com>
10374 * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t.
10375 * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid,
10376 isafile, stat_tape, tapename, s, fp, ch and errstr variable.
10378 2005-10-11 Ian Turner <ian@zmanda.com>
10379 Patch by Jean-Louis Martineau <martineau@zmanda.com>
10381 * restore-src/amfetchdump.c: Remove unused variable debug.
10382 * restore-src/amidxtaped.c: Remove lock_logfile(), which is also
10384 * restore-src/Makefile.am: Include libamanda twice, to fix build
10387 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10389 * restore-src/Makefile (noinst_HEADERS): Add restore.h.
10390 * restore-src/restore.c (search_tapes): Add the fourth argument to
10393 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10395 * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize
10397 * server-src/reporter.c (handle_partial): Set repdata to the result
10399 * server-src/taper.c: Set the first-file.
10401 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10403 * client-src/client_util.c, server-src/amcheck.c,
10404 server-src/reporter.c: Add missing type for arguments.
10406 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10408 * server-src/taper.c (tape_writer_side): detach_buffers on normal exit.
10410 2005-10-10 Ian Turner <ian@zmanda.com>
10412 * server-src/amtape.h: Apply tape-spanning patch by John Stange
10413 <building@cs.umd.edu> as ported to 2.5.0 by Ian Turner, with
10414 contributions by Christopher Pascoe <c.pascoe@itee.uq.edu.au>.
10415 * configure.in: Ditto
10416 * amplot/Makefile.am: Ditto
10417 * changer-src/Makefile.am: Ditto
10418 * client-src/Makefile.am: Ditto
10419 * common-src/Makefile.am: Ditto
10420 * common-src/amanda.h: Ditto
10421 * common-src/amfeatures.c: Ditto
10422 * common-src/amfeatures.h: Ditto
10423 * common-src/fileheader.c: Ditto
10424 * common-src/fileheader.h: Ditto
10425 * common-src/match.c: Ditto
10426 * common-src/tapelist.c: Ditto
10427 * common-src/tapelist.h: Ditto
10428 * example/amanda.conf.in: Ditto
10429 * man/Makefile.am: Ditto
10430 * recover-src/amrecover.c: Ditto
10431 * recover-src/amrecover.h: Ditto
10432 * recover-src/display_commands.c: Ditto
10433 * recover-src/extract_list.c: Ditto
10434 * restore-src/Makefile.am: Ditto
10435 * restore-src/amfetchdump.c: Ditto
10436 * restore-src/amfetchdump.h: Ditto
10437 * restore-src/amidxtaped.c: Ditto
10438 * restore-src/amrestore.c: Ditto
10439 * restore-src/restore.c: Ditto
10440 * restore-src/restore.h: Ditto
10441 * server-src/Makefile.am: Ditto
10442 * server-src/amadmin.c: Ditto
10443 * server-src/amindexd.c: Ditto
10444 * server-src/amoverview.pl.in: Ditto
10445 * server-src/amtoc.pl.in: Ditto
10446 * server-src/amverify.sh.in: Ditto
10447 * server-src/changer.c: Ditto
10448 * server-src/conffile.c: Ditto
10449 * server-src/conffile.h: Ditto
10450 * server-src/disk_history.c: Ditto
10451 * server-src/disk_history.h: Ditto
10452 * server-src/diskfile.c: Ditto
10453 * server-src/diskfile.h: Ditto
10454 * server-src/driver.c: Ditto
10455 * server-src/driverio.c: Ditto
10456 * server-src/find.c: Ditto
10457 * server-src/find.h: Ditto
10458 * server-src/holding.c: Ditto
10459 * server-src/holding.h: Ditto
10460 * server-src/logfile.c: Ditto
10461 * server-src/logfile.h: Ditto
10462 * server-src/planner.c: Ditto
10463 * server-src/reporter.c: Ditto
10464 * server-src/server_util.c: Ditto
10465 * server-src/server_util.h: Ditto
10466 * server-src/taper.c: Ditto
10468 2005-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10470 * server-src/taper.c: Change message: on new tape due to
10472 2005-10-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10473 Patch by John R. Franks
10475 * common-src/amflock.c (main): Don't call safe_fd, it's not needed
10477 * configure.in: '#include <sys/types.h>' in the check
10478 'for Linux like scsi support (sg)'
10480 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10482 * client-src/amandad.c (writebuf): Call waitpid in the parent.
10484 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10486 * client-src/amandad.c (service_delete): Remove call to sleep.
10487 * common-src/bsd-security.c: Add bsdprintf. Add more debug.
10488 The handle is used as a string, instead of 2 int.
10490 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10492 * common-src/rsh-security.c: rshprintf should call dbprint.
10493 * common-src/ssh-security.c: rshprintf should call dbprint, add many
10495 * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time
10498 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10500 * common-src/stream.c: len is a socklen_t.
10501 * server-src/amindexd.c: Add socklen as a socklen_t.
10502 * restore-src/amidxtaped.c: Add socklen as a socklen_t.
10503 * tape-src/tapetype.c: Change printf format.
10504 * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1.
10505 * server-src/dumper.c: Init outfd to -1.
10506 * common-src/file.c (areads_getbuf): First argument is const.
10508 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10510 * server-src/reporter.c: Don't trunk hostname/diskname in
10511 'FAILURE AND STRANGE DUMP SUMMARY' section.
10513 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10515 * server-src/chunker.c (main): Remove outfd.
10517 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10519 * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c,
10520 client-src/getfsent.c, common-src/statfs.c, common-src/token.c
10521 (main): Remove fd declaration.
10523 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10525 * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR.
10527 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10529 * common-src/sl.c (insert_sort_sl). Typo.
10531 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10533 * config/config.guess: Update from automake 1.9.5.
10534 * config/config.sub: Update from automake 1.9.5.
10535 * config/depcomp: Update from automake 1.9.5.
10536 * config/install-sh: Update from automake 1.9.5.
10537 * config/missing: Update from automake 1.9.5.
10538 * config/mkinstalldirs: Update from automake 1.9.5.
10539 * config/ltmain.sh: Update from libtool-1.5.16.
10540 * config/libtool.m4i: Update from libtool-1.5.16.
10542 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10544 * common-src/bsd-security.c: Fix small bug.
10546 2005-09-22 John R. Jackson <jrj@purdue.edu>
10548 * configure.in: If --without-server is specified, either on the
10549 command line or via config.site, make sure --without-restore
10550 is also in effect. Avoids compilation errors if mismatched.
10551 * example/config.site: Document above.
10553 2005-09-21 John R. Jackson <jrj@purdue.edu>
10555 * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via
10556 "amgetconf build.CLIENT_LOGIN".
10558 2005-09-21 John R. Jackson <jrj@purdue.edu>
10560 * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H
10563 2005-09-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10565 * server-src/amlabel.c: 'int fd' is needed.
10567 2005-09-20 John R. Jackson <jrj@purdue.edu>
10569 * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns
10570 <Scott.Burns@Netcontech.Com>.
10572 2005-09-20 John R. Jackson <jrj@purdue.edu>
10574 * common-src/file.c: Create safe_fd() to do common file descriptor
10575 safety operations at the start of every program. In addition
10576 to closing everything from three on up that used to be done
10577 with explicit code, make sure stdin, stdout and stderr are
10578 open per a potential (but unlikely) security report from Ben
10579 Schwarz <bschwarz@EECS.berkeley.EDU>.
10580 * common-src/amanda.h: Ditto.
10581 * client-src/amandad.c: Ditto.
10582 * client-src/calcsize.c: Ditto.
10583 * client-src/getfsent.c: Ditto.
10584 * client-src/killpgrp.c: Ditto.
10585 * client-src/rundump.c: Ditto.
10586 * client-src/runtar.c: Ditto.
10587 * client-src/selfcheck.c: Ditto.
10588 * client-src/sendbackup.c: Ditto.
10589 * client-src/sendsize.c: Ditto.
10590 * client-src/versionsuffix.c: Ditto.
10591 * common-src/amflock.c: Ditto.
10592 * common-src/rsh-security.c: Ditto.
10593 * common-src/ssh-security.c: Ditto.
10594 * common-src/statfs.c: Ditto.
10595 * common-src/token.c: Ditto.
10596 * recover-src/amrecover.c: Ditto.
10597 * restore-src/amidxtaped.c: Ditto.
10598 * restore-src/amrestore.c: Ditto.
10599 * server-src/amadmin.c: Ditto.
10600 * server-src/amcheck.c: Ditto.
10601 * server-src/amcleanupdisk.c: Ditto.
10602 * server-src/amflush.c: Ditto.
10603 * server-src/amindexd.c: Ditto.
10604 * server-src/amlabel.c: Ditto.
10605 * server-src/amlogroll.c: Ditto.
10606 * server-src/amtape.c: Ditto.
10607 * server-src/amtrmidx.c: Ditto.
10608 * server-src/amtrmlog.c: Ditto.
10609 * server-src/chunker.c: Ditto.
10610 * server-src/conffile.c: Ditto.
10611 * server-src/diskfile.c: Ditto.
10612 * server-src/driver.c: Ditto.
10613 * server-src/getconf.c: Ditto.
10614 * server-src/infofile.c: Ditto.
10615 * server-src/planner.c: Ditto.
10616 * server-src/reporter.c: Ditto.
10617 * server-src/taper.c: Ditto.
10618 * server-src/dumper.c: Ditto plus remove incorrect chdir to hard
10619 coded "/tmp/amanda".
10621 2005-09-20 John R. Jackson <jrj@purdue.edu>
10623 * client-src/calcsize.c: Fix format string.
10624 * server-src/diskfile.c: Fix compiler warnings.
10625 * server-src/planner.c: Fix compiler warnings.
10627 2005-09-20 John R. Jackson <jrj@purdue.edu>
10629 * common-src/amanda.h: Add dbreopen() so debug file can be closed
10630 and then reopened if needed.
10631 * common-src/debug.c: Ditto.
10632 * client-src/runtar.c: Close the debug file (fd 10) around the
10633 exec of GNU tar. Newer versions complain about stray file
10635 * server-src/getconf.c: Use dbreopen() to create the debug file.
10636 Do not try to open config file unless needed (allows clients to
10637 use build.XXX/dbopen.XXX/dbclose.XXX).
10639 2005-09-20 John R. Jackson <jrj@purdue.edu>
10641 * client-src/sendbackup-dump.c: Ignore a new message from Solaris
10644 2005-09-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10646 * common-src/bsd-security.c: Generate a unique event_id, thei
10647 proto_handle is not always unique.
10649 2005-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10651 * server-src/amverify.sh.in: Don't check for EOI, it's buggy.
10653 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10655 * server-src/driverio.c: Don't save history with size < 0.
10657 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10658 Patch by Geert Uytterhoeven <geert@linux-m68k.org>
10660 * server-src/planner.c: Don't use history with size < 0.
10662 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10663 Patch Paul Bijnens <paul.bijnens@xplanation.com>
10665 * server-src/planner.c(delay_dumps): Delay incremental dump also
10668 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10669 Patch by Orion Poplawski <orion@cora.nwra.com>
10671 * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0.
10672 * man/amoverview.8: Document -last, -num0 and -togo0.
10674 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10675 Patch by Orion Poplawski <orion@cora.nwra.com>
10677 * server-src/driver.c: Make tape_length and tape_left unsigned long.
10679 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10680 Patch by Stefan G. Weichinger <monitor@oops.co.at>
10682 * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases.
10684 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10686 Bug found by John E Hein <jhein@timing.com>.
10687 * server-src/amadmin.c: Fix of by one with NB_HISTORY.
10688 * server-src/infofile.c:x: Fix of by one with NB_HISTORY.
10690 2005-06-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10691 Patch by Jay Fenlason <fenlason@redhat.com>
10693 * client-src/sendsize.c: Fix dbprintf call.
10695 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10696 Stefan G. Weichinger <monitor@oops.co.at>
10698 * example/amanda.conf.in: edited the default-value for the
10699 holdingdisk-usage to "use -100 Mb".
10700 The old value "use 290 Mb" didn't make much
10703 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10705 * server-src/amverifyrun.sh.in: Remove buggy space.
10707 2005-05-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10709 * server-src/amadmin.c: Add [--days <num>] argument to tape subcommand.
10711 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10713 * example/amanda.conf.in: Update from 2.4.5.
10715 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10717 * docs/*: New documentation from xml-docs.
10718 * docs/Makefile.am (pkgdata_DATA): Update for new files.
10720 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10722 * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5.
10724 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10726 * man/*: Use man pages form xml-docs.
10727 * configure.in (AC_CONFIG_FILES): Remove all man pages.
10728 * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5
10729 amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8
10730 amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8
10731 amtapetype.8 amtoc.8 amverify.8 amverifyrun.8
10733 2005-05-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10735 * common-src/rsh-security.c (net_read_fillbuf): Read only a packet,
10737 * common-src/ssh-security.c (net_read_fillbuf): Read only a packet,
10739 * common-src/rsh-security.c (conn_put): Don't kill the process, only do
10740 a wait with WNOHANG.
10741 * common-src/ssh-security.c (conn_put): Don't kill the process, only do
10742 a wait with WNOHANG.
10744 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10746 * changer-src/chg-zd-mtx.sh.in: Improve handling of
10747 "Unknown Storage Element Loaded".
10749 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10750 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052
10752 * server-src/amverifyrun.sh.in: Filter changer log file.
10754 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10756 * server-src/amcheck.c: Improve messages.
10758 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10760 * client-src/sendsize.c (generic_calc_estimates): Use amname instead
10761 of dirname in message.
10763 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10765 * server-src/conffile.h: Rename getcont_unit_divisor to
10766 getconf_unit_divisor.
10767 * server-src/amadmin.c: Use getconf_unit_divisor.
10768 * server-src/amcheck.c: Use getconf_unit_divisor.
10769 * server-src/conffile.c: Use getconf_unit_divisor.
10770 * server-src/conffile.c (unit_divisor): Init to 1.
10771 * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always
10772 divide by 1024. Add the du macro. Use mb or du where appropriate.
10774 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10776 * server-src/infofile.h (history_t): Add secs field.
10777 * server-src/infofile.c (read_txinfofile): Parse info file with secs
10779 * server-src/infofile.c (write_txinfofile): Write secs in history.
10780 * server-src/driverio.c (update_info_dumper): Update secs in history.
10782 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10784 * server-src/planner.c: Improve server estimate.
10785 * server-src/planner.c: Write server estimate like others estimate.
10787 2005-02-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10789 * server-src/amstatus.pl.in: last_level is negative, on new disk.
10791 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10793 * server-src/amstatus.pl.in: Use '-?' to match negative values
10796 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10797 Patch by Orion Poplawski <orion@cora.nwra.com>
10799 * server-src/amoverview.pl.in: Print the total number of level 0
10800 dumps for each disk and the number of runs until the last level 0
10801 dump will be overwritten.
10803 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10804 Patch by Phil Homewood <pdh@snapgear.com>
10806 * server-src/amoverview.pl.in: Add -skipmissed option.
10808 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10810 * server-src/driver.c: Print the chunksize to the log.
10812 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10814 * client-src/calcsize.c: Print estimate to STDERR.
10815 * client-src/sendsize.c (generic_calc_estimates): Read calcsize result,
10816 and send it to amandad. Write debuging message.
10818 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10819 Patch by Franz G. Fischer
10821 * server-src/conffile.c: Adds a value type LONG and a val_t.l long
10822 union member and changes get_number() to return long and
10823 get_simple() to fill val_t.l if called for a long value. The
10824 get_simple() calls have been changed to LONG for typetype_t.blocksize
10825 typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and
10826 holdingdisk_t.chunksize.
10828 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10830 * server-src/amdump.sh.in: Redirect in append mode.
10831 * server-src/driver.c: Set stdout and stderr to not buffered.
10832 * server-src/planner.c: Set stderr to not buffered.
10833 Print 'setup_estimate:' on one line.
10834 * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line.
10836 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10838 * client-src/calcsize.c: Improve estimate for sparse file and count
10839 space for filenames.
10841 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10843 * server-src/planner.c: Improve message if no incremental estimate.
10845 2004-12-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10846 Patch by Christopher Pascoe <c.pascoe@itee.uq.edu.au>
10848 * common-src/match.c (match_glob, match_tar): Don't amfree(regex)
10849 before calling error().
10851 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10853 * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit.
10855 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10857 * server-src/driver.c: Typo.
10859 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10861 * restore-src/amrestore.c: Should now work correctly with empty file.
10862 * server-src/amverify.sh.in: Parse "End-of-Information detected."
10863 message from amrestore.
10865 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10867 * server-src/driver.c: tape_left should not become negative.
10869 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10870 Patch by Orion Poplawski <orion@cora.nwra.com>
10872 * server-src/diskfile.c: Parse negative spindle (-1).
10874 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10876 * server-src/amadmin.c: Balance subcommand use displayunit.
10877 * server-src/amcheck.c: Small cleanup.
10879 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10881 * restore-src/amrestore.c: Undo patch from 2004-11-11, it break
10884 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10886 * server-src/amstatus.pl.in: Remove trace.
10888 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10890 * server-src/diskfile.c: Compilation fix.
10892 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10894 * server-src/conffile.c: Parse displayunit,
10895 new fonction getcont_unit_divisor().
10896 * server-src/conffile.h: Prototype of getcont_unit_divisor().
10897 * server-src/amcheck.c: Use displayunit to display holding disk size.
10898 * server-src/amstatus.pl.in: Use displayunit to display dump size.
10899 * server-src/reporter.c: use displayunit to display dump size.
10900 * Document displayunit.
10902 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10904 * server-src/reporter.c: Change 'Daily' for 'Incr.'.
10906 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10908 * server-src/amstatus.pl.in Fix for level -1.
10910 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10911 Patch by Daniel Widyono <widyono@seas.upenn.edu>
10913 * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode.
10915 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10917 * restore-src/amrestore.c: Read empty file.
10919 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10921 * tape-src/tapetype.c: Use new tape.
10923 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10925 * server-src/amstatus.pl.in: Display partial estimate.
10927 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10929 * server-src/diskfile.c (read_diskline): A spindle must be numerical.
10931 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10933 * server-src/holding.c (rename_tmp_holding): Always rename files.
10935 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10937 * server-src/driver.c: Print message when too many retry.
10938 * server-src/amstatus.pl.in: Detect a failed dump after too many retry.
10939 * amplot/amplot.awk: Parse these message.
10941 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10943 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
10944 if dumper returns DONE and taper returns TRYAGAIN.
10946 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10948 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
10949 if dumper returns TRYAGAIN and taper returns DONE.
10951 2004-10-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10953 * server-src/amflush.c: Don't start a driver if nothing to flush.
10955 2004-10-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10956 Patch by Eric Siegerman <erics@telepres.com>
10958 * example/3hole.ps: Fix for multiple tape.
10960 2004-10-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10962 * server-src/amverify.sh.in: Terminate if no tape online.
10964 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10966 * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible.
10968 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10970 * server-src/conffile.c (getconf_byname): Special case for typ == BOOL.
10972 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10974 * server-src/planner.c (promote_hills): Use dumpcycle instead of
10976 * example/amanda.conf.in: Remove warning for tapecyle set to inf.
10978 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10980 * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too
10983 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10985 * tape-src/tapetype.c: New -o option, doesn't overwrite amanda
10987 * man/amtapetype.8.in: Document new -o option.
10989 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10991 * server-src/amstatus.pl.in: Works with failed dump to tape.
10993 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
10995 * client-src/sendbackup-gnutar.c (end_backup): Write warning message
10996 in not fatal error.
10997 * server-src/dumper.c (process_dumpline): Parse warning message.
10998 * server-src/reporter.c (handle_strange): Print warning message in
10999 the STRANGE summary.
11001 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11003 * server-src/driverio.c (free_serial): Set stable[s].dp to NULL.
11004 * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL.
11006 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11007 Patch by Joe Rhett <jrhett@isite.net>
11009 * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__.
11011 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11012 Patch by Orion Poplawski <orion@cora.nwra.com>
11014 * server-src/conffile.c (copy_dumptype): Copy maxpromoteday.
11016 2004-08-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11018 * client-src/selfcheck.c (check_disk): More check for CALCSIZE.
11020 2004-08-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11022 * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature.
11023 * common-src/amfeatures.c (am_init_feature_set): Set
11024 fe_selfcheck_calcsize.
11025 * client-src/selfcheck.c: Check if calcsize binary is available if
11027 * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE
11028 if it support fe_selfcheck_calcsize.
11030 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11032 * man/amanda.8.in: Document 'estimate' dumptype option.
11034 2004-08-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11036 * server-src/amrmtape.sh.in: Understand history info.
11038 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11040 * server-src/driver.c: Typo.
11042 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11044 * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line,
11045 print if a dump is waiting for holding disk space (roomq).
11047 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11049 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
11050 Don't call free_serial().
11051 * server-src/driver.c (dumper_result): Call free_serial_dp(dp).
11052 * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd.
11053 * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE
11055 * server-src/driverio.c (disk2serial): Try to find a 'dp' before
11056 allocating a new serial.
11057 * server-src/driverio.c (free_serial_dp): New function to remove the
11059 * server-src/driverio.h (free_serial_dp): Prototype.
11060 * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE
11063 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11065 * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with
11068 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11070 * client-src/calcsize.c: Support exclude and include like gnutar,
11071 change in program argument.
11072 * client-src/sendsize.c: Execute calcsize as requested.
11073 * common-src/amfeatures.h (fe_calcsize_estimate): New feature.
11074 * common-src/amfeatures.c (am_init_feature_set): set
11075 fe_calcsize_estimate.
11076 * server-src/amcheck.c (start_host): Check if client support CALCSIZE
11079 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11081 * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define
11083 * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate'
11084 * server-src/conffile.c (get_estimate): New function to parse estimate
11086 * server-src/diskfile.c (read_diskline): Copy 'estimate'.
11087 * server-src/diskfile.h (disk_t): Add 'estimate'.
11088 * server-src/amadmin.c (disklist_one): Print estimate type.
11090 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11092 * common-src/match.c (match_tar, tar_to_regex): New fonction similar
11093 to the exclude option of tar.
11094 * common-src/amanda.h (match_tar, tar_to_regex): Prototype.
11096 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11098 * server-src/infofile.h (history_t): new struct.
11099 * server-src/infofile.h (info_t): Add a history_t.
11100 * server-src/infofile.c (read_txinfofile): Parse history data.
11101 * server-src/infofile.c (write_txinfofile): Print history data.
11102 * server-src/amadmin.c (export_one): export history data.
11103 * server-src/amadmin.c (import_one): import history data.
11104 * server-src/driverio.c (update_info_dumper): update history data.
11106 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11107 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11109 * server-src/planner.c: Log L_DISK for autoflush disk.
11111 2004-05-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11113 * server-src/planner.c (handle_result): Add dp to pestq at the
11116 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11118 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
11120 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11122 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
11123 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
11124 * common-src/amanda.h: include "common-src/amanda-int.h".
11125 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
11127 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11129 * configure.in: Fix for automake 1.8.4.
11130 * config/acinclude.m4i: Fix for automake 1.8.4.
11132 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11134 * configure.in: Result of autoupdate.
11136 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11138 * config/config.guess: Update from automake 1.8.
11139 * config/config.sub: Update from automake 1.8.
11140 * config/depcomp: Update from automake 1.8.
11141 * config/install-sh: Update from automake 1.8.
11142 * config/missing: Update from automake 1.8.
11143 * config/mkinstalldirs: Update from automake 1.8.
11144 * config/ltmain.sh: Update from libtool-1.5.6.
11145 * config/libtool.m4i: Update from libtool-1.5.6.
11147 2004-04-26 Marc Mengel <mengel@fnal.gov>
11149 * tape-src/output-rait.c: Verify reads correctly.
11151 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11153 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
11154 fill up when in degraded mode.
11156 2004-04-23 Eric Siegerman <eric_97@pobox.com>
11158 Bug fix: amflush would run, and consume a tape, even if there
11159 were no Amanda directories waiting to be flushed:
11160 * common-src/sl.c (is_empty_sl): New function to test
11161 whether a list is empty.
11162 * common-src/sl.h (is_empty_sl): Prototype.
11163 * server-src/amflush.sh (main): Use is_empty_sl(),
11164 rather than ==NULL, to test emptiness of datestamp_list.
11166 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11168 * server-src/planner.c (setup_estimate): Typo.
11170 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11172 Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype.
11173 * server-src/conffile.c: Parse.
11174 * server-src/conffile.h: Define.
11175 * server-src/amadmin.c (disklist_one): Use.
11176 * server-src/diskfile.c (read_diskline): Initialize.
11177 * server-src/diskfile.h: Define.
11178 * server-src/planner.c: Use.
11179 * man/amanda.8.in: Document.
11181 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11182 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
11184 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
11185 if strategy is noinc.
11187 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11188 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
11190 * man/amoverview.8.in: Document results.
11192 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11193 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11195 * server-src/amoverview.pl.in: Print last two characters.
11197 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11199 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
11201 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11202 Fix by John Koyle <jkoyle@rfpdepot.com>
11204 * common-src/dgram.c: Fix EAGAIN on Linux.
11206 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11208 * server-src/amadmin.c (bumpsize): Typo.
11210 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11212 New bumppercent global option.
11213 * example/amanda.conf.in: Document it.
11214 * man/amanda.8.in: Document it.
11215 * server-src/amadmin.c (bumpsize): Write it.
11216 * server-src/conffile.c: Parse it.
11217 * server-src/conffile.h: Define It.
11218 * server-src/planner.c (bump_thresh): New size_level_0 parameter,
11219 use the new bumppercent option.
11221 2004-04-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11223 * server-src/amadmin.c: Rename host_t to amhost_t.
11224 * server-src/amcheck.c: Ditto.
11225 * server-src/amindexd.c: Ditto.
11226 * server-src/diskfile.c: Ditto.
11227 * server-src/diskfile.h: Ditto.
11228 * server-src/driver.c: Ditto.
11229 * server-src/planner.c: Ditto.
11231 2004-03-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11233 * amplot/amplot.awk: Parse "driver: tape size" line.
11235 2004-03-22 Stefan G. Weichinger <monitor@oops.co.at>
11237 * server-src/amcheck.c (start_host): Added warning for hostname
11239 * docs/TOP-TEN-QUESTIONS: added note about localhost-warning.
11241 2004-03-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11243 * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS.
11245 2004-03-18 Stefan G. Weichinger <monitor@oops.co.at>
11247 * docs/TOP-TEN-QUESTIONS: New file.
11249 2004-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11251 * server-src/reporter.c (handle_success): Set stats[i].coutsize
11253 * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize.
11255 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11257 * common-src/ssh-security.c: New ssh security driver.
11258 * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c.
11259 * common-src/security.c: Add ssh security driver.
11260 * configure.in: Add --with-ssh-security. Define SSH_SECURITY.
11262 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11264 * server-src/amcheck.c: Do labelstr check in correct order.
11266 2004-03-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11268 Use only one time event for all dumpers, no wait event.
11269 start_some_dumps is called everytime a dumper or taper finish.
11270 * server-src/driver.c (dumpers_ev_time): New global event.
11271 * server-src/driver.c (start_some_dumps): Remove dumper argument,
11272 can start many dump.
11273 * server-src/driver.c (dumper_result): Call start_some_dumps instead
11275 * server-src/driver.c (handle_idle_wait): Remove function.
11276 * server-src/driver.c (handle_dumpers_time): new handle for
11277 dumpers_ev_time, it call start_some_dumps.
11278 * server-src/driverio.h (dumper_t): Remove ev_wait.
11279 * server-src/driverio.c (startup_dump_process): Don't set ev_wait.
11281 2004-03-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11283 * common-src/fileheader.c (print_header): Fix fprintf use.
11284 * client-src/amqde.c (parse_exclude_path): Fix = by ==.
11285 * common-src/protocol.c (s_repwait): Fix compiler warning.
11286 * common-src/rsh-security.c (runrsh): Fix compiler warning.
11288 2004-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11290 * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd.
11292 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11293 Reported by Allen Liu <allen@bellglobal.com>
11295 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
11297 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11299 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
11300 * server-src/taper.c: Ditto
11302 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11304 * server-src/driver.c (dump_schedule): Print complete name.
11306 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11308 The estimate send a PREP (partial REP) packet after each estimate.
11309 * client-src/amandad.c: Send PREP packet if sendsize.
11310 * common-src/amfeatures.c (am_init_feature_set): Add
11311 fe_partial_estimate.
11312 * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate.
11313 * common-src/packet.c (pktypes[]): Add PREP.
11314 * common-src/packet.h (pktype_t): Add P_PREP.
11315 * common-src/protocol.c (action_t): Add A_CONTPEND.
11316 * common-src/protocol.c: Handle P_PREP packet.
11317 * server-src/amstatus.pl.in: Parse "got partial result" line.
11318 * server-src/planner.c: Handle P_PREP packet.
11320 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11321 Reported by Jason Brooks <jason.brooks@windriver.com>
11323 * server-src/reporter.c: Remove duplicate setting of cd to
11324 &ColumnData[Level].
11326 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11327 Patch by Philippe Charnier <charnier@xp11.frmug.org>
11329 * server-src/amtrmidx.c: Add '\n'.
11331 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11333 * recover-src/set_commands.c (cd_glob): Fix memory leak.
11335 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11337 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
11338 * recover-src/uscan.l: Fix double amfree.
11340 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11342 * server-src/driver.c: Build holding disk name with timestamp.
11343 * server-src/holding.c (is_datestr): Check also for timestamp.
11344 * server-src/planner.c: Flush today's dump with autoflush.
11345 * server-src/find.c: Find holding disk with timestamp.
11346 * server-src/find.h (find_result_t): Add timestamp field.
11348 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11350 * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full.
11352 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11354 * server-src/amverifyrun.sh.in: Do not execute amverify if no tape
11357 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11359 * server-src/amdump.sh.in: Do not redirect to /dev/null.
11361 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11363 * config/acinclude.m4i: Define CF_WAIT_INT.
11364 * configure.in: Call CF_WAIT_INT.
11365 * common-src/amanda.h: Try to make waitpid doesn't warn.
11367 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11369 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
11371 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
11373 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
11374 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
11375 * changer-src/chg-iomega.pl.in: New changer script.
11376 * docs/TAPE.CHANGERS: Document chg-iomega.
11377 * contrib/mkamandisk: Script to format iomega disk.
11379 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11381 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
11383 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11385 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
11386 * example/amanda.conf.in: Update record documentation.
11387 * man/amanda.8.in: Update record documentation.
11389 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
11391 * docs/INSTALL: Add config for xinetd.
11393 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11395 * server-src/planner.c (handle_result): Detect bad estimate (-1).
11396 * server-src/planner.c (analyze_estimate): Don't schedule level
11397 if the estimate is bad.
11399 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11401 * docs/HOWTO-FILE-DRIVER: New file.
11402 * docs/TAPE.CHANGERS: Explain chg-disk.
11403 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
11405 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11407 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
11409 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11410 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
11412 * changer-src/chg-disk.sh.in: New changer script.
11413 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
11414 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
11416 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11418 * tape-src/tapetype.c: extern int optind.
11419 * tape-src/tapeio.c: extern int optind.
11421 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11422 Patch by C.Scheeder <christoph.scheeder@scheeder.de>
11424 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
11426 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11428 * server-src/driver.c: Print the tape size.
11429 * server-src/amstatus.pl.in: print % of tape use.
11431 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11433 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
11435 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11437 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
11439 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11441 * server-src/amcheck.c (taperscan_slot): Deal with label not in
11443 * server-src/amtape.c (taperscan_slot): Ditto.
11444 * server-src/taper.c (taperscan_slot): Ditto.
11446 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11448 * server-src/driver.c (handle_taper_result): Always call
11449 continue_dumps() in TRYAGAIN case.
11451 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11453 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
11454 if no tape in drive.
11456 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11458 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
11460 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11461 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
11463 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
11464 * docs/HOWTO-AFS: New file.
11466 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11468 * server-src/amadmin.c (tape): Display the next new tapes.
11469 * server-src/reporter.c (output_tapeinfo): Ditto.
11471 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11473 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
11475 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11477 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
11478 * server-src/amcheck.c (taper_scan): Handle found==3.
11479 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
11480 * server-src/amtape.c (taper_scan): Handle found==3.
11481 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
11482 * server-src/taper.c (taper_scan): Handle found==3.
11484 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11486 * server-src/amcheck.c: Use stralloc(optarg).
11487 * tape-src/ammt.c: Use stralloc(optarg).
11488 * tape-src/tapetype.c: Use stralloc(optarg).
11490 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11491 Patch by Jay Fenlason <fenlason@redhat.com>
11493 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
11495 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11496 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
11498 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
11500 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11502 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
11503 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
11504 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
11505 * server-src/diskfile.c (add_disk): Set device and todo.
11506 * server-src/find.c: Build disklist dynamicaly from log files.
11507 * server-src/find.h (find_dump): New prototype.
11509 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11511 * server-src/amlogroll.c: set_pname("amlogroll").
11513 2003-10-24 Todd M. Kover <kovert@omniscient.com>
11515 * add amqde for "quick and dirty estimates" under gnutar (program
11516 that will traverse the filesystem rather than invoke gnutar).
11517 controlled via configure option --with-qde. This really wants to
11518 be configured in the server.
11520 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11522 * server-src/amverify.sh.in: Fix usage message.
11523 * common-src/fileheader.c (print_header): fprintf to outf.
11524 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
11526 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
11528 2003-10-23 Todd Kover <kovert@omniscient.com>
11530 * make amrecover link against readline rather than libamanda so
11531 only amrecover would require the shared library (if it's found)
11533 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11534 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11536 * client-src/amandates.c (finish_amandates): Call error() if the
11537 close of amdf fail.
11538 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
11539 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
11541 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
11544 2003-10-14 John R. Jackson (jrj@purdue.edu)
11546 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
11547 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
11549 2003-10-14 John R. Jackson (jrj@purdue.edu)
11551 * client-src/sendsize.c: Handle case where PID's get re-used.
11553 2003-10-14 John R. Jackson (jrj@purdue.edu)
11555 * configure.in: Need to check for sys/gscdds.h on AIX to enable
11558 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11560 * common-src/genversion.c (prundefvar): New function to print an
11561 undefined variable.
11562 * common-src/genversion.c: Print undefined variable.
11563 * server-src/amcheck.c: Improve message for no LPRCMD defined.
11565 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11567 * restore-src/amidxtaped.c: Don't clea re_label before checking
11570 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11571 Patch by Scott Mcdermott <smcdermott@questra.com>
11573 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
11574 variable to add a pause after a tape loading.
11576 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11577 Fix by John E. Hein <jhein@timing.com>
11579 * changer-src/chg-manual.sh.in: Quote @EGREP@.
11580 * changer-src/chg-null.sh.in: Quote @EGREP@.
11582 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11584 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
11585 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
11586 * server-src/driver.c (read_flush): Write a 'flush size' to the
11589 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11591 * changer-src/chg-chio.pl.in: Fix next/prev command.
11593 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11594 patch by Paul Bijnens <paul.bijnens@xplanation.com>
11596 * client-src/client_util.c (add_include): Count include with 2 /,
11597 Fix descriptor leak.
11599 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11601 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
11603 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11605 * server-src/holding.c: Fix compiler error.
11606 * server-src/planner.c: Use snprintf.
11608 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11609 patch by Paul Bijnens <paul.bijnens@xplanation.com>
11611 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
11614 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11616 * server-src/amstatus.pl.in: Fix to failed tape.
11618 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11620 * server-src/planner.c (delay_dumps): Delay not delay forced full
11621 before forced full.
11623 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11625 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
11627 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11629 * server-src/amverify.sh.in: Do not advance to next tape.
11631 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11632 patch by Eric Siegerman <eric_97@pobox.com>
11634 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
11636 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11638 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
11639 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
11640 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
11642 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11644 * client-src/noop.c: #include "util.h".
11646 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11648 * server-src/amflush.c: Implement new -b and -s options.
11649 * man/amflush.8.in: Document it.
11651 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11653 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
11656 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11658 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
11660 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11662 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
11664 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11665 Bug reported by Sven Rudolph <rudsve@drewag.de>
11667 * server-src/holding.c (mkholdingdir): New function to create a holding
11669 * server-src/holding.h (mkholdingdir): Prototype.
11670 * server-src/driver.c: Use mkholdingdir;
11671 * server-src/chunker.c: Call mkholdingdir before opening a file for
11674 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11675 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11677 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
11679 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11680 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11682 * server-src/amstatus.pl.in: If nothing is active, it now gives the
11683 status of the last run (amdump or amflush).
11684 * man/amstatus.8.in: Document it.
11686 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11688 * tape-src/output-file.c (check_online): Write error if opendir failed.
11690 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11691 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11693 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
11694 of parsing the disklist file.
11696 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11698 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
11701 2003-05-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11703 * common-src/versuff.c.in: Use @VERSION_SUFFIX@.
11705 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11707 * example/amanda.conf.in: Add more amrecover_changer doc.
11708 * man/amanda.8.in: Add more amrecover_changer doc.
11709 * man/amrecover.8.in: Add more amrecover_changer doc.
11711 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11713 * server-src/tapefile.c (read_tapelist): Ignore blank line.
11714 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
11715 it to '1' when reading blank line.
11717 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11719 * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h,
11720 linux/ftape-vendors.h et linux/ftape.h.
11722 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11723 Patch by Darin Dugan <dddugan@iastate.edu>
11725 * server-src/amcheck.c: Change subject in email if no error.
11727 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11729 * common-src/error.c (output_error_message): Always prepend program
11732 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11734 * server-src/amstatus.pl.in: Fix for estimate disk.
11736 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11738 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
11740 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11741 New file by Robert C Dege <RDege@northropgrumman.com>
11743 * configure.in: Find mcutil binary.
11744 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
11745 example/chg-mcutil.conf.
11746 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
11747 * changer-src/chg-mcutil.sh.in: New file.
11748 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
11749 * example/chg-mcutil.conf.in: New file.
11751 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11753 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
11756 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11758 * server-src/amverifyrun.sh.in: Run the amverify command.
11760 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11761 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11763 * server-src/reporter.c: Get the filenumber correct.
11765 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11766 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11768 * server-src/reporter.c: Print a postscript label for each tape used.
11770 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11772 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
11773 define DEV_PREFIX and RDEV_PREFIX.
11775 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11777 * configure.in: Typo.
11779 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11780 Patch by Gert Doering <gert@greenie.muc.de>
11782 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
11784 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11786 * configure.in: Compile on *-sco3.2v4*
11788 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11790 * configure.in: Use '=' instead of '=='.
11792 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11794 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
11795 file: and tape: as driver, not host name.
11797 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11799 * server-src/amrmtape.sh.in: Print better output.
11801 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11803 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
11805 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11807 * client-src/client_util.c (add_include): If include contain 2 '/' then
11808 use at asis, don't try to match it.
11810 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11812 * server-src/changer.h (changer_label): Return an int.
11813 * server-src/changer.h (changer_label): First parameter is char *.
11815 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11817 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
11818 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
11819 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
11820 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
11821 tapefd_getinfo_level): Return info of master_fd.
11822 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
11824 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
11826 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11828 * tape-src/output-file.c (file_tapefd_can_fork): New function that
11829 return 1 if the file: can be run under a forked process.
11830 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
11831 * tape-src/output-null.c (null_tapefd_can_fork): New function that
11832 return 1 if the null: can be run under a forked process.
11833 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
11834 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
11835 * tapefd_can_fork() return 1.
11836 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
11837 return 1 if the rait: can be run under a forked process.
11838 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
11839 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
11840 return 1 if the tape: can be run under a forked process.
11841 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
11842 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
11843 initialize vtable[];
11844 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
11845 xxx_tapefd_can_fork function.
11846 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
11848 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11850 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
11851 before opening the file for writing.
11853 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11855 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
11857 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11859 * amplot/amplot.sh.in: New -b option for b/w postscript.
11860 * amplot/amplot.awk: Add 'color' to command if bw is set.
11861 * amplot/amplot.g: Change line 6 to line 8.
11862 * man/amplot.8: Document -b option.
11864 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11866 * recover-src/extract_list.c: Fix the name of the
11867 amidxtaped.<timestamp>.debug file.
11869 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11870 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
11872 * restore-src/amidxtaped.c: Use the device sent by the changer.
11874 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11876 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
11879 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11881 * server-src/changer.c: Sync with 2.4.4.
11883 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11885 * client-src/client_util.c: Print error except ENOENT for
11886 exclude/include files.
11888 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11890 * tape-src/tapetype.c: Use %ld to print some variable.
11892 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11894 * server-src/conffile.c (init_defaults): conf_printer.s must be set
11897 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11898 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11900 * tape-src/tapetype.c: Document -c option.
11902 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11904 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
11906 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11908 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
11911 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11913 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
11915 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11917 * server-src/amcheck.c: New -a option.
11918 * man/amcheck.8.in: Document it.
11920 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11922 * server-src/amindexd.c (build_disk_table): Compare the level.
11924 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11925 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
11927 * tape-src/tapetype.c: New -c argument to do only the compression test.
11928 Better detection of compression.
11929 * man/amtapetype.8.in: Document -c argument.
11931 2003-02-09 John R. Jackson (jrj@purdue.edu)
11933 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
11934 This helps performance on some OS's.
11936 2003-02-08 John R. Jackson (jrj@purdue.edu)
11938 * restore-src/amrestore.c: Clean up strtol() argument processing.
11940 2003-02-08 John R. Jackson (jrj@purdue.edu)
11942 * docs/INSTALL: Clean up supporting package versions and URL's.
11944 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11946 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
11948 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11949 Patch by Christophe Kalt <kalt@taranis.org>
11951 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
11952 * client-src/sendsize.c: New re_size for NetApp.
11954 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11955 Fix by Colin Henein <cmh@>
11957 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
11959 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11960 Patch by Doug Kingston <dpk@randomnotes.org>
11962 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
11963 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
11964 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
11966 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11967 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
11969 * man/amtapetype.8.in: Fix example.
11971 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11973 * common-src/amanda.h: #define S_ISDIR if not already defined.
11975 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11976 File from Doug Kingston <dpk@randomnotes.org>
11978 * docs/HOWTO-CYGWIN.html: New file.
11980 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11982 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
11983 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
11984 if WANT_RUNTIME_PSEUDO_RELOC.
11985 * recover-src/Makefile.am: Ditto.
11987 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11989 * tape-src/output-rait.h: #define stralloc strdup
11990 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
11991 vstralloc in standalone.
11993 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
11994 Reported by Doug Kingston <dpk@randomnotes.org>
11996 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
11998 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12000 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
12002 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12004 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
12005 * changer-src/chg-scsi.c: Ditto.
12006 * changer-src/scsi-aix.c: Ditto.
12007 * changer-src/scsi-bsd.c: Ditto.
12008 * changer-src/scsi-cam.c: Ditto.
12009 * changer-src/scsi-changer-driver.c: Ditto.
12010 * changer-src/scsi-hpux_new.c: Ditto.
12011 * changer-src/scsi-irix.c: Ditto.
12012 * changer-src/scsi-linux.c: Ditto.
12013 * changer-src/scsi-solaris.c: Ditto.
12014 * changer-src/sense.c: Ditto.
12015 * tape-src/output-rait.c: Ditto.
12017 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12019 * server-src/taper.c (read_file): Don't count header in filesize.
12021 2003-01-25 John R. Jackson (jrj@purdue.edu)
12023 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
12024 by indeterminate compiler order of evaluation.
12026 2003-01-25 John R. Jackson (jrj@purdue.edu)
12028 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
12029 * restore-src/amrestore.c: Ditto.
12030 * tape-src/output-rait.c: Ditto.
12032 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12034 * server-src/amstatus.pl.in: print an usage by tape.
12036 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12038 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
12039 Check also for level when comparing label.
12041 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12043 Do not build chg-scsi-chio, it is buggy.
12044 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
12045 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
12047 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12049 * configure.in: disable amrestore if --without-server is set.
12051 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12053 * client-src/amandad.c: Use the dbfd macro instead of the external
12055 * client-src/selfcheck.c: Ditto.
12056 * client-src/sendbackup.c: Ditto.
12057 * client-src/sendsize.c: Ditto.
12058 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
12059 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
12060 * server-src/amindexd.c: dup db_fd() to stderr.
12061 * server-src/conffile.c: Don't call error() if the config file does not
12062 exist, just write to stderr and set got_parserror.
12064 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12066 * recover-src/amrecover.c: Fix memory leak.
12068 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12070 Add new maxpromoteday option in a dumptype.
12071 * example/amanda.conf.in: Give an example
12072 * man/amanda.8.in: Document it.
12073 * server-src/amadmin.c: Print it in the disklist subcommand.
12074 * server-src/conffile.c: read it.
12075 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
12077 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
12078 dumptype_t to disk_t.
12079 * server-src/diskfile.h (disk_t): Add maxpromoteday.
12080 * server-src/planner.c (promote_highest_priority_incr): Don't promote
12081 a disk if est(dp)->next_level0 > dp->maxpromoteday.
12083 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12084 Reported by Josh More <jmore@remote-print.com>
12086 * client-src/client_util.c (add_exclude, add_include): Remove the
12087 need for MAXPATHLEN.
12089 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12090 Fix by Josh More <jmore@remote-print.com>
12092 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
12094 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12095 Undo patch of 2002-11-27. That doesn't work well for the planner.
12097 * common-src/amanda.h (days_diff): Revert to old macro.
12098 * server-src/amadmin.c: Undo Fix for newer days_diff.
12099 * server-src/planner.c: Undo Fix for newer days_diff.
12101 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12103 * client-src/client_util.c: Fix memory leak reported by valgrind.
12104 * client-src/selfcheck.c: Ditto.
12105 * client-src/sendbackup.c: Ditto.
12106 * client-src/sendsize.c: Ditto.
12107 * common-src/amfeatures.c: Ditto.
12108 * common-src/debug.c: Ditto.
12109 * recover-src/amrecover.c: Ditto.
12110 * recover-src/extract_list.c: Ditto.
12111 * recover-src/set_commands.c: Ditto.
12112 * recover-src/uparse.y: Ditto.
12113 * recover-src/uscan.l: Ditto.
12114 * server-src/amindexd.c: Ditto.
12115 * server-src/amlabel.c: Ditto.
12116 * server-src/amtape.c: Ditto.
12117 * server-src/amtrmidx.c: Ditto.
12118 * server-src/amtrmlog.c: Ditto.
12119 * server-src/changer.c: Ditto.
12120 * server-src/conffile.c: Ditto.
12121 * server-src/driver.c: Ditto.
12122 * server-src/driverio.c: Ditto.
12123 * server-src/dumper.c: Ditto.
12124 * server-src/find.c: Ditto.
12125 * server-src/holding.c: Ditto.
12126 * server-src/logfile.c: Ditto.
12127 * server-src/planner.c: Ditto.
12128 * server-src/reporter.c: Ditto.
12129 * server-src/tapefile.c: Ditto.
12130 * server-src/taper.c: Ditto.
12132 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12134 * amplot/amplot.awk: Many fix.
12136 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12138 * server-src/planner.c (promote_highest_priority_incremental): Promote
12139 a disk > balanced size if no full today. Do not promote a disk it's
12140 the only disk due that day and no full today.
12142 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12143 Patch by Brad Roberts <braddr@puremagic.com>
12145 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
12146 * server-src/holding.c (get_flush): Ditto.
12148 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12150 * server-src/conffile.c: New taperalgo configuration keyword.
12151 * server-src/conffile.h: Ditto.
12152 * man/amanda.8.in: Document it.
12153 * server-src/driver.c (startaflush): New function to start a flush to
12156 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12158 * server-src/diskfile.c (parse_diskline): Allow skip in dumptype.
12160 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12162 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
12164 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12166 Don't use the G flag for samba backup restore by tar.
12167 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
12168 * recover-src/extract_list.c (extract_files_child): Set dumptype to
12169 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
12170 if it's IS_SAMBA_TAR.
12172 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12174 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
12176 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12178 * server-src/planner.c (promote_highest_priority_incremental): Newer
12179 algorithm that reduce the number of level 0 by hosts on a single day.
12181 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12183 * amplot/amplot.awk: Parse newer log lines.
12185 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12186 * server-src/reporter.c (output_stats): Typo.
12188 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12190 * server-src/reporter.c: Print an usage by tape.
12192 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12194 * tape-src/tapeio.c (do_read): Init count to 0.
12196 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12198 * tape-src/Makefile.am: Install tapetype program as amtapetype.
12199 * docs/TAPETYPES: Change for amtapetype.
12200 * man/amtapetype.8.in: New man page
12201 * man/Makefile.am: Install it.
12202 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
12204 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12206 * tape-src/ammt.c (optind): Add prototype.
12207 * tape-src/amdd.c (optind): Add prototype.
12209 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12211 * common-src/arglist.h (printf_arglist_function,
12212 printf_arglist_function1, printf_arglist_function2): Define if
12213 STDC_HEADERS is not defined.
12215 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12217 * server-src/amstatus.pl.in: New --date option to display datestamp.
12218 * server-src/amstatus.pl.in: Increase some field size.
12219 * server-src/amstatus.pl.in: The host field adjust it's length to the
12222 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12224 * common-src/amanda.h (days_diff): Don't add a half day.
12225 * server-src/amadmin.c: Fix for newer days_diff.
12226 * server-src/planner.c: Fix for newer days_diff.
12228 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12230 * client-src/amandad.c: Fix compiler warning.
12231 * common-src/Makefile.am (bsdsecurity): Link with file.o.
12232 * common-src/bsd-security.c: Fix compiler warning.
12233 * common-src/bsd-security.c (construct_datestamp, construct_timestamp):
12234 Add function if TEST.
12235 * server-src/chunker.c: Fix compiler warning.
12236 * server-src/dumper.c: Fix compiler warning.
12238 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12240 * tape-src/tapetype.c: Cast time_t to long for printing.
12242 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12244 * server-src/amflush.c: Write a "amflush: start at ???" line.
12245 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
12247 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12249 * server-src/planner.c (delay_dumps): Use snprintf.
12251 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12253 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
12254 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
12256 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12258 * docs/TAPE.CHANGERS: Sync with 2.4.3.
12260 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12262 * server-src/amadmin.c: Cleanup.
12264 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12266 * man/amadmin.8.in: Document new --days option of balance subcommand.
12268 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12270 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
12271 * server-src/amadmin.c (balance): Improve output.
12273 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12275 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
12277 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12279 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
12281 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12283 * server-src/reporter.c: Fix for LPRCMD not defined.
12285 2002-11-14 Marc Mengel <mengel@fnal.gov>
12287 New changer scripts for use with rait: code, run several other
12288 changers in tandem and return a rait: tape device. Makes fake
12289 amanda.conf files under AMANDA_DEBUGDIR for each changer used,
12292 * changer-src/chg-rait.sh.in: New file. Multi-changer script.
12293 * changer-src/chg-null.sh.in: New File. Null-device changer script.
12294 * docs/TAPE.CHANGERS: Descriptions of above.
12295 * configure.in: added above files.
12296 * changer-src/Makefile.am: Likewise.
12298 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12299 Patch by Orion Poplawski <orion@colorado-research.com>
12301 * server-src/planner.c (delay_dumps): Add the estimate size to all call
12304 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12306 * server-src/reporter.c: Increase width of some field.
12308 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12310 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
12312 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12314 * recover-src/extract_list.c (delete_file): j is int.
12315 * changer-src/scsi-defs.h (B, B1): Check if already defined.
12316 * server-src/taper.c: Some cast to int.
12317 * tape-src/amdd.c (read_func, write_func): Complete prototype.
12318 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
12319 third argument is size_t.
12320 * tape-src/tapeio.c: Ditto.
12321 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
12322 ssize_t, third argument is size_t.
12323 * tape-src/output-file.c: Ditto.
12324 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
12325 ssize_t, third argument is size_t.
12326 * tape-src/output-null.c: Ditto.
12327 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
12328 third argument is size_t.
12329 * tape-src/output-rait.c: Ditto.
12330 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
12331 ssize_t, third argument is size_t.
12332 * tape-src/output-tape.c: Ditto.
12334 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12336 * configure.in: socklen_t default to int.
12337 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
12338 * common-src/stream.c (stream_server): len is socklen_t.
12339 * recover-src/extract_list.c (add_file): j is int.
12341 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12343 * client-src/client_util.c (test_name_len) Remove variable.
12344 * common-src/match.c (len_prefix): Change type to int.
12345 * server-src/taper.c: Use %p to print pointer.
12346 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
12347 * tape-src/amdd.c (debug): Renamed to debug_amdd.
12348 * tape-src/ammt.c (debug): Renamed to debug_ammt.
12350 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12352 * restore-src/amidxtaped.c: Fix restore from file.
12354 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12356 * restore-src/amidxtaped.c: Fix newline in string literal.
12358 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12360 * server-src/conffile.c (maxdumpsize): New option.
12361 * server-src/conffile.h: Ditto.
12362 * server-src/planner.c: Use maxdumpsize if set.
12363 * example/amanda.conf.in: Document it.
12364 * man/amanda.8.in: Document it.
12366 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12368 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
12369 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
12370 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
12371 fe_amidxtaped_config): New features.
12372 * common-src/amfeatures.c (am_init_feature_set): Set new features.
12373 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
12374 * restore-src/Makefile.am: amidxtaped.c need libamserver.
12375 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
12376 * restore-src/amidxtaped.c: Use new configuration options.
12377 * server-src/conffile.c (conf_amrecover_do_fsf,
12378 conf_amrecover_check_label, conf_amrecover_changer): New config.
12379 * server-src/conffile.h: New config options.
12380 * example/amanda.conf.in: Document them.
12381 * man/amanda.8.in: Document them.
12383 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12385 * autogen: touch config/config.h.in
12386 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
12387 * common-src/Makefile.am: Build versuff.o before version.o
12388 * recover-src/Makefile.am: Remove work around for automake-1.2
12390 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12392 * configure.in: Remove --disable-libtool.
12393 * */Makefile.am: Remove WANT_LIBTOOL.
12395 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12397 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
12398 * server-src/amadmin.c: Ditto.
12399 * server-src/amcheck.c: Ditto.
12400 * server-src/amcleanupdisk.c: Ditto.
12401 * server-src/amflush.c: Ditto.
12402 * server-src/amindexd.c: Ditto.
12403 * server-src/amlabel.c: Ditto.
12404 * server-src/amlogroll.c: Ditto.
12405 * server-src/amtape.c: Ditto.
12406 * server-src/amtrmidx.c: Ditto.
12407 * server-src/amtrmlog.c: Ditto.
12408 * server-src/chunker.c: Ditto.
12409 * server-src/diskfile.c: Ditto.
12410 * server-src/driver.c: Ditto.
12411 * server-src/dumper.c: Ditto.
12412 * server-src/getconf.c: Ditto.
12413 * server-src/planner.c: Ditto.
12414 * server-src/reporter.c: Ditto.
12415 * server-src/taper.c: Ditto.
12416 * server-src/conffile.c (config_name, config_dir): Add declaration.
12418 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12420 * man/amrestore.8: Amrestore doesn't use a changer.
12422 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12424 * configure.in (SHELL): Don't set it, libtool do it.
12426 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12428 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
12430 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12432 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
12433 check the label before restoring.
12434 * man/amrestore.8: Document -l flag.
12436 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12438 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
12439 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
12440 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
12441 * tape-src/output-tape.c: Ditto.
12443 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12444 Undo patch of 2002-10-24. They are needed by amrecover.
12446 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
12447 is_local_fstype): Add Prototype.
12448 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
12449 is_local_fstype): remove Prototype.
12451 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12452 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
12454 * tape-src/tapetype.c: Detects and warns the user if the tape drive
12455 has hardware compression enabled.
12457 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12459 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
12460 'fsf <fileno>' if -f is set.
12461 * man/amrestore.8: Document -f flag.
12463 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12465 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
12466 fe_amindexd_fileno_in_ORLD): New amfeatures.
12467 * common-src/amfeatures.c (am_init_feature_set): Set
12468 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
12469 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
12470 * recover-src/display_commands.c (add_dir_list_item): Set fileno
12471 in struct DIR_ITEM.
12472 * recover-src/display_commands.c (suck_dir_list_from_server): Read
12473 fileno if fe_amindexd_fileno_in_OLSD is set.
12474 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
12475 * recover-src/extract_list.c (add_file): Read fileno if
12476 fe_amindexd_fileno_in_ORLD is set.
12477 * recover-src/extract_list.c (delete_file): Read fileno if
12478 fe_amindexd_fileno_in_ORLD is set.
12479 * server-src/amindexd.c (opaque_ls): Write fileno if
12480 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
12482 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12483 patch by Doug Kingston <dpk@pobox.com>
12485 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
12486 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
12487 * client-src/Makefile.am: Fix for cygwin.
12488 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
12489 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
12490 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
12491 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
12492 * client-src/selfcheck.c (check_suid): Don't check uid if
12494 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
12495 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
12497 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12499 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
12500 is_local_fstype): Remove Prototype.
12501 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
12502 is_local_fstype): Add Prototype.
12504 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12506 * server-src/amindexd.c: New FEATURES command that read the features
12507 set from the client and reply the features set of the server.
12508 * recover-src/amrecover.h: include "amfeatures.h"
12509 * recover-src/amrecover.c: Send the FEATURES command to the server
12510 and read it's features set.
12512 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12514 * client-src/Makefile.am: Work around for CYGWIN.
12515 * server-src/Makefile.am: Ditto.
12517 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12519 * configure.in: Remove empty command from $program_transform_name.
12521 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12523 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
12525 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12527 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
12529 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12531 * server-src/amverifyrun.sh.in: New program.
12532 * man/amverifyrun.8.in: Man page for amverifyrun.
12533 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
12534 server-src/amverifyrun.sh.
12535 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
12536 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
12537 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
12538 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
12540 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12542 * server-src/amverify.sh.in: Accept runtapes as a third argument.
12543 * man/amverify.8.in: Document it.
12545 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12547 * config/missing: Updated from automake-1.5.
12549 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12551 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
12552 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
12554 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12556 * client-src/sendsize.c (getsize_dump): Print the fstype.
12557 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
12559 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12560 Patch by Florian Hars <hars@bik-gmbh.de>
12562 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
12564 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12566 * recover-src/extract_list.c (extract_files): print tape drive
12567 and host before asking to load tape.
12569 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12571 * server-src/taper.c (read_file): Initialize file,
12572 stat(file.cont_filename) before opening it.
12574 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12576 * server-src/amverify.sh.in: Don't check that the device is
12577 a character device, it could be a file: or rait:
12579 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12581 * common-src/amfeatures.c (am_set_default_feature_set):
12582 fe_rep_options_sendbackup_options is a default feature.
12584 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
12586 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
12588 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12589 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
12591 * docs/EXCLUDE: Improve documentation.
12593 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12595 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
12597 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12598 Patch by Jason Brooks <jason0@mail.wrs.com>
12600 * docs/chg-scsi.notes: New document.
12601 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
12603 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
12605 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
12607 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12609 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
12610 "/dev/null" instead of filename.
12612 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12614 * changer-src/chg-mtx.sh.in: Sync with 2.4.3 branch.
12615 * changer-src/chg-scsi-chio.c: Ditto.
12616 * changer-src/chg-scsi.c: Ditto.
12617 * changer-src/scsi-aix.c: Ditto.
12618 * changer-src/scsi-bsd.c: Ditto.
12619 * changer-src/scsi-cam.c: Ditto.
12620 * changer-src/scsi-changer-driver.c: Ditto.
12621 * changer-src/scsi-defs.h: Ditto.
12622 * changer-src/scsi-hpux_new.c: Ditto.
12623 * changer-src/scsi-irix.c: Ditto.
12624 * changer-src/scsi-linux.c: Ditto.
12625 * changer-src/scsi-solaris.c: Ditto.
12626 * tape-src/tapeio.c: Ditto.
12628 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12630 * recover-src/uparse.y: Fix compiler warning.
12632 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12634 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
12636 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12638 * man/amanda.8.in (tapecycle): Improve documentation.
12640 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12642 * server-src/amstatus.pl.in: Works with features.
12644 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12646 * common-src/amfeatures.c (am_feature_to_string): Return the string
12647 "UNKNOWNFEATURE" if no features.
12648 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
12649 string is "UNKNOWNFEATURE".
12651 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12653 * common-src/file.c (debug_agets): line_free was badly set when
12654 the buffer size in increased.
12656 2002-07-19 John R. Jackson (jrj@purdue.edu)
12658 * common-src/amanda.h: Fix bad #define.
12660 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12662 David Munro <D.Munro@surrey.ac.uk>
12664 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
12666 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12668 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
12670 * server-src/reporter.c: Fix psfname filename.
12672 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12674 * client-src/sendbackup.c: Don't do compression if it is server side.
12675 * client-src/sendbackup-dump.c: Ditto.
12676 * client-src/sendbackup-gnutar.c: Ditto.
12678 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12679 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
12681 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
12683 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12685 * recover-src/extract_list.c (extract_files): Set dump_device_name
12686 after the call of okay_to_continue.
12688 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12690 New features to describe the OPTIONS line of a REP packet.
12691 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
12692 fe_rep_options_hostname, fe_rep_options_features and
12693 fe_rep_options_sendbackup_options.
12694 * common-src/amfeatures.c (am_init_feature_set): Add
12695 fe_rep_options_features.
12696 * client-src/selfcheck.c: Write REP packet according to server features. * client-src/sendbackup.c: Ditto.
12697 * client-src/sendsize.c: Ditto.
12699 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12701 * common-src/amfeatures.h:
12702 Rename fe_g_options_maxdump to fe_req_options_maxdumps
12703 Rename fe_g_options_hostname to fe_req_options_hostname
12704 Rename fe_g_options_features to fe_req_options_features
12705 * common-src/amfeatures.c: Ditto
12706 * server-src/amcheck.c: Ditto
12707 * server-src/dumper.c: Ditto
12708 * server-src/planner.c: Ditto
12710 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12712 * server-src/amcheck.c: Check if it can send features, hostname or
12713 maxdumps on the global options line. Don't send hostname and
12714 maxdumps for a noop service.
12715 * server-src/dumper.c: Ditto.
12716 * server-src/planner.c: Ditto.
12718 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12720 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
12721 srvcomp-fast options.
12723 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12725 * server-src/amcheck.c (start_host): Check the todo bit before
12728 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12730 * client-src/client_util.c (parse_options, parse_g_options): Check
12731 for duplication options.
12732 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
12734 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
12736 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12738 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
12739 * client-src/sendbackup.c: Ditto.
12740 * client-src/sendsize.c: Ditto.
12742 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12744 * client-src/client_util.c (parse_g_options) New function to parse
12745 the global options string.
12746 * client-src/client_util.h (parse_g_options): Prototype.
12747 * client-src/selfcheck.c: use parse_g_options.
12748 * client-src/sendbackup.c: use parse_g_options.
12749 * client-src/sendsize.c: use parse_g_options.
12751 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12753 * server-src/diskfile.c: Improve message for missing features.
12755 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12758 * common-src/amfeatures.c (am_set_default_feature_set): New function
12759 to set the default features set.
12760 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
12761 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
12763 * client-src/client_util.c: Check features.
12764 * server-src/amcheck.c: Ditto.
12765 * server-src/diskfile.c: Ditto.
12766 * server-src/driverio.c: Ditto.
12767 * server-src/planner.c: Ditto.
12768 * server-src/diskfile.h (optionstr): Change prototype.
12769 * client-src/sendsize.c: Fix compiler warning.
12771 2002-04-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12773 * common-src/amfeatures.c: Include "amfeatures.h"
12774 * common-src/rsh-security.c: Don't assert on undefined variable.
12776 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12778 * common-src/amfeatures.c: Renamed from features.c
12779 * common-src/amfeatures.h: Renamed from features.h
12780 * common-src/Makefile.am: Rename features to amfeatures.
12781 * client-src/amandad.c: Ditto.
12782 * client-src/client_util.h: Ditto.
12783 * client-src/selfcheck.c: Ditto.
12784 * client-src/sendbackup.c: Ditto.
12785 * client-src/sendsize.c: Ditto.
12786 * server-src/amcheck.c: Ditto.
12787 * server-src/chunker.h: Ditto.
12788 * server-src/diskfile.h: Ditto.
12789 * server-src/dumper.c: Ditto.
12790 * server-src/planner.c: Ditto.
12791 * server-src/taper.c: Ditto.
12793 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12795 * server-src/conffile.c: Default dumporder set to "ttt".
12796 * server-src/driver.c: If dumporder is too short, use t and T.
12797 * man/amanda.8.in: Default dumporder set to "ttt".
12799 2002-04-13 John R. Jackson (jrj@purdue.edu)
12801 * common-src/features.c: Add amanda_feature_auth_keyword feature so
12802 authorization in the OPTIONS string is backward compatible.
12803 * common-src/features.h: Ditto.
12804 * client-src/client_util.c: Ditto.
12805 * client-src/client_util.h: Ditto.
12806 * client-src/selfcheck.c: Ditto.
12807 * client-src/sendbackup.c: Ditto.
12808 * client-src/sendsize.c: Ditto.
12809 * server-src/diskfile.c: Ditto.
12810 * server-src/planner.c: Fix compiler warning.
12812 2002-04-13 John R. Jackson (jrj@purdue.edu)
12814 * server-src/diskfile.c: Fix memory leak.
12816 2002-04-13 John R. Jackson (jrj@purdue.edu)
12818 * server-src/amcheck.c: Fix error parsing in packet.
12820 2002-04-13 John R. Jackson (jrj@purdue.edu)
12822 * common-src/features.c: New file. Add support for feature sets so
12823 different Amanda versions can work together.
12824 * common-src/features.h: Ditto.
12825 * common-src/Makefile.am: Ditto. Add "features" test program.
12826 * client-src/amandad.c: Add "noop" service to return the feature set.
12827 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
12829 * client-src/sendbackup.c: Ditto.
12830 * client-src/sendsize.c: Ditto.
12831 * common-src/bsd-security.c: Minor message change.
12832 * common-src/error.c: Use strcasecmp.
12833 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
12835 * restore-src/amidxtaped.c: Improve parsing.
12836 * server-src/amcheck.c: Ask for client features via "noop" before
12837 doing the real "selfcheck" service requests. Improve parsing.
12838 * server-src/amflush.c: Minor coding format cleanup.
12839 * restore-src/amindexd.c: Improve parsing.
12840 * server-src/chunker.c: Deal with features string in commands. Improve
12842 * server-src/diskfile.c: Initialize the features hosttype field.
12843 * server-src/diskfile.h: Add the features hosttype field.
12844 * server-src/driver.c: Save the features from the schedule. Clean
12845 up some error messages.
12846 * server-src/driverio.c: Add features string to several commands.
12847 * server-src/dumper.c: Deal with features string in commands. Improve
12849 * server-src/planner.c: Ask for client features via "noop" before
12850 doing the real "sendsize" service requests. Improve parsing.
12851 * server-src/server_util.c: Minor coding cleanup.
12852 * server-src/server_util.h: Increase the number of args allowed on
12854 * server-src/taper.c: Deal with features string in commands. Improve
12857 2002-04-12 John R. Jackson (jrj@purdue.edu)
12859 * server-src/driver.c: Fix crash when only processing a tape queue
12862 2002-04-11 John R. Jackson (jrj@purdue.edu)
12864 * server-src/driver.c: Protect against crash when taper has died.
12866 2002-04-11 John R. Jackson (jrj@purdue.edu)
12868 * common-src/stream.c: Clean up an error message.
12870 2002-04-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12872 * docs/DUMPER-API: Remove the section about USER and GROUP.
12874 2002-04-09 John R. Jackson (jrj@purdue.edu)
12876 * server-src/driver.c: Fix send of QUIT to taper when it is down.
12878 2002-04-07 John R. Jackson (jrj@purdue.edu)
12880 * server-src/dumper.c: Change sendbackup response parsing to handle
12881 2.4 changes. Improve packet parse error processing. Make packet
12882 logging conditional on an #ifdef instead of commented out.
12884 2002-04-07 John R. Jackson (jrj@purdue.edu)
12886 * client-src/amandad.c: Fix FORCE_USERID to run the service as the
12887 client user if amandad was started as root.
12889 2002-04-07 John R. Jackson (jrj@purdue.edu)
12891 * common-src/clock.c: Move definition of amanda_gettimeofday() macro
12892 to the header file so it could be used other places. Use new
12893 amanda_timezone macro to avoid some #ifdef's.
12894 * common-src/clock.h: Ditto.
12895 * common-src/bsd-security.c: Fix compatibility problems with pre-2.5
12896 servers trying to talk to 2.5 clients. The HANDLE value was not
12897 being properly handled, and the sequence number was being ignored.
12899 2002-04-07 John R. Jackson (jrj@purdue.edu)
12901 * server-src/reporter.c: Move column routines to conffile.c so amcheck
12902 can use them in its tests. Do not abort on several failures, but
12903 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
12904 * server-src/conffile.c: Move column routines to here.
12905 * server-src/conffile.h: Ditto.
12906 * server-src/amcheck.c: Add several config file tests.
12907 * server-src/logfile.c: Change "reporter" to "amreport".
12909 2002-04-07 John R. Jackson (jrj@purdue.edu)
12911 * configure.in: Add /usr/local/sbin to LOCPATH.
12913 2002-03-31 John R. Jackson (jrj@purdue.edu)
12915 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
12917 2002-03-31 John R. Jackson (jrj@purdue.edu)
12919 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
12920 * changer-src/scsi-solaris.c: Ditto.
12922 2002-03-31 John R. Jackson (jrj@purdue.edu)
12924 * client-src/amandad.c: Fix arguments to pkt_cat.
12925 * common-src/bsd-security.c: Ditto.
12927 2002-03-31 John R. Jackson (jrj@purdue.edu)
12929 * client-src/amandad.c: Add relative timestamps to a lot of debug
12930 file messages, and add more messages, to better track what is
12931 going on. Various general cleanup.
12932 * client-src/calcsize.c: Ditto.
12933 * client-src/client_util.c: Ditto.
12934 * client-src/selfcheck.c: Ditto.
12935 * client-src/sendbackup-dump.c: Ditto.
12936 * client-src/sendbackup-gnutar.c: Ditto.
12937 * client-src/sendbackup.c: Ditto.
12938 * client-src/sendbackup.h: Ditto.
12939 * client-src/sendsize.c: Ditto.
12940 * common-src/amanda.h: Ditto.
12941 * common-src/bsd-security.c: Ditto.
12942 * common-src/clock.c: Ditto.
12943 * common-src/clock.h: Ditto.
12944 * common-src/debug.c: Ditto.
12945 * common-src/dgram.c: Ditto.
12946 * common-src/error.c: Ditto.
12947 * common-src/file.c: Ditto.
12948 * common-src/pipespawn.c: Ditto.
12949 * common-src/stream.c: Ditto.
12950 * common-src/util.c: Ditto.
12951 * man/amanda.8.in: Ditto.
12952 * restore-src/amidxtaped.c: Ditto.
12953 * restore-src/amrestore.c: Ditto.
12954 * server-src/amindexd.c: Ditto.
12955 * server-src/getconf.c: Ditto.
12956 * server-src/planner.c: Ditto.
12958 2002-03-31 John R. Jackson (jrj@purdue.edu)
12960 * client-src/sendsize.c: Pay attention to the spindle number.
12962 2002-03-30 John R. Jackson (jrj@purdue.edu)
12964 * server-src/planner.c: General delay_dumps code cleanup.
12966 2002-03-30 John R. Jackson (jrj@purdue.edu)
12968 * server-src/planner.c: Make sure individual dumps larger than a tape
12969 are not added back into the schedule. Found by Uncle George
12970 <gatgul@voicenet.com>.
12972 2002-03-29 John R. Jackson (jrj@purdue.edu)
12974 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
12975 previous definition. Found by Uncle George <gatgul@voicenet.com>.
12977 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12979 * client-src/client_util.c (fixup_relative): New function to prepend
12980 the dirname if relative.
12981 * client-src/client_util.c (build_exclude, build_include): Use
12983 * client-src/client_util.c (parse_options): Do not prepend the dirname.
12984 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
12985 if optional is set.
12987 2002-03-24 John R. Jackson (jrj@purdue.edu)
12989 * common-src/debug.c: Change dbopen() message slightly to match what
12990 amdump generates, making it easier to parse.
12992 2002-03-24 John R. Jackson (jrj@purdue.edu)
12994 * common-src/Makefile.am: Move clock routines to common-src so
12995 everyone may use them.
12996 * server-src/Makefile.am: Ditto.
12998 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13000 * client-src/sendbackup-gnutar.c: Fix use of no_record.
13002 2002-03-24 John R. Jackson (jrj@purdue.edu)
13004 * client-src/amandad.c: Make sure argv[0] is valid before using it.
13005 * restore-src/amidxtaped.c: Ditto.
13006 * server-src/amindexd.c: Ditto.
13008 2002-03-24 John R. Jackson (jrj@purdue.edu)
13010 * client-src/client_util.c: Use the Amanda memory allocation code.
13011 * client-src/sendbackup-gnutar.c: Ditto.
13012 * client-src/sendsize.c: Ditto.
13013 * common-src/match.c: Ditto.
13014 * recover-src/amrecover.c: Ditto.
13015 * recover-src/display_commands.c: Ditto.
13016 * recover-src/extract_list.c: Ditto.
13017 * restore-src/amidxtaped.c: Ditto.
13018 * server-src/amflush.c: Ditto.
13019 * server-src/disk_history.c: Ditto.
13020 * server-src/driver.c: Ditto.
13021 * server-src/dumper.c: Ditto.
13022 * common-src/amanda.h: Always pass the source file and line number
13023 to the memory routines to make it easier to debug.
13024 * common-src/alloc.c: Ditto.
13025 * common-src/file.c: Ditto.
13027 2002-03-23 John R. Jackson (jrj@purdue.edu)
13029 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
13030 * changer-src/chg-scsi.c: Use agets instead of fgets.
13031 * client-src/client_util.c: Use agets instead of fgets.
13032 * recover-src/amrecover.c: Clean up output on EOF.
13033 * recover-src/extract_list.c: Use agets instead of direct stdio.
13034 Clean up output on EOF. Add '?' help.
13035 * recover-src/set_commands.c: Quote the new device in the verify
13036 output to make it stand out.
13037 * server-src/amflush.c: Clean up output on EOF. Clean up output
13038 when multiple holding disk areas selected. Clean up parsing.
13039 Loop until valid user response.
13040 * server-src/find.c: Do not complain if log file is missing for
13041 a new (datestamp == 0) tape.
13042 * server-src/holding.c: Use agets instead of fgets. Clean up
13043 interactive input and output.
13045 2002-03-23 John R. Jackson (jrj@purdue.edu)
13047 * client-src/selfcheck.c: Fix a compiler warning.
13048 * client-src/sendbackup.c: Ditto.
13049 * client-src/sendsize.c: Ditto.
13051 2002-03-23 John R. Jackson (jrj@purdue.edu)
13053 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
13054 of fclose(), if available.
13056 2002-03-23 John R. Jackson (jrj@purdue.edu)
13058 * common-src/dbprintf (debug_printf): Make sure errno is preserved
13059 across dbprint() calls.
13061 2002-03-23 John R. Jackson (jrj@purdue.edu)
13063 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
13064 --with-libraries to support shared libraries of support products.
13066 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13068 * server-src/chunker.c: Get result from dumper.
13069 * server-src/driver.c: Send dumper result to chunker.
13070 * server-src/driverio.c (chunker_cmd): Send DONE and FAILED command.
13071 * server-src/driverio.h (chunker_t): New down field.
13072 * server-src/dumper.c: Cleanup.
13073 * server-src/logfile.c (logtype_str): Add "PARTIAL".
13074 * server-src/logfile.h (logtype_e): Add L_PARTIAL log.
13075 * server-src/reporter.c: Handle PARTIAL log.
13076 * server-src/server_util.c (cmdstr): Add "PARTIAL".
13077 * server-src/server_util.h (cmd_t): Add PARTIAL command.
13078 * server-src/taper.c (read_file): Result is PARTIAL if dumper
13079 result is not DONE.
13081 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13083 * server-src/tapefile.c (write_tapelist): Write to a temp file and
13085 * server-src/amlabel.c: Do not rename the tapelist file.
13086 * server-src/taper.c (label_tape): Do not rename the tapelist file.
13088 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13090 * client-src/client_util.c (parse_options): Do not check if the
13091 exclude file exist, it's done later.
13093 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13095 * client-src/client_util.c (parse_options): Parse exclude-optional and
13097 * client-src/client_util.h (option_t): New exclude_optional and
13098 include_optional field.
13099 * man/amanda.8.in: Document optional.
13100 * server-src/amadmin.c (disklist_one): Display optional.
13101 * server-src/conffile.c: Parse optional keyword.
13102 * server-src/conffile.h (dumptype_t): New exclude_optional and
13103 include_optional field.
13104 * server-src/diskfile.c (read_diskline): Copy optional bits.
13105 * server-src/diskfile.c (optionstr): Print optional bits.
13106 * server-src/diskfile.h (disk_t): New exclude_optional and
13107 include_optional field.
13108 * server-src/planner.c (getsize): Use new sendsize format if optional
13111 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13113 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
13116 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13118 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
13120 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13121 Patch from Michael Frankowski <mfrankow@winternet.com>
13123 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
13125 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13127 * client-src/client_util.c (init_options): New function.
13128 * client-src/client_util.h (init_options): Prototype.
13129 * client-src/sendsize.c (main): Use init_options.
13131 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13133 * client-src/client-util.c: Check for include and exclude files.
13135 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13137 * server-src/amstatus.pl.in: Fix.
13138 * server-src/conffile.c(get-compress): Change message for bad
13141 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13143 * server-src/amstatus.pl.in: Fix.
13144 * client-src/client_util.c (parse_options): Parse auth= option.
13145 * client-src/client_util.h (option_t): Add auth field.
13146 * client-src/sendbackup.c: Use auth instead of bsd-auth.
13147 * client-src/sendsize.c: Init auth.
13149 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13151 * client-src/sendbackup-dump.c: use amdevice as argument to
13153 * client-src/sendsize.c: Use amdevice as argument to amname_to_dirname.
13154 * server-src/dumper.c: clear device if it is set to NODEVICE.
13156 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13158 * server-src/amindexd.c: Compilation fix.
13160 2002-03-07 John R. Jackson (jrj@purdue.edu)
13162 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
13163 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
13165 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13167 * recover-src/amrecover.h (list_disk): Prototype.
13168 * recover-src/set_commands.c (list_disk): New function.
13169 * recover-src/uparse.y: parse LISTDISK.
13170 * recover-src/uscan.l: listdisk keyword.
13171 * recover-src/help.c: help for listdisk.
13172 * man/amrecover.8.in: Doc for listdisk.
13173 * server-src/amindexd.c: New LISTDISK command.
13174 * docs/INDEXING: Document LISTDISK command.
13176 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13178 * server-src/amstatus.pl.in: Better output for autoflush.
13180 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13182 * server-src/amstatus.pl.in: Fix.
13184 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13186 * server-src/amadmin.c (disklist_one): Print dp->device.
13187 * server-src/amcheck.c (start_host): Send device if specified.
13188 * server-src/amstatus.pl.in: Parse line with device.
13189 * server-src/diskfile.c (parse_diskline): Parse device.
13190 * server-src/diskfile.c (match_disklist): Match on device.
13191 * server-src/diskfile.h (disk_t): New field device.
13192 * server-src/driverio.c: (dumper_cmd): Send device.
13193 * server-src/dumper.c (main): Parse device in request.
13194 * server-src/dumper.c (start_dump): New device argument, send
13196 * server-src/planner.c (getsize): Send device to client.
13197 * server-src/server_util.h (MAX_ARGS): Set it to 12.
13198 * client-src/client_util.c (add_include, build_exclude, build_include,
13199 parse_options): New device argument.
13200 * client-src/client_util.h (build_exclude,build_include,parse_options):
13202 * client-src/selfcheck.c: Use device.
13203 * client-src/sendbackup-dump.c: Use device.
13204 * client-src/sendbackup-gnutar.c: Use device.
13205 * client-src/sendbackup.c: Use device.
13206 * client-src/sendbackup.h (start_backup): New device argument.
13207 * client-src/sendsize.c: Use device.
13208 * man/amanda.8.in: Document new disklist syntax.
13209 * example/disklist: Give example.
13211 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13213 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
13216 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13218 * server-src/amstatus.pl.in: Fix for failed tape.
13220 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13222 * man/amanda.8.in: Document multiple exclude.
13223 * man/amanda.8.in: Document include.
13225 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13227 * client-src/client-util.c (add_include): Include are glob expression.
13229 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13231 * common-src/debug.c (debug_open); Don't try to renmae an already
13234 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13236 * server-src/conffile.c (dump_configuration): Print multiple
13237 exclude and include.
13239 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13241 * client-src/client_util.c (add_exclude, add_include): Typo.
13243 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13245 * client-src/client_util.c (build_include, build_exclude): Fix for
13248 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13250 * client-src/client_util.c (get_name): Create a file name.
13251 * client-src/client_util.c (build_name): Remove old files,
13252 build an unused file name.
13253 * client-src/client_util.c (add_exclude): Add an exclude pattern to
13255 * client-src/client_util.c (add_include): Add an include to the
13257 * client-src/client_util.c (build_exclude): Concat all excludes in
13259 * client-src/client_util.c (build_include): Concat all includes in
13261 * client-src/client_util.h (build_exclude, build_include): Prototype.
13262 * client-src/selfcheck.c.diff (check_options): Call build_exclude
13264 * client-src/sendsize.c.diff: Call gtar with one
13265 exclude file/include file.
13266 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
13267 exclude file/include file.
13269 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13271 * common-src/amanda.h (amfree): Change e local variable to e__errno.
13272 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
13274 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13276 * client-src/sendsize.c: Set include_file and include_list to NULL
13277 when using old protocol.
13278 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
13280 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13282 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
13283 * server-src/conffile.c: Read include.
13284 * server-src/diskfile.h (disk_t): Add include_file and include_list.
13285 * server-src/diskfile.c (optionstr): Add include to the optionstr.
13286 * server-src/amadmin.c (disklist_one): Print include.
13287 * server-src/planner.c: Use new protocol if include is used.
13288 * client-src/client_util.h (option_t): Add include_file and include_list
13289 * client-src/client_util.c (parse_options): Parse include.
13290 * client-src/selfcheck.c (check_options): Print ERROR if include are
13291 used for SAMBA or DUMP.
13292 * client-src/sendsize.c: Send include to gnutar.
13293 * client-src/sendbackup-gnutar.c: Send include to gnutar.
13295 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13297 * client-src/client_util.c (parse_options): Check that files from
13298 'exclude list' exist'.
13299 * client-src/selfcheck.c (check_options): Give ERROR if multiple
13300 exclude are used with samba or if exclude are used with DUMP.
13302 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13304 * client-src/sendbackup.h: Remove bad stuff introduced in previous
13306 * client-src/sendbackup-gnutar.c: Ditto.
13308 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13310 * client_src/client_util.c (parse_options): Function to parse
13312 * client_src/client_util.h (parse_options): Prototype.
13313 * client_src/client_util.h (option_t): Struct for options.
13314 * client_src/Makefile.am: Compile client_util.
13315 * client_src/selfcheck.c: Use new option_t and multiple exclude.
13316 * client_src/sendbackup.h: Use new option_t and multiple exclude.
13317 * client_src/sendbackup.c: Use new option_t and multiple exclude.
13318 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
13319 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
13320 * client_src/sendsize.c: Use new option_t and multiple exclude.
13321 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
13322 * server-src/conffile.c: Multiple exclude.
13323 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
13324 * server-src/diskfile.c: Multiple exclude.
13325 * server-src/planner.c: Multiple exclude.
13327 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13329 * common-src/pipespawn.c (pipespawnv): Typo, ap_snprintf -> snprintf.
13331 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13333 * common-src/pipespawn.c (pipespawnv): New funtion taking an
13335 * common-src/pipespawn.h (pipespawnv): Prototype.
13337 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13339 * server-src/holding.h: Use sl_t instead of holding_t
13340 * server-src/holding.c: Ditto.
13341 * server-src/amcleanupdisk.c: Ditto.
13342 * server-src/amflush.c: Ditto.
13343 * server-src/find.c: Ditto.
13344 * server-src/planner.c: Ditto.
13346 2002-02-11 John R. Jackson (jrj@purdue.edu)
13348 * configure.in: AIX needs the "other" getconf argument to find out
13349 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
13351 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13353 * common-src/sl.h: New header file
13354 * common-src/sl.c: New file for list of string struct.
13355 * common-src/Makefile.am: Compile sl.c
13357 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13359 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
13361 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13363 * common-src/fileheader.c (build_header): Typo.
13365 2002-02-10 John R. Jackson (jrj@purdue.edu)
13367 * configure.in: Add new file-pad tapetype option to take the place
13368 of a positive/negative blocksize. Blocksize may now only be
13369 positive. File-pad defaults to "true" which pads the last tape
13370 record like it always has.
13371 * man/amanda.8.in: Ditto.
13372 * server-src/amlabel.c: Ditto.
13373 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
13374 * server-src/conffile.h: Ditto.
13375 * server-src/planner.c: Ditto.
13376 * server-src/taper.c: Ditto.
13378 2002-02-10 John R. Jackson (jrj@purdue.edu)
13380 * configure.in: Save the ./configure args and display them in the
13381 version string (e.g. amandad*debug and "amadmin xx version").
13382 * common-src/genversion.c: Ditto.
13384 2002-02-10 John R. Jackson (jrj@purdue.edu)
13386 * common-src/alloc.c: Fix type mismatch issues discovered by splint
13387 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
13388 * common-src/bsd-security.c: Ditto.
13389 * common-src/debug.c: Ditto.
13390 * common-src/dgram.c: Ditto.
13391 * common-src/file.c: Ditto.
13392 * common-src/fileheader.c: Ditto.
13393 * common-src/fileheader.h: Ditto.
13394 * common-src/genversion.c: Ditto.
13395 * common-src/getcwd.c: Ditto.
13396 * common-src/match.c: Ditto.
13397 * common-src/stream.c: Ditto.
13398 * common-src/strstr.c: Ditto.
13399 * common-src/token.c: Ditto.
13400 * recover-src/amrecover.c: Ditto.
13401 * recover-src/display_commands.c: Ditto.
13402 * recover-src/extract_list.c: Ditto.
13403 * recover-src/set_commands.c: Ditto.
13404 * server-src/reporter.c: Ditto.
13406 2002-02-10 John R. Jackson (jrj@purdue.edu)
13408 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
13409 * docs/TAPE.CHANGERS: Cleanup.
13411 2002-02-09 John R. Jackson (jrj@purdue.edu)
13413 * common-src/arglist.h: Clean up gcc detection of printf style variable
13414 argument list functions.
13415 * changer-src/scsi-changer-driver.c: Ditto.
13416 * common-src/debug.c: Ditto.
13417 * common-src/dgram.c: Ditto.
13418 * common-src/error.c: Ditto.
13419 * common-src/packet.c: Ditto.
13420 * common-src/packet.h: Ditto.
13421 * common-src/security.c: Ditto.
13422 * common-src/snprintf.c: Ditto.
13423 * common-src/token.c: Ditto.
13424 * common-src/token.h: Ditto.
13425 * server-src/amindexd.c: Ditto.
13426 * server-src/conffile.c: Ditto.
13427 * server-src/diskfile.c: Ditto.
13428 * server-src/logfile.c: Ditto.
13429 * server-src/logfile.h: Ditto.
13430 * server-src/server_util.c: Ditto.
13432 2002-02-09 John R. Jackson (jrj@purdue.edu)
13434 * configure.in: Must look in both strings.h and string.h when trying
13435 to find function declarations (strncasecmp was not found on AIX
13436 but is really there and our override caused a mismatch error).
13438 2002-02-09 John R. Jackson (jrj@purdue.edu)
13440 * configure.in: Add code to test for a type defined in other than the
13441 autoconf expected locations. Use it to look for socklen_t.
13443 2002-02-08 John R. Jackson (jrj@purdue.edu)
13445 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
13446 do an operation that would alter any files when run as someone other
13447 than the dump user from amanda.conf. This should prevent files from
13448 ending up with incorrect ownership.
13450 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13452 * man/amrecover.8.in (settape): Document that the hostname is required
13453 if the protocol (tape:, file:, rait:, null:) is specified.
13454 * man/amrecover.8.in (settape): Document that it is posible to
13455 change the tape device when asked to load tape.
13457 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13459 * server-src/holding.c (scan_holdingdir): Create the list in
13462 2002-02-02 John R. Jackson (jrj@purdue.edu)
13464 * configure.in: Add unistd.h to list of places to look for ruserok()
13465 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
13468 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13469 Reported by Roland E. Lipovits <rel@lipo.at0.net>
13471 * server-src/amstatus.pl.in: Don't double-counts the failed
13472 estimate partitions.
13474 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13476 * configure.in: New --with-maxtapeblocksize with a default of 32.
13477 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
13479 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13481 * common-src/fileheader.c (build_header): Never write the
13483 * common-src/fileheader.c (parse_file_header): Do not parse the
13486 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13488 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
13489 after the dd if=... line.
13491 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13493 * server-src/driver.c: Init code to 0.
13495 2002-01-29 John R. Jackson (jrj@purdue.edu)
13497 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
13498 with large stack variables, so allocate tape I/O buffers dynamically.
13499 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
13501 2002-01-25 John R. Jackson (jrj@purdue.edu)
13503 * server-src/driver.c: Log non-zero exit codes and signals from all
13504 the dumpers and taper.
13506 2002-01-25 John R. Jackson (jrj@purdue.edu)
13508 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
13509 functions. Make sure they always report what they were trying to
13510 look up, and don't bother reporting errno (it would be h_errno).
13512 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13514 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
13515 * common-src/fileheader.h (build_header): Change prototype.
13516 * common-src/fileheader.c (fh_init): blocksize default to
13518 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
13519 * common-src/fileheader.c (build_header): Remove blocksize parameter,
13520 write the BLOCKSIZE= line.
13521 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
13522 * restore-src/amrestore.c: Ditto.
13523 * server-src/dumper.c: Ditto.
13524 * server-src/taper.c: Ditto.
13525 * server-src/holding.c: Ditto.
13526 * server-src/chunker.c: Ditto.
13528 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13530 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
13533 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13535 * server-src/planner.c: Check for dp->todo.
13537 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13538 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
13540 * changer-src/chg-scsi.c: Typo.
13542 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13544 * changer-src/Makefile.am: Run `perl -c' on perl script.
13545 * client-src/Makefile.am: Ditto.
13546 * dumper-src/Makefile.am: Ditto.
13547 * server-src/Makefile.am: Ditto.
13549 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13550 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
13552 * README: Amanda compile on Linux/m68k.
13554 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13556 * changer-src/chg-rth.pl.in: Typo. fi -> }.
13558 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13559 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
13561 * changer-src/chg-chio.pl.in: Typo. fi -> }.
13562 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
13563 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
13565 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13567 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
13570 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13572 * server-src/amoverview.pl.in: Ignore some line from amadmin.
13574 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13576 * common-src/event.c: Use ASSERTIONS not ASSERT.
13578 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13580 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
13582 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
13583 * common-src/match.c (clean_regex): Cast to int.
13585 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13586 Reported by <ian.willis@sge.net>
13588 * common-src/rsh-security.c: Fix for RSH_DEBUG.
13590 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13592 * config/ltconfig: Remove
13593 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
13594 * config/config.guess: Update from
13595 ftp://ftp.gnu.org/gnu/config/config.guess
13596 * config/config.sub: Update from
13597 ftp://ftp.gnu.org/gnu/config/config.sub
13598 * config/depcomp, config/install-sh, config/missing,
13599 config/mkinstalldirs: Update from automake 1.5
13600 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
13602 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13603 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
13605 * configure.in: Add missing [.
13607 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13608 Patch by Jason Thomas <jason@topic.com.au>
13609 and Eric Siegerman <erics@telepres.com>
13611 * common-src/bsd-security.c (check_user_amandahosts): improve message.
13613 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13615 * server-src/driver.c: Do not go in degraded mode in nodump mode.
13616 * server-src/conffile.c:Check many options to be sure they are positive.
13618 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13620 * changer-src/chg-scsi.c (get_relative_target): return -1;
13621 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
13622 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
13623 * server-src/amadmin.c (info_one): Remove lev0date variable.
13624 * server-src/amadmin.c (import_db): Remove vers_comment variable.
13625 * server-src/amindexd.c (main): Remove arg_len variable.
13626 * server-src/amtrmidx.c (main): Remove level_position and
13627 datestamp_position variables.
13628 * server-src/changer.c (changer_current): Remove checked variable.
13629 * server-src/conffile.c (read_confline): Check value of RESERVE.
13630 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
13632 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
13633 * server-src/driver.c (main): Don't check the value of RESERVE.
13634 * server-src/driver.c (find_diskspace): Remove as_pref variable.
13635 * server-src/driverio.c (getresult): cast cmd_t.
13636 * server-src/chunker.c (databuf_flush): save_type is a filetype_t.
13637 * server-src/find.c (search_logfile): Remove host_undo_ch and
13638 disk_undo_ch variables.
13639 * server-src/holding.c (pick_datestamp): Remove result variable.
13640 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
13641 * server-src/taper.c (tape_writer_side): Remove out_open variable.
13642 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
13644 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13646 * client-src/selfcheck.c: Fix compiler warning.
13647 * changer-src/chg-scsi.c: Ditto.
13648 * changer-src/scsi-changer-driver.c: Ditto.
13649 * changer-src/scsi-defs.h: Ditto.
13650 * server-src/server_util.c: Ditto.
13651 * common-src/fileheader.c: Ditto.
13653 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13655 * configure.in: Set MAX_TAPE_BLOCK_KB on linux
13657 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13658 Patch by Blaz Zupan <blaz@amis.net>
13660 * changer-src/chg-zd-mtx.sh.in: typo.
13662 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13664 * client-src/selfcheck.c (check_access): New function (old check_file
13666 * client-src/selfcheck.c (check_file): Check that the filename is a
13668 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
13670 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13671 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
13673 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
13674 AMANDA_TMPDIR directory.
13676 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13678 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
13679 * server-src/amrmtape.sh.in: Ditto.
13681 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13683 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
13685 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13687 * server-src/amstatus.pl.in: Work with amflush log.
13689 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13691 * server-src/driver.c (nodump): new argument, Don't start the dumpers
13693 * server-src/holding.c (get_flush): chdir to original cwd.
13694 * server-src/reporter.c: accept driver and amflush line in log.
13695 * server-src/amflush.c: exec driver to do the flushing.
13697 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13699 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
13701 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13703 * recover-src/extract_list.c: You can change the tape device
13706 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13708 * restore-src/amrestore.c (restore): try to find the next chunk
13709 in the current directory.
13711 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13713 * example/amanda.conf.in: typo.
13715 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13717 Patch by Roland E. Lipovits <rel@lipo.at0.net>
13718 * example/amanda.conf.in: typo.
13720 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13722 * server-src/dumper.c, server-src/taper.c, server-src/chunker.c:
13723 Replace TRY_AGAIN by TRYAGAIN.
13725 2001-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13726 Patch by Michael D. Beynon <beynon@ll.mit.edu>
13728 * server-src/driver.c (main): Take care of empty tapeq.
13730 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13732 * server-src/diskfile.c (lookup_host): Match must be exact.
13734 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13736 * server-src/planner.c: Add host, disk, datestamp and level on
13737 FLUSH line. Add datestamp on DUMP line.
13738 * server-src/driver.c (read_flush): Read new format of FLUSH line.
13739 * server-src/driver.c (read_schedule): Read new format of DUMP line.
13740 * server-src/amflush.c: Write a datestamp on stderr.
13741 * server-src/amdump.sh.in: Write a datestamp on stderr.
13742 * server-src/amstatus.pl.in: Works with autoflush.
13744 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13745 * server-src/conffile.c (autoflush): New configuration options.
13746 * server-src/conffile.h (autoflush): New configuration options.
13747 * man/amanda.8.in: Document it.
13748 * example/amanda.conf.in: Document it.
13749 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
13750 cleanup_holdingdisk): New prototype.
13751 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
13752 get_flush): New function.
13753 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
13755 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
13756 * server-src/amflush.c: Change call to pick_all_datestamp.
13757 * server-src/find.c: Change call to pick_all_datestamp.
13758 * server-src/planner.c: Write FLUSH line to driver, the schedule
13759 line contain the keyword DUMP.
13760 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
13761 * server-src/amstatus.pl.in: New parsing of DUMP line.
13762 * server-src/driverio.h: New datestamp field in sched_t;
13763 * server-src/driver.c (build_diskspace): New function to build a
13764 assignedhd_t from an holding file.
13765 * server-src/driver.c (read_flush): New function to read the list
13767 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
13768 * server-src/driver.c: Add datestamp to FAIL line.
13769 * server-src/dumper.c: Add datestamp to FAIL line.
13770 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
13772 * server-src/taper.c: Add datestamp to FAIL line.
13774 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13776 * server-src/conffile.c: New dumporder configuration.
13777 * server-src/conffile.h: Likewise.
13778 * server-src/driver.c (start_some_dumps): Use dumporder to
13779 select the next disk to dump.
13780 * example/amanda.conf.in: Give an example of dumporder.
13781 * man/amanda.8.in: Document it.
13783 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13785 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
13786 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
13787 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
13788 of set_directory for cd command, call cd_regex for cdx command.
13789 * recover-src/uscan.l: On cdx string return CDX token.
13790 * recover-src/help.c: Document it.
13791 * man/amrecover.8.in: Document it.
13793 2001-09-26 John R. Jackson (jrj@purdue.edu)
13795 * server-src/reporter.c: Fix problem when column sizes are negative.
13797 2001-09-21 John R. Jackson (jrj@purdue.edu)
13799 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
13800 found (since it is built on the fly). Only fails when build is done
13801 in a different directory than the sources.
13803 2001-09-17 John R. Jackson (jrj@purdue.edu)
13805 * server-src/getconf.c: Add capabilities to amgetconf to return
13806 build environment values and also to open and close a debug file
13807 (e.g. for scripts).
13808 * man/amgetconf.8.in: Ditto.
13809 * changer-src/chg-scsi.c: Ditto.
13810 * common-src/amanda.h: Ditto.
13811 * common-src/debug.c: Ditto.
13812 * common-src/error.c: Ditto.
13813 * server-src/dumper.c: Ditto.
13815 2001-09-17 John R. Jackson (jrj@purdue.edu)
13817 * server-src/planner.c: Make sure we do not attempt to bump beyond
13820 2001-09-16 Thomas Hepper (th@ant.han.de)
13821 * changer-src/chg-scsi.c: Added new config option autoinv,
13822 if not set no auto inventory will be done if the label db is out of
13823 sync. Reworked MapBarCode, now the parameters are passed as a struct
13824 and the result is returned in this struct (MBC_T),
13825 also removed some duplicate/nonsens code from MapBarCode
13826 Changed the definitions for slot_file. It was used duplicate,
13827 1. as the config file set by amanda.conf, and second set by the
13828 config option in the chg-scsi config file. Now the file from
13829 amanda.conf is called chg_scsi_conf. and changer_file is renamed
13831 Added check if cleanfile is not set, if true clean_file is set to NULL
13832 Now return if tape_device is not in the range 0-9.
13833 Added some checks if we have all informations like slot_file,
13834 devices etc. Fixed and error in the search function,
13835 if the searched vol is already loaded return the correct info
13836 and not 'label not found'. Fixed error in the parameter passing
13837 to get_relative_slot. If the option was -slot last we where
13838 1 above the end parameter..
13840 * changer-src/scsi-bsd.c: Fix compile problems.
13841 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
13842 for the label/barcode handling...
13843 * changer-src/scsi-defs.h: Added new struct MBC_T
13844 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
13846 2001-09-01 John R. Jackson (jrj@purdue.edu)
13848 * client-src/sendsize.c: Fix memory allocation problem.
13850 2001-08-31 John R. Jackson (jrj@purdue.edu)
13852 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
13853 <egbert@centropolisfx.com>.
13854 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
13855 <egbert@centropolisfx.com>.
13857 2001-08-30 John R. Jackson (jrj@purdue.edu)
13859 * server-src/planner.c: Fix problem with maintenance of total level
13860 0 size when disk being brought back into the schedule was not doing
13861 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
13863 2001-08-24 John R. Jackson (jrj@purdue.edu)
13865 * server-src/amverify.sh.in: Fix missing backtick error.
13867 2001-08-24 John R. Jackson (jrj@purdue.edu)
13869 * server-src/taper.c: Allocate buffers on page boundaries.
13871 2001-08-22 John R. Jackson (jrj@purdue.edu)
13873 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
13874 so they end up like all the other Amanda programs.
13876 2001-08-15 Thomas Hepper (th@ant.han.de)
13877 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
13878 are given to MapBarCode and returned from there. No a struct is passed where all infos
13879 will be returned to the calling function.
13880 If eject is set we will not call LogSense in chg-scsi because it is also called in the
13882 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
13883 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
13885 2001-08-14 John R. Jackson (jrj@purdue.edu)
13887 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
13888 describing how to set up and use GNU tar exclusions.
13889 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
13891 2001-08-14 John R. Jackson (jrj@purdue.edu)
13893 * docs/PORT.USAGE: New document about how Amanda ports are used.
13895 2001-08-14 John R. Jackson (jrj@purdue.edu)
13897 * client-src/sendsize.c: Fix patch merge goof (ap_snprintf -> snprintf).
13899 2001-08-14 John R. Jackson (jrj@purdue.edu)
13901 * common-src/stream.c: Add stream_client_privileged() function to
13902 get a privileged port and fail if one is not available. The older
13903 stream_client() function gets a (non-privileged) port in the
13904 configured portrange, if set and possible, else anything available.
13905 * common-src/stream.h: Prototypes.
13906 * recover-src/amrecover.c: Use stream_client_privileged() instead of
13908 * recover-src/extract_list.c: Ditto.
13909 * configure.in: Added several more port range sanity checks. Added
13910 --with-tcpportrange as an alias for --with-portrange.
13912 2001-08-09 Thomas Hepper (th@ant.han.de)
13913 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
13914 parameter is empty, and if yes return.
13915 Added global variable do_inventory, and if set do an inventory before
13917 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
13918 the slot number passed to MapBarCode to find and update the record.
13919 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
13920 Added global variables which are set by the tape_rdlabel function
13922 Reworked the way how the updates of the labelfile are done.
13924 2001-08-01 John R. Jackson (jrj@purdue.edu)
13926 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
13928 * client-src/sendbackup-gnutar.c: Ditto.
13929 * client-src/sendsize.c: Ditto.
13931 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
13933 * client-src/findpass.c: Allow backup of subdirs of PC shares for
13934 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
13935 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
13936 * client-src/findpass.h: Ditto.
13937 * client-src/selfcheck.c: Ditto.
13938 * client-src/sendbackup-gnutar.c: Ditto.
13939 * client-src/sendsize.c: Ditto.
13940 * docs/SAMBA: Ditto.
13942 2001-08-01 John R. Jackson (jrj@purdue.edu)
13944 * client-src/sendsize.c: Prefix each debug line with sendsize process
13945 information to make picking out the output from a particular estimate
13946 run easier when maxdumps > 1.
13948 2001-08-01 John R. Jackson (jrj@purdue.edu)
13950 * server-src/amcheck.c: Unlink the temp files as soon as they are
13951 created so they always go away when amcheck terminates. Use
13952 pipespawn() instead of system() to call the MAILER program. Call
13953 dbopen()/dbclose() in main() to write to a debug file instead of
13956 2001-08-01 John R. Jackson (jrj@purdue.edu)
13958 * common-src/debug.c: Only rename files that end in ".debug".
13960 2001-08-01 John R. Jackson (jrj@purdue.edu)
13962 * common-src/pipespawn.c: Show empty pipespawn() args as "".
13964 2001-07-31 John R. Jackson (jrj@purdue.edu)
13966 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
13967 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
13968 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
13969 negative tape length and tapemark size.
13970 * common-src/alloc.c: Add new amtable_free() function. Adjust args
13971 to amtable_alloc() to be consistent with amtable_free().
13972 * common-src/amanda.h: Add new am_round() and am_floor() macros.
13973 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
13974 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
13976 * common-src/bsd-security.c: TAPE_BLOCK_BYTES -> NETWORK_BLOCK_BYTES.
13977 Use -1 instead of DEFAULT_SIZE.
13978 * common-src/rsh-security.c: Ditto.
13979 * common-src/fileheader.c: Change write_header() to build_header().
13980 Add blocksize arg. Get rid of unused fill_buffer() function.
13981 * common-src/fileheader.h: Ditto.
13982 * common-src/stream.c: Use negative value to indicate default buffer
13984 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
13985 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
13986 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
13987 Document that "length" in tapetype has meaning to some output
13988 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
13989 output driver record length data file.
13990 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
13991 how to catalogue the images on a tape.
13992 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
13993 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
13994 instead of TAPE_BLOCK_BYTES for the header size.
13995 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
13996 the header is handled. Deal with arbritrary tape record sizes.
13997 * server-src/amlabel.c: Use the tapetype blocksize.
13998 * server-src/chunker.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
13999 appropropriate instead of older constants. Rewrite disk I/O buffer
14000 management. Never pad output stream (e.g. to holding disk). Use
14001 -1 for default stream buffer size.
14002 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
14004 * server-src/driverio.c: Set chunker argv[0] to name based on which
14005 dumper it is working with.
14006 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
14007 appropropriate instead of older constants. Rewrite disk I/O buffer
14008 management. Never pad output stream (e.g. to holding disk). Use
14009 -1 for default stream buffer size.
14010 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
14011 Use fullread() instead of fill_buffer().
14012 * server-src/planner.c: Use tapetype blocksize instead of constant
14013 for tape length calculations.
14014 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
14015 blocksize is negative. Reorganize shared memory buffers to put
14016 data on page boundaries. Try reducing tapebuf count if allocation
14018 * tape-src/output-file.c: Maintain record size information. Use mask
14019 and flags from caller.
14020 * tape-src/output-null.c: Use new amtable_alloc() arg order.
14021 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
14022 private version of amtable_free() for standalone build. Fix off
14023 by one and other table allocation problems.
14024 * tape-src/output-rait.h: Maintain file descriptor count in the
14026 * tape-src/tapeio.c: Support tapetype blocksize. Use new
14027 amtable_alloc() arg order. Fix some error message text.
14028 * tape-src/tapeio.h: New prototypes with blocksize arg.
14029 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
14032 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
14034 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
14037 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
14039 * man/amanda.8.in: Document includefile.
14040 * man/amdump.8.in: Add note that local crontab documention should be
14041 checked for proper syntax.
14042 * man/amrecover.8.in: Document use of PAGER environment variable.
14043 * man/amrestore.8: Document that GNU tar must be used as some vendor
14044 tar programs cannot read GNU tar format.
14045 * docs/FAQ: Update location of online FAQ.
14047 2001-07-25 John R. Jackson <jrj@purdue.edu>
14049 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
14050 document the new (but optional) searchable features.
14052 2001-07-19 John R. Jackson <jrj@purdue.edu>
14054 * common-src/error.c: Fix function prototype error.
14056 2001-07-19 John R. Jackson <jrj@purdue.edu>
14058 * common-src/error.c: Add new function errordump() that acts like
14059 error() but calls abort() to (try to) drop core.
14060 * common-src/amanda.h: Prototype.
14061 * common-src/alloc.c: Call errordump() instead of error() for some
14062 memory allocation failures to aid traceback.
14064 2001-07-19 John R. Jackson <jrj@purdue.edu>
14066 * server-src/amadmin.c: Improve the error message when read_conffile()
14068 * server-src/amcheck.c: Ditto.
14069 * server-src/amcleanupdisk.c: Ditto.
14070 * server-src/amflush.c: Ditto.
14071 * server-src/amlabel.c: Ditto.
14072 * server-src/amlogroll.c: Ditto.
14073 * server-src/amtape.c: Ditto.
14074 * server-src/amtrmidx.c: Ditto.
14075 * server-src/amtrmlog.c: Ditto.
14076 * server-src/driver.c: Ditto.
14077 * server-src/dumper.c: Ditto.
14078 * server-src/getconf.c: Ditto.
14079 * server-src/planner.c: Ditto.
14080 * server-src/reporter.c: Ditto.
14081 * server-src/taper.c: Ditto.
14083 2001-07-19 John R. Jackson <jrj@purdue.edu>
14085 * server-src/driverio.c: Make the name "ps" reports match the dumper
14086 name (e.g. "dumper3").
14088 2001-07-18 John R. Jackson <jrj@purdue.edu>
14090 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
14091 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
14092 Patch compliments of Sam Leffler <sam@errno.com>.
14094 2001-07-18 John R. Jackson <jrj@purdue.edu>
14096 * server-src/amverify.sh.in: Change to the Amanda temp directory
14097 instead of the config directory. In addition to making amverify
14098 act like most other Amanda programs, this gets around an
14101 2001-07-18 John R. Jackson <jrj@purdue.edu>
14103 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
14104 a couple of minor typos.
14106 2001-07-13 John R. Jackson <jrj@purdue.edu>
14108 * common-src/dgram.h: Improve UDP datagram size calculation.
14109 * server-src/amcheck.c: Break up large requests into pieces.
14110 * server-src/planner.c: Break up large requests into pieces.
14112 2001-07-12 John R. Jackson <jrj@purdue.edu>
14114 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
14115 opened with tape_open(). This does any necessary output driver
14116 cleanup (such as moving the current file position for "file:").
14118 2001-07-12 John R. Jackson <jrj@purdue.edu>
14120 * Makefile.am: Fix automake warning.
14122 2001-07-11 John R. Jackson <jrj@purdue.edu>
14124 * tape-src/tapetype.c: Use tapefd_write() instead of write().
14126 2001-07-11 John R. Jackson <jrj@purdue.edu>
14128 * common-src/file.c: Fix a memory leak. Grab exponentially larger
14129 chunks of memory up to a point, then level out.
14131 2001-07-11 John R. Jackson <jrj@purdue.edu>
14133 * tape-src/tapetype.c: Only report a pass summary when stderr is not
14134 a tty. Deal with some obscure end cases.
14136 2001-07-10 John R. Jackson <jrj@purdue.edu>
14138 * changer-src/scsi-aix.c: Convert Tape_Eject to Tape_Ioctl.
14139 * changer-src/scsi-solaris.c: Ditto.
14141 2001-07-10 John R. Jackson <jrj@purdue.edu>
14143 * server-src/amcheck.c: Move user name check before attempt to create
14144 temp files so more appropriate error message is generated.
14146 2001-07-09 John R. Jackson <jrj@purdue.edu>
14148 * common-src/dgram.c: Fix error end case unitialized variable.
14150 2001-07-05 John R. Jackson <jrj@purdue.edu>
14152 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
14153 that -slot and -eject unload and put the current tape away.
14155 2001-07-02 John R. Jackson <jrj@purdue.edu>
14157 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
14158 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
14160 2001-06-29 John R. Jackson <jrj@purdue.edu>
14162 * tape-src/tapeio.c: Move the device name parsing routines from the
14163 RAIT module to tapeio and make them generic. This allows one
14164 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
14165 both the original open flags and mask and use them on the real open.
14166 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
14167 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
14168 Abort as soon as one of the open calls fails instead of waiting
14169 for read/write to report a bad file descriptor.
14170 Pass a mask to the open function in case the output is created.
14171 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
14172 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
14173 * tape-src/output-file.c: Maintain both the original open flags and
14174 mask and use them on the real open.
14175 * tape-src/output-null.c: Ditto.
14176 * tape-src/output-file.h: Change to non-prototype declaration of
14177 file_tape_open() to deal with the optional mask parameter.
14178 * tape-src/output-null.h: Ditto.
14179 * tape-src/output-tape.h: Ditto.
14180 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
14181 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
14182 Maintain both the original open flags and mask and use them on the
14184 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
14185 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
14186 of ammt and amdd since it knows all the proper ioctl operations.
14187 Maintain both the original open flags and mask and use them on the
14190 2001-06-27 John R. Jackson <jrj@purdue.edu>
14192 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
14193 some kernels would not complain about the tape block being larger
14195 * changer-src/chg-mtx.sh.in: Ditto.
14197 2001-06-21 John R. Jackson <jrj@purdue.edu>
14199 * server-src/planner.c: If the compression rate is very small (such
14200 as zero after some types of errors) and FORCE_FULL is set, a path
14201 is taken that (among other bad things) generates a schedule that
14202 driver cannot read (syntax errors).
14203 * server-src/conffile.c: Do not allow negative comprate values.
14205 2001-06-19 John R. Jackson <jrj@purdue.edu>
14207 * server-src/holding.c: Use fullread() instead of read() to read the
14210 2001-06-19 John R. Jackson <jrj@purdue.edu>
14212 * server-src/amtape.c: Document "slot advance" in the help output.
14214 2001-06-19 John R. Jackson <jrj@purdue.edu>
14216 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
14217 consistent with other Amanda usage.
14219 2001-06-19 John R. Jackson <jrj@purdue.edu>
14221 * server-src/amverify.sh.in: Better cross platform tar detection.
14223 2001-06-19 John R. Jackson <jrj@purdue.edu>
14225 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
14227 2001-06-19 John R. Jackson <jrj@purdue.edu>
14229 * recover-src/amrecover.c: Add more debugging to guess_disk()
14230 function to better track how the disk is determined from the
14231 current working directory. Report current working directory in
14232 error message. Change "Trying" to "Trying disk" to distinguish
14233 this from host attempts.
14234 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
14235 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
14236 distinguish this from disk attempts.
14238 2001-06-19 Thomas Hepper <th@ant.han.de>
14239 * changer-src/chg-scsi.c: Made clean_slot a global var. Removed
14240 the label db update stuff from the COM_SLOT part (moved to unload
14241 in scsi-changer-driver.c)
14242 * changer-src/scsi-changer-driver.c: Do an unload if the tape is
14243 loaded in the Inventory function. Added an marker to avoid recursion
14244 in Inventroy function. Added label db check in unload function and
14245 call Inventroy if it indicates an out of sync db
14247 2001-06-18 John R. Jackson <jrj@purdue.edu>
14249 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
14250 flag to vrestore. Some versions do not like it.
14252 2001-06-18 John R. Jackson <jrj@purdue.edu>
14254 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
14256 * common-src/stream.c: Ditto.
14258 2001-06-18 John R. Jackson <jrj@purdue.edu>
14260 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
14261 by George Herson <gherson@snet.net>.
14263 2001-06-12 Thomas Hepper <th@ant.han.de>
14264 * changer-src/scsi-changer-driver.c (Inventory): Call Tape_Ready and let this function
14265 decide how to get the tape drive status.
14266 * changer-src/scsi-changer-driver.c (Tape_Ready): Now this function looks how to get
14267 the tape drive status.
14268 * changer-src/scsi-linux.c: changed some dbprintf to DebugPrint
14270 2001-06-10 Thomas Hepper <th@ant.han.de>
14271 * changer-src/chg-scsi.c: If get_current_slot gets an error from the fscanf function
14272 return also an error (-1) to the calling fucntion. (Fixes an error if the slot file
14273 is created with an touch)
14274 * changer-src/scsi-changer-driver.c: Fixed some NULL pointer errors in PrintConf
14275 Fixed an error in the unload function if the destination slot for the unload is not empty.
14276 (cut and paste error !!)
14278 2001-06-07 Thomas Hepper <th@ant.han.de>
14279 * changer-src/scsi-changer-driver.c: Change the type of TapeStatus from void to int.
14280 In PrintConf changed the loop variable for scan of pDev from 3 to CHG_MAXDEV.
14281 In PrintConf check if pDev[count].inquiry is a NULL pointer, and if yes skip.
14282 * changer-src/scsi-irix.c: Changed a lot, now it should work.
14283 * client-src/sendbackup-dump.c: Removed a { in the vxfsdump part.
14284 * tape-src/output-tape.c: Fixed the tape status checks, the structure elelemt
14285 is called buf.mt_dposn not buf.mt.dposn.
14287 2001-06-04 Thomas Hepper <th@ant.han.de>
14288 * changer-src/scsi-changer-driver.c: Renamed Tape_Eject to Tape_Ioctl
14289 incl. change of passwd parameter.
14291 2001-06-04 Thomas Hepper <th@ant.han.de>
14292 * changer-src/chg-scsi.c: include dmalloc.h for debugging of mem problems
14293 * changer-src/scsi-cam.c: Replaced Tape_Eject with a more generic
14294 function to send different ioctls (Tape_Ioctl)
14295 * changer-src/scsi-bsd.c: see above
14296 * changer-src/scsi-hpux_new.c: see above
14297 * changer-src/scsi-irix.c: If the device can be opened in SCSI_OpenDevice
14298 set pDev[ip].avail to 1.
14299 * changer-src/scsi-linux.c: include dmalloc.h for debugging of mem problems.
14300 Fixed an invalid free in SCSI_OpenDevice. Replaced Tape_Eject with Tape_Ioctl.
14301 * changer-src/scsi-changer-driver.c: include dmalloc.h for debugging of mem problems
14302 Eject the tape in the inventory function before the scan to get all
14303 barcode labels. Check in GenericEject if the device is able to receive
14304 SCSI commands, if not use the ioctl interface to eject the tape.
14305 Same for the GenericRewind function.
14306 Added the LogSense in the GenericEject function.
14307 * changer-src/scsi-defs.h: Added define for Tape_Ioctl commands, IOCTL_EJECT.
14309 2001-06-01 John R. Jackson <jrj@purdue.edu>
14311 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
14312 image is used rather than a copy also on tape, if both exist.
14314 2001-06-01 Thomas Hepper <th@ant.han.de>
14315 * changer-src/scsi-changer-driver.c: Added an range check in the load
14316 function and abort if the requested slot is out of range.
14317 Fixed in incorrect pointer in the eject function if the ioctl
14320 2001-05-29 John R. Jackson <jrj@purdue.edu>
14322 * server-src/reporter.c: Fix PostScript output to only show what went
14323 on the tape, not what the total amount dumped. Compliments of
14324 Joshua Baker-LePain <jlb17@duke.edu>.
14326 2001-05-28 Thomas Hepper <th@ant.han.de>
14327 * changer-scsi/chg-scsi.c: Made the array for pDev configurable, #define CHG_MAXDEV
14328 * changer-scsi/scsi-defs.h: Added the define for CHG_MAXDEV
14329 * changer-src/scsi-cam.c: Set the flag pDev[x].avail to 1 if the device can be openend.
14330 Added debug message if the open fails. Implemented the function Tape_Status (not tested)
14331 * changer-src/scsi-changer-driver.c: Added the function DLT448ElementStatus, was lost
14332 during merge from 2.4.2. The difference to GenericElementStatus is that the DecodeModeSense
14333 needs an offset of 12, not 0 as in GenericElementStatus.
14334 Added an unload/GenericResetStatus in the Inventory function if an bar code reader is
14335 available. This is to get the label from the loaded tape.
14336 The function TapeStatus sets now the status regardless of the status of the tape.
14337 If the device is capable for sending SCSI commands use the SCSI interface to get
14338 the status of the tape.
14339 * docs/TAPE.CHANGERS: Added some notes about the debuglevel keyword and a short
14340 description on how to use the sgen interface on solaris 2.8
14342 2001-05-18 John R. Jackson <jrj@purdue.edu>
14344 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
14345 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
14347 2001-05-16 John R. Jackson <jrj@purdue.edu>
14349 * client-src/patch-system.sh.in: Go ahead and update /etc/services
14350 on a client even if the services themselves are not turned on to
14351 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
14352 the TCP port for amandad for future use.
14354 2001-05-14 John R. Jackson <jrj@purdue.edu>
14356 * client-src/amandad.c: Fix hang when the incoming packet size is
14357 larger than the pipe buffer. Also, report back when too much
14358 data for a packet is returned by the service (this is not properly
14359 diagnosed back to, e.g., amcheck, but that's for another day).
14360 * common-src/bsd-security.c: Fix minor comment error.
14362 2001-05-11 John R. Jackson <jrj@purdue.edu>
14364 * common-src/util.c (bind_portrange): Log a debug message stating
14365 explicitly that all ports in the requested range were busy, or
14366 that a specific port failed bind() for an unexpected reason.
14368 2001-05-07 John R. Jackson <jrj@purdue.edu>
14370 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
14371 Roland E. Lipovits (rel@lipo.at0.net).
14373 2001-05-07 Thomas Hepper <th@ant.han.de>
14374 * changer-src/chg-scsi.c : Fixed NULL pointer in debug print of the config.
14375 * changer-src/scsi-canger-driver.c : Try to get and set the status of the tape drive in
14376 GenericElementStatus if there is an error condition. Move from tape to tape to get the
14377 tape loaded if it is only ejected.
14378 * changer-src/scsi-defs.h : New define for the Tape_Status fucntion, TAPE_NOT_LOADED
14379 * changer-src/scsi-linux.c : Added return type for tape not loaded
14380 * changer-src/scsi-solaris.c : In SCSI_ExecuteCommand force the direction to write if the
14381 databuffersize is 0, if the direction is input the ioctl returns with errno 22, invalid argument.
14382 The function Tape_Status will now return either tape loaded or not.
14383 * example/chg-scsi-solaris.conf.in : Added pointer to doc/TAPE.CHANGERS on how to configure
14385 * doc/TAPE.CHANGERS : Updated the description of the chg-scsi.conf options, short description on
14386 how to confgure the sgen driver on solaris 2.8
14388 2001-05-04 John R. Jackson <jrj@purdue.edu>
14390 * config/depcomp: Fix problem with argument* processing and update to
14393 2001-05-01 Thomas Hepper <th@ant.han.de>
14394 * changer-src/chg-scsi.c : Added patch for the slot advance command from John R. Jackson
14395 * changer-src/scsi-changer-driver.c : Renamed EXB120BarCode to EXB_BarCode. The currently
14396 known Exabyte libs handles the reader in the same way.
14398 2001-04-28 Thomas Hepper <th@ant.han.de>
14399 * changer-scsi/chg-scsi.c : Added missing break in MapBarCode
14400 Changed the way an tape label is read, use tape_open to open the
14401 device, not own open.
14402 * changer-src/scsi-changer-driver.c : Changed the way an tape label
14403 is read, use tape_open to open the device, not own open.
14404 * changer-src/scsi-linux.c : Fixed error on reopen of non SCSI devices
14405 (/dev/nst0 for example)
14407 2001-04-26 Thomas Hepper <th@ant.han.de>
14409 * changer-src/scsi-aix.c : Added more different ret values depending on the SCSI
14411 * changer-src/scsi-changer-driver.c: Split GenericElementStatus in GetElementStatus which
14412 reads the element Status, and GenericElementStatus which handles the errors.
14413 Removed DLT448ElementStatus. Rework the handling of some SCSI error conditions...
14414 * changer-src/scsi-defs.h: Added more defs for the debug SECTION types.
14415 * changer-src/scsi-linux.c: Fixed an bug in the non SCSI device handling in SCSI_OpenDevice
14416 * changer-src/sense.c: Added EXB-210 defs, added defs for READ_ELEMENT_STATUS error conditions.
14418 2001-04-25 John R. Jackson <jrj@purdue.edu>
14420 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
14421 used to define sbindir. Sigh. Include X=X assignments to get rid
14422 of the Perl warnings.
14423 * server-src/amoverview.pl.in: Ditto.
14425 2001-04-24 John R. Jackson <jrj@purdue.edu>
14427 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
14428 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
14430 2001-04-23 John R. Jackson <jrj@purdue.edu>
14432 * client-src/selfcheck.c: Allow Samba shares with no password.
14433 * client-src/sendbackup-gnutar.c: Ditto.
14434 * client-src/sendsize.c: Ditto.
14436 2001-04-15 Thomas Hepper <th@ant.han.de>
14437 * Makefile.am: Added contrib/gsc files to EXTRA_DIST
14439 2001-04-15 Thomas Hepper <th@ant.han.de>
14440 * changer-src/scsi-aix.c: Rework of the SCSI interface, support
14441 to talk to an device handled by the gsc driver (not tested yet)
14442 * changer-src/scsi-bsd.c (SCSI_ExecuteCommand): Fix error in
14443 device handling, Changed the return codes in case of an error
14444 * changer-src/scsi-cam.c (SCSI_ExecuteCommand): Fix error in
14445 device handling, Changed the return codes in case of an error
14446 * changer-src/scsi-changer-driver.c: Changed the way
14447 SCSI_ExecuteCommand passes error conditions back, error handling
14448 should now be done by the calling function, SCSI_Run for example.
14449 * changer-src/scsi-changer-driver.c (CheckMove): If the
14450 DeviceCapabilitiesPage is not set do not return an error, print
14451 an warning to the debug file.
14452 * changer-src/scsi-defs.h: New define for AIX_USE_GSC
14453 New defines for the return codes of SCSI_ExecuteCommand
14454 * changer-src/scsi-hpux_new.c: Fix error in device handling.
14455 Changed the return codes in case of an error
14456 * changer-src/scsi-irix.c: Fix error in device handling.
14457 Changed the return codes in case of an error
14458 * changer-src/scsi-solaris.c: Fix error in device handling.
14459 Changed the return codes in case of an error
14461 2001-04-15 Thomas Hepper <th@ant.han.de>
14462 *contrib/gsc: Generic SCSI interface for AIX, used by chg-scsi
14464 2001-04-13 John R. Jackson <jrj@purdue.edu>
14466 * example/amanda.conf.in: Fix multiple holding disks comment.
14468 2001-04-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14470 * client-src/getfsent.h (search_fstab): New prototype.
14471 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
14472 entry if check_dev==1 and device stats failed.
14473 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
14474 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
14475 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
14476 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
14477 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
14480 2001-04-10 John R. Jackson <jrj@purdue.edu>
14482 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
14483 <lhecking@nmrc.ie>.
14485 2001-04-09 Thomas Hepper <th@ant.han.de>
14486 * changer-src/scsi-changer-driver.c: More rework on the debug output.
14487 changed definition SENSE_NO_TAPE to SENSE_TAPE_NOT_ONLINE
14488 In function GenericRewind do an check before the rewind to see
14489 if the tape is loaded.
14490 * changer-src/scsi-defs.h: New #define for the debug, SECTION_TAPE
14491 * changer-src/sense.c: New definition for SENSE_RETRY, ASC=4, ASCQ=1
14493 2001-04-08 Alexandre Oliva <aoliva@redhat.com>
14495 * client-src/getfsent.c (search_fstab): Don't skip entry just
14496 because device stats failed.
14498 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14500 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
14501 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
14502 * config/mkinstalldirs: Upgrade from automake CVS.
14504 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14506 * config/depcomp: new file for automake.
14508 2001-04-03 John R. Jackson <jrj@purdue.edu>
14510 * Makefile.am: Remove *.test.c from the distribution.
14512 2001-04-02 John R. Jackson <jrj@purdue.edu>
14514 * NEWS: Update some of the 2.4.2 items.
14516 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14518 * client-src/getfsent.c (search_fstab): If the device doesn't
14519 exist, it will take the entry from /etc/mtab.
14521 2001-03-26 John R. Jackson <jrj@purdue.edu>
14523 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
14524 device name (which is bogus) for slot "advance".
14526 2001-03-23 John R. Jackson <jrj@purdue.edu>
14528 * example/amanda.conf.in: Add warning that the sample amanda.conf
14529 will not work as is and must be edited to match the installation.
14531 2001-03-21 John R. Jackson <jrj@purdue.edu>
14533 * recover-src/extract_list.c (extract_files_child): Fix problem that
14534 caused xfsrestore arg list to not be NULL terminated.
14536 2001-03-19 John R. Jackson <jrj@purdue.edu>
14538 * configure.in: Add --with-debug-days (default is 4) and remove
14539 --with-pid-debug-files.
14540 * common-src/Makefile.am: Clean up test program dependencies.
14541 * common-src/debug.c: Create timestamped debug file names and remove
14542 files older (based on file name) than --with-debug-days. Rename old
14543 style names to new style (based on modification time) the first time
14545 * common-src/file.c: Use construct_datestamp() instead of private code.
14546 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
14547 DEBUG_FILE_WITH_PID.
14548 * common-src/util.c: Move construct_datestamp to here and add new
14549 function construct_timestamp. Change time used to build string to
14550 be an optional parameter instead of always getting it in the routine.
14551 * common-src/util.h: Add prototypes.
14552 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
14553 indication that it should get the current time.
14554 * server-src/amflush.c: Ditto.
14555 * server-src/chunker.c: Ditto.
14556 * server-src/driver.c: Ditto.
14557 * server-src/dumper.c: Ditto.
14558 * server-src/planner.c: Ditto.
14559 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
14560 * server-src/server_util.h: Remove prototype.
14562 2001-03-15 John R. Jackson <jrj@purdue.edu>
14564 * server-src/planner.c (analyze_estimate): Do not do an incremental
14565 if FORCE_NO_BUMP is set and the last dump was a level 0.
14567 2001-03-14 John R. Jackson <jrj@purdue.edu>
14569 * server-src/amcheck.c: Change message from NOTE to WARNING when
14570 the hold file exists.
14571 * man/amcheck.8.in: Ditto.
14573 2001-03-14 John R. Jackson <jrj@purdue.edu>
14575 * client-src/selfcheck.c: Send smbclient via pipe instead of command
14576 line arg. Various minor cleanups. Use pipespawn instead of system()
14577 to clean up quoting problems and be consistent with sendsize and
14579 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
14580 line arg. Various minor cleanups.
14581 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
14582 line arg. Various minor cleanups. Clean up listed incremental file
14584 * client-src/sendbackup.c: Various minor cleanups.
14585 * client-src/sendsize.c: Send smbclient via pipe instead of command
14586 line arg. Various minor cleanups. Clean up listed incremental file
14588 * docs/SAMBA: Update and cleanup.
14589 * common-src/pipespawn.c: Import from 2.4.2 branch.
14590 * common-src/pipespawn.h: Import from 2.4.2 branch.
14591 * common-src/Makefile.am: Add pipespawn.[ch] references.
14593 2001-03-13 John R. Jackson <jrj@purdue.edu>
14595 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
14596 argument list processing.
14598 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14600 * server-src/dumper.c (read_datafd): set errstr and return on
14601 databuf_write error.
14603 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14605 * server-src/dumper.c (read_indexfd): Ignore error while writing
14606 to the index file. Log an L_INFO message.
14608 2001-03-09 John R. Jackson <jrj@purdue.edu>
14610 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
14611 more places. Run normal protocol after a tape startup error (e.g.
14612 "cannot overwrite") instead of just exiting to keep driver from
14613 reporting a broken pipe.
14615 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14616 Reported by Eric Schnoebelen <eric@cirr.com>
14618 * server-src/changer.c (changer_command): Fix fd leak.
14620 2001-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14622 * server-src/server_util.c (cmdstr, getcmd, putresult): New.
14623 * server-src/server_util.h (cmdstr, getcmd, putresult): Prototype.
14624 * server-src/server_util.h (cmd_t): New.
14625 * server-src/driverio.c (cmdstr): Remove.
14626 * server-src/driverio.c: Use new cmdstr and cmd_t.
14627 * server-src/driverio.h: (tok_t): Remove.
14628 * server-src/amflush.c: Use new cmd_t.
14629 * server-src/driver.c: Use new cmd_t.
14630 * server-src/chunker.c (cmd_t, getcmd, putresult): Remove.
14631 * server-src/chunker.c: Use new cmd_t, getcmd and putresult.
14632 * server-src/dumper.c (cmd_t, getcmd, putresult): Remove.
14633 * server-src/dumper.c: Use new cmd_t, getcmd and putresult.
14634 * server-src/taper.c (cmd_t, getcmd, putresult): Remove.
14635 * server-src/taper.c: Use new cmd_t, getcmd and putresult.
14637 2001-03-05 John R. Jackson <jrj@purdue.edu>
14639 * common-src/util.c: The fullread() and fullwrite() functions should
14640 call read() and write(), not tapefd_read() and tapefd_write().
14642 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14644 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
14645 if last_level is 0 and FORCE_NO_BUMP is set.
14647 2001-02-27 John R. Jackson <jrj@purdue.edu>
14649 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
14650 * client-src/sendbackup.c: Do not ask for a big receive buffer.
14651 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
14652 * server-src/taper.c: Ask for a bigger receive buffer.
14653 * recover-src/amrecover.c: Use stream_client instead of specific
14654 (and incorrect) bind() code.
14655 * recover-src/extract_list.c: Ditto.
14657 2001-02-27 John R. Jackson <jrj@purdue.edu>
14659 * common-src/dgram.c: Add lots more error logging to help track down
14662 2001-02-27 John R. Jackson <jrj@purdue.edu>
14664 * common-src/stream.c: Add lots more error logging to help track down
14667 2001-02-27 John R. Jackson <jrj@purdue.edu>
14669 * server-src/amtape.c: Rewind after loading a slot either by slot
14672 2001-02-27 John R. Jackson <jrj@purdue.edu>
14674 * configure.in: Add some commentary about why pushdef/popdef are
14675 needed around AC_CHECK_TYPE.
14677 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14678 Patch by Alex Pilosov <alex@pilosoft.com>
14680 * changer-src/scsi-cam.c: Clean up some SCSI CAM code,
14681 and permit use of both bus:target:lun(btl) and a full
14682 device name (/dev/ch0) as changerdev.
14684 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14685 Patch by Joe Rhett <jrhett@isite.net>
14686 and Jason Hollinden <jhollind@sammg.com>
14688 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
14689 >9 tape slot support, variable for 'offline' or 'ONLINE'
14690 return value of tape device, and multi-config support. Moved
14691 all user settable variables to 'changerfile'.conf in the
14692 amanda config directory. Added commented out example of .conf
14695 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14697 * server-src/amindexd.c (uncompress_file): remove uncompressed
14698 index file if the command failed.
14700 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14702 * restore-src/amrestore.c (main): init r to 0.
14704 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14706 * changer-src/scsi-defs.h (PrintConf): Add prototype.
14707 * changer-src/scsi-changer-driver.c (SCSI_Run): Add prototype.
14708 * changer-src/scsi-linux.c (ScanBus): remove btl variable, return 0.
14710 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14712 * man/Makefile.am (EXTRA_DIST): add amdd.8 and ammt.8.
14714 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14716 * server-src/planner.c (setup_estimate): ask for level 0 for
14717 a new disk if force-bump is set,
14718 log force-bump and force-nobump command.
14720 2001-02-17 Thomas Hepper <th@ant.han.de>
14722 * changer-scsi/chg-scsi.c: New Option -genconf to create an example config file
14723 based on the information found on the system, works for Linux and BSD with cam
14724 support. New config option debuglevel
14725 * changer-src/scsi-changer-deriver.c: Reworked the debug output, it is now possible
14726 to control the amount of information by the config option debuglevel in the config
14727 file (docs follow), not complete yet.
14728 * changer-src/scsi-changer-driver.c: New function PrintConf to create an example
14730 New function DebugPrint to print debug information based on the variable debuglevel.
14731 Replaced a lot of dbprintf with new Function DebugPrint
14732 * changer-src/scsi-aix.c: changed parameter for ScanBus
14733 * changer-src/scsi-irix.c: changed parameter for ScanBus
14734 * changer-src/scsi-solaris.c: changed parameter for ScanBus
14735 * changer-src/scsi-bsd.c: changed parameter for ScanBus
14736 * changer-src/scsi-cam.c: Implemented function ScanBus
14737 * changer-src/scsi-linux.c: Implemented function ScanBus
14739 2001-02-09 John R. Jackson <jrj@purdue.edu>
14741 * server-src/diskfile.c: Fix core dump in test program.
14743 2001-02-09 John R. Jackson <jrj@purdue.edu>
14745 * tape-src/output-file.c: Use a "data" subdirectory of the main
14746 file driver device directory to hold the tape "files". This
14747 allows the status file to be moved to the main directory.
14748 * man/amanda.8.in: Document these changes.
14750 2001-02-08 Thomas Hepper <th@ant.han.de>
14752 * changer-src/scsi-aix.c: Added dummy ScanBus function
14753 * changer-src/scsi-bsd.c: Added dummy ScanBus function
14754 * changer-src/scsi-cam.c: Added dummy ScanBus function
14755 * changer-src/scsi-hpux_new.c: Added dummy ScanBus function
14756 * changer-src/scsi-irix.c: Added dummy ScanBus function
14757 * changer-src/scsi-defs.h: Added prototype for ScanBus function
14759 2001-02-04 John R. Jackson <jrj@purdue.edu>
14761 * man/amanda.8.in: Fix mailto to space separated, not comma.
14763 2001-02-03 John R. Jackson <jrj@purdue.edu>
14765 * .cvsignore: Add entries to keep CVS quiet.
14766 * */.cvsignore: Ditto.
14768 2001-02-03 John R. Jackson <jrj@purdue.edu>
14770 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
14771 * common-src/Makefile.am: Add more sources as needed to the test
14772 programs so they would compile.
14773 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
14774 other Makefile.am files.
14775 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
14777 2001-02-03 John R. Jackson <jrj@purdue.edu>
14779 * server-src/diskfile.c: Fix test program compilation error and bug
14780 when just a config name was given on the command line.
14782 2001-02-02 John R. Jackson <jrj@purdue.edu>
14784 * server-src/reporter.c: Fix problem with enum being unsigned on
14787 2001-01-29 John R. Jackson <jrj@purdue.edu>
14789 * tape-src/tapeio.c (tape_fsf): Go back to using snprintf as this
14792 2001-01-29 John R. Jackson <jrj@purdue.edu>
14794 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
14795 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
14796 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
14797 (also compliments of Marc).
14799 2001-01-26 John R. Jackson <jrj@purdue.edu>
14801 * changer-src/Makefile.am: Double up the references to libamanda to
14802 handle systems that put regex in strange places.
14803 * client-src/Makefile.am: Ditto.
14804 * recover-src/Makefile.am: Ditto.
14805 * restore-src/Makefile.am: Ditto.
14806 * server-src/Makefile.am: Ditto.
14807 * tape-src/Makefile.am: Ditto.
14809 2001-01-23 John R. Jackson <jrj@purdue.edu>
14811 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
14812 enhance and add "null" and "file" output drivers. Change all
14813 tape changers (except chg-scsi) to use amdd and ammt. Change all
14814 tape changers (except chg-scsi) to log and use a consistent
14815 error reporting scheme. Fix various bugs along the way. Add new
14816 chg-multi config option, posteject, which is an optional script
14817 to call after each "tape" is ejected (e.g. to use to start a
14818 CDROM writer). Remove special code for tapedev of /dev/null
14819 (now handled by the "null" output driver). Changed the taper
14820 protocol to pass the host/disk/level so the write can send that
14821 along to the output driver. Fairly major rework of amrestore
14822 to clean up tape/non-tape and other oddities.
14823 * changer-src/chg-chio.pl.in: Ditto.
14824 * changer-src/chg-chs.sh.in: Ditto.
14825 * changer-src/chg-manual.sh.in: Ditto.
14826 * changer-src/chg-mtx.sh.in: Ditto.
14827 * changer-src/chg-multi.sh.in: Ditto.
14828 * changer-src/chg-rth.pl.in: Ditto.
14829 * changer-src/chg-zd-mtx.sh.in: Ditto.
14830 * client-src/sendbackup.c: Ditto.
14831 * common-src/alloc.c: Ditto.
14832 * common-src/amanda.h: Ditto.
14833 * docs/INTERNALS: Ditto.
14834 * man/Makefile.am: Ditto.
14835 * man/amanda.8.in: Ditto.
14836 * man/amdd.8: Ditto.
14837 * man/ammt.8: Ditto.
14838 * restore-src/amrestore.c: Ditto.
14839 * server-src/amcheck.c: Ditto.
14840 * server-src/amlabel.c: Ditto.
14841 * server-src/amtape.c: Ditto.
14842 * server-src/amverify.sh.in: Ditto.
14843 * server-src/conffile.c: Ditto.
14844 * server-src/conffile.h: Ditto.
14845 * server-src/taper.c: Ditto.
14846 * tape-src/Makefile.am: Ditto.
14847 * tape-src/amdd.c: Ditto.
14848 * tape-src/ammt.c: Ditto.
14849 * tape-src/output-file.c: Ditto.
14850 * tape-src/output-file.h: Ditto.
14851 * tape-src/output-null.c: Ditto.
14852 * tape-src/output-null.h: Ditto.
14853 * tape-src/output-rait.c: Ditto.
14854 * tape-src/output-rait.h: Ditto.
14855 * tape-src/output-tape.c: Ditto.
14856 * tape-src/output-tape.h: Ditto.
14857 * tape-src/tapeio.c: Ditto.
14858 * tape-src/tapeio.h: Ditto.
14859 * tape-src/tests/amtapeio.test.000: Ditto.
14860 * tape-src/tests/amtapeio.test.001: Ditto.
14861 * tape-src/tests/amtapeio.test.002: Ditto.
14862 * tape-src/tests/amtapeio.test.003: Ditto.
14863 * tape-src/tests/amtapeio.test.004: Ditto.
14864 * tape-src/tests/amtapeio.test.005: Ditto.
14865 * tape-src/tests/amtapeio.test.006: Ditto.
14866 * tape-src/tests/amtapeio.test.007: Ditto.
14867 * tape-src/tests/amtapeio.test.008: Ditto.
14868 * tape-src/tests/amtapeio.test.009: Ditto.
14869 * tape-src/tests/amtapeio.test.010: Ditto.
14870 * tape-src/tests/amtapeio.test.011: Ditto.
14871 * tape-src/tests/amtapeio.test.012: Ditto.
14872 * tape-src/tests/amtapeio.test.013: Ditto.
14873 * tape-src/tests/amtapeio.test.014: Ditto.
14874 * tape-src/tests/amtapeio.test.015: Ditto.
14875 * tape-src/tests/amtapeio.test.016: Ditto.
14876 * tape-src/tests/amtapeio.test.017: Ditto.
14877 * tape-src/tests/amtapeio.test.018: Ditto.
14878 * tape-src/tests/cleartape: Ditto.
14879 * tape-src/tests/newtest: Ditto.
14880 * tape-src/tests/rerun: Ditto.
14881 * tape-src/tests/runtest: Ditto.
14882 * tape-src/tests/testdist: Ditto.
14883 * tape-src/tests/torture: Ditto.
14885 2001-01-24 John R. Jackson <jrj@purdue.edu>
14887 * client-src/amandad.c: Improve packet logging.
14889 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14891 * server-src/driver.c (start_some_dumps): typo.
14893 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14895 * server-src/driverio.h (sched_t): new field no_space.
14896 * server-src/driver.c (start_some_dumps): don't start a disk if
14898 * server-src/driver.c (continue_dumps): set no_space if it's the
14899 only active dumpers, case c.
14900 * server-src/driver.c (read_schedule): set no_space to 0.
14902 2001-01-23 John R. Jackson <jrj@purdue.edu>
14904 * configure.in: Test for setmntent.
14905 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
14906 changes that indirectly reference the device for a file system.
14908 2001-01-22 Marc W. Mengel <mengel@fnal.gov>
14910 * recover-src/extract_list.c: Added -U to tar recover options
14911 to reduce errors recovering shared libs and/or binaries on
14912 active filesystems.
14914 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14916 * docs/INSTALL: Notes about tar-1.13.19
14918 2001-01-17 Thomas Hepper <th@ant.han.de>
14920 * changer-src/chg-scsi.c: Moved definitions for config_t and
14921 changer_t into scsi-defs.h
14922 * changer-src/chg-scsi.c: New config option havebarcode
14923 * changer-src/scsi-changer-driver.c: Changed GenericBarCode do handle
14924 the option havebarcode. Replaced NoBarCode with GenericBarCode.
14925 Fixed compile warnings from -Wshadow
14926 * changer-src/scsi-linux.c: New function ScanBus to scan the SCSI Bus.
14928 * changer-src/scsi-solaris.c: Changed the return value to
14929 Command.uscsi_status in SCSI_ExecuteCommand if the return from the
14932 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14934 * man/amanda.8.in: New section "HOST & DISK EXPRESSION" and
14935 "DATESTAMP EXPRESSION".
14936 * man/amadmin.8.in: Document new usage.
14937 * man/amflush.8.in: Document new usage.
14938 * man/amcheck.8.in: Document new usage.
14939 * man/amdump.8.in: Document new usage.
14940 * man/amrestore.8: Document new usage.
14941 * server-src/amadmin.c: Fix usage.
14942 * server-src/amflush.c: Fix usage.
14943 * server-src/amcheck.c: Fix usage.
14945 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14947 * server-src/diskfile.c (match_disklist): Return if no args.
14949 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14951 * server-src/diskfile.c (match_disklist): Fix.
14953 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14955 * server-src/diskfile.c (match_disklist): Updated for
14956 [host [disk]*]* syntax.
14958 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14960 * common-src/match.c (match_datestamp): New function.
14961 * common-src/amanda.h (match_datestamp): Prototype.
14962 * server-src/amflush.c: Use match_datestamp.
14963 * restore-src/amrestore.c: Use match_datestamp.
14965 2001-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14967 * common-src/match.c (match_word): Support for leading ^ and
14970 2001-01-04 John R. Jackson <jrj@purdue.edu>
14972 * common-src/error.c (error): If the debug file pointer is set, log
14973 any fatal error message to it and close the file so it has a good
14974 trace of what happened and when.
14976 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14978 * taper-src/am-dd.c: include "tapeio.h", fix debug warning.
14979 * taper-src/am-mt.c: include "tapeio.h", fix debug warning.
14980 * taper-src/output-rait.c: include "tapeio.h", new define for
14982 * taper-src/tapeio.c(many): Remove unused tfd variable.
14983 * taper-src/tapeio.h (tape_unload,tape_status): Prototype.
14985 2001-01-04 John R. Jackson <jrj@purdue.edu>
14987 * client-src/killpgrp.c: Calls to error() do not need a newline.
14989 2001-01-04 John R. Jackson <jrj@purdue.edu>
14991 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
14992 changes in the main part of the config file must appear before any
14993 dumptype definitions, and also that inherited dumptypes must appear
14994 before their reference.
14996 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14998 * server-src/driver.c (continue_dumps): Don't reduce est_size if
14999 it is already larger than holding space allocated.
15000 * server-src/dumper.c: Remove all code for FILE_DUMP command.
15001 * server-src/chunker.c: Better handling of ENOSPC from
15002 write_tapeheader().
15004 2001-01-04 John R. Jackson <jrj@purdue.edu>
15006 * server-src/conffile.c (main): Fix conffile test program so it builds
15009 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15011 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
15012 pointer by enumerated pointers.
15013 * changer-src/scsi-changer-driver.c: Use new calling convention.
15015 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15017 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
15018 ABORT-FINISHED result.
15020 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15022 * server-src/amflush.c: Use getopt to parse argument.
15023 * server-src/amflush.c: New [-D date]* argument.
15024 * man/amflush.8.in: Document it.
15026 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15027 Patch by Andreas F Mueller <afm@othello.ch>
15029 * server-src/amadmin.c (force_no_bump_one): Fix message.
15031 2001-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15033 * tape-src/am-dd.c: include "amanda.h"
15034 * tape-src/am-mt.c: include "amanda.h"
15035 * tape-src/am-mt.c (main): res is int.
15036 * tape-src/output-rait.c: include "amanda.h", do not define stderr.
15037 * tape-src/tapeio.c (xxx_tapefd_read, plain_tapefd_read): second
15038 argument should be "char *"
15039 * tape-src/tapeio.c (xxx_tapefd_write, plain_tapefd_write): second
15040 argument should be "const char *"
15042 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15044 * server-src/find.c (find_match): Use todo bit.
15045 * server-src/find.c (find_dump): No arguments.
15046 * server-src/find.h (find_dump): Change prototype.
15047 * server-src/amadmin.c (find): New [host disk]* pair arguments.
15048 * server-src/amindexd.c: Change call to find_dump().
15049 * server-src/amtrmidx.c: Change call to find_dump().
15051 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15053 * configure.in: Don't check krb5 include if krb5 is not selected.
15055 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15057 * tape-src/Makefile.am (noinst_HEADERS): Add output-rait.h
15059 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15061 * server-src/amadmin.c (diskloop): typo.
15063 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15065 * server-src/amadmin.c (diskloop): New [host disk]* pair arguments.
15066 * server-src/amadmin.c (diskloop, reuse, noreuse): use get_pname()
15067 instead of argv[0].
15069 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15071 * server-src/amflush.c (main):log DISK after checking if logfile exist.
15073 2000-12-30 John R. Jackson <jrj@purdue.edu>
15075 * common-src/bsd-security.c: Improve the .rhosts/.amandahosts messages
15076 when things go wrong. Add support for "bsdsecurity" test program
15078 * common-src/Makefile.am: Ditto.
15079 * common-src/amanda.h: Ditto.
15080 * restore-src/amidxtaped.c: Ditto.
15081 * server-src/amindexd.c: Ditto.
15083 2000-12-30 John R. Jackson <jrj@purdue.edu>
15085 * ChangeLog: Bring Jean-Louis into the right month :-).
15086 * changer-src/scsi-changer-driver.c: Untested changes to at least
15087 get the code to compile on Solaris and to remove some warnings.
15088 * changer-src/scsi-defs.h: Ditto.
15089 * changer-src/scsi-solaris.c: Ditto.
15091 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15093 * server-src/diskfile.c (add_disk): New function.
15094 * server-src/diskfile.h (add_disk): Prototype.
15095 * server-src/logfile.h (logtype_e): add L_DISK.
15096 * server-src/logfile.c (logtype_str): add "DISK".
15097 * server-src/amflush.c (main): log DISK.
15098 * server-src/planner.c (main): log DISK.
15099 * server-src/reporter.c: use DISK if available.
15101 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15103 * server-src/amcheck.c: New [host disk]* pair arguments.
15104 * server-src/amflush.c: Ditto.
15105 * server-src/planner.c: Ditto.
15106 * server-src/amdump.sh.in: Ditto.
15107 * server-src/amrestore.c: Use new host/disk matcher.
15108 * man/amcheck.8.in: Document new [host disk]* pair arguments.
15109 * man/amflush.8.in: Ditto.
15110 * man/amdump.8.in: Ditto.
15112 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15114 * server-src/diskfile.c (match_disklist): new function.
15115 * server-src/diskfile.h (struct disk_s): new field todo.
15116 * server-src/diskfile.h (match_disklist): prototype.
15118 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15120 * common-src/match.c (match_word, match_host, match_disk):
15122 * common-src/amanda.h (match_host, match_disk): prototype.
15124 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15126 * server-src/planner.c (analyze_estimate): pick incremental level
15127 if no estimate of level 0.
15129 2000-12-28 Marc W. Mengel <mengel@fnal.gov>
15130 * changer-src/chg-juke.sh.in: New File
15131 * changer-src/Makefile.am: Added support for chg-juke.
15132 * docs/TAPE.CHANGERS: Likewise.
15133 * configure.in: Likewise.
15135 2000-12-24 John R. Jackson <jrj@purdue.edu>
15137 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
15138 the parameter being looked up is bad.
15140 2000-12-23 David Wolfskill <dhw@whistle.com>
15142 * server-src/amcheck.c (start_server_check): Change directory
15143 writable check to be for the tapelist directory instead of
15144 the config file directory. Remove config file directory test.
15145 * man/amcheck.8.in: Add mention of tapelist directory and do
15146 some other directory writable cleanup.
15148 2000-12-12 John R. Jackson <jrj@purdue.edu>
15150 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
15153 2000-12-12 John R. Jackson <jrj@purdue.edu>
15155 * Makefile.am: Work around problem with automake 1.4 not including
15157 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
15158 Work around problem with automake 1.4 not including pkgdata_DATA.
15159 * tape-src/rait.h: Renamed to rait.h.
15160 * tape-src/rait.c: Renamed to rait.c.
15161 * tape-src/output-rait.h: Renamed from rait.h.
15162 * tape-src/output-rait.c: Renamed from rait.c.
15163 * tape-src/Makefile.am: Reflect the new rait.[ch] names.
15164 * tape-src/tapeio.c: Use output-rait.h name. Minor typo changes.
15166 2000-12-08 Marc Mengel <mengel@fnal.gov>
15168 * docs/RAIT: New file.
15169 * docs/VTAPE-API: New file.
15170 * tape-src/rait.c: New File providing RAIT virtual tape type.
15171 * tape-src/tapeio.c: Major Surgery.
15172 (vtable): New static table of virtual tape types.
15173 (fdtable): New static table mapping file descriptors.
15174 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
15175 (tapefd_rewind_ioctl): Likewise.
15176 (tapefd_unload_ioctl): Likewise.
15177 (tapefd_weof_ioctl): Likewise.
15178 (tapefd_status_ioctl): Likewise.
15179 (tape_open): Now is a virtual tape table lookup and call.
15180 (tape_access): Now is a switch through virtual tape table.
15181 (tape_stat): Likewise.
15182 (tapefd_close): Likewise.
15183 (tapefd_fsf): Likewise.
15184 (tapefd_read): Likewise.
15185 (tapefd_rewind): Likewise.
15186 (tapefd_resetofs): Likewise.
15187 (tapefd_unload): Likewise.
15188 (tapefd_status): Likewise.
15189 (tapefd_weof): Likewise.
15190 (tapefd_write): Likewise.
15191 (plain_tape_access): Rename of tape_access.
15192 (plain_tape_open): Likewise.
15193 (plain_tapefd_read): Likewise.
15194 (plain_tape_stat): Likewise.
15195 (plain_tapefd_write): Likewise.
15196 (plain_tapefd_close): Likewise.
15197 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
15198 (plain_tapefd_rewind): Likewise.
15199 (plain_tapefd_resetofs): Likewise.
15200 (plain_tapefd_unload): Likewise.
15201 (plain_tapefd_status): Likewise.
15202 (plain_tapefd_weof): Likewise.
15204 2000-12-04 John R. Jackson <jrj@purdue.edu>
15206 * server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami
15209 2000-12-04 John R. Jackson <jrj@purdue.edu>
15211 * server-src/conffile.c (read_conffile_recursively): If the file name
15212 for the includefile directive is not absolute, make it relative to
15213 the configuration directory.
15215 2000-12-03 John R. Jackson <jrj@purdue.edu>
15217 * restore-src/amrestore.c: Fix header when compression is included.
15218 Use "fast" option for -c and add new -C option to get "best".
15219 * man/amrestore.8: Document the new option, the compression level,
15220 and clean up some nroff issues.
15222 2000-11-30 Marc Mengel <mengel@fnal.gov>
15224 * changer-src/chg-chio.pl.in: Use am-mt and am-dd versus mt and dd.
15225 * changer-src/chg-chs.sh.in: Likewise.
15226 * changer-src/chg-manual.sh.in: Likewise.
15227 * changer-src/chg-mtx.sh.in: Likewise.
15228 * changer-src/chg-multi.sh.in: Likewise.
15229 * changer-src/chg-rth.pl.in: Likewise.
15230 * changer-src/chg-zd-mtx.sh.in: Likewise.
15231 * tape-src/am-dd.c: New file. Replacement for dd.
15232 * tape-src/am-mt.c: New file. replacement for mt.
15233 * tape-src/Makefile.am: Add build for am-mt and am-dd.
15234 * tape-src/tapeio.c (tape_unload, tapefd_unload, tape_status,
15235 tapefd_status): New functions.
15236 (tape_rewind, tape_fsf, tape_rdlabel): Change error message
15237 for tape being offline so it matches online/offline regex
15238 in changer scripts.
15239 (tape_open): Ifdef-out mode flag clearing, so you can pass
15240 O_TRUNC, etc. in for am-dd.
15242 2000-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15244 * common-src/util.c: #include "../tape-src/tapeio.h"
15245 * tape-src/tapeio.c(tapefd_write): second arg is const.
15246 * tape-src/tapeio.h(tapefd_write): Likewise.
15247 * common-src/event.c(event_loop): declare entry if ASSERT is defined.
15248 * changer-src/chg-scsi.c: Fix compiler warning.
15249 * changer-src/scsi-aix.c: Likewise.
15250 * changer-src/scsi-bsd.c: Likewise.
15251 * changer-src/scsi-cam.c: Likewise.
15252 * changer-src/scsi-changer-driver.c: Likewise.
15253 * changer-src/scsi-defs.h: Likewise.
15254 * changer-src/scsi-hpux.c: Likewise.
15255 * changer-src/scsi-hpux_new.c: Likewise.
15256 * changer-src/scsi-irix.c: Likewise.
15257 * changer-src/scsi-linux.c: Likewise.
15258 * changer-src/scsi-solaris.c: Likewise.
15259 * changer-src/sense.c: Likewise.
15261 2000-11-22 John R. Jackson <jrj@purdue.edu>
15263 * contrib/dbbackup.ksh: Deal with adm being a symlink.
15264 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
15266 2000-11-22 John R. Jackson <jrj@purdue.edu>
15268 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
15269 of files to put in a distribution.
15271 2000-11-21 John R. Jackson <jrj@purdue.edu>
15273 * recover-src/extract_list.c (extract_files_child): Add support for
15276 2000-11-21 John R. Jackson <jrj@purdue.edu>
15278 * server-src/amcheck.c: Minor message wording changes.
15280 2000-11-21 John R. Jackson <jrj@purdue.edu>
15282 * configure.in: Forgot to check in this part of new amgetconf.8.in.
15284 2000-11-21 John R. Jackson <jrj@purdue.edu>
15286 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
15287 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
15289 2000-11-21 John R. Jackson <jrj@purdue.edu>
15291 * man/amgetconf.8.in: New man page.
15292 * man/Makefile.am: Add support for amgetconf.8.in.
15293 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
15294 * man/amanda.8.in: Ditto.
15295 * man/amcheck.8.in: Ditto.
15296 * man/amcheckdb.8.in: Ditto.
15297 * man/amcleanup.8.in: Ditto.
15298 * man/amdump.8.in: Ditto.
15299 * man/amflush.8.in: Ditto.
15300 * man/amlabel.8.in: Ditto.
15301 * man/amrecover.8.in: Ditto.
15302 * man/amreport.8.in: Ditto.
15303 * man/amrestore.8: Ditto.
15304 * man/amrmtape.8.in: Ditto.
15305 * man/amstatus.8.in: Ditto.
15306 * man/amtape.8: Ditto.
15307 * man/amtoc.8.in: Ditto.
15308 * man/amverify.8.in: Ditto.
15310 2000-11-21 John R. Jackson <jrj@purdue.edu>
15312 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
15314 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15316 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
15317 * server-src/amcleanup.sh.in: ditto
15318 * server-src/amstatus.pl.in: ditto
15320 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15322 * server-src/driver.c (start_some_dumps): don't check free_kps if
15324 * server-src/driver.c (free_kps): remove the kludge.
15326 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15328 * server-src/conffile.c: It's an error to have a negative chunksize.
15329 * man/amanda.8.in: remove documentation of negative chunksize.
15330 * example/amanda.conf.in: ditto
15331 * example/amanda.conf.chg-scsi.in:ditto
15332 * NEWS: negative chunksize is no longer supported.
15334 2000-11-03 John R. Jackson <jrj@purdue.edu>
15336 * server-src/driver.c (handle_taper_result): the holding disk entry
15337 should not be removed just because taper could not write it out in
15338 the "too many taper retries" case. It should be left for amflush.
15340 2000-11-01 John R. Jackson <jrj@purdue.edu>
15342 * server-src/amverify.sh.in: use common form for getting the first
15343 line of a file/pipe. Sed is more portable than head.
15345 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15347 * client-src/selfcheck.c (check_disk): Write an appropriate
15348 message if the disk name start with '//' and the program is DUMP
15349 or SAMBA is not compiled in.
15351 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15353 * server-src/driver.c (handle_chunker_result): The dumpsize is
15354 the third argument, not the fourth.
15356 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15358 * server-src/driver.c (handle_chunker_result): don't check
15359 pending_aborts, call event_release() ob ABORT-FINISHED.
15361 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15363 * server-src/chunker.c (databuf_flush): workaround to prevent a
15364 hang on a ABORT command.
15366 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15368 * server-src/driver.c (continue_dumps): set estimate to more than
15369 what is already use instead of setting no_hold=1 when a disk
15370 don't fit on holding disk.
15372 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15374 * server-src/chunker.c: chunker was broken after RQ-MORE-DISK.
15376 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15378 * server-src/amstatus.pl.in: add '&' when calling &usage()
15381 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15382 reported by The Hermit Hacker <scrappy@hub.org>
15384 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
15386 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15387 reported by The Hermit Hacker <scrappy@hub.org>
15389 * changer-src/chg-chio.pl.in: remove comma after LOG,
15390 typo: r should be 0.
15392 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15394 * docs/INDEXING: doc updated.
15396 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15398 * AUTHORS: add Thomas Hepper.
15400 2000-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15402 * server-src/driverio.c (chunker_cmd): send ABORT command.
15404 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15406 * server-src/amverify.sh.in: grep only the first line of the header.
15408 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15410 * server-src/amverify.sh.in: verify with tar even if the
15411 server and the client are not configured with the same path.
15413 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15415 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
15416 the CHECK_TIMEOUT constant in amcheck.c.
15418 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15420 * server-src/amlabel.c: Don't set tape_ok to 0 if
15421 tape_wrlabel is successful.
15423 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15425 * server-src/taper.c: amfree(strclosing).
15427 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15429 * server-src/driver.c: typo.
15431 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15433 * configure.in: --with-samba-user is deprecated.
15434 * docs/SAMBA: the username is now on the amandapass file.
15435 * NEWS: the username is now on the amandapass file.
15436 * client-src/findpass.c (findpass): accept "*" as diskname.
15437 * client-src/selfcheck.c (check_disk): call to samba changed.
15438 * client-src/sendsize.c (getsize_smbtar): ditto.
15439 * client-src/sendbackup-gnutar.c (start_backup): ditto.
15440 * recover-src/extract_list.c (extract_files_child): ditto.
15442 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15444 * server-src/taper.c: give better message when failing
15447 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15449 * server-src/diskfile.c (headqueue_disk): new function to
15450 insert at the head of the queue.
15451 * server-src/diskfile.h (headqueue_disk): prototype.
15452 * server-src/driver.c (taper_queuedisk): insert with
15453 headqueue_disk() if disk already attempted.
15455 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15457 * AUTHORS: fix my email address.
15459 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15461 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
15463 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
15465 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15466 patch by <jeg@time.ucsc.edu>
15468 * server-src/reporter.c (output_summary): check for tape_labels.
15470 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15472 * server-src/amindexd.c: use strcasecmp to compare hostname.
15474 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15476 * server-src/amstatus.pl.in: fix plural misuse.
15478 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15480 * man/amanda.8.in: add all pages in the SEE ALSO section.
15482 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15484 * man/amreport.8.in: amreport does not rotate the log.
15485 * man/amrestore.8: note on holdingdisk.
15486 * restore-src/amrestore.c: update usage.
15487 * server-src/amrmtape.sh.in: update usage.
15488 * server-src/amverify.sh.in.usage: update usage.
15490 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15492 * server-src/amoverview.pl.in: update usage information,
15493 -config is no longer needed for ccompatibility with other program.
15494 * man/amoverview.8.in: -config is no longer needed.
15496 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15498 * example/amanda.conf.in: chunk should not be larger than
15499 MAX_FILE_SIZE - 1Mb.
15501 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15503 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
15505 * server-src/amlabel.c (main): init errstr to NULL,
15506 fix compiler warning.
15508 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15509 patch by jason Thomas <jet@users.sourceforge.net>
15511 * tape-src/tapetype.c: fix help message.
15513 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15514 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
15516 * common-src/file.c (mkpdir): check p != NULL
15517 * man/amstatus.8.in: typo
15519 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15520 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
15522 * client-src/calcsize.c:sets correct program name,
15523 prevent coredumps and some improrer command line error mesages
15525 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15527 * common-src/amanda.h: prototype clean_regex().
15528 * common-src/match.c: new function clean_regex() that escape
15529 all non-alphanumeric character.
15530 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
15532 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15534 * server-src/amcheck.c: (start_server_check): check for the oldlog
15537 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15539 * server-src/amtrmlog.c: better check of the oldlog directory.
15541 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15543 * server-src/amcheck.c: (start_server_check): don't check the tape
15544 if tapedev is /dev/null.
15546 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15548 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
15550 2000-07-31 Thomas Hepper <th@ant.han.de>
15551 * changer-src/chg-scsi.c: Rework of the device handling.
15552 Every device is opend for an operation and than closed.
15553 This will hopefully fix the problems with openening the tape device
15554 and the SCSI control device for the tape
15555 new option emubarcode (see docs/TAPE.CHANGERS)
15556 * changer-src/scsi-cam.c: Changed to work with the new device handling.
15557 * changer-src/scsi-hpux_new.c: Changed to work with the new device handling.
15558 * changer-src/scsi-irix.c: Changed to work with the new device handling. (Not tested)
15559 * changer-src/scsi-solaris.c: Changed to work with the new device handling. (Not tested)
15560 * changer-src/scsi-linux.c: Changed to work with the new device handling.
15561 * changer-src/scsi-changer-driver.c: Changed to work with the new device handling
15562 * changer-src/scsi-defs.h: Changed to work with the new device handling
15563 2000-07-18 John R. Jackson <jrj@purdue.edu>
15565 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
15566 function to return a string instead of writing to stdout.
15568 2000-07-18 John R. Jackson <jrj@purdue.edu>
15570 * server-src/taper.c (file_reader_side): detach and destroy shared
15571 memory areas on an error condition. Found by Patrik Andersin
15574 2000-07-17 Thomas Hepper <th@ant.han.de>
15575 * docs/TAPE.CHANGERS: Added some notes for the cam driver
15576 * changer-src/scsi-cam.c: New syntax for telling scsi ids
15578 SCSI_ExecuteCommand now returns the correct sense buffer.
15580 2000-07-17 Thomas Hepper <th@ant.han.de>
15581 * configure.in: Added check for BSD SCSI CAM Support
15582 * changer-src/scsi-cam.c: New, functions for SCSI CAM Support
15583 ( at the moment for FreeBSD 4.0)
15584 * changer-src/Makefile.am: added scsi-cam.s to the list of sources
15585 * changer-src/chg-scsi.c: The structs for the OpenFiles_T is now
15586 allocated in chg-scsi and passed to OpenDevice.
15587 * changer-src/scsi-changer-driver.c: New Parameter for OpenDevice
15590 2000-07-10 Marc Mengel <mengel@fnal.gov>
15591 * tape-src/tapeio.c -- add tape_{stat,access}, allow "plain:" prefix
15592 on tape device names
15593 * tape-src/tapeio.h -- add tape_{stat,access} prototypes
15594 * common-src/util.c -- call tape_{read,write}() in full{read,write}()
15595 * restore-src/amidxtaped.c -- use tape_stat() on tapename
15596 * restore-src/amrestore.c -- use tape_stat() on tapename
15597 * server-src/amcheck.c -- use tape_access() on tapename
15598 * client-src/Makefile.am -- now needs libamtape.a twice
15599 * server-src/Makefile.am -- now needs libamtape.a twice
15600 * recover-src/Makefile.am -- now needs libamtape.a twice
15601 * Makefile.am -- tape-src before client-src
15603 2000-07-05 Thomas Hepper <th@ant.han.de>
15604 * changer-src/chg-scsi.c: fixed an core dump if tapeident was set
15605 * changer-src/scsi-changer-driver.c (OpenFile):
15606 if the ident ist set in the config set this in the internal device
15608 * changer-src/scsi-changer-driver.c (GenerciSenseHandler):
15609 changed the type for the info text from char * to char ** which
15610 is passwd to Sense2Action
15611 * changer-src/scsi-changer-driver.c (ChangerStatus):
15612 fixed the bug which causes an core dump for chg-scsi -status robot
15613 if an bar code reader is detected. Fixed also the bug that the
15614 mapping Label -> Barcode was not displayed.
15615 * changer-src/scsi-defs.h: Changed the prototype for Sense2Action
15616 * changer-src/sense.c: Added the defs for the Spectra TreeFrog lib
15617 * changer-src/sense.c (Sense2Action); Fixed the handling if no match
15618 was found (fall back to the generic description)
15620 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15622 * server-src/list_dir.c (add_dir_list_item): add at head of list.
15624 2000-06-24 Thomas Hepper <th@ant.han.de>
15625 * changer-src/chg-scsi-chio.c: Merged changes from 2.4.2
15626 * changer-src/chg-scsi.c: Merged changes from 2.4.2
15627 * changer-src/sense.c: New file. Contains an table and function for the
15628 mapping of sense/ASC/ASCQ conditions from the SCSI sense.
15629 * changer-src/scsi-changer-driver.c: Merged changes from 2.4.2
15630 Changed handling for the sense keys. Now there is only one function
15631 to decide what to do with an sense/ASC/ASCQ conditon (abort,retry ..)
15632 * changer-src/Makefile.am: Added sense.c to the source list.
15633 * changer-src/scsi-solaris.c: Merged changes from 2.4.2
15634 * changer-src/scsi-linux.c: Merged changes from 2.4.2
15635 * changer-src/scsi-irix.c: Merged changes from 2.4.2
15636 * changer-src/scsi-hpux_new.c: Merged changes from 2.4.2
15637 * changer-src/scsi-defs.h: Merged changes from 2.4.2
15639 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
15641 * server-src/amlabel.c (main): Do not amfree(config_name).
15643 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15645 * server-src/holding.c (pick_datestamp): convert ch to upper.
15647 2000-05-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15649 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
15650 delay call to dumper_result().
15652 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15654 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
15657 2000-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15659 * chunker.c: allow chunk to be written on different holding disk.
15660 * server-src/driver.c: allow chunk to be written on different
15662 * server-src/conffile.c: make sure that disksize and chunksize
15663 are multiple of TAPE_BLOCK_SIZE.
15664 * server-src/conffile.h: disksize and chunksize are long.
15665 * server-src/diskfile.c (find_disk): new function to see if a
15666 given disk is contained in a list structure.
15667 * server-src/diskfile.h (find_disk): prototype.
15668 * server-src/driverio.h (RQ_MORE_DISK): Added message.
15669 * server-src/driverio.h (free_assignedhd): prototype.
15670 * server-src/driverio.h (assignedhd_t): new data structure.
15671 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
15672 * server-src/driverio.c (free_assignedhd): new function to free an
15673 array of assignedhd_t.
15675 2000-05-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15677 * server-src/driver.c (chunker_program): new variable.
15679 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15681 * server-src/amstatus.pl.in: handle chunker line.
15683 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15685 * recover-src/Makefile.am (LDADD): Removed libamtape.
15686 Reported by Paul Yeatman <pyeatman@ucsd.edu>
15688 2000-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15690 * server-src/chunker.c: new file for the chunker program.
15691 * server-src/Makefile.am: compile it.
15692 * server-src/driver.c: many modification.
15693 * server-src/driverio.c: many modification.
15694 * server-src/driverio.c (startup_chunk_process, chunker_cmd):
15696 * server-src/driverio.h: prototype them.
15697 * server-src/driverio.h (struct chunker_s): new structure.
15698 * server-src/logfile.c: handle chunker log.
15699 * server-src/logfile.h: ditto.
15700 * server-src/reporter.c: ditto.
15701 * server-src/taper.c: size reduced by TAPE_BLOCK_SIZE.
15703 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15705 * server-src/taper.c: don't crash if the tapelist file
15708 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
15710 * server-src/taper.c (detach_buffers): Fixed typo in error message.
15712 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
15713 should have been `InfoFile'.
15715 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
15717 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
15718 * server-src/conffile.c: Added ctimeout support. Default to 30.
15719 * example/amanda.conf.in: Likewise.
15720 * man/amanda.8.in: Documented it.
15721 * server-src/amcheck.c: Use ctimeout from configuration file instead
15724 2000-04-09 Stan Brown <stanb@awod.com>
15726 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
15727 it is actually a prefix of fsname.
15729 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15731 * server-src/amlabel.c (main): Check label *after* writing end mark.
15733 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15735 * server-src/amlabel.c: don't crash if the tapelist file
15738 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15740 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
15742 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15744 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
15745 and FORCE_BUMP are mutually exclusive.
15747 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15749 * server-src/driver.c (main): use the holding disk even if the
15750 datestamped directory already exist.
15752 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15754 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
15755 twice to avoid warnings of possible typo.
15757 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
15758 Reported by David Wolfskill <dhw@whistle.com>
15759 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
15761 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
15763 Reported by David Wolfskill <dhw@whistle.com>
15765 * man/amtoc.8.in: Document -w.
15767 2000-01-21 David Wolfskill <dhw@whistle.com>
15769 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
15771 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15773 * man/amlabel.8.in: Tapes are no longer requested in reverse order
15775 Reported by Brad Guillory <round@baileylink.net>
15777 * server-src/amstatus.pl.in: New option --stats, to display
15778 statistics about dumpers and taper.
15779 * man/amstatus.8.in: Document it.
15781 2000-01-21 David Wolfskill <dhw@whistle.com>
15783 * server-src/amstatus.pl.in: Sort dumpers by number.
15785 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15787 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
15789 * configure.in (MAILER): Warn or print an error if not found,
15790 depending on whether server code is disabled or not.
15792 * server-src/reporter.c (output_tapeinfo): Report used tapes
15793 regardless of tape errors.
15795 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
15796 in the global scope.
15798 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
15800 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
15801 where `union wait' works but is deprecated.
15803 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15805 * recover-src/uscan.l (settape): Recognize it.
15806 * recover-src/uparse.y: Parse it.
15807 * recover-src/amrecover.h (set_tape): Declare it.
15808 * recover-src/set_commands.c (set_tape): Implement it.
15809 * recover-src/help.c (help_list): Document it.
15810 * man/amrecover.8.in: Likewise.
15811 * recover-src/extract_list.c (extract_files): Warn if tape device is
15813 * recover-src/amrecover.c (tape_device_name): Default to
15814 server-determined default.
15816 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15818 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
15820 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
15821 Allow for `make tapetype' before libamanda is built.
15823 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
15825 2000-01-06 David Wolfskill <dhw@whistle.com>
15827 * docs/TAPETYPES: Typo.
15829 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15831 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
15832 example/amanda.conf, to the mailing list archives and to the on-line
15833 tapetype list. Explained the meaning of length, filemark and speed,
15834 and how to build and use the tapetype utility.
15836 1999-12-12 John R. Jackson <jrj@purdue.edu>
15838 * configure.in: egrep was having trouble with quoting on some systems.
15839 Broke it apart into multiple unquoted statements. Also, changed the
15840 script to run the steps on all dump tests and added "Label" as another
15843 1999-12-12 John R. Jackson <jrj@purdue.edu>
15845 * tape-src/tapetype.c: tweak the algorithm to write files in both
15846 passes and compute the tape mark size as the difference. Never
15847 report a negative tape mark size. Various other minor cleanup.
15849 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15851 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
15852 Samba messages unless SAMBA_VERSION < 2.
15854 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
15856 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
15858 1999-11-25 John R. Jackson <jrj@purdue.edu>
15860 * server-src/amflush.c (main): conf_logdir should not be free'd
15861 (found by Espen H Wiborg <espenhw@infotek.no>).
15863 1999-11-10 John R. Jackson <jrj@purdue.edu>
15865 * recover-src/extract_list.c: report the tape server host in the
15866 message to check the amidxtaped.debug file. If extract_list_child
15867 fails (such as when amidxtaped fails to read the tape), ask if
15868 things should continue instead of aborting.
15870 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15872 * server-src/driverio.c (update_info_dumper): Discard information on
15873 older same- or higher-level dumps.
15874 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
15875 be called before _taper.
15877 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
15879 1999-11-10 John R. Jackson <jrj@purdue.edu>
15881 * server-src/amindexd.c (build_disk_table): need to clear the old
15882 disk history list before building a new one.
15884 1999-11-10 John R. Jackson <jrj@purdue.edu>
15886 * server-src/taper.c (label_tape): issue a warning when tapedev is
15888 * server-src/amcheck.c (start_server_check): make warning message
15889 text the same for amcheck and taper when tapedev is /dev/null.
15891 1999-11-10 John R. Jackson <jrj@purdue.edu>
15893 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
15895 * server-src/holding.c (scan_holdingdisk): do not automatically remove
15896 empty holding disk areas since this function is called by various
15897 utilities and a dump might be in progress.
15899 1999-11-10 James FitzGibbon <james@targetnet.com>
15901 * server-src/infofile.c (put_info): d.size should have been
15904 1999-11-09 John R. Jackson <jrj@purdue.edu>
15906 * server-src/amcheck.c (start_server_check): test tapedev for
15907 "/dev/null" and issue warning that dumps will be thrown away.
15909 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
15911 * server-src/amadmin.c (main): Second occurrence of CNF_TAPELIST
15912 should have been CNF_INFOFILE; fixed.
15914 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15916 * common-src/amflock.c (struct flock): Do not assume the fields are
15917 declared in any particular order.
15918 Reported by Sean Kelly <kelly@plutotech.com>
15920 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
15921 * docs/INSTALL: Likewise.
15923 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
15925 * contrib/set_prod_link.pl: Create the links for a configuration
15926 with --with-suffix.
15928 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
15930 * common-src/rsh-security.c (net_writev): The result of a cast is
15931 not an lvalue; fixed.
15933 1999-10-26 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
15935 * server-src/amtoc.pl.in: Correct a bug for total report.
15937 1999-11-01 John R. Jackson <jrj@purdue.edu>
15939 * server-src/amcleanupdisk.c (main): do not free the config name (it
15940 was never alloc-d).
15942 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15944 * common-src/debug.c: Do not assume stderr is a compile-time
15945 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
15947 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
15949 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
15950 size, instead of size on tape.
15952 1999-10-07 John R. Jackson <jrj@purdue.edu>
15954 * common-src/stream.c (stream_server): remove reference to portrange
15955 variable. Compliments of Randy Dees <rrd@amherst.com>.
15957 1999-10-03 John R. Jackson <jrj@purdue.edu>
15959 * server-src/driver.c (main): now that multiple results can come back
15960 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
15961 process them all rather than just the first one. Call the new
15962 areads_dataready() function to peek and see if more data is ready.
15963 * common-src/amanda.h: declare areads_dataready().
15964 * common-src/file.c: define areads_dataready(). Fix some variable
15965 types. Fix a buffer expansion problem. Add code to the test
15966 program to force buffer expansion to be checked out.
15968 1999-10-03 John R. Jackson <jrj@purdue.edu>
15970 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
15972 1999-10-03 John R. Jackson <jrj@purdue.edu>
15974 * common-src/amflock.c (main): do not use aclose() in the configure
15975 test case. During configure we do not have areads_relbuf()
15976 available and it makes configure think all the tests have failed.
15978 1999-10-03 John R. Jackson <jrj@purdue.edu>
15980 * common-src/amanda.h: protect the close macros and areads* from
15981 out of range file descriptors.
15982 * common-src/file.c: ditto.
15984 1999-10-02 John R. Jackson <jrj@purdue.edu>
15986 * server-src/amindexd.c (build_disk_table): only "OK" results from
15987 find_dump should be considered.
15989 1999-10-02 John R. Jackson <jrj@purdue.edu>
15991 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
15992 participate in a full handshake, it exposed a problem in areads()
15993 where a static buffer was shared among all I/O. Changed it to use
15994 a separate buffer for each file descriptor. Enhanced the test
15995 program to check out the code.
15996 * common-src/amanda.h: ditto
15997 * restore-src/amidxtaped.c: minor areads/agets comment typo.
15998 * server-src/amindexd.c: ditto
16000 1999-10-02 John R. Jackson <jrj@purdue.edu>
16002 * server-src/amlogroll.c: fix minor memory leak.
16004 1999-09-29 John R. Jackson <jrj@purdue.edu>
16006 * server-src/dumper.c (do_dump): closed the dump messages file too
16009 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16011 * recover-src/extract_list.c (samba_extract_method): Default to
16012 SAMBA_TAR, for similarity with other restore programs.
16013 (extract_files_child): If restore with SMBCLIENT is enabled, explain
16014 that Samba shares will be restored to the SMB share.
16016 1999-09-22 John R. Jackson <jrj@purdue.edu>
16018 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
16019 compliments of John M. Vogtle <jmvogtle@kodak.com>.
16021 1999-09-20 John R. Jackson <jrj@purdue.edu>
16023 * server-src/Makefile.am: use new amlogroll utility to rename the log
16024 file to the datestamped name.
16025 * server-src/amcheck.c: ditto.
16026 * server-src/amcleanup.sh.in: ditto and call all utilities with the
16027 config file name as an argument.
16028 * server-src/amdump.sh.in: ditto and call all utilities with the
16029 config file name as an argument.
16030 * server-src/amflush.c: ditto.
16031 * server-src/amlogroll.c: new utility.
16032 * server-src/driverio.c: ditto and call all utilities with the
16033 config file name as an argument.
16034 * server-src/reporter.c: ditto.
16036 1999-09-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16038 * amlogroll.c: It was missing; copied from the 2.4.2 branch.
16040 * configure.in (AMANDA_TMPDIR): Added comment for config.h.in.
16042 1999-09-19 John R. Jackson <jrj@purdue.edu>
16044 * server-src/amverify.sh.in: this script is important enough it should
16045 not depend on having perl installed. Clean up the AIX "mt status"
16046 code. Test for presense of other restore programs and check that
16047 they are executable during processing.
16049 1999-09-19 John R. Jackson <jrj@purdue.edu>
16051 * server-src/amverify.sh.in: put back an "mt status" wait loop I
16052 erroneously removed, but protect it from AIX.
16054 1999-09-19 John R. Jackson <jrj@purdue.edu>
16056 * common-src/util.c: fix math in bind_portrange so ports requested
16057 are between those the caller passed and make sure port 0 does not
16058 accidentally get requested, which returns a non-privileged port.
16059 * common-src/dgram.c: bind_portrange last port argument is inclusive.
16060 * common-src/stream.c: ditto.
16061 * recover-src/amrecover.c: ditto.
16062 * recover-src/extract_list.c: ditto.
16064 1999-09-19 John R. Jackson <jrj@purdue.edu>
16066 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
16067 tape queue is empty during a TRYAGAIN (driver core dumped).
16069 1999-09-19 John R. Jackson <jrj@purdue.edu>
16071 * server-src/taper.c: fix protocol problems when out of tape. Add
16072 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
16073 with command line argument processing.
16075 1999-09-18 John R. Jackson <jrj@purdue.edu>
16077 * configure.in: several compress/uncompress variables were not being
16080 1999-09-18 John R. Jackson <jrj@purdue.edu>
16082 * client-src/sendbackup.c: pclose returns a child exit status of the
16083 pipe, not an errno, so do not try to strerror it.
16084 Have the index child process exit with the pclose exit code.
16085 Treat index failures as strange rather than fatal so the dump gets
16086 fully processed. It's more important to have the dump image than
16087 to skip it just because indexing had a (possibly unrelated) problem.
16089 1999-09-15 John R. Jackson <jrj@purdue.edu>
16091 * server-src/amtoc.pl.in: handle an image failing on one tape and
16092 succeeding on the next.
16094 1999-09-15 John R. Jackson <jrj@purdue.edu>
16096 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
16097 so it can handle current and future information.
16099 1999-09-15 John R. Jackson <jrj@purdue.edu>
16101 * common-src/bsd-security.c: if the user field is not present in the
16102 .amandahosts file, it should default to the local user, not the
16103 remote user. For our purposes, that is CLIENT_USER, not the user
16104 we are running as (although they should be the same).
16106 1999-09-14 John R. Jackson <jrj@purdue.edu>
16108 * configure.in: Add --with-tmpdir to ./configure and use it for
16109 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
16110 Move libexec/getconf to sbin/amgetconf and add an optional
16111 config parameter. Add optional config parameter to several
16113 Add debugging to chg-chio.
16114 Call new safe_cd() function in most programs to cd to --with-tmpdir
16115 so if they drop core, it goes to a known spot. Rename existing
16116 core files so more than one failure may be tracked. Remove most
16117 chdir() and umask() calls (umask is set in safe_cd).
16118 * amplot/amplot.sh.in: ditto.
16119 * changer-src/chg-chio.pl.in: ditto.
16120 * changer-src/chg-chs.sh.in: ditto.
16121 * changer-src/chg-manual.sh.in: ditto.
16122 * changer-src/chg-mtx.sh.in: ditto.
16123 * changer-src/chg-multi.sh.in: ditto.
16124 * changer-src/chg-rth.pl.in: ditto.
16125 * changer-src/chg-scsi-chio.c: ditto.
16126 * changer-src/chg-scsi.c: ditto.
16127 * changer-src/chg-zd-mtx.sh.in: ditto.
16128 * client-src/amandad.c: ditto.
16129 * client-src/calcsize.c: ditto.
16130 * client-src/killpgrp.c: ditto.
16131 * client-src/rundump.c: ditto.
16132 * client-src/runtar.c: ditto.
16133 * client-src/selfcheck.c: ditto.
16134 * client-src/sendbackup-gnutar.c: ditto.
16135 * client-src/sendbackup.c: ditto.
16136 * client-src/sendsize.c: ditto.
16137 * common-src/alloc.c: ditto.
16138 * common-src/amanda.h: ditto.
16139 * common-src/amflock.c: ditto.
16140 * common-src/bsd-security.c: ditto.
16141 * common-src/debug.c: ditto.
16142 * common-src/file.c: ditto.
16143 * common-src/genversion.c: ditto.
16144 * restore-src/amidxtaped.c: ditto.
16145 * server-src/Makefile.am: ditto.
16146 * server-src/amadmin.c: ditto.
16147 * server-src/amcheck.c: ditto.
16148 * server-src/amcheckdb.sh.in: ditto.
16149 * server-src/amcleanup.sh.in: ditto.
16150 * server-src/amcleanupdisk.c: ditto.
16151 * server-src/amdump.sh.in: ditto.
16152 * server-src/amflush.c: ditto.
16153 * server-src/amfreetapes.sh.in: ditto.
16154 * server-src/amindex.c: ditto.
16155 * server-src/amindex.h: ditto.
16156 * server-src/amindexd.c: ditto.
16157 * server-src/amlabel.c: ditto.
16158 * server-src/amrmtape.sh.in: ditto.
16159 * server-src/amstatus.pl.in: ditto.
16160 * server-src/amtape.c: ditto.
16161 * server-src/amtrmidx.c: ditto.
16162 * server-src/amtrmlog.c: ditto.
16163 * server-src/amverify.sh.in: ditto.
16164 * server-src/changer.c: ditto.
16165 * server-src/changer.h: ditto.
16166 * server-src/conffile.c: ditto.
16167 * server-src/conffile.h: ditto.
16168 * server-src/diskfile.c: ditto.
16169 * server-src/driver.c: ditto.
16170 * server-src/driverio.c: ditto.
16171 * server-src/dumper.c: ditto.
16172 * server-src/find.c: ditto.
16173 * server-src/getconf.c: ditto.
16174 * server-src/holding.c: ditto.
16175 * server-src/infofile.c: ditto.
16176 * server-src/logfile.c: ditto.
16177 * server-src/planner.c: ditto.
16178 * server-src/reporter.c: ditto.
16179 * server-src/tapefile.c: ditto.
16180 * server-src/taper.c: ditto.
16182 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16184 * common-src/bsd-security.c (bsd_stream): fn should take an ssize_t.
16185 (bsd_stream_read): Likewise, declaration.
16186 * common-src/rsh-security.c (rsh_stream): Likewise.
16187 (rsh_stream_read): Likewise, declaration and definition.
16188 * common-src/krb4-security.c (dummy): Compile when disabled.
16189 * common-src/krb5-security.c (dummy): Likewise.
16191 * server-src/reporter.c (sDivZero): Change from float to double, to
16194 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
16195 (VERSION): Add the date to it.
16196 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
16197 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
16198 (config.status): Depend on $(SNAPSHOT_STAMP).
16199 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
16201 * config/Makefile.am: Remove all traces of acconfig.h.
16203 * server-src/changer.c (changer_command): Fix for amwait_t != int.
16205 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16207 * config/acinclude.m4i: Added comments for config/config.h.in to all
16209 * configure.in: Likewise.
16210 * config/acconfig.h: Deleted.
16211 * autogen: Updated.
16213 1999-09-05 John R. Jackson <jrj@purdue.edu>
16215 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
16216 * recover-src/display_commands.c: fix some compiler warnings.
16217 * recover-src/extract_list.c: fix some compiler warnings.
16218 * restore-src/amrestore.c: fix some compiler warnings.
16219 * server-src/planner.c: fix some compiler warnings.
16221 1999-09-05 John R. Jackson <jrj@purdue.edu>
16223 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
16225 1999-09-05 John R. Jackson <jrj@purdue.edu>
16227 * common-src/stream.c: make sure errno is returned properly from
16228 stream_client() and stream_server().
16229 * server-src/taper.c: report errors from stream_server() and
16231 * recover-src/extract_list.c: make sure errno is preserved.
16233 1999-09-05 John R. Jackson <jrj@purdue.edu>
16235 * configure.in: make sure the dump and restore programs are defined
16236 in pairs, do not allow just the dump program without restore.
16237 * client-src/sendbackup-dump.c: assume restore program is present
16238 if dump program is.
16239 * common-src/genversion.c: assume restore program is present if
16242 1999-09-05 John R. Jackson <jrj@purdue.edu>
16244 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
16245 is no point testing for it.
16246 * server-src/conffile.c: ditto.
16248 1999-09-05 John R. Jackson <jrj@purdue.edu>
16250 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
16251 and XFSRESTORE support.
16253 1999-09-05 John R. Jackson <jrj@purdue.edu>
16255 * server-src/conffile.c: add several common abbreviations to config
16258 1999-09-01 John R. Jackson <jrj@purdue.edu>
16260 * server-src/amtoc.pl.in: allow multiple -s entries.
16262 1999-09-01 John R. Jackson <jrj@purdue.edu>
16264 * server-src/reporter.c: handle/report a common columnspec syntax
16265 error instead of dumping core.
16267 1999-09-01 John R. Jackson <jrj@purdue.edu>
16269 * man/amanda.8.in: typo in columnspec description.
16271 1999-09-01 John R. Jackson <jrj@purdue.edu>
16273 * common-src/dgram.h: expressions in #define should be protected by
16276 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
16278 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
16279 * docs/TAPE.CHANGERS: Document it.
16280 Reported by Mike Horansky <moho@stanford.EDU>
16282 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
16283 Extended to support reading a named dumptype from a specified FILE.
16284 (get_dumptype): Use read_dumptype.
16285 (main): Read disklist, so that custom dumptypes are shown.
16286 * server-src/conffile.h (read_dumptype): Declare.
16287 * server-src/diskfile.c (parse_diskline): Get line_num and line by
16288 reference. New argument diskf. Use read_dumptype if dumptype
16291 * man/amanda.8.in (disklist): Document it.
16293 * example/disklist: Exemplify it.
16295 1999-08-23 John R. Jackson <jrj@purdue.edu>
16297 * recover-src/amrecover.c (main): fix test for IPPORT_RESERVED.
16298 * recover-src/extract_list.c (extract_files_setup): ditto.
16300 1999-08-23 John R. Jackson <jrj@purdue.edu>
16302 * server-src/reporter.c (copy_template_file): make sure all data is
16303 written to label template pipeline.
16305 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
16307 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
16308 explicitly, instead of LDADDing the corresponding objects.
16309 (OBJ_EXTENSION): Wipe out, use OBJEXT.
16311 * configure.in: Call AC_OBJEXT.
16312 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
16313 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
16314 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
16316 * common-src/Makefile.am (genversion.o): Revert last change, it was
16317 just a bug in automake's --disable-dependency-tracking.
16319 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
16321 * README (platforms): Added OpenBSD.
16322 Reported by Ian Darwin <ian@sq.com>
16323 (platforms): Added SunOS 5.7.
16325 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
16327 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
16328 Samba >= 2, "3" for older ones.
16329 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
16330 appropriate SAMBA_DEBUG_LEVEL.
16332 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
16334 * common-src/Makefile.am (genversion.o): Depend on genversion.c
16335 too. It seems that IRIX's make doesn't work without it.
16336 Reported by Brian Cuttler <brian@wadsworth.org>
16338 1999-08-15 Jon LaBadie <jon@jgcomp.com>
16340 * tape-src/tapetype.c: Speed it up by using larger sections in the
16343 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
16345 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
16347 * server-src/conffile.c (init_defaults): Default disksize to 0.
16348 * man/amanda.8.in (holdingdisk use): Document it.
16349 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
16351 * server-src/planner.c (setup_estimate): Typo.
16352 (next_level0): Typo.
16354 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
16356 * example/amanda.conf.in: Clarify holdingdisk::use 0.
16358 * config/missing: Update from automake 1.4a.
16360 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16362 * man/amanda.8.in: typo.
16364 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
16366 * man/amrestore.8: Document holding-file usage.
16368 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
16370 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
16371 (EXTRA_DIST): Remove docs/*.
16372 * docs/Makefile.am: New file.
16373 (pkgdata_DATA): Install all docs.
16374 * configure.in: Output docs/Makefile.
16375 Suggested by Paul L. Lussier <plussier@baynetworks.com>
16377 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
16378 keyboard time-out, lsof.
16380 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
16381 not-that-portable `head -1'.
16382 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
16384 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
16386 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
16389 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16391 * server-src/dumper.c (read_indexfd): typo
16393 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16395 * server-src/dumper.c (do_dump): Close the indexout fh and wait
16396 for the completion of the index compress process.
16397 * server-src/dumper.c (read_mesgfd,read_datafd): Call stop_dump only
16398 if the index fd is already shut down.
16399 * server-src/dumper.c (read_indexfd): On EOF, call stop_dump() if both
16400 the mesg and data fd are shut down.
16402 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
16404 * server-src/amverify.sh.in: Wait until device becomes ready after
16407 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
16409 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
16410 Reported by Erik Lindahl <erik@theophys.kth.se>
16412 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
16414 * server-src/conffile.h: Changed all `long's to `int's, as they
16415 broke get_number et al on 64bit platforms.
16416 Reported by Erik Lindahl <erik@theophys.kth.se>
16418 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
16421 * configure.in (bcopy, bzero): Check whether they're available.
16422 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
16424 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
16426 * server-src/amcheck.c (start_server_check): If info file does not
16427 exist, explain that it is supposed to be created on the next run.
16429 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
16431 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
16432 arguments in match() invocation.
16433 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
16435 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
16437 * restore-src/amrestore.c: second arg to restore() is a char *, not
16438 a string_t. Adjust prototype accordingly.
16440 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
16442 * common-src/util.c (bind_portrange): function that attempts
16443 to bind a network connection to a port in a given range.
16444 * common-src/util.h: prototype bind_portrange().
16445 * common-src/dgram.c (bind_reserved): remove, superceeded by
16447 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
16448 try user specified ports first, then reserved ports, then regular
16450 * common-src/dgram.h: remove prototype for bind_reserved().
16451 * common-src/stream.c (stream_server, stream_client): use
16452 bind_portrange() instead of bind_reserved(), and try user
16453 specified ports first, then reserved ports, then regular
16455 * recover-src/amrecover.c (main): use bind_portrange() instead
16456 of bind_reserved(), and verify that the port it gives us is
16458 * recover-src/extract_list.c (extract_files_setup): use
16459 bind_portrange() instead of bind_reserved(), and verify that
16460 the port it gives us is a reserved one.
16462 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
16464 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
16465 of printf does not imply an error on some systems (Openstep) even if
16466 the number of written characters is more than 0. The weakened error
16467 check has no implication for the correct implementations of printf.
16469 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
16471 * server-src/driver.c (dump_to_tape): Tell hard from soft
16472 (retryable) failures in both dumper and taper results, and behave
16475 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
16476 slightly different.
16477 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
16479 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
16481 * common-src/util.c (fullread, fullwrite): versions of
16482 read()/write() that keep looping until the buffer is
16483 completely read/written, or an error occurs.
16484 * common-src/Makefile.am: build util.c/util.h
16485 * common-src/fileheader.c, common-src/fileheader.h
16486 (fill_buffer): remove, replaced with fullread()
16487 * server-src/holding.c: use fullread() instead of fill_buffer().
16488 * common-src/bsd-security.c, restore-src/amrestore.c,
16489 server-src/amcheck.c, server-src/driverio.c, server-src/dumper.c,
16490 server-src/logfile.c, server-src/taper.c: use fullread/fullwrite
16491 instead of doing the retry loops manually.
16493 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
16495 * server-src/dumper.c (read_mesgfd, read_datafd): upon EOF,
16496 close the stream. If the other stream is also closed, shut
16499 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
16501 * client-src/amandad.c (REP_TIMEOUT): bump up to six hours, for slow
16503 (exit_check): remove waitpid(), let the service reap its own
16505 (s_repwait): rename 'err' to 'errstr' to avoid conflict with
16506 function in some libcs.
16507 (s_ackwait): if no pipes were opened by this service, then shut
16509 (process_netfd): on EOF, be sure to also close the network
16510 stream. Also, if this is the last stream to be closed, shut
16512 (allocstream): correct a comment
16513 (service_delete): only close the security handle if it is still
16514 open. Reap our children here instead of in exit_check().
16516 1999-06-01 Mike Grupenhoff <kashmir@munge.com>
16518 * server-src/taper.c (write_buffer): assert properly
16520 1999-06-01 John Williams <williams@morinda.com>
16522 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
16524 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
16526 * docs/INSTALL: Point to the patches page. Update version numbers.
16528 * example/config.site: Document UDPPORTRANGE.
16530 1999-06-01 Jens Persson <jens.persson@btj.se>
16532 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
16533 * config/acconfig.h: Add UDPPORTRANGE.
16534 * common-src/dgram.c: Implement it.
16536 1999-05-27 Mike Grupenhoff <kashmir@munge.com>
16538 * common-src/alloc.c (alloc, debug_alloc, newalloc, debug_newalloc):
16539 make the size argument a size_t.
16540 (alloc): if an allocation fails, in the error message print how
16541 many bytes we tried to alloc. This helps us determine if the
16542 alloc call was errant, or we really were out of memory.
16543 * common-src/amanda.h: update alloc/newalloc prototypes for
16546 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
16548 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
16549 to libtool 1.3.2 plus a few patches.
16550 * config/config.guess, config/config.sub: Ditto.
16552 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
16554 * common-src/protocol.c: retry connection failures three times,
16555 waiting five seconds between each attempt. Also, fix a lot
16556 of untrue comments.
16558 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
16560 * client-src/amandad.c: add a lot more dbprintfs so we know what's
16562 (service_new): use error() instead of dbprintf(); exit()
16565 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
16567 * docs/FAQ (tar-patch): Mention sparse file problem.
16569 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
16570 system header files may define it.
16571 Reported by Dan Lipofsky <danlip@cyc.com>
16573 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
16575 * Makefile.am: Create acinclude.m4 in the top-level directory.
16576 * config/Makefile.am: Create link to acconfig.h in the top-level
16578 * configure.in: Add AMANDA_CFLAGS to CFLAGS. Set DUMPER_DIR without
16580 * common-src/Makefile.am: Create genversion.h with #defines, to
16581 avoid genversion-specific CPPFLAGS.
16582 * common-src/genversion.c: #include genversion.h
16584 1999-05-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16586 * server-src/amandad.c (state2str): string "s_processrep" is 13
16589 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
16591 * server-src/amcheck.c (main): if we reap a bogus pid, print
16592 out the error message we generate, instead of whatever junk
16593 happens to be in the buffer.
16595 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
16597 * common-src/bsd-security.c (bsd_stream_read): remove old
16598 code that was part of something that ended up not happening.
16599 (stream_read_callback): use ssize_t.
16601 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
16603 * common-src/event.c (event_register): restructure asserts, and
16604 for EV_READFD/EV_WRITEFD, assert that the fd is < FD_SETSIZE.
16606 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
16608 * common-src/queue.h: move the multiple-inclusion #defines
16609 into application namespace. #undef each macro before defining
16610 it, in case the OS has an identical macro.
16612 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
16614 * server-src/amindex.h: Keep P macro expression in a single line.
16615 Reported by Patrick Harrold <patrickh@nasco-inc.com>
16617 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
16619 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
16620 zero, use f_bsize. It now works with GNU libc 2.1.
16621 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
16623 1999-05-22 Alex Pilosov <alex@pilosoft.com>
16625 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
16626 before doing a stat.
16627 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
16629 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16631 * server-src/reporter.c: take the orig size from the SUCCESS line.
16632 use value from the infofile only the datestamp are equal.
16633 Write all available value.
16635 1999-05-18 Mike Grupenhoff <kashmir@munge.com>
16637 * common-src/strerror.c (strerror): restructure so that it doesn't
16640 1999-05-17 Mike Grupenhoff <kashmir@munge.com>
16642 * common-src/genversion.c (prvar): prototype declared it static,
16643 but actual function was still extern.
16645 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16647 * server-src/planner.c (pick_inclevel): check for base_level+1 if
16648 we don't have estimate for base_level. Needed for FORCE_BUMP.
16649 * server-src/planner.c (promote_highest_priority_incremental):
16650 Don't promote if we don't have level 0 estimate. No more need
16651 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
16653 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16655 * server-src/amflush.c: ignore SIGPIPE
16656 * server-src/driver.c: ignore SIGPIPE
16657 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
16659 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
16661 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16663 * server-src/dumper.c: make prototypes consistent, (putresult):
16664 make first arg const.
16666 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16668 * server-src/conffile.c (getconf_byname): islower takes an int
16670 * server-src/diskfile.c (upcase): islower takes an int for an
16672 * server-src/driver.c (update_failed_dump_to_tape): prototype.
16673 * server-src/holding.c (insert_dirname, scan_holdingdisk):
16674 prototype and make static, (is_datestr): isdigit takes an int
16677 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16679 * client-src/calcsize.c (basename): make static, prototype, and
16680 only include if BUILTIN_EXCLUDE_SUPPORT is defined and
16681 HAVE_BASENAME is not defined.
16682 * client-src/getfsent.c (dev2rde, samefile): prototype and
16684 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c
16685 (start_backup, end_backup): prototype.
16686 * client-src/sendbackup.c (index_closed, save_fd): prototype
16688 * client-src/versionsuffix.c (main): prototype.
16689 * common-src/alloc.c (internal_vstralloc): prototype.
16690 * common-src/file.c (mk1dir): prototype, make static, and make
16692 * server-src/amadmin.c (check_dumpuser): prototype.
16693 * server-src/amflush.c (get_letter_from_user): prototype and make
16695 * server-src/amindexd.c: prototype and make static numerous local
16697 * server-src/amlabel.c (main): prototype.
16698 * server-src/amtrmidx.c (main): prototype.
16699 * server-src/changer.c (report_bad_resultstr, run_changer_command):
16701 * server-src/conffile.h: properly prototype getconf_holdingdisks()
16702 * server-src/driverio.h: properly prototype init_driverio().
16703 * server-src/find.c (find_compare, parse_taper_datestamp_log):
16705 * server-src/infofile.c (zero_info, open_txinfofile,
16706 close_txinfofile, read_txinfofile, write_txinfofile,
16707 delete_txinfofile): prototype and make static.
16708 * server-src/planner.c (main, askfor): prototype.
16710 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16712 * server-src/server_util.c: include server_util.h for prototypes
16713 * server-src/tapefile.h: properly prototype lookup_nb_tape()
16714 * server-src/driverio.c (childstr): make static, make return
16717 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16719 * server-src/find.h: properly prototype find_log()
16720 * server-src/amtrmlog.c (main): prototype. find_log() takes
16723 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16725 * server-src/reporter.c: make all functions and globals
16726 static. Prototype all functions, and make them consistent wrt
16727 K&R. Place all prototypes together. Place data type
16728 declarations before the prototypes that use them. Remove
16729 unused sort_by_time().
16731 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16733 * server-src/dumper.c (process_dumpline): clean up the error
16735 * server-src/dumper.c (log_msgout): no need to reuse errf global,
16736 it makes me nervous. Also, use amfree instead of free.
16738 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16740 * common-src/packet.c (pkt_cat): remove a bogus assert - len is
16741 a size_t, which is unsigned, so it will always be >= 0.
16743 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16745 * client-src/amandad.c (action_t): consolidate A_PKTTIMEOUT and
16746 A_REPTIMEOUT into just A_TIMEOUT.
16748 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
16750 * common-src/amanda.h, common-src/alloc.c, common-src/event.c,
16751 common-src/rsh-security.c, server-src/driver.c,
16752 server-src/dumper.c: (min, max): consolidate all min/max
16753 definitions into amanda.h
16755 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
16757 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
16759 1999-05-12 Mike Grupenhoff <kashmir@munge.com>
16761 * common-src/amanda.h, common-src/alloc.c, common-src/file.c:
16762 const the filename arg to all of the dbmalloc versions of
16763 alloc and io functions
16765 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
16767 * common-src/protocol.c (proto_t): don't need prev and next ptrs
16770 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
16772 * common-src/amanda.h, common-src/alloc.c: remove the static
16773 buffer manager - nothing uses it. It can be resurrected in
16774 the future if needed.
16776 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
16778 * common-src/amanda.h: define stringconcat() macros that
16779 concatenate two const strings together
16780 * common-src/versuff.c.in (versionsuffix, version): generate
16781 data at compile time using stringconcat().
16782 * common-src/genversion.c: simplify, don't need to alloc anything
16783 * common-src/Makefile.am (genversion_LDADD): this doesn't need
16784 alloc.o or error.o anymore
16786 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
16788 * common-src/security.c (security_handleinit, security_streaminit):
16789 change default error message "unknown error" to "unknown protocol
16790 error" or "unknown stream error" to help identify where an
16791 messageless error was triggered.
16793 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
16795 * client-src/amandad.c (main): call initgroups(), and also set
16798 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
16800 * server-src/driver.c (start_some_dumps): if a dumper is
16801 constrained, and some dumpers or the taper are active, register
16803 * server-src/driver.c (handle_taper_result,
16804 handle_dumper_result): wakeup constrained dumpers after we
16805 have freed some resources.
16807 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
16809 * common-src/fileheader.c, common-src/fileheader.h: rework the
16810 fileheader parse and format code to remove a lot of duplicated
16811 code (in the F_DUMPFILE and F_CONT_DUMPFILE cases), consting
16812 arguments, and simplifying parse code.
16814 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
16816 * client-src/sendsize.c (getsize_dump): print out the strerror
16817 if we can't exec killpgrp.
16819 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
16821 * server-src/dumper.c (add_msg_data): first two arguments
16822 to memmove() were backwards.
16824 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16826 * example/amanda.conf.in: typo
16828 1999-05-07 Mike Grupenhoff <kashmir@munge.com>
16830 * common-src/alloc.c (safe_env): allow DISPLAY into the
16831 environment for purify.
16832 * server-src/holding.c (rename_tmp_holding): if fill_buffer
16833 returns 0, don't try to parse a nonexistant header.
16834 * server-src/taper.c (file_reader_side): init datestamp to
16835 NULL, and don't try to free it if it's still NULL on exit.
16837 1999-05-06 Mike Grupenhoff <kashmir@munge.com>
16839 * server-src/driver.c (start_some_dumps): sleep_time is an
16840 offset, not an absolute. Leave it that way when we return from
16843 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
16845 * server-src/amverify.sh.in (pecho): new function. Like echo
16846 but doesn't append newline, and supports \r, etc. Implemented
16848 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
16849 etc. It's nearly impossible to figure out which echo needs what
16850 flags and also know if it supports \r. So we just punt and use
16853 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
16855 * server-src/driver.c: convert to use event handler.
16856 (some_dumps_in_progress, lookup_dumper): nuke.
16857 (sleep_time): make a time_t and static.
16858 (IDLE_NO_DUMPERS): give a lower precedence than IDLE_START_WAIT.
16859 (start_some_dumps): make this work on one dumper instead of all.
16860 Call when a dumper is finished and needs more work.
16861 (handle_idle_wait): callback for dumpers waiting for delayed
16863 * server-src/driverio.c: initialize event handles for dumpers
16864 and the taper. Nuke addfd().
16865 * server-src/driverio.h: add event handles for each dumper, and
16866 one global one for the taper. Nuke maxfd and readset globals.
16868 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
16870 * server-src/driver.c (taper_queuedisk): new function that takes
16871 a disk_t, and, if the taper is not busy, tells it to write it out,
16872 or else adds it to the tapeq. Make use_lffo global static.
16873 * server-src/driver.c (handle_taper_result, handle_dumper_result):
16874 call taper_queuedisk() instead of queueing ourself.
16876 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
16878 * server-src/driver.c: make all local functions static.
16879 Exposed two prototypes for nonexistant functions
16880 (diskname2filename, driver_main), and one function (dump_state)
16881 that was never called. #if 0 out dump_state.
16882 Nuke inside_dump_to_tape global - it's value was never used.
16883 Make pending_aborts global a static local in handle_dumper_result.
16885 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
16887 * server-src/driverio.h (dumper_t): merge infd and outfd into
16888 just 'fd'. Comment the other members of the struct.
16889 * server-src/driverio.c: infd/outfd -> fd
16890 * server-src/driver.c (handle_dumper_result): merge some common
16891 code between the FAILED and TRYAGAIN cases. Comment the
16892 ABORT_FINISHED case. Also infd/outfd -> fd.
16894 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16896 * server-src/planner.c (when_overwrite): return a big number (1024)
16897 if the tape is not reusable.
16899 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
16901 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
16904 1999-04-29 Mike Grupenhoff <kashmir@munge.com>
16906 * server-src/driver.c (handle_dumper_result): remove FATAL_TRYAGAIN
16907 case, nothing uses it.
16908 * server-src/driverio.c, server-src/driverio.h: garbage collect
16909 FATAL_TRYAGAIN. static & const cmdstr.
16911 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
16913 * server-src/diskfile.c (read_diskfile): rework to take a
16914 disklist_t * as an argument, and return -1 on error, or 0 on
16915 success. const the filename argument. Kill a few globals.
16916 * server-src/diskfile.c (lookup_host, lookup_disk): const
16918 * server-src/diskfile.h: adjust prototypes for above changes
16919 * server-src/amadmin.c, server-src/amcheck.c,
16920 server-src/amcleanupdisk.c, server-src/amflush.c,
16921 server-src/amindexd.c, server-src/amtrmidx.c,
16922 server-src/amtrmlog.c, server-src/driver.c,
16923 server-src/planner.c, server-src/reporter.c: adjust calls to
16924 read_diskfile() to deal with convention
16926 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
16928 * server-src/dumper.c (read_mesgfd, read_indexfd): on EOF, just
16929 stop reading these streams. We let EOF on the data stream cause
16930 the entire dump to be stopped.
16932 1999-04-27 Mike Grupenhoff <kashmir@munge.com>
16934 * common-src/rsh-security.c (conn_read_callback): cast
16935 event_wakeup() arg to event_id_t.
16937 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
16939 * common-src/versuff.c.in: Adjust constness to match version.h.
16941 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
16943 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16945 * server-src/amdump.sh.in: execute amtrmlog.
16947 1999-04-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16949 * client-src/sendbackup.c: rename write_tapeheader to info_taperheader
16950 we already have a write_tapeheader function in dumper.c
16951 * client-src/sendbackup.h: ditto
16952 * client-src/sendbackup-dump.c: ditto
16953 * client-src/sendbackup-gnutar.c: ditto
16955 1999-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16957 * dumper-src/gnutar.pl.in: add debuging code.
16958 * server-src/planner.c (getsize): send optionstr() for estimate
16960 * client-src/selfcheck.c: init program_is_wrapper to 0.
16961 * client-src/sendsize.c: implement DUMPER-API, support only
16964 1999-04-22 John R. Jackson <jrj@purdue.edu>
16966 * configure.in: add --with-broken-fsf to use a read() loop instead
16967 of the fsf ioctl on some broken systems.
16968 * config/acconfig.h: ditto
16969 * tape-src/tapeio.c (tapefd_fsf): ditto
16971 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
16973 * docs/SYSTEM.NOTES: Typo
16974 * docs/SAMBA: Update on samba-largefs patch.
16975 * docs/FAQ: New FAQ about promotion of full dumps.
16977 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
16979 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
16980 Comment out test that would set filename to /dev/null.
16982 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
16984 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
16987 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16989 * server-src/server_util.c: use snprintf instead of ap_snprintf.
16991 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16993 * server-src/server_util.c: new file for utility function.
16994 New function construct_datestamp.
16995 * server-src/server_util.h: ditto
16996 * server-src/Makefile.am: link server_util.c with libamserver.
16997 * amcleanupdisk.c (construct_datestamp): remove function.
16998 * server-src/driver.c: ditto
16999 * server-src/dumper.c: ditto
17000 * server-src/amflush.c: ditto
17001 * server-src/planner.c: ditto
17003 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
17005 * common-src/bsd-security.c: this doesn't need queue.h
17007 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
17009 * common-src/event.c: Insert new events at the head of the eventq,
17010 not the tail, so we don't loop forever if a newly registered
17011 event has the same type as the one currently firing. Noticed
17012 and diagnosed by Jean-Louis Martineau.
17013 Use a LIST for the eventq, instead of a TAILQ, since we don't need
17014 to do tail insertions anymore.
17015 Make the eventq_* functions take a queue name so we can also use
17016 them for the handle cache. Rename eventq_append() to eventq_add().
17018 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17020 * dumper-src/gnutar.pl.in: add DUMPER_DIR to INC.
17022 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17024 * client-src/selfcheck.c: Implement DUMPER-API.
17025 * dumper-src/gnutar.pl.in (command_selfcheck): print OK, the function
17026 is not implemented.
17027 * dumper-src/generic-dumper.pl.in (parse_options): option are
17030 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17032 * server-src/dumper.c: make dumpsize and headersize static. Rename
17033 nb_header_block to headersize and also make it static. headersize
17034 now counts bytes instead of blocks, just like the other two.
17035 Use SEEK_SET in an lseek instead of hardcoding 0.
17037 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17039 * configure.in: implement --with-cflags to allow turning on
17040 compiler warnings and optimizations
17042 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17044 * common-src/event.c (gethandle, puthandle): new functions that
17045 keep a cache of handles to reduce calls to malloc/free.
17047 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17049 * common-src/alloc.c (dbmalloc_caller_loc): const the file
17050 arg, use the queue macros to maintain the list.
17052 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17054 * common-src/versuff.c.in: const the return str of version()
17055 and versionsuffix. Bump copyright to 1999.
17057 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17059 * client-src/amandad.c, client-src/amandad.h,
17060 client-src/sendbackup-dump,c, client-src/sendbackup-gnutar.c,
17061 client-src/sendbackup.c, common-src/bsd-security.c,
17062 common-src/dgram,c, common-src/dgram.h, common-src/event.c,
17063 common-src/event.h, common-src/krb4-security.c,
17064 common-src/krb5-security.c, common-src/packet.c,
17065 common-src/packet.h, common-src/protocol.c, common-src/security.c,
17066 common-src/security.h, server-src/amcheck.c, server-src/conffile.c,
17067 server-src/conffile.h, server-src/dumper.c:
17068 update copyright to 1999 on things I've touched this year.
17070 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17072 * common-src/amanda.h: remove version_info extern. Bump
17074 * common-src/genversion.c: constify version_info. Emit
17075 {KRB4,KRB5,RSH}_SECURITY. Bump copyright.
17076 * common-src/version.h: const VERSION_COMMENT and version_info.
17077 const return str and fully prototype versionsuffix() and version()
17078 prototypes. Bump copyright.
17079 * server-src/planner.c (main): iterate through version_info using
17080 an index instead of a pointer.
17082 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17084 * server-src/conffile.c: explicitly give the seen_columnspec global
17085 an int type instead of letting the compiler default to it.
17087 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
17089 * common-src/event.h (event_id_t): a new typedef for the
17090 first arg to event_register. Should be wide enough to
17091 reasonably hold an int or a pointer (but it is ok to trunc
17092 the pointer if necessary). Update proto for event_register()
17093 and event_wakeup().
17094 * common-src/event.c: struct event_handle->data is now an
17096 (event_register, event_wakeup): adjust args for event_id_t)
17097 (event_register): event_id_t is unsigned, no need to assert
17098 positivity anymore.
17099 * common-src/rsh-security.c (rsh_stream_read): cast first arg to
17100 event_register() to event_id_t.
17103 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
17105 * common-src/event.c (release): nuke, and inline into event_loop.
17106 * common-src/event.c (event_loop): flesh out the timeout comment.
17107 Combone the EV_WAIT and EV_DEAD empty cases in the post-select loop.
17108 * common-src/event.h: flesh out the event_type_t comment.
17110 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
17112 * common-src/event.c (fire): inline this with a macro. Remove
17113 timestamp arg. eh->lastfired is now only valid for EV_TIME
17114 events. Removes several time() systems from the critical path.
17115 * common-src/event.c (event_wakeup): have this fire EV_WAIT events
17116 directly instead of deferring back to the event loop. Removes the
17117 sequencing restriction for event_wakeup.
17119 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
17121 * server-src/planner.c (getsize): put the hosts disks on the waitq
17122 before sending the request, not after.
17124 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
17126 * docs/UPGRADE: Update URL for archived message.
17128 1999-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17130 * server-src/amcheck.c (main): should not set real uid to 0.
17132 1999-04-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17134 * common-src/bsd-security.c (bsd_connect): dgram_bind return the port
17135 number, we don't need ntohs().
17137 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
17139 * common-src/dgram.c,common-src/dgram.h: nothing uses dgram_alloc()
17142 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
17144 * server-src/amindexd.c: dgram.h not needed
17146 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
17148 * common-src/event.c: fix a bunch of inaccurate comments.
17149 * common-src/event.c (event_loop): prune dead events in the
17150 pre-select pass instead of in the EV_WAIT pass.
17151 * common-src/event.c (fire): factor out all code that fires
17152 events into a 'fire' function.
17153 * common-src/event.c (signal_handler): bounds check the signal
17154 number against the size of sigtable instead of assuming sigtable
17157 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
17159 * client-src/amandad.c (allocstream): if security_stream_server()
17160 fails, dbprintf the error.
17162 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
17164 * configure.in: implement --with-rsh-security
17165 * common-src/rsh-security.c: first attempt at using rsh or a rsh-like
17166 command for dump transport and authentication. Still has lots
17168 * common-src/Makefile.am: build rsh-security.c
17169 * common-src/security.c: add rsh_security_driver to the drivers array
17170 * config/acconfig.h: define RSH_SECURITY
17172 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
17174 * server-src/dumper.c (runcompress): use the proper end of the pipe
17175 for writing and reading. Also, grab errno early on fork error
17176 before calling close.
17177 * server-src/dumper.c (sendbackup_response): make sure the client
17178 at least send us a mesgfd and datafd.
17180 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
17182 * client-src/amandad.c (main): don't dup stdout to db_fd - it might
17183 be needed by the security driver
17184 * client-src/amandad.c (s_ackwait, allocstream,): on error, don't
17185 attempt to event_release a handle we haven't attached yet.
17187 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
17189 * ap_snprintf -> snprintf, ap_vsnprintf -> vsnprintf
17191 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17193 * client-src/Makefile.am (noinst_HEADERS): add amandad.h
17195 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17197 * common-src/Makefile.am (libamanda_la_SOURCES): build
17200 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17202 * configure.in: implement --with-dbmalloc=[dir], where dir is
17203 where the dist is unpacked and built. This could be improved on,
17204 because it doesn't handle the case where it's installed.
17206 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17208 * client-src/sendbackup.c: security changes:
17209 remove krb4 code and NAUGHTY_BITS macros.
17210 (parse_options): don't look for krb4 options
17211 (main): don't close pipes that were handed to us from amandad.
17212 Don't open stream directly - just use the pipes given to us.
17213 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
17214 Remove krb4 code and NAUGHTY_BITS macros.
17216 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17218 * client-src/amandad.h: new file describing the pipes between
17219 amandad and children.
17220 * client-src/amandad.c: rewrite for security changes. Can
17221 now handle multiple requests simultaneously, and has a state
17222 machine to deal with each active request.
17223 This handles all network transmissions and authentication.
17224 Each child process (sendbackup, selfcheck) gets three general
17225 purpose pipes to amandad which it may allocate for anything.
17226 amandad relays these pipes to equivalent security_streams.
17227 Lots of other stuff.
17228 Finally, NEED_KEYPIPE stuff removed.
17230 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17232 * server-src/dumper.c: security changes:
17233 Remove krb4 includes and NAUGHTY_BITS macros.
17234 Remove no-longer-true comment about DATABUF_SIZE ==
17235 TAPE_BLOCK_BYTES for krb4
17236 Remove file descriptor and event handle from streams array. Add
17237 a security_stream_t.
17238 Remove global read buffer.
17239 (check_options): remove krb4 code.
17240 (service_ports_init): remove, now handled by individual security
17242 (main): remove dgram usage.
17243 (do_dump): remove DUMPER_SOCKET_BUFFERING - now handled in the
17244 bsd driver. schedule reads on the streams using
17245 security_stream_read.
17246 (read_mesgfd,read_datafd,read_indexfd): adapt to
17247 security_stream_read callback interface.
17248 (stop_dump): just call security_stream_close on all non-null
17250 (sendbackup_response): adapt to new protocol layer error return.
17252 (startup_dump): stinky hack to parse the security driver string out of
17253 the options passed to us from driver.
17254 Lookup the security driver with said string.
17256 Free request after calling protocol_sendreq().
17258 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17260 * server-src/planner.c: security changes:
17261 (main): Remove dgram usage. Call protocol_init(). Remove
17263 (getsize): remove krb4 code. Handle protocol layer api changes.
17264 Lookup security driver/complain if not found. Free request
17265 after calling sendreq. All hosts get put on the waitq since
17266 sendreq never returns an error.
17267 (handle_result): deal with new protocol layer error semantics.
17270 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17272 * server-src/conffile.c: remove INTERFACE undef hack. Our
17273 namespace isn't polluted by krb4 headers anymore, so it's
17276 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17278 * server-src/amcheck.c: security changes:
17279 (main): ignore SIGPIPE - some security drivers might get it.
17280 Remove all usages of dgram.
17281 Make our real uid root and our effective uid amanda so we can
17282 get back to root later (on most os's :()
17283 (start_client_checks): remove krb4 bits.
17284 The dump user check should check the effective uid.
17285 Get the name of the security driver for this host out of
17286 host->diskp->security_driver.
17287 Free req after calling protocol_sendreq() because it will internalize
17289 protocol_sendreq doesn't return any errors - they're all returned
17290 via handle_response.
17291 (handle_result): renamed from handle_response for consistency.
17292 The protocol layer doesn't pass us a proto_t anymore, so detect
17293 errors based on pkt being NULL.
17294 Remove krb4 bits - security violations will be indicated by a
17297 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17299 * common-src/protocol.[ch]: rewrite for security api. The entry
17300 points now have the 'protocol' prefix. See protocol.h for more
17302 * common-src/security.c: rewrite for security api. This now contains
17303 the functions for the 'base class' or some approximation of it.
17304 See security.h for the entry points, or docs/SECURITY-API.
17306 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17308 * common-src/amanda.h: rip out krb4 defines, headers, and
17309 prototypes. Also, make assert() abort() after calling error().
17310 * common-src/krb4-security.c: stub file that pulls in the real
17311 krb4-security out of amanda-krb-2 if KRB4_SECURITY is defined.
17313 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17315 * server-src/conffile.h: aggregate all of the compress defines
17316 (COMP_{NONE,FAST,BEST,...}) into an enum and typedef it to comp_t.
17317 Make dumptype_t->compress a comp_t.
17318 * server-src/dumper.c: make srvcompress global a comp_t.
17319 * server-src/dumper.c (runcompress): add a comp_t third arg
17320 that specifies the level of compression for this fd.
17321 * server-src/dumper.c (do_dump): always compress index files
17322 with COMP_BEST compression, as pointed out by Jean-Louis Martineau.
17323 * server-src/dumper.c (read_indexfd): read the indexfd, not the
17324 datafd. Also noted by Jean-Louis Martineau.
17326 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
17328 * server-src/planner.c (main): ignore SIGPIPE. tcp based
17329 security drivers may get this while getting estimates.
17330 Set the real uid to root, and the effective uid to the amanda
17331 user, so we can get back to root later if needed.
17332 * server-src/planner.c (handle_result): rework error logic
17333 so we don't need to use p->state, which will eventually go
17336 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
17338 * server-src/dumper.c: rewrite to use the event handler instead
17339 of a select loop. Also, compress the index output using
17340 runcompress() instead of forking a compress ourselves.
17342 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
17344 * server-src/dumper.c (sendbackup_response): don't krb4 authenticate
17345 streams if krb4_auth if false.
17347 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
17349 * server-src/dumper.c (do_dump): some formatting cleanups. Nuke
17350 'killerr' - we can do without it.
17352 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
17354 * server-src/dumper.c (do_dump): store compresspid inside of
17357 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
17359 * server-src/dumper.c (parse_info_line): parse info lines
17360 from sendbackup directly into the 'file' global. Eliminate
17361 the backup_name, recover_cmd, and compress_suffix globals.
17362 * server-src/dumper.c (finish_tapeheader): nuke usage
17363 of above globals. Nuke unneeded explicit nul terminations (we
17364 memset the whole thing in fn_init).
17366 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
17368 * server-src/dumper.c (process_dumpline): rewrite to use strtok
17369 and const the argument.
17370 * server-src/dumper.c (make_tapeheader): rename to finish_tapeheader
17371 and prototype it. Remove the 'type' arg, since it's always
17372 F_DUMPFILE. Remove call to fn_init().
17373 * server-src/dumper.c (do_dump): call fh_init on 'file' while
17374 initializing globals. Call finish_tapeheader after getting info
17377 1999-04-07 John R. Jackson <jrj@purdue.edu>
17379 * tape-src/tapeio.c: allow tapedev to be /dev/null.
17380 * server-src/taper.c: allow tapedev to be /dev/null.
17381 * man/amanda.8.in: allow tapedev to be /dev/null.
17383 1999-04-07 Mike Grupenhoff <kashmir@munge.com>
17385 * server-src/dumper.c: collect got_info_endline, got_sizeline,
17386 got_endline, and header_done into one bitmask global, and make it
17387 static. Also, make 'file' static.
17389 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17391 * server-src/reporter.c (TextRule): Fix to write the full string.
17393 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17395 * configure.in: MIT krb5 has libk5crypto, Cygnus kerbnet 1.2
17396 calls it libcrypto. Check for both.
17398 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17400 * common-src/bsd-security.c (check_user): if an .amandahosts
17401 file is missing or unreadable, log this fact to the debug file
17402 instead of claiming that a user doesn't have permission.
17403 * common-src/bsd-security.c (bsd_stream_client): if
17404 DUMPER_SOCKET_BUFFERING is defined, set the socket read buffer to
17405 be twice the size of our read buffer.
17407 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
17409 * common-src/security.c (bsd_security_ok): if an .amandahosts
17410 file is missing or unreadable, log this fact to the debug file
17411 instead of claiming that a user doesn't have permission.
17413 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17415 * server-src/dumper.c: put all of the streams (data,mesg,index)
17416 into an array with a name tag.
17417 * server-src/dumper.c (stop_dump): new function that cleans up
17418 and shuts down all of the streams.
17419 * server-src/dumper.c (sendbackup_response): make static, pass
17420 response_error through p->datap instead of making it global.
17421 Rewrite the parsing to use strtok() and take advantage of the
17422 streams array instead of repeading code for all three streams.
17424 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17426 * server-src/dumper.c (main): keep our real uid as 0, and make
17427 our effective uid nonprivlidged, so we can get back to root
17428 later. Don't print what port we bound to. This info won't
17429 always be available or even applicable.
17430 * server-src/dumper.c (do_dump): create the stats line with one
17431 snprintf instead of a huge amount of code.
17433 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17435 * server-src/dumper.c (startup_dump): make static, and const all
17437 * server-src/dumper.c (do_dump): make static
17439 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17441 * server-src/dumper.c (do_dump): no need to have a separate buffer
17442 to read the mesgfd - just reuse the one we used for data reads.
17443 Gets rid of one more global. Also, we don't need to leave
17444 space for a NUL anymore.
17445 * server-src/dumper.c (main): wait for children after closing
17446 our fds. Some children may be blocked waiting for EOF on outfd,
17447 effectively causing deadlock between dumper and child.
17449 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17451 * server-src/dumper.c (add_msg_data): now takes a 'len' arg, and
17452 doesn't expect the data to be nul terminated. Also, move
17453 the buffer from global scope into the function, and have a NULL
17454 arg flush it out if there is leftover data at the end. Finally,
17455 resize the buffer in 256 byte chunks.
17457 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17459 * common-src/stream.c, common-src/stream.h (stream_client): add
17460 yet another arg - if nonzero, do a nonblocking connect
17461 * server-src/dumper.c: catch up with extra arg to stream_client()
17463 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
17465 * common-src/bsd-security.c, common-src/security.h: attempt
17466 to decouple security streams from security handles. Lots of
17467 other restructuring.
17469 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17471 * server-src/amcheck.c: -t should read the tapelist to validate
17474 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
17476 * patches/samba-largefs.patch: updated to patch that ended up
17477 installed in the Samba CVS tree
17479 * patches/tar-1.12.patch: patch the configure script so that it
17480 requires autoconf and autoheader to be run; improve the
17481 printf_long_long test so that it doesn't get false positives because
17484 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
17485 camlib.h interface, #ifdef out all the code
17486 Reported by Francis Lam <Francis.Lam@Leitch.com>
17488 * configure.in (VXSYSLOCPATH): apparently a complex path expression
17489 gets AC_PATH_PROGS confused; set the path beforehand
17490 Reported by Francis Lam <Francis.Lam@Leitch.com>
17492 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17494 * server-src/reporter.c: compiler warning.
17496 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17498 * server-src/amtrmlog.c: new program to move unused log
17500 * server-src/Makefile.am: install amtrmlog.
17501 * server-src/find.h: declare find_log().
17502 * server-src/find.c(find_log): new function to return an array of
17503 all the logfile name that are still needed.
17504 * server-src/find.c(search_logfile): special case if output_find==NULL,
17505 return 1 if it the logfile fir the label.
17507 1999-03-25 Neil Crellin <neil@wallaby.cc>
17509 * docs/TAPE.CHANGERS (chg-chs): URL for chs
17511 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
17513 * patches/samba-largefs.patch: updated for Samba 2.0.*
17515 1999-03-25 Charles Owens <owensc@enc.edu>
17517 * changer-src/chg-chio.pl.in (changeTape): do not print status to
17518 both stdout and stderr; this causes failures on FreeBSD
17520 1999-03-23 Mike Grupenhoff <kashmir@munge.com>
17522 * common-src/stream.c, common-src/stream.h (stream_client):
17523 const the hostname arg
17525 1999-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17527 * configure.in: AC_SUBST(GNUTAR_LISTED_INCREMENTAL_DIR)
17528 * dumper-src/gnutar.pl.in: use @GNUTAR_LISTED_INCREMENTAL_DIR@
17530 1999-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17532 * configure.in: default for DUMPER_DIR is $exec_prefix/dumper.
17533 * Makefile.am: make dumper-src directory
17534 * dumper-src: directory for program that implement the DUMPER-API.
17535 * dumper-src/Makefile.am:
17536 * dumper-src/generic-dumper.pl.in: first draft of a generic wrapper.
17537 * dumper-src/gnutar.pl.in: first draft of a gnutar wrapper.
17539 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
17541 * conffile.h, conffile.c: new columnspec option
17542 * reporter.c: use it
17543 * man/amanda.8.in: description and example
17544 * example/amanda.conf.in: ditto
17546 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
17548 * configure.in: SAMBA_VERSION is not set correctly.
17550 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
17552 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
17553 the regular expressions, so as to make us more adaptable to future
17554 minor changes and bugfixes the the output format of some dumps
17556 1999-03-16 Thomas Hepper <th@ant.han.de>
17557 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
17558 the programm is not terminated.
17559 * changer-src/scsi-aix.c: The wrong ident string was checked
17561 * changer-src/scsi-bsd.c: see scsi-aix.c
17562 * changer-src/scsi-linux.c: see scsi-aix.c
17563 * changer-src/scsi-solaris.c: see scsi-aix.c
17564 * changer-src/scsi-changer-driver.c: Added some more debug prints.
17565 Wrong fd passwd to LogSense.
17566 * docs/TAPE.CHANGERS: added note about linux and aha1542
17568 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
17570 * common-src/packet.h: explicitly list the numeric values for
17571 the pktype_t enum, so we can use them on the wire
17573 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
17575 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
17576 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
17577 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
17579 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
17581 * common-src/bsd-security.c (recv_security_ok): bring over
17582 increased verbosity change from common-src/security.c
17584 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
17586 * man/amrecover.8.in: document mode and setmode
17588 1999-03-14 Jon Stevens <jon@clearink.com>
17590 * common-src/security.c (bsd_security_ok): increase the verbosity of
17591 failed authentication messages
17593 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
17595 * configure.in (powerpc-*-linux-*): supported platform
17597 Reported by Jon Stevens <jon@clearink.com>
17599 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17601 * configure.in: new option --with-dumperdir=DIR to specify the
17602 directory for the dumpers (dumper api).
17603 * config/acconfig.h: add def of DUMPER_DIR
17605 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17607 * server-src/conffile.c: accept any string for the program.
17608 * server-src/amcheck.c: add the keyword DUMPER to the request if
17609 the program is not DUMP or GNUTAR.
17610 * server-src/planner.c: ditto
17611 * server-src/dumper.c: ditto
17613 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17615 * server-src/dumper.c (startup_dump): rename dumpname to progname.
17616 the function will use the parameter progname instead of the
17619 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
17621 * configure.in (openbsd): according to Ralf Gebhart
17622 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
17623 I assume other openbsd platforms work too.
17625 1999-03-06 Thomas Hepper <th@ant.han.de>
17627 * client-src/sendbackup-gnutar.c: Replaced #fi with #endif
17628 * changer-src/: Get in sync with 2.4.2 Version
17630 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17632 * configure.in: set SAMBA_VERSION
17633 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
17634 if SAMBA_VERSION >= 2
17636 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
17638 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
17639 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
17641 * recover-src/extract_list.c: declare variable samba_extract_method.
17642 * recover-src/extract_list.c (extract_files_child): set dumptype
17643 according to samba_extract_method.
17644 * recover-src/help.c (help_list): print help for new command mode
17646 * recover-src/set_commands.c (set_mode, show_mode): new functions.
17647 * recover-src/uscan.l:
17648 * recover-src/uparse.y:
17650 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
17652 * common-src/amanda.h: use ssize_t in writev return value
17653 * common-src/bsd-security.c (bsd_stream_write,bsd_stream_read):
17654 use ssize_t over int
17655 * common-src/file.c (areads): use ssize_t to hold read() return val
17656 * common-src/fileheader.c (fill_buffer): usse ssize_t to hold read()
17658 * common-src/security.h: stream_read's callback now takes a ssize_t
17659 as the third argument.
17660 * common-src/writev.c (writev): return a ssize_t
17662 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
17664 * configure.in: check for ssize_t, make it int if not present
17665 * config/acconfig.h: add def for ssize_t
17667 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
17669 * common-src/base64.c (base64encode): don't cast away a const
17672 1999-03-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17674 * common-src/bsd-security.c (stream_read_callback): change n to int
17675 since ssize_t doesn't exist on all OS.
17677 1999-03-03 Ralf Fassel <ralf@akutech.de>
17679 * common-src/conffile.h: bit field of length 1 should be unsigned int,
17682 1999-03-03 Ralf Fassel <ralf@akutech.de>
17684 * common-src/bsd-security.c (stream_read_callback): n should be ssize_t.
17686 1999-03-03 Ralf Fassel <ralf@akutech.de>
17688 * changer-src/scsi-changer-driver.c (CloseDevice): wrong assignment.
17690 1999-03-03 Ralf Fassel <ralf@akutech.de>
17692 * common-src/base64.c (base64encode): remove warning from sgi cc
17695 1999-03-03 Mike Grupenhoff <kashmir@munge.com>
17697 * common-src/bsd-security.c: use EV_WAIT events instead of
17698 maintaining a queue of listeners. Refcnt the dgram read event
17701 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17703 * server-src/driverio.h: new parameter level to update_info_taper().
17704 * server-src/driverio.c (update_info_taper): use parameter instead
17705 of sched(dp)->level.
17706 * server-src/driver.c: call update_info_taper with level parameter.
17707 * server-src/amflush.c: call update_info_taper with level parameter.
17708 no longer need to create a sched_t struct.
17710 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17712 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
17713 and childstr(), declare init_driverio(), add inparallel parameter
17714 to startup_dump_processes().
17715 * server-src/driverio.c (init_driverio): new function to initialize
17716 dmptable and taper.
17717 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
17718 instead of only inparallel
17719 * server-src/driverio.c (startup_dump_processes): new parameter
17720 inparallel is used instead of global variable.
17721 * server-src/driver.c (main): call init_driverio.
17722 * server-src/driver.c (main): call startup_dump_processes with
17723 inparallel parameter.
17724 * server-src/amflush.c (main): call init_driverio.
17726 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17728 * server-src/amrmtape.sh.in: work with "last_level" and
17729 "consecutive_runs" in the ouput of "amadmin export".
17731 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
17733 * common-src/security.h: implement security_connect callback and
17734 security_status_t changes
17736 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
17738 * common-src/bsd-security.c (bsd_connect): properly munge the uids
17739 to get a reserved port
17740 * common-src/bsd-security.c: adapt to the security_connect
17742 * common-src/bsd-security.c (bsd_sendpkt): dgram_cat is varargs now,
17743 so skip the vstralloc
17745 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
17747 * common-src/event.c: implement EV_WAIT events. Implement macros
17748 for adding/removing/traversing the event queue
17749 * common-src/event.h: define EV_WAIT, and prototype event_wakeup()
17751 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17753 * docs/WISHLIST: protocol between the driver and dumpers.
17755 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17757 * server-src/amtoc.pl.in: output the datestamp of each dump, because
17758 amflush can flush the same disk multiple date.
17760 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17762 * server-src/holding.h: declare struct holding_t. Remove
17763 declaration of insert_dirname, scan_holdingdisk. Declare
17764 new function free_holding_list. pick_datestamp and
17765 pick_all_datestamp now return (holding_t *).
17766 * server-src/holding.c (insert_dirname): new parameter holding_list
17767 where we add the name. Can add more than MAX_DIRS name.
17768 * server-src/holding.c (free_holding_list): new function to free
17770 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
17771 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
17772 a list instead of a (char **).
17773 * server-src/find.c (search_holding_disk): use the list return by
17774 pick_all_datestamp.
17775 * server-src/amflush.c: use the list return by pick_datestamp.
17776 * server-src/amcleanupdisk.c (check_disks): use the list return by
17777 pick_all_datestamp.
17779 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17781 * server-src/driverio.c (addfd): bug fixe.
17783 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
17785 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
17786 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
17788 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
17790 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
17792 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
17794 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
17795 command-line arguments changed
17796 * man/amtoc.8.in: ditto
17798 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
17800 * changer-src/chg-multi.sh.in: minor portability changes
17801 * docs/TAPE.CHANGERS: originally by James da Silva
17803 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
17805 * changer-src/chg-multi.sh.in: various portability changes and
17806 general fixes, particularly for multieject; new cycle mode
17807 * docs/TAPE.CHANGERS: detailed description of chg-multi
17808 * example/chg-multi.conf: updated; added reference to
17809 docs/TAPE.CHANGERS for details
17811 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17813 * server-src/driverio.h: remove declaration of addfd.
17814 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
17815 don't use global variable.
17816 * server-src/driverio.c (startup_tape_process, startup_dump_process):
17817 call addfd with new argument.
17819 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17821 * server-src/driverio.c (startup_tape_process): new taper_program
17823 * server-src/driverio.h: remove declaration of taper_program.
17824 * server-src/driver.c (main): declare taper_program.
17825 * server-src/driver.c: call startup_tape_process with the new
17826 taper_program argument.
17827 * server-src/amflush.c (run_dumps): declare taper_program.
17828 * server-src/amflush.c (run_dumps): call startup_tape_process with
17829 the new taper_program argument.
17831 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17833 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
17834 new dumper_program argument.
17835 * server-src/driverio.h: remove declaration of dumper_program.
17836 * server-src/driver.c: declare dumper_program.
17837 * server-src/driver.c: call startup_dump_process and
17838 startup_dump_processes with the new dumper_program argument.
17840 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17842 * server-src/list_dir.h: remove global variable dir_list, declare
17843 new function get_dir_list.
17844 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
17845 * server-src/amindexd.c (opaque_ls): use get_dir_list.
17847 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17849 * server-src/holding.h: remove declaration of get_letter_from_user()
17851 * server-src/holding.c: remove function get_letter_from_user() and
17853 * server-src/holding.c (pick_datestamp): return empty array instead
17854 of calling exit if no directory are found.
17855 * server-src/amflush.c (get_letter_from_user): new function copied
17857 * server-src/amflush.c (confirm): write a message and exit if no
17858 directory were found.
17860 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17862 * server-src/amflush.c (flush_holdingdisk): don't update the database
17863 when flushing a partial dump.
17865 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17867 * server-src/holding.h (get_dumpfile): new function
17868 * server-src/holding.c (get_dumpfile): new function to fill a
17869 dumpfile_t struct from a holding file.
17871 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17873 * server-src/amlabel.c: compiler warning: too many arguments for format
17875 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17877 * server-src/amlabel.c: remove the label from the tapefile in
17878 case it was already there (-f).
17880 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17882 * server-src/dumper.c: make sure holding files are not larger
17885 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17887 * server-src/amcleanupdisk.c: new program to scan and find temporary
17888 file on holding disks.
17889 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
17890 * server-src/amcleanup.sh.in: call amcleanupdisk.
17892 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17894 * server-src/holding.c (pick_all_datestamp): new function to return
17895 all datestamp in the holding disks.
17896 * server-src/holding.h: declare pick_all_datestamp.
17898 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17900 * server-src/diskfile.h (host_t): new start_t field.
17901 * server-src/diskfile.c (read_diskline): set start_t to 0.
17902 * server-src/driver.c (start_some_dumps): Don't start a dump if
17903 the host->start_t > now.
17904 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
17905 in the future when starting a FILE_DUMP.
17906 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
17907 the future when starting a PORT_DUMP.
17909 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
17911 * server-src/amlabel.c (main): try to read just-written tape label
17912 back; if wrendmark overwrote the label, suggest using a
17913 non-rewinding device
17914 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
17917 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
17919 * server-src/amoverview.pl.in: Y2K fix in output to user
17920 * server-src/amtoc.pl.in (print_info): ditto
17922 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
17924 * client-src/sendsize.c (getsize_dump): do not redirect standard
17925 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
17927 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
17929 * NEWS: fix description of incronly: it won't really perform full
17932 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
17935 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
17937 * example/amanda.conf.in: ditto
17938 * man/amanda.8.in: ditto
17940 * configure.in (amanda_cv_dump_estimate): check for support for -S
17941 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
17942 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
17943 -S and Samba `du'. Restrict regexp that matched Digital Unix'
17944 dump -E so that it doesn't match smbclient's output any more.
17945 Move some regexps around, and only define them if the corresponding
17946 dump program is available
17948 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
17950 * example/amanda.conf.in: document the behavior of relative
17952 * man/amanda.8.in: ditto
17954 * man/amanda.8.in (exclude list): the GNU tar flag is
17955 --exclude-from, not --exclude-list
17956 Reported by Tom Schutter <tom@platte.com>
17958 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
17959 to' message printed by Samba 2.0.0
17961 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
17963 * man/amanda.8.in (comprate): it is not used when there is history
17964 information; useful for large disks that compress little
17965 Reported by job bogan <job@piquin.uchicago.edu>
17967 * Makefile.am: select which SUBDIRS to descend to here
17968 * client-src/Makefile.am: removed if WANT_CLIENT
17969 * tape-src/Makefile.am: removed if WANT_TAPE
17970 * server-src/Makefile.am: removed if WANT_SERVER
17971 * changer-src/Makefile.am: ditto
17972 * restore-src/Makefile.am: removed if WANT_RESTORE
17973 * recover-src/Makefile.am: removed if WANT_RECOVER
17974 * amplot/Makefile.am: removed if WANT_AMPLOT
17976 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
17978 * NEWS: chg-scsi ports, Samba 2.0.0 support and SECURITY API
17980 * configure.in (USE_AMANDAHOSTS): enable by default
17981 * example/config.site: ditto
17982 * docs/INSTALL: ditto
17985 * docs/INSTALL: updated URLs for GNU packages and Samba
17986 * docs/SAMBA: note that Samba 2.0.0 is supported
17988 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
17990 1999-01-27 Thomas Hepper <th@ant.han.de>
17991 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
17992 A while loop has to start with while, not if .....
17994 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
17996 * Makefile.am (EXTRA_DIST): sst was added within contrib
17998 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
17999 * configure.in: AC_SUBST LIBTOOL_DEPS
18000 * Makefile.am: regen libtool if neded
18002 * Makefile.am: declare that we want automake 1.4 and we're a foreign
18005 * configure.in: require autoconf 2.13, and use
18006 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
18007 AC_VALIDATE_CACHE_SYSTEM_TYPE
18008 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
18010 * configure.in (SAMBA_CLIENT): updated check for smbclient to
18011 support Samba 2.0.0
18013 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
18015 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
18016 to the output of whoami otherwise
18017 Reported by Tom Schutter <tom@platte.com>
18019 1999-01-26 Thomas Hepper <th@ant.han.de>
18020 * Makefile.am Added sst driver files to EXTRA_DIST
18022 1999-01-26 Thomas Hepper <th@ant.han.de>
18023 * changer-src/Makefile.am added to LDADD
18024 ../tape-src/libamtape.$(LIB_EXTENSION)
18025 * changer-src/chg-scsi.c If statfile is not set try to get the info
18026 about the current loaded tape direct from the changer.
18027 Fixed debug output for the eject value if > 1
18028 * changer-src/libscsi.h Prototype for GetCurrentSlot
18029 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
18030 return NULL, so that the above function can abort. New eject per mtio ioctl.
18031 * changer-src/scsi-bsd.c see scsi-aix.c
18032 * changer-src/scsi-linux.c see scsi-aix.c
18033 * changer-src/scsi-hpux_new.c see scsi-aix.c
18034 * changer-src/scsi-irix.c see scsi-aix.c
18035 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
18036 the execution of SCSI commands.
18037 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
18038 split ReadElementStatus in device and device independed part
18039 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
18040 added EXB 120 and DLT7000 to the devices list.
18041 Removed the linked list for the element status. Now every element
18042 type has its own array allocated in the *ElementStatus functions.
18043 Check in the functions which sends SCSI commands if the fd is able to
18044 receive SCSI commands.
18045 In GenericEject check which type of eject to use (ioctl/SCSI)
18046 New GetCurrentSlot, try to get the info about the loaded tape direct from
18048 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
18049 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
18050 for LITTLE_ENDIAN_BITFIELDS
18051 new field from in ElementInfo_T
18052 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
18053 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
18055 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18057 * server-src/conffile.c (init_defaults): default value of runspercycle
18059 * server-src/amadmin.c (balance): use default value of runspercycle.
18060 * server-src/planner.c (main): use default value of runspercycle.
18062 1999-01-22 Martin Apel <apel@tecmath.de>
18064 * example/amanda.conf.in: explanation of incronly strategy.
18065 * man/amanda.8.in: explanation of incronly strategy.
18066 * server-src/amadmin.c: recognize incronly strategy
18067 * server-src/conffile.c: read the incronly strategy in the
18068 configuration file.
18069 * server-src/conffile.h: definition of DS_INCRONLY
18070 * server-src/planner.c: Do planning for incronly strategy:
18071 If the force flag is set perform a full dump, otherwise do
18072 normal incremental processing but avoid full dumps.
18073 * server-src/tapefile.c: Bugfix so only tapes which match
18074 the regular expression for tape labels in the current
18075 configuration are considered for writing.
18077 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
18079 * common-src/bsd-security.c (check_user): there was no uid variable
18080 here; replace with getuid()
18082 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
18084 * server-src/planner.c (output_scheduleline): removed `or historical
18085 data' from `no estimate' message; historical data doesn't matter any
18087 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
18089 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
18091 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
18093 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
18095 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18097 * server-src/amflush.c: use ap_snprintf instead of snprintf.
18098 * server-src/amflush.c: rotation of new amflush log was broken.
18100 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18102 * server-src/reporter.c: always call output_stats(), the problem is
18103 that degraded_mode is set if amflush fills the tape.
18105 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18107 * server-src/amflush.c: write debuging info to $logdir/amflush
18108 instead of /dev/null if we run in background.
18109 * server-src/amcleanup.sh.in: rename $logdir/amflush.
18111 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
18113 * server-src/dumper.c (make_tapeheader): explicitly compare
18114 srvcompress against srvcomp_none instead of assuming that
18115 srvcomp_none's value is 0.
18117 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
18119 * server-src/dumper.c: move max() macro to top of file. Add min()
18120 * server-src/dumper.c (databuf_write): use min() to determine the
18122 * server-src/dumper.c (databuf_flush): more clearly calculate the
18123 buffer offset in the write loop
18125 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
18127 * server-src/dumper.c (databuf_write): Egads! Also increment the
18128 source pointer doing a partial buf copy
18130 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
18132 * common-src/bsd-security.c (check_user): use getpwnam(CLIENT_LOGIN)
18133 instead of getpwuid(getuid()), in case our caller has not done
18136 1999-01-12 Mike Grupenhoff <kashmir@munge.com>
18138 * server-src/dumper.c (add_msg_data): properly check for half-sent
18141 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18143 * server-src/amstatus.pl.in: fix a divide by zero error.
18145 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
18147 * server-src/dumper.c (add_msg_data): clarify and comment. Remove
18148 'len' arg. Const 'str' arg.
18149 * server-src/dumper.c (do_dump): compresspid and indexpid should
18150 be pid_t's. Also, remove len from add_msg_data call.
18152 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
18154 * server-src/fileheader.c (parse_file_header): const the buffer
18156 * server-src/fileheader.h: update parse_file_header proto for const
18159 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18161 * server-src/amstatus.pl.in: report the current dump when reporting
18162 the busy time of each dumper.
18164 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18166 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
18167 and with mode 0600.
18169 1998-12-28 John R. Jackson <jrj@purdue.edu>
18171 * server-src/reporter.c: do not drop core generating labels if the
18172 tape label is not defined, e.g. in degraded mode (compliments of
18173 Jan L. Peterson <jlp@Part.NET>).
18175 1998-12-28 John R. Jackson <jrj@purdue.edu>
18177 * server-src/amtape.c: initialize two strings to NULL to avoid a
18178 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
18180 1998-12-27 John R. Jackson <jrj@purdue.edu>
18182 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
18185 1998-12-27 John R. Jackson <jrj@purdue.edu>
18187 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
18188 * example/Makefile.am: add 3hole.ps
18190 1998-12-22 Thomas Hepper <th@icem.de>
18192 * docs/TAPE.CHANGERS Update notes about chg-scsi
18193 * changer-src/chg-scsi.c Added new config option tapestatus,
18194 if set the tape log pages are written to this file.
18195 changed parameter list for get_clean_state/ask_clean,
18196 * changer-src/libscsi.h changed parameter list for get_clean_state
18197 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
18198 CloseDevice LookupDevice.
18199 Added new functions to read and decode the Tape LOG Pages.
18200 Tape Eject and ready check is now done by SCSI calls
18202 * changer-src/scsi-aix.c
18203 * changer-src/scsi-bsd.c
18204 * changer-src/scsi-hpux_new.c
18205 * changer-src/scsi-hpux.c
18206 * changer-src/scsi-irix.c
18207 * changer-src/scsi-solaris.c
18208 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
18209 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
18210 includes, remove Tape_Ready and Tape_Eject
18211 * changer-src/scsi-chio.c
18212 * changer-src/scsi-defs.h
18214 For all changer-src files, removed tabs, run indent (from xemacs)
18215 Added emacs variables to the end (no tab, gnu style)
18217 1998-12-21 John R. Jackson <jrj@purdue.edu>
18219 * man/amanda.8.in: document the lbl-templ tapetype option.
18221 1998-12-21 John R. Jackson <jrj@purdue.edu>
18223 * man/amreport.8.in: fix formatting problem.
18225 1998-12-20 John R. Jackson <jrj@purdue.edu>
18227 * configure.in: define NEED_RESETOFS unless LFS (large file system
18228 support) is available.
18229 * config/acconfig.h: add NEED_RESETOFS tag.
18230 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
18231 is defined and only once per 2 GBytes.
18233 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
18235 * server-src/amlabel.c (main): datestamp for new tapes is now 0
18236 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
18238 * man/amlabel.8.in: document that tapes are added to tapelist
18240 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
18242 * server-src/dumper.c (runcompress): new function. Given an output
18243 file descriptor, inserts a gzip/compress in front of that descriptor.
18244 * server-src/dumper.c (do_dump): if srvcompress is true, insert
18245 the gzip (using runcompress) in front of the output fd instead
18246 of the input fd. Only do this after the tapeheader has been written.
18248 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
18250 * server-src/dumper.c (startup_chunker): new function. When doing
18251 chunking, fork a piped subprocess that reads in a fileheader and
18252 a data stream, and writes out the headered, chunked files. This
18253 allows us to treat unchunked, chunked, and port-dump dumps exactly
18255 * server-src/dumper.c (main): file-dump: if chunksize > 0,
18256 call startup_chunker for our outfd. Otherwise, open the
18257 holding file directly.
18259 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
18261 * server-src/dumper.c (struct databuf): add a chunk_size member,
18262 the size of each chunk. Remove chunksize global.
18263 * server-src/dumper.c (main): add a chunksize local var
18264 * server-src/dumper.c (databuf_init): init the chunk_size member
18265 with the same value as split_size
18266 * server-src/dumper.c (databuf_flush): increment db->split_size
18267 by the amount in db->chunk_size instead of the global chunksize
18269 1998-12-19 John R. Jackson <jrj@purdue.edu>
18271 * server-src/amstatus.pl.in: instead of just displaying why no
18272 dumpers were busy, display reason(s) why N+1 were not busy.
18274 1998-12-18 John R. Jackson <jrj@purdue.edu>
18276 * server-src/amstatus.pl.in: add statistics about how much time
18277 taper and each dumper is busy, how much time N dumpers are busy
18278 and why no dumpers were busy.
18280 1998-12-18 Mike Grupenhoff <kashmir@munge.com>
18282 * server-src/dumper.c (struct databuf): add 'filename', 'filename_seq',
18283 and 'split_size' members to replace the equivalent globals. Nuke
18285 * server-src/dumper.c (databuf_init): add 'filename' and 'split_size'
18286 args to init those members. Init filename_seq to 0.
18287 * server-src/dumper.c (main): declare and init the databuf here
18288 * server-src/dumper.c (databuf_flush): refer to split_size, filename,
18289 and filename_seq in the databuf instead of the globals.
18290 * server-src/dumper.c (do_dump): now takes a databuf instead of an
18291 output file descriptor.
18293 1998-12-18 John R. Jackson <jrj@purdue.edu>
18295 * server-src/amstatus.pl.in: fix two perl warnings.
18297 1998-12-18 John R. Jackson <jrj@purdue.edu>
18299 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
18300 display to the summary comparing real and estimated size and real
18301 versus total estimate (showing how well the estimates are doing and
18302 a rough guess at how far along the run is). Also the percentage of
18303 total holding disk space in use.
18305 1998-12-18 John R. Jackson <jrj@purdue.edu>
18307 * server-src/amstatus.pl.in: take the --file argument as is if it
18308 is an absolute path.
18310 1998-12-18 John R. Jackson <jrj@purdue.edu>
18312 * server-src/driver.c: call short_dump_state() one last time before
18313 quitting so amstatus gets a last good status. Tell taper to quit
18314 after the dumpers since it writes more information to the amdump
18315 file (helps prevent mixed messages).
18317 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
18319 * server-src/dumper.c (databuf_flush): return 0 on success
18321 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
18323 * server-src/dumper.c (databuf_flush): new function. Writes
18324 the contents of the databuf out to its backing file, doing splitting
18326 * server-src/dumper.c (databuf_write): call databuf_flush when the
18327 databuf fills up. Fully complete all writes (no short writes)
18328 * server-src/dumper.c (do_dump): databuf_write now guarantees complete
18329 writes, so remove retry loop. Call databuf_flush() when eof is hit.
18330 Do not close datafd on eof, because our caller (main) passed it to
18331 us and therefore owns it (and main does close it again).
18333 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
18335 * server-src/dumper.c (databuf_init): new function, initializes
18337 * server-src/dumper.c (update_dataptr): rename to databuf_write,
18338 and have it take a buffer and a size, and return how many bytes
18339 of the buffer were written
18340 * server-src/dumper.c (do_dump): use databuf_init to initialize db.
18341 Use databuf_write to add incomign data to the databuf.
18342 Make size1 and size2 local to the blocks they are used in.
18344 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
18346 * common-src/Makefile.am (noinst_DATA): removed; bogus
18347 * config/config.guess, config/config.sub: config/install-sh,
18348 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
18349 * patches/autoreconf.patch: removed
18350 * config/libtool/libtool.m4: renamed to config/libtool.m4i
18351 * config/acinclude.m4: renamed to config/acinclude.m4i
18352 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
18353 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
18355 * configure.in: no longer test whether libtool is installed; require
18357 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
18359 * amplot/Makefile.am (EXTRA_DIST): no longer needed
18360 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
18361 to the beginning of the list
18362 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
18365 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18367 * common-src/genversion.c (main): rip out krb4 defines. If we
18368 need this info, each driver will have to do it individually.
18370 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18372 * server-src/conffile.c: remove KRB4_AUTH, BSD_AUTH tokens, auth
18373 element from dumptype_t, and get_auth() lookup func. Add
18374 security_driver to dumptype_t and parse value of AUTH keyword
18376 * server-src/conffile.h: nuke auth_t. Remove auth_t auth, int s_auth
18377 from typetype_t; add char *security_driver, int s_security_driver.
18378 * server-src/diskfile.c: nuke auth_t auth from disk_t, add
18379 char *security_driver. Inherit security_driver from the dumptype_t
18381 * server-src/diskfile.h: ditto
18382 * server-src/amadmin.c (disklist_one): output the security-driver
18383 string in place of the auth type
18384 * server-src/amcheck.c (start_client_checks, handle_response):
18385 enum type hostp->disks->auth is gone. check the string in the
18386 security_driver for this disk for krb4 auth.
18387 * server-src/planner.c (getsize, handle_result): check the string
18388 in hostp->disks->security_driver for the auth type.
18390 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18392 * server-src/amindexd.c: no need to include protocol.h
18394 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18396 * server-src/amindexd.c: remove duplication inclusion of version.h.
18397 Include tapefile.h to get read_tapelist() prototype
18398 * server-src/amindexd.c (build_disk_table): remove a plethora of
18400 * server-src/amindexd.c (main): rename security_ok() call to
18401 check_security(), and define check_security() locally. security_ok
18402 will disappear when the new security api goes in
18404 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18406 * server-src/changer.c (changer_label): make it return void
18407 to keep gcc warning about control reaching the end of a nonvoid
18409 * server-src/changer.c: update changer_label's proto for previous
18411 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18413 * common-src/amanda.h: define SET, CLR, ISSET macros for dealing
18415 * server-src/amadmin.c: use the bitmask macros for setting
18416 and clearing the bits in the infofile command word
18417 * server-src/planner.c: ditto. This fixes a bug in the code that
18418 tried to clear FORCE_FULL with an xor expression that was
18419 never assigned (x ^ FORCE_FULL)
18421 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18423 * common-src/bsd-security.c (bsd_sendpkt): cast uid's to long and
18424 use %ld to print them.
18426 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18428 * common-src/dgram.h: mark dgram_cat with gcc's printf attribute
18429 * common-src/packet.h: ditto for pkt_cat
18430 * common-src/security.h: likewise for security_seterror
18432 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18434 * common-src/error.c (error): const the format arg
18435 * common-src/amanda.h: mark error with gcc's noreturn attribute, and
18436 const its format arg
18438 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
18440 * common-src/debug.c (debug_printf): const the format arg
18441 * common-src/amanda.h: const debug_printf's format arg
18443 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
18445 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
18446 so when written test ... -a test ... :-)
18448 1998-12-14 Thomas Hepper <th@icem.de>
18450 * changer-src/Makefile.am Added scsi-bsd.c
18451 * changer-src/chg-scsi.c Initialize *scsitapedevice
18452 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
18454 changed RequestSense to pRequestSense (there is a function
18455 called RequestSense)
18456 changed error handling in ResetStatus (fix for IRIX)
18457 FIxed length handling for the pages in ReadElemtStatus
18458 * changer-src/scsi-chio.c get_clean_state only returns 0, the
18459 ioctl to get the clean flag is not portable ;-(
18460 changed all (f)printf to dbprintf
18462 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
18463 LITTLE endian the same ...
18465 * changer-src/scsi-bsd.c New file for FreeBSD
18467 * changer-src/scsi-irix.c Clean up in the return handling
18468 changed RequestSense to pRequestSense
18469 Removed unused function TapeStatus
18471 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
18472 Removed unused function TapeStatus
18474 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
18475 Removed unused function TapeStatus
18477 * config/acconfig.h added def for BSD_LIKE_SCSI
18479 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
18480 added sys/scsiio.h and check for BSD SCSI interface
18482 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18484 * server-src/driver.c (handle_dumper_result): rename .tmp files
18485 when receiving ABORT_FINISHED.
18487 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18489 * server-src/driver.c (start_some_dumps): Use the holdp returned
18490 by find_diskspace for a big_dumper in degraded mode.
18492 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
18494 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
18495 (IRIX): patch for xfsdump estimates
18497 1998-12-10 John R. Jackson <jrj@purdue.edu>
18499 * common-src/amflock.c (main): remove call set_pname() for
18500 CONFIGURE_TEST since error.o is not linked in.
18502 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
18504 * server-src/dumper.c (struct databuf): add a fd member - the file
18505 descriptor that we are buffering
18506 * server-src/dumper.c (update_dataptr): remove
18507 outf arguments, use the fd in the passed databuf. Return 0 on
18508 success, and -1 on error.
18509 * server-src/dumper.c (update_dataptr): rework and comment the
18510 chunk code a bit. Get rid of the cont_filename global.
18511 * server-src/dumper.c (do_dump): init the fd member of the databuf
18512 * server-src/dumper.c (write_dataptr): fold back into update_dataptr
18514 1998-12-10 John R. Jackson <jrj@purdue.edu>
18516 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
18519 1998-12-10 John R. Jackson <jrj@purdue.edu>
18521 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
18522 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
18524 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
18526 * server-src/dumper.c (update_dataptr): remove pointless backups
18527 of the databuf and associated vars when creating next chunk.
18528 Remove duplicate setting of file.cont_filename.
18530 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
18532 * server-src/dumper.c (main): reuse outfd to clear the open files
18533 passed to us. Nuke the fd var.
18534 * server-src/dumper.c (update_dataptr): nuke 'split' argument - it
18535 was always set to 1
18537 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
18539 * server-src/dumper.c (write_tapeheader): kill dead code
18540 * server-src/dumper.c (main): remove useless amfree of datestamp.
18541 Add missing break to 'default' case in command loop.
18542 * server-src/dumper.c: kill databuf, spaceleft, and dataptr globals.
18543 Create a 'struct databuf' that holds all three.
18544 * server-src/dumper.c (write_dataptr, update_dataptr): make
18545 these take a 'struct databuf *' as an argument, and have them
18546 operate on its contents instead of the aforementioned globals
18547 * server-src/dumper.c (do_dump): declare a 'struct databuf' here.
18548 Make it static, because it's large. Use it instead of the
18551 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
18553 * server-src/dumper.c (main): rework the command loop a bit.
18554 Consolidate all duplicated error cleanup into one place at the
18555 end of the loop after each command has been processed. Exit
18556 with exit(), not return.
18558 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
18560 * server-src/dumper.c (main, getcmd, write_dataptr): kill argc and
18561 argv globals, pass them as arguments to getcmd() via struct cmdargs.
18562 * server-src/dumper.c (getcmd): make the command lookup table driven.
18563 * server-src/dumper.c (write_dataptr): restructure the command
18564 logic a bit to hopefully clarify things.
18566 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
18568 * client-src/sendbackup.c (parse_options): Added check whether the
18569 pathname of the exclude file is relative and if yes, use the
18570 mountpoint of the filesystem as anchor. So you can put your exclude
18571 file in the root of the filesystem to backup.
18572 * client-src/sendsize.c (getsize_gnutar): added the same check as
18573 above so sendsize uses the same exclude file.
18575 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18577 * server-src/holding.c (size_holding_files): return size in KB.
18578 * server-src/driver.c (adjust_diskspace): use KB returned by
18579 size_holding_files.
18580 * server-src/driver.c: rename .tmp file
18581 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
18583 1998-12-09 John R. Jackson <jrj@purdue.edu>
18585 * common-src/stream.c (stream_server): do not request a reserved port
18586 if we are root but PORTRANGE is defined. Also, clean up the code
18587 and make sure *portp is -1 on all error returns.
18589 1998-12-08 John R. Jackson <jrj@purdue.edu>
18591 * Makefile.am: add the user-contributed area.
18592 * contrib/README: describe the user-contributed area.
18593 * contrib/dbbackup.README: README for Oracle database backup system.
18594 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
18595 * contrib/dbbackup.sql: Oracle database backup system setup commands.
18596 * contrib/dbbackup.tcl: Oracle database backup system main body.
18598 1998-12-08 John R. Jackson <jrj@purdue.edu>
18600 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
18601 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
18603 1998-12-08 John R. Jackson <jrj@purdue.edu>
18605 * configure.in: fix reversed code for --with-amrecover, compliments
18606 of Yar Tikhiy <yar@radio-msu.net>.
18608 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18610 * common-src/fileheader.h (dumpfile_t): new is_partial field.
18611 * common-src/fileheader.c: add codee for new is_partial field.
18612 * server-src/holding.h (rename_tmp_holding): declare new function.
18613 * server-src/holding.c (rename_tmp_holding): new function.
18614 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
18615 * server-src/dumper.c (main): open .tmp when dumping to disk,
18616 rename .tmp if do_dump return 1.
18617 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
18618 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
18620 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
18622 * server-src/amtape.c (main, usage): make command lookup and usage
18625 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
18627 * server-src/amadmin.c: make command lookup and usage table-driven
18628 * server-src/amadmin.c (balance, tape, bumpsize): add
18629 argc/argv arguments to make them like the rest
18630 * server-src/amadmin.c (show_version): new function, implements
18631 the version command, so it is done like the other commands
18632 * server-src/amadmin.c (main): iterate through cmdtab[] when
18633 looking up the command, instead of a huge if/then/else
18634 * server-src/amadmin.c (usage): iterate through cmdtab[] when
18635 displaying usage strings. Display the "disklist" usage string.
18637 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18639 * config/acconfig.h: add "#undef HAVE_WRITEV_DECL".
18641 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18643 * NEWS: document new force-bump, force-no-bump and unforce-bump
18644 command in amadmin.
18646 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18648 * server-src/holding.c (size_holding_files): new function to
18649 return the sum of the size of all chunk of an image.
18650 * server-src/holding.h (size_holding_files): declare.
18651 * server-src/driver.c (adjust_diskspace): use size_holding_files
18652 instead of doing a stat of only the first chunk.
18654 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18656 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
18658 * man/amadmin.8.in: document them.
18660 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
18662 * docs/FAQ (large filesystems): fixed reference to results missing
18663 (results missing): updated to 64Kb UDP packets
18665 1998-12-04 Mike Grupenhoff <kashmir@munge.com>
18667 * common-src/amanda.h: implement WIFSIGNALED() if not already
18669 * server-src/amcheck.c: ream out compat definitions of WEXITSTATUS(),
18670 WTERMSIG(), and WIFSIGNALED(). These are already handled in amanda.h
18671 * server-src/changer.c: ditto
18673 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
18675 * common-src/bsd-security.c (recv_security_ok): only check for
18676 a reserved port for REQ packets
18678 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
18680 * common-src/bsd-security.c (recvpkt_callback): only compare
18681 the sin_addr and sin_port fields in the sockaddr when determining
18682 what handle an incoming packet belongs to.
18683 * common-src/bsd-security.c (pkthdr2str): use %s for the handle,
18684 since it's a string.
18686 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
18688 * common-src/bsd-security.c (bsd_sendpkt): newline-terminate
18689 the 'SECURITY USER' line in the packet
18690 * common-src/bsd-security.c (check_user): fix many bugs
18691 in the USE_AMANDAHOSTS case
18693 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
18695 * configure.in: AC_REPLACE_FUNCS(writev)
18697 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18699 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
18700 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
18701 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
18703 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18705 * config/acconfig.h: add KRB5_SECURITY. Update comment above
18706 krb4 define to make clear that they are for krb4
18708 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18710 * configure.in: if we're doing krb4 and -lcom_err is there, pull
18712 * configure.in: implement --with-krb5-security.
18714 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18716 * common-src/dgram.c (dgram_cat): now can take printf-style
18718 * common-src/dgram.g (dgram_cat): update prototype
18720 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18722 * common-src/bsd-security.c: wrap entire file in #ifdef BSD_SECURITY
18723 * common-src/bsd-security.c (bsd_connect): catch up with
18724 security interface changes - upper layer now allocates our handle
18725 Also, pass up useful error message about why connects failed
18726 via the handle we are given
18727 * common-src/bsd-security.c (gethandle): rename to inithandle,
18728 since we are now passed the handle's memory. No need to allocate
18729 memory or initialize the error msg pointer
18730 * common-src/bsd-security.c (bsd_close): now an empty function - no
18732 * common-src/bsd-security.c (recvpkt_callback): allocate the handle
18733 before calling inithandle() (nee gethandle()).
18734 * common-src/bsd-security.c (stream_read_callback): put
18735 strerror(errno) in the handle's error buffer before passing a
18736 read error up to the caller
18738 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18740 * common-src/krb5-security.c: new stub file that pulls in the
18741 krb5 bits from the amanda-krb-2 tree if KRB5_SECURITY is
18744 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18746 * common-src/base64.{c,h}: new files, implement base64 encoding
18747 and decoding. Implementation based on routines in bind, and so
18748 copyright is held by ISC and IBM (but is BSD-like).
18750 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
18752 * common-src/security.h: add 'handlesize' to the driver struct, also
18753 make the connect function pointer return int and take a handle
18755 * common-src/security.h (security_connect): addd a 'const char **'
18756 errmsg argument for returning connect errors
18758 1998-12-01 John R. Jackson <jrj@purdue.edu>
18760 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
18761 option for doing just the local server (non-tape) checks. Have -w
18762 turn on -t. Have -cs (or -sc) do both server and client checks.
18763 * man/amcheck.8.in: document above changes and clean up some minor
18766 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
18768 * common-src/event.c (release): nuke bogus comment about signal
18770 * common-src/event.c (event_loop): move the reentrancy assert
18771 after the empty queue check. Otherwise, calling event_loop()
18772 with an empty event queue would cause the entry count to get
18773 out of sync. Also, on exit, assert that the entry count has
18775 * common-src/event.c (event_loop): fix bogus comment about event
18778 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
18780 * common-src/arglist.h: implement arglist_function3()
18782 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18784 * server-src/driver.c (start_some_dumps): In degraded mode,
18785 a big dumper should do high priority dump before low priority.
18786 * server-src/driver.c (sort_by_priority_reversed): sort by
18787 time if priority is equal.
18789 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18791 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
18793 * server-src/amadmin.c (force_one,unforce_one,info_one): work
18794 with info.command with bit operator.
18795 * server-src/planner.c (setup_estimate): work with info.command
18796 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
18798 1998-11-27 Thomas Hepper <th@icem.de>
18800 * changer-src/scsi-aix.c Some changes in the error handling in
18801 scsi command execution
18802 * changer-src/scsi-changer-driver.c More debug prints.
18803 removed Endian16/Endian24 (replaced with macros)
18804 * changer-src/scsi-chio.c make get_clean_state work on linux
18805 * changer-src/scsi-defs.h added macros for converting from/to
18807 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
18809 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18811 * server-src/amadmin.c(export_one): export the last_level and
18812 consecutive_runs field.
18813 * server-src/amadmin.c(import_one): import the last_level and
18814 consecutive_runs field.
18816 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
18818 * common-src/amanda.h: uhh, every other decl has a leading
18819 'extern' so writev() should as well
18821 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
18823 * common-src/amanda.h: if no writev() decl exists, declare one
18825 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
18827 * configure.in: check for <sys/uio.h>, check for a writev() decl
18828 in <unistd.h> and/or <sys/uio.h>
18830 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
18832 * common-src/writev.c (writev): new file, implements writev for
18833 systems that lack it
18835 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
18837 * common-src/amanda.h: include <sys/uio.h> if it exists. Otherwise,
18838 define struct iovec
18840 1998-11-24 John R. Jackson <jrj@purdue.edu>
18842 * server-src/amlabel.c: insist on being run as the dump user (ala
18843 amlabel) to keep permissions straight.
18845 1998-11-24 John R. Jackson <jrj@purdue.edu>
18847 * server-src/amadmin.c: fix minor message format problem.
18849 1998-11-24 John R. Jackson <jrj@purdue.edu>
18851 * server-src/amlabel.c: insist on being run as the dump user (ala
18852 amflush) to keep permissions straight.
18854 1998-11-24 John R. Jackson <jrj@purdue.edu>
18856 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
18857 amdump) to keep permissions straight.
18859 1998-11-24 John R. Jackson <jrj@purdue.edu>
18861 * server-src/amadmin.c: issue a warning for update commands that might
18862 leave ownership incorrect.
18864 1998-11-24 John R. Jackson <jrj@purdue.edu>
18866 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
18867 server checks. This lets server checks be done without mounting a
18868 tape. Add lots more sanity checks, in particular, ownership and
18869 permissions of the index area and text format database. Warn if
18870 amcheck is not run as the dump user listed in amanda.conf. Minor
18871 consistency cleanup in the messages.
18872 * man/amcheck.8.in: document the changes.
18874 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
18876 * common-src/dgram.c (dgram_bind): always try to get a reserved
18877 port, even if KRB4_SECURITY is defined
18879 1998-11-23 Mike Grupenhoff <kashmir@munge.com>
18881 * common-src/bsd-security.c (struct bsd_handle): change 'int handle'
18882 to 'char proto_handle[32]' because the remote client might generate
18883 handles that aren't completely numerical
18884 * common-src/bsd-security.c (gethandle, str2pkthdr): the 'handle' arg
18886 * common-src/bsd-security.c (bsd_connect): convert our generated
18887 handle into a string to pass to gethandle()
18888 * common-src/bsd-security.c (str2pkthdr): rewrite to parse with
18889 strtok(). Parse the handle as a string instead of trying to
18890 convert it into a number
18892 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
18894 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
18895 renamed if it exists, even if no log file could be found.
18897 1998-11-20 Mike Grupenhoff <kashmir@munge.com>
18899 * common-src/bsd-security.c: define STREAM_BUFSIZE to be
18900 the size of the tcp socket buffers
18901 * common-src/bsd-security.c (bsd_stream_server, bsd_stream_client):
18902 adapt to the stream_server() interface changes. Set socket
18903 buffers to STREAM_BUFSIZE.
18905 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
18907 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
18908 updated to current CVS libtool
18910 1998-11-19 John R. Jackson <jrj@purdue.edu>
18912 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
18913 set the default chunksize and the "0" and "-1" special chunksizes
18914 to 64 KBytes less than the maximum to allow the final read at EOF.
18915 * server-src/dumper.c (main): leave the chunksize as it is when it
18916 comes in except to truncate it to a 32 KByte boundary.
18917 * man/amanda.8.in: add some chunksize comments and clean up a few
18918 minor odds and ends.
18920 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
18922 Give amrecover its own security bits. It has different needs
18923 and a different protocol than the rest of amanda, so it shouldn't
18924 try to reuse the security bits
18925 * recover-src/amrecover.c (get_security): new function, implements
18927 * recover-src/amrecover.c (main): call get_security()
18928 * recover-src/amrecover.h: get_security() prototype
18929 * recover-src/extract_list.c (extract_files_setup): call
18931 * restore-src/amidxtaped.c (check_security): new function, implements
18932 * restore-src/amidxtaped.c (main): call check_security()
18934 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
18936 * common-src/stream.c (stream_server, stream_client): cast 4th
18937 arg of setsockopt() to (void *) to quash a compiler warning
18940 1998-11-19 John R. Jackson <jrj@purdue.edu>
18942 * recover-src/amrecover.c (main): use set_host to find the initial
18943 host name so we get the same alias resolution at startup as the
18945 * recover-src/set_commands.c (set_host): report alternate names being
18946 attempted and only clear the directory list if a host is found.
18948 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
18950 * server-src/driverio.c (update_info_dumper): do not update
18951 compression or dump rates when called from
18952 update_failed_dump_to_date
18953 Reported by Michael Schmitz <mschmitz@sema.de>
18955 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
18957 * server-src/dumper.c (main): reduce the size of the chunksize by
18960 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
18962 * configure.in: hack for paxutils was not working; fixed
18964 1998-11-18 Michael Povel <mcp@ladyada.han.de>
18966 * server-src/changer.h added new functions:changer_query
18967 ,changer_search,changer_find, changer_label
18968 * server-src/changer.c added changer_query, changer_search,
18969 changer_find, changer_label
18970 * server-src/amcheck.c (taper_scan) now uses changer_find
18971 * server-src/amtape.c (load_label and taper_scan) now use changer_find
18972 * server-src/taper.c (taper_scan) now uses changer_find
18973 * server-src/amlabel.c (main) added call to changer_label
18974 which is only an empty dummy at the moment
18976 1998-11-18 Thomas Hepper <th@icem.de>
18978 * changer-src/chg-scsi.c Added debug print option
18979 * changer-src/chg-scsi.c If the load fails do not continue
18980 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
18981 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
18982 * changer-src/scsi-changer-driver.c changed #include <config.h> to
18983 #include <amanda.h>
18984 * changer-src/scsi-changer-driver.c Added debugging prints
18985 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
18986 * changer-src/scsi-chio.c added missing funktion Tape_Ready
18987 * changer-src/scsi-hpux.c removed #include "config.h", is already done
18989 * changer-src/scsi-hpux_new.c changed #include <config.h> to
18990 #include <amanda.h>
18991 * changer-src/scsi-irix.c changed #include <config.h> to
18992 #include <amanda.h>
18993 * changer-src/scsi-linux.c changed #include <config.h> to
18994 #include <amanda.h>
18995 * changer-src/scsi-solaris.c changed #include <config.h> to
18996 #include <amanda.h>
18998 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
19000 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
19003 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19005 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
19006 to shift the tpsave array.
19008 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
19010 * example/amanda.conf.in: document that infofile is supposed to be a
19011 directory with the default database format
19012 * docs/FAQ: New questions: `infofile update failed' and `using the
19013 same host in different configurations'
19015 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19017 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
19018 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
19020 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
19022 * common-src/stream.c (stream_server): add requested send and receive
19023 socket size parameters.
19024 * common-src/stream.h (stream_server): ditto
19025 * server-src/taper.c (file_reader_side): set a large receive socket
19027 * client-src/sendbackup.c (main): set a large send and receive socket
19028 buffer size for the data path, use defaults for the message and index
19031 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
19033 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
19035 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19037 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
19038 * server-src/infofile.h (get_info): rename record parameter to info.
19039 * server-src/infofile.h (put_info): rename record parameter to info.
19040 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
19041 * server-src/infofile.c (zero_info): rename ip parameter to info.
19042 * server-src/infofile.c (get_info): rename record parameter to info.
19043 * server-src/infofile.c (put_info): rename record parameter to info.
19044 * server-src/infofile.c (dump_rec): rename r parameter to info.
19045 * server-src/infofile.c (dump_db): rename record variable to info.
19046 * server-src/planner.c (last_level): rename ip parameter to info.
19047 * server-src/planner.c (next_level0): rename ip parameter to info.
19048 * server-src/planner.c (runs_at): rename ip parameter to info.
19049 * server-src/planner.c (askfor): rename inf parameter to info.
19050 * server-src/planner.c (setup_estimate): rename inf variable to info.
19051 * server-src/driverio.c (update_info_dumper): rename inf parameter
19053 * server-src/driverio.c (update_info_taper): rename inf parameter
19055 * server-src/amadmin.c (next_level0): rename ip parameter to info.
19056 * server-src/amadmin.c (force_one): rename inf variable to info.
19057 * server-src/amadmin.c (unforce_one): rename inf variable to info.
19058 * server-src/amadmin.c (delete_one): rename inf variable to info.
19059 * server-src/amadmin.c (info_one): rename inf variable to info.
19060 * server-src/amadmin.c (due_one): rename inf variable to info.
19061 * server-src/amadmin.c (balance): rename inf variable to info.
19063 1998-11-11 Thomas Hepper <th@icem.de>
19065 * configure.in: amanda_cv_hpux_scsi was double defined.
19066 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
19067 * docs/TAPE.CHANGERS: update the notes about chg-scsi
19068 * changer-src/chg-scsi.c: Unload the cleaning tape only
19070 Pass the changerdev and tapedev Tape_Ready, so we can check
19071 if changerdev=tapedev. In this case the fd is already open.
19072 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
19073 * changer-src/scsi-changer-driver.c: Pass back the scsi status
19074 field to the calling function, not the result from the ioctl
19075 if the return form the ioctl is >= 0
19076 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
19077 fill Tape_Ready with live
19078 * changer-src/scsi-hpux_new.c: Return the scsi status if
19079 the ioctl result is >=0. Add new Parameter to Tape_Ready
19080 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
19081 * changer-src/scis-linux.c: Add additional param to Tape_Ready
19082 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
19084 1998-11-11 Mike Grupenhoff <kashmir@munge.com>
19086 * server-src/security.h: add driver entry points and macros
19087 for security_stream_accept() and security_stream_auth()
19088 * server-src/bsd-security.c: implement security_stream_accept()
19089 and security_stream_auth() for bsd security
19091 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19093 * server-src/driver.c (main): redo my patch about total_disksize that
19094 Alexendre has undone, only the 2.4.1 branch was broken.
19096 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
19098 * server-src/driver.c (main): total_disksize was only added after
19099 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
19101 1998-11-09 John R. Jackson <jrj@purdue.edu>
19103 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
19104 dies we do not also go away. Also fix a core dump if amanda.conf
19105 cannot be processed, and clean up a few error messages.
19107 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19109 * server-src/infofile.h (struct info_s): add last_level and
19111 * server-src/infofile.c: support new last_level and consecutive_runs
19112 * server-src/planner.c (last_level): return ip->last_level.
19113 * server-src/planner.c (runs_at): return ip->consecutive_runs.
19114 * server-src/driverio.c (update_info_dumper): update inf.last_level
19115 and inf.consecutive_runs.
19117 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
19119 * client-src/sendbackup-dump.c (start_backup): don't close indexf
19120 if it was never open
19121 * client-src/sendbackup-gnutar.c (start_backup): ditto
19123 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19125 * server-src/driver.c (main): add hdp->disksize to total_disksize
19126 even when we create the datestamp dir. (reserve was unusable).
19128 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
19130 * Makefile.am (EXTRA_DIST): added EVENT-API, SECURITY-API and
19132 * docs/STRATEGY-API: new file
19134 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
19137 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
19139 * changer-src/scsi-solaris.c: added missing #endif
19141 * configure.in: merge with camlib.h patch from Oct 31
19142 remove all uses of test ... -a ...; this is not portable.
19143 (AC_CHECK_HEADERS) added header files for Linux and Solaris
19145 1998-11-07 Thomas Hepper <th@icem.de>
19147 * changer-src/chg-scsi: Add config option scsidev
19148 * changer-src/chg-scsi: Remove function tape_ready
19149 * changer-src/chg-scsi: Add new parameter tapedev to function
19151 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
19152 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
19153 * changer-src/libscsi.h: Expand definition for get_clean_state
19154 * new files in /changer-src:
19155 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
19156 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
19157 * configure.in checks for scsi ioctl added, check for header files
19158 for the scsi suport added
19159 * config/acconfig.h new:
19160 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
19161 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
19162 removed: HAVE_HPUX_SCSI
19163 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
19164 and chg-scsi. chg-scsi-chio is the old chg-scsi
19166 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
19168 * common-src/bsd-security.c (bsd_stream_write): callback's third
19169 arg should now be an int.
19170 * common-src/bsd-security.c: quash some gcc -Wall warnings
19172 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
19174 * common-src/security.h: the callback to stream_read should
19175 take signed type as its 'length' argument so errors can be
19176 expressed as a negative number.
19178 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
19180 * common-src/bsd-security.c (stream_read_callback): do reads into
19181 a buffer of size TAPE_BLOCK_BYTES, instead of 256, and place the
19182 buffer in the stream handle instead of on the stack, since it's
19185 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
19187 * common-src/event.c (event_loop): Consider error conditions on
19188 file descriptors as read or write events. The caller will be
19189 able to differentiate when they call read or write and it
19192 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
19194 * common-src/event.c (event_loop): print out WHY select failed
19196 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
19198 * common-src/bsd-security.c: adjust for the recvpkt timeout
19200 * common-src/bsd-security.c (handleq_remove): add a missing ; after
19202 * common-src/bsd-security.c (gethandle): initialize the error buffer
19203 in the security handle, since errors may be set before the handle
19204 is passed up to the general security layer
19205 * common-src/bsd-security.c (bsd_recvpkt_cancel): allow it to be
19206 called several times, or when no recvpkt was scheduled
19208 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
19210 * common-src/security.h: define security_recvpkt_status_t
19211 * common-src/security.h: security_driver_t->recvpkt() now
19212 takes a timeout argument, and its callback takes a
19213 security_recvpkt_status_t
19214 * common-src/security.h: adjust the security_recvpkt() macro
19215 for the above changes
19217 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
19219 * common-src/event.c (event_loop): assert that we are not firing
19222 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19224 * recover-src/amrecover.c: remove declaration of errstr.
19226 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19228 * server-src/amindexd.c (build_disk_table): call find_dump() instead
19229 of popen("amadmin <conf> find ...")
19231 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19233 * server-src/holding.h: rename dir_list to holding_list because
19234 dir_list is also declared in amflush.c
19235 * server-src/holding.c: ditto
19236 * server-src/find.c: ditto
19238 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19240 * server-src/amstatus.pl.in: remove warning.
19242 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
19244 * common-src/event.c (event_register): delete some improper debug
19245 code that shouldn't have made it in
19247 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
19249 * common-src/bsd-security.c: new file: security driver that
19250 implements "BSD" security.
19252 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
19254 * common-src/security.h: new file: the security api header
19256 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
19258 * common-src/event.c: new file: the event handler. Handles file
19259 descriptor io, signals, and timed events.
19260 * common-src/event.h: new file: interface for the event handler.
19262 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
19264 * common-src/packet.c: new file: description of pkt_t's and routines
19266 * common-src/packet.h: new file: header for common-src/packet.c
19268 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
19270 * common-src/queue.h: new file: the 4.4BSD queue macros, with
19271 additions from NetBSD
19273 1998-11-04 John R. Jackson <jrj@purdue.edu>
19275 * server-src/amverify.sh.in: tolerate extra amtape output.
19277 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
19279 * configure.in: bumped to 2.5.0
19281 * server-src/taper.c (read_file): if a new tape cannot be found,
19282 report a no-tape error to the log file and exit, just like it does
19285 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19287 * server-src/planner.c (pick_inclevel): return base_level even
19288 when the estimate failed.
19289 * server-src/planner.c (output_scheduleline): test for degr_size
19290 instead of degr_level.
19292 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19294 * server-src/planner.c (last_level): update last_date otherwise only
19295 level 0 or the highest is returned.
19297 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
19299 * common-src/alloc.c: const arguments to the stralloc functions
19300 * common-src/amanda.h: update stralloc prototypes for const
19303 1998-11-03 John R. Jackson <jrj@purdue.edu>
19305 * server-src/dumper.c (do_dump): do not report FAILED back to driver
19306 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
19308 1998-11-03 John R. Jackson <jrj@purdue.edu>
19310 * server-src/driver.c (handle_dumper_result): do not abort a dumper
19311 that reports NO-ROOM if taper is busy since some holding disk space
19312 will eventually be released (this code it not used when PORT-DUMP is
19315 1998-11-03 John R. Jackson <jrj@purdue.edu>
19317 * server-src/taper.c (write_buffer): calling lseek after every tape
19318 write is wasteful and makes utilities like lsof less useful. Only
19319 reset the offset when the amount written is about to go over 2 GBytes.
19321 1998-11-02 John R. Jackson <jrj@purdue.edu>
19323 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
19324 that made the code think there was a little room for full dumps in
19325 degraded mode, and fix the code that decides whether to do a full dump
19328 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19330 * server-src/amstatus.pl.in: initialize variable to remove warning.
19332 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
19334 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
19335 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
19336 * configure.in (CLIENT_SCRIPTS): ditto
19337 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
19339 * configure.in (LIBTOOL_M4): no longer defined
19340 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
19341 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
19342 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
19343 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
19345 * client-src/sendbackup.c (backup_program): rename to
19346 gnutar_program, that's the name it should have had from the
19348 * client-src/sendbackup-gnutar.c (backup_program): ditto
19350 1998-10-31 Michael Schmitz <mschmitz@iname.com>
19352 * configure.in: let configure check whether strcasecmp is
19354 * common-src/strcasecmp.c: new file which contains a definition
19356 * common-src/amanda.h: added code to declare strcasecmp in
19357 case it's not declared in a standard header
19359 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
19361 * configure.in (snprintf): arrange that it is included in the
19362 distribution automatically
19363 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
19365 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
19368 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
19369 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
19370 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
19371 (SunOS 4.x): libtool will no longer find incorrect library versions
19373 1998-10-30 John R. Jackson <jrj@purdue.edu>
19375 * common-src/security.c (bsd_security_ok): change error message to
19376 reflect that it is a host name we were looking up rather than an
19377 address (also makes the two similar messages unique).
19379 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
19381 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
19383 1998-10-28 John R. Jackson <jrj@purdue.edu>
19385 * recover-src/set_commands.c (set_host): if the host given by the user
19386 does not work, try the canonical name and aliases returned by
19389 1998-10-28 John R. Jackson <jrj@purdue.edu>
19391 * configure.in: use "df /" instead of just "df" when trying to find
19392 the device that has the root file system to avoid things like NFS
19393 hangs that df sometimes suffers from.
19395 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
19397 * common-src/stream.c (stream-client): add a 'localport' argument
19398 in which we can get the port this stream is bound to locally
19399 * common-src/stream.h (stream-client): update prototype
19400 * server-src/dumper.c: update stream-client calls
19402 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19404 * client-src/amandad.c (main): better logging of received packet,
19405 do not send a P_ACK when the received packet is not a P_REQ.
19407 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19409 * client-src/amandad.c (main): terminate immediately if started
19410 by a P_ACK packet without sending a P_NAK packet.
19412 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19414 * server-src/conffile.h (dtimeout): new keyword
19415 * server-src/conffile.c (dtimeout): ditto
19416 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
19417 * example/amanda.conf.in: document it
19418 * man/amanda.8.in: ditto
19421 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19423 * server-src/dumper.c (sendbackup_response): a nak error will
19424 be a TRY-AGAIN instead of a FAILED.
19426 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19428 * server-src/amlabel.c: move declaration of vtbl_no, datestr
19429 and slotcommand to the main function.
19431 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19433 * server-src/amlabel.c: remove declaration of pname.
19435 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19437 * server-src/amcheckdb.sh.in: modify to match new tapelist file
19438 format (keyword reuse and no-reuse). Probably no-one use this
19441 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19443 * server-src/driver.c (handle_dumper_result): Add sleep time
19444 when a dumper failed, it could be a temporary network problem,
19445 such as NIS or NFS, better wait a few seconds before retrying.
19447 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19449 * server-src/driverio.h: remove declaration of argc et argv.
19450 * server-src/driverio.h (getresult): add parameters result_argc,
19451 result_argv and max_arg.
19452 * server-src/driverio.c (getresult): use new parameters.
19453 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
19454 and use result_argc and result_argv instead of global variables
19456 * server-src/driver.c (main, handle_taper_result,
19457 handle_dumper_result, dump_to_tape): ditto
19459 1998-10-24 John R. Jackson <jrj@purdue.edu>
19461 * server-src/amstatus.pl.in: do not be quite so accurate in matching
19462 the log file lines since messages may be intermixed. Turn on perl
19463 -w switch and make first cut at cleaning up warnings.
19465 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19467 * server-src/driverio.h: remove datestamp declaration.
19468 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
19469 * server-src/amflush.c: declare datestamp.
19470 * server-src/amtape.c: remove 'extern' to datestamp declaration.
19471 * server-src/driver.c: declare datestamp.
19472 * server-src/dumper.c: remove 'extern' to datestamp declaration.
19473 * server-src/reporter.c: remove 'extern' to datestamp declaration.
19475 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19477 * server-src/driverio.h: remove declaration of tok.
19478 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
19480 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
19481 dump_to_tape): declare tok locally.
19483 1998-10-23 John R. Jackson <jrj@purdue.edu>
19485 * configure.in: disable the -E and -h dump estimate checks if $DUMP
19488 1998-10-19 John R. Jackson <jrj@purdue.edu>
19490 * server-src/amindexd.c (is_config_valid): fix core dump by moving
19491 amfree of conf_dir later in case it is needed in an error message.
19493 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19495 * server-src/reporter.c: remove declaration of curlinenum,
19496 curlog, curprog and curstr.
19498 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19500 * server-src/amflush.c (main): move declaration of diskqp from
19503 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19505 * server-src/amcheck.c (main): move declaration of mailout and
19506 tempfname from global to local.
19508 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19510 * server-src/amadmin.c (search_logfile): remove declaration
19512 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
19514 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
19517 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19519 * server-src/conffile.h: remove declaration of holdingdisks and
19520 num_holdingdisks, declare getconf_holdingdisks().
19521 * server-src/conffile.c: define getconf_holdingdisks(),
19522 * server-src/holding.c: use getconf_holdingdisks
19523 * server-src/find.c: ditto
19524 * server-src/amcheck.c: ditto
19525 * server-src/amflush.c: ditto
19526 * server-src/driver.c ditto
19528 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19530 * server-src/driver.c: remove verbose and force_parameters
19533 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19535 * server-src/dumper.c: remove declaration of pid.
19536 * server-src/dumper.c(do_dump): move declaration of runtime,
19537 dumptime, compresspid, indexpid and killerr from global to local.
19539 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19541 * server-src/planner.c: remove declaration of total_waiting and
19543 * server-src/planner.c(main): move declaration of initial_size from
19546 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19548 * server-src/driverio.h,server-src/driver.c: move declaration
19549 of big_dumpers, degraded_mode and reserved_space from
19550 driverio.h to driver.c
19552 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19554 * server-src/driverio.h (optionstr): remove declaration
19556 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19558 * configure.in (SAMBA_CLIENT): fix typo
19560 1998-10-14 John R. Jackson <jrj@purdue.edu>
19562 * restore-src/amrestore.c (read_file_header): make a couple of error
19563 messages clearer that they refer to problems with a header rather
19564 than the image data.
19566 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
19568 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
19571 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19573 * docs/INTERNALS (driver and dumper): document <dumpdate> in
19574 FILE-DUMP and PORT-DUMP request, document <chunksize> in
19577 1998-10-12 John R. Jackson <jrj@purdue.edu>
19579 * server-src/amtape.c (usage, main, show_device): apply patch from
19580 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
19581 as an option to return the drive device name as reported by the
19583 * man/amtape.8: document the new "device" option.
19584 * server-src/amverify.sh.in: use the new amtape "device" option to
19585 better handle tape changers. Overhaul for general cleanup and some
19586 security issues, plus amverify now tries to support non-tar images.
19587 * man/amverify.8.in: document non-tar image issues.
19589 1998-10-08 John R. Jackson <jrj@purdue.edu>
19591 * example/amanda.conf.in: fix runspercycle example and comments
19593 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
19595 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
19597 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
19599 * docs/SAMBA: document that --with-smbclient is no longer required
19600 to enable SAMBA support
19602 * docs/FAQ: about inconsistencies in active filesystems
19604 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19606 * docs/DUMPER-API: add `no-record' option to the `backup' command.
19608 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19610 * docs/DUMPER-API: subdivise section 3.1.
19612 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19614 * docs/DUMPER-API: New `index-<mode>' options.
19615 define `support parse-estimate' and `support parse-backup' subcommand.
19616 New 'estimate-direct', `estimate-parse', `backup-direct' and
19617 `backup-parse' options.
19618 Remove PARSE keyword from estimate and backup command.
19620 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19622 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
19625 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
19627 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
19628 generated by autoconf get into the distribution
19630 1998-10-02 Josef Karthauser <joe@pavilion.net>
19632 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
19633 for $line; the trailing `s' of slots was missing
19635 1998-10-02 John R. Jackson <jrj@purdue.edu>
19637 * server-src/amstatus.pl.in: fix error message.
19639 1998-10-02 John R. Jackson <jrj@purdue.edu>
19641 * server-src/taper.c (write_file): fix a problem with tha taper
19642 stats where the times were all the same. The wallclock_str function
19643 returns a pointer to a static area so it cannot be called more
19644 than once as an argument to a function.
19646 1998-10-01 John R. Jackson <jrj@purdue.edu>
19648 * common-src/protocol.c (parse_integer): allow negative numbers.
19650 1998-10-01 John R. Jackson <jrj@purdue.edu>
19652 * server-src/amstatus.pl.in: add timestamps.
19654 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
19656 * docs/DUMPER-API: define `support index', to be used instead of the
19657 previous `index-*' sub-commands
19659 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
19661 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
19662 backslashes for continuation; this seems to break automake :-(
19664 1998-09-30 John R. Jackson <jrj@purdue.edu>
19666 * man/amanda.8.in: minor typo in "reserve" description.
19668 1998-09-29 John R. Jackson <jrj@purdue.edu>
19670 * server-src/taper.c (end_tape): do not rewind the tape when done.
19672 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
19674 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
19675 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
19677 * amplot/Makefile.am: use them
19678 * changer-src/Makefile.am: ditto
19679 * client-src/Makefile.am: ditto
19680 * common-src/Makefile.am: ditto
19681 * man/Makefile.am: ditto
19682 * recover-src/Makefile.am: ditto
19683 * restore-src/Makefile.am: ditto
19684 * server-src/Makefile.am: ditto
19685 * tape-src/Makefile.am: ditto
19687 * Makefile.am: don't print commands that work around old aclocal bug
19689 * docs/DUMPER-API: remove environment variables, and mention a
19690 program that will help translating disklist entries to device names,
19691 mount points and filesystem types
19693 * recover-src/extract_list.c (extract_files_child): do not crash
19694 after failing to read the dump file header
19695 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
19697 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
19699 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
19700 avoid amfree of uninitialized pointer
19701 Reported by Lance A. Brown <brown9@niehs.nih.gov>
19703 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
19705 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
19706 (estimate, estimate-parse): can print `KILL' after the estimate
19708 * docs/DUMPER-API: various suggestions from Eric Siegerman
19709 <erics@now.com> and some explanations added
19711 1998-09-27 Andy Farkas <andyf@speednet.com.au>
19713 * man/amlabel.8.in (labelstr): fix typo
19715 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
19717 * recover-src/extract_list.c (extract_files_child): fix-up
19718 no_initial_params if password or domain information is not found
19719 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
19721 * docs/DUMPER-API: extended `index' to `index-from-output' or
19722 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
19723 Explained that the dumptype option `program' is the name of the
19726 1998-09-25 John R. Jackson <jrj@purdue.edu>
19728 * configure.in: fix --with-dump-honor-nodump test. Patch by
19729 Jonas Oberg <jonas@coyote.org>.
19731 1998-09-24 John R. Jackson <jrj@purdue.edu>
19733 * example/disklist: document the "spindle" and "interface" fields.
19734 Reported by Brendan M Coffey <bcoffey@connix.com>.
19736 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
19738 * docs/DUMPER-API: added draft description of the DUMPER API
19739 * Makefile.am (EXTRA_DIST): add it to the distribution
19741 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
19742 cached values for host, build and target system types match with the
19744 * configure.in: use it
19746 1998-09-23 John R. Jackson <jrj@purdue.edu>
19748 * server-src/amstatus.pl.in: sort the host and partition names.
19749 From David Wolfskill <dhw@whistle.com>.
19751 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
19753 * server-src/taper.c (getcmd): typo in last DEBUGging patch
19755 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
19757 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
19759 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
19761 * changer-src/chg-mtx.sh.in: replace rew with rewind
19762 * changer-src/chg-zd-mtx.sh.in: ditto
19763 Reported by Henning Holtschneider <hh@loca.net>
19765 * client-src/sendsize.c: remove usage of #error
19766 Reported by Jay Orr <orr@vss.fsi.com>
19768 1998-09-21 John R. Jackson <jrj@purdue.edu>
19770 * man/amanda.8.in: document the new "tapebufs" parameter.
19772 1998-09-21 Kelly Setzer <setzer@telalink.net>
19774 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
19775 (THRESHOLD): now means `empty bufs' instead of `full bufs'
19776 * server-src/conffile.c: add support for the "tapebufs" option
19777 * server-src/planner.c: ditto
19778 * examples/amanda.conf.in: add sample "tapebufs" entry
19780 * server-src/amlabel.c (main): adds entry to tapelist with date
19783 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
19785 * server-src/taper.c (getcmd): print DEBUGging output to stderr
19786 Reported by Henning Holtschneider <hh@loca.net>
19788 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
19790 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
19791 order to launch more dumper in parallel
19792 * example/amanda.conf.in (inparallel): Add the fact that it is
19793 limited by MAX_DUMPERS
19795 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
19797 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
19798 -release instead of -version_info, so as to encode the Amanda
19799 release number in the library name. Problems related with
19800 pre-installed libraries should disappear, and separate releases can
19801 now be installed into the same directory without the risk of one
19802 using libraries from the other.
19804 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
19806 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
19807 until success or timeout
19808 (ask_clean, main): use it
19810 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
19812 * client-src/selfcheck.c (check_options): don't require runtar for
19815 * client-src/rundump.c: fix support for VDUMP-only installation
19816 * client-src/selfcheck.c (check_options): fix detection of advfs
19817 * client-src/sendsize.c (getsize_dump): ditto
19818 * client-src/sendbackup-dump.c (start_backup): ditto
19819 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
19821 1998-09-16 John R. Jackson <jrj@purdue.edu>
19823 * man/amadmin.8.in: document that "hostname" is optional for "info".
19824 Reported by David Wolfskill <dhw@whistle.com>.
19826 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
19828 * docs/FAQ: common compile-time and link-time errors
19830 1998-09-11 John R. Jackson <jrj@purdue.edu>
19832 * server-src/tapefile.c (lookup_last_reusable_tape): use new
19833 calling sequence that passes how old a tape to return. Remove
19834 lookup_previous_reusable_tape().
19835 * server-src/tapefile.h (lookup_last_reusable_tape): use new
19836 calling sequence that passes how old a tape to return. Remove
19837 lookup_previous_reusable_tape().
19838 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
19840 * server-src/amcheck.c (taper_scan, start_server_check): use new
19841 lookup_last_reusable_tape calling sequence.
19842 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
19844 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
19846 * server-src/reporter.c (output_tapeinfo): use new
19847 lookup_last_reusable_tape calling sequence.
19848 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
19851 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
19853 * client-src/sendbackup-gnutar.c (re_table): ignore
19854 `load_client_codepage' message from SAMBA
19856 1998-09-11 John R. Jackson <jrj@purdue.edu>
19858 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
19859 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
19861 * man/amstatus.8.in (all): fix minor typos.
19863 1998-09-10 John R. Jackson <jrj@purdue.edu>
19865 * configure.in (LFS): add code that might support configuring large
19868 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
19870 * server-src/conffile.c (dump_configuration): runspercycle is not a
19871 member of dumptype_t
19872 (init_holdingdisk_defaults): init chunksize with documented default,
19873 not -1, because it wouldn't be recalculated
19875 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
19877 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19879 * docs/SAMBA: 1.9.18p10 has a bug
19881 1998-09-09 Terje Malmedal <tm@funcom.com>
19883 * common-src/stream.c (stream_server, stream_client): added
19884 SO_KEEPALIVE option so we get an error if the other side crashes
19886 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
19888 * configure.in (CHIO): look for chio and AC_SUBST it
19889 (MT, CHS): if not found, use just the program name
19891 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19893 * server-src/planner.c (last_level): return the last level
19894 even it is still on holding disk if reserve < 100.
19896 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
19898 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
19901 * server-src/amtape.c (show_init): no longer print `scanning'
19903 (show_init_show, current_init_all): call show_init, then print the
19904 appropriate `scanning' message
19905 Reported by David Wolfskill <dhw@whistle.com>
19907 * changer-src/chg-scsi.c (main): use new multi-configuration
19908 mechanism only if tape_device contains only a single digit
19910 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19912 * server-src/planner.c (setup_estimate): Don't write a
19913 "mismatch: no tapelist record, but curinfo next_level0" message
19914 and force a level 0 when reserve < 100.
19916 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19918 * server-src/holding.h (get_amanda_names): return a filetype_t
19920 * server-src/holding.c (get_amanda_names): return the filetype_t
19921 of the file or F_UNKNOWN if it's not an amanda file.
19922 * server-src/find.c (search_holding_disk): Use the new return
19923 type of get_amanda_names.
19924 * server-src/amflush.c (flush_holdingdisk): Don't write a
19925 "ignoring cruft file" message for chunk files,
19926 filetype is F_CONT_DUMPFILE.
19928 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19930 * recover-src/extract_list.c (extract_files_child): don't write
19931 the samba password to the debug file.
19933 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19935 * server-src/driverio.c (update_info_dumper): set inf.command to
19936 NO_COMMAND if reserve< 100 because if you force a level 0 with
19937 'amadmin force', it will do level 0 every days until you flush them
19940 1998-09-03 Matthias Urlichs <smurf@noris.net>
19942 * recover-src/uscan.l: recognize "?" as alias for "help"
19944 * configure.in (MAILER): recognize "mail" as well as "Mail" and
19947 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
19948 sizes of directories and files
19950 * client-src/amandates.c (start_amandates): create amandates if
19951 error is either EINTR or ENOENT
19953 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
19954 dying when receiving, and retrying when sending, a packet. The
19955 server may get this error when a client reboots and hasn't started
19957 * common-src/protocol.c (handle_incoming_packet): ditto
19959 * server-src/driver.c (read_schedule): catch cases when the time
19960 goes negative. Some operators have the bad habit of syncing clocks
19963 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
19965 * client-src/amandad.c (main): read the pipe from the child
19966 incrementally: the pipe buffer of many OSes is shorter than
19967 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
19969 (sigchild_jump, sigchild_flag): removed
19970 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
19971 amandad to process our data by closing our end of the pipe
19973 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
19975 * NEWS: another typo (too late :-(
19977 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19979 * server-src/driver.c: amanda will not use an holding disk
19980 if the directory with the datestamp already exist.
19982 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
19984 * Amanda 2.4.1 released
19986 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
19990 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
19992 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
19993 fixed the bug in p8; using p8 is not recommended any more
19994 * docs/SAMBA: ditto
19996 * config/config.guess: updated to libtool 1.2b's, in order to
19997 auto-detect some recent architectures
19998 * config/config.sub: ditto
20000 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
20001 sbindir; added it to PATH and removed full pathnames to binaries
20003 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
20005 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
20006 path where configure looks for vxdump and vxrestore. This is for
20007 Solaris so it can automatically handle vxfs filesystems.
20008 * client-src/sendbackup-dump.c: add missing last NULL argument to
20010 * server-src/dumper.c: add missing last NULL argument to
20012 * NEWS: reorder 2.4.1 items into most to least important for most
20014 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
20015 include systems where the Veritas filesystem is used.
20017 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
20019 * man/amanda.8.in (nofull): only level 1 incrementals
20021 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
20023 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
20025 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
20027 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
20028 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
20029 (chg-mtx): mentioned chg-zd-mtx
20031 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
20033 * changer-src/chg-zd-mtx.sh.in: new changer script for
20034 Zubkoff/Dandelion version of mtx.
20036 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
20038 * docs/SAMBA: updated; documented new patch (sambatar.diff,
20039 available in the patches page) and requirements about backup user.
20040 * docs/INSTALL: documented new patch
20042 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
20044 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
20045 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
20046 estimate from DU 4.0's dump also matches an output line from
20047 smbclient, that provides an incorrect estimate.
20048 * docs/SYSTEM.NOTES: document the problem
20050 1998-08-14 John R. Jackson <jrj@purdue.edu>
20052 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
20054 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
20056 * configure.in (--with-portrange): validate and define PORTRANGE
20057 * example/config.site: document it
20058 * config/acconfig.h (PORTRANGE): prepare for configure define
20059 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
20060 unreserved server sockets
20062 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
20064 * docs/FAQ: working around `dumps way too big'
20066 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
20068 * common-src/token.h (rxquote, shquote): new functions
20069 * common-src/token.c (rxquote) quotes a string into an equivalent
20071 (shquote): quotes all shell special meta-characters, so that a
20072 string can be safely passed down for shell interpretation in
20073 system() or popen()-like calls
20074 * server-src/amindexd.c (build_disk_table): quote the disk_name with
20075 both rxquote and shquote
20077 1998-08-11 John R. Jackson <jrj@purdue.edu>
20079 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
20080 security. Clean up and enhance logging. Fix locations of the
20081 changer files. Source the changerfile into the script so it can
20082 override the request() function and allow alternatives to /dev/tty
20083 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
20084 not give a good status report right after a tape is loaded).
20086 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
20088 * changer-src/chg-chio.pl.in: move to first slot if last is unused
20090 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
20092 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
20094 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
20096 * example/DIN-A4.ps: new file
20098 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
20100 * tape-src/tapetype.c (initrandombytes): use random() instead of
20101 rand(), its low-order bits are more random
20102 (main): call srandom(seed) instead of srand(seed)
20103 (USE_RAND): if defined, reverts to using rand() and srand(seed)
20105 * docs/FAQ: some notes about driving real tape changers
20107 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
20109 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
20111 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
20113 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
20114 even compile, as amfree() expands to a statement, not an expression,
20115 so it cannot be used as the `increment' part of a for loop.
20117 * server-src/planner.c (main): if runs_per_cycle is set to zero or
20118 negative, set it to 1, in order to avoid division by zero.
20119 * server-src/amadmin.c (balance): ditto
20121 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
20123 * client-src/sendsize.c: replace free(line) with amfree(line),
20124 because line is not ensured to be non-NULL
20126 * docs/FAQ: amandad: error receiving message
20128 * docs/FAQ: difference between skip-full and strategy nofull
20130 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
20132 * docs/FAQ: software or hardware compression?
20134 * server-src/driver.c (adjust_diskspace): do not abort just because
20135 a holding disk file is missing
20136 (main): report warning if holding disk directory could not be
20137 created, and do not use it
20138 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
20140 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
20142 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
20144 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
20145 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
20146 * server-src/driver.c (find_diskspace): accept negative chunksizes
20147 as the maximum size (in modulus) for using the holding disk
20148 * man/amanda.8.in (chunksize): document the usage of negative
20149 values, and improve the explanation of chunking
20150 * example/amanda.conf.in: ditto
20152 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
20154 * docs/FAQ: disk offline
20156 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
20158 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
20161 * server-src/amcleanup.sh.in (reporter): update to call amreport.
20162 (amdump.<n>) update to use the same renaming technique introduced in
20163 June 30's change to amdump.
20165 1998-07-25 Michael Graff <explorer@vix.com>
20167 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
20168 * client-src/Makefile.am (install-exec-hook): ditto
20169 * man/Makefile.am (install-data-hook): ditto
20170 * recover-src/Makefile.am (install-exec-hook): ditto
20171 * restore-src/Makefile.am (install-exec-hook): ditto
20172 * server-src/Makefile.am (install-exec-hook): ditto
20174 * configure.in: link krb5 and com_err in for Kerberos support, if
20177 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20179 * server-src/reporter.c (copy_template_file): add braces to
20181 * tape-src/tapeio.h: declare is_zftape to remove warning in
20182 amlabel.c and taper.c
20184 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
20186 * server-src/driver.c (any_delayed_disk): new variable, to ensure
20187 that we do not leave the main driver loop if there are delayed disks
20188 but there are no active dumpers
20189 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
20190 check whether there is any_delayed_disk for remaining in the loop
20191 (start_degraded_mode): set any_delayed_disk when needed
20192 Reported by Peter Walker <peter@talarian.com>
20194 1998-07-23 John R. Jackson <jrj@purdue.edu>
20196 * server-src/reporter.c (main): handle LPRCMD being undefined.
20198 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20200 * client-src/selfcheck.c (check_suid): new function to check if a
20201 program is SUID root.
20202 * client-src/selfcheck.c (check_overall): check that runtar and
20203 rundump are SUID root.
20205 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
20207 * configure.in: version number set to 2.4.1
20209 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
20210 libamanda, so it must be listed first
20212 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
20213 and libamanda, as they no longer provide symbols for each other
20214 * server-src/Makefile.am (LDADD): ditto
20216 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
20218 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
20219 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
20220 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
20221 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
20222 make perl4 compatible
20224 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
20226 * docs/FAQ (results missing): suggestions to work around the UDP
20229 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
20231 * docs/FAQ (amrecover): a config name may have to be specified
20232 Reported by digital messiah <dmessiah@silcon.com>
20234 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
20236 * server-src/reporter.c (main): declare optind
20238 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
20240 * configure.in: created Amanda 2.4.1 branch
20242 * example/amanda.conf.in: strategy noinc is not implemented yet
20244 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20246 * NEWS: new runspercycle keyword
20247 * server-src/conffile.h: new runspercycle keyword
20248 * server-src/conffile.c: new runspercycle keyword
20249 * server-src/amadmin.c (balance): new runspercycle keyword
20250 * server-src/planner.c (main): new runspercycle keyword
20251 * man/amanda.8.in: document new runspercycle keyword
20252 * example/amanda.conf.in: example for new runspercycle keyword
20254 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
20256 * docs/FAQ: What to do if DUMP program is not available.
20257 * client-src/selfcheck.c (check_overall): if a needed program is
20258 missing, print an error message.
20259 Reported by Klaus Hoffmann <handatalog@csi.com>
20261 * */Makefile.am: checked library version numbers, no need for update
20263 * configure.in: version number set to 2.4.1b1
20265 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
20267 * docs/FAQ: new entries: how to label tapes, (not) spanning large
20268 filesystems across tapes, how to enable index generation,
20269 overwriting selected tapes, cleaning up databases, selecting tape
20272 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
20274 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
20276 * configure.in (AC_OUTPUT): generate chg-chio.pl
20277 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
20278 * changer-src/chg-chio.c: removed, as it was confusing make
20280 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
20282 * changer-src/chg-chio.pl.in: new script, created to replace old
20283 chg-chio written in C
20284 * docs/TAPE.CHANGERS (chg-chio): document it
20285 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
20286 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
20287 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
20289 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
20291 * server-src/reporter.c (main): if no arguments are given, preserve
20292 original behavior; require config name otherwise. Perform better
20294 * example/DLT.ps (DrawHost): discard additional argument introduced
20295 in Steven Freed's modification
20296 * example/EXB-8500.ps (DrawHost): ditto
20297 * example/HP-DAT.ps (DrawHost): ditto
20299 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
20300 (driver_SOURCES) removed, no longer needed
20301 * man/Makefile.am (EXTRA_DIST): added amreport.8
20303 1998-07-08 Steven Freed <sfreed@gilasoft.com>
20305 * server-src/reporter.c (usage): new function
20306 (main): accept command-line arguments for selecting config name,
20307 output file, log file name to read from, postscript file to write
20309 (output_summary): print tape labels list, tape section numbers and
20311 * server-src/amdump.sh.in: run amreport
20312 * server-src/amflush.c (main): ditto
20314 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
20315 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
20316 * man/amreport.8.in: new file
20317 * man/Makefile.am (man_MANS): added amreport.8
20318 * example/8.5x11.ps: new file
20320 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
20322 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
20324 1998-07-07 John R. Jackson <jrj@purdue.edu>
20326 * changer-src/scsi-chio.c: move #include's so this will compile on
20327 systems without <sys/mtio.h> (e.g. AIX).
20329 1998-07-06 John R. Jackson <jrj@purdue.edu>
20331 * client-src/sendsize.c (handle_dumpline): allow the dump block
20332 count estimate to be negative. Found by Lance A. Brown
20333 <brown9@niehs.nih.gov> on NeXT.
20335 * common-src/Makefile.am, common-src/security.c: add TEST code to
20336 security.c so people can do "make security" and have a test program
20337 to track down why they are getting "access as XXX not allowed from
20340 * common-src/security.c (bsd_security_ok): allow the remote user
20341 field in .amandahosts to be empty ala .rhosts.
20343 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20345 * server-src/amcheck.c (start_server_check): report space use for
20346 holding disk if a negative value is given in the use parameter.
20348 * server-src/driver.c (main): compute holding disk space if
20349 a negative value is given in the use parameter..
20351 * man/amanda.8.in (use) : document negative use paramater for
20354 * example/amanda.conf.in (use): document negative use paramater for
20357 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
20359 * man/amanda.8.in (reserve): document it
20360 * example/amanda.conf.in (reserve, gigabytes): ditto
20361 (etimeout) negative number stands for total estimate time
20363 * NEWS: documented major changes since amanda 2.3.0.4
20365 * docs/INSTALL: refer to patch-system for editing services and
20368 * docs/FAQ: added entries for common amdump and amcheck errors
20370 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
20371 * AUTHORS: who is the Amanda Development Team
20373 1998-07-03 John R. Jackson <jrj@purdue.edu>
20375 * docs/SYSTEM.NOTES: add comment about using the variable device name
20376 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
20377 it appears to read OK, but not if you take the tape to some other
20378 system that does what you tell it. Discovered by Steve E. Khoo
20379 (steve@gordian.com).
20381 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
20383 * server-src/planner.c (setup_estimate): handle new disks with
20384 skip-full correctly.
20386 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
20387 force it to be newer on distributions.
20389 1998-07-01 John R. Jackson <jrj@purdue.edu>
20391 * server-src/driverio.h: change reserved_space to unsigned long to
20392 match free_space() and avoid a compiler warning.
20394 1998-06-30 John R. Jackson <jrj@purdue.edu>
20396 * man/amanda.8.in: fix amrecover synopsis and add a short description.
20397 Noted by Brendan M Coffey <bcoffey@connix.com>.
20399 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
20400 better. Noted by Tom.Croll@radisys.com and suggested comments from
20401 Alexandre Oliva <oliva@dcc.unicamp.br>.
20403 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
20405 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
20406 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
20407 exist, so that we only rename amdump log files that exist. This
20408 prevents too long loops in case of an infinite tapecycle.
20409 Reported by Nick Hibma <nick.hibma@jrc.it>
20411 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
20413 * common-src/security.c (bsd_security_ok): accept case mismatches
20414 when comparing hostnames and usernames from amandahosts, and assume
20415 localuser if username is missing.
20416 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
20418 Reported by Chris Shenton <chris@absinthe.shenton.org>
20420 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
20421 implies incremental dumps only.
20422 Reported by Randy Dees <rrd@amherst.com>
20424 1998-06-26 John R. Jackson <jrj@purdue.edu>
20426 * configure.in: fix BSD/OS Kerberos include file location.
20428 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
20430 * config/ltmain.sh: install official patch to libtool 1.2a
20432 * configure.in: do not set max file size for Solaris 2.6, it is no
20435 1998-06-26 Tim McNerney <mumbly@netcom.com>
20437 * common-src/fileheader.c (parse_file_header): accept missing
20438 PROGRAM in tape section header, for backward compatibility.
20440 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
20442 * server-src/amflush.c: fix mismatch arguments to error()
20444 1998-06-24 Steven Freed <sfreed@gilasoft.com>
20446 * configure.in (dump-honor-nodump): fix test for `-h' support
20448 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
20450 * example/DLT.ps: new file
20451 * example/Makefile.am (EXTRA_DIST): add DLT.ps
20453 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
20455 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
20457 * recover-src/extract_list.c (extract_files_child): handle
20458 IS_UNKNOWN dumptype as IS_DUMP
20460 * client-src/sendsize.c (getsize_dump): always create pipe for
20463 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
20466 * amplot/amplot.awk: ignore `interface-state'
20467 Reported by Peter Walker <peter.walker@talarian.com>
20469 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
20471 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
20473 * man/amrmtape.8.in: ditto
20474 Suggested by Nick Hibma <nick.hibma@jrc.it>
20476 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
20478 * server-src/amrmtape.sh.in: better error reporting for incorrect
20481 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
20483 * server-src/conffile.h (RESERVE): new keyword.
20484 * server-src/conffile.c (RESERVE): ditto.
20485 (getconf_seen): recognize "reserve" keyword.
20486 (getconf_int): return value of "reserve" keyword.
20487 (read_confline): parse "reserve" line.
20488 * server-src/driverio.h (reserved_space): new global
20489 * server-src/driver.c (main): compute holding disk space to reserve
20490 for degraded dumps.
20491 (start_degraded_mode): if we haven't hit degraded mode reservation
20492 limit, allow full dump.
20494 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
20496 * config/ltconfig: update to 1.2a
20497 * config/ltmain.sh: update to 1.2a
20498 * config/libtool/libtool.m4: update to 1.2a
20500 1998-06-17 John R. Jackson <jrj@purdue.edu>
20502 * server-src/dumper.c (write_tapeheader): comment out some variables
20503 to get rid of a compiler warning.
20505 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20507 * server-src/amadmin.c (bumpsize): write wrong equation for bump
20510 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20512 * man/amanda.8.in: add info about the chunksize parameter
20513 of the holdingdisk.
20514 * man/amanda.8.in: add info about amstatus command
20516 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
20518 * common-src/Makefile.am (libamanda_version): updated
20519 * tape-src/Makefile.am (libtape_version): updated
20520 * client-src/Makefile.am (libclient_version): updated
20521 * server-src/Makefile.am (libserver_version): updated
20523 * server-src/taper.c (read_file): if switching to the next file
20524 fails or there's no next file, do not send a `W' to taper writer.
20526 * server-src/changer.h (changer_clean): new function
20527 * server-src/changer.c (changer_clean): ditto
20529 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
20531 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
20532 tape devices, and changed some code to allow multiple drives to use
20533 their own slots. Also added support for reserverd slots.
20534 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
20535 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
20537 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
20538 until someone implements them
20539 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
20541 * docs/TAPE.CHANGERS: document new configuration file format
20542 * example/chg-scsi.conf: sample configuration file
20543 * example/Makefile.am: add chg-scsi.conf to the distribution
20544 * server-src/amtape.c: add support for `clean' command
20546 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
20548 * docs/SYSTEM.NOTES: clean-up
20550 * docs/FAQ: new file
20551 * docs/SUNOS4.BUG: removed
20552 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
20554 * example/amanda.conf.in (bumpmult): fixed equation for threshold
20555 * man/amanda.8.in (bumpsize): fix threshold example.
20556 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
20558 * server-src/logfile.c (open_log): open log file with mode 0600.
20560 * server-src/amdump.sh.in: refuse to run if either amdump or log
20562 * server-src/amflush.c (main): refuse to run if log exists.
20563 * server-src/amcheck.c (start_server_check): do not perform tape
20564 testing if amdump and/or log exist in logdir.
20566 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20568 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
20569 should not dup2( A, B ); aclose(A) when A == B
20571 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
20573 * client-src/sendsize.c (getsize_dump): use killpgrp
20574 unconditionally, so we're not bitten by setuid dump programs.
20575 * client-src/killpgrp.c: enable unconditionally.
20577 * tape-src/tapetype.c: new program: calculates tapetype parameters.
20578 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
20579 * example/amanda.conf.in: point to tapetype program.
20581 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
20583 * docs/SAMBA: added notes about (not) backing up registry files and
20585 * docs/INSTALL: point to docs/SAMBA for usage and limitations
20587 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
20589 * configure.in (amanda_cv_print_command): removed; using PRINT
20592 1998-06-07 Todd Kover <kovert@omniscient.com>
20594 * add --with-owner option to allow installed binaries to be owned
20595 by someone other than the amanda user
20597 * add GB as valid holding disk size.
20599 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20601 * server-src/amadmin.c (info): don't need to specify an host.
20603 * server-src/amadmin.c (due): new due command to write when a
20604 filesystem is due ffor next level 0 or how much days it is
20607 * server-src/amstatus.pl.in (dump_size): new function to report
20608 the size of a dump split on multiple files.
20610 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
20612 * recover-src/extract_list.c (read_buffer): write a message
20613 when amrecover timeout waiting for amrestore to send the dump.
20615 1998-06-04 John R. Jackson <jrj@purdue.edu>
20617 * client-src/getfsent.c (main): use a dynamically allocated string
20618 for the lookups since dev2rdev alters it on the fly and some systems
20619 drop core for trying to write into read only memory. Also add the
20620 capability of passing additional lookups on the command line.
20622 * common-src/Makefile.am, common-src/file.c (main),
20623 common-src/token.c (main), server-src/conffile.c (dump_configuration,
20624 main), server-src/diskfile.c (main), server-src/infofile.c (main):
20625 Clean up compiler warnings in the test programs and make them all
20628 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
20630 * amplot/amplot.sh.in: modified command line argument parsing
20631 mechanism, so as to prevent shell quoting problems and unportable
20633 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
20635 1998-06-02 John R. Jackson <jrj@purdue.edu>
20637 * server-src/amcheck.c (main), server-src/reporter.c (main): make
20638 sure internal errors, such as the mail command failing, get
20639 reported. In the case of amcheck, they go to stderr even if -m is
20640 set since there didn't seem to be anyplace better to do so and if
20641 this is running from a cron job it might get back to a real user.
20642 For reporter, the errors go to .../amdump along with everything
20643 else from the amdump script, and they should also go to .../log,
20644 except since it's reporter that's having the trouble, they probably
20645 will not make it into the mail report.
20647 1998-06-01 John R. Jackson <jrj@purdue.edu>
20649 * client-src/killpgrp.c: clean up minor compiler warnings by not
20650 building term_kill_{soft,hard} unless they are needed.
20652 * server-src/driverio.c (dumper_cmd): clean up compiler warning
20653 in printf format by forcing argument to always be long and using %ld.
20655 * server-src/driver.c: include <holding.h> to get declaration for
20656 unlink_holding_files and avoid a compiler warning.
20658 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
20659 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
20660 (add_glob, add_regex, add_file, delete_glob, delete_regex,
20661 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
20662 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
20663 for the add/delete amrecover commands. Add addx/deletex commands
20664 that use regular expressions. Support more characters in path names.
20666 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
20668 * server-src/amlabel.c (main): check argc before referencing too
20669 far into argv for "-f".
20671 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
20673 * docs/SYSTEM.NOTES: advise Linux users to use dump without
20676 * docs/INDEXING: update dumptype syntax
20678 1998-05-29 John R. Jackson <jrj@purdue.edu>
20680 * server-src/amindexd.c (uncompress_file, process_ls_dump,
20681 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
20682 descriptor leak, log the amadmin find command, fix error reporting
20683 from routines that do not generate system errors.
20684 * common-src/amanda.h: make sure errno is saved through amfree().
20686 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
20688 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
20689 * patches/tar-1.12.patch: ditto.
20691 * server-src/taper.c (endtape): do not log amount of used tape after
20692 entering degraded mode.
20694 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
20697 1998-05-28 Paul R. Johnson <prj@mit.edu>
20699 * client-src/sendbackup.c (check_status): when checking whether
20700 return status 1 is valid for dump, make sure it was *not* tar that
20703 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
20705 * man/amcheck.8.in: document new -Maddress command line flag.
20706 * server-src/amcheck.c (usage, main): add -Maddress command line
20707 flag to send mail to a specific address instead of mailto from
20710 1998-05-27 John R. Jackson <jrj@purdue.edu>
20712 * man/amrestore.8: update for host/disk/date triplets.
20713 * recover-src/extract_list.c (extract_files_setup): pass datestamp
20714 argument in new position and without -d.
20715 * restore-src/amidxtaped.c (main): remove -d checks.
20716 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
20717 leak, move datestamp to host/disk triplet and allow all to be repeated.
20719 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
20721 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
20724 * client-src/sendsize.c (getsize_dump): close the other end of
20725 killpgrp's stdin pipe before trying to kill it, because we just
20728 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
20729 supports HP/UX-like changer commands.
20731 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
20732 interface is supported.
20734 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
20737 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
20739 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
20742 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
20744 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
20745 child of sendsize, otherwise sendsize won't be able to kill it.
20747 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
20749 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
20750 vsprintf): check for these in stdlib.h
20751 (memmove): check for it in strings.h
20753 * common-src/amanda.h (memmove): fix declaration of memmove, so as
20754 to be compatible with the ones in common-src/memmove.c and
20755 regex-src/fake/memmove.c
20757 reported by Tim Potter <tpot@acsys.anu.edu.au>
20759 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
20761 * client-src/sendbackup.c (check_status): when checking whether dump
20762 returned 1, make sure it was not tar; #ifdef'ed out the code that
20763 ignores exit status 2 from gnutar (will be compiled in only if
20764 IGNORE_TAR_ERRORS is defined)
20765 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
20766 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
20767 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
20768 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
20770 1998-05-20 Tom Lear <toml@accesscom.com>
20772 * client-src/sendbackup.h (tarpid): new variable, used to check
20773 whether it is gnutar that is running
20774 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
20776 * client-src/sendbackup.c (check_status): if gnutar returns 2,
20779 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
20781 * client-src/amandad.c: set parse_errmsg when unexpected packet
20782 * recover-src/amrecover.c: overflow in clean_pathname()
20783 * recover-src/extract_list.c: add log in delete_file().
20784 small bug when call clean_pathname()
20785 * server-src/amindexd.c: ORLD command is not working
20786 * server-src/dumper.c: fixe overflow
20788 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
20790 * configure.in: do not check for MAXFILESIZE
20791 * config/acconfig.h: do not define MAXFILESIZE
20792 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
20793 * example/amanda.conf.in: ditto
20795 * server-src/driver.c (interface_state): new function; print the
20796 free bandwidth for each interface.
20797 (short_dump_state): call interface_state before holdingdisk_state
20799 * ChangeLog: renamed from CHANGES. Original entries follow.
20801 fix skip-incr handling so that reporter reports SKIPPED
20802 instead of missing result.
20803 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
20805 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
20806 new chunksize parameter in holdingdisk description of
20807 the amanda.conf file.
20808 -J-L Martineau <martineau@IRO.UMontreal.CA>
20810 an amstatus command that give the current state of a run.
20811 -J-L Martineau <martineau@IRO.UMontreal.CA>
20813 possibility to amflush multiple runs on one tape.
20814 possibility to select dump by datestamp in amrestore (-d datestamp).
20815 -J-L Martineau <martineau@IRO.UMontreal.CA>
20817 amidxtrm keep index of all active tapes as listed in tapelist file.
20818 -J-L Martineau <martineau@IRO.UMontreal.CA>
20820 the tapelist file keep every active tapes.
20821 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
20822 to keep for a long time.
20823 -J-L Martineau <martineau@IRO.UMontreal.CA>
20825 amlabel will not overwrite an amanda tape.
20826 The -f flag allow to overwriting an amanda tape.
20827 -J-L Martineau <martineau@IRO.UMontreal.CA>
20829 be consistent and use 1048576 as a dump size everyplace instead of
20830 100000 in some places (mostly cosmetic). -JJ
20832 negative numbers are now accepted in the configuration file
20835 allow a total estimate time-out to be specified. -oliva
20836 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
20838 fix amtoc behavior in case of failed reads.
20839 -Niek Rijnbout <niek@knoware.nl>
20841 index files are now stored in a directory tree ala curinfo instead
20842 of a flat namespace. -JJ
20844 amrecover will now restore files using SAMBA.
20845 -Rob Riggs <rob@devilsthumb.com>
20847 VXDUMP needs not be run as root, so it no longer enables
20848 rundump automatically. -oliva
20850 new `killpgrp' setuid-root program. It is used to kill
20851 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
20853 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
20855 fixed amrmtape so that it will delete from tapelist only the
20856 entry that corresponds to the specified tape, not others that
20857 contain the tape name as a substring.
20858 -Nick Hibma <nick.hibma@jrc.it> & oliva
20860 Added support for FreeBSD dump -h flag (honor nodump).
20861 -James E. Housley <housley@pr-comm.com>
20863 Added support for ZFTAPE on Linux.
20864 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
20866 Added support for printing tape labels.
20867 -Scott Mesches <mesches@allison.Colorado.EDU>
20869 Do not let amrecover die because of SIGPIPE if the pager terminates
20870 early during a long listing. Use the PAGER environment variable if
20871 available, else "more". -JJ
20873 Change log() calls to log_add() so it does not conflict with the math
20874 function of the same name. Replace pname global variable with two
20875 functions to set/get. Get rid of libamnolog. -JJ
20877 chg-chio was renamed to chg-scsi, and now it will support not
20878 only chio.h, but also tape changer interfaces available on
20879 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
20880 chio and HPUX are implemented.
20881 -Eric Schnoebelen <eric@cirr.com>
20883 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
20884 properly responds to -eject requests, among other things.
20885 -Eric Schnoebelen <eric@cirr.com>
20889 updated to libtool 1.2a. -oliva
20891 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
20893 add --with-owner option to optionally not have things owned by
20894 the amanda user. (meant to be in 2.4.0) -kovert
20896 only call initgroups() if it is available. -oliva
20898 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
20899 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
20901 amindexd no longer considers prefixes of hostnames as valid
20904 fix strappend2 so that it accepts a NULL first argument.
20905 -Rob Riggs <rob@devilsthumb.com>
20907 pass kerberos encryption switch to client.
20908 -Fredrik Jönsson <fjo@nada.kth.se>
20910 rename afree to amfree, to work around IRIX 6.4's afree.
20911 -oliva, reported Stephan P. Martin <smartin@schlund.de>
20913 implement `strategy skip' just like `ignore'.
20915 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
20917 amcheck now checks whether COMPRESS_PATH is executable, which
20918 would prevent server-compression and indexing from working.
20919 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
20921 fixed dump estimate regular expression for DU 4.0.
20922 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
20926 fixed memory corruption error in amtape.
20929 fixed VXDUMP support.
20930 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
20932 typos fixed in chg-chs.
20933 -David Barr <dbarr@simplex.com>
20935 chg-mtx now prints error message if tapedev or changerdev must
20937 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
20939 fixed amflush problem, reported by Dietmar Goldbeck
20940 <dietmar@telemedia.de> -oliva
20942 Version 2.4.0-980319
20944 chg-mtx should use changer-dev if specified.
20945 -Steve Khoo <steve@gordian.com>
20947 flex-related backward-compatibility problem fixed.
20948 -Norman K Scherer <nsche@seros-48.hac.com>
20950 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
20952 when amrecover starts up, it will warn you $CWD is not the root
20953 of the selected filesystem. -oliva
20955 removed all uses of #elif, because some C compilers won't
20956 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
20958 fixed VDUMP-only (no DUMP defined) estimates.
20959 -Joern Behrens <jbehren@umpa05.gwdg.de>
20961 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
20963 improved vxdump support so that rundump will be used for vxfs
20964 filesystems only, and it will be enabled automatically. -oliva
20966 various portability problems fixed.
20968 taper will now log reason for tape error to log.<DATE> file,
20969 in addition to amdump.<n>.
20970 -Liudvikas Bukys <bukys@cs.rochester.edu>
20972 amflush now correctly updates the info database. -oliva
20973 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
20975 sendsize now wait()s for tar and samba child processes. -oliva
20976 reported by Brian Morris <brian@mvhs.fuhsd.org>
20978 ensure that `amadmin find' reports multiple backups performed on
20979 the same day in the correct sequence.
20980 -Liudvikas Bukys <bukys@cs.rochester.edu>
20982 if backup server has multiple IP addresses, security code
20983 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
20985 vdump would not work. -oliva
20987 kerberos support was broken. -mike
20989 Version 2.4.0-980222
20991 retry tape open on AIX if it fails with EAGAIN errno.
20992 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
20994 fix amrmtape so that it behaves well when files to amflush
20995 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
20997 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
20999 read all output from amrestore otherwise, instead of the
21000 beginning of the next tape section, it would read garbage.
21001 -Terje Malmedal <tm@odin.funcom.com> & oliva
21003 formatting error in amoverview fixed.
21004 -Terje Malmedal <tm@odin.funcom.com>
21008 use vdump to dump advfs filesystems only. add support for vdump
21010 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
21012 change index generation commands so that they are less prone
21013 to be fooled by blanks or strange characters in filenames.
21016 check whether exclude-list file exists before calling gnutar.
21017 If it does not, log a message to debugging file and discard it.
21018 selfcheck should check for that too, and print a warning message,
21019 but this is left for a future version. -oliva
21021 fix sendbackup-gnutar crashing problem. -oliva
21023 ensure that, in case of tape failure when dumping to tape, no
21024 incremental relative to the failed backup is performed.
21025 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
21027 Fix buffer use and write() error handling in the index pipeline.
21028 -Dietmar Goldbeck <dietmar@telemedia.de>
21029 & Lars Fenneberg <lf@elemental.net>
21031 new index generation commands. -oliva
21035 accept curses and ncurses in addition to termcap for readline
21036 support, just as readline itself does. -oliva
21038 fix NO-ROOM handling when Kerberos encryption is enabled.
21039 -oliva & Eric Siegerman <erics@now.com>
21041 patch file for automake 1.2d provided. -oliva
21043 sendbackup.debug now contains the argument list of child
21046 wait() for child processes, such as server compressor, before
21047 accepting other commands.
21048 -Liudvikas Bukys <bukys@cs.rochester.edu>
21050 amrecover will print an error message if it is not run by root.
21051 It will not crash if you `pwd' before selecting a disk. -oliva
21053 updated to libtool 1.0i. -oliva
21055 fixed tape block size of vxdump on HPUX 10.20.
21056 -Andrew Ivanov <ivanov@mics.msu.su>
21058 Use "a" mode instead of "w" for the fdopen of the debug file.
21059 -David Lamkin <drl@net-tel.co.uk>
21061 allow multiple concurrent gnutar backups, by fixing amandates
21063 -Liudvikas Bukys <bukys@cs.rochester.edu>
21065 amdump should check for a hold file, as says the man-page.
21068 fix automatic enabling of USE_RUNDUMP for systems that require
21069 this. xfsdump support no longer requires USE_RUNDUMP to be
21070 defined, rundump will be enabled and used for xfs filesystems
21071 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
21072 This seems to have completely solved the xfsdump problems.
21075 when USE_RUNDUMP is enabled, instead of checking for read or write
21076 access in selfcheck, just test for the existence of disk devices.
21079 fixed code that computed the dump size when incomplete
21080 writes occurred in dumper. -Eric Siegerman <erics@now.com>
21082 amplot no longer crashes if there's no holding disk. -oliva
21086 fix xfsdump index generation command.
21087 -Robert Tarrall <tarrall@bamboo.colorado.edu>
21089 tape device wouldn't rewind if opened O_WRONLY.
21090 -Palle Girgensohn <girgen@partitur.se> & oliva
21092 use setpgid instead of setpgrp if available
21093 -Mark Woodford <woodford@uniprise.com> & oliva
21095 chg-mtx will check whether slot 6 is a cleaning tape or not.
21096 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
21098 amrmtape updated to text database. -oliva
21100 incorrect NO-ROOM error when dumping directly to tape fixed.
21103 --with-user and --with-group become are now required. -oliva
21105 patch-system script much more configurable. -oliva
21107 amindexd must get an exact match for diskname.
21108 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
21110 fix serial number message in amflush
21111 -Liudvikas Bukys <bukys@cs.rochester.edu>
21113 removed backslashes from inside macro calls.
21114 un-indented # directives.
21115 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
21117 bsd-security is now enabled by default. -oliva
21119 fixed estimate command for XFSDUMP.
21120 -Mark Radleigh <radleigh@image.ucr.edu>
21121 & Jeff Moskow <jeff@rtr.com>
21125 documented etimeout configuration option. -oliva&jrj
21127 prevent a few crashes in dumper and reporter. -jrj
21129 reporter would report the same host and disk for RESULTS MISSING.
21132 fix a few file-locking configure bugs. -oliva
21134 chg-multi updates and bugfixes.
21135 -Liudvikas Bukys <bukys@cs.rochester.edu>
21139 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
21141 New --disable-libtool configure option, for those who really don't
21142 want libraries to be installed. Shared libraries won't be
21143 built, of course. -oliva
21145 samba-related bugfixes.
21146 -Klaus Thiele <kth@becker-software.com>
21148 xfsdump, DNS and amidxtaped bugfixes. -martineau
21150 exclude-list support was broken, the filename was not copied
21151 to the gnutar argument list.
21152 -Stefan Bohm <Stefan.Bohm@rp-online.de>
21154 chg-chio still thought it was seagate-changer, and contained a
21155 few bugs. -Tim Tsai <tim@futuresouth.com>
21157 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
21161 Make sure amverify waits for the tape device to be ready before it
21162 starts reading each section. -oliva
21164 Fix amrecover so that it accepts filenames with blanks.
21165 -J. Shirk <jshirt@ksu.edu> & oliva
21167 Add a TIMEOUT config file parameter to replace the hard coded value
21168 in planner. -Daniel David Benson <bensond@ucdavis.edu>
21170 Change amrecover/amindexd/amidxtaped to require a SECURITY
21171 exchange if --with-bsd-security is enabled. It is done on a
21172 reserved port, which means amrecover must be run as root and that
21173 amindexd/amidxtaped need an entry for the incoming amrecover in
21174 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
21176 Make our internal TEXTDB the default database style for the infofile.
21177 If you wish to keep using a dbm style database use the configure
21178 option "--with-db={db,dbm,gdbm,ndbm}".
21181 Sanitise the disk name in the TEXTDB code.
21182 **NOTE** if your infofile database uses TEXTDB (which has only been
21183 available since Amanda-2.4.0b1) and you have '/'s in the
21184 first field in disklist you will need to 'amadmin export'
21185 the data using the old version of Amanda, 'mv' the old
21186 database out of the way and 'amadmin import' it back again
21187 using the new version. When you are happy with the new
21188 version you may delete the old database.
21191 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
21192 fly by trying a leading 'r' before each path element one at a time
21193 until we find a character device. This should handle all the current
21194 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
21197 Change kill logic in sendsize to try TERM first, then KILL if that
21198 does not get dump's attention. This fixes a problem on AIX 4.x
21199 where dump was always getting a KILL and leaving orphaned message
21200 queues, which would eventually run the system out of resources. -JJ
21202 Extensive buffer management, bug and defensive coding overhaul
21204 * Use proper fgets/fread/read buffer size.
21205 * Wrote agets and areads to get a line without buffer overflow
21206 and changed most gets/fgets and some read calls to use it.
21207 * Replaced all *scanf("...%s...") with explicit pointer work.
21208 * Replaced most fixed size buffers with dynamic ones. This has
21209 no doubt introduced some memory leaks.
21210 * Replaced most sprintf calls with vstralloc (new routine).
21211 * Added overflow checks to some remaining explicit buffer
21213 * Made almost all read() and write() calls into loops to handle
21214 short and broken up transfers.
21215 * Fixed potentially uninitialized fstype field.
21216 * Added more sanity checks when parsing various things, including
21217 converting some assert() calls to real code.
21218 * The pattern amtrmidx used to find old index files to delete
21219 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
21220 so no files were being deleted.
21221 * Limited the number of directories listed by amflush to 26 to
21222 avoid funny characters in the user prompt.
21223 * Changed some of the amrecover routines to soak up the rest of
21224 the continuation lines after an error.
21225 * If a dumper dies, driver still tries to send a QUIT command
21226 which fails because the file descriptor has been closed.
21227 * Wrote afree macro that calls free and then sets the pointer
21228 to NULL. Changed most free calls to afree.
21229 * Wrote aclose/afclose/apclose macros to do the associated close
21230 and then set the argument to something invalid (-1 or NULL).
21231 * Check the file descriptor before calling FD_ISSET in dumper.
21232 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
21233 * Call aclose() after FD_CLR (so the descriptor is not -1).
21235 * Added some TEXTDB support code to the infofile test program.
21236 * Set it up so -DPROTO_DEBUG could come from the compiler command
21237 line instead of having to modify the source.
21238 * Added -t command line flag code to sendbackup.c to support some
21240 * Added a test to amcheck to see if the log file is writable
21241 (if it already exists). During debugging, I keep leaving one
21242 around owned by root :-).
21243 * Changed upper limit on close loops from 255 to FD_SETSIZE.
21244 This probably needs some more study.
21247 If krb4 auth was compiled in but not enabled, clients would hang
21248 forever. -Aidan Cully <aidan@panix.com>
21250 Make sure SAMBA will not clear archive bits when performing an
21251 incremental backup, so any incremental will be a level 1.
21254 Add a LOGDIR option to amanda.conf and use it to replace the
21255 --with-logdir option to configure (this was only used for the
21256 amdump files) and the logfile option in amanda.conf. Log
21257 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
21258 Note: if there is a LOGFILE option in amanda.conf it has its
21259 filename removed and is used as the LOGDIR (eg, if you have
21260 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
21261 "logdir /usr/adm/amanda" instead). This should not cause a
21262 problem for most sites.
21265 Remove --with-dbdir option from configure. This was only used
21266 to setup things for the man pages and example files. Oh.. and
21267 amrmtape. Fix this as well.
21270 Remove --with-indexdir option from configure. This is obtained
21271 from amanda.conf at run time. Also fix things so that it *is*
21272 obtained from amanda.conf in all cases.
21275 This is no longer tested on configure.in, since it is
21276 expressly forbidden to include kernel headers under glibc,
21277 according to Matthias Urlichs <smurf@noris.de>. However, Eric
21278 Doutreleau <ed@cti.ecp.fr> said he needed to include this
21279 header file in order to build amanda on
21280 sparc-unknown-linux-gnu. -oliva
21282 It is now possible to specify a username to be used to backup
21284 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
21286 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
21287 is aborted because of tape error.
21288 -Michael C. Povel <Michael.Povel@hub.de>
21290 Amcheck checks only for the needed features.
21291 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
21293 Performance and memory-usage improvements to amrecover.
21294 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
21296 Use extended regular expressions.
21297 -Noel Hunt <noel@jpmorgan.com>
21299 Fixed regular expressions for samba support.
21300 -Brian Fernald <fernald@nsi.edu>
21302 Fixed a few bugs that caused arithmetic exceptions in planner.
21303 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
21304 <evanc@synapse.net>, scott and oliva
21306 amrecover should now be able to handle GNUtar restores.
21307 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
21308 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
21310 Ported to SINIX (Reliant Unix V5.43).
21311 -Michael Schmitz <mschmitz@iname.com>
21313 Configure now looks for large file support and will use it under
21314 Solaris 2.6 and above.
21315 -Blair Zajac <blair@gps.caltech.edu>
21317 Compatibility problems fixed for:
21318 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
21322 New changerfile and changerdev configuration keywords, that
21323 allow changer scripts to be configured in the main amanda
21324 configuration file. Each changer script has been adapted, so
21325 that it uses those flags whenever possible. Also,
21326 documentation about built-in scripts has been added to
21327 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
21328 <eric@egsner.cirr.com>
21330 --with-debugging now accepts a directory name, where debugging
21331 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
21333 Compatibility problems fixed for:
21334 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
21335 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
21336 AIX: Georg Rehfeld <georg@wmd.de>
21338 Planner would core dump if it had to delay dumps. -Georg
21339 Rehfeld <georg@wmd.de>
21341 Added patch for samba to support very long filenames. -Todd
21342 Pfaff <todd@edge.cis.mcmaster.ca>
21344 Added VXDUMP support to estimate program. -oliva & John
21345 R. Jackson <jrj@cc.purdue.edu>
21347 Fixed amflush so that it cd's to the configuration directory
21348 before invoking reporter. -oliva
21350 driver no longer opens the infofile, so a deadlock is
21351 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
21353 Fixed typo in sendbackup-dump that would prevent compilation
21354 if either xfsdump or vxdump were enabled. -oliva
21356 Debugging messages produced by sendbackup are no longer
21357 included in the dump stream. -oliva
21359 amrestore should wait for the child process to die before
21360 re-opening the tape device. -Dietmar Braun
21361 <dietmar@tin-lizzy.hig>
21365 fixed race condition in debug file open operation. -oliva and
21368 exclude-list and exclude-file are correctly handled by
21369 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
21371 fix some kerberos4 problems; no longer require low ports for
21372 kerberized connections; now use amanda@REALM instead of
21373 amanda.amanda@REALM in .klogin's. -kovert
21375 amrecover no longer depends on GNU flex library. -oliva
21377 Ensure that malloc(0) is not called. -Wolfram Schmidt
21378 <Wolfram.Schmidt@iao.fhg.de>
21380 Compression is now performed where specified, and server
21381 compress best specifications are obeyed. -oliva
21383 genversion now correctly recognizes the selected locking scheme.
21384 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
21388 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
21390 AIX's restore support added to amrecover. -David B. Anderson
21391 <dbanders@mail.physics.utah.edu>
21393 Dump process would not be killed unless it supported the -E
21394 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
21396 --with-testing now supports a trailing argument, that
21397 specifies the a string to be appended to service names. -oliva
21399 Recent versions of Samba require additional arguments so that
21400 estimates and total sizes are logged to stdout, not to syslog.
21401 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
21402 <Holzknecht@fs31.vdeh-bfi.de>
21406 Improved planner backup-delaying mechanism. -scott
21408 Concurrent estimates are now supported. -oliva
21410 Shared library support included with GNU libtool. -oliva
21412 New hard-link-based locking mechanism for operating systems
21413 that do not support standard locking system calls. -scott
21415 New configuration file format, simpler and easier to
21418 New curinfo database format that uses only text files. The
21419 old dbm format is used by default, though. -scott
21421 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
21423 Tentative HPUX vxdump support. -oliva
21425 Integrated amgetidx into dumper/sendbackup protocol. This
21426 ***breaks backward compatibility***! -oliva
21428 Have sendbackup-dump and sendbackup-gnutar list the actual
21429 program that should be used to restore a file from a backup
21430 instead of just listing restore or gtar. -blair&oliva
21432 Have configure check for the initgroups() declaration in
21433 unistd.h in addition to grp.h and sys/types.h, which is where
21434 some OSes have the declaration. -blair
21436 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
21437 were enabled. SAMBA password file can now specify workgroup
21438 and may contain comments. -oliva
21440 Fixed xfsdump support. -oliva
21442 Fixed srvcompress option. -oliva
21444 Fixed exclude/exclude-list support. -oliva
21446 Change umask to 066 before creating index file in /tmp. -oliva
21448 Fixed autoconf for gdbm on linux. -oliva
21450 configure now seeks out a few possible locations for
21451 kerberos4 includes and tries to find the correct path if
21452 the kerberos bits have been installed. It's possible for
21453 someone to just specify the root of a kerberos tree for
21454 where the bits live, as well. -kovert
21458 Have bsd_security_ok() in amandad return 1 when BSD security is
21459 not turned on. Patch from Michael C. Grant
21460 <mcgrant@rascals.Stanford.EDU>.
21462 Add a configure option, --with-db, which lets the user specify
21463 the database library to use. The available codes to look for
21464 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
21465 more length to find pairs of header files and libraries. If a
21466 header file exists and the library does not, but dbm_open() is
21467 found by linking against -lc, then that header file is used.
21468 Patch from Blair Zajac <blair@gps.caltech.edu>.
21470 Fixed bug at line 158 where selfcheck was testing that the
21471 result returned by open() was nonzero. The correct thing to do
21472 is check for non-negative values returned by open(). Changed
21473 the "ERROR" in line 169 to "OK" to prevent selfcheck from
21474 flagging the non-existence of /etc/amandapass as an error.
21475 Using "OK" in this line flags this condition as an informative
21476 statement rather than an error - which is to say this will be
21477 reported along with other errors but it isn't enough in itself
21478 to generate an error report. The reason that I think this is
21479 the right fix is because although every Amanda client is
21480 capable of backing up PCs using smbclient it isn't the case
21481 that we will back up PCs with every Amanda client. This also
21482 implies that we don't want to have /etc/amandapass files on all
21483 these machines either. If an Amanda client does have a samba
21484 "//host/share" entry in its disklist file then selfcheck will
21485 flag the non-existence of the /etc/amandapass file on line 105
21486 when it attempts to check that partition, so I believe that
21487 this is a safe fix. Patch from Michael Brantley
21488 <Michael-Brantley@deshaw.com>.
21490 Have all calls to gethostname() leave the result in character
21491 arrays of length 1025. This will make sure that gethostname
21492 behaves correctly. Patch from blair Zajac
21493 <blair@gps.caltech.edu>.
21495 Have amrecover.c include history.h or readline/history.h if
21496 configure finds it. Patch from blair Zajac
21497 <blair@gps.caltech.edu>.
21499 Have Amanda use cat if gzip and compress cannot be found. In
21500 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
21501 or UNCOMPRESS_OPT as "" since cat will look look for a file by
21502 the name of "". Place #ifdef's around code that uses any of
21503 the _OPT defines. Patch from Blair Zajac
21504 <blair@gps.caltech.edu>.
21506 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
21507 now only gets the index files from a given day. It now takes
21508 two optionally arguments <on day> or <ago days>. <on day> lets
21509 the user specify the day in one of the forms YYYYMMDD MMDD DD
21510 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
21511 days ago. Have configure look for an appropriate directory to
21512 use for the temporary files on the clients. Use /var/tmp, then
21513 /usr/tmp, and if neither of those exist, then use /tmp. Have
21514 selfcheck check if the index holding directory has enough space
21515 in it. Add a new program called sendindex which sends the
21516 index files. Add the file docs/INDEXING which describes the
21517 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
21519 Have configure set up mt to use either the -f or the -t option
21520 depending upon the operating system. Patch from Blair Zajac
21521 <blair@gps.caltech.edu>.
21523 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
21524 composed by Chris Stacey <chris@snrc.uow.edu.au>.
21526 Allow certain dumptypes to be kicked off at specific times.
21527 Add a new, optional, parameter to the dumptype description in
21528 the config file. The parameter is called "starttime" and takes
21529 one argument which is a time of day (local timezone) formated
21530 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
21531 define dumptype comp-user-2am {
21532 comment "Non-root partitions on fast machines"
21533 options compress-fast
21537 Any partitions listed in disklist with this dumptype will be
21538 fired off no earlier than 2am. If 2am today is less than 43200
21539 seconds past (12 hours ago) it will assume you meant 2am today
21540 and fire the dumps off right away. But if 2am today is more
21541 than 12 hours in the past, it will wait till 2am tomorrow.
21542 Patch from Brad Huntting <huntting@misc.glarp.com>.
21544 Totally rewrite the socket buffering code for dumper.
21545 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
21546 the check for HAVE_SO_SNDTIMEO from configure. Add a new
21547 option to configure named --enable-buffered-dump to enable this
21548 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
21550 Have amflush call setsid() to detach amflush from the
21551 controlling terminal. Patch from Ken Laprade
21552 <klaprade@harris.com>.
21554 Have configure correctly work on systems where dbm_open is in
21555 libc. Patch from Farzad Farid <farzy@sgip.fr>.
21557 Patches to amrmtape which remove C style comments and let the
21558 script remove a tape if there is only one tape in the tapelist
21559 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
21561 Sprintf formatting error in amgetidx fixed. Patch from Yossi
21562 Gottlieb <yogo@xpert.com>.
21564 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
21565 find any method of directly controlling the device, except for
21566 simply using the 'offline' mt command for advancing to the next
21567 tape. Using this method, however, I could not go beyond the
21568 last cassette (that is, to roll back to the first one). This
21569 means the device is currently being used as a simple gravity
21570 changer, only able to change forward. The chg-generic.conf
21571 should list the default tape device for all slots, disable
21572 'needeject', enable 'gravity' and enable the new option named
21573 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
21575 Update the example chg-generic.conf file to include comments
21576 that describe how to use the multieject feature of the script.
21577 Patch from Yossi Gottlieb <yogo@xpert.com>.
21579 Protocol seems to loop when a A_TIMEOUT occurs because
21580 p->reqtries was not being decremented. Problem noted by Neal
21581 Becker <neal@ctd.comsat.com>.
21583 About half the calls to gethostname() in Amanda fail to
21584 null-terminate properly. This patch makes them all
21585 consistent. In addition it updates sendbackup-dump and
21586 sendbackup-gnutar so they handle USE_FQDN is a way consistent
21587 with the amindex stuff. In particular when USE_FQDN is set,
21588 the dump clients will not truncate their hostname before
21589 putting it in the dump headers. My patches to amflush are
21590 already in the Amanda betas so amflush should be able to match
21591 up both FQDN and non-FQDN clients against FQDN and non-FQDN
21592 disklist files. I also fixed an error message that was
21593 attributed to gethostname when it actually came from
21594 getpeername. Patches from James Mathiesen
21595 <james@nyc.deshaw.com>.
21597 I have run into the problem, on a Linux system, where the first
21598 time I run configure it generates valid Makefiles and Amanda
21599 compiles without problem. If I run configure again, or I alter
21600 a Makefile.in or something which causes autoconf to be called,
21601 the resulting Makefiles are no good - the programs in
21602 server-src don't finish linking because there is no dbm
21603 library. That is, the first time through configure -lgdbm is
21604 added to LIBS but the second, and any subsequent times, it is
21605 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
21607 I've just found a bug that has prevented Amanda from running on
21608 my site for almost one week. Just after a dumper replied that
21609 it timed-out, the driver would send it another dump request.
21610 Then the driver would log to amdump an event of receiving a
21611 message from the dumper, but that message would be empty, the
21612 holding file for the requested filesystem would not exist, and
21613 driver would quit. It turned out that the problem was that
21614 dumper started to close its sockets (datafd, mesgfd and outfd)
21615 since release 2.3.0.4b3. outfd is initialized before invoking
21616 startup_dump, but it is sendbackup_response, intended to be
21617 invoked by the amandad protocol driver, that opens sockets and
21618 initializes datafd and mesgfd. If sendbackup_response is never
21619 run (because the amandad request times out), datafd and mesgfd
21620 will not be initialized, so they may contain already closed
21621 (and possibly already reopened) file descriptor numbers or
21622 still be uninitialized, containing any garbage, but usually 0
21623 --- but 0 is stdin, used for reading commands from the driver,
21624 it should not be closed! I've solved the problem by
21625 initializing them to -1 in startup_dump. Patch from Alexandre
21626 Oliva <oliva@dcc.unicamp.br>.
21628 Include declarations for select(), bind(), connect(), fread(),
21629 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
21630 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
21631 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
21632 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
21633 strftime(), strncasecmp(), system() if the system does not
21634 declare these in any header files. Patch from Blair Zajac
21635 <blair@gps.caltech.edu>.
21637 Have configure correctly substitute for DB_DIR and LOG_DIR in
21638 example/amanda.conf when --prefix was not used. Problem noted
21639 by Philippe Charnier <charnier@xp11.frmug.org>.
21641 Include seagate-changer.c from Larry D. Pyeatt
21642 <pyeatt@cs.colostate.edu>. This program was written to control
21643 the Seagate/Conner/Archive autoloading DAT drive. This drive
21644 normally has 4 tape capacity but can be expanded to 12 tapes
21645 with an optional tape cartridge. This program may also work on
21646 other drives. This program works for me under Linux with Gerd
21647 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
21648 installed as a kernel module. The kernel module is available
21650 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
21651 Since the Linux media changer is based on NetBSD, this program
21652 should also work for NetBSD, although I have not tried it. It
21653 may be necessary to change the IOCTL calls to work on other
21656 Add a new configure option, --with-group, which tells Amanda
21657 the group to install all files as. Patch from Alexandre Oliva
21658 <oliva@dcc.unicamp.br>.
21660 If --with-bsd-security was not set, then dumper would not find
21661 the amanda/udp port to use to connect to clients. Patch from
21662 Alan McIvor <alan@auck.irl.cri.nz>.
21664 The order of dump programs to search for (ufsdump, vdump, dump,
21665 backup) didn't work on AIX systems, where backup should be used
21666 but a program named dump exists on the system. Patch by Blair
21667 Zajac <blair@gps.caltech.edu>.
21669 The configure --with-mmap was not working properly since
21670 configure was using the wrong variable to see if the system had
21671 a working mmap(). Problem noted by Keith Mitchell
21672 <kmitch@weenix.guru.org>.
21676 Save the results of getchar() into int's instead of char's in
21677 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
21679 Fix sendbackup-gnutar so that it can be compiled with a K&R
21680 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
21682 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
21683 messages in amdump:
21684 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
21685 This is because Solaris 2.5 does declare SO_SNDTIMEO in
21686 sys/socket.h, but fails to setsockopt with the given
21687 arguments. Unfortunately, it is not documented, so I could not
21688 find out the correct way to do this, so I just added a test in
21689 configure to check whether SO_SNDTIMEO works as expected or
21690 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
21692 Include amplot-2.2.6 written by Olafur Gudmundsson
21693 <ogud@tis.com> into Amanda. Have amplot be configured using
21694 configure instead of amplot.conf. It will be installed if
21695 gnuplot and the version of awk configure finds can handle
21696 variable assignment from the command line. I also changed some
21697 of the command line options so that the amdump files will not
21698 be compressed unless amplot is told to do so on the command
21699 line. It also takes a new command line option, -t, which lets
21700 the user set the time of the right side of the plot. Work done
21701 by Blair Zajac <blair@gps.caltech.edu>.
21703 Made rth-changer check all system calls for valid returns.
21704 Patch by Blair Zajac <blair@gps.caltech.edu>.
21706 amrestore.c and sendbackup-common.c would do an ifdef on
21707 HAVE_GZIP, which was no longer being defined if Amanda was
21708 using gzip. Now, define HAVE_GZIP if gzip is being used.
21709 Patch by Blair Zajac <blair@gps.caltech.edu>.
21711 Include a script, amoverview, that outputs an overview of all
21712 of the backups done on all of the disks. Script written by
21713 Dave Disser <disser@sdd.hp.com>.
21715 The prototype for amname_to_fstype() is missing in
21716 createindex-dump.c when xfsdump is available. Patch from Ken
21717 Laprade <klaprade@harris.com>.
21719 Apparently SGI provides a dummy libsun.a that does not really
21720 have anything in it. I guess this tricks configure into adding
21721 it to the Makefile. Have configure not check for libsun.a on
21722 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
21724 The global variable overwrite in amcheck.c apparently is seen
21725 as a potential conflict with the overwrite() curses function
21726 which is apparently in SGI's libtermcap.a. Declaring the
21727 variable static eliminates the warning. Patch from Ken Laprade
21728 <klaprade@harris.com>.
21730 Add a new configure option, --with-fqdn, which allows Amanda to
21731 back up systems in different domains. This requires that the
21732 disklist file have the fully qualified domain names (FQDNs)
21733 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
21735 Include rundump, a setuid program that runs dump as root. This
21736 is used under OSF1 systems. Patch from Alexandre Oliva
21737 <oliva@dcc.unicamp.br>.
21739 Install setuid files executable only by the owner and group of
21740 the files. This stops other users from running these programs,
21741 making security tighter. Patch from Alexandre Oliva
21742 <oliva@dcc.unicamp.br>.
21744 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
21745 <dirent.h>. Problem noted by Keith Mitchell
21746 <kmitch@weenix.guru.org>.
21748 Amanda had a bug regarding the recent addition of support for
21749 excluding files in GNUTAR. planner and sendsize did not
21750 understand each other about empty exclusion lists, so there
21751 were failures using gnutar, as dump does not support excludes.
21752 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
21754 Fixed a problem in configure where DUMP was being set to
21755 /no/restore/available when no restore program could be found
21756 instead of setting RESTORE to this. Patch from Alexandre Oliva
21757 <oliva@dcc.unicamp.br>.
21759 Have no-changer and hp-changer check for the existence of the
21760 logging directory before trying to use it. Patch by Blair
21761 Zajac <blair@gps.caltech.edu>.
21763 Patches to have nicer looking Samba support code. Patch from
21764 Michael Zucchi <cismpz@cis.unisa.edu.au>.
21766 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
21767 Patches from Blair Zajac <blair@gps.caltech.edu>.
21769 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
21770 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
21771 Rename dupmsg to dup_msg. To keep things consistent, rename
21772 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
21773 <blair@gps.caltech.edu>.
21775 Check for the dbm_open declaration in any header file that may
21776 contain it. If it doesn't exist, then declare it and all of
21777 the other dbm_ functions. Check if struct datum is declared in
21778 any header files and if it isn't then declare it. Patch from
21779 Blair Zajac <blair@gps.caltech.edu>.
21781 Have runtar make sure that it is being invoked by the
21782 CLIENT_LOGIN user, since it is a suid executable. Patch from
21783 Alexandre Oliva <oliva@dcc.unicamp.br>.
21785 Have selfcheck check for /etc/vdumpdates if vdump is being
21786 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
21788 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
21789 by Blair Zajac <blair@gps.caltech.edu>.
21791 amadmin export produces a full version number (2.3.0.4b2, for
21792 instance), while amadmin import expects three integers
21793 separated by dots, so it fails to import an exported file by
21794 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
21796 Sendsize.c would loop forever if debugging was not turned on.
21797 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
21799 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
21800 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
21801 have too many defines floating around. Patch by Blair Zajac
21802 <blair@gps.caltech.edu>.
21804 There was a bug in selfcheck.c when Blair installed the Samba
21805 support. I deleted an extra space that was added after
21806 SAMBA_CLIENT when the command was being put together. Fix by
21807 Michael Zucchi <cismpz@cis.unisa.edu.au>.
21809 Add a needed ; to client-src/Makefile.am and
21810 server-src/Makefile.am. Patch from Alexandre Oliva
21811 <oliva@dcc.unicamp.br>.
21813 Have planner.c and amcheck.c always get the amanda port number
21814 even if BSD security is turned off. Patch by Blair Zajac
21815 <blair@gps.caltech.edu>.
21817 Change the way amgetidx caches host up/down information. It
21818 used to stralloc() a string depending on if the host was up or
21819 down. Now, create two static character arrays, one holding
21820 "down" and the other holding "up" and simply point the
21821 hostinfo->up pointer to one of the two arrays. This should
21822 save a little memory. Patch by Blair Zajac
21823 <blair@gps.caltech.edu>.
21825 The Bourne shell in FreeBSD can't handle setting IFS to : and
21826 expanding $LOCPATH:$SYSPATH. Create two new variables before
21827 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
21828 Zajac <blair@gps.caltech.edu>.
21830 Have open_fstab for BSD systems return the value of setfsent.
21831 Patch by Blair Zajac <blair@gps.caltech.edu>.
21833 Configure was searching for the dump program in the following
21834 order: ufsdump, vdump, backup, dump. On HP-UX systems,
21835 configure would find backup, which is a valid program but does
21836 not do what dump does. So switch the order of the programs to
21837 ufsdump, vdump, dump, backup. Patch by Blair Zajac
21838 <blair@gps.caltech.edu>.
21840 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
21841 Zajac <blair@gps.caltech.edu>.
21843 Have amrecover.c always declare
21844 extern char *optarg;
21846 This makes amrecover.c compile on Ultrix systems. Problem
21847 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
21849 Patch to configure to have it recognize gnutar version 1.11.2.
21850 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
21854 Have amcleanup, no-changer, and hp-changer find out where the
21855 logging directory, or amdump error file is from getconf instead
21856 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
21857 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
21859 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
21860 figures out where the curinfo files are from the amanda.conf
21861 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
21863 Include rth-changer, a tape changer script for the Robotic Tape
21864 Handling system OEM'd by Andataco (RTH-406). Script written by
21865 Erik Frederick <edf@tyrell.mc.duke.edu>.
21867 Add a new configure option called --with-pid-debug-files which
21868 has Amanda append the process ID to the debugging files placed
21869 in /tmp. The PID will not be appended unless this option is
21870 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
21872 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
21873 get compressed standard input decompressed and pass it to
21874 standard output. The configure script only recognized gzip and
21875 compress right now, so it will set UNCOMPRESS_OPT to -dc and
21876 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
21877 all of the files that make use of UNCOMPRESS_PATH to also make
21878 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
21879 <blair@gps.caltech.edu>.
21881 The readline() substitute in amrecover.c when the real
21882 readline() code is not available did not return to the caller
21883 what the user typed in. It now does so. Patch from Blair
21884 Zajac <blair@gps.caltech.edu>.
21886 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
21887 svr4net module installed, there will be a /usr/lib/libnsl.so
21888 present on the system. The configure script looks for this and
21889 tosses into the library list if it's there. It is not
21890 advisable to link against libnsl on IRIX unless you really need
21891 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
21892 it, you should use include '-lc' _before_ '-lnsl'. The reason
21893 for this is that libnsl.so also contains the SysV TI-RPC code,
21894 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
21895 2.x now uses this by default.) TI-RPC has some compatibility
21896 functions with the same names as older RPC functions, such as
21897 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
21898 with the functions in libc.so. The main place this will hose
21899 you is NIS: NIS v2 expects the underlying RPC code to use
21900 sockets, not STREAMS, and it fails if the TI-RPC symbols in
21901 libnsl.so override the RPC symbols in libc.so. Again, you
21902 don't need libnsl.so unless you're actually using STREAMS/TLI
21903 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
21904 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
21905 order to make sure the linker resolves the RPC symbol
21906 references correctly. The primary symptom of this problem is
21907 that things like getpwent(), getgrent() and getnetgrent() stop
21908 working in an NIS environment. To make a long story short: on
21909 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
21910 I haven't encountered a problem with this, but you never know.
21911 Note from Bill Paul <wpaul@ctr.columbia.edu>.
21913 Include patches to have Amanda do incrementals of gnutar based
21914 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
21916 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
21917 since no code was testing for it. Patch by Blair Zajac
21918 <blair@gps.caltech.edu>.
21920 Have configure check for the number of arguments that
21921 gettimeofday takes and have clock.c use the appropriate number
21922 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
21924 Have sendbackup-common.c include tapeio.h instead of defining
21925 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
21927 Put in more support for AIX by defining AIX_BACKUP if the
21928 system is an AIX system. Fix createindex-dump.c to pass the -B
21929 flag to restore to have it read from standard input. Problem
21930 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
21931 Zajac <blair@gps.caltech.edu>.
21933 Add a regexp for AIX 4's backup in sendbackup-dump.c and
21934 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
21936 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
21937 for and how people should not change it. Noted by Bill Paul
21938 <wpaul@ctr.columbia.edu>.
21940 Added a --with-mmap option to force the use of mmap() instead
21941 of shared memory support. Requested by wpaul@ctr.columbia.edu
21942 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
21944 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
21945 dumper.c. Looking at the kernel source, the maximum value for
21946 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
21947 (30*60)/4 == 450 seconds. This causes setsockopt() to return
21948 EDOM (Numerical argument out of domain), and again everything
21949 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
21950 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
21951 haven't extensively tested this yet, but based on eyeballing
21952 the kernel source it should work. Patch from Bill Paul
21953 <wpaul@ctr.columbia.edu>.
21955 In dumper.c:do_dump(), there is code to set the transmission
21956 timeout, receive buffer size and receive low water mark on the
21957 data socket using setsockopt(). For SO_RECVBUF, the receive
21958 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
21959 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
21960 large: dumper generates a 'no buffer space available' error
21961 and everything grinds to a halt. I took away the '*4', which
21962 reduces the size to 32767 bytes, which seems to work. I'm
21963 surprised nobody else has noticed this since it breaks SunOS
21964 Amanda servers. I can only surmise that people aren't using
21965 SunOS machines as servers these days. :) Patch from Bill Paul
21966 <wpaul@ctr.columbia.edu>.
21968 Have Amanda include either readline.h or readline/readline.h
21969 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
21971 Have --with-includes put the -I flags into $CPPFLAGS and
21972 $CFLAGS so that AC_CHECK_HEADERS will find other include
21973 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
21975 Fixed common-src/Makefile.am to put the extra libamanda.a
21976 sources into the EXTRA_libamanda_a_SOURCES variable instead of
21977 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
21979 When compiling amgetidx.c with some compilers, trigraph
21980 substitutions were being made when they should not have been.
21981 Protect the code from this. Patch from Blair Zajac
21982 <blair@gps.caltech.edu>.
21984 Test for flock support in the following order:
21985 1) POSIX fcntl file locking
21988 The common-src/flock.c file will only be used if the lockf type
21989 locking is needed on this system. Patch from Blair Zajac
21990 <blair@gps.caltech.edu>.
21992 Have Samba support compile in only if requested by the user.
21993 Patch from Blair Zajac <blair@gps.caltech.edu>.
21995 Configure was not using $CFLAGS and $CPPFLAGS when trying to
21996 calculate the select argument type. Patch from Blair Zajac
21997 <blair@gps.caltech.edu>.
21999 Updated amanda.h to include alloca.h if the system has it and
22000 if it's ok to include. Also protect more include files with
22001 #ifdefs found by configure. Patch from Blair Zajac
22002 <blair@gps.caltech.edu>.
22004 Linux does not use the raw device names to do backups.
22005 configure now checks to see if it can find a raw disk device
22006 file whose name is built from root's mount point. If it can't,
22007 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
22008 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
22009 <latta@parc.xerox.com>.
22011 Fixed const cast message from regex.c. Problem noted by Ken
22012 Laprade <klaprade@harris.com>. Patch from Blair Zajac
22013 <blair@gps.caltech.edu>.
22015 Configure was not checking for the OSF1_VDUMP #ifdef used in
22016 Amanda. It now will set OSF1_VDUMP if vdump is found on the
22017 system. However, it does not check if the system is really a
22018 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
22020 Have configure check for asm/byteorder.h for
22021 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
22024 Remove the check for libintl.h from configure. It was only
22025 being used for regex.c, which really didn't need it. Patch
22026 from Blair Zajac <blair@gps.caltech.edu>.
22028 Convert all code to K&R C by trying to compile Amanda using
22029 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
22030 the compiler can handle the volatile keyword and if it can't,
22031 #define it to empty in the config.h file. Patch from Blair
22032 Zajac <blair@gps.caltech.edu>.
22034 Move the contents of versuff.h into version.h and remove
22035 versuff.h. Add a new function called version() which returns
22036 the version string. Use version() in some of the programs.
22037 Patch from Blair Zajac <blair@gps.caltech.edu>.
22039 m88k-motorola-sysv4 systems define L_FAIL, which is used by
22040 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
22041 <blair@gps.caltech.edu>.
22043 Include amindex-1.0 from Alan McIvor. It includes these
22044 improvements over 0.3:
22045 Amrecover now provides the ability to restore files
22046 from the tapes, via the "extract" command.
22048 Support for gnutar based index generation (but not file
22051 Numerous bug fixes.
22053 Have amgetidx try to open a socket to the shell/tcp port on the
22054 remote machine and cache if it succeeds. If it connection
22055 attempt succeeds, then attempt to get the index files over from
22056 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
22058 Update patch-system to include the amidxtape service at
22059 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
22061 Configure said that the server configuration was OK and then
22062 next said it wasn't. Remove these checks. Patch from Blair
22063 Zajac <blair@gps.caltech.edu>.
22065 Fixed building Amanda for multiple architectures in
22066 subdirectories of Amanda. Problem noted by Thomas Hepper
22067 <Thomas.Hepper@icem.de>.
22071 Fix a problem with `amadmin <conf> balance' dumping core. If
22072 some disks are overdue, they are stored in the sequence array
22073 with a negative index. This has the potential to cause memory
22074 corruption, and it makes the reported balance figures not add up
22075 to the same as the total. Since overdue disks are really going
22076 to be candidated for today's backups, they are thrown in the
22077 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
22079 Add Samba client support using smbclient to Amanda. Samba must
22080 be patched with the file patches/samba-1.9.16p2.1.patch - this
22081 is a patch for 1.9.16p2 of Samba, and modifies the way the
22082 'dir' command works, and adds totals to both the dir command
22083 and the tar command, via stderr. These are used by amanda to
22084 estimate and count backup sizes. This should be installed on
22085 an amanda 'client' host, that will act as the 'samba server'
22086 host. This will most likely be the same machine as the Amanda
22087 master server. Patches from Michael Zucchi
22088 <zucchi@cis.unisa.edu.au>.
22090 Amrmtape converted from Bash to Bourne shell. Patch from Blair
22091 Zajac <blair@gps.caltech.edu>.
22093 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
22094 Patch from Blair Zajac <blair@gps.caltech.edu>.
22096 Have amdump call amgetidx and amtrmidx. Put amgetidx and
22097 amtrmidx into the libexec directory instead of the bin
22098 directory, since Amanda users will not use these by hand.
22099 Patch from Blair Zajac <blair@gps.caltech.edu>.
22101 Modified diskfile.c to match hostname in the backup header
22102 against the fully qualified domain name in disklist file,
22103 because amflush fails in a multidomain backup environment, as
22104 backup headers have only the hostname. Patch from Karl
22105 Lehenbauer <karl@neosoft.com>.
22107 Have autoconf figure out if some functions are not declared and
22108 if they are not, then declare them. Patch from Blair Zajac
22109 <blair@gps.caltech.edu>.
22111 Add security fixes to amandad.c. It now checks the forward and
22112 reverse DNS names for consistency. Added a configure option
22113 --amandahosts to use Michael's code to use .amandahosts instead
22114 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
22116 Add amverify, a simple shell script to check Amanda tapes -
22117 gnutar driven backups only. Patch from Thomas Hepper
22118 <Thomas.Hepper@icem.de>.
22120 Add the version option to amadmin (eg amadmin <conf> version).
22121 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
22123 Add the current option to amtape (eg amtape <conf> current).
22124 This let's you the label of the current tape only without using
22125 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
22127 Gnutar support for amindex added. Patch from Thomas Hepper
22128 <Thomas.Hepper@icem.de>.
22130 Calcsize supports exclude-list (gtar). The source was
22131 extracted from gnutar itself to be 100% compatible. Patch from
22132 Thomas Hepper <Thomas.Hepper@icem.de>.
22134 Calcsize checks the file type and ignores special files and
22135 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
22137 Calcsizes calculation for gnu tar archives had a bug (gtar file
22138 blocks always are a multiple of 2k). Patch from Thomas Hepper
22139 <Thomas.Hepper@icem.de>.
22141 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
22142 Now it creates this file before missing it. Patch from Thomas
22143 Hepper <Thomas.Hepper@icem.de>.
22145 `createindex-gnutar.c' added. Patch from Thomas Hepper
22146 <Thomas.Hepper@icem.de>.
22148 alloca(), strdup.c and getcwd added for those system who don't
22149 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
22151 A dirty hack for BSD based systems without sigaction(), see
22152 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
22154 Add two scripts, hp-changer and no-changer. hp-changer is a
22155 tape changer script for a HP DAT changer. Every 10th tape a
22156 taper clean runs. no-changer is a changer-like script for
22157 single tape streamer. It makes Amanda see a tape changer unit
22158 with an infinite count of tapes (and requires an operator to
22159 change the tapes :-)). Every 10 tapes the operator is
22160 recommended to insert a cleaning tape. Patch from Thomas
22161 Hepper <Thomas.Hepper@icem.de>.
22163 The version suffix adding is done with a seperate function
22164 versionsuffix() also available as standalone program. Patch
22165 from Thomas Hepper <Thomas.Hepper@icem.de>.
22167 Several files got debug support. Patch from Thomas Hepper
22168 <Thomas.Hepper@icem.de>.
22170 Added an idle type file-too-large to driver.c to avoid dumping
22171 files to the holding disk(s) which exceed the maximum file size
22172 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
22173 <Thomas.Hepper@icem.de>.
22175 Some minor bug fixes, mostly regarding missing or wrong casts
22176 confusing c compilers (shmat()/shmdt(), select()). Patch from
22177 Thomas Hepper <Thomas.Hepper@icem.de>.
22179 Genversion gives some more information. Patch from Thomas
22180 Hepper <Thomas.Hepper@icem.de>.
22182 getfsent.c and statfs.c have been cleaned up. The have to be
22183 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
22184 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
22186 Simple support if readline.a is missing. NEVER TESTED! Patch
22187 from Thomas Hepper <Thomas.Hepper@icem.de>.
22189 Linux requires libdb.a and ndbm.h to handle database files. Not
22190 really what I expected. Patch from Thomas Hepper
22191 <Thomas.Hepper@icem.de>.
22193 Here's a simple patch which fixes a problem that causes amflush
22194 to erroneously complain "ignoring cruft file" about good dump
22195 files on the holding disk, and fail to flush them to tape.
22196 This happens if your holding disk directory has a long name,
22197 and the dump file also has a long name (i.e. if you use
22198 filesystem mount points in disklist). The problem occurs if
22199 the holding directory + filename exceeds 80 bytes. The patch
22200 still leaves a length limitation, but at least it matches the
22201 size limit imposed by driver (and thus dumper & taper) of 128
22202 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
22204 Use regex.h and regex.c from
22205 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
22206 checking code in the system. This code includes re_comp and
22207 re_exec calls, so it will work on any system. Patch by Blair
22208 Zajac <blair@gps.caltech.edu>.
22210 Amadmin find reports the wrong tape file numbers after when a
22211 dump is amflush'ed to tape. Patch by Ralf Fassel
22212 <ralf@atg.venture.de>.
22214 Fix a bug where dumps of disks on the Amanda server are counted
22215 against the available network bandwidth. Patch from Marion
22216 Hakanson <hakanson@cse.ogi.edu>.
22218 Tell gnutar to not exit with a nonzero value if a read failed.
22219 This prevents backups from aborting if a file disappeared
22220 before gnutar could save it. Patch from Hal Snyder
22223 Fix dumper which can cause the entire amdump run to hang after
22224 dumper issues a "TRY-AGAIN" message to driver while dumping
22225 directly to tape. Patch from Marion Hakanson's
22226 <hakanson@cse.ogi.edu>.
22228 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
22229 problems when amanda dumps directly to tape (i.e. when holding
22230 space is full, or you're backing up a huge filesystem, etc.).
22231 The bug occurs in the way taper determines it has succeeded
22232 when doing a PORT-WRITE operation (i.e. dumping directly to
22233 tape). It used to assume that an EOF meant no more data --
22234 true if it's reading from a file, but when reading from a port
22235 (i.e. directly from a dump process), an EOF could signal
22236 abnormal exit as well as a normal one. So, I extended the
22237 protocol between driver and taper when dumping directly to tape
22238 (see dump_to_tape() in driver.c) so the taper will wait for the
22239 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
22240 taper (since driver gets OK/not-OK from the dumper) before the
22241 taper records success or failure. Note that this change
22242 affects only the PORT-WRITE case in taper. FYI, the bug
22243 resulted in the curinfo database for a failed port-dump to have
22244 the tape-label & file-number fields updated with the location
22245 of the failed dump, even though the timestamp & dump statistics
22246 still have the values of the last successful dump (the latter
22247 fields are updated by dumper itself).
22249 Patches from George Scott <George.Scott@cc.monash.edu.au> to
22250 fix the following problems in planner.c.
22251 1) Initialise total_size, total_lev0 and balanced_size. They
22252 are updated in analyze_estimates() but never initialised. Zero
22253 them before the first call.
22254 2) Remove oversize dumps. If there is a dump whose estimated
22255 size is larger than the tape the planner would tend to throw
22256 away all the other dumps and then probably generate an
22257 unworkable plan anyway. (The standard 2.2.6 planner probably
22258 tossed these dumps fairly quickly for other reasons, but my
22259 next fix made this one almost mandatory!) The fix is to drop
22260 these enormous dumps right at the begining. This shouldn't be
22261 triggered for anyone with a sane configuration.
22262 3) Promote hills. There are two ways to create a balanced
22263 cycle. The first is to fill in any holes and the second is to
22264 remove any hills. The original planner is good at doing the
22265 first but doesn't even attempt the second. A quick look at
22266 "amadmin balance" would show big hills quite clearly. This fix
22267 effectively does an "amadmin balance" and promotes a dump from
22268 one of the "hills". This type of promotion is quite
22270 - don't bother if we already plan to do any level 0 dumps
22271 - don't promote a dump if it was going to be the only level 0
22272 to be done on that run (ie, ignore hills that are only one
22274 - only promote one level 0 by this method
22275 - don't exceed tape_length
22276 The key to it is the first restriction. Large sites (with
22277 large numbers of disks and a large balanced_size) will have at
22278 least one level 0 scheduled for each day in the dump cycle and
22279 will already have a balanced cycle. This code will not
22280 activate for them. Small sites will probably not have a level
22281 0 scheduled and will benefit. The second restriction will stop
22282 Amanda from constantly promoting dumps when the schedule is as
22283 balanced as it will go. The third restriction will stop Amanda
22284 over reacting. Promoting one dump by this method would take
22285 total_lev0 larger that balanced_size. If it wouldn't then the
22286 first stage promotion didn't work like it should.
22287 4) Initialise got_estimate for all cases. This fix was from
22288 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
22289 wasn't being initialised for skipped disks. Later in the code
22290 it was being used in all cases. The fix is to move its
22291 initialisation up a few lines.
22292 5) Explicitly ignore off-line disks. If a disk is off-line
22293 when the planner is run it gets -1 for all dump sizes. These
22294 were ignored at a later stage. This fix explicitly ignores
22296 6) Ignore down machines. If a machine is down when the planner
22297 is run it guesses from historical data what the size of
22298 tonights dump is likely to be and schedules a dump anyway. The
22299 dumper then usually discovers that the machine is still down
22300 and ends up with a half full tape. Unfortunately the planner
22301 had to delay another dump because it thought that the tape was
22302 full. The fix here is for the planner to discard unavailable
22303 machines totally rather than just ignore the fact that they are
22305 7) Keep at least one total. Amanda moves level 0 dumps back to
22306 incrementals to try and fit everything onto the tape.
22307 Unfortunately if all your incrementals are too big (or your
22308 tape too small) it can move all of your level 0 dumps. This
22309 ends up being a kind of deadlock since, unless a level 0 gets
22310 done, the incrementals will not reduce in size and until the
22311 incrementals reduce in size there will not be enough room to
22312 fit in a level 0. (This is not quite accurate since a level 4
22313 dump can get bumped to a level 5 which reduces its size.
22314 However, this deadlock has happened to me and for many days in
22315 a row.) The fix is to pick on the highest priority level 0 and
22316 not let it be moved. This change will not affect users with
22317 reasonably sized tapes since Amanda would not have moved all
22318 their disks to incrementals.
22319 8) Make usage of total_lev0 consistent. "total_lev0" is a
22320 double and doesn't include tape_mark's. Make it so.
22322 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
22323 <Michael_Russell@Brown.EDU>.
22325 Fix problems with amhpfixdevs. Patch from Michael Schmitz
22326 <mschmitz@iname.com>.
22328 Have DEC OSF1 use installbsd instead of install. Patch from
22329 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
22331 Have amcontrol take the first command line argument as the
22332 configuration to use. If there are no command line arguments,
22333 then use daily. Patch from Thomas Schmeidl
22334 <schmeidl@nwp.kwu.siemens.de>.
22336 Removed --atime-preserve from sendbackup-gnutar.c so that
22337 incremental backups of filesystems will work. Patch from
22338 Alexandre Oliva <oliva@dcc.unicamp.br>.
22340 Change all #if __STDC__ to #ifdef __STDC__ for those systems
22341 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
22342 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
22344 Increase the socket buffer size, and set a low watter mark at
22345 32k. This cut the number of syscalls done to process one 32k
22346 block from dozens down to 4 (select, read, lseek, write).
22347 Patch from Brad Huntting <huntting@glarp.com>.
22349 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
22351 Add the "srvcompress" option to compress dumps on the tape host
22352 instead of on the client machines. This may be useful when a
22353 fast tape host is backing up slow clients. The patches add a
22354 dump-type option, analogous to "compress-fast" or
22355 "compress-best" - the way to use it is to create a new dumptype
22356 in your amanda.conf that includes "srvcompress" and use the new
22357 dumptype for those filesystems you wish to have compressed on
22358 the tape server. For example, in amanda.conf:
22359 define dumptype srvcomp-user {
22360 comment "Partitions on slow machines, compressed on tapehost"
22361 options srvcompress
22364 Patches from Eric Volpe <epv@panix.com>.
22366 Increase the planner timeout for one estimate from 30 seconds
22367 to 120 seconds. Patch from Michael Schmitz
22368 <mschmitz@iname.com>.
22370 The select(2) prototype on HPUX specifies 'int' as argument
22371 type of the filedescriptor arguments. All other systems I know
22372 of use 'fd_set'. This has been fixed by having configure check
22373 the argument type to select and adding casts to the select(2)
22374 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
22376 Improve the diagnostic output and increase the robustness of
22377 the system by adding better error checking on communication
22378 between taper & driver, and among the two taper processes.
22379 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
22381 Convert all flock() calls to use POSIX-style locks via the
22382 fcntl(2) call. This operation was prompted by the fact that
22383 the flock() emulation in the Amanda-provided common-src/flock.c
22384 was broken for read-only file descriptors, and the fcntl(2)
22385 locks are widely available. This patch makes it possible to
22386 have a read-only lock on the /etc/amandates file on systems
22387 which want to use it. I've built and tested the patched code
22388 on Amanda servers running on Digital Unix v3.2B (on Alpha
22389 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
22390 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
22391 NeXTstep-3.3 (NeXT hardware). Note that the patches also
22392 remove all trace of the NEED_FLOCK define, and I have removed
22393 the file common-src/flock.c from our source tree here. Patch
22394 from Marion Hakanson <hakanson@cse.ogi.edu>.
22396 For disk/filesystem names which are wider than 14 characters,
22397 have reporter print out the rightmost characters of the disk
22398 name, which is usually more meaningful in a daily backup
22399 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
22401 Lets amflush work in a wider variety of cases than was
22402 previously true (it used to work if the disklist contains only
22403 the first token of each hostname). sendbackup-dump.c and
22404 sendbackup-gnutar.c now do not trim the domain name from the
22405 host name that is sent back to the server. amflush now looks
22406 for an exact match, in the database. If it can't find one it
22407 strips the last token off the dump header hostname and keeps
22408 trying until it finds a match in the disklist or runs out of
22409 tokens. This also has the advantage that if gethostname()
22410 returns FQDNs and you specify the same FQDNs in the disklist,
22411 then amflush will always work. It will also work as long as
22412 the disklist and gethostname() on the clients return enough
22413 information to be unambiguous. Patch from James Mathiesen
22414 <james@deshaw.com>.
22416 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
22417 needs to be longer than the longest amount of time dump will
22418 not produce output. People have observed dumps taking more
22419 than 10 minutes to finish mapping some of the passes
22420 sometimes. Patch from James Mathiesen <james@deshaw.com>.
22422 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
22423 amrmtape script, which allows you to invalidate the contents of
22424 an existing backup tape within the Amanda current tape
22425 database. This is meant as a recovery mecanism for when a good
22426 backup is damaged either by faulty hardware or user error,
22427 i.e. the tape is eaten by the tape drive, or the tape has been
22428 overwritten. Blair Zajac wrote a quick little manual page for
22431 amrmtape was using the return value from amadmin and amadmin
22432 was exiting with a non-zero value, causing amrmtape to quit.
22433 Added a return 0 statement to amadmin.c. Patch from Blair
22434 Zajac <blair@gps.caltech.edu>.
22436 Went through all of the files and changed void main()'s to int
22437 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
22439 Removed the 50 tape file limit in amcleanup and amdump.
22441 createindex-dump and sendbackup-dump did not always take into
22442 account the version suffix. This is now handled. Patch from
22443 Philippe Charnier <charnier@lirmm.fr>
22445 Compile and install amrecover and amrestore as client programs,
22446 not a server program. The motovation for this is that
22447 amrecover is truly a program for all of the users on the
22448 system, while the remaining amanda programs could be used by
22449 only the system administrator. Patch from Alexandre Oliva
22450 <oliva@dcc.unicamp.br>.
22452 The program amtrmidx fails to close some of the pipes it uses,
22453 and this can lead to failure on systems with large numbers of
22454 disks with incomplete database sets, and file descriptor
22455 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
22459 Expanded the width of the DISK column from the reporter
22460 output. I like to use mount points like /export/home?? instead
22461 of device names to back up. Since the width of the disk name
22462 field from reporter's output is pretty small, I couldn't easily
22463 figure out the statistics for a particular partition. Patch
22464 from Blair Zajac <blair@gps.caltech.edu>.
22466 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
22467 handle multiple tapes better. The patch that he posted on used
22468 a hardwired value of 6 for runtapes, which I changed.
22470 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
22471 amadmin.c and amadmin.8 to let amadmin use the same disk
22472 regular expression matching as amrestore. So now "^/$" will
22473 match only the root partition, not all of the disks.
22475 Added a patch from George.Scott@cc.monash.edu.au which makes
22476 new disks and forces dump with a higher priority.
22478 Changed tools/munge to delete blank lines and the commented
22479 lines that the C preprocessor generates (i.e. # 123). We also
22480 remove the space after the = sign that can be generated by cpp
22483 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
22484 with the following patches:
22486 Fix problem so that rsh'ing on a hpux host works.
22487 Patch from Neal Becker <neal@ctd.comsat.com>. This
22488 patch includes a new #define for RSH_COMMAND, which is
22489 set to rsh in config-common.h and defined as remsh in
22492 Fix bugs in createindex-dump.c when comparing errno to
22493 EINTR. The code was using = instead of ==. Patch from
22494 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
22495 might fix some of the runaway createindex-dump
22496 processes that I have seen on my system.
22498 On my system, we use MAE which likes to generate path
22499 names with spaces in them. I patched
22500 createindex-dump.c so that filenames with spaces have
22501 the whole filename listed. Patch from Blair Zajac
22502 <blair@gps.caltech.edu>.
22504 Patch amtrmidx.c so that backups using the mount points
22505 for disks instead of the device name have the /'s
22506 replaced with _'s. Patch from Blair Zajac
22507 <blair@gps.caltech.edu>.
22511 Changed the signals being sent to xfsdump for Irix so that it
22512 will be killed without dumping a core.
22514 Fixed a typo in the definition of XFSDUMP in config.h-irix.
22516 Removed the extra option.s-* and copied options.h to
22519 Moved the amrestore manual page into the man directory so it
22520 would get installed.
22524 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
22525 installed. amindex generates an index of all of the files that
22526 were dumped. It is nice to see what files were dumped before
22527 you restore a whole bunch of tapes looking for a file. I
22528 patched some of this code. Here are some of the changes:
22530 Switched the Imakefile to Makefile and Makefile.in to
22531 be more consistent with the system used by the rest of
22534 Moved the configuration #defines out of the specific
22535 files (such as amrecover.c) into options.h, so that
22536 people installing this version of amanda would be able
22537 to see the required changes more easily and not have to
22538 edit multiple files.
22540 Made some changes to the codes to remove #include's
22541 where amanda.h would include them and also check if the
22542 system had the particular include file.
22544 Added code to set_commands.c and amgetidx.c to change
22545 /'s in disk names to _'s.
22547 Added code to amrecover.c to properly compile on
22550 With the -Xc compiler option on Solaris and with
22551 amindex, the sigaction structure was not being
22552 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
22553 that sigaction would be declared.
22555 I changed a bunch of fprintf to perrors.
22557 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
22560 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
22562 Installed Ken Laprade's <klaprade@harris.com> patches for
22563 amanda to handle both EFS and XFs file systems on the same
22564 client. The only change from his patch is to #ifdef XFSDUMP
22565 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
22566 on other systems, while SIGQUIT will be used on Irix systems.
22568 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
22569 the main config file to include subsidiary config files.
22571 On Solaris, sometimes the hdr->handle variable in amandad.c
22572 would be null, causing core dumps when it was used in a sprintf
22573 statement. The code now checks if hdr->handle is null and
22574 prints a "" if it is null. This was only done in amandad.c.
22576 Fix a problem where new disks would be added but not backed up
22577 concurrently. Changes to diskfile.c. I forgot who put this
22578 patch up on the mailing list.
22580 I made some changes to options.h to allow the user to more
22581 easily install the programs under a different user. This meant
22582 defining two new #defines, MK_AMANDA_USER and
22583 MK_QUOTED_AMANDA_USER which are used in the appropriate
22586 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
22587 for multiple tapes.
22589 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
22590 script to automatically figure out which kind of HP-UX file
22591 system is being dumped. Look in tools for the script and a