1 2010-05-28 Dan Locks <dwlocks@zmanda.com>
2 * VERSION: Update for release
4 2010-05-28 Dan Locks <dwlocks@zmanda.com>
5 * packaging/Makefile.am: include common in EXTRA_DIST
7 2010-05-28 Dan Locks <dwlocks@zmanda.com>
9 2010-05-27 Jean-Louis Martineau <martineau@zmanda.com>
10 * server-src/find.c: Don't report taper line with filenum=0.
12 2010-05-27 Dustin J. Mitchell <dustin@zmanda.com>
13 * installcheck/taper.pl: test for a new write after EOM without
15 * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
16 this condition and switching to a new volume appropriately
18 2010-05-26 Dustin J. Mitchell <dustin@zmanda.com>
19 * installcheck/Amanda_Device.pl: cast port to integer
21 2010-05-26 Dustin J. Mitchell <dustin@zmanda.com>
22 * installcheck/Amanda_Device.pl: exit harder, to avoid cleanup
24 2010-05-25 Dustin J. Mitchell <dustin@zmanda.com>
25 * perl/Makefile.am: add libamxfer as a dependency of libamglue
27 2010-05-25 Dustin J. Mitchell <dustin@zmanda.com>
28 * installcheck/amtapetype.pl: use force for subsequent runs
30 2010-05-25 Dustin J. Mitchell <dustin@zmanda.com>
31 * device-src/amtapetype.pl: close and re-open devices between tests
32 * man/xml-source/amtapetype.8.xml: fix -f docs
34 2010-05-21 Jean-Louis Martineau <martineau@zmanda.com>
35 * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
36 with level if NDMP9_ILLEGAL_STATE_ERR.
38 2010-05-21 Dustin J. Mitchell <dustin@zmanda.com>
39 * device-src/amtapetype.pl: get the block_size property earlier
40 * device-src/device.c: allow property_get after a DEVICE_ERROR
42 2010-05-21 Jean-Louis Martineau <martineau@zmanda.com>
43 * server-src/driver.c: Always report "taperflush criteria not met".
45 2010-05-21 Dustin J. Mitchell <dustin@zmanda.com>
46 * installcheck/Amanda_Changer.pl: test more configs
47 * man/xml-source/amanda.conf.5.xml: point users to
49 * perl/Amanda/Changer.pm: support either tpchanger or
50 tapedev in changer defs
52 2010-05-19 Jean-Louis Martineau <martineau@zmanda.com>
53 * application-src/amsamba.pl: filter "Server not using user level ..."
55 2010-05-19 Jean-Louis Martineau <martineau@zmanda.com>
56 * server-src/amtape.pl (inventory): print barcode from unknown state.
58 2010-05-19 Jean-Louis Martineau <martineau@zmanda.com>
59 * perl/Amanda/Application.swg (default_validate): Use sysread.
61 2010-05-18 Dustin J. Mitchell <dustin@zmanda.com>
62 * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
65 2010-05-17 Dustin J. Mitchell <dustin@zmanda.com>
66 * server-src/amfetchdump.pl: use syswrite so the filehandle gets
69 2010-05-17 Dustin J. Mitchell <dustin@zmanda.com>
70 * installcheck/Amanda_Device.pl: use IO::Socket::INET instead of
73 2010-05-17 Dustin J. Mitchell <dustin@zmanda.com>
74 * perl/Amanda/Changer/ndmp.pm: add verbose property
75 * installcheck/Amanda_Changer_ndmp.pl: use it
77 2010-05-14 Jean-Louis Martineau <martineau@zmanda.com>
78 * server-src/dumper.c: Handle indirecttcp.
80 2010-05-14 Jean-Louis Martineau <martineau@zmanda.com>
81 * client-src/sendbackup.c: Handle indirecttcp.
83 2010-05-14 Dustin J. Mitchell <dustin@zmanda.com>
84 * device-src/ndmp-device.c: add indirecttcp support
85 * installcheck/Amanda_Device.pl: test it lightly
87 2010-05-14 Dustin J. Mitchell <dustin@zmanda.com>
88 * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
89 window_offset to mover_get_state
90 * device-src/ndmp-device.c: insert corresponding NULLs
92 2010-05-13 Jean-Louis Martineau <martineau@zmanda.com>
93 * server-src/amcheckdump.pl: Check subprocess exit status and print
96 2010-05-13 Jean-Louis Martineau <martineau@zmanda.com>
97 * common-src/amcryptsimple.pl: Exit on error if gpg fail.
99 2010-05-13 Jean-Louis Martineau <martineau@zmanda.com>
100 * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
102 2010-05-13 Jean-Louis Martineau <martineau@zmanda.com>
103 * application-src/amgtar.c: fix exclude-file.
105 2010-05-12 Dustin J. Mitchell <dustin@zmanda.com>
106 * installcheck/Amanda_Device.pl: add regression test
107 * device-src/tape-device.c: set self->fd to -1 when closing; add
108 better error messages
110 2010-05-11 Dan Locks <dwlocks@zmanda.com>
111 * packaging/common/substitute.pl: added. contains much machinery not
112 yet used in packaging.
113 * packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
114 %%DATE%% macros which are expanded by substitute.pl.
115 * packaging/deb/changelog: renamed to above
116 * packaging/deb/rules: fix stray configure option
117 * packaging/deb/buildpkg: adjust to use substitute.pl instead of
118 figuring VERSION out directly.
120 2010-05-10 Jean-Louis Martineau <martineau@zmanda.com>
121 * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
123 2010-05-07 Jean-Louis Martineau <martineau@zmanda.com>
124 * common-src/security-util.c; Use global buffer for
125 security_stream_read_sync.
126 * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
127 returnned by security_stream_read_sync.
129 2010-05-07 Dustin J. Mitchell <dustin@zmanda.com>
130 * device-src/rait-device.c: fix assertion failure when a child device
132 * perl/Amanda/Changer/rait.pm: add support for braced drive specs
133 * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
134 for an eject operation
135 * man/xml-source/amanda-changers.7.xml: document rait changer drive
138 2010-05-06 Jean-Louis Martineau <martineau@zmanda.com>
139 * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
140 for restore, escape the non glob include and exclude.
141 * client-src/client_util.h: Add include_list_glob and exclude_list_glob
142 to backup_support_option_t.
143 * client-src/client_util.c: Parse new support option.
144 * man/xml-source/amgtar.8.xml: Ducument new properties.
145 * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
148 2010-05-06 Jean-Louis Martineau <martineau@zmanda.com>
149 * installcheck/taper.pl: Fix installcheck for previous patch.
151 2010-05-06 Jean-Louis Martineau <martineau@zmanda.com>
152 * server-src/taper.pl: prepend "CONFIG:" to the error message if it
153 is an error because of a configuration setting.
154 * perl/Amanda/Report/human.pm: Don't report such error.
156 2010-05-05 Dustin J. Mitchell <dustin@zmanda.com>
157 * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
160 2010-05-05 Dustin J. Mitchell <dustin@zmanda.com>
161 * device-src/s3-device.c: fix several fatal flaws in the
162 read_block implementation
164 2010-05-05 Dustin J. Mitchell <dustin@zmanda.com>
165 * perl/Amanda/Report/human.pm: don't assume parts are defined
167 2010-05-04 Dustin J. Mitchell <dustin@zmanda.com>
168 * server-src/amvault.pl: add an --autolabel option to allow control
169 over which tapes are overwritten
170 * man/xml-source/amvault.8.xml: document it
172 2010-05-04 Jean-Louis Martineau <martineau@zmanda.com>
173 * common-src/security-util.c: Free packet on close.
175 2010-05-03 Dustin J. Mitchell <dustin@zmanda.com>
176 * common-src/glib-util.c: reorgnize glib_init to be compatible with
179 2010-05-03 Jean-Louis Martineau <martineau@zmanda.com>
180 * server-src/disk_history.c: Keep all parts.
182 2010-05-03 Dustin J. Mitchell <dustin@zmanda.com>
183 * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
185 2010-05-03 Dustin J. Mitchell <dustin@zmanda.com>
186 * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
188 * device-src/ndmp-device.c: add extra assertion
189 * device-src/xfer-device.h device-src/xfer-source-recovery.c
190 installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
191 perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
192 * perl/Amanda/Recovery/Clerk.pm: call use_device
194 2010-04-30 Dustin J. Mitchell <dustin@zmanda.com>
195 * installcheck/Amanda_Changer_robot.pl: fix installchecks
196 to pass after previous change
198 2010-04-29 Jean-Louis Martineau <martineau@zmanda.com>
199 * perl/Amanda/Changer/robot.pm: Default state file is in
200 $localstatedir/amanda
201 * man/xml-source/amanda-changers.7.xml: Document new location.
203 2010-04-29 Jean-Louis Martineau <martineau@zmanda.com>
204 * device-src/directtcp-connection.c: Typo.
206 2010-04-27 Jean-Louis Martineau <martineau@zmanda.com>
207 * server-src/amreport.pl: Print "FAIL" in email subject header if run
209 * installcheck/amreport.pl: Test it.
211 2010-04-27 Paul C. Mantz <pcmantz@zmanda.com>
212 * perl/Amanda/Report/human.pm: better per-tape stat labels
213 * installcheck/amreport.pl: updated tests
215 2010-04-27 Jean-Louis Martineau <martineau@zmanda.com>
216 * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
218 2010-04-27 Dustin J. Mitchell <dustin@zmanda.com>
219 * VERSION: 3.1.0beta2
221 2010-04-27 Dustin J. Mitchell <dustin@zmanda.com>
222 * server-src/planner.c: change degraded-mode messages to make more
225 2010-04-26 Jean-Louis Martineau <martineau@zmanda.com>
226 * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
227 changer have no inventory.
229 2010-04-26 Jean-Louis Martineau <martineau@zmanda.com>
230 * perl/Amanda/Recovery/Scan.pm: Use default change if message is
232 * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
235 2010-04-26 Dustin J. Mitchell <dustin@zmanda.com>
236 * perl/Amanda/Taper/Scribe.pm: give total time from
237 dump start to dump end as total_duration
238 * server-src/taper.pl: use total_duration
240 2010-04-26 Jean-Louis Martineau <martineau@zmanda.com>
241 * server-src/planner.c: Do not promote if no full estimate.
243 2010-04-26 Paul C. Mantz <pcmantz@zmanda.com>
244 * installcheck/Amanda_Report.pl: changed part to partnum
246 2010-04-23 Jean-Louis Martineau <martineau@zmanda.com>
247 * server-src/amcheckdump.pl: Check all process status.
249 2010-04-23 Paul C. Mantz <pcmantz@zmanda.com>
250 * server-src/amreport.pl perl/Amanda/Report.pm
251 perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
252 perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
253 location of tape parts in Amanda::Report
254 * installcheck/Amanda_Report.pl: installchecks
256 2010-04-23 Jean-Louis Martineau <martineau@zmanda.com>
257 * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
258 * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
259 * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
261 2010-04-23 Jean-Louis Martineau <martineau@zmanda.com>
262 * ndmp-src/ndml_nmb.c: Don't log successful halt.
263 * server-src/dumper.c: Don't log no-op command.
265 2010-04-23 Dustin J. Mitchell <dustin@zmanda.com>
266 * device-src/xfer-dest-taper-splitter.c: fix assertion failure
267 reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
269 2010-04-23 Dustin J. Mitchell <dustin@zmanda.com>
270 * server-src/taper.pl: don't use IO::Socket, as it is badly broken
271 and not thread-safe on Solaris 8
272 * xfer-src/element-glue.c: add debugging checks
274 2010-04-22 Jean-Louis Martineau <martineau@zmanda.com>
275 * server-src/amcleanup.pl: Fix running command with system.
277 2010-04-22 Jean-Louis Martineau <martineau@zmanda.com>
278 * example/Makefile.am: fix 'make clean' to not erase source files.
280 2010-04-22 Dustin J. Mitchell <dustin@zmanda.com>
281 * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
282 Jean-Francois Malouin
284 2010-04-22 Paul C. Mantz <pcmantz@zmanda.com>
285 * perl/Amanda/Report/xml.pm: use bytes as data unit
287 2010-04-22 Paul C. Mantz <pcmantz@zmanda.com>
288 * perl/Amanda/Report/xml.pm: tries need to show all programs
290 2010-04-22 Jean-Louis Martineau <martineau@zmanda.com>
291 * perl/Amanda/Changer/ndmp.pm: $conn = undef
293 2010-04-21 Dustin J. Mitchell <dustin@zmanda.com>
294 * server-src/amlabel.pl: add warning when the old label is in the
297 2010-04-19 Jean-Louis Martineau <martineau@zmanda.com>
298 * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
301 2010-04-16 Dustin J. Mitchell <dustin@zmanda.com>
302 * server-src/amadmin.c: show all custom compression/encryption options
304 * man/xml-source/amanda.conf.5.xml: document undocumented params
306 2010-04-15 Dustin J. Mitchell <dustin@zmanda.com>
307 * server-src/amcleanup.pl: don't fail when run with no args
309 2010-04-15 Paul C. Mantz <pcmantz@gmail.com>
310 * perl/Amanda/Curinfo/Info.pm: fixed header parsing
311 * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
312 * installcheck/Amanda_Curinfo.pl: installchecks
314 2010-04-15 Dustin J. Mitchell <dustin@zmanda.com>
315 * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
317 2010-04-14 Jean-Louis Martineau <martineau@zmanda.com>
318 Satya Ganga <gsat@zmanda.com>
319 * application-src/amsamba.pl: Fix use of include/exclude list.
321 2010-04-14 Jean-Louis Martineau <martineau@zmanda.com>
322 * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
324 2010-04-13 Dustin J. Mitchell <dustin@zmanda.com>
325 * common-src/conffile.c: fix derived value for autolabel
327 2010-04-13 Dustin J. Mitchell <dustin@zmanda.com>
328 * man/xml-source/amanda-applications.7.xml: info about properties
329 * man/xml-source/amanda-devices.7.xml: info about properties
330 * man/xml-source/amanda-scripts.7.xml: info about properties
331 * man/xml-source/amzfs-snapshot.8.xml: fix typo
333 2010-04-13 Dustin J. Mitchell <dustin@zmanda.com>
334 * NEWS: add info about deprecations in 2.6.1
335 * man/xml-source/amanda-compatibility.7.xml: update manpage to
338 2010-04-13 Paul C. Mantz <pcmantz@zmanda.com>
339 * server-src/amreport.pl: load holding disk before making report
340 * perl/Amanda/Report/human.pm: report holding disk correctly
341 * installcheck/amreport.pl: installcheck
343 2010-04-13 Jean-Louis Martineau <martineau@zmanda.com>
344 * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
345 Always log NOTIFY_DATA_HALTED.
347 2010-04-12 Jean-Louis Martineau <martineau@zmanda.com>
348 * perl/Amanda/Report/human.pm: typo.
350 2010-04-12 Jean-Louis Martineau <martineau@zmanda.com>
351 * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
352 * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
353 * perl/Amanda/Report/human.pm: Print taper error message.
354 * server-src/find.c: Set current_label to "".
356 2010-04-08 Paul C. Mantz <pcmantz@zmanda.com>
357 * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
358 which search the logdir instead of the tapelist
359 * perl/Amanda/Logfile.pod: documentation
360 * server-src/amreport.pl: use find_latest_log insted of find_log
362 2010-04-08 Dustin J. Mitchell <dustin@zmanda.com>
363 * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
364 eliminate reference loops created by use of %subs
365 * perl/Amanda/MainLoop.pod: document it
366 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
367 installcheck/Amanda_Changer_disk.pl
368 installcheck/Amanda_Changer_multi.pl
369 installcheck/Amanda_Changer_ndmp.pl
370 installcheck/Amanda_Changer_rait.pl
371 installcheck/Amanda_Changer_robot.pl
372 installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
373 installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
374 installcheck/Amanda_Recovery_Scan.pl
375 installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
376 installcheck/amfetchdump.pl installcheck/amidxtaped.pl
377 installcheck/amlabel.pl perl/Amanda/Changer.pm
378 perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
379 perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
380 perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
381 perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
382 server-src/amcheck-device.pl server-src/amfetchdump.pl
383 server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
384 server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
386 2010-04-08 Jean-Louis Martineau <martineau@zmanda.com>
387 * config/automake/scripts.am: comment double quote 'use lib'.
389 2010-04-08 Jean-Louis Martineau <martineau@zmanda.com>
390 * application-src/amsamba.pl: Use tarmode.
392 2010-04-08 Jean-Louis Martineau <martineau@zmanda.com>
393 * recover-src/amrecover.c: Print to debug what is sent to amindexd.
394 * recover-src/uparse.y: Parse setdate correctly.
396 2010-04-08 Jean-Louis Martineau <martineau@zmanda.com>
397 * ndmp-src/ndma_comm_dispatch.c:
398 Comment "Second add_dir entry is non-conforming".
400 2010-04-08 Dustin J. Mitchell <dustin@zmanda.com>
401 * server-src/planner.c: fix two bugs that caused planner to generate a
402 bogus schedule; remove a redundant assignment
404 2010-04-07 Dan Locks <dwlocks@zmanda.com>
405 * packaging/rpm/amanda.spec: specify mandir explicitly to work around
408 2010-04-07 Paul C. Mantz <pcmantz@zmanda.com>
409 * server-src/amreport.pl perl/Amanda/Report.pm
410 perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
411 perl/Amanda/Report/xml.pm installcheck/amreport.pl
412 installcheck/Amanda_Report.pl: taped segments called parts, not chunks
414 2010-04-07 Jean-Louis Martineau <martineau@zmanda.com>
415 * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
417 2010-04-07 Dustin J. Mitchell <dustin@zmanda.com>
418 * config/amanda/userid.m4: CHECK_USERID conditional
419 * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
420 * installcheck/Makefile.am: use it
422 2010-04-07 Jean-Louis Martineau <martineau@zmanda.com>
423 * server-src/amcheck.c: Don't exit on match_disklist error.
424 * server-src/diskfile.c (match_disklist): Generate better message for
425 strategy "skip" or ignore dle.
427 2010-04-06 Jean-Louis Martineau <martineau@zmanda.com>
428 * recover-src/extract_list.c: Set restore_dir to NULL.
430 2010-04-06 Paul C. Mantz <pcmantz@zmanda.com>
431 * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
432 * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
433 NDMP$_LOG_* messages for testing
435 2010-04-05 Jean-Louis Martineau <martineau@zmanda.com>
436 * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
439 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
440 * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
441 * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
442 loading slot 'current'
443 * installcheck/Amanda_Taper_Scan_traditional.pl: test it
445 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
446 * server-src/amidxtaped.pl: send changer error with MESSAGE
447 * installcheck/amidxtaped.pl: test for it
449 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
450 * config/amanda/version.m4: be resilient to all but the first
451 digit of the version number missing
453 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
454 * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
455 reference loop in %subs (interim solution -- this arrangement
458 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
459 * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
460 every Interface operation, so that objects are not unreffed
461 during Perl's global cleanup.
463 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
464 * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
465 * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
466 search failure; check for failure before printing "slot N"
468 * server-src/amcheck-device.pl: implement new user_msg_fn key
469 to print expected volume on failure
471 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
472 * perl/Amanda/Device.pod: document that finish() can be called even
473 if start() was not, to release resources
474 * device-src/ndmp-device.c: implement
475 * device-src/tape-device.c: implement
476 * perl/Amanda/Changer.pm: always finish() a device in $res->release()
478 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
479 * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
480 * installcheck/Makefile.am: add util
482 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
483 * server-src/infofile.c: use %lld in scanning instead of %jd,
484 since Solaris 8 doesn't have %j support; also fix handling
487 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
488 * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
489 DEVICE_STATUS_DEVICE_BUSY
491 2010-04-05 Dustin J. Mitchell <dustin@zmanda.com>
492 * perl/Amanda/Changer.pm: check $err->failed before returning reason
494 2010-04-02 Paul C. Mantz <pcmantz@zmanda.com>
495 * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
496 * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
497 * installcheck/amreport.pl: installchecks
499 2010-04-02 Paul C. Mantz <pcmantz@gmail.com>
500 * server-src/amreport.pl: accepts and ignores disk args in script mode
501 * installcheck/amreport.pl: checks
503 2010-04-02 Dustin J. Mitchell <dustin@zmanda.com>
504 * perl/Amanda/Util.pod: correct inaccurate claims in burp
506 2010-04-02 Dustin J. Mitchell <dustin@zmanda.com>
507 * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
510 2010-04-02 Jean-Louis Martineau <martineau@zmanda.com>
511 * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
513 2010-04-01 Jean-Louis Martineau <martineau@zmanda.com>
514 * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
515 * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
516 * installcheck/amrecover.pl: Check 'localhost' hostname,
517 remove '^' from expect regex
518 * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
520 2010-04-01 Dustin J. Mitchell <dustin@zmanda.com>
521 * application-src/ampgsql.pl: check permissions on archive dir, and
522 fail selfcheck if they are not sufficient. Also implement the
523 wal-max-wait=0 that's already documented
524 * man/xml-source/ampgsql.8.xml: document required permissions
526 2010-03-31 Dustin J. Mitchell <dustin@zmanda.com>
527 * installcheck/amrecover.pl: fix diag()
529 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
530 * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
531 * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
533 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
534 * config/set_full_version: fix.
535 * config/amanda/config.m4: fix.
537 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
538 config/amanda/config.m4: Use -a.
540 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
541 * config/set_full_version: Use -a.
543 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
544 * config/set_full_version: Use grep.
546 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
547 config/Makefile.am: Add set_full_version to EXTRA_DIST.
548 * config/set_full_version: Add the file.
550 2010-03-31 Jean-Louis Martineau <martineau@zmanda.com>
551 * config/set_full_version: New script to update FULL_VERSION from
553 * autogen: Execute config/set_full_version
554 * Makefile.am: Add dependencies to execute set_full_version if VERSION
555 change, and to re-run configure if FULL_VERSION change.
556 * config/amanda/version.m4: Use FULL_VERSION.
557 * packaging/deb/buildpkg: Use FULL_VERSION.
558 * packaging/rpm/amanda.spec: Use FULL_VERSION.
559 * packaging/rpm/buildpkg: Use FULL_VERSION.
561 2010-03-30 Dustin J. Mitchell <dustin@zmanda.com>
562 * installcheck/Installcheck/Run.pm: be selective in import from POSIX
563 * server-src/amvault.pl: fix duplicate variable
565 2010-03-30 Dustin J. Mitchell <dustin@zmanda.com>
566 * Makefile.am: add VERSION to EXTRA_DIST
567 * config/amanda/version.m4: use $srcdir/VERSION
569 2010-03-30 Jean-Louis Martineau <martineau@zmanda.com>
570 * VERSION: 3.1.0beta1.
571 * configure.in: Call AMANDA_VERSION.
572 * config/amanda/version.m4: Add AMANDA_VERSION.
573 * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
575 2010-03-29 Dustin J. Mitchell <dustin@zmanda.com>
576 * configure.in: update to rc19
578 2010-03-30 Jean-Louis Martineau <martineau@zmanda.com>
579 * server-src/driver.c: Retry direct to tape all aborted dump because
580 of missing holdingdisk space.
582 2010-03-29 Dustin J. Mitchell <dustin@zmanda.com>
583 * configure.in: update to rc18
585 2010-03-29 Paul C. Mantz <pcmantz@zmanda.com>
586 * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
588 2010-03-28 Dustin J. Mitchell <dustin@zmanda.com>
589 * installcheck/Installcheck/Run.pm: catch signal exits too
590 * installcheck/Makefile.am installcheck/amvault.pl: basic amvault
593 2010-03-28 Dustin J. Mitchell <dustin@zmanda.com>
594 * server-src/amvault.pl: update with Changer and Catalog API changes
596 2010-03-26 Dan Locks <dwlocks@zmanda.com>
597 * configure.in: update to rc17
599 2010-03-26 Dustin J. Mitchell <dustin@zmanda.com>
600 * installcheck/Makefile.am: don't run amrecover test under
603 2010-03-26 Dustin J. Mitchell <dustin@zmanda.com>
604 * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
605 errors, e.g., "file changed as we read it"
607 2010-03-26 Dustin J. Mitchell <dustin@zmanda.com>
608 * installcheck/amrecover.pl: fix stupid error in installcheck
610 2010-03-26 Dustin J. Mitchell <dustin@zmanda.com>
611 * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
612 to force WAL file archives on ancient postgres versions
613 * installcheck/ampgsql.pl: don't skip tests on ancient versions
615 2010-03-26 Dustin J. Mitchell <dustin@zmanda.com>
616 * common-src/Makefile.am common-src/match-test.c: test (some) match
618 * common-src/match.c: add make_exact_disk_expression and
619 make_exact_host_expression
620 * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
621 * installcheck/Makefile.am installcheck/amrecover.pl: new integration
623 * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
624 make_exact_.. functions
625 * common-src/amanda.h common-src/match.h application-src/amgtar.c
626 application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
627 client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
628 common-src/local-security.c common-src/util.c
629 oldrecover-src/set_commands.c recover-src/set_commands.c
630 server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
631 server-src/find.c server-src/tapefile.c: move match.c prototypes from
634 2010-03-25 Jean-Louis Martineau <martineau@zmanda.com>
635 * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
636 or amflush is running.
638 2010-03-25 Paul C. Mantz <pcmantz@zmanda.com>
639 * server-src/amreport.pl: amreport exits w/o error if mailer fails
640 * installchecks/amreport.pl: installcheck
642 2010-03-25 Dustin J. Mitchell <dustin@zmanda.com>
643 * perl/Amanda/Changer/compat.pm: err on the side of caution when
644 emulating except_slots in chg-compat, preventing an infinite
647 2010-03-25 Dan Locks <dwlocks@zmanda.com>
648 * configure.in: update to rc16 NOTEST
650 2010-03-23 Dan Locks <dwlocks@zmanda.com>
651 * configure.in: update to rc15 NOTEST
653 2010-03-23 Dan Locks <dwlocks@zmanda.com>
654 * configure.in: update to rc14 NOTEST
656 2010-03-23 Dan Locks <dwlocks@zmanda.com>
657 * configure.in: update to beta1 NOTEST
659 2010-03-23 Jean-Louis Martineau <martineau@zmanda.com>
660 * application-src/amsamba.pl: check open failure correctly,
661 improve debugging message.
663 2010-03-23 Jean-Louis Martineau <martineau@zmanda.com>
664 * NEWS, ReleaseNotes: Change for 3.1.0
666 2010-03-23 Dustin J. Mitchell <dustin@zmanda.com>
667 * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
668 files to be archived during full backup, don't backup postmaster.pid
670 * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
671 describing the operation
672 * installcheck/ampgsql.pl: test restores more carefully, including
675 2010-03-22 Dan Locks <dwlocks@zmanda.com>
676 * configure.in: update to rc13 NOTEST
678 2010-03-22 Dan Locks <dwlocks@zmanda.com>
679 * configure.in: update to rc12 NOTEST
681 2010-03-22 Dustin J. Mitchell <dustin@zmanda.com>
682 * common-src/amfeatures.c common-src/amfeatures.h
683 perl/Amanda/Feature.pod: add a new feature to indicate that
684 amrecover quotes disks right: fe_amrecover_correct_disk_quoting
685 * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
687 * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
688 recover-src/extract_list.c recover-src/set_commands.c
689 server-src/diskfile.c: use it
690 * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
691 * installcheck/amidxtaped.pl: test that
693 2010-03-19 Jean-Louis Martineau <martineau@zmanda.com>
694 * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
696 2010-03-19 Dan Locks <dwlocks@zmanda.com>
697 * configure.in: update to rc11. NOTEST
699 2010-03-19 Jean-Louis Martineau <martineau@zmanda.com>
700 * recover-src/amrecover.c: Do add_config_override before loading the
703 2010-03-19 Jean-Louis Martineau <martineau@zmanda.com>
704 * server-src/driver.c: Continue flush on new tape if holdingdisk is
707 2010-03-18 Paul C. Mantz <pcmantz@zmanda.com>
708 * perl/Amanda/Report.pm: updated POD
710 2010-03-18 Dan Locks <dwlocks@zmanda.com>
711 * configure.in: update to rc10. NOTEST
713 2010-03-18 Dustin J. Mitchell <dustin@zmanda.com>
714 * application-src/ampgsql.pl: add a die_cb in command_validate and
717 2010-03-17 Paul C. Mantz <pcmantz@zmanda.com>
718 * server-src/amreport.pl: added new command line options
719 * server-src/amdump.sh: updated usage of amreport
720 * installchecks/amreport.pl: installchecks
721 * man/xml-source/amreport.8.xml: usage doc update
722 * NEWS: added info about rewrite
724 2010-03-17 Dan Locks <dwlocks@zmanda.com>
725 * configure.in: update to rc08. NOTEST
727 2010-03-17 Paul C. Mantz <pcmantz@zmanda.com>
728 * perl/Amanda/Report/human.pm: fixed premature disk truncation in
731 2010-03-16 Dan Locks <dwlocks@zmanda.com>
732 * configure.in: update to rc08. NOTEST
734 2010-03-16 Dustin J. Mitchell <dustin@zmanda.com>
735 * perl/Amanda/Tests.swg: add a simple threaded function
736 * perl/Makefile.am: and invoke it from 'make check'
738 2010-03-16 Dustin J. Mitchell <dustin@zmanda.com>
739 * man/xml-source/amcryptsimple.8.xml: Fix formatting
741 2010-03-16 Jean-Louis Martineau <martineau@zmanda.com>
742 * man/xml-source/ampgsql.8.xml: Fix formatting.
744 2010-03-16 Jean-Louis Martineau <martineau@zmanda.com>
745 * common-src/debug.c: Set open_time in debug_setup_1.
747 2010-03-15 Dustin J. Mitchell <dustin@zmanda.com>
748 * man/xml-source/amsamba.8.xml: document include/exclude expressions
750 2010-03-15 Dustin J. Mitchell <dustin@zmanda.com>
751 * UPGRADING: add note about accidentally linking new versions against old
753 2010-03-15 Paul C. Mantz <pcmantz@zmanda.com>
754 * perl/Amanda/Util.pod: added POD for slurp and burp
756 2010-03-15 Dustin J. Mitchell <dustin@zmanda.com>
757 * installcheck/amreport.pl: add tests for exit status for planner
760 2010-03-15 Dustin J. Mitchell <dustin@zmanda.com>
761 * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
762 caller's responsibility
763 * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
764 * server-src/taper.pl: handle input errors directly
766 2010-03-15 Dustin J. Mitchell <dustin@zmanda.com>
767 * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
768 device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
770 * installcheck/Amanda_Device.pl: add lots of tape-positioning
772 * device-src/tape-device.c: fix positioning (adjust for funny bsf
773 behavior only in tape_device_seek_file)
775 2010-03-15 Dustin J. Mitchell <dustin@zmanda.com>
776 * common-src/conffile.c: rename the default tapetype, since EXABYTE
777 sounds like it might actually be useful, but it's only 2M
778 * man/xml-source/amanda.conf.5.xml: remove default
779 * server-src/amcheck.c: only check whether fallback_splitsize < tape
780 length if splitting is enabled; check for a missing tapetype param
782 2010-03-14 Dan Locks <dwlocks@zmanda.com>
783 * configure.in: update to rc06. NOTEST
785 2010-03-11 Dan Locks <dwlocks@zmanda.com>
786 * configure.in: update to rc05.
788 2010-03-11 Paul C. Mantz <pcmantz@zmanda.com>
789 * perl/Amanda/Report.pm: fixed order that messages are reported
791 2010-03-11 Dan Locks <dwlocks@zmanda.com>
792 * configure.in: update to rc04
794 2010-03-10 Dustin J. Mitchell <dustin@zmanda.com>
795 * perl/Amanda/Changer/null.pm: note that constructor will not fail
796 * server-src/amidxtaped.pl: use chg-null if the changer constructor
799 2010-03-10 Dustin J. Mitchell <dustin@zmanda.com>
800 * perl/Amanda/Report.pm: count DLEs on the first tape
801 * perl/Amanda/Report/postscript.pm: display total part count
802 * installcheck/amreport.pl: changed output
804 2010-03-10 Dustin J. Mitchell <dustin@zmanda.com>
805 * config/amanda/progs.m4: add a define if LPR is found
806 * server-src/amcheck.c: check it
808 2010-03-09 Paul C. Mantz <pcmantz@zmanda.com>
809 * perl/Amanda/Report.pm: fixed caching of hostnames and dles
811 2010-03-09 Dan Locks <dwlocks@zmanda.com>
814 2010-03-09 Dustin J. Mitchell <dustin@zmanda.com>
815 * man/xml-source/amanda-applications.7.xml: add brief example of
816 setting properties for an application
818 2010-03-09 Paul C. Mantz
819 * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
821 2010-03-08 Dan Locks <dwlocks@zmanda.com>
822 * packaging/deb/rules: add chmod lines for etc/amanda
823 * packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
824 section, specify directories in 750 section to also be 750.
826 2010-03-08 Paul C. Mantz <pcmantz@zmanda.com>
827 * perl/Amanda/Report.pm: record DLEs in seen order in the cache
828 * installcheck/Amanda_Report.pm: installcheck fixes
830 2010-03-08 Dan Locks <dwlocks@zmanda.com>
831 * packaging/rpm/amanda.spec, packaging/deb/changelog: change version
832 number to %%VERSION%%
833 * packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
834 version from configure.in, substitute version in appropriate files
835 * packaging/README: correct list of packages, add note on debian
838 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
839 * installcheck/Installcheck/ClientService.pm: process error from fork
842 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
843 * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
844 cached dumps - it causes more problems than it solves
846 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
847 * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
850 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
851 * server-src/amfetchdump.pl: fix usage message
852 * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
853 default for mailto, as it is ignored
854 * installcheck/Amanda_Report.pl installcheck/amreport.pl
855 perl/Amanda/Report.pm perl/Amanda/Report/human.pm
856 perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
857 server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
858 add --help and --version, remove unused functions
859 * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
861 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
862 * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
863 postscript output by filenum, not hostname/diskname
865 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
866 * installcheck/amreport.pl perl/Amanda/Report/human.pm
867 perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
868 dumpfile when calculating tape used
870 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
871 * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
872 print the on-medi size of a dumpfile, not its total size
874 2010-03-07 Dustin J. Mitchell <dustin@zmanda.com>
875 * installcheck/amreport.pl perl/Amanda/Report/human.pm
876 perl/Amanda/Report/postscript.pm: remove rounding when orig and
877 outsize are within 32k
879 2010-03-06 Dustin J. Mitchell <dustin@zmanda.com>
880 * server-src/amreport.pl: don't use undef for stdout, stderr when
881 invoking mail or lpr - some don't like to have their std streams
884 2010-03-06 Jean-Louis Martineau <martineau@zmanda.com>
885 * server-src/amreport.pl: fix use of relative path for -l argument.
887 2010-03-06 Jean-Louis Martineau <martineau@zmanda.com>
888 * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
889 * installcheck/amreport.pl: check it.
891 2010-03-05 Jean-Louis Martineau <martineau@zmanda.com>
892 * config/amanda/version.m4: Allow 2 digits version.
894 2010-03-05 Jean-Louis Martineau <martineau@zmanda.com>
895 * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
896 include conffile.h, not config.h.
898 2010-03-05 Dustin J. Mitchell <dustin@zmanda.com>
899 * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
900 variables, and don't define them
901 * perl/Amanda/Constants.pm.in: add LPR-related constants
902 * installcheck/amreport.pl: lots of new tests, all hand-verified to
903 pass for the C amreport as well, sometimes with minor differences
904 * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
905 * installcheck/mock/mail.pl: mock 'mail' for installchecks
906 * installcheck/Makefile.am: new mocks
907 * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
909 * server-src/Makefile.am server-src/amreport.pl
910 server-src/amreport_new.pl server-src/reporter.c:
911 make the perl amreport "live"
913 2010-03-05 Dustin J. Mitchell <dustin@zmanda.com>,
914 Jean-Louis Martineau <martineau@zmanda.com>,
915 Paul C. mantz <pcmantz@zmanda.com>
916 * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
917 server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
918 overhaul to perl reporting framework (collaborative effort of three
921 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
922 * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
923 * server-src/amreport_new.pl: Remove leading 0 on day date.
925 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
926 * perl/Amanda/Report.pm: Set $self->{hostname}.
927 * perl/Amanda/Report/human.pm: Use $report->{hostname}.
929 2010-03-03 Paul C. mantz <pcmantz@zmanda.com>
930 * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
932 2010-03-02 Paul C. Mantz <pcmantz@zmanda.com>
933 * perl/Amanda/Report.pm; added three-arg form of get_program_info()
934 * perl/Amanda/Report/human.pm: usage of three-arg form
935 * installcheck/Amanda_Report.pl: tests
937 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
938 * perl/Amanda/Report/human.pm: Remove coma.
940 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
941 * common-src/conffile.c: Correctly set autolabel from command line
942 '-olabel_new_tapes=' options.
944 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
945 * server-src/amidxtaped.pl: Exit if receive ABORT message.
946 * recover-src/extract_list.c: Send abort message on user request.
947 * common-src/amfeatures.c: Add fe_amidxtaped_abort.
948 * common-src/amfeatures.h: Add fe_amidxtaped_abort.
949 * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
951 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
952 * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
954 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
955 * server-src/amflush.c: Delay creation of log file.
957 2010-03-02 Jean-Louis Martineau <martineau@zmanda.com>
958 * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
960 2010-03-02 Paul C. Mantz <pcmantz@zmanda.com>
961 * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
964 2010-03-02 Paul C. Mantz <pcmantz@zmanda.com>
965 * perl/Amanda/Report.pm: added tape_labels field for preserving tape
967 * perl/Amanda/Report/human.pm: use of tape_labels
968 * installcheck/Amanda_report.pl: installcheck, cleanup
970 2010-03-01 Jean-Louis Martineau <martineau@zmanda.com>
971 * server-src/reporter.c: Set and check repdata.
973 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
974 * server-src/amcheck.c: adjust split-size warnings for more
975 detail with less overall verbosity
977 2010-03-01 Jean-Louis Martineau <martineau@zmanda.com>
978 * server-src/reporter.c: Print FLUSH for failed flush.
980 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
981 * common-src/fileheader.c: fix typos
982 * server-src/amfetchdump.pl: add support for decryption
983 * server-src/amidxtaped.pl: same
984 * server-src/amrestore.pl: same
986 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
987 * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
988 perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
989 perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
990 perl/Amanda/Util.pod: fix bad POD formatting
991 * perl/make_html.pl: fix perl warnings
993 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
994 * man/xml-source/amanda.conf.5.xml: add more detail about
996 * man/xml-source/amgtar.8.xml: and specific documentation of the
999 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
1000 * perl/Amanda/Feature.pod: document known features
1002 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
1003 * perl/Amanda/Xfer.pod: no need to remove sources
1004 * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
1006 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
1007 * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
1008 * man/xml-source/amanda-changers.7.xml: no longer "in transition"
1009 * server-src/Makefile.am server-src/changer.c server-src/changer.h:
1011 * server-src/amcheck.c: remove unused include
1013 2010-03-01 Dustin J. Mitchell <dustin@zmanda.com>
1014 * common-src/conffile.c: remove debug message
1016 2010-03-01 Dan Locks <dwlocks@zmanda.com>
1017 * packaging/rpm/amanda.spec: remove Provides: librestore
1019 2010-03-01 Jean-Louis Martineau <martineau@zmanda.com>
1020 * application-src/amgtar.c, application-src/amstar.c:
1021 new COMMAND-OPTIONS property.
1022 * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
1023 document new COMMAND-OPTIONS property.
1025 2010-02-28 Jean-Louis Martineau <martineau@zmanda.com>
1026 * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
1027 common-src/amfeatures.h is modified.
1029 2010-02-27 Jean-Louis Martineau <martineau@zmanda.com>
1030 * ndmp-src/amndmjob_main.c: #include "config.h"
1031 * ndmp-src/ndma_cops_backreco.c: #include "util.h"
1032 * ndmp-src/ndmjob_main.c: #include "config.h"
1034 2010-02-26 Jean-Louis Martineau <martineau@zmanda.com>
1035 * installcheck/amidxtaped.pl: Fix for datapath eq "none".
1037 2010-02-26 Jean-Louis Martineau <martineau@zmanda.com>
1038 * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
1039 * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
1040 * perl/Amanda/Process.pm (set_master_process): New function.
1041 * server-src/amcleanup.pl: Use set_master_process.
1043 2010-02-26 Jean-Louis Martineau <martineau@zmanda.com>
1044 * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
1046 * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
1048 * installcheck/amidxtaped.pl: Test them.
1050 2010-02-26 Dustin J. Mitchell <dustin@zmanda.com>
1051 * installcheck/Installcheck/ClientService.pm: fix to wait for streams
1052 to empty and hit EOF after exit
1053 * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
1054 comment, and use -1 to signal no data EOF received
1056 2010-02-26 Paul C. Mantz <pcmantz@zmanda.com>
1057 * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
1060 2010-02-26 Dustin J. Mitchell <dustin@zmanda.com>
1061 * installcheck/Amanda_Changer_robot.pl: log test output too
1062 * installcheck/Installcheck.pm: typo
1063 * perl/Amanda/Changer.pm: note about member variables
1064 * perl/Amanda/Changer/robot.pm: make debug callable during constructor
1066 2010-02-26 Jean-Louis Martineau <martineau@zmanda.com>
1067 * server-src/find.c: Compute dump_status and message.
1068 * server-src/find.c (print_find_result): Output dump_status and message.
1069 * server-src/find.c (search_logfile): Check if label is in tapelist.
1070 * server-src/find.h: Add dump_status and message to find_result_t.
1071 * perl/Amanda/Logfile.swg: Swig it.
1072 * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
1073 * installcheck/Amanda_DB_Catalog.pl: Test it.
1074 * installcheck/Amanda_Logfile.pl: Test it.
1075 * server-src/amcheckdump.pl: Use new search_logfile behaviour.
1076 * server-src/amindexd.c: Use dump_status.
1077 * server-src/amoverview.pl: Use new 'amadmin find' output.
1078 * server-src/disk_history.c: Remove code no longer needed.
1079 * server-src/tapefile.c (lookup_tapelabel): const the label argument.
1080 * server-src/tapefile.h (lookup_tapelabel): const the label argument.
1082 2010-02-26 Jean-Louis Martineau <martineau@zmanda.com>
1083 * common-src/conffile.c (set_config_overrides): new config override api.
1084 * common-src/conffile.h (set_config_overrides): New prototype.
1085 * perl/Amanda/Config.swg (set_config_overrides): Swigged.
1086 * changer-src/chg-glue.pl, common-src/amgetconf.pl,
1087 * common-src/file.c, device-src/amdevcheck.pl,
1088 * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
1089 * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
1090 * installcheck/amgetconf.pl, recover-src/amrecover.c,
1091 * server-src/amadmin.c, server-src/amcheck-device.pl,
1092 * server-src/amcheck.c, server-src/amcheckdump.pl,
1093 * server-src/amcleanup.pl, server-src/amfetchdump.pl,
1094 * server-src/amflush.c, server-src/amlabel.pl,
1095 * server-src/amlogroll.c, server-src/amreport_new.pl,
1096 * server-src/amrestore.pl, server-src/amrmtape.pl,
1097 * server-src/amservice.c, server-src/amtape.pl,
1098 * server-src/amtrmidx.c, server-src/amtrmlog.c,
1099 * server-src/amvault.pl, server-src/chunker.c,
1100 * server-src/driver.c, server-src/dumper.c,
1101 * server-src/planner.c, server-src/reporter.c,
1102 * server-src/taper.pl: Use new config override api.
1104 2010-02-25 Dustin J. Mitchell <dustin@zmanda.com>
1105 * server-src/amcheck.c: add warning if the config might generate >1000
1108 2010-02-25 Dustin J. Mitchell <dustin@zmanda.com>
1109 * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
1110 and use an appropriate prefix for debug messages
1112 2010-02-25 Dustin J. Mitchell <dustin@zmanda.com>
1113 * Makefile.am: remove restore-src from lint rule
1114 * configure.in: remove restore-src/Makefile
1115 * restore-src/: remove
1116 * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
1118 2010-02-25 Dustin J. Mitchell <dustin@zmanda.com>
1119 * Makefile.am: stop building restore-src
1120 * common-src/amfeatures.c: remove no-longer-supported
1121 fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
1122 * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
1123 * installcheck/Amanda_Util.pl: tests
1124 * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
1126 2010-02-25 Dustin J. Mitchell <dustin@zmanda.com>
1127 * installcheck/Installcheck/Dumpcache.pm: include more compressible
1128 data and clean up afterward
1129 * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
1130 better, and fix handling of failures to not loop forever
1131 * installcheck/amidxtaped.pl: test that compressed dumps come back at
1132 their orig_size; check for a holding device without a trailing ":0";
1133 send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
1134 and even missing FSF=; check failure on unrecognized command lines
1136 2010-02-24 Dustin J. Mitchell <dustin@zmanda.com>
1137 * installcheck/amidxtaped.pl: installcheck improvements:
1138 create a "real" holding file; send a DATESTAMP= command
1140 2010-02-24 Dustin J. Mitchell <dustin@zmanda.com>
1141 * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
1142 * installcheck/Amanda_Recovery_Planner.pl: test
1144 2010-02-24 Dustin J. Mitchell <dustin@zmanda.com>
1145 * perl/Amanda/Xfer.swg: fix != override
1146 * installcheck/Amanda_Xfer.pl: test
1147 * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
1148 * perl/Amanda/MainLoop.pod: POD tweaks
1149 * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
1150 server-src/amfetchdump.pl: add directtcp_supported arg to
1151 xfer_src_cb; finish device when quitting clerk
1152 * perl/Amanda/Recovery/Scan.pm: add error handling
1153 * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
1154 * recover-src/extract_list.c: fix header debugging
1156 2010-02-24 Dustin J. Mitchell <dustin@zmanda.com>
1157 * common-src/amanda.h installcheck/Installcheck/ClientService.pm
1158 perl/Amanda/Constants.pm.in: move stream constants to
1160 * perl/Makefile.am perl/Amanda/ClientService.pm: new package
1161 * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
1163 2010-02-24 Dustin J. Mitchell <dustin@zmanda.com>
1164 * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
1165 tapespec marhsalling support
1166 * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
1168 2010-02-23 Paul C. Mantz <pcmantz@zmanda.com>
1169 * perl/Amanda/Report/human.pm: fixed hostname truncation
1171 2010-02-19 Dustin J. Mitchell <dustin@zmanda.com>
1172 * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
1173 make fake holding files; don't try to load a dumpcache unless both
1174 server and client components are present
1175 * installcheck/Amanda_Xfer.pl: count tests right in skip
1177 2010-02-19 Paul C. Mantz <pcmantz@zmanda.com>
1178 * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
1179 the end of a string in per-dump summary
1181 2010-02-19 Dustin J. Mitchell <dustin@zmanda.com>
1182 * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
1184 * xfer-src/xfer.c: if any setup operation fails, skip the starts and
1186 * device-src/xfer-dest-taper-directtcp.c
1187 device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
1188 xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
1189 xfer-src/xfer-test.c: change setup() methods to return a boolean
1190 * device-src/ndmp-device.c: clean up listen_addrs if not null
1192 2010-02-19 Jean-Louis Martineau <martineau@zmanda.com>
1193 * common-src/file.c (mkpdir): Fix.
1195 2010-02-19 Jean-Louis Martineau <martineau@zmanda.com>
1196 * common-src/file.c (mkpdir): Don't use access.
1198 2010-02-18 Paul C. Mantz <pcmantz@zmanda.com>
1199 * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
1201 2010-02-18 Dustin J. Mitchell <dustin@zmanda.com>
1202 * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
1203 with attendant API changes (constructor takes a device; sends
1205 * device-src/xfer-device.h: prototype changes
1206 * xfer-src/element-glue.c: remove debug message
1207 * perl/Amanda/Xfer.pod: docs
1208 * perl/Amanda/XferServer.swg: SWIG new parameters
1209 * perl/Amanda/Recovery/Clerk.pm: use new API
1210 * installcheck/Amanda_Xfer.pl: test
1211 * installcheck/Amanda_Recovery_Clerk.pl: test some more
1212 * installcheck/Installcheck/Dumpcache.pm: add code to determine
1213 the timestamps for a cached dump after loading it
1215 2010-02-18 Dustin J. Mitchell <dustin@zmanda.com>
1216 * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
1217 add a get_xfer_mechs method to xfer elements so that elements can
1218 dynamically specify their mech pairs
1220 2010-02-18 Dustin J. Mitchell <dustin@zmanda.com>
1221 * device-src/ndmp-device.c: check for fatal errors in directtcp
1223 * device-src/xfer-dest-taper-directtcp.c: track device_listen
1225 * installcheck/Amanda_Xfer.pl: test setup cancellation
1226 * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
1227 * xfer-src/element-glue.c: always send XMSG_DONE, even on error
1229 2010-02-17 Dustin J. Mitchell <dustin@zmanda.com>
1230 * device-src/ndmp-device.c: sanity-check file number
1231 * device-src/xfer-dest-taper-directtcp.c: same
1232 * device-src/xfer-dest-taper-splitter.c: same
1234 2010-02-17 Paul C. Mantz <pcmantz@zmanda.com>
1235 * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
1237 2010-02-17 Paul C. Mantz <pcmantz@zmanda.com>
1238 * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
1241 2010-02-17 Jean-Louis Martineau <martineau@zmanda.com>
1242 * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
1243 add config_init(0, NULL);
1244 * recover-src/extract_list.c: Typo.
1246 2010-02-16 Jean-Louis Martineau <martineau@zmanda.com>
1247 * server-src/amadmin.c: Set a config for version subcommand.
1249 2010-02-16 Jean-Louis Martineau <martineau@zmanda.com>
1250 * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
1251 * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
1252 * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
1253 * common-src/fileheader.h (dumpfile_t): Add orig_size.
1254 * common-src/timestamp.c (get_time_from_timestamp): New function to
1255 convert a char timestamp to time_t.
1256 * common-src/timestamp.h (get_time_from_timestamp): Prototype.
1257 * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
1258 * server-src/driver.c: Protoocl change to send orig_kb to taper.
1259 * server-src/driverio.c: Protoocl change to send orig_kb to taper.
1260 * server-src/find.c: Get orig_kb from log files.
1261 * server-src/find.h (find_result_t): add orig_kb.
1262 * server-src/holding.c (holding_set_origsize): New function to seti
1263 'ORIGSIZE' in an holding file.
1264 * server-src/holding.h (holding_set_origsize): Prototype.
1265 * server-src/infofile.c: '(char *)0' to NULL.
1266 * server-src/taper.pl: Parse orig-kb in protocol, log it.
1267 * perl/Amanda/DB/Catalog.pm: Set orig_kb.
1268 * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
1269 * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
1270 * installcheck/taper.pl: Fix for orig-kb in protocol.
1272 2010-02-16 Jean-Louis Martineau <martineau@zmanda.com>
1273 * recover-src/extract_list.c: Fix crash for non application restore.
1275 2010-02-16 Jean-Louis Martineau <martineau@zmanda.com>
1276 * server-src/amcheckdump.pl: Less verbose, add --verbose option.
1277 * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
1279 2010-02-15 Jean-Louis Martineau <martineau@zmanda.com>
1280 * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
1282 2010-02-12 Jean-Louis Martineau <martineau@zmanda.com>
1283 * application-src/ampgsql.pl: Put stderr of tar in the debug file.
1285 2010-02-12 Paul C. Mantz <pcmantz@zmanda.com>
1286 * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
1288 * perl/Amanda/Report/human.pm: widen text field for tape usage
1289 * installcheck/Amanda_Report.pl: installchecks
1291 2010-02-11 Jean-Louis Martineau <martineau@zmanda.com>
1292 * common-src/conffile.c: Assert if a config is not set.
1293 * common-src/amgetconf.pl, client-src/calcsize.c,
1294 client-src/client_util.c, client-src/killpgrp.c,
1295 client-src/rundump.c, client-src/runtar.c,
1296 installcheck/Amanda_Debug.pl: Set a default config.
1298 2010-02-11 Jean-Louis Martineau <martineau@zmanda.com>
1299 * common-src/conffile.c: New debug_days option.
1300 * common-src/conffile.h: New debug_days option.
1301 * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
1302 * man/xml-source/amanda.conf.5.xml: Document debug_days option.
1303 * common-src/debug.c: Don't do unlink in debug_open.
1304 * common-src/Makefile.am: Fix for test program.
1305 * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
1306 Call Amanda::Util::finish_application.
1307 * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
1308 * perl/Amanda/Util.pod: Document.
1309 * common-src/file.c, client-src/getfsent.c,
1310 server-src/infofile.c: Call dbclose();
1311 * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
1312 device-src/amtapetype.pl, server-src/amcheckdump.pl,
1313 server-src/amcleanup.pl, server-src/amfetchdump.pl,
1314 server-src/amrestore.pl, server-src/amrmtape.pl,
1315 server-src/amvault.pl,
1316 server-src/taper.pl: Call Amanda::Util::finish_application.
1318 2010-02-11 Jean-Louis Martineau <martineau@zmanda.com>
1319 * perl/Amanda/Taper/Scan/traditional.pm,
1320 perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
1321 * perl/Amanda/Recovery/Scan.pm: Fix doc.
1322 * server-src/amcheck-device.pl: New user_msg_fn.
1323 * server-src/amlabel.pl: New user_msg_fn.
1324 * server-src/amtape.pl: New user_msg_fn.
1325 * installcheck/amlabel.pl: Fix installcheck.
1327 2010-02-11 Dustin J. Mitchell <dustin@zmanda.com>
1328 * xfer-src/xfer.c xfer-src/xfer-element.h: add
1329 XFER_MECH_DIRECTTCP_CONNECT
1330 * xfer-src/source-directtcp-connect.c: element that uses it
1331 * xfer-src/dest-directtcp-listen.c: element that uses it
1332 * xfer-src/element-glue.c: glue for it
1333 * xfer-src/xfer-test.c: test it
1334 * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
1335 * installcheck/Amanda_Xfer.pl: test it some more
1336 * xfer-src/Makefile.am: new files
1337 * xfer-src/dest-directtcp-connect.c: check addrs is not empty
1338 * perl/amglue/directtcp.swg: handle empty address lists better
1340 2010-02-11 Dustin J. Mitchell <dustin@zmanda.com>
1341 * installcheck/Makefile.am: don't run amidxtaped on
1343 * installcheck/Installcheck/ClientService.pm
1344 installcheck/amidxtaped.pl: kill amidxtaped on timeout
1345 * restore-src/amidxtaped.c: don't call safe_fd after the
1346 app has already started - it closes fd's in use by
1347 system libraries for e.g., LDAP access
1349 2010-02-11 Jean-Louis Martineau <martineau@zmanda.com>
1350 * perl/Amanda/Application.swg: Add read_magic_block and
1352 * perl/Amanda/Application.pod: Document them.
1354 2010-02-10 Paul C. Mantz <pcmantz@gmail.com>
1355 * perl/Amanda/Report/human.pm: fixed columnspec code
1357 2010-02-10 Jean-Louis Martineau <martineau@zmanda.com>
1358 * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
1359 * server-src/amtape.pl: New user_msg_fn.
1361 2010-02-10 Jean-Louis Martineau <martineau@zmanda.com>
1362 * perl/Amanda/Changer.pm: Document undef state.
1363 * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
1364 * perl/Amanda/Changer/single.pm: Set state to undef.
1365 * perl/Amanda/Recovery/Scan.pm: Handle undef state.
1367 2010-02-10 Jean-Louis Martineau <martineau@zmanda.com>
1368 * server-src/taper.pl: Log no-tape error if no available tape.
1370 2010-02-10 Dustin J. Mitchell <dustin@zmanda.com>
1371 * installcheck/amidxtaped.pl: skip DirectTCP tests if
1374 2010-02-10 Dustin J. Mitchell <dustin@zmanda.com>
1375 * restore-src/restore.c: fix double-free error
1377 2010-02-09 Dustin J. Mitchell <dustin@zmanda.com>
1378 * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
1380 * amandad-src/amandad.c: comments
1381 * common-src/amanda.h: comments
1382 * restore-src/amidxtaped.c: don't check security when invoked with
1383 'installcheck' as argv[1]
1385 2010-02-09 Dustin J. Mitchell <dustin@zmanda.com>
1386 * installcheck/Installcheck/ClientService.pm: utility to test
1387 client services (noop, sendbackup, etc.)
1388 * installcheck/Makefile.am installcheck/noop.pl: new test
1389 * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
1391 2010-02-09 Jean-Louis Martineau <martineau@zmanda.com>
1392 * restore-src/amidxtaped.c: Check from_amandad before
1395 2010-02-09 Jean-Louis Martineau <martineau@zmanda.com>
1396 * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
1398 2010-02-09 Paul C. Mantz <pcmantz@zmanda.com>
1399 * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
1401 2010-02-09 Jean-Louis Martineau <martineau@zmanda.com>
1402 * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
1403 * man/xml-source/amanda-client.conf.5.xml,
1404 man/xml-source/amanda.conf.5.xml: Use them.
1406 2010-02-09 Dan Locks <dwlocks@zmanda.com>
1407 * amar-src/Makefile.am: add installperms stanza
1409 2010-02-08 Jean-Louis Martineau <martineau@zmanda.com>
1410 * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
1412 2010-02-08 Jean-Louis Martineau <martineau@zmanda.com>
1413 * client-src/client_util.c: New AMFEATURES application support option,
1414 application_property_add_to_argv take a amfeatures argument.
1415 * client-src/client_util.h: New protoype.
1416 * client-src/selfcheck.c, client-src/sendbackup.c,
1417 client-src/sendsize.c,
1418 recover-src/extract_list.c: Pass the server amfeatures as argument
1419 to application_property_add_to_argv.
1420 * common-src/amfeatures.c: New fe_sendbackup_noop.
1421 * common-src/amfeatures.h: New fe_sendbackup_noop.
1422 * server-src/dumper.c: Ignore "sendbackup: no-op' message.
1424 2010-02-08 Dustin J. Mitchell <dustin@zmanda.com>
1425 * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
1427 * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
1429 * common-src/amfeatures.h: add SWIG conditionals
1430 * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
1432 2010-02-06 Dustin J. Mitchell <dustin@zmanda.com>
1433 * perl/Amanda/Config.pod: document autolabel format
1434 * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
1436 2010-02-06 Jean-Louis Martineau <martineau@zmanda.com>
1437 * common-src/conffile.c: Add autolabel config option.
1438 * common-src/conffile.h: Add autolabel config option.
1439 * man/xml-source/amanda.conf.5.xml: Document autolabel.
1440 * perl/Amanda/Config.swg: Swig autolabel.
1441 * perl/Amanda/Taper/Scan/traditional.pm,
1442 perl/Amanda/Taper/Scan.pm: Use autolabel.
1443 * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
1444 installcheck/Amanda_Taper_Scan_traditional.pl,
1445 installcheck/Installcheck/Dumpcache.pm,
1446 installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
1447 installcheck/amcheck.pl, installcheck/amdevcheck.pl,
1448 installcheck/amdump.pl, installcheck/pp-scripts.pl,
1449 installcheck/taper.pl: Fix to use autolabel.
1451 2010-02-05 Paul C. Mantz <pcmantz@zmanda.com>
1452 * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
1453 * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
1454 * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
1455 * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
1456 * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
1459 2010-02-05 Paul C. Mantz <pcmantz@zmanda.com>
1460 * perl/Amanda/Report/human.pm: made fixed appearance of per-level
1461 column in output_stats
1463 2010-02-04 Jean-Louis Martineau <martineau@zmanda.com>
1464 * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
1466 2010-02-04 Jean-Louis Martineau <martineau@zmanda.com>
1467 * perl/Makefile.am: Fix bad merge.
1469 2010-02-03 Paul C. Mantz <pcmantz@zmanda.com>
1470 * perl/Amanda/Report/human.c: increased width of output_stats
1473 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1474 * server-src/amadmin.c: Use %jd for gint.
1476 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1477 * server-src/amadmin.c: Add 'estimate' command'.
1478 * man/xml-source/amadmin.8.xml: Document estimate command.
1479 * server-src/planner.c, server-src/server_util.c,
1480 server-src/server_util.h: Move internal_server_estimate and
1481 server_can_do_estimate from planner.c to server_util.c
1483 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1484 * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
1485 * installcheck/Amanda_Recovery_Clerk.pl: Test it.
1487 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1488 * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
1490 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1491 * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
1492 * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
1493 * perl/Amanda/Changer/compat.pm: Print device_name.
1494 * perl/Amanda/Interactive.pm: Base class for interactivity.
1495 * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
1496 * perl/Amanda/Recovery/Scan.pm: Scan changers
1497 * perl/Makefile.am: Add Amanda/Interactive.pm,
1498 Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
1499 * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
1500 * server-src/amtape.pl: Use Amanda::Recovery::Scan.
1502 2010-02-03 Dustin J. Mitchell <dustin@zmanda.com>
1503 * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
1504 * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
1505 * installcheck/amdevcheck.pl: give an explicit device name, now that
1508 2010-02-03 Dustin J. Mitchell <dustin@zmanda.com>
1509 * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
1511 * perl/Amanda/Recovery/Clerk.pm: use it
1512 * perl/Amanda/Recovery/Planner.pm: use it
1514 2010-02-03 Dustin J. Mitchell <dustin@zmanda.com>
1515 * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
1517 2010-02-03 Dustin J. Mitchell <dustin@zmanda.com>
1518 * device-src/Makefile.am device-src/xfer-device.h
1519 device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
1520 installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
1521 perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
1522 Amanda::Taper::Source to Amanda::Recovery::Source
1524 2010-02-03 Dustin J. Mitchell <dustin@zmanda.com>
1525 * perl/Makefile.am: check all .pm files (some had been missed)
1527 2010-02-03 Dustin J. Mitchell <dustin@zmanda.com>
1528 * perl/Amanda/Changer.pm: fix bogus POD
1530 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1531 * application-src/amsamba.pl: Fix parsing of unc if disk is noti
1534 2010-02-03 Jean-Louis Martineau <martineau@zmanda.com>
1535 * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
1537 2010-02-02 Dustin J. Mitchell <dustin@zmanda.com>
1538 * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
1540 2010-02-02 Dustin J. Mitchell <dustin@zmanda.com>
1541 * server-src/amfetchdump.pl: only output a filename with a partnum
1544 2010-02-02 Dustin J. Mitchell <dustin@zmanda.com>
1545 * device-src/ndmp-device.c: fix failure to check for fatal errors, use
1547 * device-src/tape-device.c: rewind correctly, even to the current file
1548 * device-src/vfs-device.c: set in_file=FALSE on finish()
1549 * installcheck/Amanda_Device.pl: check reading file header twice
1551 2010-02-02 Dustin J. Mitchell <dustin@zmanda.com>
1552 * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
1553 installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
1554 installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
1555 installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
1556 perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
1557 xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
1558 of xfer_state == XFER_DONE
1560 2010-02-02 Dustin J. Mitchell <dustin@zmanda.com>
1561 * man/xml-source/amanda-auth.7.xml: reduce circular references
1563 2010-02-01 Dustin J. Mitchell <dustin@zmanda.com>
1564 * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
1566 2010-01-31 Jean-Louis Martineau <martineau@zmanda.com>
1567 * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
1569 2010-01-30 Jean-Louis Martineau <martineau@zmanda.com>
1570 * common-src/conffile.c: Allow multiple scripts on one line.
1572 2010-01-29 Dan Locks <dwlocks@zmanda.com>
1573 * packaging/rpm/amanda.spec: move manpages to
1574 defattr(644,root,root,..) section
1576 2010-01-29 Dustin J. Mitchell <dustin@zmanda.com>
1577 * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
1578 * installcheck/Amanda_DB_Catalog.pl: tests
1579 * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
1580 * installcheck/Amanda_Recovery_Planner.pl: tests
1581 * perl/Amanda/Recovery/Clerk.pm: recover from holding with
1582 Amanda::Xfer::Source::Holding when appropriate
1583 * installcheck/Amanda_Recovery_Clerk.pl: tests
1584 * server-src/amfetchdump.pl: give better messaging when recovering
1585 from holding, don't append partnum unless it's a multipart dump
1586 * installcheck/amfetchdump.pl: tests
1588 2010-01-29 Dustin J. Mitchell <dustin@zmanda.com>
1589 * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
1591 * restore-src/Makefile.am restore-src/amfetchdump.c: remove
1592 * server-src/Makefile.am server-src/amfetchdump.pl: new version
1593 of amfetchdump that uses Clerk and Planner
1594 * installcheck/amfetchdump.pl: updates to tests (change 'tape'
1595 to 'volume', no more -b, add quotes around labels
1597 2010-01-29 Dustin J. Mitchell <dustin@zmanda.com>
1598 * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
1599 * installcheck/Amanda_Recovery_Planner.pl
1600 installcheck/Makefile.am: tests
1602 2010-01-29 Dustin J. Mitchell <dustin@zmanda.com>
1603 * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
1604 * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
1607 2010-01-29 Dustin J. Mitchell <dustin@zmanda.com>
1608 * installcheck/Amanda_MainLoop.pl: a call_after test that is more
1609 stable when the system clock is stepping
1610 * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
1612 2010-01-29 Dustin J. Mitchell <dustin@zmanda.com>
1613 * installcheck/Amanda_Logfile.pl: note about checks
1614 * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
1615 * server-src/find.c server-src/find.h: add dynamic_disklit param
1616 to search_holding_disk
1618 2010-01-28 Jean-Louis Martineau <martineau@zmanda.com>
1619 * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
1620 * installcheck/Amanda_Changer_multi.pl: Test it.
1622 2010-01-27 Dustin J. Mitchell <dustin@zmanda.com>
1623 * installcheck/amfetchdump.pl: don't use an END block for cleanup
1625 2010-01-27 Dustin J. Mitchell <dustin@zmanda.com>
1626 * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
1627 * installcheck/Amanda_DB_Catalog.pl: test it
1628 * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
1630 2010-01-27 Dustin J. Mitchell <dustin@zmanda.com>
1631 * changer-src/chg-glue.pl: fix chg-glue to be more careful about
1632 releasing the device first
1634 2010-01-27 Dustin J. Mitchell <dustin@zmanda.com>
1635 * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
1637 * installcheck/amfetchdump.pl: more/better tests
1638 * man/xml-source/amfetchdump.8.xml: formatting
1640 2010-01-27 Dustin J. Mitchell <dustin@zmanda.com>
1641 * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
1642 perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
1645 2010-01-27 Paul C. Mantz <pcmantz@zmanda.com>
1646 * perl/Amanda/Util.pm: added safe_overwrite_file
1647 * installcheck/Amanda_Util.pl: installcheck
1649 2010-01-27 Jean-Louis Martineau <martineau@zmanda.com>
1650 * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
1652 2010-01-27 Jean-Louis Martineau <martineau@zmanda.com>
1653 * perl/Amanda/Changer.pm: Document new inventory result.
1654 * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
1655 perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
1656 perl/Amanda/Changer/robot.pm,
1657 perl/Amanda/Changer/single.pm: Generate new inventory result.
1658 * installcheck/Amanda_Changer_disk.pl,
1659 installcheck/Amanda_Changer_multi.pl,
1660 installcheck/Amanda_Changer_ndmp.pl,
1661 installcheck/Amanda_Changer_rait.pl,
1662 installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
1663 * server-src/amtape.pl: Use new inventory result.
1665 2010-01-26 Paul C. Mantz <pcmantz@zmanda.com>
1666 * perl/Amanda/Util.swg: added slurp and burp subs
1667 * installcheck/Amanda_Util.pl: installcheck for slurp and burp
1668 * installcheck/Installcheck/Run.pm: use of slurp in production
1670 2010-01-26 Jean-Louis Martineau <martineau@zmanda.com>
1671 * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
1672 * perl/Amanda/Report/human.pm: Many improvements.
1673 * installcheck/Amanda_Report.pl: Fix for new data.
1674 * perl/Makefile.am: Check AmandaReport_DATA.
1676 2010-01-26 Jean-Louis Martineau <martineau@zmanda.com>
1677 * common-src/conffile.h: Add getconf_linenum.
1678 * perl/Amanda/Config.swg: Add getconf_linenum.
1679 * perl/Amanda/Config.pod: Document getconf_linenum.
1680 * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
1681 line without setting the other to ''.
1683 2010-01-25 Dustin J. Mitchell <dustin@zmanda.com>
1684 * perl/amglue/bigint.c: call SPAGAIN after loading
1685 Math::BigInt, in case the stack base has moved
1686 * perl/amglue/integers.swg: don't place a bigint on
1687 the stack until the stack pointer has been restored
1688 * perl/Amanda/Header.swg: use static
1690 2010-01-22 Dustin J. Mitchell <dustin@zmanda.com>
1691 * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
1692 confuse old is_deeply implementations
1694 2010-01-22 Dustin J. Mitchell <dustin@zmanda.com>
1695 * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
1696 more carefully; add ability to query and sort dumps; use weak refs to
1697 break reference loops
1698 * installcheck/Amanda_DB_Catalog.pl: tests
1699 * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
1700 * server-src/amvault.pl: update to match
1701 * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
1702 match_disk, and match_datestamp, and document dumps_match_dumpspecs
1704 2010-01-21 Jean-Louis Martineau <martineau@zmanda.com>
1705 * device-src/ndmp-device.c, device-src/rait-device.c,
1706 device-src/s3-device.c, device-src/tape-device.c,
1707 device-src/vfs-device.c: Set volume_header with the written header
1708 when opened in write mode.
1710 2010-01-21 Jean-Louis Martineau <martineau@zmanda.com>
1711 * perl/Amanda/Report/human.pm: Many fix.
1712 * server-src/amreport_new.pl: Many fix.
1714 2010-01-18 Jean-Louis Martineau <martineau@zmanda.com>
1715 * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
1716 * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
1719 2010-01-19 Paul C. Mantz <pcmantz@zmanda.com>
1720 * installcheck/amreport.pl: made output checks ignore spacing
1722 2010-01-18 Dustin J. Mitchell <dustin@zmanda.com>
1723 * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
1726 2010-01-18 Dustin J. Mitchell <dustin@zmanda.com>
1727 * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
1728 ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
1730 2010-01-18 Dustin J. Mitchell <dustin@zmanda.com>
1731 * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
1733 2010-01-18 Dustin J. Mitchell <dustin@zmanda.com>
1734 * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
1735 that the scribe can cancel a transfer in an error situation
1736 * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
1737 * server-src/taper.pl: git it an xfer
1739 2010-01-18 Dustin J. Mitchell <dustin@zmanda.com>
1740 * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
1741 and return NDMP_DEVICE_BUSY_ERR on a collision
1742 * device-src/ndmp-device.c: close the tape agent before switching
1743 connections, and before closing a device, to avoid
1744 NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
1745 tape agent, as the mover may already be active
1747 2010-01-18 Dustin J. Mitchell <dustin@zmanda.com>
1748 * restore-src/restore.c: add another htonl invocation for ipv4 address
1750 2010-01-17 Dustin J. Mitchell <dustin@zmanda.com>
1751 * perl/Amanda/Xfer.pod: fix POD typo
1753 2010-01-17 Jean-Louis Martineau <martineau@zmanda.com>
1754 * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
1756 2010-01-17 Dustin J. Mitchell <dustin@zmanda.com>
1757 * perl/Amanda/Changer/compat.pm: allow multiline responses
1758 * installcheck/Amanda_Changer_compat.pl: test
1760 2010-01-17 Dustin J. Mitchell <dustin@zmanda.com>
1761 * installcheck/Amanda_Curinfo.pl: remove spurious diag()
1763 2010-01-17 Dustin J. Mitchell <dustin@zmanda.com>
1764 * gnulib/regenerate/regenerate: add regex module, for Mac OS X
1765 compatibility; no change in gnulib version
1766 * config/gnulib/* gnulib/*: resulting gnulib updates
1768 2010-01-17 Dustin J. Mitchell <dustin@zmanda.com>
1769 * man/xml-source/amreport.8.xml: fix typo in manpage
1771 2010-01-17 Jean-Louis Martineau <martineau@zmanda.com>
1772 * perl/Amanda/Changer.pm: $chg->load always read ther label.
1773 * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
1774 * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
1775 * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
1776 * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
1777 * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
1778 * server-src/amlabel.pl, server-src/amrestore.pl,
1779 * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
1781 2010-01-15 Paul C. Mantz <pcmantz@zmanda.com>
1782 * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
1785 2010-01-15 Jean-Louis Martineau <martineau@zmanda.com>
1786 * installcheck/Amanda_Changer_robot.pl: Typo.
1788 2010-01-15 Jean-Louis Martineau <martineau@zmanda.com>
1789 * amandad-src/amandad.c: iread errfd and close it on termination.
1791 2010-01-15 Jean-Louis Martineau <martineau@zmanda.com>
1792 * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
1793 update '1-4=' syntax to mark slot as being in unknown state.
1794 * man/xml-source/amanda-changers.7.xml: Document new syntax.
1795 * installcheck/Amanda_Changer_multi.pl: Test new syntax.
1796 * installcheck/Amanda_Changer_robot.pl: Test new syntax.
1798 2010-01-15 Jean-Louis Martineau <martineau@zmanda.com>
1799 * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
1801 * server-src/diskfile.c (disable_skip_disk): New function to set todo
1803 * server-src/diskfile.h (disable_skip_disk): Add prototype.
1804 * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
1805 server-src/reporter.c: Call disable_skip_disk.
1807 2010-01-14 Jean-Louis Martineau <martineau@zmanda.com>
1808 * perl/Makefile.am: typo.
1810 2010-01-14 Paul C. Mantz <pcmantz@zmanda.com>
1811 * server-src/amreport_new.pl: amreport rewrite in perl
1812 * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
1813 perl/Amanda/Report/xml.pm: factored out output formats and
1815 * perl/Makefile.am server-src/Makefile.am: makefile changes
1816 * contrib/amreport.rnc: amreport xml spec in RelaxNG
1818 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1819 * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
1820 make device_listen and device_accept callable anywhere; be explicit
1821 about conn refcount from accept
1822 * device-src/ndmp-device.c: don't call device_use_connection, as
1823 that method requires ACCESS_NULL
1824 * restore-src/restore.c: fix typo
1826 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1827 * server-src/taper.pl: fix taper writing status too quickly
1829 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1830 * client-src/client_util.c: fix to send the --direct-tcp and
1831 --data-path arguments to applications
1832 * client-src/sendbackup.c: add a bit of debugging to sendbackup
1834 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1835 * restore-src/restore.c: add missing htonl to restore.c for ipv4
1838 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1839 * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
1840 messages, including a fancy connection ID to help debug problems
1841 using the wrong NDMP connection at the wrong time
1843 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1844 * device-src/ndmp-device.c: work around record_size bug in ndmjob
1846 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1847 * installcheck/amfetchdump.pl: check restored files more closely
1849 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1850 * installcheck/taper.pl: taper installcheck to run multiple dumps
1851 on a spanned NDMP device
1853 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1854 * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache
1855 * installcheck/Installcheck/Mock.pm: add a way to revive it for
1857 * installcheck/amfetchdump.pl: use it
1859 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1860 * device-src/ndmp-device.c: correctly handle devices while they are
1861 coming online after a load
1863 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1864 * ndmp-src/scsiconst.h: fix typo in constant name
1866 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1867 * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
1868 'blank', mark them as unknown
1870 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1871 * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
1874 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1875 * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
1877 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1878 * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
1881 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1882 * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
1884 2010-01-13 Dustin J. Mitchell <dustin@zmanda.com>
1885 * device-src/ndmp-device.c: fix dangling reference
1887 2010-01-11 Dustin J. Mitchell <dustin@zmanda.com>
1888 * common-src/Makefile.am common-src/fileheader-test.c: new test
1889 * common-src/fileheader.c common-src/fileheader.h: validate a lot
1890 of inputs; use g_debug; handle compressed/comp_suffix and
1891 encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
1892 bug in parsing empty heredoc
1893 * device-src/amtapetype.pl: add 'program' to header
1894 * installcheck/Amanda_Xfer.pl: add 'program' to header
1895 * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
1896 and document interrelationships of fields
1898 2010-01-08 Dustin J. Mitchell <dustin@zmanda.com>
1899 * perl/Makefile.am: don't build useless static versions of perl libs
1901 2010-01-08 Dustin J. Mitchell <dustin@zmanda.com>
1902 * device-src/xfer-source-taper.c: make element cancellation work
1904 2010-01-08 Dustin J. Mitchell <dustin@zmanda.com>
1905 * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
1908 2010-01-08 Dustin J. Mitchell <dustin@zmanda.com>
1909 * common-src/simpleprng.c common-src/simpleprng.h: add a method to
1910 extract the current seed from the PRNG state
1911 * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
1912 * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
1914 2010-01-07 Paul C. Mantz <pcmantz@zmanda.com>
1915 * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
1918 2010-01-07 Paul C. Mantz <pcmantz@zmanda.com>
1919 * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
1920 * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
1921 * installcheck/Amanda_Curinfo.pl: installcheck
1922 * perl/Makefile.am installcheck/Makefile.am: makefile additions
1924 2010-01-06 Dustin J. Mitchell <dustin@zmanda.com>
1925 * ndmp-src/ndma_tape.c: halt on media error
1926 * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
1927 ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
1928 NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
1929 * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
1930 NDMP9_MOVER_HALT_MEDIA_ERROR
1932 2010-01-06 Jean-Louis Martineau <martineau@zmanda.com>
1933 * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
1935 2010-01-06 Jean-Louis Martineau <martineau@zmanda.com>
1936 * perl/Amanda/NDMP.pod: fix %}.
1938 2010-01-06 Jean-Louis Martineau <martineau@zmanda.com>
1939 * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
1941 2010-01-06 Dustin J. Mitchell <dustin@zmanda.com>
1942 * perl/Amanda/NDMP.pod: typo
1943 * perl/Amanda/NDMP.swg: actually include POD
1945 2010-01-05 Dustin J. Mitchell <dustin@zmanda.com>
1946 * device-src/device.c device-src/device.h: remove conn argument from
1947 read_to_connection and write_from_connection; check for ACCESS_NULL
1948 * device-src/ndmp-device.c: remove conn argument, call use_connection
1950 * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
1951 perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
1952 device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
1953 call use_connection at the appropriate time
1955 2010-01-05 Dustin J. Mitchell <dustin@zmanda.com>
1956 * device-src/ndmp-device.c: add an eject() implementation
1958 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1959 * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
1960 ndmjob does not output logging info to stdout during installchecks
1962 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1963 * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
1966 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1967 * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
1968 pattern and the identifiers that supported it
1969 * device-src/ndmp-device.c: don't worry about idents
1970 * perl/Amanda/Changer/ndmp.pm: don't worry about idents
1971 * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
1972 * installcheck/Amanda_NDMP.pl: change tests
1974 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1975 * device-src/device.c device-src/device.h: change can_use_connection
1976 to the imperative use_connection
1977 * device-src/ndmp-device.c: implement use_connection
1978 * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
1979 device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
1980 add a use_device method, start_part no longer needs a device
1981 * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
1982 perl/Amanda/XferServer.swg: SWIG it
1983 * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
1984 * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
1986 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1987 * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
1990 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1991 * perl/amglue/directtcp.swg: initialize the other struct in_addr by
1992 member name, too (see 2009-12-29)
1994 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
1995 * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
1996 * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
1997 * installcheck/mock/chg-ndmjob.pl: remove
1998 * installcheck/Amanda_Changer_ndmp.pl: new test
1999 * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
2000 installcheck/Amanda_Xfer.pl installcheck/Makefile.am
2001 installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
2003 * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
2004 time, process sense data correctly, use correct element addresses
2007 2010-01-04 Jean-Louis Martineau <martineau@zmanda.com>
2008 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
2009 common-src/bsdudp-security.c: Check service != NULL.
2011 2010-01-04 Dustin J. Mitchell <dustin@zmanda.com>
2012 * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
2013 ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
2014 ndmp-src/ndmos_common.c ndmp-src/Makefile.am
2015 ndmp-src/ndma_robot_simulator.c: add robot simulator
2016 * ndmp-src/ndmos_glib.h: use robot simulator
2017 * ndmp-src/scsiconst.h: fix typo
2019 2009-12-29 Dustin J. Mitchell <dustin@zmanda.com>
2020 * ndmp-src/ndma_tape.c: remove ndmta_belay
2021 * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
2022 NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
2024 2009-12-29 Dustin J. Mitchell <dustin@zmanda.com>
2025 * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
2028 2009-12-29 Dustin J. Mitchell <dustin@zmanda.com>
2029 * perl/amglue/directtcp.swg: initialize struct in_addr by member name
2031 2009-12-29 Dustin J. Mitchell <dustin@zmanda.com>
2032 * installcheck/Makefile.am: sort tests
2033 * installcheck/=setupcache.pl: rename _setupcache so it sorts first
2035 2009-12-29 Dustin J. Mitchell <dustin@zmanda.com>
2036 * perl/Amanda/Config.swg: fix return type for config_init
2037 * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
2039 2009-12-24 Charles Curley <charlescurley@charlescurley.com>
2042 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2043 * device-src/s3-device.c: don't set the throttling properties unless
2046 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2047 * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
2049 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2050 * perl/Amanda/Changer/ndmp.pm: set device authentication properties
2051 * perl/Makefile.am: actually include ndmp.pm
2052 * perl/Amanda/Device.pod: doc extended property_get
2053 * man/xml-source/amanda-changers.7.xml: document properties
2055 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2056 * common-src/fileheader.c: try to generate parsable headers
2057 * perl/Amanda/Header.swg: add default values
2058 * server-src/amrestore.pl: fix typo
2059 * installcheck/amrestore.pl: ndmp-device test (not using directtcp
2062 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2063 * device-src/s3.c: recent versions of curl switched from #define
2064 to enum, so #ifdef no longer works; test specific versions
2067 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2068 * ndmp-src/ndma_ctrl_robot.c: show error messages
2070 2009-12-23 Dustin J. Mitchell <dustin@zmanda.com>
2071 * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
2073 2009-12-22 Dustin J. Mitchell <dustin@zmanda.com>
2074 * device-src/s3.c: remove debugging info
2076 2009-12-22 Dustin J. Mitchell <dustin@zmanda.com>
2077 * device-src/s3.c: only including throttling code if the precompiler
2080 2009-12-22 Dustin J. Mitchell <dustin@zmanda.com>
2081 * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
2082 * installcheck/Amanda_Device.pl: test it
2084 2009-12-22 Dustin J. Mitchell <dustin@zmanda.com>
2085 * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
2086 source generated with rpcgen contains constructs that cause
2087 warnings for which earlier gcc's have no -Wno-xxx option
2088 * configure.in: revert disabled warnings
2090 2009-12-22 Dustin J. Mitchell <dustin@zmanda.com>
2091 * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
2093 2009-12-22 Dustin J. Mitchell <dustin@zmanda.com>
2094 * device-src/s3.c device-src/s3.h: add max send and receive speeds
2095 * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
2096 PROPERTY_MAX_RECV_SPEED
2097 * man/xml-source/amanda-devices.7.xml: document
2099 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2100 * ndmp-src/Makefile.am configure.in: conditionalize warnings which
2101 are not present on all gcc version
2102 * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
2103 ndmp-src/ndmjob_main_util.c: fix warnings
2104 * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
2105 long long constant should end in 'ull'
2107 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2108 * installcheck/Amanda_NDMP.pl: add auth parameter here too
2110 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2111 * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
2112 parameter with four options
2113 * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
2114 * device-src/ndmp-device.c: add NDMP_AUTH property
2115 * man/xml-source/amanda-devices.7.xml: doc it
2116 * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
2117 * man/xml-source/amanda-changers.7.xml: doc it
2119 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2120 * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
2121 * ndmp-src/*.c: fix warnings, mostly sign differences
2123 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2124 * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
2125 return value to ndmp_connection_tape_mtio
2126 * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
2127 * installcheck/Amanda_NDMP.pl: test it
2128 * installcheck/Makefile.am: actually run Amanda_NDMP tests
2129 * device-src/ndmp-device.c: compatible change
2131 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2132 * man/xml-source/amanda.8.xml: remove amdd
2134 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2136 * changer-src/Makefile.am changer-src/chg-rait.sh
2137 changer-src/chg-null.sh: restore deleted files
2139 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2140 * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
2142 2009-12-21 Dustin J. Mitchell <dustin@zmanda.com>
2143 * autogen: do not use sed --in-place
2145 2009-12-20 Dustin J. Mitchell <dustin@zmanda.com>
2146 * man/xml-source/amgetconf.8.xml: fix formatting error by putting
2147 <note> on its own line
2149 2009-12-18 Dustin J. Mitchell <dustin@zmanda.com>
2150 * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
2152 2009-12-18 Dustin J. Mitchell <dustin@zmanda.com>
2153 * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
2154 * man/xml-source/amanda-changers.7.xml: docs
2155 * perl/Amanda/Changer.pm: better error handling
2156 * perl/Amanda/Changer/robot.pm: changes for subclassing
2158 2009-12-18 Jean-Louis Martineau <martineau@zmanda.com>
2159 * server-src/driver.c: Don't call validate_optionstr for flush dles.
2161 2009-12-18 Dustin J. Mitchell <dustin@zmanda.com>
2162 * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
2163 * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
2164 * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
2165 * installcheck/Amanda_Device.pl: add ndmp-only tests
2166 * installcheck/Amanda_Xfer.pl: add server-only tests
2167 * installcheck/Amanda_Device_ndmp.pl: remove
2168 * installcheck/Amanda_Xfer_serveronly.pl: remove
2169 * installcheck/Makefile.am: remove files
2170 * installcheck/taper.pl: conditionalize ndmp tests
2171 * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
2173 2009-12-18 Jean-Louis Martineau <martineau@zmanda.com>
2174 * server-src/amtrmidx.c: Check index entry will all dles using the
2175 same index directory.
2177 2009-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2178 * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
2179 perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
2180 perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
2181 perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
2182 Split the 'inuse' code into 'driveinuse' and 'volinuse'.
2183 * installcheck/Amanda_Changer_compat.pl,
2184 installcheck/Amanda_Changer_disk.pl,
2185 installcheck/Amanda_Changer_multi.pl,
2186 installcheck/Amanda_Changer_rait.pl,
2187 installcheck/Amanda_Changer_robot.pl,
2188 installcheck/Amanda_Changer_single.pl:
2189 Use 'driveinuse' and 'volinuse'.
2191 2009-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2192 * common-src/conffile.c: etimeout must be positive.
2193 * common-src/protocol.c: Fix possible timeout of 0.
2195 2009-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2196 * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
2197 Add a few debugging output.
2199 2009-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2200 * server-src/amcheckdump.pl: Call $res->release() with a callback.
2202 2009-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2203 * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
2204 server-src/amrestore.pl,
2205 server-src/amvault.pl: Call $res->set_label after $dev->read_label.
2207 2009-12-16 Dustin J. Mitchell <dustin@zmanda.com>
2208 * installcheck/Amanda_Changer_robot.pl: fix installchecks
2210 2009-12-16 Dustin J. Mitchell <dustin@zmanda.com>
2211 * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
2214 2009-12-16 Dustin J. Mitchell <dustin@zmanda.com>
2215 * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
2216 based on example/chg-multi.conf
2218 2009-12-15 Dustin J. Mitchell <dustin@zmanda.com>
2219 * device-src/ndmp-device.c: use err_code, instead of err_msg, to
2220 detect an NDMPConnection error
2222 2009-12-15 Dustin J. Mitchell <dustin@zmanda.com>
2223 * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
2225 2009-12-15 Jean-Louis Martineau <martineau@zmanda.com>
2226 * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
2227 drive if the pid is dead.
2229 2009-12-15 Jean-Louis Martineau <martineau@zmanda.com>
2230 * server-src/diskfile.c: Add validate_optionstr, optionstr and
2231 xml_optionstr no longer do validation..
2232 * server-src/diskfile.h: Add validate_optionstr, change prototype for
2233 optionstr and xml_optionstr.
2234 * server-src/amadmin.c: Add missing case.
2235 * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
2236 Use validate_optionstr, Change for new *_optionstr prototype.
2237 * server-src/driver.c: Use validate_optionstr.
2238 * server-src/driverio.c: Change for new *_optionstr prototype.
2239 * installcheck/amdump.pl: Check planner error from validate_optionstr.
2241 2009-12-15 Dustin J. Mitchell <dustin@zmanda.com>
2242 * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
2243 ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
2244 an error set instead of just returning an error from the constructor
2245 * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
2246 * perl/Amanda/NDMP.pod: docs for same
2248 2009-12-15 Dustin J. Mitchell <dustin@zmanda.com>
2249 * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
2251 2009-12-15 Dustin J. Mitchell <dustin@zmanda.com>
2252 * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
2253 when used in an outgoing typemap, due to stack stomping
2254 * perl/Amanda/Archive.swg perl/Amanda/Config.swg
2255 perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
2256 perl/amglue/integers.swg: exercise care as directed
2258 2009-12-15 Jean-Louis Martineau <martineau@zmanda.com>
2259 * recover-src/extract_list.c: Wait to parse the header before
2260 confirming destination directory. Unlink files only for GNUTAR
2262 * client-src/client_util.c: Parse RECOVER-PATH application support
2264 * client-src/client_util.h: Add recover_path_t.
2266 2009-12-14 Dustin J. Mitchell <dustin@zmanda.com>
2267 * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
2268 * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
2269 * perl/Amanda/Changer/robot.pm: allow spaces between times and units
2271 2009-12-14 Jean-Louis Martineau <martineau@zmanda.com>
2272 * server-src/amtape.pl: Call $res->set_label after reading a label.
2274 2009-12-13 Dustin J. Mitchell <dustin@zmanda.com>
2275 * server-src/taper.pl: put header socket in blocking mode
2277 2009-12-11 Jean-Louis Martineau <martineau@zmanda.com>
2278 * perl/Amanda/Process.pm: Remove unneded 'use'.
2279 * perl/Makefile.am: Build Amanda::Process on client.
2281 2009-12-11 Jean-Louis Martineau <martineau@zmanda.com>
2282 * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
2284 2009-12-11 Jean-Louis Martineau <martineau@zmanda.com>
2285 * perl/Amanda/Changer/multi.pm: New changer.
2286 * perl/Makefile.am: Build Amanda::Changer::multi
2287 * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
2288 * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
2289 * installcheck/Makefile.am: build and test Amanda_Changer_multi.
2290 * perl/Amanda/Util.swg: Add is_pid_alive.
2291 * perl/Amanda/Util.pod: Document is_pid_alive.
2293 2009-12-11 Jean-Louis Martineau <martineau@zmanda.com>
2294 * server-src/amstatus.pl: Use wrong indice.
2295 * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
2297 2009-12-11 Dustin J. Mitchell <dustin@zmanda.com>
2298 * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
2299 * server-src/driverio.c: do not send datapath to taper
2300 * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
2301 * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
2302 changed on-tape format
2303 * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
2304 * ndmp-src/ndma_tape.c: fix typos
2305 * NEWS: document behavior changes
2307 2009-12-11 Jean-Louis Martineau <martineau@zmanda.com>
2308 * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
2309 server-src/driver.c server-src/driverio.c server-src/dumper.c
2310 server-src/taper.pl: Change protocol between chunker/taper and dumper:
2311 "PORT header_port data_host:data_port", and dumper sends the header
2312 completely before sending the data
2314 2009-12-10 Dustin J. Mitchell <dustin@zmanda.com>
2315 * ndmp-src/ndmpconnobj.c: fix uninitialized variable
2317 2009-12-10 Dustin J. Mitchell <dustin@zmanda.com>
2318 * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
2319 device-src/Makefile.am: new class
2320 * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
2321 * installcheck/Amanda_Xfer_serveronly.pl: tests
2322 * perl/amglue/directtcp.swg: return undef for null addrs array
2323 * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
2325 2009-12-10 Dustin J. Mitchell <dustin@zmanda.com>
2326 * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
2327 * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
2328 * installcheck/Amanda_Device_ndmp.pl: new tests
2330 2009-12-10 Dustin J. Mitchell <dustin@zmanda.com>
2331 * xfer-src/element-glue.c: element-glue shouldn't complain when the
2332 xfer's already been cancelled
2334 2009-12-09 Dustin J. Mitchell <dustin@zmanda.com>
2335 * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
2336 according to the spec (even though it's inconsistent)
2338 2009-12-09 Dustin J. Mitchell <dustin@zmanda.com>
2339 * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
2340 offset+length = G_MAXUINT64
2342 2009-12-09 Dustin J. Mitchell <dustin@zmanda.com>
2343 * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
2346 2009-12-09 Dustin J. Mitchell <dustin@zmanda.com>
2347 * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
2348 ndmp-src/ndmagents.h: make mover seek to correct block number
2350 2009-12-09 Dustin J. Mitchell <dustin@zmanda.com>
2351 * common-src/simpleprng.c: better error message from simpleprng on
2352 random number mismatch
2353 * common-src/simpleprng.h: simpleprng_state_t is now a real struct
2354 * xfer-src/dest-null.c: no need to give buffer offset anymore
2356 2009-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2357 * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
2358 * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
2359 reading from a holding disk.
2361 2009-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2362 * device-src/device.c, device-src/device.h:
2363 Add device_unaliassed_name function.
2364 * perl/Amanda/Device.swg: Add unaliassed_name function.
2366 2009-12-07 Jean-Louis Martineau <martineau@zmanda.com>
2367 * restore-src/restore.c: Fix read_to_connection argument.
2369 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2370 * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
2373 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2374 * common-src/directtcp.h: mention IP byte order
2375 * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
2376 perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
2377 lengths; directtcp_supported is a boolean class attribute instead of a
2378 method; listen takes a for_writing argument; SWIG directtcp methods
2379 * perl/Amanda/Device.pod: document LEOM handling, new methods
2380 * device-src/directtcp-connection.c: call parent's finalize
2381 * restore-src/restore.c: pass correct for_writing to listen
2383 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2384 * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
2385 * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
2387 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2388 * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
2389 new class to encapsulate all of the NDMP transactions without
2390 requiring weird precompiler macros
2392 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2393 * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
2394 triggered by long filenames in buildbots
2396 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2397 * xfer-src/element-glue.c: one more uninitialized variable
2399 2009-12-07 Jean-Louis Martineau <martineau@zmanda.com>
2400 * device-src/device.h, device-src/device.c,
2401 man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
2402 perl/Amanda/Device.swg: Add an eject method to the device-api.
2403 * device-src/tape-device.c, device-src/tape-ops.h,
2404 device-src/tape-posix.c, device-src/tape-uware.c,
2405 device-src/tape-aix.c,
2406 device-src/tape-xenix.c: Implement eject method.
2407 * perl/Amanda/Changer/robot.pm: Use new eject method.
2409 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2410 * device-src/dvdrw-device.c: fix uninitialized variable, don't use
2413 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2414 * xfer-src/element-glue.c: fix uninitialized use of variable
2416 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2417 * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
2418 XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
2419 * xfer-src/xfer-test.c: tests for same
2420 * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
2421 perl/Amanda/Xfer.swg: new class
2422 * xfer-src/source-directtcp-listen.c: bugfix
2423 * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
2424 xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
2425 * common-src/testutils.c: support for leak-checking
2426 * xfer-src/dest-buffer.c xfer-src/dest-null.c
2427 server-src/xfer-source-holding.c device-src/xfer-dest-device.c
2428 device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
2429 device-src/xfer-source-taper.c: use revised error-handling
2430 * perl/amglue/source.c: fix refcount problem
2431 * xfer-src/Makefile.am: new files
2433 2009-12-07 Dustin J. Mitchell <dustin@zmanda.com>
2434 * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
2435 installcheck/Makefile.am: new mock changer for ndmjob
2436 * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
2437 ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
2438 PEOM) support to the tape simulator
2440 2009-12-07 Sam Couter <sam@couter.id.au>
2441 * AUTHORS: add Sam to AUTHORS
2442 * device-src/device.c device-src/Makefile.am
2443 device-src/dvdrw-device.c: new dvd-rw device
2444 * configure.in config/amanda/dvdrw-device.m4: config
2446 * device-src/vfs-device.c device-src/vfs-device.h: enable
2447 subclassing of VFS device
2448 * man/xml-source/amanda-devices.7.xml: documentation
2449 * server-src/amcheck-device.pl: add usage() sub
2451 2009-12-07 Sam Couter <sam@couter.id.au>
2452 * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
2455 2009-12-07 Jean-Louis Martineau <martineau@zmanda.com>
2456 * client-src/calcsize.c: fix check_running_as.
2458 2009-12-06 Dustin J. Mitchell <dustin@zmanda.com>
2459 * client-src/client_util.c: revert previous change
2461 2009-12-05 Sam Couter <sam@couter.id.au>
2462 * client-src/client_util.c: Free correct memory
2464 2009-12-05 Dustin J. Mitchell <dustin@zmanda.com>
2465 * config/automake/scripts.am: remove unnecessary -T
2466 * perl/Amanda/BigIntCompat.pm: remove unused $stringify
2468 2009-12-04 Jean-Louis Martineau <martineau@zmanda.com>
2469 * server-src/amcheck.c: Give error if pre-host-backup or
2470 post-host-backup are executed on client.
2471 * man/xml-source/amanda.conf.5.xml: Document it.
2473 2009-12-03 Paul C. Mantz <pcmantz@zmanda.com>
2474 * server-src/tapefile.c server-src/tapefile.h
2475 perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
2476 added and swigged get_last_reusable_tape_label().
2478 2009-12-02 Jean-Louis Martineau <martineau@zmanda.com>
2479 * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
2482 2009-12-02 Jean-Louis Martineau <martineau@zmanda.com>
2483 * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
2485 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2486 * perl/Amanda/Device.swg: #include "glib-util.h".
2488 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2489 * common-src/conffile.c: Fix conf_init_data_path argument type.
2490 * common-src/debug.c: Use gpointer.
2491 * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
2492 #include "util.h" for set_pname prototype.
2493 * ndmp-src/ndma_cops_backreco.c: Add prototype.
2494 * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
2495 Rename version_info to ndmjob_version_info to avoid conflict.
2497 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2498 * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
2499 * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
2500 * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
2502 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2503 * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
2505 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2506 * server-src/find.c: Fix for older log entry.
2507 * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
2508 * perl/Amanda/Logfile.pod: Add totalparts.
2509 * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
2512 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2513 * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
2515 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2516 * perl/Amanda/Changer/single.pm: Use except_slot,
2517 It is not fast searchable.
2519 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2520 * server-src/find.h: Keep partnum and totalparts as int.
2521 * server-src/find.c: Compute totalparts if -1.
2522 * perl/Amanda/Logfile.swg: Change api.
2523 * restore-src/amfetchdump.c, restore-src/restore.c,
2524 server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
2526 2009-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2527 * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
2528 Build amndmjob with modifier tape simulator.
2529 * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
2530 * ndmp-src/amndmjob_main.c: Main amndmjob program.
2531 * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
2533 2009-11-27 Jean-Louis Martineau <martineau@zmanda.com>
2534 * server-src/amstatus.pl: Small fix.
2536 2009-11-27 Jean-Louis Martineau <martineau@zmanda.com>
2537 * server-src/taper.pl: Fix quote_string use.
2539 2009-11-27 Jean-Louis Martineau <martineau@zmanda.com>
2540 * server-src/amstatus.pl: Display % done on port-write.
2541 * device-src/xfer-device.h: New get_part_bytes_written method in
2543 * device-src/xfer-dest-taper.c: new
2544 xfer_dest_taper_get_part_bytes_written function.
2545 * device-src/xfer-dest-taper-splitter.c: New
2546 get_part_bytes_written_impl function.
2547 * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
2548 * perl/Amanda/XferServer.swg: swig
2549 xfer_dest_taper_get_part_bytes_written.
2550 * server-src/taper.pl: Update status file every 5 seconds.
2551 * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
2553 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2554 * installcheck/Amanda_Holding.pl: add one more unary +
2556 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2557 * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
2558 of => when the left-hand-side shouldn't be quoted
2560 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2561 * installcheck/Amanda_Config.pl installcheck/taper.pl
2562 perl/Amanda/Config.swg server-src/amrestore.pl
2563 server-src/taper.pl: handle older perls' bad conversions
2564 from BigInt to integers or strings
2566 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2567 * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
2568 use unary + before the arguments to sort, since perl-5.6's
2569 parser gets confused otherwise
2571 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2572 * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
2573 to strings, since older perls' Test::More::is_deeply do not
2576 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2577 * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
2578 from the constructor, since => quotes its left-hand side
2579 * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
2582 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2583 * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
2584 expects the path to point to a directory, not a file
2586 2009-11-27 Dustin J. Mitchell <dustin@zmanda.com>
2587 * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
2588 perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
2589 constant with a hash of constants.
2591 2009-11-26 Jean-Louis Martineau <martineau@zmanda.com>
2592 * application-src/*.pl: Remove $action from all function arguments.
2593 * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
2594 * perl/Amanda/Application/Zfs.pm: Remove $action from all function
2596 * perl/Amanda/Script_App.pm: Set $self->{action}.
2598 2009-11-25 Jean-Louis Martineau <martineau@zmanda.com>
2599 * restore-src/restore.c: Always do data_path exchange.
2601 2009-11-25 Dustin J. Mitchell <dustin@zmanda.com>
2602 * client-src/calcsize.c: fix check_running_as
2604 2009-11-25 Jean-Louis Martineau <martineau@zmanda.com>
2605 Patch by Dustin J. Mitchell <dustin@zmanda.com>
2606 * server-src/amcheckdump.pl: Fix hang in MainLoop.
2608 2009-11-24 Jean-Louis Martineau <martineau@zmanda.com>
2609 * server-src/amindexd.c: Reduce logging.
2611 2009-11-23 Jean-Louis Martineau <martineau@zmanda.com>
2612 * perl/amglue/amglue.swg: Remove %begin section, we don't want to
2613 require swig 1.3.39.
2615 2009-11-23 Jean-Louis Martineau <martineau@zmanda.com>
2616 * device-src/s3-device.c: First include "amanda.h".
2617 * perl/Amanda/Cmdline.swg: include "amanda.h".
2618 * perl/amglue/amglue.h: include "../config/config.h"
2619 * perl/amglue/amglue.swg: %begin include ../config/config.h"
2621 2009-11-20 Jean-Louis Martineau <martineau@zmanda.com>
2622 * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
2624 2009-11-20 Dustin J. Mitchell <dustin@zmanda.com>
2625 * common-src/stream.c common-src/util.c: use g_debug instead
2628 2009-11-20 Jean-Louis Martineau <martineau@zmanda.com>
2629 * Revert to previous gnulib, keep fseeko, ftello.
2631 2009-11-20 Dustin J. Mitchell <dustin@zmanda.com>
2632 * ndmp-src/ndmjob_args.c: add "-o test-daemon"
2633 * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
2635 * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
2636 * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
2637 automatically kill the daemon when the test finishes
2639 2009-11-19 Jean-Louis Martineau <martineau@zmanda.com>
2640 * common-src/amanda.h: Remove define of _LARGE_FILES.
2641 * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
2643 2009-11-19 Dustin J. Mitchell <dustin@zmanda.com>
2644 * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
2645 callback_sv, and hang onto the src through the callback invocation
2647 2009-11-19 Jean-Louis Martineau <martineau@zmanda.com>
2648 * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
2650 2009-11-19 Jean-Louis Martineau <martineau@zmanda.com>
2651 * gnulib/*, config/gnulib/*: Update gnulib
2652 Use getopt-gnu instead of getopt
2653 Add fseeko and ftello
2656 2009-11-19 Dustin J. Mitchell <dustin@zmanda.com>
2657 * config/amanda/progs.m4: require swig-1.3.32, as previous versions
2658 don't handle empty C strings correctly
2660 2009-11-13 Dustin J. Mitchell <dustin@zmanda.com>
2661 * perl/Amanda/Device.pod perl/Amanda/Device.swg
2662 device-src/device.c device-src/device.h: add is_eom
2663 * device-src/rait-device.c
2664 device-src/s3-device.c device-src/tape-device.c
2665 device-src/vfs-device.c device-src/null-device.c: set is_eom
2667 * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
2668 add an eom attribute to XMsgs
2669 * device-src/xfer-dest-taper-splitter.c: set the attribute
2670 * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
2672 2009-11-19 Jean-Louis Martineau <martineau@zmanda.com>
2673 * application-src/amgtar.c, application-src/amstar.c: Print restore
2674 and validate command with debug_executing.
2675 * common-src/util.c: New debug_executing function.
2676 * common-src/util.h: New debug_executing prototype.
2678 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2679 * restore-src/amfetchdump.c: Small memory leak.
2680 * restore-src/restore.c, restore-src/restore.h: Many change to fix
2681 what was broken in previous patch.
2683 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2684 * application-src/amgtar.c,
2685 application-src/amstar.c: Fix if none of --disk or --device is set.
2687 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2688 * server-src/tapefile.c: Fix if list_new_tapes return NULL.
2690 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2691 * server-src/amcheck.c, server-src/driver.c,
2692 server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
2694 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2695 * application-src/amgtar.c, application-src/ampgsql.pl,
2696 * application-src/amraw.pl, application-src/amsamba.pl,
2697 * application-src/amstar.c, application-src/amsuntar.pl,
2698 * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
2699 They can get either --disk or --device or both.
2701 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2702 * server-src/tapefile.c: New list_new_tapes function.
2703 * server-src/tapefile.h: Prototype for list_new_tapes function.
2704 * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
2706 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2707 * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
2708 ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
2710 2009-11-18 Dustin J. Mitchell <dustin@zmanda.com>
2711 * device-src/directtcp-target.c
2712 device-src/directtcp-target.h: Removed files.
2713 * device-src/device.c,
2714 device-src/device.h: New device directtcp api.
2715 * device-src/directtcp-connection.c,
2716 device-src/directtcp-connection.h: directtcp_connection and
2717 directtcp_connection_socket object.
2718 * device-src/Makefile.am: Remove directtcp-target.*
2719 Add directtcp-connection.*
2720 * restore-src/restore.c,
2721 restore-src/restore.h: Fix for new device directtcp api.
2723 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2724 * server-src/chunker.c: Fix checking result of full_write.
2726 2009-11-18 Jean-Louis Martineau <martineau@zmanda.com>
2727 * server-src/dumper.c,
2728 common-src/security-util.c: Correctly report write error.
2730 2009-11-13 Dan Locks <dwlocks@zmanda.com>
2731 * packaging/deb/control: update to use shlibs:Depends and
2733 * packaging/deb/rules: tweak build dirs for clarity, update shlibs
2734 invocation, remove unneeded debhelper commands.
2735 * packaging/deb/amanda-backup-server.substvars,
2736 packaging/deb/amanda-backup-client.substvars: delete. These files
2737 are generated at build time
2739 2009-11-13 Dan Locks <dwlocks@zmanda.com>
2740 * packaging/deb/buildpkg: delete unused functions, detect and add
2741 distro/release tag to version number changelog prior to build
2743 2009-11-12 Jean-Louis Martineau <martineau@zmanda.com>
2744 * recover-src/extract_list.c: Enable DATA-PATH.
2745 * restore-src/restore.c: Enable DATA-PATH.
2746 * restore-src/restore.h: Enable DATA-PATH.
2747 * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
2748 * common-src/amfeatures.h: Add fe_amidxtaped_datapath
2749 * common-src/conffile.c: Improve error message.
2750 * device-src/directtcp-target.h: Improve comment.
2752 2009-11-12 Jean-Louis Martineau <martineau@zmanda.com>
2753 * client-src/client_util.c, common-src/util.c,
2754 server-src/changer.c: Fix memory leak.
2756 2009-11-11 Jean-Louis Martineau <martineau@zmanda.com>
2757 * ndmp-src/ndma_tape.c: Fix crash.
2759 2009-11-09 Dustin J. Mitchell <dustin@zmanda.com>
2760 * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
2761 in the header are set by the caller
2762 * server-src/taper.pl: set them
2763 * installcheck/taper.pl: test that on-device headers are correct
2765 2009-11-09 Jean-Louis Martineau <martineau@zmanda.com>
2766 * restore-src/restore.c: Handle directtcp device.
2767 * restore-src/restore.h: Handle directtcp device.
2768 * device-src/directtcp-target.h (read_to_connection): Fix comment.
2770 2009-11-09 Jean-Louis Martineau <martineau@zmanda.com>
2771 * device-src/directtcp-target.c (directtcp_target_listen,
2772 directtcp_target_accept): don't assert for !self->in_file or
2773 self->access_mode == ACCESS_NULL.
2775 2009-11-06 Dustin J. Mitchell <dustin@zmanda.com>
2776 * AUTHORS: add Ben Slusky
2777 * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
2778 to UMD license, with Ben's permission
2780 2009-11-05 Jean-Louis Martineau <martineau@zmanda.com>
2781 * client-src/sendbackup-dump.c, client-src/sendsize.c:
2782 Fix compiler error if VXDUMP or VDUMP is defined.
2784 2009-11-05 Jean-Louis Martineau <martineau@zmanda.com>
2785 * client-src/client_util.c: close FILE instead of fd.
2786 * client-src/selfcheck.c: fix fd leak with app_stderr.
2788 2009-11-05 Jean-Louis Martineau <martineau@zmanda.com>
2789 * client-src/client_util.c (merge_property, merge_properties):
2791 * client-src/client_util.h: New prototypes.
2792 * common-src/conffile.c (amandaify_property_name): New function.
2793 * common-src/conffile.h (amandaify_property_name): New prototypes.
2794 * recover-src/extract_list.c: Call merge_properties, it merge property
2795 from amanda header with property set in amrecover.
2796 Report the directory property if set.
2797 * recover-src/set_commands.c: Call amandaify_property_name.
2799 2009-11-03 Dustin J. Mitchell <dustin@zmanda.com>
2800 * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
2801 to be un-paused before starting to cache a part
2802 * xfer-src/dest-null.c: add additional debugging info
2804 2009-11-03 Dustin J. Mitchell <dustin@zmanda.com>
2805 * device-src/Makefile.am device-src/directtcp-target.c
2806 device-src/directtcp-target.h: add new DirectTCPTarget interface, for
2807 use by devices supporting DirectTCP
2809 2009-11-03 Paul C. Mantz <pcmantz@zmanda.com>
2810 * perl/Amanda/Report.pm: added state flags
2811 * instalcheck/Amanda_Report.pl: tests
2813 2009-11-02 Dustin J. Mitchell <dustin@zmanda.com>
2814 * common-src/testutils.c: fix uninitialized variable, only run one
2815 test in non-fork mode
2817 2009-11-02 Dustin J. Mitchell <dustin@zmanda.com>
2819 * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
2820 'first_device' and calculate slab size immediately instead of waiting
2822 * device-src/xfer-device.h: first_device parameter
2823 * perl/Amanda/XferServer.swg: swig
2824 * perl/Amanda/Xfer.pod: docs
2825 * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
2826 * perl/Amanda/Taper/Scribe.pm: send first_device properly
2828 2009-10-30 Satya Ganga <gsat@zmanda.com>
2829 * application-src/amsuntar.pl: Validate include and exclude lists
2830 before using them at restore time.
2832 2009-10-30 Dustin J. Mitchell <dustin@zmanda.com>
2833 * common-src/testutils.c: do not fork if -n is given (aids debugging)
2835 2009-10-29 Dustin J. Mitchell <dustin@zmanda.com>
2836 * perl/Amanda/Changer/robot.pm: add barcodes to reservations
2837 * perl/Amanda/Changer.pm: document
2838 * installcheck/Amanda_Changer_robot.pl: test
2840 2009-10-29 Dustin J. Mitchell <dustin@zmanda.com>
2841 * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
2843 2009-10-29 Satya Ganga <gsat@zmanda.com>
2844 * application-src/amgtar.c,application-src/amstar.c: Correct validation
2845 of directory property for existence and access.
2847 2009-10-29 Satya Ganga <gsat@zmanda.com>
2848 * application-src/amsamba.pl: In command line use correct
2849 application property names
2851 2009-10-29 Jean-Louis Martineau <martineau@zmanda.com>
2852 * client-src/sendsize.c: Fix error reporting.
2854 2009-10-29 Satya Ganga <gsat@zmanda.com>
2855 * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific
2856 environment for NDMP
2858 2009-10-28 Jean-Louis Martineau <martineau@zmanda.com>
2859 * common-src/conffile.c (free_property_t): not static.
2860 * common-src/conffile.h (free_property_t): not static.
2861 * recover-src/amrecover.c, recover-src/amrecover.h,
2862 recover-src/help.c, recover-src/set_commands.c,
2863 recover-src/uparse.y,
2864 recover-src/uscan.l: New setproperty and listproperty commands.
2865 * man/xml-source/amrecover.8.xml: Document setproperty and
2866 listproperty commands.
2868 2009-10-27 Jean-Louis Martineau <martineau@zmanda.com>
2869 * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
2871 2009-10-27 Dustin J. Mitchell <dustin@zmanda.com>
2872 * common-src/Makefile.am common-src/directtcp.h: new file to
2873 handle common directtcp-related code
2874 * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
2876 * xfer-src/Makefile.am
2877 xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
2878 * xfer-src/source-directtcp-listen.c: new source element
2880 * xfer-src/element-glue.c: stubs - no glue yet for the new mech
2881 * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
2882 perl/Makefile.am: SWIG new element
2884 2009-10-27 Jean-Louis Martineau <martineau@zmanda.com>
2885 * client-src/client_util.c: Add data-path and directtcp argument to
2887 * client-src/selfcheck.c: Check application support the requested
2889 * client-src/sendsize.c: Check application support the requested
2891 * common-src/amfeatures.h: Add fe_xml_data_path and
2892 fe_xml_directtcp_list.
2893 * common-src/amfeatures.c: Add fe_xml_data_path and
2894 fe_xml_directtcp_list.
2895 * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
2896 * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
2897 * server-src/amcheck.c: Check client accpet datapath and directtcp tag
2899 * server-src/diskfile.c: Add datapath and directtcp tag
2900 * server-src/diskfile.h (disk_t): Add directtcp_list.
2901 * server-src/driver.c: Set dp->directtcp_list.
2903 2009-10-27 Jean-Louis Martineau <martineau@zmanda.com>
2904 * application-src/amgtar.c, application-src/ampgsql.pl,
2905 application-src/amraw.pl, application-src/amsamba.pl,
2906 application-src/amstar.c, application-src/amsuntar.pl,
2907 application-src/amzfs-sendrecv.pl: Handle directory, include-list
2908 and exclude-list inrestore command.
2909 * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
2910 man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
2911 man/xml-source/amstar.8.xml,
2912 man/xml-source/amsuntar.8.xml: Document them.
2913 * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
2915 2009-10-23 Jean-Louis Martineau <martineau@zmanda.com>
2916 * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
2917 * client-src/client_util.h (backup_support_option_t): Add data_path_set
2918 * common-src/conffile.h: (data_path_t): Change for bit value.
2920 2009-10-22 Dustin J. Mitchell <dustin@zmanda.com>
2921 * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
2922 now always called with the slab_mutex held; both invocations of
2923 the function guarantee this.
2925 2009-10-22 Dustin J. Mitchell <dustin@zmanda.com>
2926 * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
2927 * installcheck/Installcheck.pm: close SOCK after using it
2928 * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
2930 2009-10-22 Jean-Louis Martineau <martineau@zmanda.com>
2931 * perl/Amanda/Config.swg: Swig data_path_from_string.
2932 * server-src/diskfile.c: Add dirrecti-tcp property to application.
2933 * server-src/diskfile.h (disk_s): Add directtcp.
2934 * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
2935 * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
2936 * server-src/server_util.h: Add DIRECTTCP_PORT.
2937 * server-src/taper.pl: Reply with DIRECTTCP-PORT.
2939 2009-10-22 Jean-Louis Martineau <martineau@zmanda.com>
2940 * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
2942 2009-10-21 Jean-Louis Martineau <martineau@zmanda.com>
2943 * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
2944 * common-src/conffile.c: Add DATA-PATH config.
2945 * common-src/conffile.h: Add DATA-PATH config.
2946 * installcheck/taper.pl: Add AMANDA data-path.
2947 * perl/Amanda/Config.swg: Add DATA-PATH config.
2948 * server-src/amadmin.c (disklist_one): print data-path.
2949 * server-src/diskfile.c: Add dp argument to xml_application.
2950 * server-src/diskfile.h: New prototype for xml_application.
2951 * server-src/amcheck.c: Use new xml_application.
2952 * server-src/amindexd.c: Use new xml_application.
2953 * server-src/driverio.c: Send data-path to the dumper and taper,
2954 Use new xml_application.
2955 * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
2956 * server-src/planner.c: Use new xml_application.
2957 * server-src/taper.pl: Parse data-path in PORT-WRITE command.
2959 2009-10-21 Jean-Louis Martineau <martineau@zmanda.com>
2960 * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
2961 ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
2962 ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
2963 Add '-o tape-tcp=HOST:PORT' option.
2965 2009-10-21 Dustin J. Mitchell <dustin@zmanda.com>
2966 * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
2967 ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
2968 ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
2969 * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
2970 common-src/Makefile.am: remove ndmp-proxy.*
2971 * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
2972 common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
2973 * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
2974 * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
2977 2009-10-21 Dustin J. Mitchell <dustin@zmanda.com>
2978 * perl/Amanda/Taper/Scribe.pm: get a device before starting
2981 2009-10-21 Jean-Louis Martineau <martineau@zmanda.com>
2982 * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
2984 2009-10-21 Dustin J. Mitchell <dustin@zmanda.com>
2985 * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
2987 * ndmp-src/ndml_conn.c: remove calls to libndmjob function
2988 * device-src/Makefile.am: compile without strict prototypes
2989 * device-src/ndmp-device.c: build against libndmlib, speaking
2990 NDMP natively to the NDMP server instead of via the proxy
2991 * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
2993 2009-10-21 Dustin J. Mitchell <dustin@zmanda.com>
2994 * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
2995 device-src/xfer-dest-taper.c device-src/xfer-device.h: make
2996 XferDestTaper an abstract base class, with XferDestTaperSplitter its
2997 only subclass (for now)
2998 * perl/Amanda/Xfer.swg: SWIG it
2999 * perl/Amanda/XferServer.swg: SWIG it
3000 * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
3001 * perl/Amanda/Taper/Scribe.pm: use subclass
3003 2009-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3004 * installcheck/Installcheck.pm: $0 in double quote "$0".
3006 2009-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3007 * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
3008 * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
3009 * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
3010 * installcheck/amadmin.pl: Remove set_pname call.
3012 2009-10-20 Paul C. Mantz <pcmantz@zmanda.com>
3013 * server-src/amrmtape.pl: added config override option
3014 * installcheck/amrmtape.pl: regression test
3016 2009-10-20 Dustin J. Mitchell <dustin@zmanda.com>
3017 * device-src/xfer-dest-taper.c: add detailed debugging
3018 * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
3019 * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
3020 * server-src/taper.pl: pass debugging flags around
3022 2009-10-20 Dustin J. Mitchell <dustin@zmanda.com>
3023 * xfer-src/dest-buffer.c: fix Solaris cc compile errors
3025 2009-10-20 Dustin J. Mitchell <dustin@zmanda.com>
3026 * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
3028 * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
3029 * installcheck/Amanda_Xfer.pl: tests
3030 * xfer-src/source-pattern.c: fix typo
3032 2009-10-19 Paul C. Mantz <pcmantz@zmanda.com>
3033 * perl/Amanda/Report.pm: error handling for logfile reading.
3034 * perl/Amanda/Logfile.pod: documentation of open_logfile error
3037 2009-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3038 * installcheck/Makefile.am (full_tests): Add amadmin.
3039 * installcheck/amadmin.pl: Check diskname matching argument.
3041 2009-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3042 * common-src/match.c: Fix match_word function.
3044 2009-10-16 Dan Locks <dwlocks@zmanda.com>
3045 * example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
3046 replace IPv6 with IPv4
3048 2009-10-16 Nikolas Coukouma <atrus@zmanda.com>
3049 * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
3050 application-src/amlog-script.pl, application-src/ampgsql.pl,
3051 application-src/amraw.pl, application-src/amsamba.pl,
3052 application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
3053 application-src/amzfs-snapshot.pl, application-src/script-email.pl,
3054 changer-src/chg-glue.pl, common-src/amaespipe.sh,
3055 common-src/amcryptsimple.pl, common-src/amgetconf.pl,
3056 common-src/amgpgcrypt.pl, common-src/event-test.c,
3057 common-src/glib-util.c, common-src/glib-util.h,
3058 common-src/hexencode-test.c, common-src/ipc-binary.c,
3059 common-src/ipc-binary.h, common-src/queueing-test.c,
3060 common-src/queueing.c, common-src/queueing.h,
3061 common-src/quoting-test.c, common-src/semaphore-test.c,
3062 common-src/semaphore.c, common-src/semaphore.h,
3063 common-src/simpleprng.c, common-src/simpleprng.h,
3064 common-src/sockaddr-util.c, common-src/sockaddr-util.h,
3065 common-src/testutils.c, common-src/testutils.h,
3066 config/automake/scripts.am, config/automake/vars.am,
3067 config/macro-archive/docbook-dtd.m4,
3068 config/macro-archive/docbook-xslt-min.m4,
3069 config/macro-archive/docbook-xslt.m4,
3070 config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
3071 device-src/amtapetype.pl, device-src/device-queueing.c,
3072 device-src/device-queueing.h, device-src/device.c,
3073 device-src/device.h, device-src/ndmp-device.c,
3074 device-src/null-device.c, device-src/property.c,
3075 device-src/property.h, device-src/rait-device.c,
3076 device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
3077 device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
3078 device-src/tape-device.c, device-src/tape-device.h,
3079 device-src/tape-ops.h, device-src/tape-posix.c,
3080 device-src/tape-uware.c, device-src/tape-xenix.c,
3081 device-src/vfs-device.c, device-src/vfs-test.c,
3082 device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
3083 device-src/xfer-device.h, device-src/xfer-source-device.c,
3084 device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
3085 installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
3086 installcheck/Amanda_Changer_disk.pl,
3087 installcheck/Amanda_Changer_null.pl,
3088 installcheck/Amanda_Changer_rait.pl,
3089 installcheck/Amanda_Changer_robot.pl,
3090 installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
3091 installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
3092 installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
3093 installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
3094 installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
3095 installcheck/Amanda_IPC_Binary.pl,
3096 installcheck/Amanda_IPC_LineProtocol.pl,
3097 installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
3098 installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
3099 installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
3100 installcheck/Amanda_Taper_Scan.pl,
3101 installcheck/Amanda_Taper_Scan_traditional.pl,
3102 installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
3103 installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
3104 installcheck/Installcheck.pm,
3105 installcheck/Installcheck/Application.pm,
3106 installcheck/Installcheck/Changer.pm,
3107 installcheck/Installcheck/Config.pm,
3108 installcheck/Installcheck/Dumpcache.pm,
3109 installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
3110 installcheck/_setupcache.pl, installcheck/amarchiver.pl,
3111 installcheck/amcheck-device.pl, installcheck/amcheck.pl,
3112 installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
3113 installcheck/amdump.pl, installcheck/amfetchdump.pl,
3114 installcheck/amgetconf.pl, installcheck/amgtar.pl,
3115 installcheck/amlabel.pl, installcheck/ampgsql.pl,
3116 installcheck/amraw.pl, installcheck/amreport.pl,
3117 installcheck/amrestore.pl, installcheck/amrmtape.pl,
3118 installcheck/amservice.pl, installcheck/amstatus.pl,
3119 installcheck/amtape.pl, installcheck/amtapetype.pl,
3120 installcheck/bigint.pl, installcheck/mock/mtx.pl,
3121 installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
3122 installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
3123 packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
3124 perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
3125 perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
3126 perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
3127 perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
3128 perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
3129 perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
3130 perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
3131 perl/Amanda/Config.pod, perl/Amanda/Config.swg,
3132 perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
3133 perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
3134 perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
3135 perl/Amanda/Header.pod, perl/Amanda/Header.swg,
3136 perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
3137 perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
3138 perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
3139 perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
3140 perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
3141 perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
3142 perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
3143 perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
3144 perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
3145 perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
3146 perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
3147 perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
3148 perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
3149 perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
3150 perl/amglue/exports.swg, perl/amglue/filehandles.swg,
3151 perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
3152 perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
3153 perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
3154 server-src/amcheck-device.pl, server-src/amcheckdump.pl,
3155 server-src/amcleanup.pl, server-src/amlabel.pl,
3156 server-src/amrestore.pl, server-src/amrmtape.pl,
3157 server-src/amserverconfig.pl, server-src/amtape.pl,
3158 server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
3159 server-src/taper.pl, server-src/xfer-server.h,
3160 server-src/xfer-source-holding.c, xfer-src/amxfer.h,
3161 xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
3162 xfer-src/element-glue.h, xfer-src/filter-process.c,
3163 xfer-src/filter-xor.c, xfer-src/source-fd.c,
3164 xfer-src/source-pattern.c, xfer-src/source-random.c,
3165 xfer-src/xfer-element.c, xfer-src/xfer-element.h,
3166 xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
3167 xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
3169 2009-10-16 Dustin J. Mitchell <dustin@zmanda.com>
3170 * common-src/hexencode-test.c: avoid compiler warnings and a potential
3171 crash on test failure
3173 2009-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3174 * application-src/amsamba.pl: fix restore.
3176 2009-10-15 Nikolas Coukouma <atrus@zmanda.com>
3177 * application-src/ampgsql.pl, common-src/Makefile.am,
3178 common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
3179 installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
3180 perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
3181 perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
3182 and decoding functions into C. SWIG, document, and test them. Also add
3183 exception-generating typemap for GErrors.
3185 2009-10-14 Nikolas Coukouma <atrus@zmanda.com>
3186 * perl/Amanda/Changer.pm: forgot to import function
3188 2009-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3189 Dustin J. Mitchell <dustin@zmanda.com>
3190 * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
3191 * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
3192 * device-src/ndmp-device.c: Keep track if a device is openned, don't
3193 close the connection to the proxy in ndmp_device_finish().
3194 * installcheck/Amanda_Device_ndmp.pl: More check.
3195 * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
3196 * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
3197 * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
3199 2009-10-13 Nikolas Coukouma <atrus@zmanda.com>
3200 * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
3201 installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
3203 * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
3204 use string_to_boolean
3205 * perl/Amanda/MainLoop.pod: correct spelling
3207 2009-10-09 Jean-Louis Martineau <martineau@zmanda.com>
3208 Revert previous patch.
3210 2009-10-09 Jean-Louis Martineau <martineau@zmanda.com>
3211 * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
3212 * common-src/conffile.c: Add data_path
3213 * common-src/conffile.h: Add data-path
3214 * common-src/ndmp-proxy.c: Improve.
3215 * common-src/ndmp-proxy.h: Improve.
3216 * device-src/device.c (device_start_dump, device_finish_dump
3217 device_write_from_data_path) New method.
3218 * device-src/device.h (device_start_dump, device_finish_dump
3219 device_write_from_data_path) New method.
3220 * device-src/ndmp-device.c: Improve
3221 * device-src/xfer-dest-taper.c: data-path
3222 * device-src/xfer-device.h: data-path
3223 * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
3224 * ndmp-src/ndma_comm_proxy.c: Improve.
3225 * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
3226 * ndmp-src/ndmjob_main.c: Open debug file.
3227 * ndmp-src/ndml_log.c: Check for deliver..
3228 * perl/Amanda/Config.swg: Add data-path
3229 * perl/Amanda/Device.swg: Add new device api
3230 * perl/Amanda/Taper/Scribe.pm: data-path
3231 * perl/Amanda/XferServer.swg: data-path
3232 * server-src/amadmin.c: print data-path
3233 * server-src/amcheck.c: data-path and xml_application change
3234 * server-src/amindexd.c: xml_application change
3235 * server-src/diskfile.c: new xml_application
3236 * server-src/diskfile.h: xml_application prototype change.
3237 * server-src/driver.c: data-path
3238 * server-src/driverio.c: data-path
3239 * server-src/driverio.h (taper_device): new global variable.
3240 * server-src/dumper.c: data-path
3241 * server-src/planner.c: xml_application change
3242 * server-src/taper.pl: data-path
3244 2009-10-08 Dustin J. Mitchell <dustin@zmanda.com>
3245 * perl/Amanda/IPC/Binary.pod: finish docs
3247 2009-10-08 Dustin J. Mitchell <dustin@zmanda.com>
3248 * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
3249 * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
3251 * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
3252 * perl/Amanda/IPC/Binary.pod: stub documentation
3253 * perl/Amanda/IPC/LineProtocol.pm: whitespace
3255 2009-10-08 Dustin J. Mitchell <dustin@zmanda.com>
3256 * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
3257 ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
3260 2009-10-08 Dustin J. Mitchell <dustin@zmanda.com>
3261 * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
3263 * device-src/ndmp-device.c: bugfixes; open and close the conneciton
3264 for each service request, to avoid deadlocking the proxy
3265 * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
3266 ndmjob tape simulator
3267 * installcheck/Installcheck/Mock.pm: add run_ndmjob
3268 * installcheck/Makefile.am: new checks
3269 * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
3270 * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
3271 * ndmp-src/ndmjob.h: p_port
3272 * ndmp-src/ndmjob_args.c: add -p PORT
3273 * ndmp-src/ndmjob_main.c: use -p PORT
3274 * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
3277 2009-10-07 Dan Locks <dwlocks@zmanda.com>
3278 * packaging/deb/control: add mailx|bsd-mailx (also missing
3281 2009-10-07 Jean-Louis Martineau <martineau@zmanda.com>
3282 * server-src/diskfile.c: Fix initialization of xml_app.result.
3284 2009-10-06 Dustin J. Mitchell <dustin@zmanda.com>
3285 * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
3286 remove ndmp-proxy-log-file and ndmp-proxy-debug-level
3287 * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
3288 * common-src/ipc-binary.h: don't recommend static allocation
3289 * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
3290 demand; it will shut down when all of the connections are closed
3291 * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
3292 * installcheck/Installcheck.pm: add get_unused_port()
3293 * installcheck/Makefile.am: new check
3294 * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
3295 ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
3296 ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
3297 ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
3298 proxy into a different executable, and reference count the connections
3300 * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
3301 * perl/Amanda/NDMP.pod: add POD
3302 * server-src/amlabel.pl server-src/amcheck-device.pl: remove
3305 2009-10-06 Paul C. Mantz <pcmantz@zmanda.com>
3306 * perl/Amanda/Reporter.pm: added log handling of amdump and
3308 * installcheck/Amanda_Report.pl: regression tests
3310 2009-10-06 Jean-Louis Martineau <martineau@zmanda.com>
3311 * installcheck/amraw.pl: Use File::Path::mkpath.
3313 2009-10-05 Jean-Louis Martineau <martineau@zmanda.com>
3314 * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
3315 * application-src/amraw.pl: New application.
3316 * installcheck/Makefile.am (client_tests): Add amraw.
3317 * installcheck/amraw.pl: Check amraw functionnality.
3318 * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
3319 * man/xml-source/amanda-applications.7.xml: Add amraw.8.
3320 * man/xml-source/amanda.8.xml: Add amraw.8.
3321 * man/xml-source/amraw.8.xml: New man page for amraw application.
3322 * perl/Amanda/Constants.pm.in: Add DD.
3324 2009-10-05 Paul C. Mantz <pcmantz@zmanda.com>
3325 * server-src/reporter.c: exit code 0 with no output format
3326 specified, fixed default output destination
3328 2009-10-02 Jean-Louis Martineau <martineau@zmanda.com>
3329 * common-src/debug.c (msg_timestamp): Print time in human readable
3332 2009-10-01 Dustin J. Mitchell <dustin@zmanda.com>
3333 * device-src/ndmp-device.c: remove some includes, remove recycle and
3334 erase, streaming desired, close the tape service on finish(), rewind
3335 less, and be more careful about setting errors exactly once
3336 * man/xml-source/amanda-devices.7.xml: document the device
3338 2009-10-01 Paul C. Mantz <pcmantz@zmanda.com>
3339 * server-src/reporter.c: no report made unless destination
3342 2009-10-01 Jean-Louis Martineau <martineau@zmanda.com>
3343 * application-src/amgtar.c (build_re_table, add_type_table,
3344 add_list_table): Remove function.
3345 * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
3346 * client-src/client_util.c (build_re_table, add_type_table,
3347 add_list_table): Add function.
3348 * client-src/client_util.h (build_re_table, add_type_table,
3349 add_list_table): Add prototype.
3350 * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
3352 * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
3354 * client-src/sendsize.c: Rename 'struct regex_s' to
3355 'struct regex_scale_s'.
3356 * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
3359 2009-10-01 Jean-Louis Martineau <martineau@zmanda.com>
3360 * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
3363 2009-10-01 Jean-Louis Martineau <martineau@zmanda.com>
3364 * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
3366 * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
3368 2009-09-30 Dustin J. Mitchell <dustin@zmanda.com>
3369 * server-src/dumper.c: runs setuid root
3370 * common-src/local-security.c: drop root privs
3371 * common-src/rsh-security.c: drop root privs
3372 * common-src/ssh-security.c: drop root privs
3374 2009-09-29 Dustin J. Mitchell <dustin@zmanda.com>
3375 * amandad-src/amandad.h common-src/amanda.h: move constants
3377 * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
3378 inform the OpenBSD pthread library about high-numbered fd's created
3380 * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
3381 client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
3382 use openbsd_fd_infom
3384 2009-09-28 Dustin J. Mitchell <dustin@zmanda.com>
3385 * common-src/util.h: fix comment
3386 * server-src/planner.c: planner runs setuid, so tell check_running_as
3388 2009-09-28 Nikolas Coukouma <atrus@zmanda.com>
3389 * device-src/s3.c: fix day of the week in Date header
3391 2009-09-25 Dustin J. Mitchell <dustin@zmanda.com>
3392 * common-src/amflock.c: set the return value
3393 * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
3394 * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
3395 * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
3396 handle configurations where no tape device is specified better
3397 * server-src/amtape.pl: handle the case where loaded_in == 0
3399 2009-09-25 Nikolas Coukouma <atrus@zmanda.com>
3400 * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
3402 2009-09-24 Dustin J. Mitchell <dustin@zmanda.com>
3403 * man/xml-source/amanda-devices.7.xml: fix typo
3405 2009-09-24 Paul C. Mantz <pcmantz@zmanda.com>
3406 * perl/Amanda/Report.pm: added accessor functions
3407 * installcheck/Amanda_Report.pl: tests
3409 2009-09-24 Dustin J. Mitchell <dustin@zmanda.com>
3410 * device-src/property.c: remove old property instance
3412 2009-09-24 Dustin J. Mitchell <dustin@zmanda.com>
3413 * man/xml-source/amanda-devices.7.xml: update property documentation
3414 and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
3415 * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
3416 device-src/property.c device-src/property.h device-src/device.c
3417 man/xml-source/amanda-changers.7.xml: rename property
3418 * device-src/tape-device.c: accept old and new property names
3419 * installcheck/Amanda_Device.pl: tests
3421 2009-09-10 Jean-Louis Martineau <martineau@zmanda.com>
3422 * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
3423 DIRECTORY properties on restore
3425 2009-09-09 Dustin J. Mitchell <dustin@zmanda.com>
3426 * installcheck/Amanda_Device.pl: fix skip count
3428 2009-09-09 Dustin J. Mitchell <dustin@zmanda.com>
3429 * common-src/util.c common-src/util.h: allow to drop root privs
3431 * common-src/pipespawn.c: drop root
3432 * amandad-src/amandad.c: check effective userid
3433 * common-src/krb5-security.c: check effective userid
3434 * server-src/amcheck.c: check effective userid
3436 2009-09-08 Dustin J. Mitchell <dustin@zmanda.com>
3437 * device-src/s3-device.c: handle EOT correctly
3438 * installcheck/Amanda_Device.pl: check for it
3440 2009-09-08 Dustin J. Mitchell <dustin@zmanda.com>
3441 * changer-src/chg-glue.pl common-src/amgetconf.pl
3442 common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
3443 device-src/amtapetype.pl installcheck/Amanda_Config.pl
3444 installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
3445 perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
3446 restore-src/amfetchdump.c server-src/amadmin.c
3447 server-src/amcheck-device.pl server-src/amcheck.c
3448 server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
3449 server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
3450 server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
3451 server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
3452 server-src/driver.c server-src/dumper.c server-src/planner.c
3453 server-src/reporter.c server-src/taper.pl: change "config_overwrite"
3454 to "config_override"
3456 2009-09-05 Dustin J. Mitchell <dustin@zmanda.com>
3457 * server-src/amvault.pl: use destination volume filenums in amvault
3459 2009-09-04 Dustin J. Mitchell <dustin@zmanda.com>
3460 * common-src/util.c: setuid(0) initially, so that we can release
3461 and acquire root privs
3463 2009-09-03 Jean-Louis Martineau <martineau@zmanda.com>
3464 * device-src/ndmp-device.c: Include "ndmp-proxy.h".
3466 2009-09-03 Dustin J. Mitchell <dustin@zmanda.com>
3467 * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
3468 binary communication protocol
3469 * common-src/ipc-binary-test.c: tests for same
3470 * common-src/ndmp-protocol.h: removed
3471 * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
3472 with ndmp-proxy, including protocol
3473 * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
3474 * common-src/Makefile.am: rename/add files
3475 * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
3476 ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
3479 2009-09-03 Dustin J. Mitchell <dustin@zmanda.com>
3480 * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
3482 2009-09-03 Dustin J. Mitchell <dustin@zmanda.com>
3483 * device-src/ndmp-device.c: remove spurious #include of stream.c
3485 2009-09-02 Jean-Louis Martineau <martineau@zmanda.com>
3486 * common-src/debug.c: Improve debugging.
3487 * restore-src/restore.h (rst_flags_t): Add header_to_fd.
3488 * restore-src/amidxtaped.c: set header_to_fd to 1.
3489 * restore-src/restore.c: Write header to header_to_fd.
3490 * restore-src/amfetchdump.c: Add --header-fd and --header-file
3492 * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
3493 --header-file argument.
3495 2009-09-02 Dustin J. Mitchell <dustin@zmanda.com>
3496 * perl/Amanda/Header.swg: remove spurious references to cmdline.h
3498 2009-09-02 Dustin J. Mitchell <dustin@zmanda.com>
3499 * ndmp-src/Makefile.am: fix dumb typos
3501 2009-08-31 Dustin J. Mitchell <dustin@zmanda.com
3502 * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
3504 2009-08-31 Dustin J. Mitchell <dustin@zmanda.com>
3505 * man/entities/global.entities.in man/xml-source/amadmin.8.xml
3506 man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
3507 man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
3508 man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
3509 man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
3510 man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
3511 man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
3512 man/xml-source/amvault.8.xml: use entities to represent config
3513 overwrites consistently
3515 2009-08-31 Dustin J. Mitchell <dustin@zmanda.com>
3516 * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
3517 cmdline.h in a client-only package
3518 * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
3519 * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
3522 2009-08-31 Dan Locks <dwlocks@zmanda.com>
3523 * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
3526 2009-08-31 Jean-Louis Martineau <martineau@zmanda.com>
3527 * config/amanda/dumpers.m4: Give only a warning if user specified path
3528 is not correct for gtar and star.
3530 2009-08-28 Dustin J. Mitchell <dustin@zmanda.com>
3531 * perl/Amanda/Device.pod: be explicit: finish_file is not for read
3534 2009-08-26 Paul C. Mantz <pcmantz@zmanda.com>
3535 * xfer-src/filter-process.c: fixed write warnings which were
3536 breaking Ubuntu builds
3538 2009-08-26 Paul C. Mantz <pcmantz@zmanda.com>
3539 * perl/Amanda/Logfile.swg: added four previously omitted program
3541 * installcheck/Amanda_Logfile.pl: regression tests for the program
3544 2009-08-26 Jean-Louis Martineau <martineau@zmanda.com>
3545 * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
3546 * configure.in: Use AMANDA_PROG_STAR.
3548 2009-08-25 Jean-Louis Martineau <martineau@zmanda.com>
3549 * config/amanda/components.m4: Fix --with-amrecover=yes
3551 2009-08-25 Jean-Louis Martineau <martineau@zmanda.com>
3552 * ndmp-src/ndmp-protocol.h: Remove file.
3553 * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
3554 * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
3556 2009-08-25 Jean-Louis Martineau <martineau@zmanda.com>
3557 * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
3558 * configure.in: Use AMANDA_NDMP_DEVICE.
3559 * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
3560 andndmp_proxy_debug_level.
3561 * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
3562 and CNF_NDMP_PROXY_DEBUG_LEVEL
3563 * common-src/ndmp-protocol.h: Define protocol between amanda and
3565 * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
3566 connect_to_ndmp_proxy): New functions.
3567 * common-src/util.h: Add prototype for new functions.
3568 * device-src/Makefile.am: Build ndmp-device.
3569 * device-src/device.c: Use ndmp-device.
3570 * device-src/ndmp-device.c: New ndmp device.
3571 * device-src/tape-device.c: Small fix.
3572 * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
3573 * perl/Amanda/Config.swg: Export new CNF_* constants.
3574 * perl/Amanda/Ndmp.swg: New module for ndmp function.
3575 * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
3576 * perl/Amanda/Util.swg: New finish_application function.
3577 * perl/Makefile.am: Build Amanda::Ndmp
3578 * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
3579 stop_ndmp_proxy and finish_application.
3581 2009-08-25 Jean-Louis Martineau <martineau@zmanda.com>
3582 * man/xml-source/amfetchdump.8.xml: Document -h option.
3583 * restore-src/amfetchdump.c: Document -h option, pass the server
3584 feature set to search_tapes.
3586 2009-08-24 Paul C. Mantz <pcmantz@zmanda.com>
3587 * perl/Amanda/Report.pm: Module for abstracting amreport data
3588 * perl/Makefile.am: compile the module
3589 * installcheck/Amanda_Report.pl: test for Amanda::Report
3590 * installcheck/Makefile.am: add the test to installcheck
3592 2009-08-21 Dustin J. Mitchell <dustin@zmanda.com>
3593 * man/xml-source/amgtar.8.xml: changes suggested by Christopher
3594 <chrismcc@pricegrabber.com>
3596 2009-08-20 Jean-Louis Martineau <martineau@zmanda.com>
3597 * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
3598 * ndmp-src/Makefile.am: Link with libamanda
3599 * ndmp-src/ndmos_glib.h: Use strtoll.
3601 2009-08-20 Jean-Louis Martineau <martineau@zmanda.com>
3602 * ndmp-src/*: Import of ndmjob + ndmp-proxy.
3603 * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
3604 * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
3605 * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
3606 * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
3607 * Makefile.am: Build ndmp-src.
3609 2009-08-20 Jean-Louis Martineau <martineau@zmanda.com>
3610 * common-src/ipc-binary.c: New protocol
3611 * common-src/ipc-binary.h: New protocol header
3612 * common-src/Makefile.am: Compile it.
3614 2009-08-20 Jean-Louis Martineau <martineau@zmanda.com>
3615 * man/xml-source/amanda-changers.7.xml: Typo.
3617 2009-08-20 Dustin J. Mitchell <dustin@zmanda.com>
3618 * man/xml-source/amanda-devices.7.xml: tweak
3619 * perl/Amanda/Changer.pm: fix configuration to also include device
3621 * perl/Amanda/Device.pod: deprecate $dev->configure()
3622 * man/xml-source/amanda-changers.7.xml: better documentation
3623 of device configuration via changers
3625 2009-08-18 Dustin J. Mitchell <dustin@zmanda.com>
3626 * restore-src/Makefile.am restore-src/amrestore.c: remove
3627 * common-src/fileheader.c common-src/fileheader.h: add
3629 * common-src/match.c: fix match_level bugs
3630 * installcheck/Amanda_Header.pl: test matches_dumpspecs
3631 * server-src/Makefile.am server-src/amrestore.pl: new perl version
3632 * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
3633 on to the next dumpfile
3634 * man/xml-source/amrestore.8.xml: update docs
3635 * perl/Amanda/Cmdline.pod: typo
3636 * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
3638 * installcheck/Amanda_Util.pl: test sanitise_filename
3639 * perl/Amanda/Util.pod: add sanitise_filename
3641 2009-08-18 Dustin J. Mitchell <dustin@zmanda.com>
3642 * xfer-src/filter-process.c: new xfer element
3643 * xfer-src/xfer-element.h: declare it
3644 * perl/Amanda/Xfer.swg: SWIG it
3645 * perl/Amanda/Xfer.pod: doc it
3646 * xfer-src/Makefile.am: build it
3647 * installcheck/Amanda_Xfer.pl: test it
3649 2009-08-18 Dustin J. Mitchell <dustin@zmanda.com>
3650 * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
3651 to start(), and make the get_source method "low-level"
3652 * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
3653 installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
3654 device-src/amtapetype.pl: don't use get_source
3655 * perl/Amanda/MainLoop.pod: documentation tweak
3657 2009-08-17 Dustin J. Mitchell <dustin@zmanda.com>
3658 * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
3659 perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
3660 perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
3662 * server-src/amcheck-device.pl: fix stupid bug
3664 2009-08-14 Dan Locks <dwlocks@zmanda.com>
3665 * example/Makefile.am: split example into server and client
3666 installperms statements.
3668 2009-08-14 Dustin J. Mitchell <dustin@zmanda.com>
3669 * server-src/amlabel.pl: handle error in Amanda::Changer->new
3671 2009-08-14 Dustin J. Mitchell <dustin@zmanda.com>
3672 * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
3673 * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
3674 add a 'multi' dumpcache and refactor Dumpcache.pm
3675 * installcheck/Installcheck/Run.pm: better diagnostics, better access
3676 to stderr from successful runs
3678 2009-08-12 Dustin J. Mitchell <dustin@zmanda.com>
3679 * installcheck/taper.pl: add a check for taper startup err
3680 * server-src/taper.pl: properly send a startup err instead of die()ing
3681 * perl/Amanda/IPC/LineProtocol.pm: fix typos
3683 2009-08-05 Dustin J. Mitchell <dustin@zmanda.com>
3684 * man/xml-source/amdevcheck.8.xml: manpage tweaks
3686 2009-08-05 Dan Locks <dwlocks@zmanda.com>
3687 * Thanks to Jim Barber for pointing out these bugs.
3688 * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
3689 packaging/deb/amanda-backup-server.postinst: replace all instances
3690 of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
3691 * packaging/deb/control: add build-depends for libglib2.0-dev
3693 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3694 * installcheck/amcheck.pl: fix typo
3696 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3697 * installcheck/amcheck.pl: put options before args for old getopts
3698 * installcheck/Makefile.am: only run amcheck check on full install
3700 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3701 * installcheck/Makefile.am installcheck/amcheck.pl: new tests
3702 * server-src/amcheck.c: fix usage message
3704 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3705 * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
3707 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3708 * server-src/amcheck.c: initialize success properly
3709 * installcheck/mock/mtx.pl: another workaround for bad perl parser
3711 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3712 * installcheck/amlabel.pl: update tests for new messages
3713 * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
3714 rewrite amlabel in perl to use new changer API
3715 * man/xml-source/amlabel.8.xml: overhaul manpage
3716 * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
3718 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3719 * server-src/amlabel.c server-src/amcheck.c: remove include of
3722 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3723 * server-src/Makefile.am server-src/amcheck-device.pl
3724 server-src/amcheck.c: break out device-checking into a perl script
3725 invoked from amcheck
3726 * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
3728 * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
3729 volumes explicitly marked as blank (timestamp="X")
3730 * server-src/taperscan.c server-src/taperscan.h: remove
3732 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3733 * device-src/device.h: remove some comments that are now redundant
3734 * perl/Amanda/Device.pod: put primary Device documentation here,
3735 centralizing what used to be in the header file and on the wiki
3737 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3738 * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
3741 2009-08-04 Dustin J. Mitchell <dustin@zmanda.com>
3742 * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
3744 2009-08-03 Dustin J. Mitchell <dustin@zmanda.com>
3745 * device-src/tape-posix.c: use g_debug instead of dbprintf
3747 2009-08-03 Dustin J. Mitchell <dustin@zmanda.com>
3748 * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
3749 more than once in a scan object's lifetime
3750 * man/xml-source/amanda-taperscan.7.xml: document this
3752 2009-08-03 Dustin J. Mitchell <dustin@zmanda.com>
3753 * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
3754 rewrite amtape in perl
3755 * NEWS: describe changes
3756 * man/xml-source/amtape.8.xml: document behavior
3757 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
3758 perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
3759 perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
3761 * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
3762 tests to match new behavior
3764 2009-08-03 Dustin J. Mitchell <dustin@zmanda.com>
3765 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
3766 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
3767 perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
3768 except_slots, to allow slot scanning
3769 * installcheck/Amanda_Changer_compat.pl
3770 installcheck/Amanda_Changer_disk.pl
3771 installcheck/Amanda_Changer_rait.pl
3772 installcheck/Amanda_Changer_robot.pl: test each implementation
3774 2009-08-03 Dustin J. Mitchell <dustin@zmanda.com>
3775 * perl/Makefile.am perl/Amanda/Changer/robot.pm:
3777 * example/amanda.conf.in: adjust to correspond to new changers
3778 * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
3779 * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
3780 * man/xml-source/amanda-changers.7.xml: documentation for new changer
3781 * perl/Amanda/Changer.pm: POD tweak
3783 2009-07-31 Dan Locks <dwlocks@zmanda.com>
3784 * packaging/deb/control, packaging/rpm/amanda.spec: add native
3785 package names to conflict list
3787 2009-07-30 Dan Locks <dwlocks@zmanda.com>
3788 * example/Makefile.am: separates client from server example,
3789 label, and template files.
3791 2009-07-30 Dustin J. Mitchell <dustin@zmanda.com>
3792 * device-src/Makefile.am device-src/xfer-source-taper.c
3793 device-src/xfer-device.h: new xfer element
3794 * device-src/xfer-source-device.c: typos
3795 * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
3796 * perl/Amanda/XferServer.swg: SWIG it
3797 * perl/Amanda/Xfer.pod: docs
3798 * installcheck/Amanda_Xfer_serveronly.pl: test it
3800 2009-07-30 Jean-Louis Martineau <martineau@zmanda.com>
3801 * application-src/amsuntar.pl: Fix open of fd3.
3803 2009-07-30 Dustin J. Mitchell <dustin@zmanda.com>
3804 * device-src/xfer-dest-taper.c: open disk cache twice instead of
3805 incorrectly relying on dup(); use a local variable to stop the
3806 disk cacher for sure at the end of each part
3808 2009-07-29 Dustin J. Mitchell <dustin@zmanda.com>
3809 * perl/Amanda/Changer.pm: add an inventory() method
3810 * perl/Amanda/Changer/disk.pm: implement
3811 * perl/Amanda/Changer/rait.pm: implement
3812 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
3813 installcheck/Amanda_Changer_disk.pl
3814 installcheck/Amanda_Changer_rait.pl: test
3816 2009-07-29 Dustin J. Mitchell <dustin@zmanda.com>
3817 * perl/Amanda/Changer.pm: do not release() reservations automatically
3818 when they go out of scope
3819 * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
3820 installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
3821 installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
3822 installcheck/Amanda_Changer_single.pl: don't depend on auto-release
3824 2009-07-29 Dustin J. Mitchell <dustin@zmanda.com>
3825 * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
3826 shuffle vtapes instead of linking, and support 'nobarcode'
3827 * installcheck/mock_mtx.pl: test it
3829 2009-07-28 Nikolas Coukouma <atrus@zmanda.com>
3830 * installcheck/Installcheck.pm: Add a function for including Test::More
3831 messages in debug logs (and document it). Move mkpath($TMP) into an
3833 * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
3834 installcheck/Amanda_Changer_disk.pl,
3835 installcheck/Amanda_Changer_null.pl,
3836 installcheck/Amanda_Changer_rait.pl,
3837 installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
3838 installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
3839 installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
3840 installcheck/Amanda_IPC_LineProtocol.pl,
3841 installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
3842 installcheck/Amanda_Taper_Scan_traditional.pl,
3843 installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
3844 installcheck/Amanda_Xfer_serveronly.pl,
3845 installcheck/amrmtape.pl, installcheck/amtape.pl,
3846 installcheck/taper.pl: use Installcheck::log_test_output()
3848 2009-07-27 Dustin J. Mitchell <dustin@zmanda.com>
3849 * perl/Amanda/Changer.pm: add a get_boolean_property helper method
3851 2009-07-27 Dustin J. Mitchell <dustin@zmanda.com>
3852 * config/amanda/defaults.m4: remove --with-changer-device
3853 * common-src/conffile.c: make NULL the default
3854 * example/amanda.conf.in: remove reference to the default
3855 * NEWS: note that option is no longer available
3857 2009-07-27 Dustin J. Mitchell <dustin@zmanda.com>
3858 * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
3859 variables, and just syntax-check everything
3860 * amar-src/Makefile.am application-src/Makefile.am
3861 changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
3862 device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
3863 adjust makefiles to match
3864 * perl/Amanda/Changer/rait.pm: fix some warnings
3866 2009-07-24 Jean-Louis Martineau <martineau@zmanda.com>
3867 * amandad-src/amandad.c: Fix fd allocation.
3869 2009-07-21 Dan Locks <dwlocks@zmanda.com>
3870 * example/Makefile.am: add missing trailing slash
3872 2009-07-18 Dustin J. Mitchell <dustin@zmanda.com>
3873 * installcheck/taper.pl: one more check for the taper's DONE
3875 2009-07-17 Dustin J. Mitchell <dustin@zmanda.com>
3876 * installcheck/taper.pl: add a check for the taper's DONE
3878 2009-07-17 Dustin J. Mitchell <dustin@zmanda.com>
3879 * server-src/xfer-source-holding.c: fix a race condition with
3882 2009-07-17 Dustin J. Mitchell <dustin@zmanda.com>
3883 * server-src/Makefile.am: fix to distribute taper.pl
3885 2009-07-17 Dustin J. Mitchell <dustin@zmanda.com>
3886 * installcheck/Amanda_Taper_Scribe.pl: fix test
3888 2009-07-17 Nikolas Coukouma <atrus@zmanda.com>
3889 * installcheck/taper.pl: remove cruft
3890 * server-src/Makefile.am: remove cruft
3891 * server-src/taper.pl: fix copyright statement
3893 2009-07-17 Dustin J. Mitchell <dustin@zmanda.com>
3894 * server-src/taper.pl: new taper (in perl)
3895 * installcheck/taper.pl: update tests
3896 * server-src/Makefile.am server-src/taper-disk-port-source.c
3897 server-src/taper-disk-port-source.h server-src/taper-file-source.c
3898 server-src/taper-file-source.h server-src/taper-mem-port-source.c
3899 server-src/taper-mem-port-source.h server-src/taper-port-source.c
3900 server-src/taper-port-source.h server-src/taper-source-test.c
3901 server-src/taper-source.c server-src/taper-source.h
3902 server-src/taper.c: deleted
3904 2009-07-17 Dustin J. Mitchell <dustin@zmanda.com>
3905 * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
3906 * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
3908 2009-07-16 Dustin J. Mitchell <dustin@zmanda.com>
3909 * server-src/diskfile.c: add missing _()
3911 2009-07-16 Dustin J. Mitchell <dustin@zmanda.com>
3912 * man/Makefile.am man/xml-source/amanda.8.xml
3913 man/xml-source/amanda-compatibility.7.xml: add new manpage describing
3914 inter-version compatibility
3915 * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
3917 2009-07-16 Jean-Louis Martineau <martineau@zmanda.com>
3918 * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
3920 2009-07-15 Dustin J. Mitchell <dustin@zmanda.com>
3921 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
3922 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
3923 perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
3924 remove $res->{'next_slot'} in favor of $chg->load(relative_slot
3925 => 'next', slot => $slot)
3926 * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
3927 server-src/amvault.pl: use new form
3928 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
3929 installcheck/Amanda_Changer_disk.pl
3930 installcheck/Amanda_Changer_rait.pl: test it
3932 2009-07-15 Dustin J. Mitchell <dustin@zmanda.com>
3933 * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
3934 * NEWS: describe removed keyword
3935 * installcheck/Amanda_Config.pl: don't test for it anymore
3937 2009-07-15 Dustin J. Mitchell <dustin@zmanda.com>
3938 * perl/Amanda/Changer.pm: new with_locked_state method to help
3939 subclasses access a locked statefile
3940 * installcheck/Amanda_Changer.pl: test new method
3941 * perl/Amanda/Changer/disk.pm: use new method
3943 2009-07-15 Dustin J. Mitchell <dustin@zmanda.com>
3944 * common-src/amflock.h common-src/amflock.c: new fcntl-based
3945 file locking support
3946 * common-src/amflock-test.c: test them
3947 * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
3948 * installcheck/Amanda_Util.pl: test that too
3950 2009-07-15 Dustin J. Mitchell <dustin@zmanda.com>
3951 * gnulib/regenerate/regenerate: add ftruncate and lseek modules
3952 * config/config.rpath config/gnulib/* gnulib/*: new modules
3954 2009-07-14 Dustin J. Mitchell <dustin@zmanda.com>
3955 * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
3956 * installcheck/Amanda_DB_Catalog.pl: test same
3958 2009-07-14 Jean-Louis Martineau <martineau@zmanda.com>
3959 * server-src/driverio.c: Print strerror if update of infofile failed.
3961 2009-07-14 Jean-Louis Martineau <martineau@zmanda.com>
3962 * config/automake/scripts.am: Fix *.nouselib creation.
3964 2009-07-13 Dustin J. Mitchell <dustin@zmanda.com>
3965 * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
3966 * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
3967 perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
3969 * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
3970 installcheck/Amanda_Changer_compat.pl
3971 installcheck/Amanda_Changer_disk.pl
3972 installcheck/Amanda_Changer_null.pl
3973 installcheck/Amanda_Changer_rait.pl
3974 installcheck/Amanda_Changer_single.pl
3975 server-src/amvault.pl: use new key
3977 2009-07-13 Jean-Louis Martineau <martineau@zmanda.com>
3978 * application-src/amsamba.pl: Fix parsing domain in amandapass.
3980 2009-07-11 Dustin J. Mitchell <dustin@zmanda.com>
3981 * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
3983 2009-07-10 Nikolas Coukouma <atrus@zmanda.com>
3984 * device-src/s3-device.c: fix calls to erase() before start()
3985 * installcheck/data/aws-bundle.crt: use a larger certificate bundle
3986 * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
3987 with custom certificate bundle, test erase() before start(),
3988 try to do more with an invalid certificate bundle
3990 2009-07-10 Dustin J. Mitchell <dustin@zmanda.com>
3991 * configure.in: don't generate all of the example/ files here
3992 * example/Makefile.am: generate them here
3993 * example/chg-mcutil.conf.in: removed
3994 * example/config.site: removed
3996 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
3997 * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
3998 instead of 'current', as required by previous change
4000 2009-07-09 Alan Hodgson <ahodgson@simkin.ca>
4001 * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
4002 * man/xml-source/amgtar.8.xml: document them
4004 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
4005 * common-src/util.c common-src/util.h: add quote_string_always
4006 * common-src/conffile.c: use it to quote strings on output from config
4008 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
4009 * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
4010 VERSION_MAJOR, _MINOR, etc.
4011 * common-src/version.h: remove everything but version_info
4012 * client-src/versionsuffix.c client-src/Makefile.am: remove
4014 * configure.in: remove versuff.c
4015 * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
4016 USE_VERSION_SUFFIXES
4017 * other source files: change version() to VERSION, remove
4018 versionsuffix() calls, remove unnecessary #include "version.h",
4019 and remove other uses of suffixes
4021 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
4022 * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
4023 of 'current', so the vtape root works as a device
4024 * man/xml-source/amanda-changers.7.xml: document
4026 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
4027 * amandad-src/amandad.c: conditionalize UID checks
4029 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
4030 * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
4031 prefer 'application' and 'script' to 'application-tool' and
4032 'script-tool', but accept both
4033 * common-src/amgetconf.pl: accept both
4034 * installcheck/Installcheck/Config.pm: add_text()
4035 * installcheck/Amanda_Config.pl: test changes
4036 * installcheck/amgetconf.pl: test changes
4037 * man/xml-source/amanda-client.conf.5.xml: document
4038 * man/xml-source/amanda.conf.5.xml: document
4040 2009-07-09 Dustin J. Mitchell <dustin@zmanda.com>
4041 * AUTHORS: update, add notes about contribution licensing
4043 2009-07-06 Dustin J. Mitchell <dustin@zmanda.com>
4044 * changer-src/chg-glue.pl: unref the device, in hopes it will
4045 close the open file descriptor so that tape devices can be used
4046 from the process that invoked chg-glue
4048 2009-07-03 Dustin J. Mitchell <dustin@zmanda.com>
4049 * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
4051 2009-06-30 Dustin J. Mitchell <dustin@zmanda.com>
4052 * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
4054 2009-06-30 Dustin J. Mitchell <dustin@zmanda.com>
4055 * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
4056 perl/Makefile.am: add Perl implementation of the traditional taperscan
4058 * installcheck/Amanda_Taper_Scan.pl
4059 installcheck/Amanda_Taper_Scan_traditional.pl
4060 installcheck/Makefile.am: test
4061 * perl/Amanda/Changer/disk.pm: test support tweak
4062 * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
4063 with a full description of the traditional algo
4064 * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
4066 2009-06-30 Dustin J. Mitchell <dustin@zmanda.com>
4067 * perl/Amanda/MainLoop.swg: add synchronized()
4068 * perl/Amanda/MainLoop.pod: document it
4069 * installcheck/Amanda_MainLoop.pl: test it
4070 * perl/Amanda/Changer/compat.pm: and use it
4072 2009-06-29 Nikolas Coukouma <atrus@zmanda.com>
4073 * device-src/s3.c, installcheck/Amanda_Device.pl:
4074 Don't allow dots in bucket names, for compatability with
4075 libcurl built against NSS.
4077 2009-06-29 Nikolas Coukouma <atrus@zmanda.com>
4078 * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
4079 Test using a certificate bundle with the S3 device
4081 2009-06-26 Jean-Louis Martineau <martineau@zmanda.com>
4082 * common-src/conffile.c: New ORDER keyword in script section.
4083 * common-src/conffile.h: New ORDER keyword in script section.
4084 * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
4085 * perl/Amanda/Config.swg: Bing ORDER keyword.
4086 * application-src/amlog-script.pl: Add --text parameter.
4087 * installcheck/pp-scripts.pl: Check execution order.
4089 2009-06-26 Jean-Louis Martineau <martineau@zmanda.com>
4090 * restore-src/amfetchdump.c, restore-src/amrestore.c,
4091 restore-src/restore.c: Add debugging.
4093 2009-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4094 * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
4096 2009-06-19 Dan Locks <dwlocks@zmanda.com>
4097 * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
4098 changes to packages.
4100 2009-06-19 Dan Locks <dwlocks@zmanda.com>
4101 * packaging/deb/server/control, packaging/deb/client/control: update
4102 depends to list libcurl3 or 4.
4104 2009-06-19 Dustin J. Mitchell <dustin@zmanda.com>
4105 * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
4106 explicit about maintaining tape order with a stable sort
4107 * perl/Amanda/Tapelist.pod: document it
4108 * man/xml-source/tapelist.5.xml: manpages too
4109 * installcheck/Amanda_Tapelist.pl: test it
4110 * installcheck/Makefile.am: sort alphabetically
4112 2009-06-19 Dustin J. Mitchell <dustin@zmanda.com>
4113 * perl/Amanda/Util.swg: expose get_fs_usage in perl
4114 * installcheck/Amanda_Util.pl: test it
4115 * perl/Amanda/Util.pod: document it
4117 2009-06-19 Jean-Louis Martineau <martineau@zmanda.com>
4118 * server-src/reporter.c: Use the filenum from the PART line.
4119 Keep the filenum of the first part.
4121 2009-06-19 Nikolas Coukouma <atrus@zmanda.com>
4122 * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
4123 application-src/amlog-script.pl, application-src/ampgsql.pl,
4124 application-src/amsamba.pl, application-src/amsuntar.pl,
4125 application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
4126 application-src/script-email.pl, changer-src/chg-glue.pl,
4127 common-src/amaespipe.sh, common-src/amcryptsimple.pl,
4128 common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
4129 common-src/event-test.c, common-src/glib-util.c,
4130 common-src/glib-util.h, common-src/queueing-test.c,
4131 common-src/queueing.c, common-src/queueing.h,
4132 common-src/quoting-test.c, common-src/semaphore-test.c,
4133 common-src/semaphore.c, common-src/semaphore.h,
4134 common-src/simpleprng.c, common-src/simpleprng.h,
4135 common-src/sockaddr-util.c, common-src/sockaddr-util.h,
4136 common-src/testutils.c, common-src/testutils.h,
4137 config/automake/scripts.am, config/automake/vars.am,
4138 config/macro-archive/docbook-dtd.m4,
4139 config/macro-archive/docbook-xslt-min.m4,
4140 config/macro-archive/docbook-xslt.m4,
4141 config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
4142 device-src/amtapetype.pl, device-src/device-queueing.c,
4143 device-src/device-queueing.h, device-src/device.c,
4144 device-src/device.h, device-src/null-device.c, device-src/property.c,
4145 device-src/property.h, device-src/rait-device.c,
4146 device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
4147 device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
4148 device-src/tape-device.c, device-src/tape-device.h,
4149 device-src/tape-ops.h, device-src/tape-posix.c,
4150 device-src/tape-uware.c, device-src/tape-xenix.c,
4151 device-src/vfs-device.c, device-src/vfs-test.c,
4152 device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
4153 device-src/xfer-device.h, device-src/xfer-source-device.c,
4154 installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
4155 installcheck/Amanda_Changer_compat.pl,
4156 installcheck/Amanda_Changer_disk.pl,
4157 installcheck/Amanda_Changer_null.pl,
4158 installcheck/Amanda_Changer_rait.pl,
4159 installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
4160 installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
4161 installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
4162 installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
4163 installcheck/Amanda_Holding.pl,
4164 installcheck/Amanda_IPC_LineProtocol.pl,
4165 installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
4166 installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
4167 installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
4168 installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
4169 installcheck/Installcheck/Application.pm,
4170 installcheck/Installcheck/Changer.pm,
4171 installcheck/Installcheck/Config.pm,
4172 installcheck/Installcheck/Dumpcache.pm,
4173 installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
4174 installcheck/_setupcache.pl, installcheck/amarchiver.pl,
4175 installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
4176 installcheck/amdump.pl, installcheck/amfetchdump.pl,
4177 installcheck/amgetconf.pl, installcheck/amgtar.pl,
4178 installcheck/ampgsql.pl, installcheck/amreport.pl,
4179 installcheck/amrmtape.pl, installcheck/amservice.pl,
4180 installcheck/amstatus.pl, installcheck/amtape.pl,
4181 installcheck/amtapetype.pl, installcheck/bigint.pl,
4182 installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
4183 installcheck/pp-scripts.pl, installcheck/taper.pl,
4184 perl/Amanda/Application.pod, perl/Amanda/Application.swg,
4185 perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
4186 perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
4187 perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
4188 perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
4189 perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
4190 perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
4191 perl/Amanda/Config.pod, perl/Amanda/Config.swg,
4192 perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
4193 perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
4194 perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
4195 perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
4196 perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
4197 perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
4198 perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
4199 perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
4200 perl/Amanda/Process.pm, perl/Amanda/Script.pm,
4201 perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
4202 perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
4203 perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
4204 perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
4205 perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
4206 perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
4207 perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
4208 perl/amglue/exports.swg, perl/amglue/filehandles.swg,
4209 perl/amglue/ghashtable.c, perl/amglue/glib.swg,
4210 perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
4211 perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
4212 server-src/amcheckdump.pl, server-src/amcleanup.pl,
4213 server-src/amrmtape.pl, server-src/amserverconfig.pl,
4214 server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
4215 server-src/taper-disk-port-source.c,
4216 server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
4217 server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
4218 server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
4219 server-src/taper-port-source.h, server-src/taper-source.c,
4220 server-src/taper-source.h, server-src/taperscan.c,
4221 server-src/taperscan.h, server-src/xfer-server.h,
4222 server-src/xfer-source-holding.c, xfer-src/amxfer.h,
4223 xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
4224 xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
4225 xfer-src/source-pattern.c, xfer-src/source-random.c,
4226 xfer-src/xfer-element.c, xfer-src/xfer-element.h,
4227 xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
4228 xfer-src/xmsg.c, xfer-src/xmsg.h:
4229 update/correct copyright notice years
4231 2009-06-17 Dustin J. Mitchell <dustin@zmanda.com>
4232 * config/automake/scripts.am: support scripts with subdirs
4234 2009-06-17 Dustin J. Mitchell <dustin@zmanda.com>
4235 * installcheck/mock/mtx.pl: new "mock" mtx for testing
4236 * installcheck/mock_mtx.pl: test the test mtx
4237 * installcheck/Installcheck/Mock.pm: support for using mtx
4238 * installcheck/Installcheck/Run.pm: don't apply sbindir if there
4239 are any slashes in the app name
4240 * installcheck/Makefile.am: new files
4242 2009-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4243 * server-src/planner.c: Fix for bump from level 9 to 10.
4245 2009-06-13 Dustin J. Mitchell <dustin@zmanda.com>
4246 * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
4247 calls to chg-compat's info() (tests the fix committed 2009-06-01)
4249 2009-06-12 Dustin J. Mitchell <dustin@zmanda.com>
4250 * config/amanda/flags.m4: fix --enable-werror macro
4252 2009-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4253 * server-src/planner.c: Print how tape_length is computed.
4255 2009-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4256 * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
4257 * man/xml-source/amanda-client.conf.5.xml: Typo.
4258 * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
4260 2009-06-11 Nikolas Coukouma <atrus@zmanda.com>
4261 * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
4262 common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
4263 common-src/queueing.h, common-src/semaphore-test.c,
4264 common-src/semaphore.c, common-src/semaphore.h,
4265 config/automake/scripts.am, config/automake/vars.am,
4266 device-src/device-queueing.c, device-src/device-queueing.h,
4267 device-src/device.c, device-src/device.h, device-src/null-device.c,
4268 device-src/property.c, device-src/property.h,
4269 device-src/rait-device.c, device-src/s3-device.c,
4270 device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
4271 device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
4272 device-src/tape-device.h, device-src/tape-ops.h,
4273 device-src/tape-posix.c, device-src/tape-uware.c,
4274 device-src/tape-xenix.c, device-src/vfs-device.c,
4275 device-src/vfs-test.c, device-src/xfer-dest-device.c,
4276 device-src/xfer-dest-taper.c, device-src/xfer-device.h,
4277 device-src/xfer-source-device.c, perl/Amanda/Application.pod,
4278 perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
4279 perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
4280 perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
4281 perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
4282 perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
4283 perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
4284 perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
4285 perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
4286 perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
4287 perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
4288 perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
4289 perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
4290 perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
4291 perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
4292 perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
4293 perl/Amanda/Process.pm, perl/Amanda/Script.pm,
4294 perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
4295 perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
4296 perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
4297 perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
4298 perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
4299 perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
4300 perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
4301 perl/amglue/exports.swg, perl/amglue/filehandles.swg,
4302 perl/amglue/ghashtable.c, perl/amglue/glib.swg,
4303 perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
4304 perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
4305 server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
4306 server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
4307 server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
4308 server-src/taper-port-source.h, server-src/taper-source.c,
4309 server-src/taper-source.h, server-src/xfer-server.h,
4310 server-src/xfer-source-holding.c, xfer-src/amxfer.h,
4311 xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
4312 xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
4313 xfer-src/source-pattern.c, xfer-src/source-random.c,
4314 xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
4315 xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
4316 relincense LGPL files under the GPL
4318 2009-06-10 Paul C. Mantz <pcmantz@zmanda.com>
4319 * perl/Amanda/Application.pod: moved from .swg file
4320 * perl/Amanda/Application.swg: removed pod documentation
4321 * perl/Amanda/Archive.pod: moved from .swg file
4322 * perl/Amanda/Archive.swg: removed pod documentation
4323 * perl/Amanda/Cmdline.pod: moved from .swg file
4324 * perl/Amanda/Cmdline.swg: removed pod documentation
4325 * perl/Amanda/Config.pod: moved from .swg file
4326 * perl/Amanda/Config.swg: removed pod documentation
4327 * perl/Amanda/Debug.pod: moved from .swg file
4328 * perl/Amanda/Debug.swg: removed pod documentation
4329 * perl/Amanda/Device.pod: moved from .swg file
4330 * perl/Amanda/Device.swg: removed pod documentation
4331 * perl/Amanda/Disklist.pod: moved from .swg file
4332 * perl/Amanda/Disklist.swg: removed pod documentation
4333 * perl/Amanda/Header.pod: moved from .swg file
4334 * perl/Amanda/Header.swg: removed pod documentation
4335 * perl/Amanda/Logfile.pod: moved from .swg file
4336 * perl/Amanda/Logfile.swg: removed pod documentation
4337 * perl/Amanda/MainLoop.pod: moved from .swg file
4338 * perl/Amanda/MainLoop.swg: removed pod documentation
4339 * perl/Amanda/Tapelist.pod: moved from .swg file
4340 * perl/Amanda/Tapelist.swg: removed pod documentation
4341 * perl/Amanda/Tests.pod: moved from .swg file
4342 * perl/Amanda/Tests.swg: removed pod documentation
4343 * perl/Amanda/Util.pod: moved from .swg file
4344 * perl/Amanda/Util.swg: removed pod documentation
4345 * perl/Amanda/Xfer.pod: moved from .swg file
4346 * perl/Amanda/Xfer.swg: removed pod documentation
4347 * perl/Amanda/XferServer.pod: moved from .swg file
4348 * perl/Amanda/XferServer.swg: removed pod documentation
4349 * perl/Makefile.am: added pod files to tar dist
4351 2009-06-05 Nikolas Coukouma <atrus@zmanda.com>
4352 * installcheck/Amanda_Device.pl: test device named just "s3:"
4354 2009-06-03 Dustin J. Mitchell <dustin@zmanda.com>
4355 * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
4356 Olsen <herolsen@alumni.upenn.edu>
4358 2009-06-03 Dustin J. Mitchell <dustin@zmanda.com>
4359 * config/amanda/dumpers.m4: fix quoting for shell portability
4361 2009-06-02 Nikolas Coukouma <atrus@zmanda.com>
4362 * device-src/s3.c: retry S3 uploads on DNS failure
4364 2009-06-01 Dustin J. Mitchell <dustin@zmanda.com>
4365 * installcheck/Installcheck/Config.pm: add remove_param
4366 * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
4368 2009-06-01 Dustin J. Mitchell <dustin@zmanda.com>
4369 * perl/Amanda/Header.swg: add :constant tag
4370 * server-src/amvault.pl: use it
4372 2009-06-01 Dustin J. Mitchell <dustin@zmanda.com>
4373 * device-src/s3-device.c: start delete at file 1
4375 2009-06-01 Dustin J. Mitchell <dustin@zmanda.com>
4376 * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
4378 2009-06-01 Dustin J. Mitchell <dustin@zmanda.com>
4379 * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
4380 message before existing; fixes problems on OS X
4382 2009-05-28 Jean-Louis Martineau <martineau@zmanda.com>
4383 * server-src/amindexd.c: fix sscanf.
4385 2009-05-28 Jean-Louis Martineau <martineau@zmanda.com>
4386 * server-src/reporter.c: Print only the first 100 lines in FAiL and
4387 STRANGE detail section.
4389 2009-05-27 Jean-Louis Martineau <martineau@zmanda.com>
4390 * common-src/match.c: Match UNC name diskname.
4391 * man/xml-source/amanda.8.xml: Document UNC matcher.
4393 2009-05-27 Jean-Louis Martineau <martineau@zmanda.com>
4394 * client-src/client_util.c: Improve error reporting.
4395 * client-src/sendsize.c: Typo
4396 * client-src/selfcheck.c: Execute application with --calcsize even if
4397 it not the first estimate.
4398 * application-src/amgtar.c: Check calcsize binary.
4399 * application-src/amstar.c: Check calcsize binary.
4400 * server-src/planner.c: log sendsize error as warning if a server
4401 estimate is available.
4403 2009-05-26 Jean-Louis Martineau <martineau@zmanda.com>
4404 * application-src/amgtar.c: Set MAX_LEVEL to 399.
4405 * common-src/amanda.h: Set DUMP_LEVELS to 400.
4406 * client-src/amandates.h: Remove DUMP_LEVELS.
4407 * server-src/infofile.h: Remove DUMP_LEVELS
4408 * server-src/amtrmidx.c: Fix for level with more than one digit.
4409 * server-src/amindexd.c, server-src/find.c
4410 server-src/reporter.c: Use DUMP_LEVELS.
4412 2009-05-25 Dustin J. Mitchell <dustin@zmanda.com>
4413 * device-src/xfer-dest-taper.c: make the pointers, not the objects,
4416 2009-05-25 Jean-Louis Martineau <martineau@zmanda.com>
4417 * common-src/fileheader.c: use %zu for a size_t argument.
4419 2009-05-25 Jean-Louis Martineau <martineau@zmanda.com>
4420 * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
4421 * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
4422 * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
4424 2009-05-24 Dustin J. Mitchell <dustin@zmanda.com>
4425 * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
4426 * perl/Amanda/Util.swg: add split_quoted_strings
4427 * common-src/util.c: handle NULL string correctly
4428 * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
4429 installcheck/Makefile.am: tests for all
4431 2009-05-24 Dustin J. Mitchell <dustin@zmanda.com>
4432 * installcheck/amservice.pl: call $testconfig->write();
4434 2009-05-24 Dustin J. Mitchell <dustin@zmanda.com>
4435 * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
4436 size heuristic; handle the case where extra slabs are still in memory
4437 when rewinding a disk-cached part; add 'volatile' and make memory
4438 access safer; use a cache directory, not file
4439 * device-src/xfer-device.h: use a cache directory, not file
4440 * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
4441 * perl/Amanda/Xfer.swg: use cache directory
4442 * perl/Amanda/XferServer.swg: use cache directory
4444 2009-05-23 Dustin J. Mitchell <dustin@zmanda.com>
4445 * common-src/fileheader.c: use %zd for a size_t argument
4447 2009-05-23 Dustin J. Mitchell <dustin@zmanda.com>
4448 * common-src/fileheader.c: don't automatically call dump_fileheader_t
4450 * server-src/dumper.c server-src/holding.c server-src/taper.c
4451 server-src/chunker.c: add debug messages as necessary
4453 2009-05-23 Dustin J. Mitchell <dustin@zmanda.com>
4454 * device-src/amdevcheck.pl: move from server-src/
4455 * device-src/Makefile.am server-src/Makefile.am: move script
4457 2009-05-23 Dustin J. Mitchell <dustin@zmanda.com>
4458 * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
4459 * installcheck/Amanda_Changer_compat.pl: test it
4461 2009-05-23 Dustin J. Mitchell <dustin@zmanda.com>
4462 * amandad-src/Makefile.am application-src/Makefile.am
4463 oldrecover-src/Makefile.am recover-src/Makefile.am
4464 restore-src/Makefile.am: remove LIB_EXTENSION
4465 * config/amanda/defaults.m4 config/amanda/devprefix.m4
4466 config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
4467 config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
4468 config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
4469 config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
4470 AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
4473 2009-05-22 Jean-Louis Martineau <martineau@zmanda.com>
4474 * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
4476 2009-05-22 Jean-Louis Martineau <martineau@zmanda.com>
4477 * client-src/sendbackup.c: Compatibity with 2.4.2 server.
4479 2009-05-22 Dustin J. Mitchell <dustin@zmanda.com>
4480 * device-src/vfs-device.c: close the tapelabel file after reading it
4482 2009-05-21 Jean-Louis Martineau <martineau@zmanda.com>
4483 * server-src/planner.c: Fix for 'estimate calcsize server' with older
4486 2009-05-21 Jean-Louis Martineau <martineau@zmanda.com>
4487 * common-src/queueing.c: set queue_fd->errmsg.
4488 * restore-src/restore.c: report queue_fd.errmsg
4489 * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
4490 Check validation status before reporting status.
4493 2009-05-21 Dustin J. Mitchell <dustin@zmanda.com>
4494 * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
4496 2009-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4497 * restore-src/restore.c: Report error.
4499 2009-05-20 Dustin J. Mitchell <dustin@zmanda.com>
4500 * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
4501 is true; same for tapedev
4503 2009-05-20 Dustin J. Mitchell <dustin@zmanda.com>
4504 * server-src/changer.c: revert a change (from 2009-02-20) which caused
4505 taperscan to not do a sequential scan if stage one fails
4507 2009-05-20 Dustin J. Mitchell <dustin@zmanda.com>
4508 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
4509 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
4510 perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
4511 add a fast_search info key
4512 * installcheck/Amanda_Changer_compat.pl
4513 installcheck/Amanda_Changer_disk.pl
4514 installcheck/Amanda_Changer_null.pl
4515 installcheck/Amanda_Changer_rait.pl
4516 installcheck/Amanda_Changer_single.pl: test it
4517 * changer-src/chg-glue.pl: and use it to reflect searchability to old
4520 2009-05-20 Dustin J. Mitchell <dustin@zmanda.com>
4521 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
4522 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
4523 perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
4524 changers return full devices, not just device names, and
4525 configure those devices based on device_property parameters
4526 specified in 'changer' configuration sections
4527 * changer-src/chg-glue.pl: return the device_name from the device
4528 (thereby losing the config info)
4529 * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
4530 add changer properties and device_properties
4531 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
4532 installcheck/Amanda_Changer_disk.pl
4533 installcheck/Amanda_Changer_null.pl
4534 installcheck/Amanda_Changer_rait.pl
4535 installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
4536 installcheck/amrmtape.pl: test changer changes
4537 * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
4540 2009-05-19 Dustin J. Mitchell <dustin@zmanda.com>
4541 * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
4542 * installcheck/Amanda_MainLoop.pl: ..so don't test it
4544 2009-05-19 Dustin J. Mitchell <dustin@zmanda.com>
4545 * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
4548 2009-05-19 Jean-Louis Martineau <martineau@zmanda.com>
4549 * common-src/conffile.c: Add reapply_config_overwrites.
4550 * common-src/conffile.h: Add prototype of reapply_config_overwrites.
4551 * perl/Amanda/Config.swg: Add reapply_config_overwrites.
4552 * recover-src/amrecover.c: Call reapply_config_overwrites.
4554 2009-05-18 Dustin J. Mitchell <dustin@zmanda.com>
4555 * perl/Amanda/MainLoop.swg: new high-level call_after,
4556 call_on_child_termination, async_read, async_write; POD for new functions; and
4557 description of good async style
4558 * installcheck/Amanda_MainLoop.pl: test new functions
4559 * perl/amglue/filehandles.swg: use SvIOK
4561 2009-05-18 Dustin J. Mitchell <dustin@zmanda.com>
4562 * perl/Makefile.am: add -Werror on gcc
4564 2009-05-15 Jean-Louis Martineau <martineau@zmanda.com>
4565 * server-src/driver.c: Fix crash in amflush.
4567 2009-05-15 Dustin J. Mitchell <dustin@zmanda.com>
4568 * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
4569 perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
4570 perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
4571 perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
4572 perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
4574 2009-05-15 Dustin J. Mitchell <dustin@zmanda.com>
4575 * installcheck/Installcheck.pm:always create $Installcheck::TMP;
4577 * installcheck/Installcheck/Run.pm: export run_expect
4578 * installcheck/amarchiver.pl: quote a path
4580 2009-05-15 Dustin J. Mitchell <dustin@zmanda.com>
4581 * perl/Amanda/Changer/compat.pm: qualify one last debug message
4583 2009-05-15 Dustin J. Mitchell <dustin@zmanda.com>
4584 * perl/Amanda/XferServer.swg: include xfer-server.h
4586 2009-05-15 Dustin J. Mitchell <dustin@zmanda.com>
4587 * common-src/debug.c common-src/debug.h: refactor set_logerr
4588 and erroutput_type into a more flexible amanda_log_handler system
4589 * server-src/logfile.c server-src/logfile.h: provide
4590 amanda_log_trace_log
4591 * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
4592 * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
4593 * amandad-src/amandad.c application-src/amgtar.c
4594 application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
4595 client-src/sendbackup.c client-src/sendsize.c
4596 restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
4597 server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
4598 server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
4599 server-src/chunker.c server-src/driver.c server-src/dumper.c
4600 server-src/planner.c server-src/reporter.c server-src/taper.c: use new
4603 2009-05-15 Jean-Louis Martineau <martineau@zmanda.com>
4604 * common-src/debug.c: Fix memory leak.
4606 2009-05-13 Dustin J. Mitchell <dustin@zmanda.com>
4607 * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
4609 * installcheck/Amanda_Changer_rait.pl: update tests to expect it
4611 2009-05-13 Dustin J. Mitchell <dustin@zmanda.com>
4612 * perl/Amanda/Device.swg: parse string values for properties
4613 * installcheck/Amanda_Device.pl: test
4615 2009-05-12 Jean-Louis Martineau <martineau@zmanda.com>
4616 * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
4618 2009-05-08 Dustin J. Mitchell <dustin@zmanda.com>
4619 * perl/Amanda/Logfile.swg: add log_add
4620 * installcheck/Amanda_Logfile.pl: test it
4622 2009-05-08 Jean-Louis Martineau <martineau@zmanda.com>
4623 * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
4625 2009-05-07 Chris Hoogendyk <hoogendyk@bio.umass.edu>
4626 * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
4629 2009-05-07 Dustin J. Mitchell <dustin@zmanda.com>
4630 * server-src/changer.c: remove unused variable
4632 2009-05-07 Dustin J. Mitchell <dustin@zmanda.com>
4633 Jean-Louis Martineau <martineau@zmanda.com>
4634 * common-src/debug.c: do not use a mutex in debug_printf
4635 * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
4636 do not call debug_printf after fork()
4638 2009-05-06 Dustin J. Mitchell <dustin@zmanda.com>
4639 * server-src/taper.c: check for division by zero and don't print 'nan'
4641 * installcheck/taper.pl: don't expect 'nan'
4643 2009-05-04 Nikolas Coukouma <atrus@zmanda.com>
4644 * server-src/amrmtape.pl: try loading disklist before erasing,
4645 before amadmin tries (and possibly fails)
4647 2009-05-04 Jean-Louis Martineau <martineau@zmanda.com>
4648 * man/xml-source/amdevcheck.8.xml: Document exit code.
4649 * server-src/amdevcheck.pl: change exit code.
4651 2009-05-04 Dustin J. Mitchell <dustin@zmanda.com>
4652 * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
4654 * installcheck/Installcheck/Config.pm: cleanup
4655 * installcheck/Installcheck/Run.pm: cleanup
4657 2009-05-04 Dustin J. Mitchell <dustin@zmanda.com>
4658 * server-src/taper-mem-port-source.c
4659 server-src/taper-disk-port-source.c: continue reading from the port
4660 after the cache is exhausted, instead of terminating the part abruptly
4661 (which can lead to insertion of spurious zeros into the dumpfile);
4662 also remove some unnecessary assertions (g_return_val_if_fail)
4663 * server-src/taper-file-source.c: use correct unit on part size;
4664 correctly calculate estimated number of parts
4665 * server-src/taper-port-source.c: replace assertion with 'if'
4667 2009-05-04 Jean-Louis Martineau <martineau@zmanda.com>
4668 * server-src/amdevcheck.pl: Add '--label' option.
4669 * man/xml-source/amdevcheck.8.xml: Document '--label' option.
4671 2009-05-04 Nikolas Coukouma <atrus@zmanda.com>
4672 * application-src/ampgsql.pl: accept gnutar-path option;
4673 use absolute path when calling unlink()
4675 2009-05-04 Jean-Louis Martineau <martineau@zmanda.com>
4676 * server-src/taper.c: do not include a partial part in the size
4679 2009-04-30 Jean-Louis Martineau <martineau@zmanda.com>
4680 * server-src/driver.c: Fix deadlock.
4682 2009-04-30 Jean-Louis Martineau <martineau@zmanda.com>
4683 * application-src/amgtar.c, application-src/amstar.c: Validate if
4684 binary not available.
4686 2009-04-30 Jean-Louis Martineau <martineau@zmanda.com>
4687 * application-src/amstar.c: Compile pattern once.
4688 Remove a superfluous '\n'.
4690 2009-04-30 Jean-Louis Martineau <martineau@zmanda.com>
4691 * application-src/amstar.c: Handle hard link.
4693 2009-04-29 Jean-Louis Martineau <martineau@zmanda.com>
4694 * server-src/changer.c: s/execve/execv
4696 2009-04-29 Jean-Louis Martineau <martineau@zmanda.com>
4697 * server-src/changer.c: Pass command override to chg-glue.
4698 * changer-src/chg-glue.pl: Parse command override.
4700 2009-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4701 * server-src/amadmin.c: Fix error reporting in find subcommand.
4703 2009-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4704 * recover-src/amrecover.h: Change prototype.
4705 * recover-src/extract_list.c: merge_path, abort if cd_* failed.
4706 * recover-src/set_commands.c: Many functions return 0 or 1.
4708 2009-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4709 * application-src/amsuntar.pl: Fix redirection in validate command.
4711 2009-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4712 * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
4713 man/xml-source/amflush.8.xml,
4714 man/xml-source/amrestore.8.xml: Fix order of -o argument.
4715 * restore-src/amfetchdump.c, restore-src/amrestore.c,
4716 server-src/amcheck.c,
4717 server-src/amflush.c: Fix order of -o argument in usage function.
4719 2009-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4720 * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
4723 2009-04-28 Nikolas Coukouma <atrus@zmanda.com>
4724 * application-src/ampgsql.pl: remove checks for PG-DATADIR
4726 2009-04-27 Nikolas Coukouma <atrus@zmanda.com>
4727 * application-src/ampgsql.pl: lowercase property names when accessing them
4729 2009-04-27 Nikolas Coukouma <atrus@zmanda.com>
4730 * application-src/ampgsql.pl: fix debug printing of property names,
4731 add parent directory checks to selfcheck command,
4732 check psql binary path, fix whitespace
4733 * perl/Amanda/Application.swg: update usage docs
4734 * installcheck/Installcheck/Application.pm: fix formatting tags
4735 remove 'level' argument from selfcheck command
4736 * installcheck/ampgsql.pl: test selfcheck command a bit
4738 2009-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4739 * server-src/amcheck.c: Remove "Usage of fully qualified hostname
4740 recommended for Client" warning.
4742 2009-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4743 * application-src/amsamba.pl: Use device if specified.
4745 2009-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4746 * client-src/sendbackup.c: Fix dbprintf statements.
4748 2009-04-24 Jean-Louis Martineau <martineau@zmanda.com>
4749 * application-src/amsuntar.pl: Add LANG property.
4750 * man/xml-source/amsuntar.8.xml: Document LANG property.
4752 2009-04-23 Jean-Louis Martineau <martineau@zmanda.com>
4753 * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
4754 add strange regex for UTF-8, estimate fail only if an output match
4755 an error regex or if an output match nothing.
4757 2009-04-23 Dustin J. Mitchell <dustin@zmanda.com>
4758 * server-src/amcheckdump.pl: request tapes manually when using
4759 Amanda::Changer::single
4761 2009-04-23 Jean-Louis Martineau <martineau@zmanda.com>
4762 * application-src/amsuntar.pl: Fix validate command.
4764 2009-04-22 Jean-Louis Martineau <martineau@zmanda.com>
4765 * server-src/amcheckdump.pl: Wait for an input before reading tape.
4767 2009-04-22 Jean-Louis Martineau <martineau@zmanda.com>
4768 * application-src/amsamba.pl: Parse username ending with '%'.
4770 2009-04-22 Sam Couter <sam@couter.id.au>
4771 * changer-src/chg-glue.pl: return a helpful error message when
4772 Amanda::Changer->new() fails
4774 2009-04-22 Jean-Louis Martineau <martineau@zmanda.com>
4775 * server-src/amstatus.pl: Print percentage done when writing to tape.
4777 2009-04-21 Dustin J. Mitchell <dustin@zmanda.com>
4778 * server-src/Makefile.am server-src/xfer-server.h
4779 server-src/xfer-source-holding.c: new module reading from holding
4781 * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
4782 perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
4783 Amanda::Xfer::Source::Holding
4784 * device-src/xfer-dest-taper.c: make class macros public; ignore
4785 cache_inform when part_size == 0
4786 * device-src/xfer-device.h: xfer-dest-taper class macros
4787 * xfer-src/amxfer.h: include element-glue.h
4788 * installcheck/Amanda_Xfer_serveronly.pl: updated tests
4790 2009-04-21 Jean-Louis Martineau <martineau@zmanda.com>
4791 * server-src/diskfile.c: Typo.
4793 2009-04-21 Jean-Louis Martineau <martineau@zmanda.com>
4794 * server-src/diskfile.c: Print ", quoting may not be correct".
4796 2009-04-21 Jean-Louis Martineau <martineau@zmanda.com>
4797 * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
4798 property to 'tape:' driver.
4799 * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
4800 property, set is_eof to FLASE where needed.
4801 * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
4802 * device-src/tape-aix.c, device-src/tape-uware.c,
4803 device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
4804 for FSF_AFTER_FILEMARK.
4805 * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
4807 * xfer-src/dest-null.c: Remove bogus assert.
4808 * device-src/amtapetype.pl: New -p option to discover driver properties,
4809 it can find value for the 'FSF_AFTER_FILEMARK' property.
4810 * man/xml-source/amtapetype.8.xml: Document -p options
4812 2009-04-20 Jean-Louis Martineau <martineau@zmanda.com>
4813 * client-src/sendsize.c: Typo
4814 * server-src/planner.c: Don't log failed estimate message.
4816 2009-04-20 Jean-Louis Martineau <martineau@zmanda.com>
4817 * device-src/tape-device.c: handle EROFS in open.
4819 2009-04-20 Jean-Louis Martineau <martineau@zmanda.com>
4820 * changer-src/chg-zd-mtx.sh: Improve error message.
4822 2009-04-20 Dustin J. Mitchell <dustin@zmanda.com>
4823 * device-src/tape-device.c: improve error messages on reading/writing
4825 2009-04-17 Nikolas Coukouma <atrus@zmanda.com>
4826 * device-src/device.c: fix error message for unparsable property
4827 * installcheck/Amanda_Device.pl: test error message
4829 2009-04-17 Jean-Louis Martineau <martineau@zmanda.com>
4830 * server-src/cmdline.c: host, disk and timestamp argument are not regex
4832 2009-04-17 Jean-Louis Martineau <martineau@zmanda.com>
4833 * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
4835 2009-04-16 Jean-Louis Martineau <martineau@zmanda.com>
4836 * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
4838 * man/xml-source/amsuntar.8.xml: Document them.
4840 2009-04-16 Dustin J. Mitchell <dustin@zmanda.com>
4841 * perl/Amanda/MainLoop.swg: get call_later order right, more useful
4843 * installcheck/Amanda_MainLoop.pl: tests for same
4845 2009-04-16 Jean-Louis Martineau <martineau@zmanda.com>
4846 * server-src/amcheckdump.pl: Fix three typos.
4848 2009-04-16 Nikolas Coukouma <atrus@zmanda.com>
4849 * server-src/amcheckdump.pl: Print per-image status messages,
4850 with detailed error info
4852 2009-04-15 Jean-Louis Martineau <martineau@zmanda.com>
4853 * application-src/amsamba.pl: Fix parsing of username...
4855 2009-04-15 Jean-Louis Martineau <martineau@zmanda.com>
4856 * server-src/amcheckdump.pl: Validate image if all part are available.
4858 2009-04-15 Jean-Louis Martineau <martineau@zmanda.com>
4859 * client-src/sendsize.c: Don't report "can't estimate level" error.
4861 2009-04-15 Jean-Louis Martineau <martineau@zmanda.com>
4862 * server-src/taperscan.c: Make find_brand_new_tape_label return an
4863 error message instead of printing it to stderr. Make scan_read_label
4864 use the error message from find_brand_new_tape_label.
4866 2009-04-15 Dustin J. Mitchell <dustin@zmanda.com>
4867 * restore-src/amfetchdump.c: keep the order of tapes within a
4868 particular run of Amanda
4870 2009-04-15 Nikolas Coukouma <atrus@zmanda.com>
4871 * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
4872 and more pleasant to debug.
4873 * installcheck/Amanda_Changer.pl,
4874 installcheck/Amanda_Changer_compat.pl,
4875 installcheck/Amanda_Changer_disk.pl,
4876 installcheck/Amanda_Changer_null.pl,
4877 installcheck/Amanda_Changer_rait.pl,
4878 installcheck/Amanda_Changer_single.pl,
4879 perl/Amanda/Changer.pm,
4880 perl/Amanda/Changer/compat.pm,
4881 perl/Amanda/Changer/disk.pm,
4882 perl/Amanda/Changer/null.pm,
4883 perl/Amanda/Changer/rait.pm,
4884 perl/Amanda/Changer/single.pm,
4885 perl/Amanda/MainLoop.swg,
4886 server-src/amrmtape.pl,
4887 server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
4889 2009-04-14 Jean-Louis Martineau <martineau@zmanda.com>
4890 * application-src/amsamba.pl: Default amandapass file is
4891 CONFIG_DIR/amandapass.
4893 2009-04-14 Jean-Louis Martineau <martineau@zmanda.com>
4894 * common-src/conffile.c: Fix inheriting properties.
4895 * installcheck/Amanda_Config.pl: Test it.
4897 2009-04-14 Jean-Louis Martineau <martineau@zmanda.com>
4898 * amandad-src/amandad.c: Improve error message.
4900 2009-04-14 Jean-Louis Martineau <martineau@zmanda.com>
4901 * server-src/amstatus.pl: Remove spurious debug message.
4903 2009-04-14 Jean-Louis Martineau <martineau@zmanda.com>,
4904 Satya Ganga <gsat@zmanda.com>
4905 * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
4907 2009-04-14 Jean-Louis Martineau <martineau@zmanda.com>,
4908 Dustin J. Mitchell <dustin@zmanda.com>
4909 Bug found by Gene Heskett.
4910 * server-src/planner.c: Set dp before using it.
4912 2009-04-11 Jean-Louis Martineau <martineau@zmanda.com>
4913 * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
4914 Allow '\' in diskname and amandapass.
4915 * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
4917 2009-04-11 Jean-Louis Martineau <martineau@zmanda.com>
4918 * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
4919 Parse hard link in index.
4920 * server-src/amstatus.pl: Fix amstatus for partial chunker.
4921 * installcheck/amstatus.pl: Test it.
4922 * installcheck/Installcheck/Run.pm: export an $exit_code variable.
4924 2009-04-10 Dustin J. Mitchell <dustin@zmanda.com>
4925 * common-src/conffile.c: fix handling of double-backslash in quoted
4928 2009-04-09 Ray Tracer <RayTracer@irc.freenode.net>
4929 * application-src/amgtar.c: add missing 'break'
4931 2009-04-09 Dustin J. Mitchell <dustin@zmanda.com>
4932 * common-src/conffile.c: store properties in lower-case
4933 * perl/Amanda/Config.swg: document data formats for config values
4934 * installcheck/Amanda_Config.pl: test case-sensitivity
4936 2009-04-09 Dustin J. Mitchell <dustin@zmanda.com>
4937 * device-src/rait-device.c: add rait_device_new_from_children
4938 * device-src/device.h: prototype
4939 * perl/Amanda/Device.swg: wrap into perl
4940 * installcheck/Amanda_Device.pl: test
4942 2009-04-08 Dustin J. Mitchell <dustin@zmanda.com>
4943 * device-src/tape-device.c: fix typo to get device_name right
4945 2009-04-08 Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
4946 * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
4948 2009-04-08 Dustin J. Mitchell <dustin@zmanda.com>
4949 * common-src/fileheader.c: fix early return if PROGRAM not given
4950 * perl/Amanda/Disklist.swg: do not free the C disklist
4951 * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
4952 functionality similar to server-src/holding.[ch]
4953 * server-src/holding.h: clarify comments
4954 * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
4955 installcheck/Makefile.am: tests
4957 2009-04-08 Dustin J. Mitchell <dustin@zmanda.com>
4958 * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
4960 2009-04-07 Dustin J. Mitchell <dustin@zmanda.com>
4961 * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
4963 2009-04-07 Dustin J. Mitchell <dustin@zmanda.com>
4964 * device-src/xfer-dest-taper.c: new xfer element to handle splitting
4965 dumpfiles over multiple volumes, with retry of failed split parts
4966 * device-src/Makefile.am: new file
4967 * device-src/xfer-device.h: new prototype
4968 * installcheck/Amanda_Xfer_serveronly.pl: new tests
4969 * installcheck/Installcheck/Run.pm: increase default vtape size
4970 * perl/Amanda/Xfer.swg: POD for new element
4971 * perl/Amanda/XferDevice.swg: wrap new element
4972 * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
4974 2009-04-07 Jean-Louis Martineau <martineau@zmanda.com>
4975 * client-drc/sendbackup.c: Init result.
4977 2009-04-07 Jean-Louis Martineau <martineau@zmanda.com>
4978 * server-src/taper-source.c (default_taper_source_seek_to_part_start):
4979 returns FALSE on not splitted dump.
4980 * server-src/driverio.c: info.last_level should not be set on error
4981 if level >= info.last_level.
4982 * server-src/driver.c: Rename update_failed_dump_to_tape to
4984 Call update_failed_dump on failed dump to holding disk.
4985 * application-src/amgtar.c: Don't update statefile if the backup failed.
4986 * client-drc/sendbackup.c: Don't update amandates if backup failed.
4988 2009-04-07 Jean-Louis Martineau <martineau@zmanda.com>
4989 * man/xml-source/amanda-changers.7.xml: Document changerfile for
4992 2009-04-03 Dustin J. Mitchell <dustin@zmanda.com>
4993 * perl/Amanda/Changer/compat.pm: always configure devices while
4995 * server-src/amcheckdump.pl: configure devices returned from the
4998 2009-04-03 Jean-Louis Martineau <martineau@zmanda.com>
4999 * application-src/amsamba.pl: Allow empty username.
5000 * man/xml-source/amsamba.8.xml: Document empty username and password.
5002 2009-04-03 Jean-Louis Martineau <martineau@zmanda.com>
5003 * common-src/security-util.c: Fix isdigit use.
5005 2009-04-03 Jean-Louis Martineau <martineau@zmanda.com>
5006 * common-src/conffile.c: New client_port option.
5007 * common-src/conffile.h: New client_port option.
5008 * man/xml-source/amanda-auth.7.xml,
5009 man/xml-source/amanda-client.conf.5.xml,
5010 man/xml-source/amanda.conf.5.xml: New client_port option.
5011 * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
5012 * common-src/bsd-security.c,
5013 common-src/bsdtcp-security.c,
5014 common-src/bsdudp-security.c: Use client_port option.
5015 * common-src/security-util.c: New find_port_for_service function.
5016 * common-src/security-util.h: Prototype for find_port_for_service.
5017 * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
5018 * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
5019 * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
5020 * server-src/amadmin.c (disklist_one): Print client_port.
5021 * server-src/amcheck.c: Fix remote_errors;
5022 * server-src/diskfile.h (disk_t): Add client_port.
5023 * server-src/diskfile.c: Set client_port.
5024 * server-src/driverio.c: Send client_port to dumper.
5025 * server-src/dumper.c: Parse client_port.
5026 * server-src/server_util.c: return client_port.
5028 2009-04-03 Nikolas Coukouma <atrus@zmanda.com>
5029 * device-src/s3-device.c, installcheck/Amanda_Device.pl:
5030 don't require location-compatible name for ignored value
5032 2009-04-03 Jean-Louis Martineau <martineau@zmanda.com>
5033 * application-src/amsamba.pl: Allow empty password.
5034 * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
5035 * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
5037 2009-04-02 Jean-Louis Martineau <martineau@zmanda.com>
5038 * server-src/amstatus.pl: prefix error message with "backup failed:"
5039 if a dump to holding disk failed.
5041 2009-04-02 Jean-Louis Martineau <martineau@zmanda.com>
5042 * server-src/amstatus.pl: Print a taper status.
5043 * server-src/taper.c: Quote TAPE-ERROR reply.
5045 2009-04-02 Dustin J. Mitchell <dustin@zmanda.com>
5046 * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
5048 2009-04-02 Jean-Louis Martineau <martineau@zmanda.com>
5049 * application-src/amsamba.pl: Typo.
5051 2009-04-01 Dustin J. Mitchell <dustin@zmanda.com>
5052 * device-src/s3-device.c: always send errors from setup_handle
5054 2009-04-01 Nikolas Coukouma <atrus@zmanda.com>
5055 * device-src/s3-device.c: don't clobber errors from setup_handle
5057 2009-04-01 Nikolas Coukouma <atrus@zmanda.com>
5058 * NEWS: Note change to Amazon S3, add ampgsql
5060 2009-03-31 Jean-Louis Martineau <martineau@zmanda.com>
5061 * server-src/amcheck.c: Set l on error path.
5063 2009-03-31 Nikolas Coukouma <atrus@zmanda.com>
5064 * device-src/s3.c: don't send empty location constraint,
5065 allocate error messages, fix constraint check in case of wildcard
5066 * installcheck/Amanda_Device.pl: actually test location constraints
5068 2009-03-31 Nikolas Coukouma <atrus@zmanda.com>
5069 * application-src/ampgsql.pl: add newline to end of index entry
5071 2009-03-31 Jean-Louis Martineau <martineau@zmanda.com>
5072 * application-src/amsamba.pl: Set $self->{mesgout} before calling
5075 2009-03-31 Jean-Louis Martineau <martineau@zmanda.com>
5076 * application-src/Makefile.am: Remove amgtar_perl.
5077 * application-src/amgtar_perl.pl: Remove file.
5079 2009-03-30 Jean-Louis Martineau <martineau@zmanda.com>
5080 * man/xml-source/amsamba.8.xml: Document amandapass file location.
5082 2009-03-30 Jean-Louis Martineau <martineau@zmanda.com>
5083 * application-src/amsamba.pl: allow relative AMANDAPASS property.
5084 * man/xml-source/amsamba.8.xml: Document amandapass file location.
5085 * ReleaseNotes: amsamba
5087 2009-03-30 Jean-Louis Martineau <martineau@zmanda.com>
5088 * server-src/amcheck.c: exit(1) if match_disklist() return an error.
5089 * server-src/planner.c: Better logging if match_disklist() return an
5092 2009-03-30 Jean-Louis Martineau <martineau@zmanda.com>
5093 * server-src/planner.c: Use new one_est_t,
5094 print warning for server guessed estimate.
5096 2009-03-29 Dan Locks <dwlocks@zmanda.com>
5097 * packaging/rpm/amanda.spec: change a number of %if conditionals to
5098 macros which expand if they are defined.
5100 2009-03-29 Nikolas Coukouma <atrus@zmanda.com>
5101 * man/xml-source/amanda-devices.7.xml: add more notes
5103 2009-03-27 Nikolas Coukouma <atrus@zmanda.com>
5104 * device-src/s3.c, installcheck/Amanda_Device.pl:
5105 ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
5108 2009-03-27 Dustin J. Mitchell <dustin@zmanda.com>
5109 * installcheck/Amanda_Util.pl: fix warning
5110 * perl/Amanda/Util.swg: fix typos
5112 2009-03-27 Nikolas Coukouma <atrus@zmanda.com>
5113 * application-src/ampgsql.pl, installcheck/ampgsql.pl:
5114 use a different dummy entry
5116 2009-03-27 Jean-Louis Martineau <martineau@zmanda.com>
5117 * recover-src/extract_list.c: Add --level argument to application.
5119 2009-03-27 Jean-Louis Martineau <martineau@zmanda.com>
5120 * application-src/amsuntar.pl: Check for 'symbolic link' in index.
5122 2009-03-27 Dustin J. Mitchell <dustin@zmanda.com>
5123 * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
5125 2009-03-26 Nikolas Coukouma <atrus@zmanda.com>
5126 * installcheck/Amanda_Device.pl: fix test counts
5127 * installcheck/Amanda_Util.pl: fix shadow variable warning
5129 2009-03-26 Nikolas Coukouma <atrus@zmanda.com>
5130 * device-src/s3.c: ignore empty s3_user_token
5131 * installcheck/Amanda_Device.pl: test empty s3_user_token
5133 2009-03-26 Dustin J. Mitchell <dustin@zmanda.com>
5134 * man/xml-source/amanda.conf.5.xml: document new estimate changes made
5137 2009-03-26 Jean-Louis Martineau <martineau@zmanda.com>
5138 * server-src/planner.c: Remove logging of guessed estimate.
5140 2009-03-26 Jean-Louis Martineau <martineau@zmanda.com>
5141 * client-src/sendsize.c: Typo.
5143 2009-03-25 Jean-Louis Martineau <martineau@zmanda.com>
5144 * application-src/ampgsql.pl: Add command_validate.
5145 * application-src/amgtar_perl.pl, application-src/amsamba.pl,
5146 application-src/amsuntar.pl: Sanity check for command_validate.
5147 * perl/Amanda/Application.swg: Add a default_validate function.
5148 * perl/Amanda/Script_App.pm: Execute defulat_validate if
5149 command_validate is not defined.
5151 2009-03-25 Dustin J. Mitchell <dustin@zmanda.com>
5152 * perl/Amanda/Changer.pm: add a 'cmp' operator for
5153 Amanda::Changer::Error objects, to make testing easier
5155 2009-03-25 Dustin J. Mitchell <dustin@zmanda.com>
5156 * perl/Amanda/Changer.pm: add Amanda::Changer::Error
5157 class to give more detail in changer errors
5158 * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
5159 perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
5160 perl/Amanda/Changer/single.pm: use it
5161 * changer-src/chg-glue.pl: handle new errors
5162 * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
5163 (chg_err_like) utility function
5164 * installcheck/Amanda_Changer.pl
5165 installcheck/Amanda_Changer_compat.pl
5166 installcheck/Amanda_Changer_disk.pl
5167 installcheck/Amanda_Changer_null.pl
5168 installcheck/Amanda_Changer_rait.pl
5169 installcheck/Amanda_Changer_single.pl: change tests
5171 2009-03-25 Dustin J. Mitchell <dustin@zmanda.com>
5172 * perl/Amanda/Changer.pm: remove unused import() and export()
5174 2009-03-25 Dustin J. Mitchell <dustin@zmanda.com>
5175 * device-src/s3.c: fix segfault in s3_make_bucket with location
5178 2009-03-25 Dustin J. Mitchell <dustin@zmanda.com>
5179 * perl/Amanda/Util.swg: add full_read and full_write
5180 * installcheck/Amanda_Util.pl: test 'em
5182 2009-03-25 Jean-Louis Martineau <martineau@zmanda.com>
5183 * application-src/amsuntar.pl: Generate valid index stream.
5185 2009-03-24 Nikolas Coukouma <atrus@zmanda.com>
5186 * man/xml-source/amanda-applications.7.xml,
5187 man/xml-source/amanda.8.xml: add missing references to applications
5189 2009-03-24 Nikolas Coukouma <atrus@zmanda.com>
5190 * application-src/ampgsql.pl: older versions of perl don't like
5191 mixing functions and export tags
5193 2009-03-24 Nikolas Coukouma <atrus@zmanda.com>
5194 * application-src/ampgsql.pl, installcheck/ampgsql.pl:
5195 generate more-complete index, improve debugging and error handling
5197 2009-03-24 Jean-Louis Martineau <martineau@zmanda.com>
5198 * common-src/conffile.c: Fix line counting, Remove check for plugin.
5199 * server-src/diskfile.c: Add check for plugin.
5201 2009-03-24 Jean-Louis Martineau <martineau@zmanda.com>
5202 * server-src/planner.c: Default server estimate not larger than half
5203 a tape. log a warning.
5205 2009-03-24 Jean-Louis Martineau <martineau@zmanda.com>
5206 * application-src/amsamba.pl: Fix typo and check if smbclient is set.
5208 2009-03-24 Jean-Louis Martineau <martineau@zmanda.com>
5209 * application-src/amgtar.c, application-src/amstar.c:
5210 Do sanity check if required arguments are not provided.
5212 2009-03-23 Nikolas Coukouma <atrus@zmanda.com>
5213 * AUTHORS: remove "active" status if not committed in over 2 years
5214 * ChangeLog: clean up some messiness
5215 * contrib/changelog_parse.pl: simple parser for ChangeLog
5217 2009-03-23 Jean-Louis Martineau <martineau@zmanda.com>
5218 * application-src/amgtar.c: Add NO-UNQUOTE to restore.
5220 2009-03-23 Jean-Louis Martineau <martineau@zmanda.com>
5221 * application-src/amgtar.c, application-src/amgtar_perl.pl,
5222 client-src/sendbackup-gnutar.c, client-src/sendsize.c,
5223 recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
5224 * application-src/amgtar.c: add NO-UNQUOTE property.
5225 * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
5227 2009-03-23 Nikolas Coukouma <atrus@zmanda.com>
5228 * application-src/ampgsql.pl, installcheck/ampgsql.pl:
5229 fix ampgsql installchecks
5231 2009-03-23 Jean-Louis Martineau <martineau@zmanda.com>
5232 * application-src/amgtar.c, application-src/amgtar_perl.pl,
5233 client-src/sendbackup-gnutar.c, client-src/sendsize.c,
5234 recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
5236 2009-03-23 Jean-Louis Martineau <martineau@zmanda.com>
5237 * application-src/amgtar.c, application-src/amstar.c,
5238 client-src/client_util.c, client-src/client_util.h,
5239 client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
5240 client-src/sendbackup.c, client-src/sendsize.c,
5241 common-src/conffile.c, common-src/conffile.h,
5242 common-src/util.c, oldrecover-src/extract_list.c,
5243 recover-src/extract_list.c,
5244 server-src/server_util.c: Use GPtrArray instead of my_argv[].
5246 2009-03-23 Jean-Louis Martineau <martineau@zmanda.com>
5247 * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
5248 Document the fact that: The { must appear at the end of a line,
5249 and the } on its own line.
5251 2009-03-21 Jean-Louis Martineau <martineau@zmanda.com>
5252 * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
5254 2009-03-20 Jean-Louis Martineau <martineau@zmanda.com>
5255 * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
5256 * recover-src/amrecover.h: Add verbose to many prototype.
5257 * recover-src/extract_list.c: Allow to use path for many command.
5258 * recover-src/set_commands.c: Add verbose to many function.
5259 * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
5261 2009-03-19 Dustin J. Mitchell <dustin@zmanda.com>
5262 (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
5263 * common-src/Makefile.am: don't include genversion.h in distribution
5266 2009-03-19 Jean-Louis Martineau <martineau@zmanda.com>
5267 * man/Makefile.am: Add .SECONDARY target.
5269 2009-03-19 Dustin J. Mitchell <dustin@zmanda.com>
5270 * man/xslt/expand-sambadoc.xsl:
5271 * man/entities/global.entities.in
5272 man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
5273 for 'SEE ALSO' sections
5274 * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
5275 symbol; tweak tapecycle description
5277 2009-03-19 Dustin J. Mitchell <dustin@zmanda.com>
5278 * xfer-src/Makefile.am: add -release to libamxfer
5280 2009-03-18 Nikolas Coukouma <atrus@zmanda.com>
5281 * server-src/amrmtape.pl, installcheck/amrmtape.pl:
5282 re-label tapes if we --erase them and --keep-label is present
5284 2009-03-18 Jean-Louis Martineau <martineau@zmanda.com>
5285 * installcheck/Amanda_Process.pl: Fix for OS return perl.
5287 2009-03-18 Jean-Louis Martineau <martineau@zmanda.com>
5288 * perl/Amanda/Process.pm: Better match of argument.
5289 Match 'perl' to any process name.
5291 2009-03-18 Jean-Louis Martineau <martineau@zmanda.com>
5292 * installcheck/Amanda_Process.pl: Check second argument if first
5293 argument start with a dash.
5294 * perl/Amanda/Process.pm: The process name is now returned, not perl.
5296 2009-03-18 Jean-Louis Martineau <martineau@zmanda.com>
5297 * man/xml-source/amrmtape.8.xml: Fix.
5298 * perl/Amanda/Process.pm: Find the process name if it is a perl script.
5299 * server-src/amrmtape.pl: Check and create the "log" file if --erase.
5301 2009-03-18 Nikolas Coukouma <atrus@zmanda.com>
5302 * application-src/ampgsql.pl: fix numerous bugs, improve debug info
5304 2009-03-17 Jean-Louis Martineau <martineau@zmanda.com>
5305 * application-src/amgtar.c: fix typo causing check-device to be
5306 interpreted incorrectly
5308 2009-03-17 Dustin J. Mitchell <dustin@zmanda.com>
5309 * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
5310 implementation of the info() method
5311 * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
5312 perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
5313 perl/Amanda/Changer/single.pm: use them
5314 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
5317 2009-03-17 Jean-Louis Martineau <martineau@zmanda.com>
5318 * server-src/amlabel.c: give correct exit status on failure
5320 2009-03-13 Jean-Louis Martineau <martineau@zmanda.com>
5321 * server-src/amstatus.pl: dump in "writing to tape" mode should also
5322 be included in the "dumped" summary.
5324 2009-03-13 Jean-Louis Martineau <martineau@zmanda.com>
5325 * server-src/find.c: Fix listing of partial dump in holding disk.
5327 2009-03-12 Jean-Louis Martineau <martineau@zmanda.com>
5328 * installcheck/amreport.pl: New file.
5330 2009-03-12 Jean-Louis Martineau <martineau@zmanda.com>
5331 * common-src/columnar.c: New defaults, allow precision to be set.
5332 * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
5333 * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
5334 * installcheck/Makefile.am: add amreport.
5335 * installcheck/amreport.pl: Check different value of columnspec.
5336 * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
5338 2009-03-12 Jean-Louis Martineau <martineau@zmanda.com>
5339 * server-src/planner.c: Log quoted qname.
5341 2009-03-11 Dustin J. Mitchell <dustin@zmanda.com>
5342 * device-src/amtapetype.pl: do not produce broken 'bytes' units
5343 * installcheck/amtapetype.pl: test changes
5344 * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
5345 * common-src/conffile.c: fix default for tapetype:length
5347 2009-03-11 Dustin J. Mitchell <dustin@zmanda.com>
5348 * common-src/amfeatures.c: improve error handling in
5349 am_string_to_feature, return NULL on error
5350 * amandad-src/amandad_util.c recover-src/amrecover.c
5351 server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
5352 server-src/driver.c server-src/dumper.c server-src/planner.c: always
5353 terminate the string passed to am_string_to_feature
5355 2009-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5356 * server-src/taper.c: return DONE if input file is partial.
5358 2009-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5359 * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
5360 value for boolean properties.
5362 2009-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5363 * server-src/amstatus.pl: Print "failed: process terminated while" for
5364 dead run. Change "wait for" for "waiting for".
5366 2009-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5367 * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
5368 * man/xml-source/amstar.8.xml: Document it.
5370 2009-03-10 Dustin J. Mitchell <dustin@zmanda.com>
5371 * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
5373 2009-03-09 Nikolas Coukouma <atrus@zmanda.com>
5374 * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
5376 2009-03-09 Nikolas Coukouma <atrus@zmanda.com>
5377 * application-src/ampgsql.pl:
5378 set environment variables when running psql (from selfcheck)
5380 2009-03-07 Nikolas Coukouma <atrus@zmanda.com>
5381 * application-src/ampgsql.pl: add selfcheck to ampgsql
5383 2009-03-06 Dustin J. Mitchell <dustin@zmanda.com>
5384 * perl/Amanda/Changer/rait.pm: replace die() with a proper error
5387 2009-03-06 Dustin J. Mitchell <dustin@zmanda.com>
5388 * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
5389 config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
5390 configure.in: upgrade to libtool-2.2.4
5392 2009-03-06 Dustin J. Mitchell <dustin@zmanda.com>
5393 * restore-src/restore.c: remove incorrect assertion
5395 2009-03-06 Dustin J. Mitchell <dustin@zmanda.com>
5396 * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
5397 on a bad feature string
5399 2009-03-06 Dustin J. Mitchell <dustin@zmanda.com>
5400 * Makefile.am: always build xfer-src, on client or server
5401 * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
5402 device-src/xfer-device.h device-src/xfer-dest-device.c
5403 device-src/xfer-source-device.c: move device-specific xfer elts to
5405 * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
5407 * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
5408 only import server-specific symbols if they are available
5409 * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
5410 installcheck/Amanda_Xfer_serveronly.pl: split into general and
5411 server-specific checks
5413 2009-03-05 Nikolas Coukouma <atrus@zmanda.com>
5414 * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
5415 options so we don't print "mkdir ..." lines into our backup data
5417 2009-03-05 Dustin J. Mitchell <dustin@zmanda.com>
5418 * installcheck/Amanda_Device.pl: only perform property tests when we
5419 have a working S3 device; and get test counts right
5421 2009-03-05 Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
5422 * man/xml-source/amanda.conf.5.xml,
5423 man/xml-source/amanda-devices.7.xml,
5424 installcheck/Amanda_Config.pl,
5425 installcheck/Amanda_Device.pl,
5427 common-src/glib-util.c,
5428 common-src/conffile.c,
5429 common-src/conffile.h:
5430 be consistent in the various names for 'true' and 'false' we allow,
5431 specifically in device properties
5433 2009-03-05 Nikolas Coukouma <atrus@zmanda.com>
5434 * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
5435 while backing up data dir
5437 2009-03-05 Nikolas Coukouma <atrus@zmanda.com>
5438 * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
5439 make ampgsql use runtar (so it can access PostgreSQL's files)
5441 2009-03-04 Dustin J. Mitchell <dustin@zmanda.com>
5442 * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
5443 * installcheck/Amanda_Changer_rait.pl: test it
5444 * man/xml-source/amanda-changers.7.xml: document it
5446 2009-03-04 Dustin J. Mitchell <dustin@zmanda.com>
5447 * device-src/rait-device.c: fix failure when parity (last) child
5449 * installcheck/Amanda_Device.pl: test the fix
5451 2009-03-04 Dustin J. Mitchell <dustin@zmanda.com>
5452 * changer-src/chg-glue.pl: add debugging
5453 * perl/Amanda/Changer/compat.pm: add debugging
5455 2009-03-03 Nikolas Coukouma <atrus@zmanda.com>
5456 * application-src/ampgsql.pl: don't hang if .backup file never appears
5458 2009-03-02 Nikolas Coukouma <atrus@zmanda.com>
5459 * example/amanda-client-postgresql.conf.in:
5460 update example and make it more complete
5462 2009-03-02 Nikolas Coukouma <atrus@zmanda.com>
5463 * application-src/ampgsql.pl,
5464 man/xml-source/ampgsql.8.xml: cleanup old WAL files
5466 2009-03-02 Nikolas Coukouma <atrus@zmanda.com>
5467 * installcheck/amrmtape.pl,
5468 server-src/amrmtape.pl: zero datestamp with --keep-label
5470 2009-03-01 Nikolas Coukouma <atrus@zmanda.com>
5471 * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
5473 2009-02-27 Jean-Louis Martineau <martineau@zmanda.com>
5474 * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
5476 2009-02-27 Dustin J. Mitchell <dustin@zmanda.com>
5477 * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
5479 2009-02-26 Dustin J. Mitchell <dustin@zmanda.com>
5480 * restore-src/restore.c: if the changer does not provide a device,
5481 use the configured tapedev
5483 2009-02-26 Dan Locks <dwlocks@zmanda.com>
5484 * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
5485 rpm builds will be broken for a bit longer in trunk
5487 2009-02-26 Nikolas Coukouma <atrus@zmanda.com>
5488 * application-src/amgtar_perl.pl,
5489 application-src/amlog-script.pl,
5490 application-src/ampgsql.pl,
5491 application-src/amsamba.pl,
5492 application-src/amsuntar.pl,
5493 application-src/amzfs-sendrecv.pl,
5494 application-src/amzfs-snapshot.pl,
5495 application-src/script-email.pl,
5496 perl/Amanda/Application.swg,
5497 perl/Amanda/Script.pm,
5498 perl/Amanda/Script_App.pm:
5499 load config-name/amanda-client.conf as well as amanda-client.conf
5501 2009-02-26 Nikolas Coukouma <atrus@zmanda.com>
5502 * application-src/ampgsql.pl,
5503 installcheck/amgtar.pl,
5504 installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
5506 2009-02-25 Nikolas Coukouma <atrus@zmanda.com>
5507 * application-src/amoracle.pl,
5508 application-src/ampgsql.pl,
5509 example/amanda-client-oracle.conf.in,
5510 example/amanda-client-postgresql.conf.in,
5511 installcheck/ampgsql.pl,
5512 man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
5513 in line with conventions
5515 2009-02-24 Jean-Louis Martineau <martineau@zmanda.com>
5516 * amandad-src/amandad.c, application-src/amgtar.c,
5517 changer-src/scsi-changer-driver.c, client-src/client_util.c,
5518 common-src/conffile.c, device-src/s3-device.c,
5519 oldrecover-src/set_commands.c, recover-src/set_commands.c,
5520 server-src/amindexd.c, server-src/planner.c,
5521 server-src/reporter.c: Replace all occurences of index by strchr,
5522 Replace all occurences of rindex by strrchr.
5524 2009-02-24 Nikolas Coukouma <atrus@zmanda.com>
5525 * device-src/s3.c: make s3_list_keys use its own buffer
5527 2009-02-24 Nikolas Coukouma <atrus@zmanda.com>
5528 * device-src/s3.c: fix error buffer handling of overflow data
5530 2009-02-24 Dustin J. Mitchell <dustin@zmanda.com>
5531 * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
5534 2009-02-24 Nikolas Coukouma <atrus@zmanda.com>
5535 * man/xml-source/ampgsql.8.xml,
5536 man/xml-source/amsamba.8.xml,
5537 man/xml-source/amstar.8.xml,
5538 man/xml-source/amsuntar.8.xml:
5539 document the mapping of configure options to default application
5542 2009-02-23 Dustin J. Mitchell <dustin@zmanda.com>
5543 * device-src/rait-device.c: actually *report* mismatched child
5544 labels/timestamps; correctly detect the 'first' device; and free old
5547 2009-02-23 Dustin J. Mitchell <dustin@zmanda.com>
5548 * server-src/driver.c: improve confusing out-of-tapes error message
5550 2009-02-20 Jean-Louis Martineau <martineau@zmanda.com>
5551 * server-src/changer.c: if changer_find is used to search for a
5552 specific tape, do not try a redundant manual scan after the
5555 2009-02-20 Dustin J. Mitchell <dustin@zmanda.com>
5556 * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
5557 directory to test dumps
5559 2009-02-20 Dustin J. Mitchell <dustin@zmanda.com>
5560 * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
5561 installcheck/Amanda_Changer_disk.pl
5562 installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
5563 installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
5564 installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
5565 installcheck/Installcheck/Config.pm
5566 installcheck/Installcheck/Dumpcache.pm
5567 installcheck/Installcheck/Run.pm installcheck/Makefile.am
5568 installcheck/amarchiver.pl installcheck/amfetchdump.pl
5569 installcheck/amgetconf.pl installcheck/amgtar.pl
5570 installcheck/ampgsql.pl installcheck/amservice.pl
5571 installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
5572 subdirectory of AMANDA_TMPDIR for installcheck temporary files
5574 2009-02-20 Dustin J. Mitchell <dustin@zmanda.com>
5575 * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
5576 * amar-src/amar-test.c common-src/amflock-test.c
5577 common-src/event-test.c common-src/queueing-test.c
5578 common-src/quoting-test.c common-src/semaphore-test.c
5579 device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
5582 2009-02-20 Dustin J. Mitchell <dustin@zmanda.com>
5583 * common-src/conffile.c: change the default changerfile to
5586 2009-02-20 Dustin J. Mitchell <dustin@zmanda.com>
5587 * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
5588 * device-src/device.c: support PROPERTY_COMMENT
5589 * installcheck/Amanda_Device.pl: test it
5590 * man/xml-source/amanda-devices.7.xml: document it
5592 2009-02-20 Jean-Louis Martineau <martineau@zmanda.com>
5593 * common-src/conffile.c: Add t, tb, tera, ... suffix.
5594 * man/xml-source/amanda.conf.5.xml: Document it.
5596 2009-02-19 Nikolas Coukouma <atrus@zmanda.com>
5597 * example/amanda-client-postgresql.conf.in,
5598 example/Makefile.am,
5600 man/xml-source/ampgsql.8.xml,
5602 application-src/Makefile.am,
5603 application-src/ampgsql.pl,
5604 installcheck/Makefile.am,
5605 installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
5606 * installcheck/Installcheck/Application.pm:
5607 fix property names in case of underscores
5608 * installcheck/Installcheck/Run.pm:
5609 if application starts with /, don't assume it's in sbin
5611 2009-02-19 Dustin J. Mitchell <dustin@zmanda.com>
5612 * perl/Amanda/Util.swg: move POD to the top of the file, refomat
5614 2009-02-19 Dustin J. Mitchell <dustin@zmanda.com>
5615 * common-src/util.h common-src/util.c: remove unneeded needs_quotes
5617 2009-02-19 Dustin J. Mitchell <dustin@zmanda.com>
5618 * installcheck/Amanda_Types.pl
5619 installcheck/Amanda_Header.pl: rename Amanda::Types to
5620 Amanda::Header, add to_string and from_string methods
5621 * common-src/fileheader.c: fix bug in returned size
5622 * device-src/amtapetype.pl installcheck/Amanda_Device.pl
5623 installcheck/Amanda_Xfer.pl installcheck/Makefile.am
5624 perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
5625 perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
5628 2009-02-19 Dustin J. Mitchell <dustin@zmanda.com>
5629 * common-src/Makefile.am common-src/queue.h: remove file
5630 * amandad-src/amandad.c common-src/alloc.c
5631 common-src/bsdtcp-security.c common-src/krb5-security.c
5632 common-src/local-security.c common-src/rsh-security.c
5633 common-src/security-util.c common-src/security-util.h
5634 common-src/ssh-security.c: remove includes and replace TAILQ with
5637 2009-02-18 Jean-Louis Martineau <martineau@zmanda.com>
5638 * config/amanda/krb4-security.m4: Remove file
5639 * common-src/krb4-security.c: Remove file.
5640 * example/config.site, example/amanda.conf.in,
5641 client-src/client_util.c, amandad-src/amandad.c,
5642 man/xml-source/amanda-client.conf.5.xml,
5643 man/xml-source/amanda.conf.5.xml,
5644 man/xml-source/amgetconf.8.xml,
5645 configure.in, server-src/dumper.c,
5646 server-src/diskfile.c, perl/Amanda/Constants.pm.in,
5647 installcheck/Amanda_Config.pl, common-src/amfeatures.h,
5648 common-src/security.c, common-src/security.h,
5649 common-src/genversion.c, common-src/amgetconf.pl,
5650 common-src/conffile.c, common-src/Makefile.am,
5651 common-src/amfeatures.c: Remove krb4 support.
5653 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5654 * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
5656 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5657 * common-src/debug.h common-src/debug.c: add ability to supporess
5659 * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
5661 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5662 * perl/Makefile.am: actually install Amanda::Change::rait
5664 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5665 * common-src/util.c: add missing 'const'
5667 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5668 * common-src/util.c common-src/util.h device-src/rait-device.c
5669 perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
5670 expand_braced_alternates and collapse_braced_alternates out of
5671 rait-device.c and into util.c, and make them available from Perl
5672 * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
5673 perl/Makefile.am: new changers
5674 * installcheck/Amanda_Changer_null.pl
5675 installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
5677 * changer-src/Makefile.am changer-src/chg-null.sh
5678 changer-src/chg-rait.sh: remove old scripts
5679 * man/xml-source/amanda-changers.7.xml
5680 man/xml-source/amanda-devices.7.xml: update documentation
5682 2009-02-18 John Hein <jhein@timing.com>
5683 * common-src/dgram.c: set the send buffer size when creating a new
5686 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5687 * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
5688 change PP_SCRIPT to SCRIPT, to match the name of the config param
5689 * server-src/diskfile.c installcheck/Amanda_Config.pl:
5692 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5693 * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
5696 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5697 * common-src/conffile.c common-src/conffile.h: use a simple
5698 identlist_t for pp_scripts
5699 * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
5700 server-src/server_util.c: use identlist_t's
5702 2009-02-18 Dustin J. Mitchell <dustin@zmanda.com>
5703 * perl/Amanda/Config.swg: perl bindings
5705 2009-02-18 Jean-Louis Martineau <martineau@zmanda.com>
5706 * common-src/conffile.c common-src/conffile.h: Change
5707 DUMPTYPE_APPLICATION to give a string val_t; remove the
5708 pointer-to-application val_t subtype; also fix many
5709 memory leaks and simplify memory management
5710 * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
5711 server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
5712 server-src/planner.c: use new val_t result correctly
5714 2009-02-18 Jean-Louis Martineau <martineau@zmanda.com>
5715 * client-src/selfcheck.c: Do dle check without disk.
5716 * common-src/amxml.c: Accept a dle without a disk.
5717 * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
5718 application-src/amgtar_perl.pl,
5719 application-src/amsamba.pl, application-src/amstar.c,
5720 application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
5721 application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
5722 a disk is not provided.
5724 2009-02-18 Jean-Louis Martineau <martineau@zmanda.com>
5726 * application-src/amzfs-sendrecv.pl: Use compression ratio for
5727 compressed filesystem.
5729 2009-02-18 Jean-Louis Martineau <martineau@zmanda.com>
5730 * server-src/amdump.sh: Check if planner/driver are executable and
5733 2009-02-17 Dustin J. Mitchell <dustin@zmanda.com>
5734 * restore-src/amfetchdump.c: remove unintended debugging messages
5736 2009-02-17 Jean-Louis Martineau <martineau@zmanda.com>
5737 * changer-src/chg-manual.sh: make messages clearer
5738 * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
5740 * server-src/amcheckdump.pl: handle errors better
5742 2009-02-17 Dustin J. Mitchell <dustin@zmanda.com>
5743 * changer-src/chg-manual.sh: make messages clearer
5744 * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
5746 * server-src/amcheckdump.pl: handle errors better
5748 2009-02-17 Jean-Louis Martineau <martineau@zmanda.com>
5749 * recover-src/extract_list.c: Set all_level with level_t.
5751 2009-02-17 Dustin J. Mitchell <dustin@zmanda.com>
5752 * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
5753 Jose Hales-Garcia <jose@stat.ucla.edu>
5755 2009-02-12 Jean-Louis Martineau <martineau@zmanda.com>
5756 * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
5757 * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
5758 NONBLOCKING_OPEN property.
5759 * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
5760 * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
5762 * server-src/amdevcheck.pl: Call $device->configure(1).
5764 2009-02-11 Dustin J. Mitchell <dustin@zmanda.com>
5765 * changer-src/chg-rait.sh: get directory handling right (patch from
5766 Jim.pennino on wiki.zmanda.com)
5767 * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
5769 * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
5770 volume that's not currently reserved
5771 * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
5772 after cleaning or ejecting
5773 * installcheck/Amanda_Changer_compat.pl: updated tests
5775 2009-02-11 Dustin J. Mitchell <dustin@zmanda.com>
5776 * perl/Makefile.am: add a version number to libamglue
5778 2009-02-10 Dustin J. Mitchell <dustin@zmanda.com>
5779 * restore-src/restore.c: fix incorrect assertion
5781 2009-02-10 Dustin J. Mitchell <dustin@zmanda.com>
5782 * config/amanda/debugging.m4: fix --disable-syntax-checks
5784 2009-02-09 Dustin J. Mitchell <dustin@zmanda.com>
5785 * config/amanda/debugging.m4: add --disable-syntax-checks
5786 * config/automake/scripts.am: disable them
5787 * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
5789 2009-02-09 Dustin J. Mitchell <dustin@zmanda.com>
5790 * man/xml-source/amanda.conf.5.xml: remove TODO
5792 2009-02-07 Dustin J. Mitchell <dustin@zmanda.com>
5793 * common-src/event.c: use built-in child watch source on FreeBSD
5795 2009-02-06 Jean-Louis Martineau <martineau@zmanda.com>
5796 * server-src/dumper.c: options is already unquoted.
5797 * common-src/util.c: argument should not be quoted when added to argv.
5799 2009-02-06 Dustin J. Mitchell <dustin@zmanda.com>
5800 * installcheck/Amanda_Changer_compat.pl: remove debugging code
5802 2009-02-06 Jean-Louis Martineau <martineau@zmanda.com>
5803 patch by Yoshihiro Ishikawa
5804 * recover-src/extract_list.c: Handle application-api.
5806 2009-02-06 Dustin J. Mitchell <dustin@zmanda.com>
5807 * installcheck/Amanda_Changer_compat.pl: support 'eject'
5808 * perl/Amanda/Changer.pm: change release/do_relase relationship
5809 * perl/Amanda/Changer/compat.pm: same
5810 * perl/Amanda/Changer/disk.pm: same
5811 * perl/Amanda/Changer/single.pm: same
5813 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
5814 * common-src/conffile.h: Add ES_ES.
5815 * common-src/conffile.c: Handle ES_ES in switch.
5816 * server-src/amadmin.c: Handle ES_ES in switch.
5817 * client-src/sendsize.c: Works with many multiple estimate method.
5818 * server-src/planner.c: Works with many multiple estimate method.
5820 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
5821 * application-src/amgtar.c, application-src/amgtar_perl.pl,
5822 application-src/amsamba.pl, application-src/amstar.c,
5823 application-src/amsuntar.pl,
5824 application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
5825 * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
5826 * client-src/client_util.h: New field to keep its value.
5828 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
5829 * common-src/amfeatures.c,
5830 common-src/amfeatures.h: And fe_xml_level_server amfeature.
5831 * common-src/amxml.c: parse <server> tag in level tag.
5832 * server-src/planner.c: Send <server> tag,
5833 Move estimate server calculation to its own function.
5835 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
5836 * client-src/client_util.c, client-src/sendbackup-gnutar.c,
5837 client-src/sendbackup.c, client-src/sendbackup-dump.c,
5838 client-src/sendsize.c,
5839 client-src/selfcheck.c, recover-src/extract_list.c,
5841 common-src/amxml.h: Change Change dle->level for dle->levellist,
5842 each element is a level_t struct.
5844 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
5845 * amplot/amplot.awk: Set term to x11.
5847 2009-02-04 Jean-Louis Martineau <martineau@zmanda.com>
5848 * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
5849 * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
5850 * common-src/amxml.c: Parse multiple estimate value.
5851 * common-src/amxml.h: Change estimate for estimatelist in dle_t.
5852 * server-src/diskfile.h (xml_estimate): Protoype.
5853 * server-src/diskfile.c (xml_estimate): New function.
5854 * server-src/amcheck.c: Use xml_estimate.
5855 * server-src/planner.c: Use xml_estimate.
5856 * client-src/sendbackup.c, client-src/sendsize.c,
5857 client-src/selfcheck.c: Use first estimate in estimatelist.
5859 2009-02-02 Jean-Louis Martineau <martineau@zmanda.com>
5860 * common-src/conffile.c: Correctly copy pp_scriptlist.
5862 2009-02-02 Jean-Louis Martineau <martineau@zmanda.com>
5863 * server-src/amstatus.pl: Remove a bogus line.
5865 2009-01-30 Dustin J. Mitchell <dustin@zmanda.com>
5866 * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
5868 2009-01-30 Jean-Louis Martineau <martineau@zmanda.com>
5869 * recover-src/amrecover.c: Always print error.
5870 * server-src/amindexd.c: read stderr of uncompress and sort process,
5871 put the result in a GPtrArray, send the complete array to amrecover.
5873 2009-01-30 Jean-Louis Martineau <martineau@zmanda.com>
5874 * common-src/conffile.c: Typo.
5876 2009-01-30 Jean-Louis Martineau <martineau@zmanda.com>
5877 * common-src/conffile.c, common-src/conffile.h,
5878 server-src/diskfile.h, server-src/amcheck.c,
5879 server-src/planner.c, server-src/amadmin.c,
5880 server-src/diskfile.c, perl/Amanda/Config.swg,
5881 installcheck/Amanda_Config.pl: Use a list of estimate.
5883 2009-01-30 Jean-Louis Martineau <martineau@zmanda.com>
5884 * common-src/conffile.c, common-src/conffile.h,
5885 server-src/amcheck.c, server-src/holding.c,
5886 server-src/driver.c, perl/Amanda/Config.swg,
5887 installcheck/Amanda_Config.pl: 'define' keyword is use only to define
5888 an holding disk, you must use 'holdisgdisk' without 'define' if you
5891 2009-01-29 Dustin J. Mitchell <dustin@zmanda.com>
5892 * config/config.guess config/config.sub: new updates from FSF
5894 2009-01-29 Benjamin Lewis <bhlewis@purdue.edu>
5895 * autogen: fix quoting error
5896 * config/amanda/dumpers.m4: use a hostname we're more confident
5899 2009-01-28 Dustin J. Mitchell <dustin@zmanda.com>
5900 * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
5901 perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
5902 perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
5904 2009-01-28 Dustin J. Mitchell <dustin@zmanda.com>
5905 * common-src/conffile.c: support "." as a config name, indicating
5907 * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
5908 old-school changer shell scripts
5909 * man/xml-source/amanda.8.xml: docs
5910 * perl/Amanda/Config.swg: docs
5912 2009-01-28 Nikolas Coukouma <atrus@zmanda.com>
5913 * installcheck/Makefile.am: do not run client software checks --without-client
5915 2009-01-28 Jean-Louis Martineau <martineau@zmanda.com>
5916 * config/automake/scripts.am: Fix another get line numbers right when
5917 syntax-checking perl scripts
5919 2009-01-27 Nikolas Coukouma <atrus@zmanda.com>
5920 * installcheck/Installcheck/Application.pm: make sure all data is read
5921 * installcheck/amgtar.pl: check if GNU tar is present,
5922 avoid using atime-preserve, make sure reported and actual size match
5924 2009-01-27 Dustin J. Mitchell <dustin@zmanda.com>
5925 * installcheck/amgtar.pl: fix typo
5927 2009-01-27 Nikolas Coukouma <atrus@zmanda.com>
5928 * installcheck/Installcheck/Application.pm: Add Installcheck::Application
5929 harness for running things via the Application API
5930 * installcheck/amgtar.pl: Add installchecks for amgtar
5931 * installcheck/Makefile.am: Add files to build and distribution
5933 2009-01-26 Dustin J. Mitchell <dustin@zmanda.com>
5934 * config/automake/scripts.am: get line numbers right when
5935 syntax-checking perl scripts
5937 2009-01-26 Satya Ganga <gsat@zmanda.com>
5938 * xml-source/amsuntar.8.xml : Update man page with RBAC info
5939 * application-src/amsuntar.pl : Adding support for estimate
5941 2009-01-23 Dustin J. Mitchell <dustin@zmanda.com>
5942 * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
5943 used by the tape device
5944 * device-src/tape-device.c: enable appending, using F_NOOP when
5945 necessary to avoid writing a double filemark
5946 * installcheck/Amanda_Device.pl: new tests
5948 2009-01-22 Dustin J. Mitchell <dustin@zmanda.com>
5949 * common-src/fileheader.c common-src/fileheader.h
5950 device-src/device.c device-src/device.h: make header-
5951 building more flexible, allowing varying sizes
5952 * device-src/s3-device.c: use the new flexibility to write only the
5953 header data necessary to S3
5954 * device-src/tape-device.c device-src/vfs-device.c
5955 restore-src/restore.c server-src/chunker.c server-src/dumper.c
5956 server-src/holding.c: use new function signatures, without changing
5959 2009-01-22 Jean-Louis Martineau <martineau@zmanda.com>
5960 * man/xml-source/amstar.8.xml: Typo.
5962 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
5963 * server-src/driver.c: Add call to short_dump_state().
5965 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
5966 * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
5968 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>,
5969 Dustin J. Mitchell <dustin@zmanda.com>
5970 * common-src/fileheader.c: Remove strquotedstr function.
5971 * common-src/quoting-test.c: Test strquotedstr function.
5972 * common-src/util.c: Add prototype for strquotedstr function.
5973 * common-src/util.h: Add new strquotedstr function.
5975 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
5976 * application-src/Makefile.am: Typo
5978 2009-01-21 Dustin J. Mitchell <dustin@zmanda.com>
5979 Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
5980 * packaging/rpm/amanda.spec: detect and properly support suse11.1,
5981 with a temporary hack to support suse11, too
5983 2009-01-21 Jean-Louis Martineau <martineau@zmanda.com>
5984 * server-src/amstatus.pl: Fix use of %free and %qlen keys.
5986 2009-01-20 Dan Locks <dwlocks@zmanda.com>
5987 * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
5988 libtermcap.so.2 for fedora, change tar requirement to %{tarver}
5990 2009-01-20 Dan Locks <dwlocks@zmanda.com>
5991 * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
5992 install perl for the client package add "directory mode" to defattr
5993 statements where appropriate.
5995 2009-01-19 Jean-Louis Martineau <martineau@zmanda.com>
5996 * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
5998 2009-01-19 Satya Ganga <gsat@zmanda.com>
5999 * application-src/amsuntar.pl : New amsuntar application
6000 * application-src/Makefile.am : Make file updates to include amsuntar
6001 * man/entities/global.entities.in : Add to gsat to the name list
6002 * man/Makefile.am man/xml-source/amsuntar.8.xml : add new man amsuntar man page
6004 2009-01-19 Dustin J. Mitchell <dustin@zmanda.com>
6005 * device-src/vfs-device.c: remove bogus locking stubs that are
6006 making syscalls like close(-1); fix error handling in read_label
6007 if check_is_dir fails()
6009 2009-01-19 Jean-Louis Martineau <martineau@zmanda.com>
6010 * device-src/vfs-device.c: robust_open can return fd 0.
6012 2009-01-19 Tom Robinson <tom.robinson@constantstream.com>
6013 * server-src/amoverview.pl: fix parsing of filenames containing colons
6015 2009-01-19 Jean-Louis Martineau <martineau@zmanda.com>
6016 * application-src/amzfs-sendrecv.pl: Handle incremental,
6017 new KEEP-SNAPSHOT property.
6018 * man/xml-source/amzfs-sendrecv.8.xml: Document it.
6019 * application-src/teecount.c: New program.
6020 * application-src/Makefile.am: Add teecount.
6021 * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
6022 * common-src/amanda.h: include "safe-read.h"
6024 2009-01-17 Jean-Louis Martineau <martineau@zmanda.com>
6025 * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
6028 2009-01-16 Dan Locks <dwlocks@zmanda.com>
6029 * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
6031 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6032 * packaging/rpm/amanda.spec: Fix for fedora 10.
6034 2009-01-16 Dustin J. Mitchell <dustin@zmanda.com>
6035 * device-src/vfs-device.c: don't cache the dir_handle, as
6036 such caching does not work on some network filesystems
6038 2009-01-16 Dustin J. Mitchell <dustin@zmanda.com>
6039 * man/xml-source/amanda.conf.5.xml: add documentation
6040 of inheritance for config sections
6042 2009-01-16 Dustin J. Mitchell <dustin@zmanda.com>
6043 * device-src/amtapetype.pl: add a 'config' parameter
6044 * man/xml-source/amtapetype.8.xml: documentation
6045 * installcheck/amtapetype.pl: test with a small vtape
6047 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6048 * server-src/driver.c: Use bitwise NOT for taper_state.
6050 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6051 * server-src/taper.c: Go to next tape if device_start_file fail.
6052 * device-src/tape-device.c: write a filemark when a file is finished.
6053 * device-src/tape-device.h (TapeDevice): Remove first_file.
6055 2009-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6056 * client-src/sendbackup.c: Fix for no index with application.
6057 * application-src/amstar.c: Improve error reporting.
6058 * application-src/amgtar.c: Improve error reporting.
6060 2009-01-14 Jean-Louis Martineau <martineau@zmanda.com>
6061 * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
6062 * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
6064 2009-01-13 Dustin J. Mitchell <dustin@zmanda.com>
6065 * perl/Amanda/Paths.pm.in: add $localstatedir
6066 * server-src/amserverconfig.pl: remove extraneous /
6068 2009-01-13 Jean-Louis Martineau <martineau@zmanda.com>
6069 * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
6070 defining an holdingdisk.
6071 * common-src/conffile.c: Document it.
6073 2009-01-13 Jean-Louis Martineau <martineau@zmanda.com>
6074 * server-src/amcheck.c: Check fallback_splitsize is smaller than
6076 * server-src/taper-mem-port-source.c: Dont; check physmem_available.
6078 2009-01-12 Jean-Louis Martineau <martineau@zmanda.com>
6079 * server-src/server_util.c: New get_pending_cmd function.
6080 * server-src/server_util.h: get_pending_cmd prototype.
6081 * server-src/driver.c: Send message to dumper in ABORT command.
6082 * server-src/driverio.c: Send message to dumper in ABORT command.
6083 * server-src/dumper.c: Check for ABORT cmd.
6084 * server-src/reporter.c: Don't log duplicate
6085 'Not enough holding disk space' error
6087 2009-01-12 Jean-Louis Martineau <martineau@zmanda.com>
6088 * server-src/driver.c: Fix result_argv subscript.
6090 2009-01-08 Jean-Louis Martineau <martineau@zmanda.com>
6091 * restore-src/amfetchdump.c: Write to stderr.
6093 2009-01-06 Jean-Louis Martineau <martineau@zmanda.com>,
6094 Dustin J. Mitchell <dustin@zmanda.com>
6095 * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
6097 * installcheck/Amanda_Device.pl: Add more tape check.
6099 2009-01-06 Jean-Louis Martineau <martineau@zmanda.com>
6100 * server-src/taper.c: Don't call changer_label() if a changer is not
6103 2009-01-06 Jean-Louis Martineau <martineau@zmanda.com>
6104 * server-src/driverio.c: Set *result_argv to NULL on EOF.
6105 * server-src/taper-mem-port-source.c: Set an error if the memory can't
6106 be allocated for the memory buffer.
6108 2009-01-05 Dustin J. Mitchell <dustin@zmanda.com>
6109 * client-src/runtar.c: remove unnecessary check for existence of
6112 2009-01-05 Jean-Louis Martineau <martineau@zmanda.com>
6113 * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
6114 perl/Amanda/Xfer.swg: Fix compiler warning.
6116 2009-01-05 Jean-Louis Martineau <martineau@zmanda.com>
6117 * config/automake/scripts.am: Remove 'use lib' line before doing check.
6119 2008-12-22 Paul Yeatman <pyeatman@zmanda.com>
6120 * man/entities/global.entities.in: added author/email entity for me
6121 * man/xml-source/amanda-auth.7.xml: newly added man page
6122 * man/Makefile.am: added amanda-auth to section 7
6123 * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
6124 and added link to amanda-auth man page
6125 * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
6126 amanda-auth and added link to amanda-auth man page
6128 2008-12-22 Nikolas Coukouma <atrus@zmanda.com>
6129 * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
6131 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
6132 * device-src/s3.c: translate error code 0 to "None", not NULL
6134 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
6135 * application-src/amgtar.c,
6136 application-src/amstar.c: Use sizeof(line) for argument to fgets.
6138 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6139 * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
6142 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
6143 * installcheck/Installcheck/Dumpcache.pm
6144 installcheck/Installcheck/Run.pm installcheck/amdump.pl
6145 installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
6146 it, and use it in amdump and pp-scripts
6147 * application-src/amlog-script.pl: don't pretend to be script-email
6148 * man/Makefile.am: amanda-archive-format should be section 5
6149 * man/xml-source/amanda-archive-format.5.xml: small tweaks
6150 * man/xml-source/amanda-changers.7.xml: fix authorship
6151 * man/xml-source/amanda.8.xml: add link to amvault(8)
6152 * man/xml-source/amvault.8.xml: enumerate limitations of this version
6153 * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
6155 2008-12-22 Dustin J. Mitchell <dustin@zmanda.com>
6156 * config/amanda/dirs.m4: add --with-amdatadir
6157 * example/Makefile.am: use it for examples and templates
6158 * perl/Amanda/Paths.pm.in: add $amdatadir
6159 * server-src/amserverconfig.pl: use it
6160 * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
6161 so that built packages still put examples and templates in
6164 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6165 * application-src/amstar.c: Use fgets to read star output.
6166 * application-src/amgtar.c: Use fgets to read gtar output.
6168 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>,
6169 Dustin J. Mitchell <dustin@zmanda.com>
6170 * common-src/util.c: Convert underscore in application and script
6171 property name to dash.
6172 * device-src/property.c: Make underscore and dash equal in device
6174 * installcheck/Amanda_Device.pl: Check device property name with
6175 mixed case and dash.
6176 * installcheck/pp-scripts.pl: Check property name with underscore.
6178 2008-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6179 * server-src/reporter.c: Fix reporting of FLUSH.
6181 2008-12-21 Dustin J. Mitchell <dustin@zmanda.com>
6182 * device-src/s3-device.c: use devpay if the user token property is
6183 given; otherwise, regular S3
6184 * installcheck/Amanda_Device.pl: adjust tests to correspond
6186 2008-12-19 Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
6187 * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
6188 Reset read and write when retrying a failed request
6190 2008-12-19 Dustin J. Mitchell <dustin@zmanda.com>
6191 * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
6192 to test the SSL_CA_INFO property
6194 2008-12-19 Jean-Louis Martineau <martineau@zmanda.com>
6195 * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
6197 2008-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6198 * common-src/security-util.c: Don't free 'rc'.
6200 2008-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6201 * man/xml-source/amgtar.8.xml: Improve documentation of regex.
6203 2008-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6204 * common-src/conffile.h (anonymous_value): New prototype.
6205 * common-src/conffile.c (anonymous_value): New function.
6206 * common-src/conffile.c: Use anonymous_value.
6207 * server-src/diskfile.c: Use anonymous_value.
6209 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
6210 * perl/Amanda/Script_App.pm: Fix infinite loop.
6211 * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
6213 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
6214 * server-src/planner.c: Run script only if todo is set.
6216 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
6217 * installcheck/amfetchdump.pl: chdir() before rmtree().
6219 2008-12-17 Jean-Louis Martineau <martineau@zmanda.com>
6220 * installcheck/amarchiver.pl: chdir() before rmtree().
6222 2008-12-17 Dustin J. Mitchell <dustin@zmanda.com>
6223 * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
6224 * installcheck/pp-scripts.pl: add atime-preserve property
6226 2008-12-16 Dustin J. Mitchell <dustin@zmanda.com>
6227 * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
6230 2008-12-16 Dan Locks <dwlocks@zmanda.com>
6231 * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
6232 "present but cannot be compiled" warning during debian packaging.
6234 2008-12-16 Jean-Louis Martineau <martineau@zmanda.com>
6235 * common-src/security-util.c: Don't close if it's not open.
6237 2008-12-16 Jean-Louis Martineau <martineau@zmanda.com>
6238 * application-src/Makefile.am: Add amlog-script.
6239 * application-src/amlog-script.pl: New scripts.
6240 * server-src/amcheck.c , server-src/planner.c,
6241 server-src/server_util.c, server-src/server_util.h,
6242 server-src/driver.c: Add level argument to run_server_scripts().
6243 The script is executed with that level argument.
6244 * installcheck/pp-scripts.pl: Check scripts.
6245 * installcheck/Makefile.am: Add pp-scripts.
6247 2008-12-16 Dustin J. Mitchell <dustin@zmanda.com>
6248 * man/Makefile.am man/xml-source/amanda-changers.7.xml
6249 man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
6250 man/xml-source/amanda.conf.5.xml: new documentation
6251 * perl/Amanda/Changer.pm: not finished yet!
6252 * perl/Amanda/Changer/compat.pm: fix error message
6253 * server-src/changer.c changer-src/chg-glue.pl:
6254 better error handling
6256 2008-12-15 Jean-Louis Martineau <martineau@zmanda.com>
6257 * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
6259 2008-12-15 Dustin J. Mitchell <dustin@zmanda.com>
6260 * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
6261 * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
6262 stringify bigints in is_deeply arguments
6263 * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
6264 * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
6265 BigIntCompat for perl-5.6 compatibility
6267 2008-12-15 Nikolas Coukouma <atrus@zmanda.com>
6269 perl/amglue/amglue.swg,
6270 perl/amglue/filehandles.swg: add typemap to convert perl file handles
6271 to int file descriptors
6272 * installcheck/Amanda_Device.pl: update usage
6273 * perl/Amanda/Device.swg,
6274 perl/Amanda/Archive.swg,
6275 perl/Amanda/MainLoop.swg: update docs, make typemap apply
6277 2008-12-15 Nikolas Coukouma <atrus@zmanda.com>
6278 * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
6279 ability to test well with just DevPay credentials
6281 2008-12-14 Dustin J. Mitchell <dustin@zmanda.com>
6282 * man/Makefile.am: change manpage build process
6283 * man/entities/global.entities.in: generate with config.status
6284 * man/xslt/html.xsl.in: new templates to handle authors
6285 * man/xslt/man.xsl.in: new templates to handle authors
6286 * man/xml-source/*.xml: change specification of authors
6287 * man/xml-source/amanda-applications.7.xml: add links to apps
6288 * man/xml-source/amanda-scripts.7.xml: add links to scripts
6290 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6291 * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
6292 always be at the beginning of the line.
6294 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6295 * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
6297 2008-12-12 John Hein <jhein@timing.com>
6298 * server-src/amdump.sh: fix Open3 invocation to work on
6301 2008-12-12 Nikolas Coukouma <atrus@zmanda.com>
6302 * device-src/s3-device.c,
6305 installcheck/Amanda_Device.pl,
6306 man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
6308 2008-12-12 Dustin J. Mitchell <dustin@zmanda.com>
6309 * client-src/sendbackup-dump.c: fix previous commit to not use
6310 precompiler directives in the middle of a macro invocation
6312 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6313 * NEWS, ReleaseNotes: Add amzfs-sendrecv.
6314 * client-src/sendbackup.c: Fix indexd test.
6315 * man/Makefile.am: Add amzfs-sendrecv.8.
6316 * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
6317 * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
6318 * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
6319 * man/xml-source/amzfs-sendrecv.8.xml: New man page.
6320 * application-src/amzfs-sendrecv.pl: New application.
6321 * application-src/amzfs-snapshot.pl: Fix to use
6322 Amanda::Application::Zfs
6323 * application-src/Makefile.am: Add amzfs-sendrecv.
6324 * perl/Amanda/Script_App.pm: Exit instead of die.
6325 * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
6326 * perl/Makefile.am: Add Amanda/Application and
6327 Amanda/Application/Zfs.pm
6329 2008-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6330 * recover-src/extract_list.c: Wait to read at least one byte from the
6331 data stream before forking the child.
6333 2008-12-12 Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
6334 * changer-src/chg-zd-mtx.sh: fix bashisms
6335 * client-src/sendbackup-dump.c: use -L on systems that support it
6337 2008-12-11 Dan Locks <dwlocks@zmanda.com>
6338 * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
6340 2008-12-11 Jean-Louis Martineau <martineau@zmanda.com>
6341 * NEWS, ReleaseNotes: Add amsamba.
6343 2008-12-11 Jean-Louis Martineau <martineau@zmanda.com>
6344 * server-src/driver.c: Check start_t before doing a dump to tape.
6346 2008-12-10 Dustin J. Mitchell <dustin@zmanda.com>
6347 * installcheck/Makefile.am: distribute Dumpcache.pm
6349 2008-12-10 Dustin J. Mitchell <dustin@zmanda.com>
6350 * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
6351 * installcheck/Installcheck/Config.pm: add cleanup()
6352 * installcheck/Installcheck/Run.pm: call I::C::cleanup()
6353 * installcheck/Makefile.am: add _seupcache
6354 * installcheck/_setupcache.pl: set up the amdump cache first thing
6355 * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
6356 installcheck/amdump.pl installcheck/amfetchdump.pl
6357 installcheck/amrmtape.pl: use dumpcache
6359 2008-12-10 Nikolas Coukouma <atrus@zmanda.com>
6360 * device-src/s3.c: Generate date header independently of locale
6362 2008-12-10 Dustin J. Mitchell <dustin@zmanda.com>
6363 * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
6364 * installcheck/Amanda_Disklist.pl: fix tests
6366 2008-12-09 C R Ritson.
6367 * server-src/reporter.c: Add threshold to small and big estimate.
6369 2008-12-09 Jean-Louis Martineau <martineau@zmanda.com>
6370 * client-src/client_util.c: Parse RECOVER-MODE application support.
6371 * client-src/client_util.h (backup_support_option_t):
6372 Add smb_recover_mode.
6373 * client-src/sendsize.c: Fix size.
6374 * man/Makefile.am: Add amsamba.8.
6375 * man/xml-source/amsamba.8.xml: New man page.
6376 * man/xml-source/amanda-applications.7.xml: List amsamba.
6377 * man/xml-source/amanda.8.xml: List amsamba.
6378 * application-src/Makefile.am (CHECK_PERL): Add amsamba
6379 * application-src/amsamba.pl: New application.
6380 * recover-src/extract_list.c: Get support option from application
6381 and set --recover-mode if needed.
6382 * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
6383 * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
6384 * perl/Amanda/Paths.pm.in: Add $sysconfdir.
6385 * perl/Amanda/Util.swg: Add skip_quoted_string.
6387 2008-12-09 Jean-Louis Martineau <martineau@zmanda.com>
6388 * man/xml-source/amstar.8.xml: Typo.
6390 2008-12-09 Jean-Louis Martineau <martineau@zmanda.com>
6391 * man/xml-source/amanda.conf.5.xml: Fix plugin location.
6393 2008-12-09 Nikolas Coukouma <atrus@zmanda.com>
6394 * installcheck/amrmtape.pl,
6395 man/xml-source/amrmtape.8.xml,
6396 server-src/amrmtape.pl: add --cleanup option to amrmtape
6397 alphabetize command-line options
6399 2008-12-08 Dustin J. Mitchell <dustin@zmanda.com>
6400 * perl/Amanda/Disklist.swg: return a value from
6401 read_disklist_internal
6403 2008-12-08 Dustin J. Mitchell <dustin@zmanda.com>
6404 * common-src/conffile.c common-src/conffile.h
6405 installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
6406 perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
6407 server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
6408 server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
6409 DUMPTYPE_AUTH, with related changes to disk_t
6411 2008-12-08 Dustin J. Mitchell <dustin@zmanda.com>
6412 * perl/Makefile.am installcheck/Amanda_Disklist.pl
6413 perl/Amanda/Disklist.swg installcheck/Makefile.am:
6415 * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
6417 * common-src/conffile.h: tag host-related parameters
6418 * perl/Amanda/Config.swg: POD typo
6419 * server-src/diskfile.h: comments
6421 2008-12-08 Nikolas Coukouma <atrus@zmanda.com>
6422 * installcheck/amrmtape.pl,
6423 man/xml-source/amrmtape.8.xml,
6424 server-src/amrmtape.pl: add --keep-label option to amrmtape
6426 2008-12-07 Dustin J. Mitchell <dustin@zmanda.com>
6427 * server-src/Makefile.am server-src/amvault.pl: new, experimental
6428 script to copy data from secondary to tertiary volumes
6429 * common-src/fileheader.c: strip spurious ' ' from headers
6430 * man/Makefile.am man/xml-source/amvault.8.xml: docs
6431 * perl/Amanda/DB/Catalog.pm: add kbps calculation
6432 * perl/Amanda/Device.swg: add volume_header() method
6434 2008-12-05 Dustin J. Mitchell <dustin@zmanda.com>
6435 * server-src/taper.c: remove dead code that can cause compiler errors
6437 2008-12-05 Nikolas Coukouma <atrus@zmanda.com>
6438 * device-src/device.c,
6439 device-src/vfs-device.c,
6440 installcheck/Amanda_Device.pl: fix erase() for VFS device
6441 * server-src/amrmtape.pl: fix rollback, erase() call setup
6443 2008-12-05 Jean-Louis Martineau <martineau@zmanda.com>
6444 * server-src/driverio.c: Send a message with NO-NEW-TAPE.
6445 * server-src/driver.c: Generate message for NO-NEW-TAPE, call
6446 start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
6447 for INPUT-ERROR and TAPE-ERROR
6448 * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
6450 2008-12-05 Nikolas Coukouma <atrus@zmanda.com>
6451 * server-src/amrmtape.pl:
6452 man/xml-source/amrmtape.8.xml,
6453 installcheck/amrmtape.pl: add --empty and --changer options for erasing media
6455 2008-12-04 Nikolas Coukouma <atrus@zmanda.com>
6456 * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
6457 Add erase method to the device class
6458 * device-src/property.c, device-src/property.h:
6459 Add FULL_DELETION property so devices can indicate if they implement erase
6460 * xml-source/amanda-devices.7.xml: document FULL_DELETION property
6461 * device-src/null-device.c, device-src/rait-device.c:
6462 Indicate that these do not implement erase (via FULL_DELETION)
6463 * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
6464 * device-src/s3-device.c: Add delete_all_files helper.
6465 Return FALSE on error in one place.
6466 * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
6467 * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
6468 Don't usually retry when bucket is missing
6470 2008-12-04 Nikolas Coukouma <atrus@zmanda.com>
6471 * device-src/device.c,
6472 device-src/s3-util.c,
6473 device-src/device.h,
6474 device-src/s3-util.h,
6475 device-src/null-device.c,
6476 device-src/s3-device.c,
6477 device-src/property.c,
6479 device-src/tape-device.c,
6480 device-src/property.h,
6482 device-src/vfs-device.c,
6483 device-src/rait-device.c: strip trailing whitespace
6485 2008-12-04 Dustin J. Mitchell <dustin@zmanda.com>
6486 * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
6487 the changer is not seekable (hack to make slotinfofile work)
6489 2008-12-04 Dustin J. Mitchell <dustin@zmanda.com>
6490 * changer-src/chg-glue.pl: add labelling support
6491 * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
6493 * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
6494 slots to labels on a best-information-available basis
6496 2008-12-03 Nikolas Coukouma <atrus@zmanda.com>
6497 * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
6498 convert amrmtape to perl
6499 * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
6500 * man/xml-source/amrmtape.8.xml: document new long options
6502 2008-12-03 Satya Ganga <gsat@zmanda.com>
6503 * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
6504 command instead of "eject" which is not supported on solaris.
6506 2008-12-03 Jean-Louis Martineau <martineau@zmanda.com>
6507 * man/xml-source/amanda.conf.5.xml: Provide default unit.
6509 2008-12-03 Jean-Louis Martineau <martineau@zmanda.com>
6510 * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
6512 2008-12-01 Satya Ganga <gsat@zmanda.com>
6513 * server-src/amdevcheck.pl: add ability to print device properties
6514 * man/xml-source/amdevcheck.8.xml: new docs
6515 * installcheck/amdevcheck.pl: new tests
6516 * installcheck/Installcheck/Run.pm
6517 installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
6519 2008-12-01 Nikolas Coukouma <atrus@zmanda.com>
6520 * device-src/s3.c: fix signedness
6522 2008-12-01 Dustin J. Mitchell <dustin@zmanda.com>
6523 * common-src/util.c: fix mishandling of trailing backslash in
6526 2008-12-01 Jean-Louis Martineau <martineau@zmanda.com>
6527 * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
6528 packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
6529 configure.in: Change version to 2.6.2alpha.
6531 2008-12-01 Nikolas Coukouma <atrus@zmanda.com>
6532 * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
6533 by adding some "null-op" read and write functions.
6535 2008-11-27 Jean-Louis Martineau <martineau@zmanda.com>
6536 * server-src/amstatus.pl: Correctly parse degraded size.
6538 2008-11-26 Jean-Louis Martineau <martineau@zmanda.com>
6539 * client-src/sendbackup.c: Set application in extraction command.
6541 2008-11-25 Jean-Louis Martineau <martineau@zmanda.com>
6542 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
6543 * ReleaseNotes: Release notes for 2.6.1b1.
6544 * NEWS: News for 2.6.1b1.
6545 * packaging/deb/rules, packaging/deb/buildpkg,
6546 packaging/rpm/buildpkg,
6547 packaging/rpm/amanda.spec: Change version to 2.6.1b1.
6549 2008-11-25 Jean-Louis Martineau <martineau@zmanda.com>
6550 * config/amanda/bsd-security.m4: Fix.
6551 * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
6553 * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
6555 2008-11-25 Dustin J. Mitchell <dustin@zmanda.com>
6556 * changer-src/Makefile.am changer-src/chg-glue.pl:
6557 add new c-to-perl glue script
6558 * server-src/changer.c: interface with new script
6559 * server-src/amtape.c man/xml-source/amtape.8.xml:
6560 remove 'slot last' and 'slot prev'
6561 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6562 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
6564 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
6565 installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
6566 installcheck/Makefile.am: tests for all of it
6568 2008-11-25 Dustin J. Mitchell <dustin@zmanda.com>
6569 * example/template.d/advanced.conf.in: don't imply that
6570 maxdumpsize is in bytes
6572 2008-11-21 Nikolas Coukouma <atrus@zmanda.com>
6573 * device-src/s3.c: work around a bug in Amazon's HTTP implementation
6574 by avoiding HEAD requests.
6576 2008-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6577 * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
6579 * restore-src/restore.c: Also check for F_EMPTY.
6581 2008-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6582 * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
6583 that should terminate.
6585 2008-11-21 Dustin J. Mitchell <dustin@zmanda.com>
6586 * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
6589 2008-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6590 * server-src/server_util.c: Skip one field in parsing INFO pid line.
6592 2008-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6593 * oldrecover-src/extract_list.c: Use config.
6594 * server-src/dumper.c: Check dle_str for NULL.
6596 2008-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6597 * server-src/amdump.sh: Run amreport if the 'log' file already exist.
6599 2008-11-20 Urs Schurer <urs@sitb.de>
6600 * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
6603 2008-11-19 Satya Ganga <gsat@zmanda.com>
6604 * example/inetd.conf.amandaserver.in: Add serverconfig file
6605 * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
6607 2008-11-18 Dan Locks <dwlocks@zmanda.com>
6608 * packaging/rpm/amanda.spec: removed conditionals around
6609 perl(ExtUtils::Embed) so that buildrequires applies to all platforms
6611 2008-11-18 Satya Ganga <gsat@zmanda.com>
6612 * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
6614 2008-11-18 Jean-Louis Martineau <martineau@zmanda.com>
6615 * application-src/amstar.c: Free qdisk after the loop.
6616 * application-src/amgtar.c: Free qdisk after the loop.
6618 2008-11-17 Jean-Louis Martineau <martineau@zmanda.com>
6619 * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
6621 2008-11-17 Jean-Louis Martineau <martineau@zmanda.com>
6622 * server-src/taper.c: Fix formating.
6624 2008-11-17 Jean-Louis Martineau <martineau@zmanda.com>
6625 * server-src/amstatus.pl: Parse "taper: using label ..." line.
6626 * server-src/driver.c: Print tape size.
6627 * server-src/amtoc.pl: Fix for new log format.
6628 * server-src/reporter.c: Increase field width.
6629 * server-src/taper.c: Print number of kbytes written to each tape.
6631 2008-11-14 Dustin J. Mitchell <dustin@zmanda.com>
6632 * device-src/s3-device.c: eliminate an extra buffer copy in the
6633 common case where the caller supplies a large enough buffer
6634 * device-src/s3.h: tweak a comment
6636 2008-11-14 Jean-Louis Martineau <martineau@zmanda.com>
6637 * server-src/holding.h: Improve comment.
6638 * server-src/reporter.c: Print holding disk size in displyaunit.
6640 2008-11-14 Jean-Louis Martineau <martineau@zmanda.com>
6641 * client-src/client_util.c: Get stderr of scripts and send it to
6643 * client-src/client_util.h: Add err in client_script_result_t.
6644 * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
6645 * client-src/sendsize.c: Fix.
6646 * server-src/planner.c: Get WARNING line from client.
6647 * server-src/reporter.c: Don't mark the dumper as FAILED if the
6649 * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
6650 * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
6652 2008-11-12 Dustin J. Mitchell <dustin@zmanda.com>
6653 * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
6655 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
6656 * amandad-src/amandad.c: Check that something is ready to be read
6657 before calling errfd_recv.
6659 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
6660 * changer-src/chg-manual.sh: fix typo
6662 2008-11-11 Dan Locks <dwlocks@zmanda.com>
6663 * packaging/rpm/amanda.spec: add fedora 9 detection, add
6664 BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
6665 undetected instead of at all times
6667 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
6668 * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
6669 active test scripts; add a DLE in the amfetchdump installcheck
6671 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
6672 * config/macro-archive/ac_perl_module_version.m4: new macro
6673 * config/amanda/swig.m4: check for ExtUtils::Embed
6675 2008-11-11 Dustin J. Mitchell <dustin@zmanda.com>
6676 * installcheck/amarchiver.pl: quote $sbindir from regexp
6679 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
6680 * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
6683 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
6684 * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
6687 2008-11-11 Jean-Louis Martineau <martineau@zmanda.com>
6688 * client-src/selfcheck.c: fix.
6689 * amandad-src/amandad.c: Read stderr of server and report it to server.
6690 * server-src/planner.c: Keep first line only.
6692 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
6693 * amar-src/amarchiver.c: fix filesize printf conversion
6695 2008-11-10 Jean-Louis Martineau <martineau@zmanda.com>
6696 * client-src/sendbackup.c, client-src/selfcheck.c: Check return
6699 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
6700 * installcheck/Installcheck/Run.pm: change default DLEs
6701 * installcheck/amcheckdump.pl: add DLE explicitly
6702 * installcheck/amdevcheck.pl: add DLE explicitly
6703 * installcheck/amdump.pl: use the amgtar application in a dump
6705 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
6706 * installcheck/Makefile.am: only test amfetchdump if it was built
6707 * installcheck/amfetchdump.pl: use arguments in the right order
6709 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
6710 * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
6711 * man/Makefile.am man/xml-source/amarchiver.8.xml
6712 amar-src/Makefile.am amar-src/amarchiver.c: new application
6713 * installcheck/Makefile.am installcheck/amarchiver.pl: tests
6715 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
6716 * installcheck/Installcheck/Run.pm: add Expect support
6717 * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
6718 installcheck, using Expect support
6720 2008-11-10 Dustin J. Mitchell <dustin@zmanda.com>
6721 * common-src/amgetconf.pl: don't setup_application() in dbclose
6723 2008-11-10 Jean-Louis Martineau <martineau@zmanda.com>
6724 * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
6726 2008-11-08 Dustin J. Mitchell <dustin@zmanda.com>
6727 * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6728 perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
6729 perl/Makefile.am: entirely new perl-based changer API
6730 * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
6731 add changer subsections
6732 * man/xml-source/amanda.conf.5.xml: document them
6733 * server-src/amcheckdump.pl: use the new changer API
6734 * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
6735 installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
6736 installcheck/Installcheck/Config.pm installcheck/Makefile.am
6737 installcheck/Amanda_Changer_Disk.pl: new/updated tests
6739 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6740 * application-src/amstar.c: fix.
6742 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6743 * perl/Amanda/Application.swg: Remove %init.
6745 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6746 * application-src/amgtar.c, application-src/amgtar_perl.pl,
6747 application-src/amstar.c: Write backup image to fd3 and index to fd4.
6748 * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
6749 * recover-src/extract_list.c: Add more check.
6750 * client-src/client_util.c (backup_support_option): Get stderr of
6751 application and put it in errarray,
6752 * client-src/client_util.h (backup_support_option): New prototype.
6753 * client-src/selfcheck.c, client-src/sendbackup.c,
6754 client-src/sendsize.c: Get stderr of application and send it to
6756 * server-src/dumper.c: Log the first error message.
6757 * server-src/planner.c: Log the first error message.
6758 * server-src/reporter.c: Don't print some error in report.
6760 2008-11-07 Jean-Louis Martineau <martineau@zmanda.com>
6761 * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
6762 * client-src/client_util.c (run_calcsize): New function.
6763 * client-src/client_util.h (run_calcsize): Prototype.
6764 * client-src/sendbackup.c: Update amandates.
6765 * client-src/sendsize.c: Handling of calcsize and multi-estimate.
6766 * client-src/selfcheck.c: Check calcsize for application.
6767 * application-src/amgtar_perl.pl, application-src/amstar.c,
6768 * application-src/amgtar.c: handling of calcsize and multi-estimate.
6769 * perl/Amanda/Script_App.pm: Add a check.
6770 * perl/Amanda/Application.swg: Add run_calcsize.
6771 * perl/Amanda/Application.pm: Delete
6772 * perl/Makefile.am: Built from Application.swg
6773 * client-src/calcsize.c: Handling of STAR program.
6775 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6776 * man/xml-source/amgtar.8.xml: Document new properties.
6777 * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
6779 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6780 * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
6781 exit with a status != 0.
6782 * server-src/amtape.c: Display changer error.
6784 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6785 * application-src/amgtar.c: Add exit-handling property.
6787 2008-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6788 * application-src/amgtar.c: Add normal, ignore and strange property.
6790 2008-11-04 Jean-Louis Martineau <martineau@zmanda.com>
6791 * server-src/amcheck.c: Check tape_splitsize < tape length.
6793 2008-10-30 Dustin J. Mitchell <dustin@zmanda.com>
6794 * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
6795 add new sort key, 'w', for write_timestamp
6796 * server-src/amadmin.c: use it
6797 * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
6798 the oldest-written copy of a dump
6800 2008-10-30 Jean-Louis Martineau <martineau@zmanda.com>
6801 * application-src/amgtar_perl.pl, application-src/amstar.c,
6802 application-src/amgtar.c: Implement validate command.
6803 * server-src/amcheckdump.pl: Execute the validate command of an
6805 * perl/Amanda/Script_App.pm (print_to_server): Add validate.
6806 * perl/Amanda/Application.pm (known_commands): Add validate.
6807 * common-src/security-util.c: Fix typo.
6809 2008-10-29 Dustin J. Mitchell <dustin@zmanda.com>
6810 * man/xml-source/amanda.conf.5.xml
6811 man/xml-source/amanda-devices.7.xml: improve device property
6814 2008-10-29 Dustin J. Mitchell <dustin@zmanda.com>
6815 * man/xml-source/amanda.conf.5.xml: taperflush params can be
6818 2008-10-27 Jean-Louis Martineau <martineau@zmanda.com>
6819 * common-src/fileheader.c (dumpfile_free_data): New function.
6820 * common-src/fileheader.h (dumpfile_free_data): New prototype.
6821 * server-src/cmdline.c, server-src/dumper.c,
6822 server-src/planner.c, server-src/amadmin.c,
6823 server-src/amflush.c, server-src/holding.c,
6824 server-src/driver.c, server-src/find.c,
6825 server-src/taper-source.c, server-src/taper-file-source.c
6826 server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
6828 2008-10-27 Dustin J. Mitchell <dustin@zmanda.com>
6829 * common-src/glib-util.c: check library version at runtime
6831 2008-10-27 Jean-Louis Martineau <martineau@zmanda.com>
6832 * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
6834 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
6835 * installcheck/Amanda_Archive.pl: fix to also test for identity of
6836 $user_data on perls that recognize such things
6838 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
6839 * amar-src/amar-test.c: don't ignore the return value of write()
6841 2008-10-24 Nikolas Coukouma <atrus@zmanda.com>
6842 Jean-Louis Martineau <martineau@zmanda.com>
6843 * amar-src/amar.c: fix mis-aligned memory accesses
6844 * amar-src/amar-test.c: fix test_pipe
6846 2008-10-24 Jean-Louis Martineau <martineau@zmanda.com>
6847 * perl/Amanda/Script_App.pm: New base module for script and application.
6848 * perl/Amanda/Script.pm: New base module for script.
6849 * perl/Amanda/Application.pm: New base module for application.
6850 * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
6851 Amanda::Application.
6852 * application-src/generic-dumper.pl: Remove file.
6853 * application-src/generic-script.pl: Remove file.
6854 * application-src/script-email.pl: Use Amanda::Script.
6855 * application-src/amgtar_perl.pl: Use Amanda::Application.
6856 * application-src/amzfs-snapshot.pl: Use Amanda::Script.
6857 * application-src/Makefile.am: Remove generic-*.pl files.
6859 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
6860 * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
6862 * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
6864 2008-10-24 Dustin J. Mitchell <dustin@zmanda.com>
6865 * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
6866 $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
6868 * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
6870 2008-10-23 Dustin J. Mitchell <dustin@zmanda.com>
6871 * amar-src/Makefile.am: add amar.h to noinst_HEADERS
6873 2008-10-23 Dustin J. Mitchell <dustin@zmanda.com>
6874 * configure.in Makefile.am amar-src/Makefile.am: new directory
6875 * amar-src/amar.c amar-src/amar.h: amanda archive library
6876 * amar-src/amar-test.c: tests for library
6877 * common-src/security-util.c common-src/security-util.h
6878 common-src/util.c common-src/util.h: move net_writev to
6879 util.c, rename to full_writev
6880 * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
6881 man/xml-source/amanda.8.xml: new manpage to describe the format
6883 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
6884 * configure.in: add tests for more headers, plus some defines
6885 for the presence of Amanda's headers
6886 * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
6887 POSIX regex API and a GRegex (PCRE) call-compatability layer.
6888 * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
6889 Use callbacks to write and read data. Provide callbacks for
6890 memory buffers and files. The callbacks for files are currently
6892 * device-src/s3-device.c: update to use new API
6894 2008-10-20 Dustin J. Mitchell <dustin@zmanda.com>
6895 * perl/Makefile.am: remove spurious variables
6897 2008-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6898 * changer-src/chg-multi.sh: Check permission on the statefile and its
6901 2008-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6902 * server-src/planner.c: Set i to 0.
6904 2008-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6905 * server-src/amcheck.c, server-src/dumper.c
6906 server-src/planner.c: Don't send appliaciton-api request if the
6907 client doesn't use the xml protocol.
6909 2008-10-15 Jean-Louis Martineau <martineau@zmanda.com>
6910 * server-src/reporter.c: print space instead of N/A, dumper stats are
6911 set to "FLUSH" if it is a flush.
6913 2008-10-13 Dustin J. Mitchell <dustin@zmanda.com>
6914 * device-src/vfs-device.c: re-open the dir handle on every
6915 device start or read label
6916 * installcheck/Amanda_Device.pl: adjust tests to degrade the
6917 VFS device *after* it is started
6919 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
6920 * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
6922 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
6923 * installcheck/Makefile.am: revert previous commit.
6924 * config/automake/scripts.am: Check for a server perl module.
6926 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
6927 * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
6929 2008-10-13 Jean-Louis Martineau <martineau@zmanda.com>
6930 * perl/Makefile.am: Don't check Amanda/Config files.
6932 2008-10-11 Jean-Louis Martineau <martineau@zmanda.com>
6933 * perl/Makefile.am: Check file in top_srcdir if they are not
6936 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
6937 * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
6939 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
6940 * perl/Makefile.am: test for libConfig.so before doing check.
6942 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
6943 * config/automake/scripts.am: Check perl scripts on compilation.
6944 Add -I... to 'make check' to access perl module in build tree.
6945 Add installcheck rules to check perl scripts with installed perl
6947 * application-src/amstar_perl.pl: Remove file.
6948 * device-src/Makefile.am, application-src/Makefile.am,
6949 server-src/Makefile.am, installcheck/Makefile.am,
6950 common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
6951 * installcheck/Makefile.am:
6952 Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
6953 * perl/Makefile.am: Add rules to check all .pm files for check-local.
6954 * device-src/amtapetype.pl, server-src/amaddclient.pl,
6955 common-src/amgetconf.pl: Fix syntax errors.
6957 2008-10-10 Jean-Louis Martineau <martineau@zmanda.com>
6958 * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
6959 application-src/script-email.pl, application-src/amgtar_perl.pl:
6962 2008-10-10 Nick Smith <nick.smith@techop.ch>
6963 * application-src/amzfs-snapshot.pl: fix typos
6965 2008-10-08 Dustin J. Mitchell <dustin@zmanda.com>
6966 * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
6967 * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
6969 * server-src/amcheckdump.pl: don't read tapelist
6970 * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
6972 2008-10-08 Nick Smith <nick.smith@techop.ch>
6973 * server-src/driver.c: set degr_mesg to NULL when not degraded
6975 2008-10-06 Jean-Louis Martineau <martineau@zmanda.com>
6976 * application-src/amzfs-snapshot.pl: Accept execute-where argument.
6977 * application-src/script-email.pl: Accept execute-where argument.
6978 * client-src/client_util.c: Send execute-where argument to script.
6979 * server-src/server_util.c: Send execute-where argument to script.
6981 2008-10-06 Jean-Louis Martineau <martineau@zmanda.com>
6982 * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
6984 * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
6986 2008-10-03 Dustin J. Mitchell <dustin@zmanda.com>
6987 * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
6988 * common-src/timestamp.c: add comment
6990 2008-10-02 Dustin J. Mitchell <dustin@zmanda.com>
6991 * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
6992 * installcheck/Amanda_DB_Catalog.pl: test it
6993 * perl/Amanda/Logfile.swg: fix typo
6995 2008-10-01 Nikolas Coukouma <atrus@zmanda.com>
6996 * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
6997 Add new property, S3_SSL, to control the use of SSL/TLS when
6998 connecting to Amazon S3
6999 * man/xml-source/amanda-devices.7.xml:
7000 document S3_SSL and S3_BUCKET_LOCATION
7002 2008-10-01 Nikolas Coukouma <atrus@zmanda.com>
7003 * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
7005 2008-10-01 Dustin J. Mitchell <dustin@zmanda.com>
7006 * common-src/amanda.h common-src/conffile.c
7007 oldrecover-src/extract_list.c recover-src/extract_list.c
7008 server-src/amcheck.c server-src/amflush.c server-src/planner.c:
7009 use g_ascii_isspace, as we assume ASCII (for now) and isspace()
7010 is affected by locale and encoding settings. Thanks to Michael
7011 Reuland for helping track this down.
7013 2008-09-30 Jean-Louis Martineau <martineau@zmanda.com>
7014 * server-src/diskfile.h (xml_optionstr): New prototype.
7015 * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
7016 * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
7017 * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
7018 * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
7019 * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
7020 * server-src/dumper.c: Call clean_dle_str_for_client.
7021 * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
7022 * server-src/diskfile.c (clean_dle_str_for_client): New function.
7023 * restore-src/restore.c: Call clean_dle_str_for_client.
7024 * common-src/amxml.c: Fix parsing.
7025 * common-src/amanda.h (match_no_newline): Prototype.
7026 * common-src/match.c (match_no_newline): New function.
7028 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
7029 * restore-src/restore.c: set data.flags for use by the changer_find
7032 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
7033 * perl/Amanda/MainLoop.swg: add call_later()
7034 * installcheck/Amanda_MainLoop.pl: test it
7036 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
7037 * device-src/rait-device.c: fix typos
7039 2008-09-30 Dustin J. Mitchell <dustin@zmanda.com>
7040 * common-src/semaphore.h: fix typo
7041 * device-src/rait-device.c: add a private threadpool-like
7042 implementation for old glibs, where GThreadPool is susceptible to
7045 2008-09-29 Dustin J. Mitchell <dustin@zmanda.com>
7046 * device-src/device.c device-src/device.h device-src/null-device.c
7047 device-src/property.c device-src/property.h device-src/rait-device.c
7048 device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
7049 device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
7050 device-src/tape-uware.c device-src/tape-xenix.c
7051 device-src/vfs-device.c: add a 'configure' method to the Device API;
7052 revamp device property handling to add source and surety and make
7053 implementation easier
7054 * device-src/rait-device.h device-src/rait-device.c: make RAIT device
7055 calculate block sized based on child devices, if they were configured
7057 * man/xml-source/amanda-devices.7.xml: note that common properties are
7058 not implemented on all devices
7059 * common-src/glib-util.c common-src/glib-util.h: add helpers for
7060 case-insensitive hashes
7061 * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
7062 perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
7063 server-src/amlabel.c server-src/amtape.c server-src/taper.c
7064 server-src/taperscan.c: use new API
7066 2008-09-29 Dustin J. Mitchell <dustin@zmanda.com>
7067 * server-src/find.c: handle find_result->label == NULL
7068 * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
7070 2008-09-26 Dustin J. Mitchell <dustin@zmanda.com>
7071 * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
7073 2008-09-26 Jean-Louis Martineau <martineau@zmanda.com>
7074 * server-src/driver.c: Parse dumpsize from taper result.
7076 2008-09-26 Jean-Louis Martineau <martineau@zmanda.com>
7077 * client-src/selfcheck.c: Set qdevice on common_exit path.
7079 2008-09-25 Dustin J. Mitchell <dustin@zmanda.com>
7080 * common-src/fileheader.c: fix headers_are_equal
7082 2008-09-25 Dustin J. Mitchell <dustin@zmanda.com>
7083 * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
7084 * device-src/device.c device-src/device.h: set blocksize in tape
7086 * device-src/null-device.c device-src/s3-device.c
7087 device-src/tape-device.c device-src/vfs-device.c: set blocksize
7088 in headers when starting files
7089 * device-src/rait-device.c: duplicate headers for child devices, since
7090 they are no longer const
7091 * server-src/dumper.c: set blocksize on holding-disk files to
7094 2008-09-25 Dustin J. Mitchell <dustin@zmanda.com>
7095 * device-src/tape-device.c: mark device as non-appendable temporarily,
7096 since file numbers are incorrect when appending
7097 * installcheck/Amanda_Device.pl: handle non-appendable devices
7099 2008-09-24 Jean-Louis Martineau <martineau@zmanda.com>
7100 * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
7102 * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
7103 * server-src/chunker.c: Get mesg from ABORT cmd and log it.
7104 * server-src/driver.c: Add the mesg argument to all dumper_cmd and
7107 2008-09-24 Jean-Louis Martineau <martineau@zmanda.com>
7108 * server-src/planner.c: Set degr_mesg and send it to driver.
7109 * server-src/driverio.h (sched_t): Add degr_mesg field.
7110 * server-src/driver.c: Parse message if no degraded estimate.
7112 2008-09-23 Dustin J. Mitchell <dustin@zmanda.com>
7113 * common-src/conffile.c common-src/conffile.h: store a struct
7114 containing both filename and line number for each parameter, and use
7115 it when reporting errors and warnings
7117 2008-09-23 Dustin J. Mitchell <dustin@zmanda.com>
7118 * device-src/device.c: make 'unimplemented method' an assertion
7120 2008-09-23 Dustin J. Mitchell <dustin@zmanda.com>
7121 * device-src/s3.c: use max_keys, instead of maximum body size (which
7122 doesn't work) to limit the number of keys listed
7124 2008-09-22 Jean-Louis Martineau <martineau@zmanda.com>
7125 * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
7126 * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
7127 * server-src/taperscan.c: Check type != F_EMPTY.
7128 * server-src/taper.c: Call changer_label().
7129 * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
7131 2008-09-22 Jean-Louis Martineau <martineau@zmanda.com>
7132 * device-src/device.c: Don't g_value_unset a bzero value.
7134 2008-09-22 Jean-Louis Martineau <martineau@zmanda.com>
7135 * server-src/driver.c: Set result_argv=NULL, Fix typo.
7137 2008-09-22 Dustin J. Mitchell <dustin@zmanda.com>
7138 * config/amanda/ps.m4: give up on runtime detection and just special-
7139 case the 'ps' arguments for various systems
7140 * perl/Amanda/Constants.pm.in: add $PS
7141 * perl/Amanda/Process.pm: use $PS
7143 2008-09-19 Jean-Louis Martineau <martineau@zmanda.com>
7144 * server-src/reporter.c (addline): Done it constant time.
7146 2008-09-19 Dustin J. Mitchell <dustin@zmanda.com>
7147 * common-src/Makefile.am common-src/quoting-test.c: new tests
7148 * common-src/token.c common-src/token.h: removed
7149 * common-src/util.c common-src/util.h: new home for quoting functions
7150 * configure.in: don't check for shquote
7151 * man/xml-source/amanda.conf.5.xml: info on quoting
7152 * perl/Amanda/Config/Server.pm: note about incompatibility
7153 * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
7154 server-src/driver.c server-src/driverio.c server-src/driverio.h
7155 server-src/dumper.c server-src/infofile.c server-src/server_util.c
7156 server-src/server_util.h server-src/taper-file-source.c
7157 server-src/taper-port-source.c server-src/taper.c: use new/updated
7160 2008-09-19 Nick Smith <nick.smith@techop.ch>
7161 * example/amanda.conf.in: fix incorrect execute_on examples
7163 2008-09-18 Jean-Louis Martineau <martineau@zmanda.com>
7164 * server-src/dumper.c: Call security_close_connection before
7165 checking if pkt == NULL.
7167 2008-09-18 Jean-Louis Martineau <martineau@zmanda.com>
7169 * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
7170 * server-src/diskfile.c: Init xml_app.result to stralloc("").
7172 2008-09-16 Dan Locks <dwlocks@zmanda.com>
7173 * packaging/rpm/amanda.spec: Added detection of CentOS 4 and 5 as
7174 suggested by dswartz. added graceful failure when Distro/version is
7175 not detected correctly
7177 2008-09-15 Dustin J. Mitchell <dustin@zmanda.com>
7178 * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
7180 2008-09-14 Dustin J. Mitchell <dustin@zmanda.com>
7181 * server-src/tapefile.c server-src/tapefile.h: add comments to
7183 * perl/Amanda/Tapelist.swg: perl tapelist parser, too
7184 * installcheck/Amanda_Tapelist.pl: tests
7185 * man/xml-source/tapelist.5.xml: docs
7186 * server-src/amlabel.c: no initial comments when labeling
7187 * server-src/taper.c: maintain comment when relabeling
7189 2008-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7190 * amandad-src/amandad.c: Fix typo: authetication -> authentication.
7192 2008-09-05 Dustin J. Mitchell <dustin@zmanda.com>
7193 * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
7194 Mike McConnell for spotting these
7196 2008-09-05 Dustin J. Mitchell <dustin@zmanda.com>
7197 * server-src/taper.c: improve handling of device errors in taper
7199 2008-09-02 Jean-Louis Martineau <martineau@zmanda.com>
7200 * restore-src/amrestore.c: Load a default server config.
7202 2008-08-29 Dustin J. Mitchell <dustin@zmanda.com>
7203 * autogen: revert glib's configure-time requirement for
7206 2008-08-28 Dustin J. Mitchell <dustin@zmanda.com>
7207 * device-src/tape-device.c: use the correct blocksize while reading
7208 * device-src/rait-device.c: fix typo
7209 * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
7212 2008-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7213 * server-src/dumper.c: Reset the MESG buffer for a new dump.
7215 2008-08-27 Dustin J. Mitchell <dustin@zmanda.com>
7216 * server-src/amcheck.c: make the check for tapelist result in a NOTE,
7218 * server-src/tapefile.c: make a missing tapelist equivalent to an
7221 2008-08-27 Dustin J. Mitchell <dustin@zmanda.com>
7222 * config/amanda/types.m4: always include sys/types.h, if it exists,
7223 before trying other headers (fixes builds of FreeBSD-4.x); thanks
7224 to John Hein <jhein@timing.com>
7225 * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
7228 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
7229 * perl/amglue/bigint.c: add #include "stdint.h"
7231 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
7232 * config/amanda/ps.m4: search multiple ps invocations; thanks
7233 to John Hein <jhein@timing.com>
7235 2008-08-22 Jean-Louis Martineau <martineau@zmanda.com>
7236 * server-src/amadmin.ci (tape): Correctly print next tape to use.
7237 * server-src/tapefile.c (print_new_tapes): New function to print new
7239 * server-src/tapefile.h (print_new_tapes): Prototype.
7240 * server-src/reporter.c: Correctly print next tape to use.
7242 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
7243 * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
7244 add new 'define device' config section
7245 * perl/Makefile.am perl/Amanda/Config/Server.pm
7246 perl/Amanda/Config/Server/Devices.pm
7247 perl/Amanda/Config/Server/Grammar: ditto
7248 * device-src/device.c device-src/device.h: configure devices from
7249 device definitions, with better error handling
7250 * device-src/rait-device.c: handle child devices better
7251 * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
7252 installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
7253 installcheck/amgetconf.pl: new tests, modifications to work with the
7255 * man/xml-source/amanda-devices.7.xml
7256 man/xml-source/amanda.conf.5.xml: corresponding documentation updates
7257 * perl/Amanda/Changer.pm perl/Amanda/Device.swg
7258 restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
7259 server-src/amcheckdump.pl server-src/amdevcheck.pl
7260 server-src/amlabel.c server-src/amtape.c server-src/taper.c
7261 server-src/taperscan.c: remove calls to
7262 set_startup_properties_from_config
7263 * device-src/vfs-test.c: load config before trying to use a device
7264 * common-src/conffile.c: fix use of uninitialized variable
7266 2008-08-22 Dustin J. Mitchell <dustin@zmanda.com>
7267 * changer-src/chg-disk.sh: replace == with =
7268 * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
7270 2008-08-22 Jean-Louis Martineau <martineau@zmanda.com>
7271 * server-src/reporter.c: Fix computation of compression ratio.
7273 2008-08-22 Jean-Louis Martineau <martineau@zmanda.com>
7274 * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
7275 * application-src/amgtar.c, application-src/amgtar_perl.pl:
7276 Ignore "Directory is new" and "Directory has been renamed".
7278 2008-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7279 * common-src/krb5-security.c: Fix security_seterror use.
7281 2008-08-19 Dustin J. Mitchell <dustin@zmanda.com>
7282 * configure.in: check for getgrgid_r and getpwuid_r
7283 * common-src/security-util.c: conditionalize on checks
7285 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
7286 * common-src/version.h: remove #include of config.h
7287 * device-src/vfs-device.c: #include amanda.h first
7289 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
7290 * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
7291 * installcheck/Installcheck/Run.pm: report exit status
7292 * installcheck/Makefile.am installcheck/amtapetype.pl: new test
7293 * man/xml-source/amtapetype.8.xml: updated manpage
7294 * device-src/s3-device.c device-src/vfs-device.c
7295 device-src/tape-device.c: add compression property
7296 * perl/Amanda/Xfer.swg: add POD for the cancel() method
7297 * xfer-src/dest-device.c: add a default for max_memory
7299 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
7300 * common-src/conffile.c: make find_multiplier case-insensitive
7301 * device-src/device.c: reorder assertions
7302 * device-src/tape-device.c: don't set access_mode twice, but
7303 set in_file = FALSE in start
7304 * device-src/s3-device.c: fix property registration
7305 * perl/Amanda/MainLoop.swg: remove attach() from example
7306 * perl/Amanda/Xfer.swg: more detail in POD
7307 * xfer-src/source-pattern.c: operate byte-for-byte, like the random
7308 source, instead of using lots of memcpys and reallocs
7309 * xfer-src/source-random.c: remove redundant check
7311 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
7312 * configure.in Makefile.am tape-src/*: remove tape-src
7313 * changer-src/Makefile.am: don't link with libamtape
7314 * changer-src/chg-scsi.c: don't use libamtape
7315 * changer-src/scsi-changer-driver.c: don't use libamtape
7316 * config/amanda/tape.m4: fix comment
7317 * example/amanda.conf.in example/template.d/tapetypes: fix outdated
7319 * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
7320 remove amdd and ammt manpages
7321 * restore-src/Makefile.am: remove refs to tape-src/
7322 * server-src/Makefile.am: remove refs to tape-src/
7324 2008-08-18 Dustin J. Mitchell <dustin@zmanda.com>
7325 * common-src/krb4-security.c common-src/krb5-security.c
7326 config/amanda/tape.m4 common-src/amanda.h: remove
7327 --with-maxtapeblocksize
7328 * common-src/conffile.c: deprecate file-pad
7329 * device-src/device-queueing.c device-src/device-queueing.h
7330 device-src/device.c device-src/device.h device-src/null-device.c
7331 device-src/property.c device-src/property.h device-src/rait-device.c
7332 device-src/s3-device.c device-src/tape-device.c
7333 device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
7334 server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
7335 xfer-src/source-device.c perl/Amanda/Device.swg: devices have
7336 {min,max,current} block sizes; remove the short_block parameter from
7337 device_write_block; fix property initialization; rename
7338 PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
7339 * device-src/rait-device.c: set child block sizes explicitly
7340 * installcheck/Amanda_Device.pl: tests; better S3 test count
7342 * installcheck/Amanda_Xfer.pl: tests
7343 * man/xml-source/amanda-devices.7.xml: update block sizes
7345 * man/xml-source/amanda.conf.5.xml: refer to block size properties
7346 * restore-src/amrestore.c: use set_restore_device_read_buffer_size
7347 * restore-src/restore.h restore-src/restore.c: add
7348 set_restore_device_read_buffer_size
7350 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
7351 * server-src/driver.c: handle taper_{input,tape}_error memory
7352 correctly, and add taper_tape_error to the trace log
7354 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
7355 * application-src/amzfs-snapshot.pl application-src/script-email.pl:
7356 remove unnecessary 'use Amanda::Device'
7358 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
7359 * common-src/amgetconf.pl: use filename-safe characters for $appname
7360 * installcheck/amgetconf.pl: test it
7362 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
7363 * man/entities/global.entities: add manpage refs
7364 * packaging/rpm/amanda_enterprise.spec
7365 packaging/rpm/amanda_enterprise_client.spec
7366 man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
7367 man/Makefile.am: add disklist(5), tapelist(5)
7368 * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
7369 man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
7370 man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
7371 man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
7372 man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
7373 man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
7374 - remove references to "output drivers" in favor of "device drivers"
7375 - add more inter-page references
7377 - add client_login to amanda-client.conf(5)
7378 - reformat informaltables, which don't render well in HTML or nroff,
7379 into variablelists, with fixes for bad xml->man conversion
7380 - fix funky replacement entities in HTML output
7381 * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
7382 * perl/Amanda/Device.swg: fix typo
7383 * perl/Amanda/MainLoop.swg: add hints for writing async functions
7384 * perl/Amanda/Types.swg: fix bad POD
7385 * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
7386 * perl/Amanda/Xfer.swg: tweaks
7387 * server-src/taper.c: fix typo
7388 * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
7389 will no longer overwrite such tapes
7391 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
7392 * common-src/debug.c: lock debug logging on a per-line basis
7394 2008-08-16 Dustin J. Mitchell <dustin@zmanda.com>
7395 * device-src/rait-device.c: parse RAIT names with internal {..}
7396 * installcheck/Amanda_Device.pl: light testing
7398 2008-08-15 Dustin J. Mitchell <dustin@zmanda.com>
7399 * common-src/debug.c: include backtraces on fatal errors
7400 * config/amanda/debugging.m4: look for glibc's backtrace support
7401 * configure.in: ditto
7403 2008-08-14 Dustin J. Mitchell <dustin@zmanda.com>
7404 * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
7405 device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
7406 to date with function signatures
7408 2008-08-14 Dustin J. Mitchell <dustin@zmanda.com>,
7409 Nikolas Coukouma <atrus@zmanda.com>
7410 * xfer-src/*: add support for asynchronous cancellation of transfers
7411 and use it for error-handling
7412 * perl/Amanda/Xfer.swg: reflect into perl
7413 * installcheck/Amanda_Xfer.pl: test cancellation
7415 2008-08-12 Dustin J. Mitchell <dustin@zmanda.com>
7416 * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
7417 * man/Makefile.am: remove config.log after running config.status
7419 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
7420 * common-src/conffile.c: cleaner fix for signed compared to unsigned
7421 errors on older versions of GCC.
7423 2008-08-06 Dustin J. Mitchell <dustin@zmanda.com>
7424 * common-src/Makefile.am: second fix
7426 2008-08-06 Dustin J. Mitchell <dustin@zmanda.com>
7427 * common-src/Makefile.am: don't syntax-check amgetconf, since
7428 it uses Amanda::* modules
7430 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
7431 * server-src/amgetconf.pl, common-src/amgetconf.pl:
7432 Add --execute-where=client|server and --client options
7433 to make amgetconf query the client configuration
7434 instead. Move from server-src to common-src.
7435 * man/xml-source/amgetconf.8.xml: Document the new options.
7436 * installcheck/amgetconf.pl: Test the new options.
7437 * server-src/Makefile.am, common-src/Makefile.am:
7438 Updated Makefiles for move.
7439 * packaging/deb/amanda-enterprise-backup-client.install,
7440 packaging/sun-pkg/i386/client/prototype:
7441 Add amgetconf to client packages.
7443 2008-08-04 Dan Locks <dwlocks@zmanda.com>
7444 * packaging/rpm/amanda.spec: add %{tarver} macro and set the correct
7445 minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
7447 2008-08-04 Dustin J. Mitchell <dustin@zmanda.com>
7448 * common-src/conffile.c: workaround gcc<4.1.0 problems with long
7449 constants, don't use G_MAXINT64 in precompiler expressions
7451 2008-08-03 Dustin J. Mitchell <dustin@zmanda.com>
7452 * server-src/amrmtape.sh: use shell redirection with shell functions
7454 2008-08-03 Dustin J. Mitchell <dustin@zmanda.com>
7455 * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
7456 * common-src/dgram.c: address family debugging
7457 * common-src/stream.c: address family debugging
7459 2008-08-03 Dustin J. Mitchell <dustin@zmanda.com>
7460 * common-src/amanda.h common-src/conffile.c common-src/conffile.h
7461 installcheck/Amanda_Config.pl perl/Amanda/Config.swg
7462 server-src/planner.c: replace am64 type with gint64; also replace
7465 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
7466 * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
7467 stringify consistently (no '+' prefixing positive numbers).
7468 * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
7469 * installcheck/bigint.pl, perl/amglue/bigint.c:
7470 Use Amanda::BigIntCompat everywhere we use bigint.
7472 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
7473 * common-src/match.c: Correct array index to be within bounds
7475 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
7476 * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
7477 AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
7478 appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
7479 (which causes errors).
7481 2008-07-30 Dustin J. Mitchell <dustin@zmanda.com>
7482 * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
7483 * installcheck/amgetconf.pl: ditto
7485 2008-07-29 Dan Locks <dwlocks@zmanda.com>
7486 * packaging/rpm/amanda.spec: Merged fixes from enterprise .spec for
7487 parsing redhat-release for fedora versions correctly.
7489 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
7490 * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
7492 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
7493 * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
7494 Also check the returned ETag to make sure it matches the sent MD5 hash.
7495 Use simpler s3_base64_encode() instead of base64_encode().
7496 Correct the use of character classes in several regular expressions.
7497 * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
7498 s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
7499 as some constants. Move regexec_wrap() into this and rename it to
7501 * device-src/Makefile.am: add s3-util.c and s3-util.h
7503 2008-07-28 Dustin J. Mitchell <dustin@zmanda.com>
7504 * installcheck/Installcheck/Config.pm: don't set default tapetype
7505 unless not set explicitly.
7506 * installcheck/Amanda_Config.pl: test changes
7507 * man/xml-source/amanda-client.conf.5.xml
7508 man/xml-source/amanda.conf.5.xml: encourage, but don't require,
7511 2008-07-28 Dustin J. Mitchell <dustin@zmanda.com>
7512 * server-src/amserverconfig.pl: apply perltidy, factor some common
7513 code, and create the config dir and changer conf only after the check
7514 for mtx is performed
7516 2008-07-28 Dustin J. Mitchell <dustin@zmanda.com>
7517 * device-src/tests/semaphore-test.c: move function call out of
7518 variable initialization
7520 2008-07-25 Dan Locks <dwlocks@zmanda.com>
7521 * packaging/deb/control: added alternative dependency of libssl0.9.8 for
7522 Ubuntu 8.x builds. Added build dependencies for debhelper, fakeroot,
7523 libcurl-dev, libssl-dev. Updated server and client dependency for curl
7526 2008-07-18 Dan Locks <dwlocks@zmanda.com>
7527 * configure.in: add format-security to gcc compile flags
7528 * server-src/amindexd.c,
7529 server-src/dumper.c,
7530 server-src/reporter.c,
7531 restore-src/restore.c,
7532 common-src/security-util.c,
7533 common-src/bsd-security.c: replacemented unquoted strings in
7534 function arguments with "%s", arg. jrfranks's suggestion, dustin provided
7537 2008-07-17 Dan Locks <dwlocks@zmanda.com>
7538 * packaging/debian/amanda-enterprise-backup-*.install: added entries for
7539 applications and devices man pages.
7541 2008-07-17 Jean-Louis Martineau <martineau@zmanda.com>
7542 * man/Makefile.am: Add amzfs-snapshot.8
7543 * man/xml-source/amzfs-snapshot.8.xml: New man page.
7544 * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
7545 * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
7546 * application-src/amzfs-snapshot.pl: New script
7547 * application-src/Makefile.am: Add amzfs-snapshot
7548 * perl/Amanda/Util.swg: Add sanitise_filename.
7550 2008-07-17 Jean-Louis Martineau <martineau@zmanda.com>
7551 * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
7553 2008-07-16 Jean-Louis Martineau <martineau@zmanda.com>
7554 * server-src/driver.c: Improve message in failure to dump in degraded
7557 2008-07-16 Dan Locks <dwlocks@zmanda.com>
7558 * packaging/deb/control,
7559 packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
7560 build dependency for openssl and curl development files.
7562 2008-07-15 Dustin J. Mitchell <dustin@zmanda.com>
7563 * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
7564 specifying both IPv{4,6} does not work; remove IPv4
7566 2008-07-15 Jean-Louis Martineau <martineau@zmanda.com>
7567 * man/Makefile.am: Add new man pages.
7568 * man/xml-source/script-email.8.xml: New man page.
7569 * man/xml-source/amanda.8.xml: List new man pages.
7570 * man/xml-source/amanda-scripts.7.xml: New man page.
7572 2008-07-15 Dustin J. Mitchell <dustin@zmanda.com>
7573 * configure.in: generate (x)inetd files
7574 * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
7575 example/xinetd.amandaserver.in: give appropriate path for amandad,
7576 from configure (fixes builds on 64-bit machines)
7577 2008-07-15 Dustin J. Mitchell <dustin@zmanda.com>
7578 * client-src/client_util.c: #include "glib-util.h"
7579 * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
7580 * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
7581 * device-src/rait-device.c: Remove g_ptr_array_foreach.
7583 2008-07-15 Jean-Louis Martineau <martineau@zmanda.com>
7584 * client-src/client_util.c: Read stdout of scripts.
7585 * client-src/client_util.h: New prototype for run_client_scripts,
7586 New client_script_result_t struct.
7587 * client-src/sendbackup.c: Send scripts properties to application.
7588 * client-src/sendsize.c: Send scripts properties to application.
7589 * client-src/selfcheck.c: Send scripts properties to application.
7590 * recover-src/extract_list.c: Send scripts properties to application.
7591 * common-src/amxml.h (script_t) Add field to keep result of script.
7592 * common-src/amxml.c: Set script->result to NULL.
7594 2008-07-14 Dan Locks <dwlocks@zmanda.com>
7595 * packaging/rpm/amanda.spec: fix macro detection of fedora version
7597 2008-07-14 Dan Locks <dwlocks@zmanda.com>
7598 * packaging/rpm/amanda.spec: fix distribution detection, add
7599 activate-devpay to server files list
7601 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
7602 * installcheck/Amanda_Changer.pl: set up and parse a config, now that
7603 Amanda::Changer needs one
7605 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
7606 * perl/Amanda/Changer.pm: set device properties when testing device
7607 labels in the changer
7609 2008-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7610 * application-src/amgtar.c: Add a DIRECTORY property.
7611 * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
7613 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
7614 * changer-src/chg-lib.sh.in: remove bogus Log() invocations
7616 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
7617 * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
7620 2008-07-11 Dustin J. Mitchell <dustin@zmanda.com>
7621 * installcheck/Amanda_Device.pl: be more liberal in the flags that are
7622 accepted from S3's read_label; this will reduce false failures
7624 2008-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7625 * client-src/client_util.c: Remove unused output_tool_property function.
7626 * client-src/client_util.h: Remove output_tool_property prototype.
7627 * man/xml-source/amanda-client.conf.5.xml: Add application and script
7629 * man/xml-source/amanda.conf.5.xml: Improve application and script
7631 * device-src/device.c: Fix for new property_t.
7632 * server-src/diskfile.h: Change prototype for xml_application and
7634 * server-src/diskfile.c: Add <priority> tag if client support it.
7635 * server-src/amindexd.c: Fix call to xml_application.
7636 * server-src/amcheck.c: Fix call to xml_application.
7637 * server-src/planner.c: Fix call to xml_application.
7638 * server-src/driverio.c: Fix call to xml_application.
7639 * server-src/server_util.c: Remove code to write property to stdin of
7641 * perl/Amanda/Config.swg: Fix for new property_t.
7642 * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
7643 * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
7645 * installcheck/Amanda_Config.pl: Fix for new property_t.
7646 * common-src/util.c: Remove unused output_tool_proplist fucntion,
7647 Fix for new property_t.
7648 * common-src/util.h: Remove output_tool_proplist prototype.
7649 * common-src/amxml.c:Fix for new property_t, parse priority of property.
7650 * common-src/conffile.c: Parse priority of a property,
7651 Add application and script to amanda-client.conf.
7652 * common-src/conffile.h: New property_t struct.
7653 * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
7654 * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
7656 2008-07-11 Jean-Louis Martineau <martineau@zmanda.com>
7657 * man/entities/global.entities: Add ENTITY email.jlm.
7658 * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
7659 amgtar.8 and amstar.8.
7660 * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
7661 at the begining of a line.
7662 * man/xml-source/amanda-applications.7.xml: New page.
7663 * man/xml-source/amgtar.8.xml: New page.
7664 * man/xml-source/amstar.8.xml: New page.
7666 2008-07-09 Ian Turner <ian@zmanda.com>
7667 * device-src/device.h: Clarify documentation of device_read_label().
7668 * device-src/s3-device.c, device-src/tape-device.c,
7669 device-src/vfs-device.c (device_read_label): Always clear volume
7670 labels, even if device is in error.
7671 * device-src/rait-device.c: Ditto; also properly handle properties
7672 that change device labels.
7674 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
7675 * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
7676 property (for setting location constraints).
7678 2008-07-08 Dustin J. Mitchell <dustin@zmanda.com>
7679 * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
7680 when EOF occurs on writing
7682 2008-07-08 Dustin J. Mitchell <dustin@zmanda.com>,
7683 Nikolas Coukouma <atrus@zmanda.com>,
7684 Ian Turner <ian@zmanda.com>,
7685 Jean-Louis Martineau <martineau@zmanda.com>
7686 Amanda has been analyzed with Klocwork source code analysis, the most
7687 accurate and comprehensive tool for finding critical programming
7688 errors and security vulnerabilities.
7689 * amandad-src/amandad.c changer-src/chg-scsi.c
7690 client-src/client_util.c client-src/selfcheck.c
7691 client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
7692 common-src/bsd-security.c common-src/fileheader.c
7693 common-src/local-security.c common-src/queueing.c
7694 common-src/security-util.c device-src/property.c
7695 device-src/rait-device.c device-src/tape-device.c
7696 device-src/vfs-device.c recover-src/set_commands.c
7697 restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
7698 server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
7699 server-src/changer.c server-src/chunker.c server-src/cmdline.c
7700 server-src/driver.c server-src/holding.c server-src/logfile.c
7701 server-src/reporter.c server-src/server_util.c
7702 server-src/taper-file-source.c: fix many issues identified
7703 by Klockwork, ranging in severity from stylistic to minor.
7704 - many memory leaks in error paths and application shutdown
7705 - better handling of incorrect commandline arguments
7706 - better resource management (file descriptors, etc.)
7708 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
7709 * device-src/Makefile.am: conditionalize activate-devpay on
7712 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
7713 * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
7714 device-src/activate-devpay.c, device-src/Makefile.am:
7715 Allow both regular S3 and S3-with-DevPay to be used in
7716 the same installation. Remove WANT_DEVPAY macro.
7717 * device-src/s3-device.c: Added a flag, is_devpay, to the device
7718 and handled divergent cases. Removed useless device_error_set calls.
7719 * device-src/s3.c: Use DevPay authentication iff user_token is set.
7720 Replaced some if statements about non-NULL pointers with assertions.
7721 * config/amanda/s3-device.m4, device-src/Makefile.am:
7722 remove devpay flag and WANT_DEVPAY definition.
7723 * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
7726 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
7727 * device-src/s3.c: wait for bucket to appear after creation, treat
7728 missing bucket as temporary error, increase retries from 5 to 14
7729 (about 3min), explicitly handle HTTP verbs as libcurl expects.
7730 * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
7731 buckets taking too long to appear.
7733 2008-07-06 Dan Locks <dwlocks@zmanda.com>
7734 * packaging/deb/amanda-backup-server.postrm
7735 packaging/deb/amanda-backup-client.postrm: removed unused
7737 * packaging/deb/postrm: fixed typo in deluser command
7738 * packaging/deb/rules: added specific preinst and postrm scripts for
7741 2008-07-03 Dustin J. Mitchell <dustin@zmanda.com>
7742 * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
7743 new files for HTML output
7744 * man/xslt/man.xsl.in: substitute XSLT_VERS
7745 * man/xml-source/amanda-devices.7.xml: tweaks
7746 * man/xml-source/amanda.8.xml: tweaks
7747 * man/xml-source/amanda.conf.5.xml: tweaks
7748 * man/xml-source/amgetconf.8.xml: tweaks
7749 * man/xml-source/amtoc.8.xml: tweaks
7751 2008-07-03 Dustin J. Mitchell <dustin@zmanda.com>
7752 * common-src/genversion.c: correctly represent available amflock
7755 2008-07-03 Jean-Louis Martineau <martineau@zmanda.com>
7756 * perl/Amanda/Xfer.swg: #include "glib-util.h"
7758 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
7759 * device-src/rait-device.c: don't use self->device_name in open_device
7761 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
7762 * installcheck/amgetconf.pl: supply a plugin for scripts
7764 2008-07-02 Jean-Louis Martineau <martineau@zmanda.com>
7765 * server-src/diskfile.c: Check an application is set if
7766 program == "APPLICATION".
7767 * common-src/amxml.c: Check plugin is set for application and script.
7768 * common-src/conffile.c: Check plugin is set for application and script
7770 2008-07-02 Jean-Louis Martineau <martineau@zmanda.com>
7771 * server-src/amstatus.pl: Fix printing of config path on error.
7773 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
7774 * installcheck/Amanda_Device.pl: test that start(READ) without first
7775 reading the label doesn't cause errors
7776 * device-src/s3-device.c: call s3_device_read_label directly
7778 2008-07-02 Ian Turner <ian@zmanda.com>
7779 * man/xml-source/amanda.8.xml: Document how to override device
7782 2008-07-02 Ian Turner <ian@zmanda.com>
7783 Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
7785 * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
7786 to start RAIT device in degraded mode.
7787 * device/device.c: Be a little more forgiving of NULL devices.
7788 * device-src/vfs-device.c: Fix a bug where vfs_device_start()
7789 would sometimes throw an erroneous assertion.
7790 * device-src/rait-device.c: Be much more robust in error handling;
7791 new feature to start a RAIT device in degraded mode.
7792 * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
7794 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
7795 * common-src/amanda.h: remove unused #include <alloca.h>
7797 2008-07-02 Dustin J. Mitchell <dustin@zmanda.com>
7798 * device-src/tape-device.c: add "user" and "good" to feature flags
7799 * man/xml-source/amanda-devices.7.xml: document it
7801 2008-07-01 Dustin J. Mitchell <dustin@zmanda.com>
7802 * device-src/device.h: fix comments to reflect removal of
7804 * device-src/tape-device.c: remove autofinishing
7806 2008-07-01 Dustin J. Mitchell <dustin@zmanda.com>
7807 * changer-src/chg-lib.sh.in: also handle bare tape dev names
7809 2008-07-01 Dustin J. Mitchell <dustin@zmanda.com>
7810 * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
7811 * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
7814 2008-06-30 Dustin J. Mitchell <dustin@zmanda.com>
7815 * common-src/match.c: fix multiple bugs in match_datestamp
7817 2008-06-29 Dustin J. Mitchell <dustin@zmanda.com>
7818 * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
7819 perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
7820 perl/Amanda/Device.swg perl/Amanda/Logfile.swg
7821 perl/Amanda/Util.swg: POD cleanup
7822 * perl/Makefile.am: new files, rules to make HTML
7823 * perl/amperl.css: CSS file for online POD
7824 * perl/make_html.pl: make online POD
7826 2008-06-29 Dustin J. Mitchell <dustin@zmanda.com>
7827 * installcheck/Makefile.am installcheck/amstatus.pl: new check
7829 2008-06-27 Ian Turner <ian@zmanda.com>
7830 * server-src/taper.c: fix printing a NULL pointer in the error path
7832 2008-06-27 Dustin J. Mitchell <dustin@zmanda.com>
7833 * device-src/device.c: check for and fail on multiple
7834 short writes to the same file
7835 * device-src/null-device.c device-src/rait-device.c
7836 device-src/s3-device.c device-src/tape-device.c
7837 device-src/vfs-device.c: do not autofinish files
7838 * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
7839 expect devices to autofinish anymore
7840 * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
7841 * device-src/device-queueing.c: comments
7842 * xfer-src/xfer-element.h: comments
7844 2008-06-27 Nikolas Coukouma <atrus@zmanda.com>
7845 * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
7846 Add support for bucket location constraints
7847 * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
7848 * device-src/s3.c device-src/s3.h device-src/s3-device.c:
7849 Checks for libcurl and bucket name compatability with location constraints
7850 * device-src/s3.c: make s3_init() threadsafe,
7851 refactor regex compilation and calling,
7852 refactor perform_request() functions to construct URL later,
7853 use GString to tidy string generation
7854 * installcheck/Amanda_Device.pl: Add tests for location constraints
7856 2008-06-27 Ian Turner <ian@zmanda.com>
7857 * device-src/rait-device.c: Fix a memory corruption issue on the last
7860 2008-06-27 Ian Turner <ian@zmanda.com>
7861 * device-src/rait-device.c: Fix a memory corruption issue on the last
7864 2008-06-27 Ian Turner <ian@zmanda.com>
7865 * device-src/rait-device.c: Track file numbers properly when child
7866 devices change them (that is, in rait_device_start_file() and
7867 rait_device_seek_file()).
7868 * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
7870 2008-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7871 * device-src/s3-device.c (s3_device_read_label): Don't set
7872 volume_header if nothing is read.
7874 2008-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7875 * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
7877 2008-06-27 Dustin J. Mitchell <dustin@zmanda.com>
7878 * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
7879 * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
7882 2008-06-26 Jean-Louis Martineau <martineau@zmanda.com>
7883 * application-src/amstar.c: Use local start_time variable.
7884 * application-src/amgtar.c: Use local start_time variable.
7885 * common-src/clock.h: Remove times_zero and start_time extern.
7886 * common-src/clock.c: Remove times_zero.
7888 2008-06-25 Jean-Louis Martineau <martineau@zmanda.com>
7889 * server-src/diskfile.c: Don't send encryption in xml req packet for
7892 2008-06-25 Dustin J. Mitchell <dustin@zmanda.com>
7893 * application-src/amgtar.c: revert --atime-preserve change
7895 2008-06-22 Dustin J. Mitchell <dustin@zmanda.com>
7896 * application-src/amgtar.c: change --atime-preserve=system to
7899 2008-06-20 Dustin J. Mitchell <dustin@zmanda.com>
7900 * installcheck/amdump.pl: fix checks to refresh the test configuration
7902 2008-06-20 Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
7903 * server-src/amdump.sh: correctly handle error exits from planner
7904 * server-src/planner.c: fail if planning fails
7905 * installcheck/amdump.pl: test changes
7907 2008-06-20 Dan Locks <dwlocks@zmanda.com>
7908 * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
7910 2008-06-20 Dan Locks <dwlocks@zmanda.com>
7911 * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
7913 2008-06-20 Jean-Louis Martineau <martineau@zmanda.com>
7914 * client-src/client_util.c: Call check_access() only
7915 if getuid() == geteuid().
7916 * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
7918 2008-06-19 Jean-Louis Martineau <martineau@zmanda.com>
7919 * server-src/amcleanup.pl: Correctly rename amdump files.
7921 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
7922 * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
7923 * man/entities/global.entities: emails for dustin and ian
7924 * man/xml-source/amanda.8.xml: refer to new manpage
7925 * man/xml-source/amanda.conf.5.xml: refer to new manpage
7926 * man/xml-source/amrecover.8.xml: refer to new manpage
7927 * server-src/amcheck.c: fix message regarding WORM media
7929 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
7930 * server-src/amgetconf.pl: fail on bad parameters or subsections, but
7931 not empty values or subsection lists
7932 * perl/Amanda/Config.swg: publish a list of subsections
7933 * installcheck/amgetconf.pl: test it
7935 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
7936 * example/template.d/amanda-single-tape.conf.in
7937 example/template.d/amanda-harddisk.conf.in
7938 example/template.d/amanda-tape-changer.conf.in
7939 example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
7940 use application amgtar instead of program GNUTAR
7942 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
7943 * config/amanda/net.m4: AC_SUBST port ranges; update comments
7945 2008-06-19 Satya Ganga <gsat@zmanda.com>
7946 * example/template.d/amanda-single-tape.conf.in
7947 example/template.d/advanced.conf.in: update displayunit to "g" and
7948 remove chg-manual for single tape configurations.
7950 2008-06-19 Ian Turner <ian@zmanda.com>
7951 * device-src/rait-device.c (rait_device_start): Check for consistent
7952 volume label on all child devices, fail with
7953 DEVICE_STATUS_DEVICE_ERROR otherwise.
7954 * installcheck/Amanda_Device.pl: Test for foregoing.
7956 2008-06-19 Paddy Sreenivasan <paddy@zmanda.com>
7957 * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
7959 2008-06-19 Dustin J. Mitchell <dustin@zmanda.com>
7960 * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
7961 * config/automake/scripts.am: explain why
7963 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
7964 * changer-src/chg-manual.sh: Make it interruptible.
7966 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
7967 * application-src/amgtar.c: Remove check for amandates file.
7969 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
7970 * common-src/amanda.h: Fix skip_quoted_string for "\\".
7971 * common-src/file.c: Fix debug_agets for "\\".
7973 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
7974 * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
7976 2008-06-18 Jean-Louis Martineau <martineau@zmanda.com>
7977 * client-src/sendsize.c: Report error from application to server.
7978 * application-src/amgtar.c: Report exit status of tar.
7980 2008-06-16 Dustin J. Mitchell <dustin@zmanda.com>
7981 * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
7982 xfer-src/dest-device.c xfer-src/source-device.c: new elements
7983 Amanda::Xfer:{Dest,Source}::Device
7984 * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
7985 * installcheck/Amanda_Xfer.pl: tests for new elements
7987 2008-06-16 Dustin J. Mitchell <dustin@zmanda.com>
7988 * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
7990 * installcheck/amservice.pl: put -f switches first
7992 2008-06-15 Dustin J. Mitchell <dustin@zmanda.com>
7993 * installcheck/Amanda_Config.pl: test config overwrites
7994 * common-src/conffile.c: don't segfault applying config overwrites
7995 after config_init(0, NULL)
7997 2008-06-13 Jean-Louis Martineau <martineau@zmanda.com>
7998 * client-src/sendbackup.c: Run compression and encryption for
8001 2008-06-13 Jean-Louis Martineau <martineau@zmanda.com>
8002 * perl/Amanda/Util.swg: Expose get_original_cwd.
8003 * application-src/amgtar_perl.pl, application-src/amoracle.pl:
8004 chdir(get_original_cwd()) before restore.
8006 2008-06-13 Dustin J. Mitchell <dustin@zmanda.com>
8007 * device-src/property.c device-src/property.h: remove tape properties
8008 * device-src/tape-device.c device-src/tape-device.h: add tape
8011 2008-06-12 Dan Locks <dwlocks@zmanda.com>
8012 * packaging/rpm/amanda_enterprise.spec,
8013 packaging/rpm/amanda_enterprise_client.spec,
8014 packaging/deb/rules: install amgtar and amstar suid root
8016 2008-06-12 Jean-Louis Martineau <martineau@zmanda.com>
8017 * client-src/selfcheck.c: Typo.
8019 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
8020 * client-src/sendsize.c: Check MAX-LEVEL from application.
8021 * server-src/planner.c: Ask for estimate even if SERVER, estimate is
8022 valid if client return -1 and invelid if client return -2.
8023 * common-src/amfeatures.h: New fe_xml_estimate amfeature.
8024 * common-src/amxml.c: Parse <estimate> tag.
8025 * common-src/amxml.h (dle_t): New estimate field.
8026 * common-src/amfeatures.c: Set fe_xml_estimate.
8028 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
8029 * client-src/client_util.c (application_property_add_to_argv):
8030 Add include and exclude.
8031 * client-src/client_util.h (application_property_add_to_argv):
8033 * client-src/sendbackup.c, client-src/sendsize.c,
8034 client-src/selfcheck.c, recover-src/extract_list.c:
8035 Add bsu param to application_property_add_to_argv.
8036 * client-src/selfcheck.c: Check if application support includ/exclude.
8037 * application-src/amgtar_perl.pl: Don't support include/exclude.
8038 * application-src/amgtar.c: Support include-optional and
8040 * common-src/amxml.c: Fix include/exclude parsing.
8042 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
8043 * application-src/Makefile.am: Install amgtar and amstar suid root.
8045 2008-06-11 Jean-Louis Martineau <martineau@zmanda.com>
8046 * client-src/selfcheck.c: Print cmdline before execing the application.
8047 * application-src/generic-dumper.pl: Cleanup.
8048 * application-src/script-oracle.pl: Cleanup.
8049 * application-src/script-email.pl: Cleanup.
8050 * application-src/amgtar_perl.pl: Cleanup.
8051 * application-src/generic-script.pl: Cleanup.
8052 * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
8053 * perl/Amanda/Debug.swg: Typo.
8055 2008-06-10 Dustin J. Mitchell <dustin@zmanda.com>
8056 * common-src/Makefile.am: don't use $(builddir), fix comparison
8057 * installcheck/Makefile.am: don't use $(builddir)
8059 2008-06-10 Ian Turner <ian@zmanda.com>
8060 * common-src/fileheader.c: Silence a compiler warning.
8061 * device-src/rait-device.c: ditto.
8063 2008-06-10 Dustin J. Mitchell <dustin@zmanda.com>
8064 * device-src/rait-device.c: hack around glib bug in versions <2.10.2
8065 using the precompiler macro instead of glib_check_version, which
8066 doesn't exist in every version of glib
8068 2008-06-10 Dan Locks <dwlocks@zmanda.com>
8069 * packaging/rpm/amanda.spec: Replaced individual SBINDIR/am... entries
8070 with SBINDIR/am* in %%files
8072 2008-06-10 Jean-Louis Martineau <martineau@zmanda.com>
8073 * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
8075 2008-06-09 Dan Locks <dwlocks@zmanda.com>
8076 * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
8077 cause the script to fail.
8079 2008-06-09 Dan Locks <dwlocks@zmanda.com>
8080 * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
8081 use a single SBINDIR/am* entry in %files
8083 2008-06-09 Dustin J. Mitchell <dustin@zmanda.com>
8084 * common-src/fileheader.c: correctly free dle_str
8085 * device-src/device.c device-src/device.h: add volume_header Device
8087 * device-src/rait-device.c device-src/s3-device.c
8088 device-src/tape-device.c device-src/vfs-device.c: populate
8090 * server-src/amlabel.c: use volume_header to detect a non-empty tape
8091 and require a force (-f) to overwrite it
8092 * server-src/taperscan.c: use volume_header to detect a non-empty tape
8093 and require 'amlabel -f' to overwrite it
8094 * device-src/tape-device.c device-src/vfs-device.c: fix read_label
8095 return values and remove useless chain-up calls
8097 2008-06-09 Jean-Louis Martineau <martineau@zmanda.com>
8098 * server-src/amservice.c: Open input file in read mode, prepend
8099 get_original_cwd() to relative path.
8100 * installcheck/Makefile.am: Check amservice only on server.
8102 2008-06-09 Dustin J. Mitchell <dustin@zmanda.com>
8103 * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
8105 2008-06-09 Dustin J. Mitchell <dustin@zmanda.com>
8106 * man/xml-source/amanda.8.xml: add links to amservice
8108 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
8109 * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
8110 * configure.in: don't call AC_SOCKADDR_STORAGE
8112 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
8113 * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
8115 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
8116 * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
8117 handling so that checks can load/unload vtapes "manually"
8119 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
8120 * server-src/amdevcheck.pl: apply config_overwrites before printing
8123 2008-06-07 Dustin J. Mitchell <dustin@zmanda.com>
8124 * application-src/amgtar_perl.pl application-src/amstar_perl.pl
8125 application-src/generic-dumper.pl application-src/generic-script.pl
8126 application-src/script-email.pl server-src/amgetconf.pl: add GPL
8129 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
8130 * server-src/amservice.c: Exit with 1 if the connection fail.
8131 * man/xml-source/amservice.8.xml: Document exit code.
8133 2008-06-06 Dustin J. Mitchell <dustin@zmanda.com>
8134 * device-src/device.c: make device_set_error bulletproof to NULLs
8135 * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
8138 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
8139 * man/Makefile.am: Add amservice.8.
8140 * man/xml-source/amservice.8.xml: New man page for amservice.
8141 * server-src/amservice.c: New program to execute an amanda service
8143 * server-src/Makefile.am: Add amservice
8144 * installcheck/amservice.pl: New check for amservice program.
8145 * installcheck/Makefile.am: Add amservice
8147 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
8148 * server-src/dumper.c: Don't quote dle_str.
8149 * common-src/fileheader.c: DLE= in header is like heredoc.
8151 2008-06-06 Dustin J. Mitchell <dustin@zmanda.com>
8152 * device-src/*: major overhaul:
8153 - add device_set_error to set error status and message for Device
8154 - every error return from a device API method sets error status
8155 - device_status_error is now threadsave
8156 - a device in an error state will not perform further operations
8157 - ensure Device attributes are set correctly by member functions
8158 - device_open never returns NULL, but may return a null device with
8160 - clearly define $device_name="$device_type:$device_node"
8161 - send RAIT logging to the debug log
8162 - vfs, tape devices don't touch the device until read_label or start
8163 - on out-of-space in write, set is_eof, finish the file, and return
8165 - use accessor functions in Amanda::Device
8166 - move device-specific properties to live with their devices
8167 - change g_return_val_if_fail to g_assert or explicit checks
8168 - remove most default Device methods, as they were more confusing
8170 - misc. other cleanup
8171 * device-src/null-device.h device-src/rait-device.h
8172 device-src/s3-device.h device-src/vfs-device.h: removed to make most
8173 device class declarations local to the source file
8174 * perl/Amanda/Device.swg: new error handling
8175 * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
8176 server-src/amcheck.c server-src/amcheckdump.pl
8177 server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
8178 server-src/taperscan.c: use new device error-handling
8179 * server-src/taper-file-source.c server-src/taper-port-source.c
8180 server-src/taper-source.c: rename GObject constants (typo)
8181 * server-src/taper-source.h:
8182 * server-src/taper.c: handle opening devices better, log on EOM
8183 * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
8185 * installcheck/amdevcheck.pl: volume-unlabeled message has changed
8186 * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
8188 * configure.in device-src/tests/: removed
8189 * device-src/vfs-test.c: moved from device-src/tests/
8191 2008-06-06 Jean-Louis Martineau <martineau@zmanda.com>
8192 * client-src/sendbackup.c: Don't write the uncompression program if
8193 it is not client compressed.
8195 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
8196 * server-src/taper.c: Log no-tape line.
8198 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
8199 * server-src/reporter.c: Improve formating.
8201 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
8202 * server-src/driver.c: start the degraded mode if it receive
8203 NO-NEW-TAPE from taper.
8205 2008-06-05 Jean-Louis Martineau <martineau@zmanda.com>
8206 * server-src/amcheckdump.pl: Check log fiels in directory if find_log
8207 find no log for the timestamps.
8209 2008-06-05 Dustin J. Mitchell <dustin@zmanda.com>
8210 * common-src/conffile.c common-src/conffile.h: expose config_add_error
8211 * server-src/diskfile.c server-src/diskfile.h: use config_add_error
8212 to send diskfile errors to conffile's error-handling mechanism
8213 * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
8214 server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
8215 server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
8216 server-src/planner.c: parse disklist along with config
8218 2008-06-04 Jean-Louis Martineau <martineau@zmanda.com>
8219 And Dustin J. Mitchell <dustin@zmanda.com>
8220 * man/xml-source/amanda-client.conf.5.xml: Document property.
8221 * installcheck/Amanda_Config.pl: Add test for client property.
8222 * common-src/conffile.c (client_var): Add CONF_PROPERTY.
8224 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
8225 * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
8226 * common-src/fileheader.c: Don't print NULL dle_str.
8228 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
8229 * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
8230 add fe_amrecover_dle_in_header.
8231 * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
8232 * recover-src/set_commands.c: Use fe_amindexd_DLE.
8233 * server-src/dumper.c: Set dle_str and add it to the header.
8234 * restore-src/restore.c: Remove dle_str is client doesn't have
8235 fe_amrecover_dle_in_header.
8236 * common-src/fileheader.c: Parse and set dle_str from header.
8237 * common-src/fileheader.h: Add dle_str in dumpfile_t.
8239 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
8240 * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
8241 man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
8242 man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
8244 2008-06-03 Jean-Louis Martineau <martineau@zmanda.com>
8245 * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
8247 * installcheck/amgetconf.pl: Fix and add more tests.
8249 2008-06-03 Dustin J. Mitchell <dustin@zmanda.com>
8250 * common-src/amxml.c: give parse error on an empty "disk" element
8251 * server-src/diskfile.c: give parse error on an empty "disk" element
8253 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
8254 * common-src/security-util.c: Remove unneeded pointer cast.
8255 * common-src/stream.c: Fix compiler error.
8257 2008-05-30 Dustin J. Mitchell <dustin@zmanda.com>
8258 * installcheck/Installcheck/Config.pm: fix subsection inheritance
8260 2008-05-30 Dustin J. Mitchell <dustin@zmanda.com>
8261 * common-src/amanda.h, common-src/bsd-security.c,
8262 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
8263 common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
8264 common-src/security-util.c, common-src/security-util.h,
8265 common-src/sockaddr-util.c, common-src/sockaddr-util.h,
8266 common-src/stream.c, common-src/util.c, common-src/util.h,
8267 restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
8268 change all relevant functions to use it, to avoid aliasing violations
8270 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
8271 * common-src/conffile.c (lookup_keyword): Use temporary variable.
8272 * installcheck/Amanda_Config.pl: Check insentivity of -/_ in amanda
8274 * installcheck/Installcheck/Config.pm: Adjust to make the subsection
8277 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
8278 * recover-src/extract_list.c: Send properties from dump_dle to
8281 2008-05-30 Jean-Louis Martineau <martineau@zmanda.com>
8282 * client-src/client_util.c: New *-RECOVER scripts.
8283 * application-src/script-email.pl: Add new *-RECOVER scripts.
8284 * application-src/generic-script.pl: Add new *-RECOVER scripts.
8285 * application-src/amstar.c: Fix.
8286 * application-src/amgtar.c: Fix.
8287 * recover-src/amrecover.c: Add a global dump_dle variable.
8288 * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
8290 * recover-src/amrecover.h: Add an extern dump_dle variable.
8291 * recover-src/set_commands.c: Send to amindexd the DLE command.
8292 * server-src/amindexd.c: Handle the DLE command.
8293 * server-src/server_util.c: Add *-RECOVER scripts, they can't be
8295 * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
8296 * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
8297 * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
8298 * common-src/amxml.c: Add *-RECOVER scripts.
8299 * common-src/conffile.c: Add *-RECOVER scripts.
8300 * common-src/conffile.h: Add *-RECOVER scripts.
8302 2008-05-29 Dustin J. Mitchell <dustin@zmanda.com>
8303 * common-src/conffile.c: make config insensitive to
8304 differences between '-' and '_'
8305 * man/xml-source/amanda-client.conf.5.xml
8306 man/xml-source/amanda.conf.5.xml
8307 man/xml-source/amgetconf.8.xml: document it
8308 * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
8311 2008-05-29 Orion Poplawski <orion@cora.nwra.com>
8312 * server-src/chunker.c: fix buffer overrun
8314 2008-05-29 Jean-Louis Martineau <martineau@zmanda.com>
8315 * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
8317 2008-05-28 Dustin J. Mitchell <dustin@zmanda.com>
8318 * device-src/rait-device.c: rait-device returns correct size when
8319 blocksize is too small
8321 2008-05-28 Jean-Louis Martineau <martineau@zmanda.com>
8322 * server-src/reporter.c: Fix ignoring pid line.
8324 2008-05-27 Jean-Louis Martineau <martineau@zmanda.com>
8325 * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
8326 * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
8328 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8329 * server-src/amstatus.pl: use lib '@amperldir@';
8330 * perl/Amanda/Process.pm: use Amanda::Constants;
8332 2008-05-26 Dustin J. Mitchell <dustin@zmanda.com>
8333 * device-src/rait-device.c: temporarily remove the call to set the
8334 BLOCK_SIZE property on all RAIT children, as it fails with VFS
8336 * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
8337 correctly detect and handle child device failures
8338 * common-src/fileheader.c: fix parse_file_header to be threadsafe
8340 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8341 * device-src/tape-aix.c, device-src/tape-xenix.c
8342 device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
8343 * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
8344 * device-src/property.c: Add broken_gmt_online property.
8345 * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
8346 * device-src/tape-device.c: Use broken_gmt_online property.
8347 * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
8348 * device-src/tape-ops.h (tape_is_ready): Change prototype.
8350 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8351 * changer-src/chg-zd-mtx.sh: Fix logging.
8353 2008-05-25 Jean-Louis Martineau <martineau@zmanda.com>
8354 * packaging/rpm/amanda.spec: Fix output message.
8356 2008-05-25 Dustin J. Mitchell <dustin@zmanda.com>
8357 * common-src/Makefile.am common-src/simpleprng.c
8358 common-src/simpleprng.h: new simple PRNG module for
8359 reproducible use in tests (bitlength bug fixed).
8360 * xfer-src/dest-null.c: verify stream against PRNG
8361 * xfer-src/source-random.c: use PRNG to create stream
8362 * installcheck/Amanda_Xfer.pl: verify streams in xfers
8363 * perl/Amanda/Xfer.swg: use PRNG
8364 * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
8365 PRNG to test glue elements
8367 2008-05-23 Dustin J. Mitchell <dustin@zmanda.com>
8368 * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
8369 reading from dying child
8371 2008-05-22 Dustin J. Mitchell <dustin@zmanda.com>
8372 * xfer-src/xfer-test.c: don't try to write to a file in the
8375 2008-05-22 Jean-Louis Martineau <martineau@zmanda.com>
8376 * perl/Amanda/Process.pm (load_ps_table): Fix split.
8378 2008-05-22 Jean-Louis Martineau <martineau@zmanda.com>
8379 * configure.in: Call AMANDA_PS_ARGUMENT
8380 * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
8382 * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
8383 * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
8385 2008-05-22 Jean-Louis Martineau <martineau@zmanda.com>
8386 * perl/Amanda/Process.pm: process_alive return '' if the process is
8388 * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
8389 * installcheck/Makefile.am (server_tests): Add Amanda_Process.
8391 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
8392 * server-src/amstatus.pl: Add "failed: killed while" to some status if
8393 the driver process is dead.
8394 * perl/Amanda/Process.pm: New process_alive function.
8396 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
8397 * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
8398 server-src/amflush.c, server-src/driver.c, server-src/taper.c,
8399 restore-src/amidxtaped.c, restore-src/restore.c,
8400 restore-src/amfetchdump.c: Convert all pid_t to long before printing.
8402 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
8403 * man/xml-source/amcleanup.8.xml: Document new -p option.
8404 * server-src/logfile.c (program_str): Add many programs.
8405 * server-src/logfile.h (program_e): Add many programs.
8406 * server-src/dumper.c, server-src/planner.c,
8407 server-src/chunker.c, server-src/amflush.c,
8408 server-src/driver.c, server-src/taper.c,
8409 restore-src/amidxtaped.c, restore-src/restore.c,
8410 restore-src/amfetchdump.c,
8411 server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
8412 * server-src/server_util.c (run_amcleanup): New function to run
8414 * server-src/server_util.c (get_master_process): New function get the
8415 name of the first pid line in a log file.
8416 * server-src/server_util.h (run_amcleanup): Prototype.
8417 * server-src/server_util.h (get_master_process): Prototype.
8418 * server-src/reporter.c: Ignore pid and pid-done lines.
8419 * server-src/amcleanup.pl: New amcleanup program written in perl.
8420 * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
8422 * server-src/amcleanup.sh: Old program removed.
8423 * perl/Amanda/Process.pm: New module to hanlde amanda process.
8424 * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
8426 2008-05-21 Jean-Louis Martineau <martineau@zmanda.com>
8427 * server-src/driver.c: Fix quoting of diskname.
8429 2008-05-20 Dustin J. Mitchell <dustin@zmanda.com>
8430 * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
8431 necessarily socklen_t used by getpeername et al.
8432 * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
8433 common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
8434 common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
8435 use the type instead of socklen_t
8437 2008-05-20 Jean-Louis Martineau <martineau@zmanda.com>
8438 Dustin J. Mitchell <dustin@zmanda.com>
8439 John Franks <jrfranks@zmanda.com>
8440 * server-src/amstatus.pl: quote disknames in amstatus
8441 * server-src/Makefile.am: don't check amstatus (since it
8442 uses Amanda::* libs)
8443 * perl/Amanda/Util.swg: add (un)quote_string
8444 * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
8446 2008-05-16 Jean-Louis Martineau <martineau@zmanda.com>
8447 * common-src/conffile.c: Fix conf_parserror use.
8449 2008-05-15 Dustin J. Mitchell <dustin@zmanda.com>
8450 * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
8451 XFA in server builds
8453 2008-05-15 Jean-Louis Martineau <martineau@zmanda.com>
8454 * common-src/conffile.c: Parse send-amreport-on.
8455 * common-src/conffile.h (send_amreport_t): New enum for possible value
8456 of send-amreport-on.
8457 * server-src/reporter.c: Use send-amreport-on setting.
8458 * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
8459 * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
8461 2008-05-15 Jean-Louis Martineau <martineau@zmanda.com>
8462 * client-src/client_util.c (application_property_argv_size): New
8463 function to count the number of argument needed to store all
8464 properties of an application for + * a dle in an ARGV.
8465 * client-src/client_util.c (application_property_add_to_argv): New
8466 function to add all properties of an application for a dle to an ARGV.
8467 * client-src/client_util.h (application_property_argv_size,
8468 application_property_add_to_argv): Prototype.
8469 * client-src/sendbackup.c, client-src/sendsize.c,
8470 client-src/selfcheck.c: Use new functions to pass properties as
8471 argument to application plugin.
8472 * application-src/script-email.pl, application-src/amstar.c,
8473 application-src/generic-script.pl,
8474 application-src/amgtar.c: Get properties from command line.
8475 * server-src/server_util.c: Use new functions to pass properties as
8476 argument to pre/post script.
8477 * common-src/util.c (count_proplist): Callback function to count the
8478 number of values of a property.
8479 * common-src/util.c (proplist_add_to_argv): callback function to store a
8480 property and it's value in an ARGV.
8481 * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
8482 * common-src/conffile.c (property_argv_size): New function to count the
8483 number of properties.
8484 * common-src/conffile.c (property_add_to_argv): New function to store a
8485 property and it's value in an ARGV.
8486 * common-src/conffile.h (property_argv_size,
8487 property_add_to_argv): Prototype.
8489 2008-05-15 Dustin J. Mitchell <dustin@zmanda.com>
8490 * xfer-src/Makefile.am: add element-glue.h to the distribution
8491 * xfer-src/element-glue.h: add 'extern'
8492 * xfer-src/xfer-test.c: fix test elements
8493 * xfer-src/xfer.c: don't use the sometimes-undefined constant
8495 * xfer-src/source-random.c: Only use 'prolong' for threads, not
8497 * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
8500 2008-05-14 Dustin J. Mitchell <dustin@zmanda.com>
8501 * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
8502 xfer-src/source-random.c xfer-src/xfer-test.c
8503 xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
8504 xfer-src/source-fd.c xfer-src/element-glue.h
8505 xfer-src/Makefile.am xfer-src/filter-xor.c
8506 xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
8507 of transfer mechansims and new algorithm for linking xfers, with
8508 expanded unit tests to exercise new glue elements
8509 * installcheck/Amanda_Xfer.pl: updated installchecks
8510 * common-src/semaphore.h: fix comment typo
8511 * common-src/testutils.c common-src/testutils.h: optionally skip
8512 timeouts (-t), and only show g_debug messages if -d is given
8514 2008-05-14 Dustin J. Mitchell <dustin@zmanda.com>
8515 * client-src/amhpfixdevs.sh client-src/Makefile.am
8516 client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
8517 permanently remove amsinixfixdevs and amhpfixdevs
8519 2008-05-12 Jean-Louis Martineau <martineau@zmanda.com>
8520 Patch by Orion Poplawski
8521 * server-src/planner.c: Warn about overwrite of last level 1, and
8522 force backup of level 1 if overwrite on this run.
8524 2008-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8525 * common-src/conffile.c: Define default tapetype.
8527 2008-05-08 Jean-Louis Martineau <martineau@zmanda.com>
8528 * device-src/tape-device.c (tape_validate_properties): New function to
8529 validate properties.
8531 2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
8532 * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
8534 2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
8535 * common-src/conffile.c: Check the tapetype is defined.
8537 2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
8538 * device-src/tape-device.c: Allow user to set "read_buffer_size"
8540 * restore-src/amrestore.c: Don't limit blocksize to
8541 --with-maxtapeblocksize.
8542 * common-src/conffile.c: Increase readblocksize to blocksize.
8543 blocksize and readblocksize can be bigger than
8544 --with-maxtapeblocksize.
8546 2008-05-06 Jean-Louis Martineau <martineau@zmanda.com>
8547 * common-src/conffile.c: Add a 'mailer' config parameter.
8548 * common-src/conffile.h: Add CNF_MAILER.
8549 * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
8550 changer-src/chg-manual.sh, application-src/script-email.pl
8551 server-src/amcheck.c server-src/amgetconf.pl
8552 server-src/reporter.c: Use mailer from config.
8553 * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
8554 * config/amanda/progs.m4: Set DEFAULT_MAILER.
8555 * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
8556 * man/xml-source/amanda-client.conf.5.xml,
8557 man/xml-source/amanda.conf.5.xml,
8558 man/xml-source/amgetconf.8.xml: Update man pages.
8560 2008-05-02 Dan Locks <dwlocks@zmanda.com>
8561 * packaging/rpm/amanda.spec: Replace ${ with %{ where applicable.
8563 2008-05-02 Dan Locks <dwlocks@zmanda.com>
8564 * packaging/deb/amanda-enterprise-backup-server.postinst
8565 packaging/rpm/amanda_enterprise.spec: Change .am_passphrase to a
8566 semi-random number in both packages.
8568 2008-04-29 Dustin J. Mitchell <dustin@zmanda.com>
8569 * config/amanda/dirs.m4: note that --with-dumperdir is
8570 deprecated in ./configure --help
8573 2008-04-28 Jean-Louis Martineau <martineau@zmanda.com>
8574 * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
8576 2008-04-28 Dustin J. Mitchell <dustin@zmanda.com>
8577 * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
8578 xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
8579 Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
8580 * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
8581 xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
8582 reorganize detection of transfer completion, to handle cases where
8583 elements don't do any active processing
8584 * installcheck/Amanda_Xfer.pl: test it all
8586 2008-04-24 Jean-Louis Martineau <martineau@zmanda.com>
8587 * server-src/reporter.c: Correctly print truncated quoted diskname.
8589 2008-04-23 Dustin J. Mitchell <dustin@zmanda.com>
8590 * installcheck/Amanda_MainLoop.pl common-src/event-test.c
8591 common-src/queueing-test.c: try to make tests more resilient
8592 to heavily-loaded, slow machines
8594 2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
8595 * common-src/security-util.c: Typo.
8597 2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
8598 * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
8599 * common-src/event.c: Check event is not dead before fire it.
8601 2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
8602 * server-src/planner.c: Fix vstrextend use.
8604 2008-04-23 Dustin J. Mitchell <dustin@zmanda.com>
8605 * common-src/event.c: use internal child_watch_source
8606 for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
8607 signals and are thus unreliable
8609 2008-04-22 Dustin J. Mitchell <dustin@zmanda.com>
8610 * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
8611 parsing of 'sec' and 'kb' from logfile messages
8612 * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
8613 * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
8616 2008-04-22 Dustin J. Mitchell <dustin@zmanda.com>
8617 * common-src/event.c: on glib <2.4.0, use a simple polling
8618 child_watch_source; on more recent glib, use glib's own
8621 2008-04-22 Dustin J. Mitchell <dustin@zmanda.com>
8622 * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
8623 xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
8624 xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
8625 xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
8626 - flatten XferElement hierarchy to one level
8627 - change test element argument order
8628 - rename XMsg.src to Xmsg.elt
8629 - Improve memory management (refcounting, perl interface)
8630 * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
8631 perl/Amanda/MainLoop.swg perl/Makefile.am
8632 perl/amglue/amglue.h perl/amglue/source.c:
8633 - rewrite handling of amglue_Source for better refcounting
8634 - Amanda::MainLoop callbacks get the event source as 1st argument,
8635 and will be called even if the event source goes out of scope in
8637 - MainLoop.swg significantly rewritten to get refcounting right
8638 * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
8640 * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
8643 2008-04-22 Jean-Louis Martineau <martineau@zmanda.com>
8644 * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
8646 * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
8647 possible errors are VOLUME_MISSING or DEVICE_BUSY.
8649 2008-04-22 Kevin Zembower <kzembowe@jhuccp.org>
8650 * man/xml-source/amflush.8.xml: add amflush example
8652 2008-04-22 Jean-Louis Martineau <martineau@zmanda.com>
8653 * device-src/tape-device.c: Move all device access from
8654 tape_device_open_device to tape_device_read_label.
8655 tape_device_start read the label if it is not already read.
8656 * device-src/vfs-device.c (vfs_device_open_device): remove read of the
8659 2008-04-22 Jean-Louis Martineau <martineau@zmanda.com>
8660 * device-src/tape-device.c (check_resetofs): Compilation fix if
8661 NEED_RESETOFS is defined.
8662 * device-src/tape-posix.c: Handle no ENOMEDIUM.
8664 2008-04-21 Dan Locks <dwlocks@zmanda.com>
8665 * packaging/deb/buildpkg: modified build script to create unsigned
8668 2008-04-21 Jean-Louis Martineau <martineau@zmanda.com>
8669 * changer-src/chg-lib.sh.in (amdevcheck_status):
8670 Set amdevcheck_message.
8671 * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
8672 changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
8673 changer-src/chg-multi.sh: Output amdevcheck_message
8674 * device-src/device.c: Set errmsg and status.
8675 device_open always return a device, the status and errmsg are set.
8676 * device-src/device.h: Define DeviceStatusFlags.
8677 * device-src/null-device.c, device-src/s3-device.c,
8678 device-src/tape-device.c, device-src/vfs-device.c,
8679 device-src/rait-device.c: Set errmsg and status.
8680 * device-src/tape-posix.c: Return status for VOLUME_MISSING.
8681 * device-src/tape-ops.h: Remove TapeCheckResult.
8682 * server-src/taper-source.h (_TaperSource): Add errmsg.
8683 * server-src/taper-source.c: Set errmsg
8684 * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
8685 server-src/taperscan.c, restore-src/amrestore.c,
8686 restore-src/restore.c: Use status and errmsg of a device.
8687 * server-src/taper-disk-port-source.c: Set errmsg.
8688 * server-src/reporter.c: Fix parsing of taper PARTIAL line.
8689 * server-src/taper.c: Use errmsg for device and _TaperSource.
8690 * server-src/taper-file-source.c: Set errmsg.
8691 * server-src/amcheckdump.pl,
8692 server-src/amdevcheck.pl: Use status and errmsg from device.
8693 * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
8694 * perl/Amanda/Device.swg: New interface.
8695 * installcheck/Makefile.am: Don't print some commands.
8696 * installcheck/Amanda_Device.pl: Check new device api.
8697 * common-src/queueing.c: Use new queue_fd_t.
8698 * common-src/queueing.h (queue_fd_t): new struct.
8699 * common-src/amanda-sh-lib.sh.in: Fix bug.
8700 * common-src/queueing-test.c: Use queue_fd_t.
8702 2008-04-21 Dustin J. Mitchell <dustin@zmanda.com>
8703 * installcheck/amgetconf.pl: properly quote filenames in
8704 regex, to avoid spurious failures when e.g., '+' appears
8707 2008-04-18 Dustin J. Mitchell <dustin@zmanda.com>
8708 * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
8709 Amanda::MainLoop, allowing asynchronous operation of
8711 * server-src/amcheckdump.pl: use new Amanda::Changer
8712 interface (synchronously, until we have Amanda::Xfer)
8713 * installcheck/Amanda_Changer.pl: test new interface
8715 2008-04-18 Dustin J. Mitchell <dustin@zmanda.com>
8716 * installcheck/Makefile.am: build $(full_tests) too
8718 2008-04-18 Cyrille Bollu <Cyrille.Bollu@fedasil.be>
8719 * client-src/sendsize.c: use --numeric-owner during 'sendsize'
8721 2008-04-17 Dustin J. Mitchell <dustin@zmanda.com>
8722 * installcheck/Makefile.am: segregate installchecks that require
8723 both client and server components
8725 2008-04-17 Dustin J. Mitchell <dustin@zmanda.com>
8726 * common-src/debug.c: add Amanda version to debug logs
8728 2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
8729 * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
8730 process type and context process attributes
8731 * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
8732 debug_init to set up debugging according to the process context, and
8733 log nothing in CONTEXT_SCRIPTUTIL
8734 * server-src/amgetconf.pl server-src/amdevcheck.pl:
8736 * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
8737 * installcheck/Amanda_Debug.pl: add comment
8739 2008-04-16 Dan Locks <dwlocks@zmanda.com>
8740 * Fixes to debian package reported by daniel_P
8741 * packaging/deb/preinst: remove spaces near ${amanda_group}
8742 * packaging/deb/amanda-backup-server.dirs
8743 packaging/deb/amanda-backup-client.dirs: added var/amanda and
8744 usr/share/lintian/overrides
8745 * packaging/deb/rules: added logic to find PERLSITELIB and append that
8746 to amanda-backup-server.install, removed broken brace expansion
8747 * packaging/deb/buildpkg: removed extraneous configure step
8748 * packaging/deb/amanda-backup-server.postinst: added check for correct
8749 permissions on /tmp/amanda
8751 2008-04-16 Dan Locks <dwlocks@zmanda.com>
8752 * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
8753 from configure invocation. no longer necessary.
8755 2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
8756 * device-src/s3.c config/amanda/s3-device.m4: test curl features
8757 at runtime, instead of compile time, and always use SSL if it
8760 2008-04-16 Jean-Louis Martineau <martineau@zmanda.com>
8761 * server-src/amadmin.c: Improve message.
8762 * man/xml-source/amanda.conf.5.xml: Fix man page.
8763 * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
8765 2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
8766 * config/amanda/dumpers.m4: continue searching for gnutar if we
8767 find a binary claiming to be gnu tar that is not. This gets
8768 around serious breakage on Ubuntu, where star is installed as
8769 /bin/gnutar, but /bin/tar is actually GNU Tar.
8771 2008-04-15 Dustin J. Mitchell <dustin@zmanda.com>
8772 * common-src/file.c(mk1dir): fix reversed conditional to handle
8775 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
8776 * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
8777 msg_timestamp() to stderr.
8779 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
8780 * server-src/dumper.c: Call error() only after set_logerror is done.
8781 * server-src/planner.c: Call error() only after set_logerror is done.
8782 * server-src/chunker.c: Report a better error message.
8783 * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
8785 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
8786 * server-src/find.c (dumps_match_dumpspecs): New function to only keep
8787 dumps that match a dumpspecs, using it simplify amfetchdump.
8788 * server-src/find.h (dumps_match_dumpspecs): Prototype.
8789 * restore-src/amrestore.c: Add a first_restored_file to
8790 search_a_tape(), to allow restore ot stop after the first image.
8791 * restore-src/restore.c: Set first_restored_file, it was never set,
8792 it's needed to stop after the first image.
8793 * restore-src/restore.c (restore_from_tapelist): break if piping to
8795 * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
8796 * restore-src/amfetchdump.c: If -p, the keep only one dump.
8797 * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
8798 * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
8799 * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
8800 * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
8801 * installcheck/Amanda_Logfile.pl: Add many tests.
8803 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
8804 * tape-src/tapetype.c: Initialize an default config.
8806 2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
8807 * common-src/util.c (connect_portrange, connect_port, bind_portrange):
8808 Return the latest errno reported.
8810 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
8811 * common-src/conffile.c common-src/conffile.h
8812 perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
8813 new interface for config errors, re-introduce rawtapedev for
8814 deprectation purposes
8815 * installcheck/Installcheck/Config.pm: support test
8816 amanda-client.conf files
8817 * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
8818 * client-src/client_util.c client-src/client_util.h: add
8819 config_errors_to_error_string
8820 * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
8821 better, so users see client-side config errors
8822 * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
8823 changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
8824 client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
8825 application-src/amgtar.c recover-src/amrecover.c
8826 server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
8827 server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
8828 server-src/amtape.c server-src/amcheckdump.pl
8829 server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
8830 server-src/driver.c server-src/reporter.c server-src/taper.c
8831 server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
8832 server-src/amlabel.c installcheck/Amanda_Changer.pl
8833 installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
8834 installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
8835 restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
8838 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
8839 * server-src/diskfile.c: improve messages when client does not
8840 support required features
8842 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
8843 * installcheck/Amanda_Config.pl common-src/conffile.c
8844 common-src/conffile.h: fix deprecation of keywords to
8845 actually issue a warning. 'netusage' is no longer
8848 2008-04-08 Dustin J. Mitchell <dustin@zmanda.com>
8849 * common-src/event.c: use SA_RESTART for child_watch_source
8851 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
8852 * perl/Amanda/MainLoop.swg perl/amglue/source.c
8853 installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
8854 GSources defined in event.c, using an extensible model
8855 * common-src/event.c: check whether child_watch_source's signal
8856 handler has been replaced, and issue a warning if it has.
8858 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
8859 * common-src/queueing.c: fix condition (thanks to Jean-Louis
8862 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
8863 * common-src/Makefile.am common-src/queueing-test.c: new tests
8864 * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
8865 * common-src/queueing.c: fix two bugs:
8866 - spurious in-place memmove on every buffer copy
8867 - silent discard of a final packet if the consumer does not
8868 completely consume it
8869 * common-src/queueing.h: update comments
8870 * common-src/testutils.h: add header-protection macros
8872 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
8873 * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
8876 2008-04-07 Dustin J. Mitchell <dustin@zmanda.com>
8877 * man/xml-source/amanda.conf.5.xml: fix typos
8879 2008-04-04 Jean-Louis Martineau <martineau@zmanda.com>
8880 * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
8882 2008-04-04 Jean-Louis Martineau <martineau@zmanda.com>
8883 * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
8885 2008-04-01 Dustin J. Mitchell <dustin@zmanda.com>
8886 Suggested by Sunil Sawant <sunil@zmanda.com>
8887 * man/xml-source/amrecover.8.xml: suggest including a config in the
8888 amrecover command line
8890 2008-04-01 John Franks <jfranks@zmanda.com>
8891 * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
8892 Patches to reapply after gnulib updates.
8893 * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
8894 gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
8895 gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
8896 gnulib/getaddrinfo.h:
8897 Remove restricted keywords from source files.
8899 2008-04-01 Satya Ganga <gsat@zmanda.com>
8900 * example/template.d/amanda-S3.conf.in: S3 device should have
8901 "infinite" tape length
8903 2008-03-31 John Franks <jfranks@zmanda.com>
8904 * common-src/stream.c
8905 Fix warning about ininitialized variables.
8907 2008-03-31 John Franks <jfranks@zmanda.com>
8908 * oldrecover-src/Makefile.am xfer-src/Makefile.am
8909 recover-src/Makefile.am server-src/Makefile.am
8910 restore-src/Makefile.am:
8911 Fix build problems with multiply defined symbols.
8913 2008-03-31 Dan Locks <dwlocks@zmanda.com>
8914 * packaging/deb/buildpkg
8915 packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
8917 2008-03-31 Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
8918 * client-src/sendbackup-gnutar.c client-src/sendsize.c
8919 client-src/selfcheck.c: update amandates whenever possible, but only
8920 complain when it is really needed: when using calcsize, or when
8921 using GNUTAR and --without-gnutar-listdir.
8922 * client-src/amandates.c: Set errno before return of start_amandates
8923 * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
8925 2008-03-31 Jean-Louis Martineau <martineau@zmanda.com>
8926 * server-src/amgetconf.pl: Parse config after setup_applccation call.
8928 2008-03-31 Jean-Louis Martineau <martineau@zmanda.com>
8929 * server-src/amcheck.c: Check errno after full_read.
8931 2008-03-31 Dan Locks <dwlocks@zmanda.com>
8932 * packaging/Makefile.am: add deb subdirectory.
8934 2008-03-31 Dustin J. Mitchell <dustin@zmanda.com>
8935 * common-src/rsh-security.c common-src/ssh-security.c: improve error
8936 messages for resolve_hostname calls
8938 2008-03-27 Dustin J. Mitchell <dustin@zmanda.com>
8939 * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
8940 * gnulib/regenerate/regenerate gnulib/Makefile.am
8941 config/gnulib/gnulib-cache.m4: add full-read, full-write modules
8942 * oldrecover-src/extract_list.c client-src/noop.c
8943 client-src/sendbackup-gnutar.c client-src/sendbackup.c
8944 client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
8945 application-src/amgtar.c recover-src/extract_list.c
8946 server-src/changer.c server-src/logfile.c server-src/amindexd.c
8947 server-src/amcheck.c server-src/dumper.c server-src/chunker.c
8948 server-src/taper-port-source.c server-src/driverio.c
8949 server-src/holding.c server-src/driver.c
8950 server-src/taper-file-source.c restore-src/restore.c
8951 common-src/security-util.c common-src/amanda.h
8952 tape-src/output-file.c: use gnulib full_read, full_write functions,
8953 which have slightly different error semantics than the corresponding
8956 2008-03-27 Jean-Louis Martineau <martineau@zmanda.com>
8957 * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
8959 2008-03-27 Jean-Louis Martineau <martineau@zmanda.com>
8960 * device-src/activate-devpay.c (parse_commandline): Always return.
8962 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
8963 * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
8964 * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
8965 * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
8966 * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
8967 * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
8968 * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
8969 * amandad-src/Makefile.am,
8970 * client-src/Makefile.am, device-src/Makefile.am,
8971 server-src/Makefile.am, server-src/server_util.c,
8972 tape-src/Makefile.am: Add library to many *_LIBADD.
8973 * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
8974 WANT_CYGWIN_COPY_PERL_DLL.
8976 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
8977 * common-src/conffile.c: Fix typo and remove unused prefix.
8979 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
8980 * server-src/reporter.c: Check difference between origsize and outsize
8981 to find if the image is compressed.
8983 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
8984 Greg Troxel reported the bug and possible solution.
8985 * common-src/stream.c (stream_server): New family argument, it is used
8986 to create the socket.
8987 * common-src/stream.h (stream_server): New prototype.
8988 * server-src/chunker.c, server-src/taper.c: Call stream_server with
8989 family of 'localhost', it's the name dumper use to contact them.
8990 * restore-src/amidxtaped.c: Call stream_server with AF_INET.
8991 * common-src/bsd-security.c, common-src/security-util.c: Call
8992 stream_server with family of incoming packet.
8994 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
8995 Davor Ocelic reported the problem.
8996 * application-src/Makefile.am: Use applicationexec_PROGRAMS and
8997 applicationexec_SCRIPTS to install executable.
8999 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
9000 * common-src/security-util.c (show_stat_info): Use getpwuid_r
9002 2008-03-25 Dustin J. Mitchell <dustin@zmanda.com>
9003 * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
9004 peculiar linking of threading libraries.
9006 2008-03-20 Dan Locks <dwlocks@zmanda.com>
9007 * packaging/deb/control: removed grep dependency
9008 * packaging/deb/amanda-backup-client.postinst
9009 packaging/deb/amanda-backup-server.postinst
9010 packaging/deb/amanda-backup-server.postrm
9011 packaging/deb/amanda-backup-client.postrm: removed call to
9012 ldconfig to satisfy lintian
9013 * packaging/deb/amanda-backup-server.lintian
9014 packaging/deb/amanda-backup-client.lintian: sorted and added new
9016 * packaging/deb/amanda-backup-client.dirs: removed var/amanda
9018 2008-03-18 Dustin J. Mitchell <dustin@zmanda.com>
9019 * device-src/activate-devpay.c: fix type warning
9021 2008-03-17 Jean-Louis Martineau <martineau@zmanda.com>
9022 * server-src/diskfile.c: Correctly check if two hosts map to the same
9025 2008-03-15 Dustin J. Mitchell <dustin@zmanda.com>
9026 * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
9027 perl/amglue/source.c: rename mainloop.c to source.c to avoid
9028 conflicts with MainLoop.c on case-insensitive filesystems
9030 2008-03-14 Dan Locks <dwlocks@zmanda.com>
9031 * Initial debian release: This package is based on Bdale Garbee's
9032 work as the official debian maintainer for amanda.
9034 2008-03-14 Jean-Louis Martineau <martineau@zmanda.com>
9035 * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
9037 * server-src/server_util.c: Rename _proplist to _property.
9038 * server-src/diskfile.c: Rename _proplist to _property.
9039 * server-src/amadmin.c (disklist_one): Print property.
9040 * perl/Amanda/Config.swg: Add new constants to Amanda::Config
9041 * installcheck/Amanda_Config.pl: Test global property.
9042 * common-src/conffile.c: Add global and by dumptype property.
9043 * common-src/conffile.h: Add global and by dumptype property.
9045 2008-03-14 Dustin J. Mitchell <dustin@zmanda.com>
9046 * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
9047 * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
9048 * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
9050 * common-src/event.h: fix typo in comment
9052 2008-03-14 Dustin J. Mitchell <dustin@zmanda.com>
9053 * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
9054 expects an int, not a char.
9056 2008-03-13 Dan Locks <dwlocks@zmanda.com>
9057 * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
9058 it works with rpm versions earlier than 4.4
9060 2008-03-13 Dustin J. Mitchell <dustin@zmanda.com>
9061 * device-src/device-queueing.c device-src/device-queueing.h
9062 server-src/taper-source.c server-src/taper-source.h
9063 server-src/taper-source-test.c server-src/taper.c
9064 common-src/queueing.c common-src/queueing.h: change ints in
9065 consumer/producer to (s)size_t
9066 * device-src/device.c device-src/device-queueing.c
9067 device-src/tests/semaphore-test.c device-src/tests/Makefile.am
9068 device-src/queueing.c device-src/semaphore.c
9069 device-src/device-queueing.h device-src/queueing.h
9070 device-src/Makefile.am device-src/semaphore.h
9071 device-src/property.h server-src/taper.c common-src/queueing.c
9072 common-src/queueing.h common-src/semaphore-test.c
9073 common-src/semaphore.c common-src/semaphore.h
9074 common-src/Makefile.am: move queueing and semaphore into
9075 common-src, along with their tests
9076 * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
9077 xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
9078 xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
9079 xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
9080 xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
9081 * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
9082 xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
9083 xfer-src/Makefile.am xfer-src/xfer.h: support for sending
9084 and receiving XMsgs.
9085 * common-src/event.c common-src/event.h: add default_event_loop().
9086 * device-src/device.c server-src/taper-source-test.c common-src/util.c
9087 common-src/util.h common-src/glib-util.c common-src/glib-util.h:
9088 create new glib_init() to do g_type_init(), initialize threads, etc.
9090 2008-03-13 Jean-Louis Martineau <martineau@zmanda.com>
9091 * client-src/sendsize.c: Don't use sscanf for est->qamname because it
9093 * server-src/diskfile.c: Clean the diskname before using it as a regex.
9094 * common-src/protocol.c: Fix bug if packet have a '%' character.
9096 2008-03-13 Jean-Louis Martineau <martineau@zmanda.com>
9097 * installcheck/Installcheck/Run.pm: Increase size of TAPE.
9099 2008-03-12 Dustin J. Mitchell <dustin@zmanda.com>
9100 * common-src/event.c: Use %jd to print a pid_t, since it may be
9101 larger on some platforms.
9103 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
9104 * common-src/conffile.c: Fix solaris 8 cc warning.
9106 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
9107 * client-src/sendbackup.c: Set stroptions to "".
9109 2008-03-12 Dustin J. Mitchell <dustin@zmanda.com>
9110 * common-src/event.c common-src/event.h common-src/event-test.c:
9111 add two new GSources: child_watch_source (sends events when a child
9112 dies) and fdsource (sends events when file descriptors match
9113 conditions). Thanks to Jean-Louis Martineau for finding and fixing
9116 2008-03-12 Dustin J. Mitchell <dustin@zmanda.com>
9117 * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
9118 documentation to reflect use of gnulib's git repository
9120 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
9121 * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
9122 it is done automaticaly.
9123 * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
9124 conflict with make CLOBBER_MY_CONFIG.
9126 2008-03-12 Jean-Louis Martineau <martineau@zmanda.com>
9127 * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
9130 2008-03-12 Dan Locks <dwlocks@zmanda.com>
9131 * packaging/rpm/buildpkg: made the script quieter
9133 2008-03-12 Dan Locks <dwlocks@zmanda.com>
9134 * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
9135 added --quiet to the configure invocation
9137 2008-03-10 Jean-Louis Martineau <martineau@zmanda.com>
9138 * gnulib: Update to latest version, add getopt module.
9140 2008-03-07 Jean-Louis Martineau <martineau@zmanda.com>
9141 * oldrecover-src/Makefile.am, example/Makefile.am,
9142 amandad-src/Makefile.am, recover-src/Makefile.am,
9143 restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
9144 * installcheck/Amanda_Config.pl: Check config_filename.
9145 * installcheck/Installcheck/Config.pm: Use local amandates and
9147 * installcheck/Makefile.am: Take a copy of amanda-client.conf
9148 * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
9149 * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
9150 * config/automake/installperms.am: installperms.sh in top_builddir,
9151 DISTCLEANFILES += $(installperms_sh)
9152 * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
9153 DISTCHECK_CONFIGURE_FLAGS.
9154 * common-src/Makefile.am: distclean-local: remove svn-info.h.
9156 2008-03-07 Dan Locks <dwlocks@zmanda.com>
9157 * packaging/rpm/buildpkg: Simplified usage of packaging script by
9158 creating a tarball from existing source.
9160 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9161 * installcheck/Installcheck/Run.pm: merge from application-api.
9162 * installcheck/Installcheck/Config.pm: merge from application-api.
9164 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9165 * merge application-api
9167 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9168 * common-src/Makefile.am: dest=$(amlibexecdir).
9170 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
9171 * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
9172 Add chg-lib.sh.in to EXTRA_DIST.
9173 * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
9174 Add generic-dumper.pl to EXTRA_DIST.
9175 * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
9176 Add amanda-sh-lib.sh.in to EXTRA_DIST.
9178 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9179 * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
9180 * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
9182 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9183 * config/amanda/swig.m4: Check for *freebsd[123456]*
9185 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9186 * changer-src/chg-scsi-chio.c: Compile fix.
9187 * changer-src/scsi-chio.c: Compile fix.
9188 * config/amanda/changer.m4: Check for linux/chio.h
9190 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9191 * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
9193 2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
9194 * config/amanda/swig.m4: With many thanks to John E. Hein
9195 <jhein@timing.com>, fix the comment and make the change committed
9196 yesterday apply to all FreeBSD < 7.0.
9198 2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
9199 * config/amanda/summary.m4: quote all warning messages that will be
9200 included in heredocs, to avoid spurious interpretation of backquotes
9202 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9203 * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
9205 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9206 * restore-src/amidxtaped: Use default config if amrecover doesn't send
9207 a config name. (amoldrecover doesn't send a config).
9208 * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
9209 so desired_tape->numfiles == 0.
9210 If amidxtaped is launched directly from xinetd, then
9211 flags->pipe_to_fd == STDOUT_FILENO, but this test should only
9212 succeed for amrestore of amfetchdump.
9214 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
9215 * device-src/tape-device.c: Set d_self->is_eof to FALSE.
9217 2008-03-04 Dustin J. Mitchell <dustin@zmanda.com>
9218 * perl/Makefile.am config/amanda/swig.m4: add a special case for
9219 FreeBSD-6.2: include -lpthread in the linking of each perl
9220 extension, because libgthread does not pull in libpthread as
9221 it does on other platforms.
9223 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
9224 * common-src/security-util.c: getnameinfo return != 0 on error.
9226 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
9227 * config/amanda/dumpers.m4: Typo.
9229 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
9230 * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
9231 return value of 'pipe', declared with attribute warn_unused_result.
9233 2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
9234 * common-src/amanda.h: add <stdint.h>
9236 2008-02-28 Dustin J. Mitchell <dustin@zmanda.com>
9237 * config/automake/installperms.am: --without-installperms now
9238 generates a shell-parsable list of desired permissions
9239 * Makefile.am: erase installperms.sh before beginning a 'make
9241 * oldrecover-src/Makefile.am client-src/Makefile.am
9242 recover-src/Makefile.am server-src/Makefile.am: give mode
9245 2008-02-28 Dustin J. Mitchell <dustin@zmanda.com>
9246 Thanks to John E. Hein <jhein@timing.com> for identifying this problem
9247 * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
9248 * installcheck/Amanda_Config.pl: use a properly-sized constant to
9249 check parsing of large configuration values
9252 2008-02-28 Jean-Louis Martineau <martineau@zmanda.com>
9253 * server-src/amindexd.c: Compute maxpart, call clean_dump.
9254 * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
9255 * server-src/disk_history.h (add_dump): New prototype,
9256 add maxpart argument.
9257 * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
9258 previous part is not already added.
9259 * server-src/disk_history.c (clean_dump): New function to remove
9260 DUMP_ITEM if all part are not added.
9261 * common-src/tapelist.h (tapelist_t): Add partnum field.
9262 * common-src/tapelist.h (append_to_tapelist): New prototype,
9263 add partnum argument.
9264 * common-src/tapelist.c (append_to_tapelist): New partnum argument.
9265 * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
9267 2008-02-28 Jean-Louis Martineau <martineau@zmanda.com>
9268 * common-src/security-util.c: Don't write unclaimed warning if we have
9271 2008-02-27 Dustin J. Mitchell <dustin@zmanda.com>
9272 * common-src/testutils.c common-src/testutils.h
9273 common-src/Makefile.am: add libtestutils.la
9274 * common-src/event-test.c common-src/amflock-test.c:
9277 2008-02-27 Jean-Louis Martineau <martineau@zmanda.com>
9278 * server-src/find.c: Use sort_key in switch statement.
9280 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
9281 * NEWS, ReleaseNotes: Document --with-amlibdir.
9282 * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
9283 --without-amlibexecdir,
9284 Set AMPERLLIB to $amlibdir/perl.
9286 2008-02-26 Dustin J. Mitchell <dustin@zmanda.com>
9287 * common-src/event-test.c: a more robust and effective test of
9288 EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
9290 2008-02-26 Dustin J. Mitchell <dustin@zmanda.com>
9291 * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
9292 add --with-amperldir, --without-amperldir, and install perl modules
9293 in Perl's installsitearch by default; thanks to Orion Poplawski
9294 <orion@cora.nwra.com> for help and suggestions.
9296 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
9297 * client-src/getfsent.c: Don't fail if stat of mount point fail.
9299 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
9300 * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
9301 RUNNING_AS_DUMPUSER_PREFERRED.
9303 2008-02-25 Jean-Louis Martineau <martineau@zmanda.com>
9304 * server-src/reporter.c: Report size of data on holding disk.
9306 2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
9307 * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
9309 2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
9310 * server-src/amcheck.c, server-src/dumper.c,
9311 server-src/planner.c: Call waitpid to cleanup defunct process.
9313 2008-02-20 Dustin J. Mitchell <dustin@zmanda.com>
9314 * device-src/tape-posix.c: keep ioctl error message in
9317 2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
9318 * device-src/device.c, device-src/null-device.c,
9319 device-src/s3.c, device-src/tape-device.c,
9320 device-src/queueing.h, device-src/s3.h,
9321 device-src/vfs-device.c, device-src/rait-device.c,
9322 server-src/taper-source-test.c, server-src/server_util.c,
9323 server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
9324 perl/amglue/integers.swg, restore-src/restore.c,
9325 common-src/glib-util.c: Fix solaris compiler warning.
9327 2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
9328 * common-src/util.c (quote_string): Quote single quote (').
9329 * server-src/find.c:Correctly compute length of diskname.
9331 2008-02-15 Dustin J. Mitchell <dustin@zmanda.com>
9332 * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
9333 use AC_PROG_EGREP instead of the Amanda version
9334 * server-src/find.c: fix compiler warning on Solaris 8
9336 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
9337 * packaging/rpm/amanda.spec: Remove amverify*
9339 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
9340 * oldrecover-src/Makefile.am: Build all files in the build directory.
9341 * recover-src/Makefile.am: Build all files in the build directory.
9342 * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
9343 * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
9344 AC_OUTPUT create the common-src directory.
9346 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
9347 * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
9348 * file server-src/infofile.c: Use %jd to print intmax_t value.
9349 * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
9351 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
9352 * packaging/rpm/amanda.spec: Fix typo.
9354 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
9355 * server-src/amdump.sh: Don't use 'date -d', use sed.
9357 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
9358 * installcheck/Installcheck/Run.pm: run test dumps of a smaller
9359 directory, to avoid overflowing test tapes
9361 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
9362 * dumper-src/amstar.pl dumper-src/amgtar.pl
9363 device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
9364 server-src/amdevcheck.pl: add GPL header
9366 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
9367 * installcheck/Makefile.am installcheck/amdump.pl: add a check
9368 that runs 'amdump' directly, since that fails often
9370 2008-02-14 Dustin J. Mitchell <dustin@zmanda.com>
9371 * common-src/event-test.c: make tests more robust to environmental
9372 variations, clean up forked children
9374 2008-02-13 Dustin J. Mitchell <dustin@zmanda.com>
9375 * common-src/security-util.c
9376 common-src/security-util.h: don't cast pointers to
9377 integers for tcp_conn event id's
9379 2008-02-13 Dan Locks <dwlocks@zmanda.com>
9380 * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
9381 build environment as well as if provided on rpmbuild commandline.
9382 Conditionalized this var to handle cross compiling on FC8.
9384 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
9385 * amandad-src/amandad.c: use sizeof() instead of strlen()
9386 in a constant expression
9388 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
9389 * amandad-src/amandad.c: initialize as->service
9390 * common-src/event.c common-src/event.h: new GMainLoop-based
9391 version of the event library, allowing GMainLoop-based and
9392 event-based processes to co-exist peacefully
9394 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
9395 * installcheck/amcheckdump.pl: fix typo
9397 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
9398 * server-src/dumper.c: Fail if no header or no data.
9400 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
9401 * server-src/amstatus.pl: Report failure if dumper succeed and
9404 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
9405 * common-src/conffile.h (config_name, config_dir, config_filename):
9406 Remove extern declaration.
9407 * common-src/conffile.h (get_config_name, get_config_dir,
9408 get_config_filename): New prototype.
9409 * common-src/conffile.c (config_name, config_dir, config_filename):
9411 * common-src/conffile.h (get_config_name, get_config_dir,
9412 get_config_filename): New functions.
9413 * perl/Amanda/Config.swg: Don't inline the functions.
9414 * oldrecover-src/extract_list.c, client-src/sendbackup.c,
9415 client-src/sendsize.c, client-src/selfcheck.c,
9416 recover-src/amrecover.c, recover-src/extract_list.c,
9417 server-src/changer.c, server-src/amlogroll.c,
9418 server-src/amindexd.c, server-src/amcheck.c,
9419 server-src/dumper.c, server-src/planner.c,
9420 server-src/chunker.c, server-src/amadmin.c,
9421 server-src/amtape.c, server-src/amcleanupdisk.c,
9422 server-src/amflush.c, server-src/amtrmlog.c,
9423 server-src/driverio.c, server-src/driver.c,
9424 server-src/reporter.c, server-src/taper.c,
9425 server-src/amtrmidx.c, server-src/diskfile.c,
9426 server-src/amlabel.c,
9427 restore-src/amfetchdump.c: Use new functions.
9429 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
9430 * common-src/event-test.c common-src/Makefile.am: add checks
9431 for the event module
9433 2008-02-12 Dustin J. Mitchell <dustin@zmanda.com>
9434 * server-src/dumper.c server-src/server_util.c
9435 server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
9436 common-src/file.c: Always call mkpdir without the 02000 bit set,
9437 as it is not needed and causes problems on MacOS X.
9439 2008-02-11 Dustin J. Mitchell <dustin@zmanda.com>
9440 * all source files: update GPL dates
9441 * perl/*: use LGPL instead of GPL
9443 2008-02-11 Dustin J. Mitchell <dustin@zmanda.com>
9444 * amandad-src/amandad.c: fix use of non-constant array size
9446 2008-02-11 Dustin J. Mitchell <dustin@zmanda.com>
9447 * amandad-src/amandad.c: add hack to avoid a race condition in
9448 sendbackup operation
9449 * common-src/security-util.c: issue debug log message when data
9450 tokens are dropped by the security API
9452 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
9453 * recover-src/amrecover.c: Use tapedev from server if it is not set
9454 in amanda.client.conf
9455 * example/amanda-client.conf.in: Document it.
9457 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
9458 * device-src/tape-device.c (tape_device_init): Init min_block_size
9459 and fixed_block_size to 32768.
9461 2008-02-07 Dustin J. Mitchell <dustin@zmanda.com>
9462 * packaging/rpm/amanda_enterprise.spec man/Makefile.am
9463 man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
9464 man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
9465 server-src/amverify.sh server-src/Makefile.am: remove amverify*
9466 * server-src/amdevcheck.pl: tweak @ARGV parsing
9467 * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
9468 installcheck/amcheckdump.pl: significant rewrite to catch more errors
9469 and not loop for ever on some errors.
9471 2008-02-01 Dustin J. Mitchell <dustin@zmanda.com>
9472 * server-src/amgetconf.pl installcheck/amgetconf.pl
9473 common-src/conffile.c: fix and test amgetconf to allow extra
9474 command-line arguments (undocumented), to allow -o options without a
9475 space, and to correctly return empty results for empty build
9478 2008-02-01 Dan Locks <dwlocks@zmanda.com>
9479 * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
9480 for both client and server, removed amplot from client, added missing
9481 directory %{SYSCONFDIR}/amanda
9483 2008-01-29 Dan Locks <dwlocks@zmanda.com>
9484 * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
9485 where amanda/amandates is concerned. also added %{LOCALSTATEDIR} to
9488 2008-01-29 Dan Locks <dwlocks@zmanda.com>
9489 * man/xml-source/* added http://wiki.zmanda.com to the "see also"
9492 2008-01-29 Jean-Louis Martineau <martineau@zmanda.com>
9493 * client-src/sendbackup.c: Check for g_options.
9494 * client-src/sendsize.c: Check for g_options.
9495 * client-src/selfcheck.c: Check for g_options.
9496 * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
9498 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
9499 * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
9501 2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
9502 * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
9503 displayunit, and add a unit test to be sure.
9505 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
9506 * server-src/amstatus.pl: handle lowercase displayunit.
9508 2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
9509 * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
9510 for netinet/in.h and in_port_t, and define the latter if
9511 necessary. Thanks to Craig Dewick <cdewick@lios.apana.org.au>
9514 2008-01-28 Paddy Sreenivasan <paddy@zmanda.com>
9515 * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
9518 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
9519 * amandad-src/amandad.c: Send service stderr to amandad debug file,
9520 Wait for service termination and send error message to server.
9522 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
9523 * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
9524 Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
9526 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9527 * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
9528 * server-src/amcheckdump.pl: fix usage message
9530 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9531 * configure.in config/amanda/userid.m4: add --with-single-userid
9533 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9534 * server-src/amfreetapes.sh: remove unused script
9536 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9537 * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
9538 for all amglue files where they are missing from glib headers
9540 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9541 * installcheck/Makefile.am: condition installchecks on the selected
9544 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9545 * installcheck/Makefile.am Makefile.am: distribute
9546 installcheck/Installcheck scripts, make sure enough parameters
9547 are passed along to distcheck for it to succeed, and also clean
9548 up properly after tests are run.
9550 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
9551 * config/amanda/dumpers.m4: eliminate strange warning when
9552 --without-smbclient is given
9554 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
9555 * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
9556 installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
9557 installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
9558 installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
9559 installcheck/Installcheck/Config.pm
9560 installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
9561 installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
9562 accumulated tweaks and updates to installchecks
9564 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
9565 * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
9566 installcheck/Makefile.am: new tests for integer-handling
9567 SWIG support, including an installed module (Amanda::Test) that
9568 is not used except by this test.
9570 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
9571 * installcheck/Amanda_Types.pl
9572 installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
9573 installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
9574 installcheck/Installcheck installcheck/Installcheck/Run.pm
9575 installcheck/Installcheck/Config.pm installcheck/Makefile.am
9576 installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
9577 installcheck/amgetconf.pl: tweaks:
9578 - Move installcheck utilities to the Installcheck::* namespace
9579 - add Installcheck::Run to help with setting up amdump runs, and
9580 running applications in general
9581 - Add complete runs to amdevcheck, amcheckdump
9582 - Return a nonzero exit status from amgetconf when an invalid
9583 configuration parameter is specified.
9585 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
9586 * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
9587 new module (Tapelist) replaces old stub (Tapefile)
9588 * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
9590 * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
9593 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
9594 * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
9595 critical() and warning(), respectively
9596 * server-src/amgetconf.pl server-src/amcheckdump.pl
9597 server-src/amdevcheck.pl: use die()
9598 * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
9599 installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
9602 2008-01-18 Dustin J. Mitchell <dustin@zmanda.com>
9603 * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
9604 server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
9605 Perl, and add the ability to list available build variables.
9606 * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
9607 config/amanda/bsd-security.m4 config/amanda/dumpers.m4
9608 config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
9609 config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
9610 config/amanda/bsdudp-security.m4 config/amanda/compress.m4
9611 config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
9612 of constants for use in Amanda::Constants
9613 * perl/Makefile.am perl/Amanda/Paths.pm.in
9614 perl/Amanda/Constants.pm.in: add new constants
9615 * perl/Amanda/Config.swg: add getconf_byname_strs
9616 * installcheck/amgetconf.pl: check new functionality
9617 * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
9620 2008-01-17 Jean-Louis Martineau <martineau@zmanda.com>
9621 * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
9622 configure.in: Set for release 2.6.1alpha.
9624 2008-01-16 Dustin J. Mitchell <dustin@zmanda.com>
9625 * installcheck/Makefile.am: Require user to specify
9626 CLOBBER_MY_CONFIG=OK when running installchecks
9628 2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
9629 * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
9631 2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
9632 * oldrecover-src/extract_list.c, client-src/sendbackup.c,
9633 client-src/sendsize.c, client-src/selfcheck.c,
9634 recover-src/extract_list.c, server-src/changer.c,
9635 server-src/amflush.c, server-src/driverio.c,
9636 common-src/pipespawn.c: Call safe_fd before exec*.
9638 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
9639 * packaging/rpm/amanda.spec: Remove build_host.
9641 2008-01-15 Dustin J. Mitchell <dustin@zmanda.com>
9642 * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
9643 perl/amglue/integers.swg: fix typos and compiler warnings
9645 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
9646 * packaging/Makefile.am: New file.
9647 * packaging/README: New file.
9648 * packaging/rpm/buildpkg: New file.
9649 * packaging/rpm/amanda.spec: New file.
9651 * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
9652 * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
9653 ${amlibexecdir}/application
9654 * Makefile.am (SUBDIRS): Add packaging.
9655 * amanda.spec: Remove file.
9657 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
9658 * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
9659 * device-src/tape-device.c, device-src/tape-posix.c,
9660 device-src/vfs-device.c: include "util.h"
9661 * device-src/rait-device.c: fix compiler warning.
9663 2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
9664 * perl/amglue/bigint.c: fix the range-checking mechanics for large
9665 integers, since the precompiler seems to get confused by large
9668 2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
9669 * config/amanda/krb5-security.m4: abort configure run if krb5
9670 is requested by libraries aren't found
9672 2008-01-13 Dustin J. Mitchell <dustin@zmanda.com>
9673 * man/xml-source/amanda.conf.5.xml: use × instead of ×
9675 2008-01-11 Paddy Sreenivasan <paddy@zmanda.com>
9676 * device-src/Makefile.am: Don't install queueing.h and device.h
9678 2008-01-11 Dustin J. Mitchell <dustin@zmanda.com>
9679 * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
9681 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
9682 * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
9683 * installcheck/amgetconf.pl: usetimestamps defaults to yes.
9684 * NEWS, ReleaseNotes: Notes about make installcheck.
9686 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
9687 * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
9688 * ReleaseNotes: Ditto.
9690 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
9691 * ReleaseNotes: Update for amanda-2.6.0
9692 * News: Update for amanda-2.6.0
9693 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
9694 * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
9695 * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}