lintian doesn't like orphan packages with uploaders...
[debian/amanda] / ChangeLog
1 2013-01-08  Jean-Louis Martineau <martineau@zmanda.com>
2         * VERSION: 3.3.3
3
4 2013-01-08  Jean-Louis Martineau <martineau@zmanda.com>
5         * ndmp-src/ndmjob_args.c: Handle more than 1000 arguments.
6
7 2013-01-04  Jean-Louis Martineau <martineau@zmanda.com>
8         * perl/Amanda/Taper/Scan.pm (oldest_reusable_volume): Check the
9           labelstr.
10         * installcheck/Amanda_Taper_Scan.pl: Test it.
11
12 2013-01-04  Jean-Louis Martineau <martineau@zmanda.com>
13         * server-src/amrmtape.pl: Do not check the 'log' file.
14
15 2012-12-27  Jean-Louis Martineau <martineau@zmanda.com>
16         * server-src/amrmtape.pl: Add the pid on the temporary filename.
17
18 2012-12-27  Jean-Louis Martineau <martineau@zmanda.com>
19         * common-src/util.c (make_amanda_tmpdir): New function to create the
20           AMANDA_TMPDIR directory.
21         * common-src/util.h (make_amanda_tmpdir): Add prototype.
22         * common-src/debug.c (debug_open): Call make_amanda_tmpdir().
23
24 2012-12-24  Jean-Louis Martineau <martineau@zmanda.com>
25         * server-src/driver.c (tape_action): Do not count free tape space if
26           exceed max-dle-by-volume.
27
28 2012-12-18  Jean-Louis Martineau <martineau@zmanda.com>
29         * NEWS, ReleaseNotes: Changes in 3.3.3
30
31 2012-12-18  Jean-Louis Martineau <martineau@zmanda.com>
32         * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONE/FAILED messages.
33
34 2012-12-13 Dan Locks <dwlocks@zmanda.com>
35         * packaging/common/post_inst_functions.sh: revoke rw permissions for
36           group and other
37         * packaging/common/post_rm_functions.sh: fix function name to match
38           usage.
39         * packaging/common/test_sh_libs.sh: update test.
40
41 2012-12-13  Jean-Louis Martineau <martineau@zmanda.com>
42         * server-src/amrmtape.pl: Die if opening CURINFO for writing fail.
43
44 2012-12-12 Dan Locks <dwlocks@zmanda.com>
45         * packaging/common/post_inst_functions.sh: don't use uuencode -m for
46           solaris 8 compatibility.
47
48 2012-12-11  Jean-Louis Martineau <martineau@zmanda.com>
49         * perl/Amanda/Changer/multi.pm, server-src/amcheck-device.pl: Fix perl
50           warning.
51
52 2012-12-10  Jean-Louis Martineau <martineau@zmanda.com>
53         * server-src/logfile.c (log_rename): Donot abort if the log do not
54           exists.
55
56 2012-12-10  Jean-Louis Martineau <martineau@zmanda.com>
57         * man/xml-source/amanda-devices.7.xml: Typo, s/SWITF/SWIFT/.
58
59 2012-12-10  Jean-Louis Martineau <martineau@zmanda.com>
60         * server-src/amstatus.pl: No src-ip in PORT-DUMP.
61
62 2012-12-10  Jean-Louis Martineau <martineau@zmanda.com>
63         * perl/Amanda/Taper/Scribe.pm: Log FAILED if nothing is written to
64           tape.
65         * server-src/amstatus.pl: Check ntape is defined.
66
67 2012-12-07 Dan Locks <dwlocks@zmanda.com>
68         * packaging/common/post_inst_functions.sh: use amandausers's .gnupg/
69           instead of installing user's, and suppress warnings about
70           permissions.
71
72 2012-12-07 Dan Locks <dwlocks@zmanda.com>
73         * common_z/post_inst_functions.sh: head and tail invocation may only
74           use "-#", not "-n #" for solaris 8 compatibility
75
76 2012-12-07  Jean-Louis Martineau <martineau@zmanda.com>
77         * contrib/convert-zd-mtx-to-robot.sh: set tpchanger instead of
78           tapedev.
79
80 2012-12-07  Jean-Louis Martineau <martineau@zmanda.com>
81         * server-src/driver.c: Fix 32 bits overflow.
82
83 2012-12-06 Dan Locks <dwlocks@zmanda.com>
84         * packaging/common/post_inst_functions.sh: use --passphrase-fd to
85           support older versions of gpg.
86
87 2012-12-06  Jean-Louis Martineau <martineau@zmanda.com>
88         * server-src/amstatus.pl: Parse new PORT-DUMP format
89
90 2012-12-05  Jean-Louis Martineau <martineau@zmanda.com>
91         * server-src/amstatus.pl: Fix exit status.
92         * installcheck/amstatus.pl: Fix for previous patch.
93
94 2012-12-05  Jean-Louis Martineau <martineau@zmanda.com>
95         * server-src/amstatus.pl: Show taping status after dump failure.
96
97 2012-12-05  Jean-Louis Martineau <martineau@zmanda.com>
98         * installcheck/taper.pl: Add check for previous patch.
99
100 2012-12-05  Jean-Louis Martineau <martineau@zmanda.com>
101         * perl/Amanda/Taper/Worker.pm: Do it at the right place.
102
103 2012-12-05  Jean-Louis Martineau <martineau@zmanda.com>
104         * perl/Amanda/Taper/Worker.pm: Use header is_partial to get dump
105           status for FILE-WRITE.
106
107 2012-12-04  Jean-Louis Martineau <martineau@zmanda.com>
108         * client-src/client_util.c: print script output for backup with the
109           "| " prefix.
110
111 2012-12-04  Jean-Louis Martineau <martineau@zmanda.com>
112         * server-src/amvault.pl: Missing return statement.
113
114 2012-12-03 Dan Locks <dwlocks@zmanda.com>
115         * packaging/common/post_inst_functions.sh: add get_random_lines() and
116           use it to generate random passwords
117         * packaging/common/test_sh_libs.sh: test and use get_random_lines(),
118           use static log file name, enforce order on tests using
119           (get_random_lines, create_gnupg, create_ampassphrase, and
120           create_amkey.
121         * packaging/deb/postinst.src, packaging/rpm/amanda.spec.src,
122           packaging/sun-pkg/client/postinstall.src: use command -v instead of
123           unportable which.
124
125 2012-12-03  Jean-Louis Martineau <martineau@zmanda.com>
126         * server-src/logfile.c (get_logline): Parse each line separately.
127
128 2012-11-28  Jean-Louis Martineau <martineau@zmanda.com>
129         * device-src/s3.c: Force new connection after RequestTimeout.
130
131 2012-11-24 Dan Locks <dwlocks@zmanda.com>
132         * packaging/rpm/amanda.spec.src: fix comparison operator
133
134 2012-11-23  Jean-Louis Martineau <martineau@zmanda.com>
135         * installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
136           installcheck/Installcheck/Config.pm, perl/Amanda/Report/human.pm,
137           perl/Amanda/Taper/Worker.pm, server-src/amtape.pl: Fix perl warning.
138
139 2012-11-23 Dan Locks <dwlocks@zmanda.com>
140         * packaging/rpm/amanda.spec.src: fix awk SuSE detection syntax
141
142 2012-11-23 Dan Locks <dwlocks@zmanda.com>
143         * common_z/post_inst_functions.sh: add --no-use-agent option to gpg
144           invocation to avoid problems with uninitialized gpg keyrings.
145
146 2012-11-23  Jean-Louis Martineau <martineau@zmanda.com>
147         * device-src/null-device.c: Return DEVICE_STATUS_VOLUME_UNLABELED |
148           DEVICE_STATUS_VOLUME_ERROR on open for reading.
149         * installcheck/amdevcheck.pl: Fix.
150
151 2012-11-22  Jean-Louis Martineau <martineau@zmanda.com>
152         * config/amanda/flags.m4: Swig is always compiled with
153           -Wno-deprecated-declarations
154         * common-src/amflock.h: s/file_lock_/file_lock/
155         * device-src/directtcp-connection.h:
156           s/DirectTCPConnection_/DirectTCPConnection/
157         * ndmp-src/ndmpconnobj.h: s/NDMPConnection_/NDMPConnection/
158         * server-src/cmdline.h: s/dumpspec_s/dumpspec_t/
159
160 2012-11-22  Jean-Louis Martineau <martineau@zmanda.com>
161         * perl/Amanda/Cmdline.swg: Undo previous patch.
162
163 2012-11-22  Jean-Louis Martineau <martineau@zmanda.com>
164         * config/amanda/libs.m4: remove deprecated warning for glib > 2.34.0
165         * perl/Amanda/Cmdline.swg: s/dumpspec_t/dumpspec_s/
166
167 2012-11-22  Jean-Louis Martineau <martineau@zmanda.com>
168         * perl/Amanda/Changer/robot.pm: return 'all slots are empty'.
169         * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on error.
170
171 2012-11-22  Jean-Louis Martineau <martineau@zmanda.com>
172         * perl/Amanda/Changer/robot.pm: Keep a different current_slot for each
173           config.
174
175 2012-11-21  Jean-Louis Martineau <martineau@zmanda.com>
176         * common-src/bsd-security.c (stream_read_callback): Do not cancel the
177           event in case of successful read.
178         * common-src/security-util.c: Typo.
179
180 2012-11-15  Jean-Louis Martineau <martineau@zmanda.com>
181         * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
182           perl/Amanda/Changer/multi.pm,
183           perl/Amanda/Changer/robot.pm: Add LOCK-TIMEOUT property.
184         * perl/Amanda/Changer.pm: Handle lock-timeout property.
185         * man/xml-source/amanda-changers.7.xml: Document new LOCK-TIMEOUT
186           properties.
187
188 2012-11-14  Jean-Louis Martineau <martineau@zmanda.com>
189         * application-src/amsamba.pl: Password can be encoded.
190
191 2012-11-14  Jean-Louis Martineau <martineau@zmanda.com>
192         * perl/Amanda/Report/human.pm: Do not print failure for config
193           setting.
194         * perl/Amanda/Taper/Worker.pm: Send TAPE-CONFIG.
195         * server-src/amflush.c: Do not add L_DISK if nothing to flush.
196         * server-src/amstatus.pl: Parse TAPE-CONFIG and print appropriate
197           message.
198         * server-src/driver.c: Parse TAPE-CONFIG.
199         * installcheck/taper.pl: Check new TAPE-CONFIG in protocol.
200         * installcheck/catalogs/amflush.cat: Fix for new format.
201
202 2012-11-05  Jean-Louis Martineau <martineau@zmanda.com>
203         * man/xml-source/amanda-devices.7.xml: Add 'OAUTH2' and 'CASTOR' for
204           value of the storage-api property.
205
206 2012-10-25  Jean-Louis Martineau <martineau@zmanda.com>
207         * common-src/event.c: Disable -Wmissing-field-initializers when using
208           G_STATIC_MUTEX_INIT because of warning with glib-2.32.
209
210 2012-10-25  Jean-Louis Martineau <martineau@zmanda.com>
211         * man/xml-source/amfetchdump.8.xml: Document --extract, --directory,
212           --data-path and --application-property.
213
214 2012-10-25  Jean-Louis Martineau <martineau@zmanda.com>
215         * common-src/event.c: Use a GStaticMutex.
216
217 2012-10-25  Jean-Louis Martineau <martineau@zmanda.com>
218         * ndmp-src/ndmpconnobj.c: Use a GStaticMutex.
219
220 2012-10-24  Jean-Louis Martineau <martineau@zmanda.com>
221         * installcheck/Amanda_Device.pl: Fix count.
222
223 2012-10-23  Jean-Louis Martineau <martineau@zmanda.com>
224         * ndmp-src/ndmpconnobj.c: Use event_create and event_activate.
225           Create static notify_data_t.
226
227 2012-10-23  Jean-Louis Martineau <martineau@zmanda.com>
228         * common-src/event.c (event_create, event_activate): New function, it
229           split event_register in two.
230         * common-src/event.h (event_create, event_activate): New prototype.
231
232 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
233         * device-src/device.c (device_accept, device_connect,
234           device_write_from_connection, device_read_to_connection): They take
235           (int *, GMutex *, GCond  *) new arguments to be able to interupt
236           them.
237         * device-src/device.h: Change prototype.
238         * device-src/ndmp-device.c: Implement new functionnality.
239         * device-src/xfer-dest-taper-directtcp.c,
240           device-src/xfer-source-recovery.c: Use the new API.
241         * installcheck/Amanda_Device.pl: Remove directtcp test.
242         * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond):
243           Allow to be cancelled.
244         * ndmp-src/ndmpconnobj.h: Change prototype.
245         * perl/Amanda/Device.swg: Remove accept, connect,
246           write_from_connection and read-to_connection.
247
248 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
249         * perl/Amanda/Taper/Scribe.pm (abort_setup): New method.
250         * perl/Amanda/Taper/Scribe.pm (_dump_done): Return if $dump_cb is not
251           set.
252         * perl/Amanda/Taper/Worker.pm: Call abort_setup if setup failed.
253
254 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
255         * server-src/amfetchdump.pl: typo, remove '.' in argv.
256
257 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
258         * server-src/dumper.c (do_dump): Make the header file only
259           HEADER_DONE.
260
261 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
262         * perl/Amanda/Taper/Controller.pm: Reverse taper/driver in log.
263
264 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
265         * ndmp-src/ndmjob_args.c (handle_long_option): Close the fd.
266
267 2012-10-22  Jean-Louis Martineau <martineau@zmanda.com>
268         * common-src/event.c: Make the code thread safe.
269
270 2012-10-19  Jean-Louis Martineau <martineau@zmanda.com>
271         * common-src/match.c: Handle '=' as first characters of expression.
272         * man/xml-source/amanda-match.7.xml: Document new '=' as first
273           character of expression.
274         * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
275         * man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
276         * man/xml-source/amflush.8.xml, man/xml-source/amrestore.8.xml,
277         * man/xml-source/amvault.8.xml: Document new '--exact-match' argument.
278         * perl/Amanda/Cmdline.swg: Add CMDLINE_EXACT_MATCH
279         * server-src/diskfile.c (match_disklist, match_dumpfile):
280           New exact_match argument.
281         * server-src/diskfile.h (match_disklist, match_dumpfile):
282           Change prototype.
283         * server-src/cmdline.c (cmdline_parse_dumpspecs): CMDLINE_EXACT_MATCH.
284         * server-src/cmdline.h: New CMDLINE_EXACT_MATCH.
285         * server-src/amadmin.c, server-src/amcheck.c,
286           server-src/amdump.pl, server-src/amfetchdump.pl,
287           server-src/amflush.c, server-src/amrestore.pl,
288           server-src/amvault.pl, server-src/planner.c: Add --exact-match
289           argument.
290         * installcheck/Amanda_Cmdline.pl: Check '='.
291         * installcheck/amadmin.pl: Check --exact-match and '='.
292
293 2012-10-19  Jean-Louis Martineau <martineau@zmanda.com>
294         * server-src/amfetchdump.pl: Fix for compressed dump.
295
296 2012-10-19  Jean-Louis Martineau <martineau@zmanda.com>
297         * server-src/amfetchdump.pl: Add [--extract --directory directory
298                         [--data-path (amanda|directtcp)]
299                         [--application-property='NAME=VALUE']*]
300         * man/xml-source/amfetchdump.8.xml: Document them.
301         * perl/Amanda/Extract.pm: New utilities torun application from perl.
302         * perl/Makefile.am: Add Amanda/Extract.pm
303         * perl/Amanda/Recovery/Clerk.pm: Small fix.
304
305 2012-10-18  Jean-Louis Martineau <martineau@zmanda.com>
306         * All files: Change Zmanda licensing to GPLv2+ and LGPLv2+, Add Zmanda
307           copyright to files modified by Zmanda.
308
309 2012-10-15  Jean-Louis Martineau <martineau@zmanda.com>
310         * common-src/conffile.c: New REPORT-USE-MEDIA and REPORT-NEXT-MEDIA.
311         * common-src/conffile.h: And CNF_REPORT_USE_MEDIA and
312           CNF_REPORT_NEXT_MEDIA
313         * man/xml-source/amanda.conf.5.xml: Document REPORT-USE-MEDIA and
314           REPORT-NEXT-MEDIA.
315         * perl/Amanda/Config.swg: Add CNF_REPORT_USE_MEDIA and
316           CNF_REPORT_NEXT_MEDIA.
317         * perl/Amanda/Report/human.pm: Use them.
318
319 2012-10-12  Jean-Louis Martineau <martineau@zmanda.com>
320         * server-src/amstatus.pl (showtime): Use calandar days.
321
322 2012-10-12  Jean-Louis Martineau <martineau@zmanda.com>
323         * perl/Amanda/Taper/Worker.pm: Add data_path to %splitting_args.
324         * perl/Amanda/Taper/Scribe.pm: Correctly set part_* for DIRECTTCP
325           data_path.
326
327 2012-10-11  Jean-Louis Martineau <martineau@zmanda.com>
328         * amandad-src/amandad.c: Add a timeout.
329         * common-src/event.c: List all event in debug mode.
330         * common-src/security-util.c: Call the accept_fn on connection close.
331
332 2012-10-11  Jean-Louis Martineau <martineau@zmanda.com>
333         * common-src/amcryptsimple.pl: Add '-z 0' to gpg argument when
334           encrypting.
335
336 2012-10-09  Jean-Louis Martineau <martineau@zmanda.com>
337         * oldrecover-src/amrecover.c: Solaris do not have sa_restorer.
338
339 2012-10-09  Jean-Louis Martineau <martineau@zmanda.com>
340         * amar-src/amarchiver.c, client-src/selfcheck.c,
341           common-src/bsd-security.c, common-src/util.c,
342           device-src/device.c, device-src/ndmp-device.c,
343           common-src/util.c, device-src/tape-device.c,
344           oldrecover-src/amrecover.c, recover-src/extract_list.c,
345           recover-src/set_commands.c, server-src/diskfile.c,
346           server-src/driver.c: Fix bug found by Coverity.
347
348 2012-10-09  Jean-Louis Martineau <martineau@zmanda.com>
349         * example/Makefile.am: Build amanda-CAStor.conf from
350           amanda-CAStor.conf.in
351         * example/template.d/amanda-CAStor.conf: Remove
352         * example/template.d/amanda-CAStor.conf.in: New file.
353
354 2012-10-05  Jean-Louis Martineau <martineau@zmanda.com>
355         * common-src/security-util.c: Change the security_stream_read callback
356           to not release the event if the read succeed.
357         * amandad-src/amandad.c, common-src/amservice.c,
358           recover-src/extract_list.c, server-src/dumper.c: Do not restart
359           security_stream_read if the read succeeded.
360         * server-src/dumper.c: Handle timeout without starting too much event.
361
362 2012-10-05  Jean-Louis Martineau <martineau@zmanda.com>
363         * server-src/driver.c (tape_action): Fix handling of
364           taper-parallel-write.
365         * server-src/driver.c: Go in degraded mode only after all taper failed.
366
367 2012-10-05  Jean-Louis Martineau <martineau@zmanda.com>
368         * server-src/amstatus.pl: Fix for TAKE-SCRIBE-FROM command, handle
369           multiple taper status files.
370
371 2012-10-02  Jean-Louis Martineau <martineau@zmanda.com>
372         * server-src/amstatus.pl: Fix for (eof) from dumper/chunker or taper.
373
374 2012-09-27  Jean-Louis Martineau <martineau@zmanda.com>
375         * device-src/s3-device.c: Fix reps and reps_bucket name.
376
377 2012-09-26  Jean-Louis Martineau <martineau@zmanda.com>
378         * common-src/conffile.c (get_multiplier): Fix for for CONF_END.
379
380 2012-09-25  Jean-Louis Martineau <martineau@zmanda.com>
381         * device-src/xfer-dest-taper-splitter.c: Do not increase partnum if
382           the size is 0.
383         * installcheck/Amanda_Xfer.pl: Fix partnum check.
384         * perl/Amanda/Taper/Scribe.pm: Improve debugging.
385
386 2012-09-25  Jean-Louis Martineau <martineau@zmanda.com>
387         * perl/Amanda/Taper/Scan/lexical.pm,
388           perl/Amanda/Taper/Scan/oldest.pm: Fix perl warning.
389
390 2012-09-24  Jean-Louis Martineau <martineau@zmanda.com>
391         * perl/Amanda/Changer/robot.pm: Fix for header not read.
392
393 2012-09-24  Jean-Louis Martineau <martineau@zmanda.com>
394         * man/xml-source/amanda.conf.5.xml (part-size): Improve documentation.
395
396 2012-09-24  Jean-Louis Martineau <martineau@zmanda.com>
397         * perl/Amanda/Taper/Scribe.pm (device_started): Can get non-numeric
398           result.
399
400 2012-09-21  Jean-Louis Martineau <martineau@zmanda.com>
401         * man/xml-source/tapelist.5.xml: Add BLOCKSIZE.
402
403 2012-09-21  Jean-Louis Martineau <martineau@zmanda.com>
404         * perl/Amanda/Tapelist.swg: die() if tapelist is not valid.
405         * server-src/tapefile.c: exit if tapelist is not valid.
406         * installcheck/Amanda_Tapelist.pl: Add more check.
407         * perl/Amanda/Changer.pm: Add $err->device
408         * perl/Amanda/Changer/robot.pm: Return error if barcode do not match
409           with tapelist.
410         * server-src/amtape.pl (inventory): Print if barcode do not match.
411
412 2012-09-21  Jean-Louis Martineau <martineau@zmanda.com>
413         * installcheck/Makefile.am (catalogs): Add
414           catalogs/taper-parallel-write.cat.
415
416 2012-09-21  Jean-Louis Martineau <martineau@zmanda.com>
417         * device-src/s3.c: Fix date_sync_regex.
418
419 2012-09-20  Jean-Louis Martineau <martineau@zmanda.com>
420         * server-src/amstatus.pl: Fix for taper-parallel-write > 1.
421         * installcheck/amstatus.pl: Checkit.
422         * installcheck/catalogs/taper-parallel-write.cat: New catalog.
423
424 2012-09-19  Jean-Louis Martineau <martineau@zmanda.com>
425         * device-src/s3.c: Castor require libcurl 7.19.1.
426
427 2012-09-18  Jean-Louis Martineau <martineau@zmanda.com>
428         * device-src/s3-device.c, device-src/s3.c: Castor require libcurl
429           7.19.1.
430
431 2012-09-17  Jean-Louis Martineau <martineau@zmanda.com>
432         * device-src/s3-device.c, device-src/s3.c
433           device-src/s3.h: Add CASTOR S3_API.
434         * example/template.d/amanda-CAStor.conf: Example
435           config for castor.
436
437 2012-09-17  Jean-Louis Martineau <martineau@zmanda.com>
438         * application-src/amgtar.c: Set gnutar_listdir after the config for
439           the backup set is read.
440
441 2012-09-17  Jean-Louis Martineau <martineau@zmanda.com>
442         * common-src/amxml.c (amstart_element): Set data_user->dle->property.
443
444 2012-09-05  Jean-Louis Martineau <martineau@zmanda.com>
445         * server-src/amcheckdump.pl: s/correclty/correctly/g
446
447 2012-08-24  Jean-Louis Martineau <martineau@zmanda.com>
448         * perl/Amanda/Changer/robot.pm: Correctly set f_type and device_error
449           in state.
450         * perl/Amanda/ScanInventory.pm (volume_is_labelable): Set labelstr for
451           does_not_match_labelstr.
452         * perl/Amanda/Taper/Scan/lexical.pm,
453           perl/Amanda/Taper/Scan/oldest.pm (analyze): Check label match
454           labelstr.
455         * server-src/amcheck-device.pl (_user_msg_fn): print message when res
456           is not set.
457         * server-src/amtape.pl: Fix for device returning empty error.
458         * installcheck/Amanda_Changer_ndmp.pl,
459           installcheck/Amanda_Changer_robot.pl: Fix for f_type set.
460
461 2012-08-24  Jean-Louis Martineau <martineau@zmanda.com>
462         * installcheck/gnutar.pl: fc17 gnutar is like fc15.
463
464 2012-08-24  Jean-Louis Martineau <martineau@zmanda.com>
465         * installcheck/Amanda_Device.pl: Print error if nc, nc6 or netcat is
466           not installed.
467
468 2012-08-23  Jean-Louis Martineau <martineau@zmanda.com>
469         * perl/Amanda/Changer/disk.pm: Use the changerfile for the statefile.
470
471 2012-08-22  Jean-Louis Martineau <martineau@zmanda.com>
472         * server-src/amdump.pl: Create amdump.<timestamp>, amdump and amdump.1
473           are maintained as symlink.
474
475 2012-08-21  Jean-Louis Martineau <martineau@zmanda.com>
476         * server-src/planner.c (handle_result): Correctly log some error.
477
478 2012-07-24  Jean-Louis Martineau <martineau@zmanda.com>
479         * device-src/s3-device.c: New REUSE-CONNECTION property.
480         * device-src/s3.c: Do not reuse connection if REUSE-CONNECTION is
481           FALSE.
482         * device-src/s3.h (s3_open): New reuse_connection argument.
483         * man/xml-source/amanda-devices.7.xml: Document REUSE-CONNECTION
484           property.
485         * ReleaseNotes, NEWS: Add REUSE-CONNECTION.
486
487 2012-07-24  Jean-Louis Martineau <martineau@zmanda.com>
488         * VERSION: 3.3.2
489
490 2012-07-24  Jean-Louis Martineau <martineau@zmanda.com>
491         * device-src/s3-device.c: Fix a big memory leak.
492
493 2012-07-23  Jean-Louis Martineau <martineau@zmanda.com>
494         * man/xml-source/amanda.conf.5.xml: Typo.
495
496 2012-07-23  Jean-Louis Martineau <martineau@zmanda.com>
497         * ReleaseNotes, NEWS: Add new features in 3.3.2.
498
499 2012-07-20 Dan Locks <dwlocks@zmanda.com>
500         * perl/Amanda/Feature.pod, perl/Amanda/MainLoop.swg,
501           perl/Amanda/Script.pm, perl/Amanda/NDMP.pod,
502           perl/Amanda/Logfile.swg, perl/Amanda/Curinfo.pm,
503           perl/Amanda/Changer.pm, perl/Amanda/Tests.pod,
504           perl/Amanda/Application.pod, perl/Amanda/Debug.swg,
505           perl/Amanda/Disklist.swg, perl/Amanda/Report.pm,
506           perl/Amanda/Config.pod, perl/Amanda/Header.swg,
507           perl/Amanda/Feature.swg, perl/Amanda/BigIntCompat.pm,
508           perl/Amanda/NDMP.swg, perl/Amanda/Recovery/Scan.pm,
509           perl/Amanda/Recovery/Planner.pm, perl/Amanda/Recovery/Clerk.pm,
510           perl/Amanda/Util.pod, perl/Amanda/Tests.swg,
511           perl/Amanda/Archive.pod, perl/Amanda/Application.swg,
512           perl/Amanda/Config.swg, perl/Amanda/Curinfo/Info.pm,
513           perl/Amanda/Tapelist.pod, perl/Amanda/Changer/disk.pm,
514           perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/null.pm,
515           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
516           perl/Amanda/Changer/single.pm, perl/Amanda/Changer/compat.pm,
517           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/aggregate.pm,
518           perl/Amanda/Report/human.pm, perl/Amanda/Report/postscript.pm,
519           perl/Amanda/Report/xml.pm, perl/Amanda/IPC/Binary.swg,
520           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/IPC/Binary.pod,
521           perl/Amanda/XferServer.pod, perl/Amanda/Util.swg,
522           perl/Amanda/ScanInventory.pm, perl/Amanda/Script_App.pm,
523           perl/Amanda/Device.pod, perl/Amanda/Archive.swg,
524           perl/Amanda/Tapelist.swg, perl/Amanda/Xfer.pod,
525           perl/Amanda/DB/Catalog.pm, perl/Amanda/Process.pm,
526           perl/Amanda/XferServer.swg, perl/Amanda/Constants.pm.in,
527           perl/Amanda/Cmdline.pod, perl/Amanda/Device.swg,
528           perl/Amanda/Interactivity/stdin.pm,
529           perl/Amanda/Interactivity/email.pm,
530           perl/Amanda/Interactivity/tty_email.pm,
531           perl/Amanda/Interactivity/tty.pm, perl/Amanda/MainLoop.pod,
532           perl/Amanda/Holding.pm, perl/Amanda/Paths.pm.in,
533           perl/Amanda/Logfile.pod, perl/Amanda/Application/Zfs.pm,
534           perl/Amanda/Xfer.swg, perl/Amanda/Debug.pod,
535           perl/Amanda/Disklist.pod, perl/Amanda/Interactivity.pm,
536           perl/Amanda/Header.pod, perl/Amanda/Cmdline.swg,
537           perl/Amanda/ClientService.pm, perl/Amanda/Taper/Protocol.pm,
538           perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Scan.pm,
539           perl/Amanda/Taper/Scribe.pm, perl/Amanda/Taper/Scan/oldest.pm,
540           perl/Amanda/Taper/Scan/traditional.pm,
541           perl/Amanda/Taper/Scan/lexical.pm,
542           perl/Amanda/Taper/Worker.pm, perl/amglue/objwrap.c,
543           perl/amglue/bigint.c, perl/amglue/amglue.h,
544           perl/amglue/dumpspecs.swg, perl/amglue/exports.swg,
545           perl/amglue/amglue.swg, perl/amglue/constants.swg,
546           perl/amglue/glib.swg, perl/amglue/filehandles.swg,
547           perl/amglue/integers.swg, perl/amglue/xferwrap.c,
548           perl/amglue/directtcp.swg, perl/amglue/source.c,
549           perl/amglue/ghashtable.c, perl/make_html.pl,
550           installcheck/amoverview.pl, installcheck/Amanda_Holding.pl,
551           installcheck/Amanda_Disklist.pl,
552           installcheck/Amanda_Taper_Scan_oldest.pl,
553           installcheck/amlabel.pl, installcheck/Amanda_NDMP.pl,
554           installcheck/amflush.pl, installcheck/Amanda_ClientService.pl,
555           installcheck/run-ndmp.pl, installcheck/amstatus.pl,
556           installcheck/Amanda_Taper_Scribe.pl,
557           installcheck/Amanda_Recovery_Scan.pl,
558           installcheck/Amanda_Curinfo.pl, installcheck/Amanda_Changer.pl,
559           installcheck/Amanda_Changer_single.pl,
560           installcheck/Amanda_Taper_Scan_traditional.pl,
561           installcheck/bigint.pl, installcheck/Amanda_Cmdline.pl,
562           installcheck/Amanda_Changer_robot.pl, installcheck/amservice.pl,
563           installcheck/Amanda_Recovery_Clerk.pl,
564           installcheck/Amanda_Taper_Scan_lexical.pl,
565           installcheck/amarchiver.pl, installcheck/amrecover.pl,
566           installcheck/Amanda_Changer_ndmp.pl,
567           installcheck/Installcheck/ClientService.pm,
568           installcheck/Installcheck/Application.pm,
569           installcheck/Installcheck/Run.pm,
570           installcheck/Installcheck/Config.pm,
571           installcheck/Installcheck/Changer.pm,
572           installcheck/Installcheck/Dumpcache.pm,
573           installcheck/Installcheck/Mock.pm,
574           installcheck/Installcheck/Catalogs.pm, installcheck/example.pl,
575           installcheck/gnutar.pl, installcheck/amrestore.pl,
576           installcheck/amgetconf.pl, installcheck/pp-scripts.pl,
577           installcheck/Amanda_IPC_LineProtocol.pl, installcheck/amtape.pl,
578           installcheck/amraw.pl, installcheck/amserverconfig.pl,
579           installcheck/amgtar.pl, installcheck/taper.pl,
580           installcheck/Amanda_Util.pl,
581           installcheck/Amanda_Recovery_Planner.pl,
582           installcheck/mock/mail.pl, installcheck/mock/mtx.pl,
583           installcheck/mock/lpr.pl, installcheck/Amanda_IPC_Binary.pl,
584           installcheck/=setupcache.pl, installcheck/amcheckdump.pl,
585           installcheck/amdump_client.pl, installcheck/Amanda_Tapelist.pl,
586           installcheck/Amanda_Debug.pl, installcheck/Amanda_Changer_rait.pl,
587           installcheck/amcheck-device.pl, installcheck/Amanda_Header.pl,
588           installcheck/amdevcheck.pl, installcheck/Amanda_Device.pl,
589           installcheck/Amanda_Changer_null.pl, installcheck/ampgsql.pl,
590           installcheck/Installcheck.pm, installcheck/amadmin.pl,
591           installcheck/amvault.pl, installcheck/Amanda_Changer_compat.pl,
592           installcheck/Amanda_Report.pl, installcheck/amidxtaped.pl,
593           installcheck/mock_mtx.pl, installcheck/Amanda_Changer_disk.pl,
594           installcheck/Amanda_Logfile.pl,
595           installcheck/Amanda_Changer_multi.pl,
596           installcheck/amdump.pl, installcheck/catalogs/bigdb.cat,
597           installcheck/amreport.pl, installcheck/amcheck.pl,
598           installcheck/Amanda_Feature.pl, installcheck/amfetchdump.pl,
599           installcheck/chunker.pl, installcheck/Amanda_Xfer.pl,
600           installcheck/amrmtape.pl, installcheck/Amanda_Config.pl,
601           installcheck/amtapetype.pl, installcheck/noop.pl,
602           installcheck/Amanda_Config_FoldingHash.pl,
603           installcheck/Amanda_Process.pl,
604           installcheck/Amanda_MainLoop.pl, installcheck/Amanda_DB_Catalog.pl,
605           installcheck/Amanda_Archive.pl, amar-src/amar.c,
606           amar-src/amarchiver.c, amar-src/amar.h,
607           config/automake/scripts.am, config/automake/vars.am,
608           config/macro-archive/docbook-xslt.m4,
609           config/macro-archive/docbook-dtd.m4,
610           config/macro-archive/docbook-xslt-min.m4,
611           config/macro-archive/xsltproc.m4,
612           common-src/directtcp.h, common-src/amgetconf.pl,
613           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
614           common-src/glib-util.c, common-src/glib-util.h,
615           common-src/ipc-binary.c, common-src/event-test.c,
616           common-src/ipc-binary.h, common-src/match-test.c,
617           common-src/amsemaphore-test.c, common-src/simpleprng.c,
618           common-src/simpleprng.h, common-src/amsemaphore.c,
619           common-src/quoting-test.c, common-src/fileheader-test.c,
620           common-src/amsemaphore.h, common-src/amcryptsimple.pl,
621           common-src/amaespipe.sh, common-src/testutils.c,
622           common-src/match.h, common-src/testutils.h,
623           common-src/amgpgcrypt.pl, application-src/script-email.pl,
624           application-src/amsuntar.pl, application-src/amzfs-snapshot.pl,
625           application-src/amlog-script.pl, application-src/amsamba.pl,
626           application-src/ampgsql.pl, application-src/amraw.pl,
627           application-src/amzfs-sendrecv.pl, contrib/amreport.rnc,
628           client-src/amdump_client.pl, ndmp-src/ndmpconnobj.c,
629           ndmp-src/ndmpconnobj.h, device-src/xfer-device.h,
630           device-src/s3-device.c, device-src/property.c,
631           device-src/s3.c, device-src/property.h,
632           device-src/xfer-dest-taper-directtcp.c, device-src/s3.h,
633           device-src/rait-device.c, device-src/device.c,
634           device-src/amtapetype.pl, device-src/device.h,
635           device-src/null-device.c, device-src/xfer-dest-taper.c,
636           device-src/directtcp-connection.c,
637           device-src/xfer-dest-taper-splitter.c,
638           device-src/xfer-dest-taper.h, device-src/amdevcheck.pl,
639           device-src/directtcp-connection.h, device-src/tape-device.c,
640           device-src/ndmp-device.c, device-src/vfs-device.c,
641           device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-device.c,
642           device-src/xfer-source-recovery.c, device-src/xfer-source-device.c,
643           device-src/s3-util.c, device-src/vfs-device.h,
644           device-src/s3-util.h, packaging/rpm/amanda.spec.src,
645           xfer-src/xfer-element.h, xfer-src/filter-process.c,
646           xfer-src/xfer.c, xfer-src/dest-directtcp-connect.c,
647           xfer-src/dest-buffer.c, xfer-src/source-directtcp-connect.c,
648           xfer-src/dest-null.c, xfer-src/xfer.h,
649           xfer-src/dest-directtcp-listen.c, xfer-src/source-pattern.c,
650           xfer-src/source-directtcp-listen.c, xfer-src/source-random.c,
651           xfer-src/xmsg.c, xfer-src/xfer-test.c,
652           xfer-src/xmsg.h, xfer-src/element-glue.c,
653           xfer-src/dest-fd.c, xfer-src/amxfer.h,
654           xfer-src/source-fd.c, xfer-src/element-glue.h,
655           xfer-src/filter-xor.c, xfer-src/xfer-element.c,
656           server-src/amcheckdump.pl, server-src/amoverview.pl,
657           server-src/amdumpd.pl, server-src/amcheck-device.pl,
658           server-src/amlogroll.pl, server-src/xfer-source-holding.c,
659           server-src/amlabel.pl, server-src/amvault.pl,
660           server-src/amcleanupdisk.pl, server-src/amidxtaped.pl,
661           server-src/cmdline.c, server-src/amdump.pl,
662           server-src/xfer-server.h, server-src/cmdline.h,
663           server-src/amreport.pl, server-src/amfetchdump.pl,
664           server-src/amrestore.pl, server-src/amcleanup.pl,
665           server-src/amaddclient.pl, server-src/amrmtape.pl,
666           server-src/amtape.pl, server-src/amserverconfig.pl,
667           server-src/taper.pl: update copyright dates
668
669 2012-07-20  Jean-Louis Martineau <martineau@zmanda.com>
670         * common-src/timestamp.c (get_time_from_timestamp): Initialize to 0.
671
672 2012-07-19  Jean-Louis Martineau <martineau@zmanda.com>
673         Patch by crocket
674         * perl/Makefile.am: Fix cygwin build.
675
676 2012-07-18  Jean-Louis Martineau <martineau@zmanda.com>
677         * device-src/s3.c: Parse application/json reply from cloudena.
678
679 2012-07-18  Jean-Louis Martineau <martineau@zmanda.com>
680         * installcheck/Amanda_IPC_LineProtocol.pl: Add synchonization to fix
681           race.
682
683 2012-07-17  Jean-Louis Martineau <martineau@zmanda.com>
684         * server-src/amcheckdump.pl: Wait for all filters to terminate before
685           going to next image.  Do not use '--ignore-zeros' for SMBCLIENT
686           backup.  Pass the dump size to $xfer->start().
687         * server-src/amfetchdump.pl: Wait for all filters to terminate before
688           going to next image.
689
690 2012-07-16  Dan Locks <dwlocks@zmanda.com>
691         * packaging/sun-pkg/buildpkg:
692         * packaging/sun-pkg/client/postremove.src,
693           packaging/sun-pkg/server/postremove.src: remove redundant usage of
694           basedir.
695         * packaging/sun-pkg/client/postinstall.src,
696           packaging/sun-pkg/server/postinstall.src: same as above, plus fix
697           case statement.
698         * packaging/sun-pkg/server/preinstall.src,
699           packaging/sun-pkg/client/preinstall.src: remove redundant basedir,
700           use new check_user_* functions.
701
702 2012-07-16  Dan Locks <dwlocks@zmanda.com>
703         * packaging/rpm/amanda.spec.src: refactor to use common functions
704         * packaging/rpm/buildpkg: check for ./configure, and exit if
705           substitute.pl fails.
706
707 2012-07-16  Dan Locks <dwlocks@zmanda.com>
708         * packaging/deb/rules: use FULL_VERSION file to fill AMVER var, use
709         * concatenation trick for postinst, rm trailing whitespace
710         * packaging/deb/buildpkg: process postinst.src postrm.src preinst.src with substitute.pl
711         * packaging/deb/postinst.src: refactor to use common functions.
712         * packaging/deb/amanda-backup-server.postrm,
713           packaging/deb/amanda-backup-client.postrm,
714           packaging/deb/amanda-backup-client.postinst,
715           packaging/deb/amanda-backup-server.postinst: delete everything, add
716           variables pkg_type and other_pkg_type.
717         * packaging/deb/preinst: moved to...
718         * packaging/deb/preinst.src: here. refactor using common functions
719         * packaging/deb/postrm: moved to...
720         * packaging/deb/postrm.src: here. refactor using common functions.
721
722 2012-07-16  Dan Locks <dwlocks@zmanda.com>
723         * packaging/common/common_functions.sh: remove trailing whitespace,
724           remove redundant usage of ${BASEDIR} in solaris functions, avoid
725           potentially non-portable test invocations.
726         * packaging/common/test_sh_libs.sh: fix some log messages, redirect
727           some unused output, split check_user_* tests into shorter testsr,
728           add tests for supplemental groups, fix running single test.
729         * packaging/common/mock_utils.sh: change id to error if any flags are
730           given, add mock for groups.
731         * packaging/common/post_inst_functions.sh: remove redundant leading /
732         * packaging/common/post_rm_functions.sh: rm trailing whitespace.
733         * packaging/common/pre_inst_functions.sh: use variable for user
734           shell, clarify log messages regarding user accounts, split
735           check_user into separate functions, mostly to ease testing, add
736           check_user_supplemental_group.
737
738 2012-07-12  Jean-Louis Martineau <martineau@zmanda.com>
739         * device-src/s3-device.c: Do not free ca_info if use_ssl is not set.
740         * device-src/s3.c:: Set CURLOPT_CAINFO even if use_ssl is not set.
741
742 2012-07-10  Jean-Louis Martineau <martineau@zmanda.com>
743         * server-src/amstatus.pl: Print 'dump done' if the dump succeeded.
744
745 2012-07-09  Jean-Louis Martineau <martineau@zmanda.com>
746         * common-src/conffile.c (val_t_display_strs): Add a print_unit argument.
747         * common-src/conffile.h (val_t_display_strs): Change prototype.
748         * perl/Amanda/Config.swg (getconf_byname_strs): Use val_t_display_strs
749           with a FALSE print_unit.
750
751 2012-07-09  Jean-Louis Martineau <martineau@zmanda.com>
752         * common-src/conffile.c: Correctly parse byte suffix.
753         * common-src/conffile.h: Add confunit_t.
754         * installcheck/amgetconf.pl: Fix for byte parsing.
755
756 2012-07-09  Jean-Louis Martineau <martineau@zmanda.com>
757         * server-src/driver.c (tape_action): Fix for flush_*.
758           Change debug level.
759
760 2012-06-29  Jean-Louis Martineau <martineau@zmanda.com>
761         * perl/Amanda/Taper/Scan/traditional.pm,
762           perl/Amanda/Taper/Scribe.pm: Correctly report error.
763
764 2012-06-29  Jean-Louis Martineau <martineau@zmanda.com>
765         * common-src/glib-util.c: Add initialization code for openssl and
766           gnutls.
767         * config/amanda/libs.m4: Detect ssl library used by libcurl.
768
769 2012-06-28  Jean-Louis Martineau <martineau@zmanda.com>
770         * device-src/s3.c: Fix compiler warning.
771
772 2012-06-28  Jean-Louis Martineau <martineau@zmanda.com>
773         * device-src/s3.c: Renew swift v2 x-auth-token before it expires, use
774           glib if >= 2.26.
775
776 2012-06-27 Dan Locks <dwlocks@zmanda.com>
777         * configure.in: update ac_prereq to 2.64
778
779 2012-06-27  Jean-Louis Martineau <martineau@zmanda.com>
780         * device-src/s3.c: remove code to Renew swift v2 x-auth-token, it
781           require glib 2.26.
782
783 2012-06-27  Jean-Louis Martineau <martineau@zmanda.com>
784         * device-src/s3-device.c: New CREATE-BUCKET property.
785         * device-src/s3.c: Improving error message parsing.
786         * man/xml-source/amanda-devices.7.xml: document new CREATE-BUCKET
787           property.
788
789 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
790         * device-src/s3.c: Remove bogus code.
791
792 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
793         * device-src/s3.c: Renew swift v2 x-auth-token before it expires.
794
795 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
796         * common-src/conffile.c: Fix crash when parsing an invalid config file.
797
798 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
799         * device-src/s3.c: Cloudena do not have xml_version of html tag in
800           their reply.
801
802 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
803         * device-src/s3.c: Renew OAUTH2 token.
804
805 2012-06-21  Jean-Louis Martineau <martineau@zmanda.com>
806         * perl/Amanda/Report/human.pm: Change the default columspec to: HostName=0:-12:12,Disk=1:-11:11,Level=1:-1:1,OrigKB=1:-7:0,OutKB=1:-7:0,Compress=1:-6:1,DumpTime=1:-7:7,Dumprate=1:-6:1,TapeTime=1:-6:6,TapeRate=1:-6:1
807         * man/xml-source/amanda.conf.5.xml: Document new default columnspec.
808         * installcheck/catalogs/bigestimate.cat,
809           installcheck/catalogs/doublefailure.cat,
810           installcheck/catalogs/filesystemstaped.cat,
811           installcheck/catalogs/longstrange.cat,
812           installcheck/catalogs/multi-taper.cat,
813           installcheck/catalogs/normal.cat,
814           installcheck/catalogs/plannerfail.cat,
815           installcheck/catalogs/resultsmissing.cat,
816           installcheck/catalogs/retried-nofinish.cat,
817           installcheck/catalogs/retried-strange.cat,
818           installcheck/catalogs/retried.cat,
819           installcheck/catalogs/shortstrange.cat,
820           installcheck/catalogs/skipped.cat,
821           installcheck/catalogs/spanned.cat,
822           installcheck/catalogs/strontium.cat: fix for new default columnspec.
823
824 2012-06-21  Jean-Louis Martineau <martineau@zmanda.com>
825         * device-src/s3.c: OAUTH2 use 'max-keys'.
826
827 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
828         * perl/Amanda/Taper/Worker.pm: Fix update of the status file.
829
830 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
831         * common-src/security-util.c: Fix memory corruption.
832
833 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
834         * perl/Amanda/Taper/Scribe.pm: Cancel call dump_cb.
835         * perl/Amanda/Taper/Worker.pm: Cancel the header xfer.
836
837 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
838         * server-src/planner.c: Fix 32 bits overflow.
839
840 2012-06-19  Jean-Louis Martineau <martineau@zmanda.com>
841         * amandad-src/amandad.c, common-src/amxml.c,
842           common-src/security-util.c, common-src/util.c,
843           server-src/tapefile.c: Fix small memory leak.
844         * perl/Amanda/Config.swg: Mark amandaify_property_name as %newobject
845         * perl/Amanda/Header.swg: Mark C_from_string as %newobject
846         * perl/Amanda/Tapelist.swg: Mark list_new_tapes as %newobject
847         * perl/Amanda/Util.swg: Mark sanitise_filename, quote_string,
848           unquote_string and split_quoted_strings as %newobject
849         * xfer-src/xfer-element.c: lock elt->xfer->status_mutex before looking
850           at elt->xfer->status.
851         * device-src/device.h (Device): Add a GMutex device_mutex to protect
852           method with concurent access.
853         * device-src/device.c, device-src/ndmp-device.c,
854           device-src/null-device.c, device-src/rait-device.c,
855           device-src/s3-device.c, device-src/tape-device.c,
856           device-src/vfs-device.c: Use the mutex to protext some Device field.
857
858 2012-06-18  Jean-Louis Martineau <martineau@zmanda.com>
859         * server-src/planner.c: Coorectly delay full dump if it doesn't fit in
860           the schedule.
861
862 2012-06-14 Dan Locks <dwlocks@zmanda.com>
863         * packaging/common/mock_utils.sh: update id mock to handle -Gn flags,
864           add groupadd mock, add usermod mock, correct silent errors in inetd
865           and install mocks
866         * packaging/common/pre_inst_functions.sh: add_group now attempts to
867           create a potentially missing suppmemental group, add_group does not
868           use -A or -a, instead generates a list of current groups from id -Gn,
869           update error_group_member to use the name of the group passed to
870           add_group.
871         * packaging/common/test_sh_libs.sh: add 2 add_group unit tests, update
872           check_user_group test.
873
874 2012-06-13  Jean-Louis Martineau <martineau@zmanda.com>
875         * application-src/amgtar.c: Check gtar support --no-check-device.
876
877 2012-06-08  Jean-Louis Martineau <martineau@zmanda.com>
878         * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
879           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/rait.pm,
880           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
881           perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm,
882           perl/Amanda/Recovery/Clerk.pm, perl/Amanda/Recovery/Planner.pm,
883           perl/Amanda/Recovery/Scan.pm, perl/Amanda/Report/human.pm,
884           perl/Amanda/Taper/Scribe.pm,
885           perl/Amanda/Taper/Worker.pm: Change many die by confess.
886
887 2012-06-07  Jean-Louis Martineau <martineau@zmanda.com>
888         * device-src/s3.c: Parse message attribute in cloudena error reply.
889           Parse details in HP error reply.
890
891 2012-06-04  Jean-Louis Martineau <martineau@zmanda.com>
892         * server-src/amrestore.pl: Typo.
893
894 2012-06-01  Jean-Louis Martineau <martineau@zmanda.com>
895         * server-src/amrestore.pl: Use the blocksize argument.
896
897 2012-06-01  Jean-Louis Martineau <martineau@zmanda.com>
898         * perl/Amanda/Changer/robot.pm: Print to debug if bc2lb change the
899           label for a barcode. Print to debug the mtx output.
900         * perl/Amanda/Taper/Scribe.pm: Do not use a tape if the barcode from
901           tapelist differ from the changer.
902
903 2012-05-28  Jean-Louis Martineau <martineau@zmanda.com>
904         * application-src/amzfs-sendrecv.pl: fix print_to_server argument.
905
906 2012-05-24  Jean-Louis Martineau <martineau@zmanda.com>
907         * application-src/amsamba.pl: Do not send a chomped line to index.
908
909 2012-05-24  Jean-Louis Martineau <martineau@zmanda.com>
910         * perl/Amanda/Application.swg: Use IO::Handle to open mesgout.
911
912 2012-05-23  Jean-Louis Martineau <martineau@zmanda.com>
913         * device-src/s3-device.c: Add project_id.
914         * device-src/s3.c: Add project_id. Add x-goog-project-id and
915           x-goo-api-version to headers.
916         * device-src/s3.h (s3_make_bucket, s3_is_bucket_exists) Add project_id
917           argument.
918         * man/xml-source/amanda-devices.7.xml: Document project-id property.
919
920 2012-05-23  Jean-Louis Martineau <martineau@zmanda.com>
921         * device-src/s3-device.c: Call s3_open2 after setting properties.
922         * device-src/s3.c (s3_open2): New function.
923         * device-src/s3.h (s3_open2): Prototype.
924
925 2012-05-17 Dan Locks <dwlocks@zmanda.com>
926         * packaging/sun-pkg/buildpkg: add missing --with-libcurl= for server
927
928 2012-05-17  Jean-Louis Martineau <martineau@zmanda.com>
929         * common-src/event.c: Add missing "\n" in debugging.
930         * perl/Amanda/Application.swg: Make mesgout autoflush.
931
932 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
933         * installcheck/Amanda_Device.pl: Correctly count NDMP test.
934
935 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
936         * server-src/amvault.pl: Abort if log file already exists.
937
938 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
939         * server-src/find.c: Fix crash when log are corrupted.
940
941 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
942         * perl/Amanda/Recovery/Planner.pm (make_plan_from_filelist): Use the
943           changer inventory to try to use an already available dump.
944         * server-src/amidxtaped.pl: Pass the changer to make_plan.
945
946 2012-05-14  Jean-Louis Martineau <martineau@zmanda.com>
947         * common-src/util.c, device-src/s3.c: Fix for pragma and gcc-4.5.2.
948
949 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
950         * perl/Amanda/Taper/Worker.pm (FAILED): Do it correctly.
951
952 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
953         * server-src/amstatus.pl: Improve output on taper error.
954
955 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
956         * perl/Amanda/Taper/Worker.pm (FAILED): Ignore if dump is already
957           cancelled.
958
959 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
960         * common-src/event.c: Improve debugging.
961         * server-src/dumper.c: Close data output in stop_dump.
962
963 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
964         * config/amanda/progs.m4: Define AMANDA_PROG_NC, set NC, NC6 and
965           NETCAT.
966         * configure.in: use AMANDA_PROG_NC.
967         * installcheck/Amanda_Device.pl: Use them.
968         * perl/Amanda/Constants.pm.in: Add NC, NC6 and NETCAT.
969
970 2012-05-10 Dan Locks <dwlocks@zmanda.com>
971         * configure.in: update AC_INIT usage, specify tar-ustar and minimum
972           automake version.
973         * config/amanda/version.m4: create new AMANDA_INIT_VERSION macro to
974           read FULL_VERSION or VERSION before AC_INIT.
975
976 2012-05-10 Dan Locks <dwlocks@zmanda.com>
977         * Makefile.am: update required automake version
978
979 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
980         * installcheck/Amanda_Device.pl: sleep to allow other process the time
981           to start listening.
982
983 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
984         * common-src/amflock.c, common-src/match.c, common-src/util.c,
985           device-src/s3.c: Fix for deprecated G_STATIC_MUTEX_INIT.
986
987 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
988         * installcheck/Amanda_Device.pl: Fix indirect tcp.
989
990 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
991         * client-src/sendbackup.c: Handle indirect tcp.
992         * device-src/ndmp-device.c: Add INDIRECT property.
993         * installcheck/Amanda_Device.pl: Test indirect tcp.
994         * man/xml-source/amanda-devices.7.xml: Document INDIRECT property.
995         * ndmp-src/ndmp4_translate.c: remove debugging statement.
996
997 2012-05-01  Jean-Louis Martineau <martineau@zmanda.com>
998         * man/xml-source/amfetchdump.8.xml: Add --decrypt, --no-decrypt,
999           --server-decrypt, --client-decrypt, --compress, --no-compress,
1000           --server-compress, --client-compress.
1001         * server-src/amfetchdump.pl: Document new options.
1002
1003 2012-04-25  Jean-Louis Martineau <martineau@zmanda.com>
1004         * ndmp-src/ndmos.h: Define NDMOS_MACRO_FREE
1005         * ndmp-src/ndmos_glib.h: Define NDMOS_MACRO_FREE
1006         * ndmp-src/ndmp_translate.h: define CNVT_FREE.
1007         * ndmp-src/ndmp4_translate.c:#Add many free function.
1008
1009 2012-04-20  Jean-Louis Martineau <martineau@zmanda.com>
1010         * server-src/amfetchdump.pl: Fix.
1011
1012 2012-04-20  Jean-Louis Martineau <martineau@zmanda.com>
1013         * server-src/amadmin.c: Fix handling of optional arguments.
1014         * installcheck/amadmin.pl: Check it.
1015
1016 2012-04-19  Jean-Louis Martineau <martineau@zmanda.com>
1017         * client-src/amdump_client.pl: Fix warning.
1018
1019 2012-04-18  Jean-Louis Martineau <martineau@zmanda.com>
1020         * server-src/amfetchdump.pl: add --decompress and --decrypt options.
1021         * man/xml-source/amfetchdump.8.xml: Document new options.
1022
1023 2012-04-18  Jean-Louis Martineau <martineau@zmanda.com>
1024         * common-src/conffile.c: Parse MAX_WARNINGS in dumptype.
1025         * common-src/conffile.h: Add DUMPTYPE_MAX_WARNINGS and
1026           dumptype_get_max_warnings
1027         * man/xml-source/amanda.conf.5.xml: Document max_warning in dumptype.
1028         * perl/Amanda/Config.swg: Add DUMPTYPE_MAX_WARNINGS.
1029         * server-src/diskfile.c (add_disk): Copy max_warnings from dumptype.
1030         * server-src/diskfile.h: Add max_warnings in disk_t.
1031         * server-src/driverio.c (dumper_cmd): Send max_warnings to dumper.
1032         * server-src/dumper.c: Use max_warnings.
1033
1034 2012-04-18  Jean-Louis Martineau <martineau@zmanda.com>
1035         * ndmp-src/ndmpconnobj.c: Remove useless g_source_is_destroyed check.
1036
1037 2012-04-17  Jean-Louis Martineau <martineau@zmanda.com>
1038         * common-src/amgetconf.pl: Read the disklist.
1039         * common-src/conffile.h (seen_t): Add block.
1040         * common-src/conffile.c: Set seen.block
1041         * common-src/conffile.c (dump_configuration): New print_default and
1042           print_source arguments.
1043         * installcheck/Amanda_Config.pl: Fix dump_configuration call.
1044         * server-src/amadmin.c: Add --no-default and --print-source arguments
1045           for config and disklist command.
1046         * man/xml-source/amadmin.8.xml: Document new arguments.
1047         * perl/Amanda/Config.swg: Fix for new dump_configuration arguments.
1048
1049 2012-04-16  Jean-Louis Martineau <martineau@zmanda.com>
1050         * application-src/amstar.c: Remove spurious space on directory entry.
1051
1052 2012-04-13  Jean-Louis Martineau <martineau@zmanda.com>
1053         * common-src/conffile.c: Add TMPDIR.
1054         * common-src/conffile.h: Add CNF_TMPDIR.
1055         * man/xml-source/amanda.conf.5.xml: Document TMPDIR.
1056         * perl/Amanda/Config.swg: Add CNF_TMPDIR.
1057         * server-src/amindexd.c: Use CNF_TMPDIR.
1058
1059 2012-04-12  Jean-Louis Martineau <martineau@zmanda.com>
1060         * application-src/amsamba.pl: Create incremental empty archive.
1061
1062 2012-04-11  Jean-Louis Martineau <martineau@zmanda.com>
1063         * perl/Amanda/Changer.pm (make_new_tape_label): Fix error return.
1064         * perl/Amanda/Taper/Scribe.pm ($_user_msg_fn): Improve message if tape
1065           is relabeled with a new label.
1066         * perl/Amanda/ScanInventory.pm: Set relabeled.
1067         * installcheck/Amanda_Changer.pl: Fix for new message.
1068
1069 2012-04-11  Jean-Louis Martineau <martineau@zmanda.com>
1070         Patch by Nathan Stratton Treadway
1071         * device-src/vfs-device.c: Improve message for MAX_VOLUME_USAGE.
1072         * installcheck/taper.pl: Fix.
1073
1074 2012-04-11  Jean-Louis Martineau <martineau@zmanda.com>
1075         * man/xml-source/amgtar.8.xml: s/APPLCIATION/APPLICATION/
1076
1077 2012-04-06  Jean-Louis Martineau <martineau@zmanda.com>
1078         * application-src/ampgsql.pl: psql /could not connect to server/
1079           message result in STRANGE.
1080
1081 2012-04-06  Jean-Louis Martineau <martineau@zmanda.com>
1082         * perl/Amanda/ScanInventory.pm: Fix for label not matching labelstr.
1083
1084 2012-04-06  Jean-Louis Martineau <martineau@zmanda.com>
1085         * device-src/device.c (device_get_bytes_written): New function.
1086         * device-src/device.h (device_get_bytes_written): New prototype.
1087         * device-src/ndmp-device.c, device-src/rait-device.c,
1088           device-src/s3-device.c, device-src/tape-device.c,
1089           device-src/vfs-device.c: Implement get_bytes_written.
1090         * device-src/xfer-dest-taper-cacher.c,
1091           device-src/xfer-dest-taper-splitter.c: Use device_get_bytes_written.
1092         * perl/Amanda/Device.swg: Swig device_get_bytes_written.
1093
1094 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
1095         * device-src/s3-device.c: New CLIENT_ID, CLIENT_SECRET and
1096           REFRESH_TOKEN properties. Handle OAUTH2.
1097         * device-src/s3.c: Handle OAUTH2.
1098         * device-src/s3.h (S3_api): Add S3_API_OAUTH2.
1099         * man/xml-source/amanda-devices.7.xml: Document new CLIENT_ID,
1100           CLIENT_SECRET and REFRESH_TOKEN properties.
1101
1102 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
1103         * man/xml-source/amfetchdump.8.xml: Document -l do not unencrypt.
1104
1105 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
1106         * device-src/device.c (device_accept_with_cond,
1107           device_connect_with_cond): New functions.
1108         * device-src/device.h (device_accept_with_cond,
1109           device_connect_with_cond): New prototypes.
1110         * device-src/ndmp-device.c (accept_with_cond_impl,
1111           connect_with_cond_impl): new functions.
1112         * device-src/xfer-dest-taper-directtcp.c: Use device_accept_with_cond.
1113         * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond):
1114           new function.
1115         * ndmp-src/ndmpconnobj.h (ndmp_connection_wait_for_notify_with_cond):
1116           new prototype.
1117         * perl/Amanda/Device.swg: swig accept_with_cond and connect_with_cond.
1118         * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONe message.
1119         * server-src/driver.c (handle_dumper_result): Always send dumper
1120           result to taper.
1121         * server-src/dumper.c: Remove debugging statement.
1122         * xfer-src/element-glue.c: Add debugging statement.
1123         * xfer-src/xfer.c (xfer_cancel): Ignore duplicate cancel.
1124         * xfer-src/xfer.h (struct Xfer): Add cancelled field.
1125
1126 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
1127         * common-src/amcryptsimple.pl: Use gpg if available.
1128         * common-src/amgpgcrypt.pl: Use gpg-agent and/or gpg2 if available.
1129         * server-src/dumper.c: Log compression/encryption executed.
1130
1131 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
1132         * device-src/s3-device.c: New S3_MULTI_DELETE property.
1133         * device-src/s3.c: New S3_MULTI_DELETE property.
1134         * device-src/s3.h (s3_multi_delete): New prototype.
1135         * man/xml-source/amanda-devices.7.xml: Document new S3_MULTI_DELETE s3
1136           device property.
1137
1138 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
1139         * device-src/s3-device.c: New PASSWORD, USERNAME, TENANT_ID,
1140           TENANT_NAME and STORAGE_API property. Handle SWIFT-2.
1141         * device-src/s3.c: Handle SWIFT-2.
1142         * device-src/s3.h (s3_open): New prototype.
1143         * device-src/s3.h (S3_api): New enum.
1144         * man/xml-source/amanda-devices.7.xml: Document new PASSWORD,
1145           USERNAME, TENANT_ID, TENANT_NAME and STORAGE_API S3 device
1146           properties.
1147
1148 2012-04-02  Jean-Louis Martineau <martineau@zmanda.com>
1149         * application-src/amsamba.pl: Do not set unc prematurely.
1150
1151 2012-04-02  Jean-Louis Martineau <martineau@zmanda.com>
1152         * device-src/ndmp-device.c (listen_impl): Set the window offset and
1153           length to blocksize when reading.
1154
1155 2012-03-29 Dan Locks <dwlocks@zmanda.com>
1156         * packaging/sun-pkg/buildpkg: add missing GLIB_LIBS variable to intel
1157           builds. Add flags to make invocation to reduce output.
1158
1159 2012-03-29  Jean-Louis Martineau <martineau@zmanda.com>
1160         * server-src/driver.c: Fix hang if taper crash.
1161
1162 2012-03-29  Jean-Louis Martineau <martineau@zmanda.com>
1163         * device-src/s3.c: Retry on {500, S3_ERROR_None} error.
1164           Improving debugging.
1165
1166 2012-03-28  Jean-Louis Martineau <martineau@zmanda.com>
1167         * server-src/amadmin.c: Fix bumpsize.
1168
1169 2012-03-22  Jean-Louis Martineau <martineau@zmanda.com>
1170         * common-src/fileheader.c: header type for non-amanda header is
1171           F_WEIRD.
1172         * server-src/amcheck-device.pl,
1173           server-src/amtape.pl: Improve output for non-Amanda volume.
1174
1175 2012-03-19  Jean-Louis Martineau <martineau@zmanda.com>
1176         * application-src/amgtar.c: Use "TAR-BLOCKSIZE" on restore.
1177
1178 2012-03-16  Jean-Louis Martineau <martineau@zmanda.com>
1179         * application-src/ampgsql.pl: Use statefile to find end_wal on
1180           estimate.
1181
1182 2012-03-15  Jean-Louis Martineau <martineau@zmanda.com>
1183         * application-src/amgtar.c: Add IGNORE-ZEROS property.
1184         * man/xml-source/amgtar.8.xml: Document IGNORE-ZEROS property.
1185
1186 2012-03-13  Jean-Louis Martineau <martineau@zmanda.com>
1187         * application-src/ampgsql.pl: Do not Execute pg_start_backup for
1188           estimate.
1189
1190 2012-03-11  Jean-Louis Martineau <martineau@zmanda.com>
1191         * common-src/glib-util.c: g_thread_supported always return TRUE on
1192           newer version.
1193
1194 2012-03-10  Jean-Louis Martineau <martineau@zmanda.com>
1195         * common-src/glib-util.c, common-src/glib-util.h: Remove
1196           g_queue_free_full.
1197
1198 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1199         * client-src/client_util.c, common-src/Makefile.am, common-src/am_sl.c,
1200           common-src/amxml.c: typo.
1201
1202 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1203         * client-src/client_util.c, client-src/selfcheck.c,
1204           client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
1205           client-src/sendbackup.c, client-src/sendsize.c,
1206           common-src/amxml.c, common-src/amxml.h,
1207           recover-src/extract_list.c: s/level_t/am_level_t/g
1208         * client-src/calcsize.c, common-src/amxml.h,
1209           common-src/conffile.c, common-src/conffile.h,
1210           common-src/sl.c, common-src/sl.h,
1211           perl/Amanda/Header.swg: s/sl_t/am_sl_t/g
1212         * amandad-src/amandad.h, client-src/calcsize.c,
1213           client-src/client_util.h, common-src/Makefile.am: s/sl.h/am_sl.h
1214         * common-src/am_sl.h: renamed from common-src/sl.h
1215         * common-src/am_sl.c: renamed from common-src/sl.c
1216
1217 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1218         * server-src/amfetchdump.pl: Print progress.
1219         * device-src/device.c (device_get_bytes_read ): New API method.
1220         * device-src/device.h (Device): Add bytes_read.
1221         * device-src/device.h (_DeviceClass): Add get_bytes_read.
1222         * device-src/device.h (device_get_bytes_read): Add prototype.
1223         * device-src/ndmp-device.c: Set bytes_read.
1224         * device-src/rait-device.c: Set bytes_read.
1225         * device-src/s3-device.c: Use curl progress callback to set bytes_read.
1226         * device-src/s3.c: Set a progress callback.
1227         * device-src/tape-device.c: Set bytes_read.
1228         * device-src/vfs-device.c: Set bytes_read.
1229         * device-src/xfer-device.h (xfer_source_recovery_get_bytes_read): Add
1230           prototype.
1231         * device-src/xfer-source-recovery.c
1232           (xfer_source_recovery_get_bytes_read): new function.
1233         * perl/Amanda/Device.swg (device_get_bytes_read): New function.
1234         * perl/Amanda/Recovery/Clerk.pm: Call get_bytes_read.
1235         * perl/Amanda/XferServer.swg: (xfer_source_holding_get_bytes_read,
1236         * xfer_source_recovery_get_bytes_read): New prototypes.
1237         * server-src/xfer-server.h (xfer_source_holding_get_bytes_read):
1238           New protoype.
1239         * server-src/xfer-source-holding.c (xfer_source_holding_get_bytes_read):
1240           New function.
1241
1242 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1243         * perl/Amanda/Recovery/Scan.pm: Do not rescan the same slot
1244           indefinitely.
1245
1246 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1247         * perl/Amanda/Changer/multi.pm: Fix warning.
1248
1249 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1250         * device-src/s3-device.c: New PROXY property.
1251         * device-src/s3.c: Set CURLOPT_PROXY from PROXY property.
1252         * device-src/s3.h (s3_open): Add proxy argument.
1253         * man/xml-source/amanda-devices.7.xml: Document PROXY property.
1254
1255 2012-03-08  Jean-Louis Martineau <martineau@zmanda.com>
1256         * perl/Amanda/Header.swg (get_dle): Return undef if not set.
1257         * server-src/amidxtaped.pl: Check dle is set.
1258
1259 2012-03-08  Jean-Louis Martineau <martineau@zmanda.com>
1260         * server-src/amvault.pl: Use the write-timestamp, not the
1261           dump-timestamp.
1262
1263 2012-03-08  Jean-Louis Martineau <martineau@zmanda.com>
1264         * common-src/ssh-security.c: use default port if client-port is not
1265           set.
1266
1267 2012-03-07  Jean-Louis Martineau <martineau@zmanda.com>
1268         * application-src/amsamba.pl:  Fix use of subdir for restore,
1269           prepend subdir on include for restore.
1270
1271 2012-03-07  Jean-Louis Martineau <martineau@zmanda.com>
1272         * ndmp-src/ndmjob_args.c: Add '-o D-agent-fd' argument.
1273
1274 2012-03-07  Jean-Louis Martineau <martineau@zmanda.com>
1275         * application-src/ampgsql.pl: Do not execute pg_start_backup and
1276           pg_stop_backup on selfcheck.
1277
1278 2012-02-23  Jean-Louis Martineau <martineau@zmanda.com>
1279         * man/xml-source/amzfs-sendrecv.8.xml: Typo.
1280
1281 2012-02-23  Jean-Louis Martineau <martineau@zmanda.com>
1282         * man/xml-source/disklist.5.xml: Document includefile directive.
1283
1284 2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
1285         * perl/make_html.pl: Add link at top, better list display.
1286         * perl/Makefile.am: Execute make_html with a --homeurl argument.
1287
1288 2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
1289         * VERSION: 3.3.1
1290         * ReleaseNotes, NEWS: update for 3.3.1
1291
1292 2012-02-16  Jean-Louis Martineau <martineau@zmanda.com>
1293         * server-src/amadmin.c (disklist_one): print the filename.
1294         * server-src/diskfile.c: Add includefile directive.
1295         * server-src/diskfile.h (disk_t): Add filename.
1296
1297 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
1298         * man/xml-source/amanda.conf.5.xml: Fix default netusage.
1299
1300 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
1301         * perl/Amanda/Recovery/Clerk.pm: Typo.
1302
1303 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
1304         * perl/make_html.pl: generate correct absolute link.
1305
1306 2012-02-10  Jean-Louis Martineau <martineau@zmanda.com>
1307         * device-src/s3.c: Do not print the data to the debug file.
1308
1309 2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
1310         * application-src/ampgsql.pl: Do not use temporary disk space while
1311           doing backup or recovery.
1312
1313 2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
1314         * perl/Amanda/DB/Catalog.pm: filenum must be sorted numerically.
1315
1316 2012-02-07  Jean-Louis Martineau <martineau@zmanda.com>
1317         * application-src/ampgsql.pl: pg_version 802000 => 80200.
1318
1319 2012-02-01  Jean-Louis Martineau <martineau@zmanda.com>
1320         * application-src/ampgsql.pl: Do not print normal
1321           pg_xlogfile_name_offset output to MESG stream.
1322
1323 2012-01-31 Dan Locks <dwlocks@zmanda.com>
1324         * packaging/deb/preinst, packaging/rpm/amanda.spec.src: change /bin/sh
1325           to /bin/bash.
1326
1327 2012-01-27  Jean-Louis Martineau <martineau@zmanda.com>
1328         * application-src/ampgsql.pl: Run pg_switch_xlog() and wait for the
1329           archived WAl before doing an incremental backup.
1330
1331 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
1332         * device-src/s3.c: Set xmlns for IIJ.
1333
1334 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
1335         * device-src/s3-device.c: Fix for openstack swift api.
1336
1337 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
1338         * perl/Amanda/Taper/Scribe.pm, server-src/amlabel.pl:use the 
1339           block_size instead of the header-block_size to write the BLOCK_SIZE
1340           in the tapelist.
1341
1342 2012-01-19  Jean-Louis Martineau <martineau@zmanda.com>
1343         * device-src/s3-device.c: Add support for openstack swift api.
1344         * device-src/s3.c: Add support for openstack swift api.
1345         * device-src/s3.h: Add support for openstack swift api.
1346         * man/xml-source/amanda-devices.7.xml: Add openstack-swift-api 
1347           property.
1348
1349 2012-01-13  Jean-Louis Martineau <martineau@zmanda.com>
1350         * device-src/s3-device.c: Fix deleting files.
1351
1352 2012-01-09  Jean-Louis Martineau <martineau@zmanda.com>
1353         * server-src/amtape.pl: Fix amtape show for non numeric slot.
1354
1355 2012-01-04  Jean-Louis Martineau <martineau@zmanda.com>
1356         * recover-src/extract_list.c: Fix for compilation on AIX.
1357
1358 2012-01-04 Dan Locks <dwlocks@zmanda.com>
1359         *  packaging/sun-pkg/buildpkg: Add GLIB_* flags to sun packages
1360         *  config/amanda/libs.m4: fix "exit when explicit flags are given"
1361            error, and require all flags when one is given.
1362
1363 2012-01-03  Jean-Louis Martineau <martineau@zmanda.com>
1364         * device-src/s3-device.c: Report DEVICE ERROR if s3_is_bucket_exists
1365           response with curl error CURLE_COULDNT_CONNECT or
1366           CURLE_COULDNT_RESOLVE_HOST.
1367
1368 2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
1369         * perl/Amanda/Changer/multi.pm: Print the state filename to the debug
1370           file.
1371
1372 2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
1373         * perl/Amanda/ScanInventory.pm: Correctly set 'err'.
1374         * server-src/amtape.pl: quit the changer even on error.
1375
1376 2011-12-23  Jean-Louis Martineau <martineau@zmanda.com>
1377         Patch by Nathan Stratton Treadway.
1378         * common-src/conffile.c (read_int_or_str): Fix error message.
1379
1380 2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
1381         * server-src/planner.c: Fix force-bump with overdue filesystem.
1382
1383 2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
1384         * server-src/amlabel.pl: --asign require --meta or --barcode.
1385
1386 2011-12-16  Jean-Louis Martineau <martineau@zmanda.com>
1387         * application-src/amgtar.c: Fix GNUTAR-LISTDIR property.
1388
1389 2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
1390         * device-src/s3.c (s3_is_bucket_exists): Set max-keys=1.
1391
1392 2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
1393         * perl/Amanda/Recovery/Scan.pm (new): Return changer error.
1394
1395 2011-12-12  Jean-Louis Martineau <martineau@zmanda.com>
1396         * common-src/amfeatures.c: Add fe_dumptype_property.
1397         * common-src/amfeatures.h: Add fe_dumptype_property.
1398         * common-src/amxml.c: Parse dumptype properties.
1399         * common-src/amxml.h (dle_t): Add property field.
1400         * perl/Amanda/Disklist.swg: Add clean_dle_str_for_client.
1401         * perl/Amanda/Feature.pod: Add fe_dumptype_property.
1402         * perl/Amanda/Feature.swg: Add Amanda::Feature::Set::features
1403         * server-src/amidxtaped.pl: Call clean_dle_str_for_client.
1404         * server-src/diskfile.c (xml_dumptype_properties): New function to
1405           return dumptype propertyes.
1406         * server-src/diskfile.h (xml_dumptype_properties) Add prototype.
1407         * server-src/driverio.c: Add xml_dumptype_properties to dumper cmd.
1408         * server-src/dumper.c: Call clean_dle_str_for_client.
1409
1410 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
1411         * example/template.d/amanda-harddisk.conf.in: fix for installcheck.
1412
1413 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
1414         * NEWS, ReleaseNotes: Update for 3.3.1
1415
1416 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
1417         * server-src/amindex.c (getheaderfname): New function.
1418         * server-src/amindex.h (getheaderfname): New prototype.
1419         * server-src/dumper.c: Wrtie header to a file in indexdir.
1420
1421 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
1422         * example/template.d/amanda-S3.conf.in,
1423           example/template.d/amanda-harddisk.conf.in,
1424           example/template.d/amanda-single-tape.conf.in,
1425           example/template.d/amanda-tape-changer.conf.in: Use new changer api.
1426         * server-src/amserverconfig.pl: Use new changer api.
1427
1428 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
1429         * man/xml-source/amvault.8.xml: Improve.
1430
1431 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
1432         * perl/Amanda/ScanInventory.pm (volume_is_labelable): New method.
1433         * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
1434           Use volume_is_labelable from ScanInventory.
1435         * perl/Amanda/Taper/Scan/traditional.pm: Fix bad logging.
1436         * perl/Amanda/Taper/Scribe.pm: Print "autolabel disabled".
1437         * perl/Amanda/Taper/Worker.pm: Add debugging.
1438         * server-src/amvault.pl: Quit both changer, add debugging.
1439
1440 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
1441         * server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use
1442           Amanda::Debug.
1443
1444 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
1445         Fix for previous patch.
1446         * application-src/amlog-script.pl, application-src/ampgsql.pl,
1447           application-src/amraw.pl, application-src/amsamba.pl,
1448           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
1449           application-src/amzfs-snapshot.pl,
1450           application-src/script-email.pl: Undo previous patch,
1451         * perl/Amanda/Script_App.pm: Do it here instead.
1452           server-src/amlogroll.pl, server-src/amvault.pl
1453           server-src/taper.pl: Import the debug method.
1454         * server-src/amoverview.pl, server-src/amserverconfig.pl,
1455           server-src/amstatus.pl: Undo previous patch, they do not use the
1456           debug file.
1457
1458 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
1459         * application-src/amlog-script.pl, application-src/ampgsql.pl,
1460           application-src/amraw.pl, application-src/amsamba.pl,
1461           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
1462           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
1463           client-src/amdump_client.pl, common-src/amgetconf.pl,
1464           device-src/amdevcheck.pl, device-src/amtapetype.pl,
1465           server-src/amcheckdump.pl, server-src/amcleanup.pl,
1466           server-src/amcleanupdisk.pl, server-src/amdump.pl,
1467           server-src/amfetchdump.pl, server-src/amlabel.pl,
1468           server-src/amlogroll.pl, server-src/amoverview.pl,
1469           server-src/amreport.pl, server-src/amrestore.pl,
1470           server-src/amrmtape.pl, server-src/amserverconfig.pl,
1471           server-src/amstatus.pl, server-src/amtape.pl,
1472           server-src/amvault.pl,
1473           server-src/taper.pl: Print command line arguments to debug file.
1474
1475 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
1476         * device-src/device.c, device-src/ndmp-device.c,
1477           device-src/tape-device.c: Call device_set_error if setting a
1478           property fail.
1479         * perl/Amanda/Changer.pm: Use device error message.
1480
1481 2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
1482         * device-src/s3-device.c, device-src/vfs-device.c (*_device_erase):
1483           set the device state to unlabeled.
1484         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/multi.pm
1485           (set_label):  works with undefined label.
1486         * perl/Amanda/Changer/robot.pm: small cleanup.
1487         * server-src/amrmtape.pl: Call reservation set_label method to remove
1488           the label from the state.
1489
1490 2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
1491         * man/xml-source/amanda.conf.5.xml (autolabel): Document it must match
1492           labelstr.
1493
1494 2011-12-01  Jean-Louis Martineau <martineau@zmanda.com>
1495         * device-src/s3-device.c (delete_file): Use multiple threads.
1496
1497 2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1498         * device-src/xfer-dest-taper-splitter.c: Set the xmsg even if the xfer
1499           is cancelled.
1500         * perl/Amanda/Taper/Scribe.pm: result is PARTIAL|FAILED if
1501           !last_part_successful.
1502
1503 2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1504         * device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock
1505           before calling wait_until_xfer_cancelled.
1506
1507 2011-11-28  Jean-Louis Martineau <martineau@zmanda.com>
1508         * server-src/amfetchdump.pl: Fix usage.
1509         * man/xml-source/amfetchdump.8.xml: Fix synopsis.
1510
1511 2011-11-25  Jean-Louis Martineau <martineau@zmanda.com>
1512         * installcheck/gnutar.pl: Change expectations to an array that can be
1513           scanned in order, fix for tar-1.25 on fc15.
1514
1515 2011-11-22  Jean-Louis Martineau <martineau@zmanda.com>
1516         * device-src/s3.c (build_url): curl is G_GNUC_UNUSED.
1517
1518 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1519         * server-src/amtape.pl: Fix 'amtape show' with one slot.
1520         * installcheck/amtape.pl: Test it.
1521
1522 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1523         * server-src/amreport.pl: Check if executable before open3().
1524         * installcheck/amreport.pl: Fix for new message.
1525
1526 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1527         * perl/Amanda/Changer.pm: Correctly check barcode is not defined.
1528
1529 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1530         * perl/Amanda/Changer.pm: Correctly substititue '%' if not present.
1531
1532 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1533         * server-src/amtape.pl: Add [slots] argument to amtape show.
1534         * man/xml-source/amtape.8.xml: Document it.
1535
1536 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1537         * device-src/s3.c: Disable the service_path if it is set to an empty
1538           string or '/', also remove trailing slash.
1539
1540 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1541         * server-src/amdump.pl: Log a 'START planner date' line on error'.
1542
1543 2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
1544         * device-src/s3.c: Use curl_easy_escape.
1545
1546 2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
1547         * installcheck/gnutar.pl: Fix for fc16.
1548
1549 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1550         * installcheck/mock/mtx.pl: Fix qw.
1551
1552 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1553         * server-src/amstatus.pl: Use Getopt::Long
1554
1555 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1556         * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE.
1557
1558 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1559         * perl/Amanda/Logfile.pod: Remove match_* functions
1560         * perl/Amanda/Logfile.swg: Remove match_* functions
1561         * perl/Amanda/Util.pod: Add match_* functions
1562         * perl/Amanda/Util.swg: Add match_* functions
1563         * client-src/amdump_client.pl, perl/Amanda/DB/Catalog.pm,
1564           server-src/amdumpd.pl, server-src/amidxtaped.pl,
1565           server-src/amvault.pl: Use match_* functions for Amanda::Util
1566
1567 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1568         * perl/Amanda/Report.pm: Always report the first 100 strange lines.
1569         * installcheck/catalogs/longstrange.cat: Fix test.
1570
1571
1572 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
1573         * server-src/amreport.pl: Fix for perl-5.14
1574         * installcheck/amreport.pl: Add test.
1575
1576 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
1577         * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14.
1578
1579 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
1580         * application-src/ampgsql.pl: Print state filename to debug file.
1581
1582 2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
1583         * device-src/s3-device.c: Add S3_SERVER_SIDE_ENCRYPTION property.
1584         * device-src/s3.c: Add server_side_encryption.
1585         * device-src/s3.h: Add server_side_encryption.
1586         * man/xml-source/amanda-devices.7.xml: Document
1587           S3_SERVER_SIDE_ENCRYPTION property
1588
1589 2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
1590         * perl/Amanda/Changer.pm (release): Always call finished_cb.
1591         * installcheck/amcheck-device.pl: Add a check.
1592         
1593 2011-10-12  Jean-Louis Martineau <martineau@zmanda.com>
1594         * server-src/driverio.c (update_info_dumper): Set date to 0 if 
1595           datestamp is 0.
1596
1597 2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
1598         * application-src/ampgsql.pl: If datadir is not set, use the disk
1599           argument.
1600
1601 2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
1602         * common-src/conffile.c: Do not free cwd.
1603         * common-src/amgetconf.pl: Allow to get one property.
1604         * installcheck/amgetconf.pl: Test it.
1605
1606 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1607         * common-src/match.c: Update from trunk.
1608
1609 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1610         * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error.
1611
1612 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1613         * installcheck/gnutar.pl: Add support for fc14 and fc15.
1614
1615 2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
1616         * recover-src/extract_list.c: Do not crahs if amidxtaped close the 
1617           connection.
1618
1619 2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
1620         * device-src/s3.c: Correctly set thunk->next_marker.
1621
1622 2011-09-30 Dan Locks <dwlocks@zmanda.com>
1623         *  packaging/common/substitute.pl: fix PKG_REV missing message.
1624         *  packaging/sun-pkg/buildpkg, packaging/deb/buildpkg,
1625            packaging/rpm/buildpkg: create PKG_REV file until the machinery to
1626            process svn tags for PKG_REV is in place
1627
1628 2011-09-29 Dan Locks <dwlocks@zmanda.com>
1629         *  packaging/sun-pkg: sun package subdirectories
1630         *  packaging/sun-pkg/buildpkg: sun package building script
1631         *  packaging/common/mock_utils.sh: mocked utilities used by pre/post
1632            scripts
1633         *  packaging/common/post_inst_functions.sh,
1634            packaging/common/post_rm_functions.sh,
1635            packaging/common/pre_inst_functions.sh,
1636            packaging/common/common_functions.sh: shared shell functions for
1637            pre/post scripts.
1638         *  packaging/common/substitute.pl: update to handle sun packages and
1639            shell functions
1640         *  packaging/common/test_sh_libs.sh: unit tests for shell functions
1641         *  packaging/common/shunit2: unit test framework
1642         *  packaging/Makefile.am: add sun package to dist tarball.
1643         *  note: S3 device is not enabled; solaris compilation has me stumped.
1644
1645 2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
1646         * perl/Amanda/Holding.pm: fix dirfn.
1647
1648 2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
1649         Patch by Sam Stuck
1650         * man/xml-source/amanda-changers.7.xml: Typo.
1651
1652 2011-09-20  Jean-Louis Martineau <martineau@zmanda.com>
1653         * man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8
1654         * man/xml-source/amcleanup.8.xml:Add -r option.
1655         * man/xml-source/amcleanupdisk.8.xml: New man page.
1656         * perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp):
1657           New methods.
1658         * server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk.
1659         * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk.
1660         * server-src/amcleanup.pl: Add -r option.
1661         * server-src/amcleanupdisk.c: Remove file
1662         * server-src/amcleanupdisk.pl: New perl version.
1663         * server-src/holding.c: Fix max level to 399.
1664
1665 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
1666         * installcheck/Amanda_Device.pl: Check setting a property with an 
1667           invalid name.
1668
1669 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
1670         * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value.
1671
1672 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
1673         * application-src/amzfs-sendrecv.pl: restore works without --device.
1674
1675 2011-09-06  Jean-Louis Martineau <martineau@zmanda.com>
1676         * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not
1677           available.
1678
1679 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
1680         * client-src/selfcheck.c (print_platform): Another fix.
1681
1682 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
1683         * common-src/amcryptsimple.pl: Use gpg-agent.
1684
1685 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
1686         * client-src/selfcheck.c (print_platform): Fix.
1687
1688 2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
1689         * server-src/amadmin.c (export) parse version without patch number.
1690
1691 2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
1692         * perl/Amanda/ScanInventory.pm: Get the meta label before
1693           calling make_new_tape_label.
1694         * perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before
1695           calling make_new_tape_label.
1696         * perl/Amanda/Taper/Scribe.pm: Return the reservation on error.
1697         * server-src/amcheck-device.pl: Release the reservation on error.
1698         * server-src/amtape.pl: Release the reservation on error,
1699           change 'amtape taper' output to be the same as amcheck.
1700         * installcheck/amtape.pl: Fix for new amtape output.
1701
1702 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1703         * common-src/debug.c (debug_printf): Print a thread id.
1704         * device-src/xfer-dest-taper-cacher.c,
1705           device-src/xfer-dest-taper-directtcp.c,
1706           device-src/xfer-dest-taper-splitter.c,
1707           device-src/xfer-source-recovery.c: Remove printing of thread id.
1708
1709 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1710         * server-src/dumper.c: filter stderr make result strange,
1711                                filter exit_code != 0 make it fail.
1712
1713 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1714         * application-src/amgtar.c: Do not rename gnutar-list if record is not
1715           set.
1716
1717 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1718         * server-src/tapefile.h (struct tape_s): Add blocksize.
1719         * server-src/tapefile.c: Print and parse blocksize in tapelist file.
1720         * perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file.
1721         * perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel.
1722         * server-src/amlabel.pl: Add blocksize argument to add_tapelabel.
1723         * installcheck/Amanda_Tapelist.pl: Fix for tapelist file format.
1724         * installcheck/amlabel.pl: Fix for tapelist file format.
1725
1726 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1727         * device-src/device.h (struct Device): Add header_block_size.
1728         * device-src/null-device.c, device-src/rait-device.c,
1729           device-src/s3-device.c, device-src/tape-device.c,
1730           device-src/vfs-device.c: Set header_block_size.
1731         * perl/Amanda/Device.swg: Swig header_block_size.
1732
1733 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1734         * installcheck/Amanda_Device.pl: Fix number of skipped test for S3.
1735
1736 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1737         * server-src/planner.c: Print why a disk is skip if DS_NOINC.
1738
1739 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
1740         * installcheck/Amanda_Device.pl: Check invalid location on s3 device.
1741
1742 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
1743         * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do
1744           not exists.
1745
1746 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
1747         * device-src/s3.c (s3_is_bucket_exists): New function to check if a 
1748           bucket exists.
1749         * device-src/s3.h (s3_is_bucket_exists): Prototype.
1750         * device-src/s3-device.c: Call s3_is_bucket_exists before
1751           s3_make_bucket.
1752
1753 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1754         * perl/Amanda/Changer/multi.pm: Keep the device_error in the state file.
1755         * perl/Amanda/Changer/robot.pm: Keep the device_error in the state file.
1756         * server-src/amtape.pl (inventory): Print inventory device error.
1757         * installcheck/Amanda_Changer_multi.pl,
1758           installcheck/Amanda_Changer_ndmp.pl,
1759           installcheck/Amanda_Changer_robot.pl: Fix for device_error in
1760           state file.
1761
1762 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1763         * perl/Amanda/Changer.pm: Fix warning.
1764
1765 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1766         * installcheck/Amanda_Changer_ndmp.pl,
1767           installcheck/Amanda_Changer_robot.pl: Fix for previous patch.
1768
1769 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1770         * perl/Amanda/Changer/robot.pm: return a reservation even on error.
1771
1772 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1773         Patch by Gunar Gunnarsson
1774         * server-src/amvault.pl: Cast $dump->{'kb'} to int.
1775                 
1776 2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
1777         * man/xml-source/amanda-devices.7.xml: Update S3 location url.
1778
1779 2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
1780         * common-src/match.c: Fix for 'Trailing backslash' error
1781         * common-src/match-test.c: Add test
1782                 
1783 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1784         * amandad-src/amandad.c, client-src/calcsize.c,
1785           client-src/killpgrp.c, client-src/noop.c,
1786           client-src/rundump.c, client-src/runtar.c,
1787           client-src/selfcheck.c, client-src/sendbackup.c,
1788           client-src/sendsize.c, ndmp-src/amndmjob_main.c,
1789           server-src/amcleanupdisk.c, server-src/amindexd.c,
1790           server-src/amtrmidx.c, server-src/amtrmlog.c,
1791           server-src/driver.c, server-src/dumper.c,
1792           server-src/planner.c: Add a --version argument.
1793
1794 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1795         * common-src/amservice.c, recover-src/amrecover.c,
1796           server-src/amflush.c: #include "getopt.h"
1797
1798 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1799         * application-src/ampgsql.pl: add ARCHIVEDIR, CLEANUPWAL, DB,
1800           HOST, MAX-WAL-WAIT, PASSFILE, PORT, PSQL-PATH and USER
1801           properties.
1802         * man/xml-source/ampgsql.8.xml: Document them.
1803
1804 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1805         * common-src/amservice.c, recover-src/amrecover.c,
1806           server-src/amcheck.c, server-src/amflush.c: Add a --version argument.
1807
1808 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1809         * client-src/selfcheck.c: Check return value of fgets.
1810
1811 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1812         * many */*.pl: add --version option.
1813
1814 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1815         * application-src/ampgsql.pl: print to debug file and server if unlink
1816           fail.
1817                   
1818 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
1819         * man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml,
1820           man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml,
1821           man/xml-source/amsuntar.8.xml,
1822           man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice.
1823
1824 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
1825         * client-src/client_util.c: fix
1826
1827 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
1828         * server-src/amcheck.c: new '--client-verbose' option.
1829         * man/xml-source/amcheck.8.xml: Document --client-verbos
1830         * config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname
1831           path.
1832         * configure.in: call AMANDA_PROG_UNAME.
1833         * client-src/client_util.c (check_access, check_file, check_dir,
1834           check_suid): return a gboolean.
1835         * client-src/client_util.h: Change prototypes.
1836         * client-src/selfcheck.c: Print the platform.
1837         * common-src/util.c (get_first_line): new function to return the first
1838           output line of a command.
1839         * common-src/util.h (get_first_line): add prototype.
1840         * application-src/amgtar.c, application-src/ampgsql.pl,
1841           application-src/amraw.pl, application-src/amsamba.pl,
1842           application-src/amstar.c, application-src/amsuntar.pl,
1843           application-src/amzfs-sendrecv.pl: print version of program.
1844             
1845 2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
1846         * perl/Amanda/Changer.pm: Fix warning if $s is not used.
1847
1848 2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
1849         * perl/Amanda/Changer.pm: Support minimun number of digit in $3s
1850           autolabel template.
1851         * man/xml-source/amanda.conf.5.xml: Document it.
1852
1853 2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
1854         * perl/Amanda/Changer/multi.pm (do_release): Support eject params.
1855         * perl/Amanda/Changer/single.pm (do_release): Do the eject correctly.
1856
1857 2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
1858         * man/xml-source/amanda-taperscan.7.xml: Typo.
1859
1860 2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
1861         * common-src/conffile.h: Add CONF_EJECT_VOLUME
1862         * common-src/conffile.c: Add CNF_EJECT_VOLUME
1863         * man/xml-source/amanda.conf.5.xml: Document eject-volume.
1864         * perl/Amanda/Config.swg: Add CNF_EJECT_VOLUME.
1865         * perl/Amanda/Changer/single.pm: Eject the device if the eject
1866           params is set in $res->release()
1867         * perl/Amanda/Taper/Scribe.pm (new): Get eject_volume params.
1868         * perl/Amanda/Taper/Scribe.pm (_release_reservation): Call
1869           $res->release with the eject params if needed.
1870         * perl/Amanda/Taper/Worker.pm: Make the Scribe with the eject_volume
1871           params set to $CNF_EJECT_VOLUME
1872
1873 2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
1874         * perl/Amanda/Changer.pm (make_error): callback is optional.
1875         * perl/Amanda/Changer/disk.pm: Check if disk is mounted before locking.
1876         * perl/Amanda/ScanInventory.pm (_scan): fail only on fatal error.
1877         * perl/Amanda/Taper/Controller.pm: Put error message in double quote.
1878         * perl/Amanda/Taper/Worker.pm: Put message in double quote.
1879
1880 2011-07-19  Jean-Louis Martineau <martineau@zmanda.com>
1881         * server-src/driver.c (tape_action): consider number of dle on volume
1882           and max-dle-by-volume for allowing use of new volume.
1883
1884 2011-07-15  Jean-Louis Martineau <martineau@zmanda.com>
1885         * man/xml-source/amanda-changers.7.xml: Add chg-single documentation.
1886
1887 2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
1888         * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB.
1889
1890 2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
1891         * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB.
1892
1893 2011-07-13  Jean-Louis Martineau <martineau@zmanda.com>
1894         * common-src/conffile.c: Add CONF_MAX_DLE_BY_VOLUME.
1895         * common-src/conffile.h: Add CNF_MAX_DLE_BY_VOLUME.
1896         * man/xml-source/amanda.conf.5.xml: Document max-dle-by-volume.
1897         * perl/Amanda/Config.swg: Add CNF_MAX_DLE_BY_VOLUME.
1898         * perl/Amanda/Taper/Controller.pm: Add msg_CLOSE_VOLUME method.
1899         * perl/Amanda/Taper/Protocol.pm: Add CLOSE_VOLUME.
1900         * perl/Amanda/Taper/Scribe.pm: Add close_volume method, call
1901           _get_new_volume() is close_volume was called.
1902         * perl/Amanda/Taper/Worker.pm: Add CLOSE_VOLUME method.
1903         * server-src/driver.c: Send CLOSE_VOLUME command to taper if the
1904           number of dle on a volume is larger than max-dle-by-volume
1905         * server-src/driverio.c: Send CLOSE_VOLUME command.
1906         * server-src/driverio.h: Add nb_dle to taper_t.
1907         * server-src/server_util.c: Add "CLOSE-VOLUME" to cmdstr.
1908         * server-src/server_util.h: Add CLOSE_VOLUME.
1909
1910 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
1911         * device-src/s3-device.c: Fix gcc warning for s3_rval set but not used
1912
1913 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
1914         * config/amanda/libs.m4: Fix use of AC_LINK_IFELSE.
1915
1916 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
1917         * common-src/match.c (match_word): better matching for anchored 
1918           expression.
1919         * common-src/match-test.c: Add new tests.
1920
1921 2011-07-11  Jean-Louis Martineau <martineau@zmanda.com>
1922         Add '$s' substitution to autolabel.
1923         * perl/Amanda/Changer.pm (make_new_tape_label): Handle $s.
1924         * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm,
1925           perl/Amanda/Taper/Scribe.pm: Call make_new_tape_label with the slot.
1926         * man/xml-source/amanda.conf.5.xml: Document $s substitution.
1927
1928 2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
1929         * config/amanda/libs.m4: Fix for newer aclocal.
1930         * config/libtool.m4, config/ltmain.sh,
1931           config/ltoptions.m4, config/ltsugar.m4,
1932           config/ltversion.m4,
1933           config/lt~obsolete.m4: Upgrade libtool to 2.4.
1934
1935 2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
1936         * Many *.c files: Fix for gcc-4.6.0 warning: variable â€˜NAME’ set but
1937           not used.
1938
1939 2011-07-07  Jean-Louis Martineau <martineau@zmanda.com>
1940         * perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape
1941
1942 2011-07-05  Jean-Louis Martineau <martineau@zmanda.com>
1943         * perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense
1944           key is 'Not Ready'
1945
1946 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1947         * application-src/amstar.c: typo.
1948
1949 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1950         * server-src/driver.c: Call short_dump_state on all state change.
1951
1952 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1953         Patch by p_michalczyk
1954         * application-src/amstar.c: Place command_options at the and of
1955           command line.
1956
1957 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1958         Patch by p_michalczyk
1959         * application-src/amstar.c: Add missing break statement.
1960
1961 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1962         Replace semaphore by amsemaphore.
1963         * common-src/Makefile.am: Remove semaphore.*, add amsemaphore.*
1964         * common-src/amsemaphore-test.c: New copy of semaphore-test.c
1965         * common-src/amsemaphore.c: New copy of semaphore.c
1966         * common-src/amsemaphore.h: New copy of semaphore.h
1967         * common-src/semaphore-test.c: Removed file.
1968         * common-src/semaphore.c: Removed file.
1969         * common-src/semaphore.h: Removed file.
1970         * device-src/rait-device.c: s/semaphore_/amsemaphore_/g
1971         * xfer-src/element-glue.c: s/semaphore_/amsemaphore_/g
1972         * xfer-src/element-glue.h: s/semaphore_/amsemaphore_/g
1973
1974 2011-06-28  Jean-Louis Martineau <martineau@zmanda.com>
1975         * server-src/driver.c: Check holding file is in a holding directory.
1976
1977 2011-06-27  Jean-Louis Martineau <martineau@zmanda.com>
1978         * man/xml-source/amanda-devices.7.xml: s/Witout/Without/
1979
1980 2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
1981         * man/xml-source/amanda-client.conf.5.xml: Add amdump-server.
1982         * man/xml-source/amdump_client.8.xml: Fix doc.
1983
1984 2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
1985         * perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call.
1986
1987 2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
1988         * perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode
1989
1990 2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
1991         * man/xml-source/amrecover.8.xml: Document new settranslate command.
1992         * recover-src/amrecover.c: Add disk_tpath,
1993         * recover-src/amrecover.c (translate_octal): New function.
1994         * recover-src/amrecover.h: Add tpath to DIR_ITEM.
1995         * recover-src/display_commands.c: Set and use tpath.
1996         * recover-src/extract_list.c: Use tpath
1997         * recover-src/help.c: Add settranslate command.
1998         * recover-src/set_commands.c: Set and tpath.
1999         * recover-src/uparse.y: Parse settranslate command.
2000         * recover-src/uscan.l: Add SETTRANSLATE keyword.
2001
2002 2011-06-17  Jean-Louis Martineau <martineau@zmanda.com>
2003         * perl/Amanda/Changer/robot.pm, perl/Amanda/Recovery/Planner.pm,
2004           perl/Amanda/Recovery/Clerk.pm,
2005           perl/Amanda/Taper/Scribe.pm: Fix for qw syntax in perl 5.14.
2006
2007 2011-06-13  Jean-Louis Martineau <martineau@zmanda.com>
2008         * perl/Amanda/Taper/Worker.pm: s/messsage/message/.
2009
2010 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2011         * VERSION: 3.3.0
2012
2013 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2014         * configure.in: Move AMANDA_S3_DEVICE to do libcurl detection later.
2015
2016 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2017         * NEWS, ReleaseNotes: Update for 3.3.0 release.
2018
2019 2011-05-30  Jean-Louis Martineau <martineau@zmanda.com>
2020         * server-src/list_dir.c: fix add_dir_list_item.
2021
2022 2011-05-27 Dan Locks <dwlocks@zmanda.com>
2023         *  packaging/rpm/amanda.spec.src: replace enable-as-needed rpm macro
2024            with enable_as_needed.
2025
2026 2011-05-24 Dan Locks <dwlocks@zmanda.com>
2027         *  packaging/deb/rules: use --enable-as-needed
2028         *  packaging/rpm/amanda.spec.src: use --enable-as-needed except on
2029            sles9, where ld does not have the --as-needed flag.
2030
2031 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
2032         * installcheck/gnutar.pl: Fix gnutar pattern matching for gtar 1.25.
2033
2034 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
2035         * application-src/ampgsql.pl: Parse and filter stdout/stderr of
2036           commands.
2037
2038 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
2039         * server-src/driverio.c: fix non-NULL terminated argument list in
2040           vstralloc()
2041
2042 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
2043         * Fix for default BSDTCP auth.
2044
2045 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
2046         * amandad-src/amandad.c,
2047           common-src/conffile.c: Change default auth to bsdtcp.
2048         * NEWS, ReleaseNotes: Change default auth to bsdtcp.
2049         * example/amanda-client.conf.in,
2050           example/amanda.conf.in: Change default auth to bsdtcp.
2051         * man/xml-source/amanda-auth.7.xml,
2052           man/xml-source/amanda-client.conf.5.xml,
2053           man/xml-source/amanda.conf.5.xml,
2054           man/xml-source/amrecover.8.xml: Change default auth to bsdtcp.
2055
2056 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
2057         * device-src/ndmp-device.c: s/NDMP4_/NDMP9_/g
2058
2059 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
2060         * man/xml-source/amrecover.8.xml: Add an AUTH section.
2061
2062 2011-05-13  Jean-Louis Martineau <martineau@zmanda.com>
2063         * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm,
2064           perl/Amanda/Taper/Worker.pm: Remove uneeded '#! @PERL@' first line.
2065
2066 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
2067         * server-src/amdump.pl: s/Catched/Caught/
2068
2069 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
2070         * server-src/amdump.pl: Trap ctrl-c while backup is running, resume by
2071           sending email and log rotation.
2072
2073 2011-05-10  Jean-Louis Martineau <martineau@zmanda.com>
2074         * perl/Amanda/Taper/Scribe.pm: Call $device->finish() before
2075           $device->read_label(), A device must be in ACCESS_NULL for read_label.
2076
2077 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
2078         * common-src/conffile.c: Do not crash on unterminated quoted string.
2079
2080 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
2081         * application-src/amzfs-sendrecv.pl: Implement restore.
2082           Generate index with only '/'.
2083         * perl/Amanda/Application/Zfs.pm: Add $self->{filesystem} on some
2084           command, improve zfs_build_snapshotname.
2085         * server-src/list_dir.c (add_dir_list_item): Check if same dump.
2086
2087 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
2088         * common-src/local-security.c: Call initgroups before executing amandad
2089
2090 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
2091         * server-src/driver.c: Do not count dup to tape when checking space
2092           on holdingdisk.
2093
2094 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
2095         * device-src/s3.c: Do not get "location" if bucket_location is not set.
2096
2097 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
2098         * server-src/driver.c: Reply immediately a NO_NEW_TAPE if taper ask
2099           REQUEST_NEW_TAPE after it is in TAPER_STATE_DONE.
2100
2101 2011-04-27  Jean-Louis Martineau <martineau@zmanda.com>
2102         * perl/Amanda/Device.swg: Do not crash if an unknown device-property
2103           is set.
2104
2105 2011-04-26  Jean-Louis Martineau <martineau@zmanda.com>
2106         * device-src/s3-device.c: Add thread and new properties to identify
2107           the device.
2108         * device-src/s3.c: New properties to identify the device.
2109         * device-src/s3.h: New s3_open prototype.
2110         * man/xml-source/amanda-devices.7.xml: Document new properties.
2111         * NEWS, ReleaseNotes: Document new features.
2112
2113 2011-04-20  Jean-Louis Martineau <martineau@zmanda.com>
2114         * server-src/planner.c: Improve balancing if some dle have strategy
2115           noinc or a smaller dumpcycle.
2116
2117 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
2118         * server-src/amidxtaped.pl: Do the uncompress if client can't do it.
2119
2120 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
2121         * perl/Amanda/Changer.pm: new changer error: empty.
2122         * perl/Amanda/Changer/robot.pm: return empty slot.
2123         * perl/Amanda/Taper/Scan/traditional.pm: Handle empty slot.
2124
2125 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
2126         * perl/Amanda/Changer.pm: Check generated label and meta-label.
2127
2128 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
2129         * man/xml-source/amlabel.8.xml: Improve doc.
2130         * server-src/amlabel.pl: Remove spurious print.
2131
2132 2011-04-12  Jean-Louis Martineau <martineau@zmanda.com>
2133         * server-src/amadmin.c: Do not free find result string.
2134         * server-src/find.c: Use GStringChunk to store all find_dump string.
2135
2136 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
2137         * configure.in: Use AMANDA_AS_NEEDED.
2138         * config/amanda/as_needed.m4: Add --as-needed, set AS_NEEDED_FLAGS.
2139         * client-src/Makefile.am, amandad-src/Makefile.am,
2140           ndmp-src/Makefile.am, device-src/Makefile.am,
2141           application-src/Makefile.am, xfer-src/Makefile.am,
2142           server-src/Makefile.am, amar-src/Makefile.am,
2143           common-src/Makefile.am: Add AS_NEEDED_FLAGS to many *_LDFLAGS.
2144
2145 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
2146         * perl/Amanda/DB/Catalog.pm: Parse negative kb and orig-kb.
2147         * perl/Amanda/Logfile.swg: Do not write negative orig-kb.
2148
2149 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
2150         * man/xml-source/amanda-devices.7.xml: Typo.
2151
2152 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
2153         * perl/Amanda/Interactivity.pm: Add documentation.
2154
2155 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
2156         * server-src/driver.c: Fix Computation of data_lost on current and
2157           next tape.
2158
2159 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
2160         * NEWS, ReleaseNotes: Update for 3.3.0beta1.
2161
2162 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
2163         * amplot/amplot.awk: Fix for new log format, fix small -t display,
2164           fix 'set key' syntax.
2165         * amplot/amplot.g: Fix 'set data' and 'plot' syntax.
2166
2167 2011-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2168         * VERSION: 3.3.0beta1
2169
2170 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2171         * installcheck/taper.pl: Fix installcheck for 'splitting not enabled'.
2172
2173 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2174         * VERSION: 3.3.0_beta1
2175
2176 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2177         * device-src/vfs-device.c: LEOM property default to TRUE.
2178
2179 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2180         * perl/Amanda/Taper/Scribe.pm: Log 'splitting not enabled' on write
2181           failure.
2182
2183 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2184         * NEWS, ReleaseNotes: Update for 3.3.0
2185
2186 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2187         * common-src/conffile.c: Add client-name option to application and
2188                                  script
2189         * common-src/conffile.h: Add client-name option to application and
2190                                  script
2191         * perl/Amanda/Config.swg: Add APPLICATION_CLIENT_NAME and
2192                                   PP_SCRIPT_CLIENT_NAME.
2193         * common-src/amfeatures.c: Add fe_application_client_name and
2194                                    fe_script_client_name.
2195         * common-src/amfeatures.h: Add fe_application_client_name and
2196                                    fe_script_client_name.
2197         * common-src/amxml.c: Pares client_name
2198         * common-src/amxml.h: Add application_client_nake in dle_t and
2199                               client_name in script_t.
2200         * server-src/diskfile.c: Put client-name in xml output.
2201         * server-src/amcheck.c: Check client-name and fe_*_client_name.
2202         * client-src/client_util.c (merge_properties, merge_dles_properties):
2203                                     new function.
2204         * client-src/client_util.h (merge_properties, merge_dles_properties):
2205                                     new prototype.
2206         * client-src/selfcheck.c, client-src/sendbackup.c,
2207           client-src/sendsize.c: Call merge_dles_properties to merge properties
2208         * man/xml-source/amanda-client.conf.5.xml,
2209           man/xml-source/amanda.conf.5.xml: Document client-name.
2210         * recover-src/extract_list.c: merge properties.
2211         * NEWS: Add new features.
2212
2213 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
2214         * application-src/amlog-script.pl: Remove warning of unused variable.
2215
2216 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
2217         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
2218           server-src/amidxtaped.pl, server-src/amrestore.pl: Use int().
2219
2220 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
2221         * xfer-src/filter-process.c: Call g_critical if pipe() fail.
2222
2223 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
2224         Change the Amanda:Xfer::Filter::Process api, it always create a pipe
2225         for the process stderr, the callers must read from it. Callers can send
2226         it to debug file, stderr or to amrecover.
2227         * installcheck/Amanda_Xfer.pl: Change for new AXF::Process API.
2228         * perl/Amanda/Xfer.pod: Document new AXF::Process API.
2229         * perl/Amanda/Xfer.swg: Change for new AXF::Process API.
2230         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
2231           server-src/amrestore.pl: Use new AXF::Process API, send it to stderr
2232           and debug file.
2233         * server-src/amidxtaped.pl: Use new AXF::Process API, send it to debug
2234           file and amrecover.
2235         * xfer-src/filter-process.c: Remove log_stderr argument of
2236           xfer_filter_process, add new get_err_fd method.
2237         * xfer-src/xfer-element.h: Change xfer_filter_process prototype.
2238
2239 2011-03-27  Dustin J. Mitchell <dustin@mozilla.com>
2240         * perl/Amanda/Util.swg: revert previous patch
2241         * gnulib/Makefile.am gnulib/fsusage.h
2242           gnulib/regenerate/fsusage-no-bool.patch gnulib/regenerate/regenerate:
2243           patch fsusage.h to not use stdbool
2244         * device-src/vfs-device.c: don't use 'false' and 'true' (from stdbool)
2245
2246 2011-03-26  Dustin J. Mitchell <dustin@mozilla.com>
2247         * perl/Amanda/Util.swg: include fsusage.h early in the generated C
2248           to avoid problems with SWIG #undefine-ing 'bool' on Mac OS X with
2249           the system-installed Perl
2250
2251 2011-03-25  Jan Görig <jgorig@redhat.com>
2252         * config/amanda/krb5-security.m4: fix linking against wrong libraries
2253           on systems where krb5 directory is libdir and amanda is installed
2254
2255 2011-03-25  Jean-Louis Martineau <martineau@zmanda.com>
2256         * server-src/driver.c: Fix iteration over a list it modify.
2257
2258 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
2259         * application-src/amstar.c: read include_list and pass each line as
2260           argument for restore operation.
2261
2262 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
2263         * application-src/amgtar.c: Cast with off_t.
2264         * application-src/amstar.c: Cast with off_t.
2265
2266 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
2267         * application-src/amstar.c: Add ACL property.
2268         * man/xml-source/amstar.8.xml: Document ACL property.
2269
2270 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
2271         * config/amanda/dumpers.m4: Add AMANDA_PROG_SUNTAR, --with-suntar=??
2272         * configure.in: Use AMANDA_PROG_SUNTAR.
2273         * perl/Amanda/Constants.pm.in: Define $Amanda::Constants::SUNTAR
2274         * application-src/amsuntar.pl: Use $Amanda::Constants::SUNTAR,
2275                                        Add SUNTAR-PATH property.
2276         * man/xml-source/amsuntar.8.xml: Document SUNTAR-PATH property.
2277
2278 2011-03-15  Jean-Louis Martineau <martineau@zmanda.com>
2279         * server-src/find.c: Compute maxparts from the list of part.
2280
2281 2011-03-11  Jean-Louis Martineau <martineau@zmanda.com>
2282         * perl/Amanda/Taper/Scribe.pm: If leom is supported by device,
2283           then the dle can be split.
2284         * perl/Amanda/Taper/Worker.pm: Send leom setting to
2285           get_splitting_args_from_config.
2286         * server-src/planner.c: dle can use more than one tape if allow-split
2287           is set, this is to handle leom device where splitsize can be 0.
2288
2289 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
2290         * perl/Amanda/Changer/disk.pm: Use -l to check symlink existance.
2291
2292 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
2293         * server-src/amadmin.c: export quote host and disk name, import parse
2294           quoted host and disk name.
2295
2296 2011-03-09  Jean-Louis Martineau <martineau@zmanda.com>
2297         * ReleaseNotes, NEWS: Add changes for 3.2.2 and 3.3.0.
2298
2299 2011-03-08  Jean-Louis Martineau <martineau@zmanda.com>
2300         * application-src/amsamba.pl: Use smbclient -TF for restore.
2301
2302 2011-03-07  Jean-Louis Martineau <martineau@zmanda.com>
2303         * server-src/amtrmidx.c: Fix memory leak.
2304
2305 2011-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2306         * common-src/amservice.c; Moved from server-src/amservice.c
2307         * server-src/amservice.c: Moved to server-src/amservice.c
2308         * common-src/Makefile.am: Add amservice
2309         * man/Makefile.am: Install amservice man page on client.
2310         * server-src/Makefile.am: Remove amservice
2311
2312 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2313         * perl/Amanda/Changer.pm (make_new_tape_label): Fix if $tle is undef.
2314         * perl/Amanda/ScanInventory.pm: Call _user_msg with label argument.
2315         * perl/Amanda/Taper/Scan.pm: Document new user_msg_fn argument.
2316         * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on various
2317           tape error.
2318         * perl/Amanda/Taper/Scribe.pm (_user_msg_fn): Call
2319           scribe_notif_log_info with error message.
2320         * perl/Amanda/Taper/Worker.pm: Log error in scribe_notif_new_tape.
2321         * installcheck/Installcheck/Config.pm: Add taperscan definition.
2322         * installcheck/taper.pl: Test new log.
2323
2324 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2325         * perl/Amanda/Header.swg: Remove bogus %module.
2326
2327 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2328         * common-src/amfeatures.c: Add fe_amrecover_receive_unfiltered.
2329         * common-src/amfeatures.h: Add fe_amrecover_receive_unfiltered.
2330         * perl/Amanda/Feature.pod: Add fe_amrecover_receive_unfiltered.
2331         * perl/Amanda/Header.swg: Add get_dle method, handle dle_t.
2332         * recover-src/extract_list.c: Pipe decompression or decyption.
2333         * server-src/amidxtaped.pl: Do not decompress/decrypt if amrecover
2334                                     can do it.
2335
2336 2011-02-14  Jean-Louis Martineau <martineau@zmanda.com>
2337         * server-src/driver.c: flush even if flush threshold are not met if
2338           it save tape space.
2339
2340 2011-02-03  Jean-Louis Martineau <martineau@zmanda.com>
2341         * perl/Amanda/Taper/Scribe.pm: get_splitting_args_from_config() always
2342           return 'allow_split', get_xfer_dest() take a allow_split param,
2343           set $self->{'allow_split'}, Abort a dump on EOM if splitting is
2344           not allowed.
2345         * perl/Amanda/Taper/Worker.pm: Do not set can_cache_inform if splitting
2346           is not allowed.
2347         * installcheck/Amanda_Taper_Scribe.pl: Fix for previous change.
2348         * installcheck/taper.pl: Test that dump are aborted on EOM.
2349
2350 2011-02-01  Jean-Louis Martineau <martineau@zmanda.com>
2351         Patch by Jan Görig
2352         * server-src/amrestore.pl: Allow to go to next file with -p.
2353
2354 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
2355         * perl/Amanda/Logfile.swg: "%lld" do not works with perl-5.6.
2356
2357 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
2358         * server-src/amdumpd.pl: Add CHECK command.
2359         * client-src/amdump_client.pl: Add check command.
2360         * man/xml-source/amdump_client.8.xml: Document check command.
2361
2362 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
2363         * server-src/driver.c: Parse 'bytes' in reply.
2364
2365 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
2366         * server-src/driver.c: Fix taperalog *FIT no going to second volume.
2367
2368 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
2369         * perl/Amanda/Logfile.swg: print 'bytes' with 64 bits type.
2370
2371 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
2372         * perl/Amanda/Logfile.swg: kb must be integer.
2373
2374 2011-01-24  Jean-Louis Martineau <martineau@zmanda.com>
2375         * server-src/amcheckdump.pl: Do not quit the clerk if it is not defined
2376
2377 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
2378         * server-src/amdumpd.pl: Execute "$sbindir/amdump"
2379
2380 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
2381         * installcheck/Amanda_Config.pl: Check recovery-limit, dump-limit,
2382           amdump-server, index-server, tape-server.
2383         * installcheck/Makefile.am: Add amdump_client.
2384         * installcheck/amdump_client.pl: Test new amdump_client program.
2385
2386 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
2387         * client-src/Makefile.am: Add amdump_client.
2388         * client-src/amdump_client.pl: New client program.
2389         * common-src/conffile.c: Add amdump-server in client config file.
2390         * common-src/conffile.h: Add CNF_AMDUMP_SERVER
2391         * perl/Amanda/Config.swg: Add CNF_AMDUMP_SERVER
2392         * man/Makefile.am: Add amdump_client.8.
2393         * man/xml-source/amdump_client.8.xml: New man page for amdump_client.
2394
2395 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
2396         * amandad-src/amandad.c: Add SERVICE_AMDUMPD, All service are active
2397           by default for rsh, ssh and local auth.
2398         * common-src/conffile.c: Add dump-limit dumptype option.
2399         * common-src/conffile.h: Add dump-limit dumptype option.
2400         * man/xml-source/amanda.conf.5.xml: Document new dump-limit option.
2401         * common-src/local-security.c, common-src/rsh-security.c,
2402           common-src/ssh-security.c: Do not add the service on the command line
2403         * perl/Amanda/Config.swg: swig dump-limt
2404         * server-src/Makefile.am: Add amdumpd perl script.
2405         * server-src/amadmin.c (disklist_one): Print dump-limit.
2406         * server-src/amdumpd.pl: New deamon script.
2407         * server-src/amdump.pl: New --from-client option.
2408         * server-src/diskfile.h: Add dump_limit in disk_t.
2409         * server-src/diskfile.c: Set dump_limit.
2410         * server-src/driver.c: New --from-client option.
2411         * server-src/planner.c: New --from-client option.
2412
2413 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
2414         * common-src/conffile.c: Rename *recovery_limit* *host_limit*,
2415           add 'server' in a host-limit.
2416         * common-src/conffile.h: Rename.
2417         * common-src/local-security.c: Use
2418           sec_get_authenticated_peer_name_gethostname.
2419         * common-src/security-util.c:
2420           New sec_get_authenticated_peer_name_gethostname function to return
2421           gethostname.
2422         * common-src/security-util.h: New prototype.
2423         * man/xml-source/amanda.conf.5.xml: Document 'server' for
2424           recovery-limit.
2425         * perl/Amanda/Config.swg: Return $Amanda::Config::LIMIT_SAMEHOST
2426           same-host, return $Amanda::Config::LIMIT_SERVER for server.
2427         * server-src/amidxtaped.pl: Use $Amanda::Config::LIMIT_SAMEHOST and
2428           $Amanda::Config::LIMIT_SERVER.
2429         * server-src/amindexd.c: Use 'server' value.
2430         * installcheck/Amanda_Config.pl: Fix for change.
2431
2432 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
2433         * server-src/driver.c: Fix driver doing nothing if taper crash early.
2434
2435 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
2436         * xfer-src/source-pattern.c: remove duplicate test
2437
2438 2011-01-20  Dustin J. Mitchell <dustin@mozilla.com>
2439         * man/xml-source/amanda-interactivity.7.xml
2440           man/xml-source/amanda-taperscan.7.xml
2441           man/xml-source/amanda.conf.5.xml: copyediting
2442         * perl/Amanda/Interactivity/tty_email.pm: fix POD to indicate
2443           the nature of the class
2444
2445 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
2446         * man/xml-source/amservice.8.xml: typo, </programlisting> must be at
2447           the beginning of a line.
2448
2449 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
2450         * server-src/amservice.c: Use full_write, check for error.
2451
2452 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
2453         * server-src/diskfile.c: Do not report error if a dle is listed twice
2454           in argument list.
2455         * installcheck/amadmin.pl: Test it.
2456
2457 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
2458         * server-src/amservice.c: Add -s option.
2459         * man/xml-source/amservice.8.xml: Document -s option.
2460
2461 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
2462         * installcheck/Amanda_Taper_Scan_lexical.pl,
2463           installcheck/Amanda_Taper_Scan_oldest.pl: Fix for perl-5.6.
2464
2465 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
2466         * common-src/conffile.c: Add interactivity and taperscan section.
2467         * common-src/conffile.h: Add interactivity and taperscan section.
2468         * perl/Amanda/Config.swg: Add interactivity and taperscan.
2469         * example/amanda.conf.in: Add interactivity and taperscan example.
2470         * man/Makefile.am: Add new amanda-interactivity.7
2471         * man/xml-source/amanda-interactivity.7.xml: Document interactivity.
2472         * man/xml-source/amanda-taperscan.7.xml: Document new taperscan.
2473         * man/xml-source/amanda.8.xml: Add link to amanda-interactivity man
2474                                        page.
2475         * man/xml-source/amanda.conf.5.xml: Document interactivity and
2476                                             taperscan section.
2477         * perl/Amanda/Changer.pm (new): Take tapelist, labelstr, autolabel and
2478           meta_autolabel arguments.
2479         * perl/Amanda/Changer.pm (volume_is_labelable, make_new_meta_label, 
2480           make_new_tape_label, have_inventory: New method.
2481         * perl/Amanda/Interactive.pm: Renamed
2482         * perl/Amanda/Interactive/stdin.pm: Renamed
2483         * perl/Amanda/Interactivity.pm: Copy of Interactive.pm:
2484         * perl/Amanda/Interactivity/stdin.pm: Copy of Interactive/stdin.pm.
2485         * perl/Amanda/Interactivity/email.pm: New interactivity module.
2486         * perl/Amanda/Interactivity/tty.pm: New interactivity module.
2487         * perl/Amanda/Interactivity/tty_email.pm: New interactivity module.
2488         * perl/Amanda/Recovery/Scan.pm: s/Interactive/Interactivity/.
2489         * perl/Amanda/ScanInventory.pm: Base class for scan algorithm.
2490         * perl/Amanda/Tapelist.swg (add_tapelabel): Do the add in order.
2491         * perl/Amanda/Taper/Controller.pm: Use interactivity and taperscan.
2492         * perl/Amanda/Taper/Scan.pm: Allow plugable module.
2493         * perl/Amanda/Taper/Scan/lexical.pm: new scan algorithm.
2494         * perl/Amanda/Taper/Scan/oldest.pm: new scan algorithm.
2495         * perl/Makefile.am: Add new files.
2496         * server-src/amcheck-device.pl: Use interactivity and taperscan.
2497         * server-src/amcheckdump.pl: Use interactivity and taperscan.
2498         * server-src/amfetchdump.pl: Use interactivity and taperscan.
2499         * server-src/amidxtaped.pl: Use interactivity and taperscan.
2500         * server-src/amtape.pl: Use interactivity and taperscan.
2501         * server-src/amvault.pl: Use interactivity and taperscan.
2502         * installcheck/Amanda_Changer.pl: Test new methods.
2503         * installcheck/Amanda_Changer_compat.pl: Test have_inventory.
2504         * installcheck/Amanda_Changer_disk.pl: Test have_inventory.
2505         * installcheck/Amanda_Changer_multi.pl: Test have_inventory.
2506         * installcheck/Amanda_Changer_ndmp.pl: Test have_inventory.
2507         * installcheck/Amanda_Changer_null.pl: Test have_inventory.
2508         * installcheck/Amanda_Changer_rait.pl: Test have_inventory.
2509         * installcheck/Amanda_Changer_robot.pl: Test have_inventory.
2510         * installcheck/Amanda_Config.pl: Test new interactivity and taperscan
2511           section.
2512         * installcheck/Amanda_Recovery_Scan.pl: s/Interactive/Interactivity/
2513         * installcheck/Amanda_Tapelist.pl: test new add_tapelabel behavior.
2514         * installcheck/Amanda_Taper_Scan_lexical.pl: Test new module.
2515         * installcheck/Amanda_Taper_Scan_oldest.pl: Test new module.
2516         * installcheck/Installcheck/Config.pm (add_interactivity,
2517           add_taperscan): New methods.
2518         * installcheck/Makefile.am: Add new files.
2519
2520 2011-01-17  Francis Galiegue <fgaliegue@gmail.com>
2521         * xfer-src/element-glue.c: fix memory leak in read_and_push()
2522
2523 2011-01-16  Francis Galiegue <fgaliegue@gmail.com>
2524         * xfer-src/element-glue.c xfer-src/filter-xor.c
2525           xfer-src/xfer-element.c xfer-src/xfer-element.h: xfer: rename
2526           xfer_element_drain* utility functions - Both functions are used to
2527           pulling data from an upstream element, either buffers or reading a
2528           file descriptor, until it is "empty". 
2529
2530 2011-01-14  Jean-Louis Martineau <martineau@zmanda.com>
2531         * ndmp-src/amndma_tape_simulator.c: Use full_read.
2532         * ndmp-src/ndma_tape.c: Use ndmchan_n_avail_record to guarantee space
2533           for a record.
2534         * ndmp-src/ndml_chan.c (ndmchan_n_avail_record): New function.
2535         * ndmp-src/ndmlib.h  (ndmchan_n_avail_record): New prototype.
2536
2537 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
2538         * xfer-src/source-pattern.c: xfer-src/source-pattern.c: externalize
2539           pattern copying
2540
2541 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
2542         * xfer-src/element-glue.c: xfer-src/element-glue.c: fix memory leak in
2543           pull_buffer_impl()
2544
2545 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
2546         * xfer-src/xfer-element.h: xfer: define XFER_NROPS() and
2547           XFER_NTHREADS() macros
2548         * xfer-src/dest-buffer.c xfer-src/dest-directtcp-connect.c
2549           xfer-src/dest-directtcp-listen.c xfer-src/dest-fd.c
2550           xfer-src/dest-null.c xfer-src/element-glue.c xfer-src/filter-process.c
2551           xfer-src/filter-xor.c xfer-src/source-directtcp-connect.c
2552           xfer-src/source-directtcp-listen.c xfer-src/source-fd.c
2553           xfer-src/source-pattern.c xfer-src/source-random.c
2554           xfer-src/xfer-test.c: use them
2555
2556 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
2557         * common-src/match.c: match.c: rename ammtch_to_regex() into
2558           amglob_to_regex()
2559
2560 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
2561         * common-src/match.c: match.c: rename full_regex_from_expression() to
2562           full_amglob_from_expression()
2563
2564 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
2565         * server-src/planner.c: Change message of "timeout waiting for REP" to
2566           "Some estimate timeout on %s, using server estimate if possible".
2567
2568 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
2569         * man/xml-source/amanda-scripts.7.xml: Document script output property.
2570
2571 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2572         * common-src/match.c: match.c: rework regex generation from globs
2573
2574 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2575         * common-src/match.c: match.c: match_word(): change the way regex
2576           begin and end are calculated/copied
2577
2578 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2579         * common-src/match.c: match.c: better handling of "separator only"
2580           globs in match_word()
2581
2582 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2583         * common-src/match.c: match.c: move glob/disk backslash substitution
2584           out of match_word()
2585
2586 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2587         * common-src/match.c: match.c: factorize regex construction from
2588           expression
2589
2590 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2591         * common-src/match.c: match.c: factorize character escaping in
2592           make_exact_*_expression()
2593
2594 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2595         * common-src/match.c: match.c: factorize regex matching
2596         * common-src/match.h: make match and match_no_newline into
2597           macros calling do_match
2598
2599 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2600         * common-src/match.c: match.c: factorize regex compile
2601
2602 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2603         * common-src/match.c: match.c: match_host(): use g_ascii_strdown() to
2604           convert to lowercase
2605
2606 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2607         * common-src/match.c: match.c: fix '*' and '?' expansion in
2608           match_word()
2609
2610 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2611         * common-src/match.c: match.c: define a macro to recognize regex
2612           metacharacters
2613
2614 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2615         * common-src/match.c: match.c: match_host(): remove unneeded cast
2616
2617 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2618         * common-src/match.c: match.c: match_word(): rename "i" local variable
2619           to "ret"
2620
2621 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2622         * common-src/match.c: match.c: match_word(): rename two local
2623           variables. Rename r to dst, and w to src, in order to clarify their
2624           roles.
2625
2626 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2627         * common-src/match.c: match.c: match_word(): remove unused assignment
2628
2629 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
2630         * application-src/amgtar.c, application-src/amstar.c: Do not call
2631           amname_to_dirname.
2632
2633 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
2634         * common-src/bsd-security.c: Check input fd is a socket.
2635
2636 2011-01-07  Dustin J. Mitchell <dustin@mozilla.com>
2637         * common-src/testutils.c: use %ju instead of %lu to print big numbers
2638
2639 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
2640         * testutils.c: report time of execution for each test
2641
2642 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
2643         * common-src/testutils.c: add -c <count> option to run tests more than
2644           once
2645
2646 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
2647         * testutils.c: create a run_one_test() function The way to run a test
2648           is the same, whether we fork() or not. Make that a function.
2649
2650 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
2651         * common-src/testutils.c: testutils.c: externalize test behaviour
2652           variables
2653
2654 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
2655         * common-src/amflock-test.c common-src/event-test.c
2656           common-src/fileheader-test.c common-src/hexencode-test.c
2657           common-src/ipc-binary-test.c common-src/match-test.c
2658           common-src/quoting-test.c: Ensure all tests return gbooleans.  Most,
2659           if not all, tests returned ints, and quite a few of them returned TRUE
2660           or FALSE. While the effect is basically the same as a gboolean, make
2661           all tests return a gboolean for coherency, since this is what
2662           callinfork() expects anyway.
2663         * common-src/testutils.c: Also enforce that callinfork() return that
2664           type, which, in turn, allows the "success" local variable in
2665           testutil_run_tests() to also be converted.
2666
2667 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
2668         * common-src/testutils.c: convert ints to gbooleans where appropriate;
2669           run_all, tu_debugging_enabled and ignore_timeouts are all used as
2670           gbooleans in the code even though they are declared as ints. Convert
2671           them to booleans, and also change declarations.
2672
2673 2011-01-05  Jean-Louis Martineau <martineau@zmanda.com>
2674         * perl/Amanda/Xfer.pod: new offset and size arguments of xfer->start.
2675         * perl/Amanda/Xfer.swg: Add xfer_element_set_size.
2676
2677 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
2678         * device-src/xfer-source-recovery.c: Never send more than the number
2679           of bytes requested.
2680         * perl/Amanda/Xfer.swg (xfer_start): New offset and size arguments.
2681         * xfer-src/xfer-element.c: Add set_size method.
2682         * xfer-src/xfer-element.h (XferElement): Add size field.
2683         * xfer-src/xfer-test.c: Add offset=0 and size=0 to xfer_start call.
2684         * xfer-src/xfer.c (xfer_start): Add offset and size arguments. Call
2685           xfer_element_set_size for the first element if size is set.
2686         * xfer-src/xfer.h (xfer_start): New prototype.
2687         * server-src/amfetchdump.pl, server-src/amidxtaped.pl,
2688           server-src/amvault.pl: Call xfer->start() with offset and size
2689           arguments.
2690
2691 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
2692         * perl/Amanda/Logfile.swg: Print size in bytes for taper log.
2693         * server-src/find.h (find_result_t): Add bytes.
2694         * server-src/find.c: Parse 'bytes' in 'log' file.
2695         * perl/Amanda/Report.pm: Parse 'bytes' in 'log' file.
2696         * perl/Amanda/DB/Catalog.pm: Parse 'bytes' in 'log' file.
2697         * server-src/amstatus.pl: Parse 'bytes' in 'amdump' log file.
2698         * installcheck/Amanda_DB_Catalog.pl: Fix for log file format change.
2699         * installcheck/taper.pl: Fix for log file format change.
2700
2701 2011-01-03  Jean-Louis Martineau <martineau@zmanda.com>
2702         * example/template.d/advanced.conf.in: Remove dumpuser.
2703         * server-src/amaddclient.pl: mkdir -p
2704         * server-src/amserverconfig.pl: Print dumpuser, Print the
2705           authorized_keys file location based on $amhomedir
2706
2707 2010-12-27 Dan Locks <dwlocks@zmanda.com>
2708         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add missing
2709            amservice entry to set perms at install time. Thanks to vpatton for
2710            finding this.
2711
2712 2010-12-23  Dustin J. Mitchell <dustin@mozilla.com>
2713         * client-src/client_util.c: improve error message when no includes
2714           match on disk
2715
2716 2010-12-23  Jean-Louis Martineau <martineau@zmanda.com>
2717         * perl/Amanda/Script_App.pm: Add FAILURE.
2718
2719 2010-12-21  Jean-Louis Martineau <martineau@zmanda.com>
2720         * perl/Amanda/Taper/Scribe.pm: Use 'blocksize' to compute the
2721           available space.
2722
2723 2010-12-20  Jean-Louis Martineau <martineau@zmanda.com>
2724         * server-src/find.c: Fix parsing 'PARTIAL taper' line with no part.
2725         * perl/Amanda/DB/Catalog.pm: Ditto
2726
2727 2010-12-16  Jean-Louis Martineau <martineau@zmanda.com>
2728         * amar-src/amar.c: Don't fail on trailing NUL bytes.
2729
2730 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
2731         * common-src/ssh-security.c: Use client_port.
2732
2733 2010-12-14  Daniel Néri <dne@mayonnaise.net>
2734         * application-src/ampgsql.pl: Don't assume that gtar is configured to
2735           use stdin/stdout as default archive.
2736
2737 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
2738         * server-src/amidxtaped.pl: Don't crash if same-host doesn't match.
2739
2740 2010-12-13  Jean-Louis Martineau <martineau@zmanda.com>
2741         * perl/Amanda/Interactive.pm: rename finished_cb to request_cb.
2742         * installcheck/Amanda_Recovery_Scan.pl,
2743           perl/Amanda/Interactive/stdin.pm,
2744           perl/Amanda/Recovery/Scan.pm, server-src/amcheckdump.pl,
2745           server-src/amfetchdump.pl, server-src/amidxtaped.pl,
2746           server-src/amvault.pl: s/finished_cb/request_cb/
2747
2748 2010-12-12  Jean-Louis Martineau <martineau@zmanda.com>
2749         * perl/Amanda/Changer/disk.pm: inventory must return the same as
2750                                        read_label.
2751         * server-src/amtape.pl: Fix for new inventory.
2752         * installcheck/Amanda_Changer_disk.pl: Fix for new inventory.
2753         * installcheck/Amanda_Changer_rait.pl: Fix for new inventory.
2754
2755 2010-12-11  Daniel Néri <dne@mayonnaise.net>
2756         * application-src/ampgsql.pl: Don't assume that gtar is configured to
2757           use stdin/stdout as default archive
2758
2759 2010-12-11  Daniel Néri <dne@mayonnaise.net>
2760         * application-src/ampgsql.pl: Use diskname, not devicename, as prefix
2761           when checking for properties. Now works as documented in the ampgsql
2762           man page.
2763
2764 2010-12-10 Dan Locks <dwlocks@zmanda.com>
2765         *  packaging/deb/control: move gnuplot to Suggests: and swap the order
2766
2767 2010-12-10  David Bogen <bogen@wisc.edu>
2768         * server-src/amoverview.pl: fix amoverview's argument parsing
2769
2770 2010-12-10  Jean-Louis Martineau <martineau@zmanda.com>
2771         * server-src/amcheck-device.pl: Fix possible hang if
2772           Amanda::MainLoop::quit is called before Amanda::MainLoop::run.
2773         * perl/Amanda/Changer.pm: Return the error.
2774
2775 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
2776         * server-src/driver.c: Check if taper is flushing something before
2777           moving a dle to directq.
2778
2779 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
2780         * device-src/xfer-dest-taper-cacher.c: Print why the malloc failed.
2781
2782 2010-12-08  Dustin J. Mitchell <dustin@mozilla.com>
2783         * common-src/glib-util.c common-src/glib-util.h: do not define
2784           symbol g_slist_free_full, as it exists in glib-2.27 and higher;
2785           use slist_free_full, and alias that to g_slist_free_full when
2786           building against glib-2.28 or higher.
2787         * client-src/client_util.c: make g_slist_free_full_gpointer into
2788           a local, static function
2789         * common-src/amxml.c common-src/conffile.c recover-src/extract_list.c
2790           server-src/amadmin.c server-src/amflush.c server-src/cmdline.c
2791           server-src/cmdline.h server-src/find.c server-src/holding.c
2792           server-src/planner.c: rename function
2793
2794 2010-12-07 Dan Locks <dwlocks@zmanda.com>
2795         *  packaging/rpm/amanda.spec.src: remove manual library requires and
2796            set curl vs libcurl based on distro.
2797
2798 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
2799         * common-src/util.c: s/HAVE_READLINE/HAVE_LIBREADLINE/
2800         * config/amanda/readline.m4: s/HAVE_READLINE/HAVE_LIBREADLINE/
2801
2802 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
2803         * config/amanda/readline.m4: Merge with latest AX_LIB_READLINE.
2804         * common-src/util.h: Fix for latest AX_LIB_READLINE.
2805
2806 2010-12-06 Dan Locks <dwlocks@zmanda.com>
2807         *  packaging/rpm/amanda.spec.src: remove libtermcap.so.2 requirement
2808            for newer distros.
2809
2810 2010-12-06  Jean-Louis Martineau <martineau@zmanda.com>
2811         * server-src/server_util.c (internal_server_estimate): Do not use
2812           level 0 estimate if is not available.
2813
2814 2010-12-04  Jean-Louis Martineau <martineau@zmanda.com>
2815         * server-src/dumper.c: Put them in AMANDA_DBGDIR/log.error
2816
2817 2010-12-03  Jean-Louis Martineau <martineau@zmanda.com>
2818         * server-src/dumper.c: Put error message in separate files to
2819           reduce the size of the log file.
2820
2821 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
2822         * server-src/chunker.c, xfer-src/element-glue.c: Prefer IPV4 over IPV6.
2823
2824 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
2825         * common-src/directtcp.h: DirectTCPAddr is a sockaddr_union.
2826         * common-src/sockaddr-util.c (str_sockaddr_no_port): new function.
2827         * common-src/sockaddr-util.h (str_sockaddr_no_port): New prototype.
2828         * perl/amglue/directtcp.swg: Swig new DirectTCPAddr.
2829         * server-src/dumper.c: Parse IPV6 in dataport_list.
2830         * ndmp-src/ndmpconnobj.c, perl/Amanda/Device.swg,
2831           perl/Amanda/Taper/Worker.pm, perl/Amanda/Xfer.swg,
2832           server-src/chunker.c, xfer-src/dest-directtcp-connect.c,
2833           xfer-src/element-glue.c, xfer-src/source-directtcp-connect.c,
2834           xfer-src/source-directtcp-listen.c, xfer-src/xfer-element.h,
2835           xfer-src/xfer-test.c: Use new DirectTCPAddr.
2836
2837 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
2838         * common-src/conffile.c: Add pre-amcheck, post-amcheck, pre-estimate,
2839           post-estimate, pre-backup and post-backup to execute-on of script.
2840         * common-src/conffile.h: Add EXECUTE_ON_* constants.
2841         * application-src/amlog-script.pl: Add new execute-on.
2842         * common-src/amxml.c: Parse new execute-on.
2843         * man/xml-source/amanda.conf.5.xml: Document them.
2844         * perl/Amanda/Config.swg: Add new EXECUTE_ON_* constants.
2845         * perl/Amanda/Script.pm: Add new execute-on.
2846         * server-src/amcheck.c: Call run_server_global_scripts.
2847         * server-src/diskfile.c (get_hostlist): Return the host list.
2848         * server-src/diskfile.h (get_hostlist): Add prototype.
2849         * server-src/driver.c: Call run_server_global_scripts.
2850         * server-src/planner.c: Call run_server_global_scripts.
2851         * server-src/server_util.c (run_server_global_scripts): New function.
2852         * server-src/server_util.h (run_server_global_scripts): Prototype.
2853
2854 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
2855         * server-src/server_util.c: Search scripts in APPLICATION_DIR,
2856           CONFIG_DIR/<conf>/application and CONFIG_DIR/application.
2857
2858 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
2859         * common-src/conffile.c: Add SINGLE-EXECUTION in scripts.
2860         * common-src/conffile.h: Add pp_script_get_single_execution.
2861         * installcheck/pp-scripts.pl: Test single-execution.
2862         * man/xml-source/amanda.conf.5.xml: Document single-execution.
2863         * perl/Amanda/Config.swg: Add PP_SCRIPT_SINGLE_EXECUTION.
2864         * server-src/server_util.c: Add run_server_host_scripts,
2865           rename run_server_scripts to run_server_dle_scripts.
2866         * server-src/server_util.h: New prototype.
2867         * server-src/amcheck.c, server-src/driver.c,
2868           server-src/planner.c: Call new functions.
2869
2870 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
2871         * installcheck/amreport.pl: Fix for previous patch.
2872
2873 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
2874         * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
2875           man/xml-source/amcheckdump.8.xml, man/xml-source/amdevcheck.8.xml,
2876           man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
2877           man/xml-source/amflush.8.xml, man/xml-source/amgetconf.8.xml,
2878           man/xml-source/amlabel.8.xml, man/xml-source/amoverview.8.xml,
2879           man/xml-source/amrecover.8.xml, man/xml-source/amreport.8.xml,
2880           man/xml-source/amservice.8.xml, man/xml-source/amstatus.8.xml,
2881           man/xml-source/amtape.8.xml: Fix synopsis.
2882         * device-src/amdevcheck.pl, server-src/amadmin.c,
2883           server-src/amcheckdump.pl, server-src/amlabel.pl,
2884           server-src/amoverview.pl, server-src/amreport.pl,
2885           server-src/amstatus.pl, server-src/amtape.pl: Fix usage.
2886
2887 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
2888         * common-src/conffile.c: Print configuration option with '-'.
2889         * installcheck/Amanda_Config.pl: Fix for '-'.
2890
2891 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
2892         * perl/make_html.pl: make relative url in index.html.
2893
2894 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
2895         * perl/make_html.pl: Add amanda version in html headers and footers.
2896
2897 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
2898         * man/xslt/html.xsl.in: Include Amanda version in HTML headers.
2899
2900 2010-11-22  Jean-Louis Martineau <martineau@zmanda.com>
2901         * device-src/Makefile.am: activate-devpay needs gnulib.
2902
2903 2010-11-18 Dan Locks <dwlocks@zmanda.com>
2904         *  packaging/rpm/amanda.spec.src: quote both items in boolean
2905            comparison to avoid type mismatch.
2906
2907 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2908         * common-src/conffile.c: Add CONFTYPE_NO_YES_ALL, change type for
2909           autoflush.
2910         * common-src/conffile.h: Add CONFTYPE_NO_YES_ALL.
2911         * man/xml-source/amanda.conf.5.xml: New autoflush option.
2912         * perl/Amanda/Config.swg: Add CONFTYPE_NO_YES_ALL.
2913         * server-src/amcheck.c: Use new value of autoflush.
2914         * server-src/planner.c: Use new value of autoflush.
2915
2916 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2917         * server-src/driver.c: Correctly handle INPUT-ERROR and TAPE-ERROR.
2918
2919 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2920         * device-src/xfer-dest-taper-cacher.c,
2921           device-src/xfer-dest-taper-splitter.c: Cancel in correct order.
2922           Other thread own self->state_mutex while it wait for self->ring* or
2923           self->slab*
2924
2925 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2926         * device-src/xfer-dest-taper-cacher.c,
2927           device-src/xfer-dest-taper-splitter.c: Always call device_finish_file
2928           if device_start_file succeed.
2929
2930 2010-11-16 Dan Locks <dwlocks@zmanda.com>
2931         *  packaging/rpm/amanda.spec.src: add rhel6 stanza to distro detection
2932
2933 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2934         * installcheck/Amanda_Changer_single.pl: Typo.
2935         * server-src/amtape.pl: Typo.
2936
2937 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2938         * server-src/find.c: Keep the complete error message.
2939
2940 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2941         * perl/Amanda/Changer/disk.pm: new MOUNT, UMOUNT, UMOUNT-LOCKFILE and
2942                                        UMOUNT-IDLE properties.
2943         * man/xml-source/amanda-changers.7.xml: Add new chg-disk property.
2944         * NEWS: Add new chg-disk property.
2945
2946 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2947         * perl/Amanda/Changer.pm: Add quit method.
2948         * perl/Amanda/Changer/aggregate.pm: Add quit method.
2949         * perl/Amanda/Changer/rait.pm: Add quit method.
2950         * perl/Amanda/Recovery/Clerk.pm: Call scan quit method.
2951         * perl/Amanda/Recovery/Scan.pm: Add quit method.
2952         * perl/Amanda/Taper/Controller.pm: Call scan quit method.
2953         * perl/Amanda/Taper/Scan.pm: Add quit method.
2954         * perl/Amanda/Taper/Scribe.pm: finished_cb to Add scribe_notif_tape_done
2955         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
2956           server-src/amidxtaped.pl, server-src/amlabel.pl,
2957           server-src/amrestore.pl, server-src/amrmtape.pl,
2958           server-src/amtape.pl: Call scan/changer quit method.
2959         * server-src/amvault.pl scribe_notif_tape_done with finished_cb.
2960         * installcheck/Amanda_Changer.pl,
2961           installcheck/Amanda_Changer_compat.pl,
2962           installcheck/Amanda_Changer_disk.pl,
2963           installcheck/Amanda_Changer_multi.pl,
2964           installcheck/Amanda_Changer_ndmp.pl,
2965           installcheck/Amanda_Changer_null.pl,
2966           installcheck/Amanda_Changer_rait.pl,
2967           installcheck/Amanda_Changer_robot.pl,
2968           installcheck/Amanda_Changer_single.pl,
2969           installcheck/Amanda_Recovery_Clerk.pl,
2970           installcheck/Amanda_Recovery_Scan.pl,
2971           installcheck/Amanda_Taper_Scan.pl,
2972           installcheck/Amanda_Taper_Scan_traditional.pl,
2973           installcheck/Amanda_Taper_Scribe.pl,
2974           installcheck/amvault.pl: Add call to scan/changer quit method.
2975
2976 2010-11-12  Jean-Louis Martineau <martineau@zmanda.com>
2977         * server-src/driverio.c: Don't update last_level/consecutive_runs if
2978           the dump failed.
2979
2980 2010-11-11  Nikhil Bhupale <nikhilb@zmanda.com>
2981         * server-src/amtape.pl: Remove call to set_label.
2982         * server-src/amrestore.pl: Remove call to set_label.
2983
2984 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2985         * config/amanda/progs.m4(AMANDA_PROG_MOUNT, AMANDA_PROG_UMOUNT):
2986           find mount and umount binaries
2987         * configure.in: Use AMANDA_PROG_MOUNT and AMANDA_PROG_UMOUNT.
2988         * perl/Amanda/Constants.pm.in: Define MOUNT and UMOUNT.
2989
2990 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2991         * device-src/tape-device.c: Accept LEOM property.
2992
2993 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2994         * perl/Amanda/Changer/robot.pm: Fix use of Amanda::Changer->make_error
2995
2996 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2997         * common-src/amflock.c (lock_wr, lock_rd, lock_locked): New function
2998         * common-src/amflock.h: Add their prototype.
2999         * perl/Amanda/Util.swg: Swig them.
3000         * perl/Amanda/Util.pod: Docuemnt them.
3001
3002 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
3003         * perl/Amanda/Changer.pm: Remove the changer cache.
3004         * installcheck/Amanda_Taper_Scan_traditional.pl,
3005           installcheck/Amanda_Changer_robot.pl,
3006           installcheck/Amanda_Changer_ndmp.pl: Do not reset the changer cache.
3007
3008 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
3009         * perl/Amanda/MainLoop.swg: Add finalize in define_step.
3010         * perl/Amanda/MainLoop.pod: Document finalize.
3011
3012 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
3013         * application-src/amstar.c: Support 'exclude file' and 'exclude list'.
3014         * man/xml-source/amstar.8.xml: Document exclude limitation.
3015
3016 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
3017         * server-src/driver.c: Better handling of dump to tape.
3018           Set force_flush to 0 as soon as the runq is empty.
3019         * server-src/dumper.c: Improving debugging.
3020
3021 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
3022         * perl/Amanda/Report.pm: Report driver FAIL as FAILED (not missing).
3023         * perl/Amanda/Report/human.pm: Do not report driver error if there
3024                                        is a try.
3025
3026 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
3027         * man/xml-source/tapelist.5.xml: Document BARCODE and META.
3028
3029 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
3030         * server-src/amdump.pl: Execute subprocess with the config overwrite.
3031         * server-src/amvault.pl: Execute subprocess with the config overwrite.
3032
3033 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
3034         * server-src/amreport.pl: Set date correctly for amvault run.
3035         * perl/Amanda/Report/human.pm: Fix warning.
3036
3037 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
3038         * perl/Amanda/Changer/aggregate.pm: New changer.
3039         * man/xml-source/amanda-changers.7.xml: Document chg-aggregate.
3040         * perl/Makefile.am: Add it.
3041         * server-src/amtape.pl: Print better message if inventory is not
3042                                 implemented.
3043
3044 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
3045         * perl/Amanda/Changer.pm: $o $c $m $b in autolabel.
3046         * perl/Amanda/Changer.pm: $o $c in meta-autolabel.
3047         * server-src/amlabel.pl: New --barcode option, <label> is no longer
3048           required, an autolabel can be generated.
3049         * server-src/find.c: Fix for quoted label.
3050         * man/xml-source/amanda.conf.5.xml: Document new autolable variable.
3051         * man/xml-source/amlabel.8.xml: Document new amlabel features.
3052         * installcheck/Amanda_Tapelist.pl: Test it.
3053         * installcheck/Installcheck/Run.pm (setup): Argument to set the number
3054                                                     of slot.
3055         * installcheck/amlabel.pl: Test it.
3056
3057 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
3058         * server-src/tapefile.c: Add barcode intapelist.
3059         * server-src/tapefile.h: Add barcode intapelist.
3060         * perl/Amanda/Tapelist.swg: Add barcode intapelist.
3061         * perl/Amanda/Taper/Scribe.pm: Set the barcode.
3062         * server-src/amlabel.pl: Set the barcode.
3063         * installcheck/Amanda_Tapelist.pl: Test it.
3064         * installcheck/amlabel.pl: Test it.
3065
3066 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
3067         * perl/Amanda/Taper/Scan.pm (new): Take a tapelist argument, not a
3068                                            filename.
3069         * perl/Amanda/Taper/Scan.pm: Remove make_new_tape_label and
3070                                      make_new_meta_label methods.
3071         * perl/Amanda/Changer.pm (new): Take a tapelist argument.
3072         * perl/Amanda/Changer.pm: Add make_new_tape_label and
3073           make_new_meta_label methods to Amanda::Changer::Reservation.
3074         * installcheck/Amanda_Taper_Scan.pl,
3075           installcheck/Amanda_Taper_Scan_traditional.pl,
3076           installcheck/amdevcheck.pl, perl/Amanda/Taper/Controller.pm,
3077           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
3078           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
3079           server-src/amidxtaped.pl, server-src/amlabel.pl,
3080           server-src/amrestore.pl, server-src/amrmtape.pl,
3081           server-src/amtape.pl, server-src/amvault.pl,
3082           server-src/taper.pl: Change for new tapelist argument.
3083
3084 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
3085         * common-src/util.c (quote_string_maybe): Don't use match.
3086         * common-src/util.c (len_quote_string_maybe): New function.
3087         * common-src/util.h (len_quote_string): Define.
3088         * server-src/amadmin.c: Don't call find_dump twice.
3089         * server-src/find.c (search_logfile): Don't use regex.
3090         * server-src/find.c (print_find_result): Use len_quote_string.
3091
3092 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
3093         * common-src/conffile.c: debug-recovery default to 1.
3094         * man/xml-source/amanda.conf.5.xml: Document it.
3095
3096 2010-11-02  Nikhil Bhupale <nikhilb@zmanda.com>
3097         * server-src/amtape.pl: Remove call to set_label.
3098         * server-src/amcheck-device.pl: Remove call to set_label.
3099  
3100 2010-10-29  Dustin J. Mitchell <dustin@mozilla.com>
3101         * man/xml-source/amanda-changers.7.xml: improve chg-disk properties
3102           documentation
3103
3104 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
3105         * server-src/chunker.c: Close listening socket are accepted socket.
3106         * xfer-src/element-glue.c: Close listening socket are accepted socket.
3107
3108 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
3109         * server-src/amflush.c: Open 'amflush' log file in append mode.
3110
3111 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
3112         * server-src/amdump.pl: Open 'amdump' log file in append mode.
3113
3114 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
3115         * common-src/conffile.c: Fix quoting in recovery-limit output.
3116         * server-src/amadmin.c (disklist_one): Print recovery-limit.
3117
3118 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
3119         * client-src/client_util.c: Don't free script->result.
3120
3121 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
3122         * man/xml-source/amanda.conf.5.xml: What is a meta label.
3123
3124 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
3125         * server-src/dumper.c: Typo.
3126
3127 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
3128         * common-src/conffile.c: New meta-autolabel.
3129         * common-src/conffile.h: CNF_META_AUTOLABEL.
3130         * perl/Amanda/Config.swg: CNF_META_AUTOLABEL.
3131         * man/xml-source/amanda.conf.5.xml: Document meta-autolabel
3132         * server-src/tapefile.c: Read/write meta-label to tapelist file
3133         * server-src/tapefile.h (struct tape_s): Add meta.
3134         * perl/Amanda/Tapelist.swg: Read/write meta-label to tapelist file
3135         * perl/Amanda/Changer.pm (get_meta_label, set_meta_label): New methods
3136           in A::Changer and A::Changer::Reservation.
3137         * perl/Amanda/Changer/disk.pm: Keep meta-label in state file.
3138         * perl/Amanda/Changer/disk.pm (get_meta_label, set_meta_label):
3139           New methods
3140         * perl/Amanda/Taper/Scan.pm (make_new_meta_label): New method.
3141         * perl/Amanda/Taper/Scribe.pm: get/set meta label.
3142         * server-src/amlabel.pl: New --meta and --assign option.
3143         * server-src/amtape.pl (inventory): Print meta-label.
3144         * man/xml-source/amlabel.8.xml: Document --meta and --assign options.
3145         * installcheck/Amanda_Tapelist.pl: Test tapelist with meta-label.
3146         * installcheck/amlabel.pl: Check meta.
3147
3148 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
3149         * man/xml-source/amanda-changers.7.xml: Document new NUM-SLOT,
3150           AUTO-CREATE-SLOT and REMOVABLE chg-disk properties.
3151         * perl/Amanda/Changer.pm (get_boolean_property) Moved from A::Changer
3152           to A::Changer::Config.
3153         * perl/Amanda/Changer/disk.pm: New NUM-SLOT, AUTO-CREATE-SLOT and
3154           REMOVABLE properties. Use new get_boolean_property.
3155         * perl/Amanda/Changer/robot.pm: Use new get_boolean_property.
3156
3157 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
3158         * common-src/fileheader.c (parse_file_header): Print buf.
3159         * patching file recover-src/extract_list.c: Read header in multiple
3160                                                     block.
3161
3162 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
3163         * perl/Amanda/Report/human.pm: Use chunker size to find big estimate.
3164         * installcheck/catalogs/bigestimate.cat: Fix.
3165
3166 2010-10-25  Jean-Louis Martineau <martineau@zmanda.com>
3167         * perl/Amanda/Taper/Worker.pm: Use 4*block_size for
3168           device_output_buffer_size if it is not set by the user.
3169         * server-src/amcheck-device.pl: Check device_output_buffer_size is at
3170           least 2*block_size.
3171
3172 2010-10-25 Dan Locks <dwlocks@zmanda.com>
3173         *  config/amanda/libs.m4: update AMANDA_CHECK_CURL to add runtime link
3174            flags for all solaris platforms, remove our AC_PATH_PROG for curl-config,
3175            and trust LIBCURL_CHECK_CONFIG (which is now fixed)
3176
3177 2010-10-25 Dan Locks <dwlocks@zmanda.com>
3178         *  packaging/rpm/amanda.spec.src: exclude sles9 from
3179            LDFLAGS=-Wl,--as-needed
3180
3181 2010-10-21 Dan Locks <dwlocks@zmanda.com>
3182
3183 2010-10-20  Jean-Louis Martineau <martineau@zmanda.com>
3184         * server-src/amtape.pl: Typo.
3185
3186 2010-10-19 Dan Locks <dwlocks@zmanda.com>
3187         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add
3188            -Wl,--as-needed to ./configure invocation in packages
3189
3190 2010-10-19  Jean-Louis Martineau <martineau@zmanda.com>
3191         * ReleaseNotes NEWS: amdump --no-taper option.
3192
3193 2010-10-19  Nikhil Bhupale <nikhilb@zmanda.com>
3194         * device-src/vfs-device.h device-src/vfs-device.c:
3195           add enforce_max_volume_usage
3196         * device-src/s3-device.c: Added support for MAX_VOLUME_USAGE and
3197           ENFORCE_MAX_VOLUME_USAGE
3198         * device-src/property.h device-src/property.c: Added property
3199           ENFORCE_MAX_VOLUME_USAGE
3200         * device-src/s3.h device-src/s3.c: Calculate total volume usage for
3201           s3 device
3202         * installcheck/Amanda_Device.pl: Test it
3203         * man/xml-source/amanda-devices.7.xml: Document it
3204
3205 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
3206         * application-src/ampgsql.pl: Give an error if client property
3207           pg-datadir is different than diskdevice. Use diskdevice if client
3208           property pg-datadir is not set.
3209
3210 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
3211         * common-src/security-util.c: Quote error message for invalid size.
3212
3213 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
3214         * common-src/conffile.c (read_size_byte/get_size_byte):
3215           CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes.
3216
3217 2010-10-14  Jean-Louis Martineau <martineau@zmanda.com>
3218         * server-src/amtape.pl (inventory): print current slot.
3219         * installcheck/amtape.pl: check it.
3220
3221 2010-10-14 Dan Locks <dwlocks@zmanda.com>
3222         *  packaging/deb/rules, packaging/deb/buildpkg,
3223            packaging/rpm/amanda.spec.src: remove port range limits for
3224            rpm and deb packages
3225
3226 2010-10-13  Jean-Louis Martineau <martineau@zmanda.com>
3227         * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied.
3228
3229 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
3230         * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'.
3231
3232 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
3233         * ndmp-src/ndma_comm_session.c: add a g_debug message
3234         * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof
3235
3236 2010-10-12 Dan Locks <dwlocks@zmanda.com>
3237         *  config/amanda/progs.m4: add comment about sysloc- and locsys- path,
3238            make MTX a precious variable.
3239
3240 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
3241         * common-src/conffile.c: Set default netusage to 80000 kbps.
3242
3243 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
3244         * perl/Amanda/Util.pod: fix typo
3245         * server-src/amserverconfig.pl: don't specify duplicate 'dumpuser'
3246           parameter in amserverconfig (it's also in advanced.conf); use
3247           get_fs_usage; include weird size requirements in error message
3248         * installcheck/amserverconfig.pl: test for this arrangement (used in
3249           the template + custom options case, I think)
3250
3251 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
3252         * ndmp-src/amndmjob_main.c: remove exit on eof thread
3253         * ndmp-src/ndmjob_main.c: add it here, in the right place
3254
3255 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
3256         * common-src/ssh-security.c: don't munge $SSH_CONNETION
3257
3258 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
3259         * config/amanda/swig.m4: add '.' to freebsd versions
3260         * perl/Makefile.am: spell it -pthread
3261
3262 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
3263         * server-src/amvault.pl: add fake driver finish first
3264
3265 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
3266         * server-src/amflush.c: write a "pid done" line when cancelling
3267         * server-src/amcleanup.pl: run amlogroll internally
3268
3269 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
3270         * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before
3271           writing to a real volume
3272         * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too
3273
3274 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
3275         * installcheck/amvault.pl: update the tests to use --autolabel=any
3276
3277 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
3278         * server-src/amvault.pl: --autolabel any, not --autolabel all
3279
3280 2010-10-08  Jean-Louis Martineau <martineau@zmanda.com>
3281         * device-src/s3-device.c: Don't give an error is ssl_ca_info is set
3282           and ssl is not used.
3283
3284 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
3285         * client-src/client_util.c: Use property_add_to_argv.
3286         * client-src/client_util.h (application_property_argv_size):
3287           Remove prototype.
3288         * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal
3289           for property hash.
3290         * common-src/conffile.c (property_add_to_argv): Remove function
3291         * common-src/conffile.h (property_add_to_argv): Remove prototype.
3292         * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal):
3293           Add function
3294         * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal):
3295           Add prototype.
3296         * common-src/util.c (proplist_add_to_argv, property_add_to_argv):
3297           Add function.
3298         * common-src/util.h (proplist_add_to_argv, property_add_to_argv):
3299           Add prototype.
3300         * perl/Amanda/Config.pod: Document amandaify_property_name.
3301         * perl/Amanda/Config.swg: Add amandaify_property_name.
3302         * perl/Amanda/Config/FoldingHash.pm: New class.
3303         * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm
3304         * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash.
3305         * recover-src/extract_list.c: Use property_add_to_argv
3306         * installcheck/Amanda_Config.pl: Check property case matching.
3307         * installcheck/Amanda_Config_FoldingHash.pl:
3308           Check Amanda::Config::FoldingHash.
3309         * installcheck/Makefile.am:
3310           Add installcheck/Amanda_Config_FoldingHash.pl
3311
3312 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
3313         * man/xml-source/amoverview.8.xml: fix typos in usage
3314         * server-src/amoverview.pl: config is mandatory; --config is not
3315
3316 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
3317         * server-src/planner.c: Log packet sent and received.
3318
3319 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
3320         * amandad-src/amandad.c: don't wait 5 seconds if the service has
3321           already exited
3322
3323 2010-10-06 Dan Locks <dwlocks@zmanda.com>
3324         *  config/amanda/libs.m4: update LIBCURL_CHECK_CONFIG help string,
3325            fix AC_PATH_PROG usage.
3326
3327 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
3328         * perl/Makefile.am: only run the threading test after install
3329
3330 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
3331         * VERSION: 3.3.0alpha
3332
3333 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
3334         * perl/Makefile.am: fix the FreeBSD threading test to actually fail
3335
3336 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
3337         * device-src/dvdrw-device.c: Always call parent_class->finish(dself).
3338         * device-src/ndmp-device.c: Always call close_tape_agent and
3339                                     close_connection.
3340         * device-src/null-device.c: Always set pself->access_mode to
3341                                     ACCESS_NULL.
3342         * device-src/rait-device.c: Always call child finish.
3343         * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL.
3344         * device-src/tape-device.c: Always close self->fd.
3345         * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL.
3346
3347 2010-10-06  Nandan Athawale <nandan.athawale@gmail.com>
3348         * device-src/s3.c: replaced deprecated functions g_strncasecmp
3349           and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp.
3350
3351 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
3352         * man/entities/global.entities.in: better formatting for config
3353           overrides
3354         * man/xml-source/amvault.8.xml: better synopsis formatting
3355         * server-src/amvault.pl: better synopsis formatting
3356
3357 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
3358         * perl/Amanda/Logfile.swg: don't produce negative durations
3359         * perl/Amanda/DB/Catalog.pm: but handle them when they occur
3360
3361 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
3362         * perl/Amanda/Report/human.pm: Correctly print "Level:#".
3363
3364 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
3365         * server-src/planner.c: Use last_level to compute the bump level.
3366
3367 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
3368         * server-src/dumper.c: Fix memory allocation.
3369
3370 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
3371         * server-src/amidxtaped.pl: exact match for same-host, allow dumps
3372           that are not in the disklist
3373         * server-src/amindexd.c: fix trivially permissive same-host
3374
3375 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
3376         * common-src/amxml.c: set the correct fields (encryption or
3377           compression)
3378         * server-src/dumper.c: strdup strings so they are not gone after
3379           free_dle
3380
3381 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
3382         * perl/Amanda/Report.pm: fix autovivification bug
3383         * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of 
3384           undefined's
3385
3386 2010-10-04  Jean-Louis Martineau <martineau@zmanda.com>
3387         * server-src/amtape.pl: Add a 'return' for every usage() call.
3388           Add step in main.
3389
3390 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
3391         * man/xml-source/amvault.8.xml: mention that DLE splitting parameters
3392           are ignored by amvault
3393         * server-src/amvault.pl: use tapetype parameters for splitting
3394         * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight
3395           from Amanda::Config
3396
3397 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
3398         * packaging/deb/rules: remove misleading comment about automake-1.2
3399
3400 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
3401         * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask
3402           user to clear out 'tapedev' too
3403
3404 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
3405         * common-src/event.c: Set the priority of EV_TIME to 10.
3406
3407 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
3408         * perl/Amanda/Report/postscript.pm: print all dles that have a part
3409           on the volume.
3410         * installcheck/catalogs/spanned.cat: Check it.
3411
3412 2010-09-30  Dustin J. Mitchell <dustin@zmanda.com>
3413         * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1,
3414           too
3415
3416 2010-09-29  Dustin J. Mitchell <dustin@zmanda.com>
3417         * server-src/dumper.c: fix prints; use the correct disk_t fields
3418
3419 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
3420         * common-src/alloc.c: Remove a print to stderr.
3421
3422 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
3423         * NEWS, ReleaseNotes: Update.
3424
3425 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
3426         * installcheck/amvault.pl: fix tests for total size
3427
3428 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
3429         * common-src/util.c: remove debugging call
3430         * installcheck/Amanda_Util.pl: fix tests on perl-5.6
3431
3432 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
3433         * server-src/amvault.pl: print total size on --dry-run
3434
3435 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
3436         * installcheck/Amanda_Config.pl: fix test
3437
3438 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
3439         * NEWS: update NEWS about it
3440         * common-src/conffile.c common-src/conffile.h: add recovery-list
3441           parameters
3442         * man/xml-source/amanda.conf.5.xml: document them
3443         * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them
3444         * installcheck/Amanda_Config.pl: test them
3445         * server-src/amidxtaped.pl: check recovery limits
3446         * installcheck/amidxtaped.pl
3447           installcheck/Installcheck/ClientService.pm: test it
3448         * server-src/amindexd.c: check recovery limits
3449
3450 2010-09-28  Jean-Louis Martineau <martineau@zmanda.com>
3451         * recover-src/extract_list.c: Print number of bytes read.
3452
3453 2010-09-28 Dan Locks <dwlocks@zmanda.com>
3454         *  config/amanda/progs.m4: remove first instance of
3455            AMANDA_PROG_GNUPLOT
3456
3457 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
3458         * common-src/amanda.h common-src/alloc.c: add save_env_full
3459         * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services
3460
3461 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
3462         * common-src/amxml.c: Fix unallocating NULL g_hash.
3463         * server-src/chunker.c: Don't free cmdargs.
3464
3465 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
3466         * common-src/security-util.c: Fix pointer arithmetic.
3467
3468 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
3469         * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with
3470           descriptions of match expressions
3471         * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
3472           man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml
3473           man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml
3474           man/xml-source/amvault.8.xml: reference it
3475
3476 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
3477         * common-src/util.c common-src/util.h: support ##.## in braced
3478           alternates
3479         * installcheck/Amanda_Util.pl: test it
3480         * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml
3481           man/xml-source/amanda-devices.7.xml: document it
3482
3483 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
3484         * amandad-src/amandad.c, client-src/client_util.c,
3485           client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c,
3486           common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h,
3487           common-src/security-util.c, common-src/util.c,
3488           perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c,
3489           server-src/chunker.c, server-src/diskfile.c, server-src/driver.c,
3490           server-src/driverio.c, server-src/dumper.c, server-src/find.c,
3491           server-src/holding.c, server-src/planner.c, server-src/server_util.c,
3492           server-src/xfer-source-holding.c: Fix memory leak.
3493
3494 2010-09-25  Dustin J. Mitchell <dustin@zmanda.com>
3495         * common-src/alloc.c: remove amtable functions
3496         * common-src/amanda.h: remove prototypes
3497
3498 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3499         * application-src/amstar.c: Check root can cd to the directory.
3500
3501 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3502         * perl/Amanda/Report/human.pm: Correctly print new tapes to use.
3503         * installcheck/catalogs/filesystemstaped.cat: write the tapelist file
3504         * installcheck/amreport.pl: Test it.
3505
3506 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
3507         * NEWS: amvault and other new news
3508         * server-src/amvault.pl: support --dry-run
3509         * man/xml-source/amvault.8.xml: docs
3510         * installcheck/amvault.pl: tests
3511
3512 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
3513         * common-src/security.h: add get_authenticated_peer_name method
3514         * common-src/security-util.c common-src/security-util.h: add two
3515           implementations
3516         * common-src/sockaddr-util.c common-src/sockaddr-util.h: add
3517           str_to_sockaddr
3518         * amandad-src/amandad.c: log authenticated peer name
3519         * common-src/bsd-security.c common-src/bsdtcp-security.c
3520           common-src/bsdudp-security.c common-src/krb5-security.c
3521           common-src/local-security.c common-src/rsh-security.c
3522           common-src/ssh-security.c: implement get_authenticated_peer_name
3523         * common-src/util.h: fix comments
3524         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
3525           config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c
3526           gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add
3527           inet_pton module
3528         * man/xml-source/amanda-auth.7.xml: update manual to describe
3529           authenticated peer names
3530
3531 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3532         * common-src/security-util.c: Check size before allocating.
3533
3534 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
3535         * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only
3536
3537 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3538         * device-src/xfer-dest-taper-splitter.c (device_thread_write_part):
3539           Don't write more than the block size.
3540
3541 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
3542         * installcheck/amreport.pl: update checks to match amreport change
3543
3544 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
3545         * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add
3546           exports
3547         * server-src/amreport.pl: don't print anything in script mode when
3548           there is nothing to do
3549         * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault
3550         * server-src/amvault.pl: make dst-changer and src-timestamp into
3551           --options and add support for dumpspecs
3552         * man/xml-source/amvault.8.xml: document
3553         * installcheck/amvault.pl: test changes
3554         * installcheck/Amanda_Cmdline.pl: remove TODO
3555
3556 2010-09-22  Jean-Louis Martineau <martineau@zmanda.com>
3557         * server-src/driver.c (startaflush_tape): Use tape_length if the
3558           tape is not started.
3559
3560 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
3561         * man/xslt/html.xsl.in: include Amanda version in HTML footers
3562
3563 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
3564         * server-src/amvault.pl: add an INFO line for every source volume read
3565
3566 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
3567         * server-src/amvault.pl: add extra logging for amreport, and invoke
3568           amreport at the end of a run
3569         * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h:
3570           add P_AMVAULT
3571         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
3572           server-src/amreport.pl: handle amvault logs, too
3573
3574 2010-09-21  Orion Poplawski <orion@cora.nwra.com>
3575         * server-src/amoverview.pl: fix remaining uninitialized value warnings
3576
3577 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3578         * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no
3579           successful parts on tape; comments and POD
3580
3581 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3582         * installcheck/catalogs/amflush.cat
3583           installcheck/catalogs/bigestimate.cat
3584           installcheck/catalogs/doublefailure.cat
3585           installcheck/catalogs/fatal.cat
3586           installcheck/catalogs/filesystemstaped.cat
3587           installcheck/catalogs/flush-noorigsize.cat
3588           installcheck/catalogs/flush-origsize.cat
3589           installcheck/catalogs/longstrange.cat
3590           installcheck/catalogs/multi-taper.cat installcheck/catalogs/normal.cat
3591           installcheck/catalogs/plannerfail.cat
3592           installcheck/catalogs/resultsmissing.cat
3593           installcheck/catalogs/retried-nofinish.cat
3594           installcheck/catalogs/retried-strange.cat
3595           installcheck/catalogs/retried.cat
3596           installcheck/catalogs/shortstrange.cat
3597           installcheck/catalogs/skipped.cat installcheck/catalogs/spanned.cat
3598           installcheck/catalogs/strontium.cat installcheck/catalogs/taperr.cat:
3599           update expected reports to match updated amreport output
3600
3601 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
3602         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c:
3603           Don't print warning for 'holdingdisk auto' and directtcp data path.
3604
3605 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
3606         * application-src/amgtar.c: Add VERBOSE property,
3607           unlink include/exclude file if VERBOSE if NO.
3608         * man/xml-source/amgtar.8.xml: Document VERBOSE property.
3609
3610 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3611         * perl/Makefile.am: make the thread check mandatory on FreeBSD
3612         * config/amanda/swig.m4: detect FreeBSD
3613
3614 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3615         * perl/Amanda/Report/human.pm: change some strings, and make
3616           the statistics section more succinct; suggested by Jon LaBadie
3617
3618 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3619         * server-src/amadmin.c: add 'dles' and 'hosts' subcommands
3620         * man/xml-source/amadmin.8.xml: document them
3621
3622 2010-09-20  Jean-Louis Martineau <martineau@zmanda.com>
3623         * perl/Amanda/Script_App.pm: Call _set_mesgout.
3624         * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout):
3625           Set $self->{mesgout}.
3626         * application-src/amraw.pl, application-src/amsamba.pl
3627           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
3628           Don't set $self->{mesgout}.
3629
3630 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3631         * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming
3632
3633 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3634         * server-src/find.c: only expect partnum/totalparts in taper log lines
3635         * installcheck/catalogs/bigdb.cat: tests
3636
3637 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3638         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to
3639           XferSourceRecovery
3640
3641 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
3642         * perl/Amanda/Changer/disk.pm: but still return stringy slot names
3643
3644 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
3645         * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by
3646           'ghosts' on forums.zmanda.com
3647
3648 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
3649         * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in
3650           tape device
3651
3652 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
3653         * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server
3654           component
3655
3656 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
3657         * server-src/dumper.c: Send filter STDERR to log file, backup is
3658           marked as failed.
3659
3660 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
3661         * device-src/ndmp-device.c, device-src/tape-device.c,
3662         * device-src/vfs-device.c: Don't set the header if nothing is read.
3663         * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't
3664           exists
3665         * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device
3666           status and header.
3667         * installcheck/Amanda_Changer_multi.pl: Updated.
3668         * installcheck/amcheck-device.pl: Updated.
3669         * installcheck/amdevcheck.pl: Updated.
3670
3671 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
3672         * server-src/driver.c: start up correctly with --no-taper
3673         * server-src/driverio.c server-src/driverio.h: take no_taper as
3674           argument to startup_tape_process
3675
3676 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
3677         * perl/Amanda/DB/Catalog.pm: new methods to determine the type of
3678           a run
3679         * installcheck/Amanda_DB_Catalog.pl: test them
3680         * server-src/amvault.pl: 'latest' excludes amvault runs; add START
3681           amvault to identify such runs
3682         * installcheck/catalogs/bigdb.cat: add 'START planner' where missing
3683         * installcheck/amvault.pl: cleanup after tests
3684
3685 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
3686         * NEWS: mention improvements to amvault
3687         * server-src/amvault.pl: Add --autolabel=.. and --label-template=..
3688         * installcheck/amvault.pl: update tests
3689         * man/xml-source/amvault.8.xml: update manpage
3690
3691 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
3692         * server-src/amreport.pl: support more than one email address
3693         * installcheck/amreport.pl: change error message
3694
3695 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
3696         * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them
3697           in the tapelist file.
3698           Remove the "Will write new label `$LABEL' to new tape" message.
3699         * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist
3700            in the argument.
3701         * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file.
3702         * server-src/amvault.pl: Don't update the tapelist file.
3703         * installcheck/Amanda_Report.pl: Remove 'Will write ...' message.
3704           installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message.
3705           installcheck/taper.pl: Remove 'Will write ...' message.
3706
3707 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
3708         * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock.
3709         * perl/Amanda/Tapelist.pod: Document new API.
3710           perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm,
3711           perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm,
3712           perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl,
3713           server-src/amlabel.pl, server-src/amreport.pl,
3714           server-src/amrmtape.pl, server-src/amvault.pl: Use new API
3715         * installcheck/Amanda_Logfile.pl,
3716           installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl,
3717           installcheck/amrmtape.pl, installcheck/amtape.pl,
3718           installcheck/Amanda_Recovery_Clerk.pl: Fix for new API.
3719
3720 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
3721         * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd
3722         * xfer-src/xfer-element.c xfer-src/xfer-element.h: add
3723           xfer_element_swap_input_fd and xfer_element_swap_output_fd and
3724           use them to access input_fd and output_fd atomically
3725         * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle
3726           taking ownership of fd's even in pull_and_write and read_and_push
3727         * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c
3728           xfer-src/dest-fd.c: use xfer_element_swap_*_fd
3729
3730 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
3731         * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'.
3732         * installcheck/taper.pl: Fix for correct tape_num.
3733
3734 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3735         * server-src/driver.c: Use many worker.
3736         * server-src/driverio.c: Init many worker.
3737         * server-src/driverio.h (TaperState): New taper state.
3738         * server-src/server_util.c: Add "TAKE-SCRIBE-FROM".
3739         * server-src/server_util.h: Add TAKE_SCRIBE_FROM.
3740
3741 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3742         * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol.
3743         * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function.
3744         * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb.
3745           transfert the xfer to a new scribe.
3746         * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method.
3747         * perl/Amanda/Xfer.swg (xfer_set_callback): New method.
3748         * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command.
3749
3750 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3751         * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup.
3752         * installcheck/Installcheck/Run.pm (setup): Take an argument to set
3753                                                     new vtapes.
3754         * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb.
3755         * installcheck/taper.pl: Fix and test for START_SCAN cmd.
3756         * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function.
3757         * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol.
3758         * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan,
3759           new perm_cb argument, new start_scan method.
3760         * perl/Amanda/Taper/Worker.pm (START_SCAN): New method,
3761           call perm_cb with new argument.
3762         * server-src/amvault.pl: Call start_scan and perm_cb with new argument.
3763         * server-src/driver.c: Send START_SCAN command to taper.
3764         * server-src/driverio.c (taper_cmd): Add START_SCAN.
3765         * server-src/server_util.c (cmdstr): add "START-SCAN".
3766         * server-src/server_util.h: Add START_SCAN.
3767
3768 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3769         * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol.
3770         * perl/Amanda/Taper/Controller.pm,
3771         * perl/Amanda/Taper/Worker.pm: Use worker_name.
3772         * server-src/driverio.c (taper_cmd): Send worker_name to taper.
3773         * server-src/driver.c: New argument to taper_cmd.
3774         * server-src/amstatus.pl: Parse worker_name.
3775         * installcheck/catalogs/chunker-partial.cat,
3776           installcheck/catalogs/normal.cat,
3777           installcheck/catalogs/quoted.cat: Add worker_name.
3778         * installcheck/taper.pl: Add worker_name.
3779
3780 2010-09-14  Jean-Louis Martineau <martineau@zmanda.com>
3781         * server-src/taper.pl: Split in many files, add the worker.
3782         * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl
3783         * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl
3784         * perl/Amanda/Taper/Worker.pm: New class
3785         * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm.
3786
3787 2010-09-14  Dustin J. Mitchell <dustin@zmanda.com>
3788         * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description
3789
3790 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3791         * server-src/amflush.c: Don't include driverio.h
3792         * server-src/driver.c, server-src/driverio.c, server-src/driverio.h:
3793           Put all taper variables in a taper_t structure.
3794
3795 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3796         * installcheck/amreport.pl: Load the config instead of using amgetconf.
3797
3798 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3799         * installcheck/amreport.pl: Use full path to amgetconf.
3800
3801 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3802         * server-src/find.c: Parse log with taper lines mixed.
3803         * perl/Amanda/Report.pm: Parse log with taper lines mixed.
3804         * installcheck/Amanda_DB_Catalog.pl: Check it.
3805         * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat.
3806         * installcheck/amreport.pl: Check it;
3807         * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed.
3808
3809 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
3810         * man/xml-source/amoverview.8.xml: document long options
3811         * server-src/amoverview.pl: fix bugs, stop using perl formats, and
3812           give long options in the usage message
3813         * installcheck/catalogs/bigdb.cat: add disklist
3814         * installcheck/amoverview.pl: more thorough tests based on bigdb
3815
3816 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
3817         * man/xml-source/amdump.8.xml: document --no-taper
3818         * server-src/Makefile.am: rename amdump.sh -> .pl
3819         * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add
3820           --no-taper
3821         * server-src/driver.c: support --no-taper by not starting taper
3822         * server-src/planner.c: support --no-taper by not sending flushes
3823
3824 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3825         * server-src/find.c (find_dump): Don't print the
3826                                          'log files found for tape' warning.
3827         * server-src/amadmin.c: Call find_log to print the warning.
3828
3829 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3830         * server-src/amserverconfig.pl: Use $pw[0].
3831
3832 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3833         * common-src/conffile.c: Add taper-parallel-write.
3834         * common-src/conffile.h: Add taper-parallel-write.
3835         * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write.
3836
3837 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
3838         * installcheck/Makefile.am installcheck/amflush.pl: new installcheck
3839
3840         * server-src/amflush.c: flush DLEs that aren't in the disklist anymore
3841         * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile,
3842           based on match_disklist
3843         * server-src/driver.c: load holding-disk pseudo-DLEs at startup
3844         * server-src/driverio.c: survive configuration-free DLEs
3845         * server-src/holding.c server-src/holding.h: search_holding_file no
3846           longer checks against disklist
3847         * server-src/planner.c: use match_dumpfile for holding-disk DLEs
3848
3849 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
3850         * installcheck/Amanda_Device.pl: use srcdir
3851         * installcheck/Installcheck.pm: set srcdir from env
3852         * installcheck/Installcheck/Catalogs.pm: use srcdir
3853         * installcheck/Makefile.am: set $srcdir for tests
3854
3855 2010-09-09  Lyndon Nerenberg <lyndon@orthanc.ca>
3856         * Makefile.am: fix to enable builds outside srcdir
3857
3858 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
3859         * server-src/amvault.pl: add --export
3860         * man/xml-source/amvault.8.xml: doc it
3861         * installcheck/amvault.pl: test it
3862
3863 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
3864         * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog
3865           hack
3866
3867 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3868         * installcheck/Makefile.am: include
3869           installcheck/catalog/retried-strange.cat in distribution
3870
3871 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3872         * installcheck/catalogs/retried-strange.cat: add a retried dump
3873           where the retry is strange
3874         * installcheck/amreport.pl: test it
3875         * perl/Amanda/Report/human.pm: fix the bug it reveals
3876
3877 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3878         * gnulib/regenerate/regenerate: add 'environ' module
3879         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
3880           gnulib/Makefile.am config/gnulib/environ.m4: new module
3881
3882 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3883         * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4
3884         * gnulib/regenerate/regenerate: change gnulib sha1
3885
3886 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3887         * man/xml-source/amreport.8.xml: describe the format of the dump, with
3888           notes and details
3889
3890 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3891         * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done
3892         * installcheck/Amanda_Taper_Scribe.pl: test it
3893
3894 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
3895         * application-src/ampgsql.pl: Send tar stderr to the server.
3896
3897 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
3898         * server-src/amserverconfig.pl: use RUNNING_AS_ANY and
3899                                         set dumpuser in amanda.conf.
3900
3901 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3902         * common-src/alloc.c: remove unnecessary declaration of 'environ'
3903
3904 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3905         * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes
3906         * installcheck/Amanda_Changer_robot.pl: test it
3907
3908 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3909         * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the
3910           ndmlib_mutex
3911
3912 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3913         * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see
3914           http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html
3915
3916 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3917         * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer
3918           slots, to save space
3919
3920 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3921         * perl/Amanda/Changer.pm: fix make_combined_error
3922         * perl/Amanda/Changer/robot.pm: correctly set up polling for device
3923           ready; use 'unknown', not 'device', as a reason; always return a
3924           changer error, not a string
3925
3926 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3927         * device-src/tape-aix.c device-src/tape-uware.c
3928           device-src/tape-xenix.c: remove unmaintained, and apparently unused,
3929           implementations
3930         * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c
3931         * device-src/tape-device.h: remove
3932         * device-src/tape-ops.h: remove
3933
3934         * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore
3935         * device-src/Makefile.am: remove tape ops conditionals
3936
3937 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
3938         * configure.in: add check for unsetenv
3939
3940 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
3941         * installcheck/Makefile.am: add Installcheck::Catalog and the
3942           catalogs to the distribution
3943
3944 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3945         * installcheck/amserverconfig.pl: skip the correct number of tests
3946
3947 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3948         * installcheck/amserverconfig.pl: don't try running tape-changer if
3949           MTX is not installed
3950         * server-src/amserverconfig.pl: create $CONFIG_DIR if required.  This
3951           passes on my system and should pass on the Mac systems.
3952
3953 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3954         * config/.gitignore: don't ignore these files
3955         * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add
3956           ignored, but required, gnulib files
3957
3958 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3959         * NEWS: note removal of changers
3960         * changer-src/Makefile.am changer-src/chg-chio.pl
3961           changer-src/chg-chs.sh changer-src/chg-iomega.pl
3962           changer-src/chg-juke.sh changer-src/chg-mcutil.sh
3963           changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh
3964           changer-src/chg-rth.pl changer-src/chg-scsi-chio.c
3965           changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c
3966           changer-src/scsi-bsd.c changer-src/scsi-cam.c
3967           changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
3968           changer-src/scsi-defs.h changer-src/scsi-hpux.c
3969           changer-src/scsi-hpux_new.c changer-src/scsi-irix.c
3970           changer-src/scsi-linux.c changer-src/scsi-proto.c
3971           changer-src/scsi-solaris.c changer-src/sense.c: remove changers and
3972           system-specific SCSI code
3973         * config/amanda/changer.m4: remove unnecessary checks
3974         * config/amanda/progs.m4: remove checks for chio, chs, and mcutil
3975         * configure.in: remove changer invocations
3976
3977 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3978         * server-src/driverio.c: Don't write negative origsizes to the taper
3979
3980 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3981         * server-src/amcheck.c: drop root privs during the server check, so
3982           that access() will test the dumpuser's perms, not root's perms
3983
3984 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3985         * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir
3986         * installcheck/amtapetype.pl: spell it device-property
3987         * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long
3988           option
3989         * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of
3990           mkdir
3991
3992 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3993         * installcheck/Makefile.am: new tests
3994         * installcheck/amserverconfig.pl: run amserverconfig
3995         * installcheck/example.pl: test that templates parse properly
3996         * server-src/amserverconfig.pl: minor cleanup of old perl
3997
3998 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3999         * server-src/dumper.c changer-src/chg-scsi.c: use fseeko
4000         * config/.gitignore config/config.rpath config/gnulib/* gnulib/*:
4001           upgrade gnulib
4002         * gnulib/regenerate/no-error.patch: updated patch
4003         * gnulib/regenerate/regenerate: drop visibility module; specify new
4004           git hash
4005
4006 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
4007         * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0
4008           to logfiles to check handling of those cases
4009         * perl/Amanda/Report.pm: fix (egregious) typo
4010         * perl/Amanda/Report/human.pm: handle compression better, handle
4011           printing non-contiguous levels
4012
4013 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
4014         * application-src/ampgsql.pl: remove check for a directory that
4015           should not be readable to the amanda user
4016
4017 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
4018         * application-src/amgtar.c application-src/ampgsql.pl
4019           recover-src/extract_list.c server-src/amcheckdump.pl: Use
4020           --ignore-zeros in all -t or -x invocations of gtar
4021
4022 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
4023         * man/xml-source/amanda-auth.7.xml
4024           man/xml-source/amanda-changers.7.xml
4025           man/xml-source/amanda-client.conf.5.xml
4026           man/xml-source/amanda-compatibility.7.xml
4027           man/xml-source/amanda-devices.7.xml
4028           man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml
4029           man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove
4030           references to krb4 and to the pre-spanning days, and canonicalize
4031           all configuration parameters to use -, not _
4032         * common-src/conffile.c device-src/activate-devpay.c
4033           device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm
4034           perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c
4035           server-src/amreport.pl server-src/driver.c server-src/planner.c:
4036           canonicalize configuration parameter names in error messages to use -,
4037           not _
4038
4039 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
4040         * installcheck/Installcheck/Catalogs.pm: tool to install catalogs
4041           dynamically, rather than including them in __DATA__
4042         * installcheck/catalogs/*: new catalog files
4043         * installcheck/Amanda_DB_Catalog.pl
4044           installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl
4045           installcheck/amstatus.pl: use Installcheck::Catalog
4046         * perl/Amanda/Recovery/Planner.pm: check that parameters exist
4047
4048 2010-08-25 Dan Locks <dwlocks@zmanda.com>
4049         *  packaging/deb/control: Fix missing line break so dpkg can parse the
4050            control file
4051
4052 2010-08-23  Dustin J. Mitchell <dustin@zmanda.com>
4053         * server-src/amvault.pl: add --fulls-only option
4054         * man/xml-source/amvault.8.xml: document
4055
4056 2010-08-23 Dan Locks <dwlocks@zmanda.com>
4057         *  packaging/deb/control: add ca-certificates and procps
4058
4059 2010-08-21  Dustin J. Mitchell <dustin@zmanda.com>
4060         * common-src/fileheader.c: remove incorrect validations for
4061           CONT_FILENAME and APPLICATION
4062
4063 2010-08-20 Dan Locks <dwlocks@zmanda.com>
4064         *  The error fixed here was reported by ssgelm.
4065         *  packaging/common/substitute.pl: Use FULL_VERSION instead of
4066            VERSION.
4067         *  packaging/rpm/amanda.spec.src: renamed from amanda.spec, added
4068            %%VERSION%% macro for substitute.pl, fixed glib2 requires typo
4069         *  packaging/rpm/buildpkg: refactored into "do_thing" functions, added
4070            substitute.pl machinery.
4071
4072 2010-08-20 Dan Locks <dwlocks@zmanda.com>
4073         *  packaging/rpm/amanda.spec: add openSuSE 11 detection and
4074            buildrequires glib2-devel, as written by ssgelm
4075
4076 2010-08-13  Dustin J. Mitchell <dustin@zmanda.com>
4077         * config/amanda/debugging.m4: make the default for syntax-checks
4078           "disabled", add a warning when enabling
4079         * perl/Makefile.am config/automake/scripts.am: don't do any checks
4080           that require linking perl extension modules unless SYNTAX_CHECKS is
4081           set
4082         * installcheck/Makefile.am: always skip syntax checks
4083         * application-src/amlog-script.pl application-src/amraw.pl
4084           application-src/amsamba.pl application-src/amsuntar.pl
4085           application-src/amzfs-sendrecv.pl application-src/amzfs-snapshot.pl
4086           application-src/script-email.pl common-src/amgetconf.pl
4087           device-src/amdevcheck.pl device-src/amtapetype.pl
4088           installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_ndmp.pl
4089           installcheck/Amanda_Changer_null.pl
4090           installcheck/Amanda_Changer_rait.pl
4091           installcheck/Amanda_Changer_robot.pl
4092           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Cmdline.pl
4093           installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl
4094           installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl
4095           installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl
4096           installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl
4097           installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl
4098           installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl
4099           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
4100           installcheck/amadmin.pl installcheck/amarchiver.pl
4101           installcheck/amcheck-device.pl installcheck/amcheck.pl
4102           installcheck/amcheckdump.pl installcheck/amdevcheck.pl
4103           installcheck/amdump.pl installcheck/amgetconf.pl
4104           installcheck/amlabel.pl installcheck/amoverview.pl
4105           installcheck/amrmtape.pl installcheck/amservice.pl
4106           installcheck/amstatus.pl installcheck/amtape.pl
4107           installcheck/amtapetype.pl installcheck/amvault.pl
4108           installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl
4109           server-src/amcheckdump.pl server-src/amcleanup.pl
4110           server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add
4111           strict and/or warnings, and fix (trivial) resulting warnings
4112
4113 2010-08-13  Nikhil Bhupale <nikhilb@zmanda.com>
4114         * AUTHORS: add Nikhil
4115         * device-src/ndmp-device.c: add READ_BLOCK_SIZE support
4116         * installcheck/Amanda_Device.pl: test it
4117         * man/xml-source/amanda-devices.7.xml: document it
4118
4119 2010-08-11  Dustin J. Mitchell <dustin@zmanda.com>
4120         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly
4121         * installcheck/Amanda_Util.pl: test it
4122         * application-src/amsamba.pl: use it to parse amandapass
4123
4124 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
4125         * server-src/find.c: parse old SUCCESS lines properly
4126         * perl/Amanda/DB/Catalog.pm: same
4127         * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines
4128
4129 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
4130         * amandad-src/amandad.c: unset SUN_PERSONALITY on startup
4131         * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY
4132
4133 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
4134         * server-src/amlogroll.pl: ignore arguments after the first
4135
4136 2010-08-06  Dustin J. Mitchell <dustin@zmanda.com>
4137         * installcheck/amvault.pl: correct test count
4138         * perl/Amanda/Taper/Scribe.pm: fix nparts calculation
4139
4140 2010-08-06  Stephen Gelman <ssgelm@gmail.com>
4141         * AUTHORS: add Stephen
4142         * client-src/rundump.c client-src/runtar.c: unset
4143           SUN_PERSONALITY in runtar and rundump, to shut off
4144           Nexenta's tendency to magically run Sun binaries
4145
4146 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
4147         * server-src/amvault.pl: rewrite to use scribe, clerk
4148         * installcheck/amvault.pl: check results better
4149         * server-src/logfile.c server-src/logfile.h: add log_add_full
4150         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full
4151           and make_stats methods
4152         * perl/Amanda/MainLoop.pod: POD typos
4153         * perl/Amanda/Recovery/Planner.pm: add shift_dump method
4154         * perl/Amanda/Taper/Scan.pm: add POD, fix typos
4155         * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb
4156         * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile
4157
4158 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
4159         * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE
4160           property
4161
4162 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
4163         * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_*
4164         * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_*
4165         * installcheck/Amanda_Recovery_Clerk.pl
4166           installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl
4167           server-src/amfetchdump.pl server-src/amidxtaped.pl
4168           server-src/taper.pl: use renamed methods
4169
4170 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
4171         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename
4172           and a method to find the proper timestamp for the current log
4173         * installcheck/Amanda_Logfile.pl: test it
4174         * server-src/Makefile.am server-src/amlogroll.c
4175           server-src/amlogroll.pl: rewrite in perl
4176
4177 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
4178         * config/amanda/ipv6.m4: fix config messages to not use the
4179           autoconf-specific word "target"
4180
4181 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
4182         * man/xml-source/amanda.conf.5.xml: add more info about appropriate
4183           settings for autolabel
4184
4185 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
4186         * common-src/security.h: move comments from wiki, reorder functions
4187
4188 2010-08-03  Jean-Louis Martineau <martineau@zmanda.com>
4189         * server-src/amdump.sh: Check it own the log file.
4190
4191 2010-08-02  Jean-Louis Martineau <martineau@zmanda.com>
4192         * common-src/util.c (interruptible_accept): Set the read set and
4193           timeout before each select call.
4194
4195 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
4196         * server-src/amvault.pl: only run as dumpuser
4197
4198 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
4199         * man/xml-source/amanda-auth.7.xml: consistently use the same
4200           username in examples (thanks to Amar Takhar)
4201
4202 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
4203         * xfer-src/filter-process.c: handle fd's <= 2 correctly
4204
4205 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
4206         * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a
4207           copy of tcpm_recv_token.
4208         * common-src/security-util.c: New tcpm_recv_token without a timeout.
4209         * common-src/security-util.h: Add field to keep a buffer in tcp_conn.
4210
4211 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
4212         * perl/Amanda/Script_App.pm: Print restore message to STDERR.
4213
4214 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
4215         * config/amanda/progs.m4: require SWIG-1.3.39
4216         * (all .c files): #include amanda.h first
4217         * perl/amglue/amglue.swg: use %begin to include config.h first
4218
4219 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
4220         * device-src/amtapetype.pl: detect LEOM and add appropriate
4221           comments
4222         * device-src/xfer-dest-device.c device-src/xfer-device.h: add
4223           cancel_at_leom constructor arg
4224         * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
4225           installcheck/Amanda_Xfer.pl installcheck/amrestore.pl
4226           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg
4227           server-src/amvault.pl: pass new argument
4228
4229 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
4230         * device-src/tape-device.c device-src/tape-device.h: autodetect
4231           the LEOM property, and handle various operating systems' LEOM
4232           indications
4233         * device-src/tape-aix.c device-src/tape-posix.c
4234           device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to
4235           FALSE by default
4236
4237 2010-07-27  Jean-Louis Martineau <martineau@zmanda.com>
4238         * server-src/find.c (find_result_t): Add a write_timestamp.
4239         * server-src/find.h: Set the write_timestamp.
4240         * server-src/amcheckdump.pl: Use the write_timestamp.
4241         * server-src/amidxtaped.pl: write_timestamp is undef.
4242         * server-src/cmdline.h (dumpspec_t): Add a write_timestamp.
4243         * server-src/cmdline.c (dumpspec_new): New write_timestamp argument.
4244         * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp.
4245         * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp.
4246         * perl/Amanda/Cmdline.pod: Document write_timestamp.
4247         * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec
4248           write_timestamp.
4249         * installcheck/Amanda_Cmdline.pl: Fix and check new api.
4250         * installcheck/Amanda_DB_Catalog.pl: Fix and check new api.
4251         * installcheck/Amanda_Logfile.pl: Fix and check new api.
4252         * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api.
4253
4254 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
4255         * configure.in perl/amglue/Makefile.am: new Makefile for
4256           libamglue
4257         * perl/Makefile.am: use SUBDIRS to build libamglue before
4258           any SWIG modules, as automake does not get inter-library
4259           dependencies right at install time if the libraries are
4260           all built in the same directory
4261
4262 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
4263         * application-src/ampgsql.pl: also check PG-DATADIR
4264
4265 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
4266         * installcheck/Amanda_DB_Catalog.pl
4267           installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl
4268           installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio
4269           buffering when writing holding-file headers
4270
4271 2010-07-26  Jean-Louis Martineau <martineau@zmanda.com>
4272         * server-src/planner.c: Ignore the FORCE command if strategy is
4273           INCRONLY.
4274
4275 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
4276         * installcheck/Amanda_Xfer.pl: *real* correct number of tests for
4277           --without-server
4278
4279 2010-07-25  Dustin J. Mitchell <dustin@zmanda.com>
4280         * installcheck/Amanda_Xfer.pl: correct number of tests for
4281           --without-server
4282
4283 2010-07-25  Orion Poplawski <orion@cora.nwra.com>
4284         * server-src/amoverview.pl: fix host iteration and handle case of only
4285           one write_timestamp
4286
4287 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
4288         * device-src/vfs-device.c: announce LEOM one byte later
4289         * installcheck/Amanda_Xfer.pl: set device properties before starting
4290
4291 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
4292         * perl/Amanda/Changer/robot.pm: use correct device field volume_header
4293
4294 2010-07-23  Dustin J. Mitchell <dustin@zmanda.com>
4295         * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS
4296           timeout to 60s and set CURDATA=1 to use cached state
4297
4298 2010-07-23  Jean-Louis Martineau <martineau@zmanda.com>
4299         * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file.
4300         * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and
4301                                        devhandling reservation.
4302         * server-src/taper.pl: Write quit error meesage to debug file.
4303
4304 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
4305         * device-src/vfs-device.c device-src/vfs-device.h: add support for
4306           monitoring free space to generate LEOM before ENOSPC hits; set LEOM
4307           property to TRUE by default
4308         * installcheck/Amanda_Device.pl: test monitor_free_space prop
4309         * man/xml-source/amanda-devices.7.xml: document VFS device LEOM
4310           support and the MONITOR_FREE_SPACE property
4311
4312 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
4313         * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test
4314         * device-src/property.c device-src/property.h: remove FREE_SPACE
4315           property, QualifiedSize, and SizeAccuracy
4316         * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE
4317           support
4318         * man/xml-source/amanda-devices.7.xml: remove docs
4319         * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize
4320
4321 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
4322         * device-src/Makefile.am: add reference to new header file
4323
4324 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
4325         * device-src/xfer-dest-taper-cacher.c: remove support for
4326           cache_inform, simplify disk cache
4327         * device-src/xfer-dest-taper-splitter.c: add support for cache_inform,
4328           use it even when LEOM is available
4329         * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h
4330           device-src/xfer-device.h: move common methods to new header file; add
4331           instance_init
4332         * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use
4333           splitter for cache_inform
4334         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function
4335           signatures
4336         * perl/amglue/glib.swg: take any perl true or flase value to make
4337           a gboolean
4338
4339 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
4340         * server-src/diskfile.h (disk_t) Add allow_split and splitsize.
4341         * server-src/diskfile.c: Set allow_split and splitsize.
4342         * server-src/driver.c: Use allow_split and splitsize.
4343         * server-src/planner.c: Use allow_split and splitsize.
4344         * server-src/amadmin.c (disklist_one): Print allow_split.
4345
4346 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
4347         * server-src/taper.pl: Use ' to quote label in 'wrote label' line.
4348         * server-src/amstatus.pl: Parse it.
4349         * installcheck/amstatus.pl: Check it.
4350
4351 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
4352         * ndmp-src/Makefile.am: use += with BUILT_SOURCES
4353
4354 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
4355         * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h
4356           parameter that sets the initial host
4357         * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet
4358           with no net connection
4359
4360 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
4361         * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported
4362         * config/amanda/tape.m4: fix bugs causing tape support to always be
4363           built (symbols aren't defined in Snow Leopard)
4364         * device-src/device.c: fix bug
4365         * perl/Amanda/Device.swg: return undef for undefined properties,
4366           rather than crashing
4367         * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do
4368           not assume tape device is defined
4369
4370 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
4371         * config/macro-archive/ac_prog_swig.m4: fix swig version detection
4372           - swig-2.0.0 works fine
4373
4374 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
4375         * perl/Amanda/Tapelist.swg: better fix for temp filename
4376
4377 2010-07-15  Jean-Louis Martineau <martineau@zmanda.com>
4378         * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for
4379                                        incremental.
4380         * installcheck/amreport.pl: Test it.
4381
4382 2010-07-15  Satya Ganga  <gast@zmanda.com>
4383         * config/amanda/progs.m4: Use correct search path for mt binary.
4384
4385 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
4386         * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error
4387           messages better
4388
4389 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
4390         * configure.in config/amanda/shmem.m4: remove unnecessary config
4391           checks
4392
4393 2010-07-13  Dustin J. Mitchell <dustin@zmanda.com>
4394         * perl/Amanda/Report.pm: parse the planner's skipping a dump
4395         * perl/Amanda/Report/human.pm: present it correctly
4396         * installcheck/amreport.pl: adjust tests accordingly
4397
4398 2010-07-12  Nandan Athawale <nandan.athawale@gmail.com>
4399         * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper
4400           is set
4401
4402 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
4403         * server-src/amoverview.pl: fix variable references in evals
4404
4405 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
4406         * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck
4407           for amoverview
4408
4409 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
4410         * server-src/amoverview.pl: update to use Amanda::DB::Catalog
4411         * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys
4412         * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness
4413         * AUTHORS: add Orion
4414
4415 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
4416         * common-src/conffile.c: fix error message
4417
4418 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
4419         * example/amanda.conf.in example/template.d/advanced.conf.in
4420           example/template.d/amanda-S3.conf.in: replace label_new_tapes with
4421           autolabel
4422
4423 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
4424         * installcheck/Amanda_Xfer.pl: fix test counts under -without-server
4425
4426 2010-07-10  Dustin J. Mitchell <dustin@zmanda.com>
4427         * config/amanda/userid.m4: apply the default value for --with-group
4428           to the correct variable
4429
4430 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
4431         * server-src/amcheck.c: small bugfixes
4432         * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support
4433           LEOM configurations
4434         * server-src/taper.pl: use new args; log warnings with L_WARNING, not
4435           L_FAIL
4436         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test
4437           changes
4438
4439 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
4440         * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest
4441         * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter
4442         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class
4443           and renamed class
4444         * device-src/xfer-dest-taper-directtcp.c 
4445           device-src/xfer-dest-taper.c: move null cach_inform to parent class
4446         * device-src/xfer-device.h: prototypes
4447         * device-src/Makefile.am: new file
4448         * installcheck/Amanda_Device.pl: LEOM tests
4449         * installcheck/Amanda_Xfer.pl: tests for new taper dest
4450         * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher)
4451
4452 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
4453         * device-src/property.c device-src/property.h device-src/device.c: add
4454           LEOM property
4455         * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml
4456           man/xml-source/amanda.conf.5.xml: document it
4457         * installcheck/Amanda_Device.pl: test it
4458         * device-src/dvdrw-device.c device-src/ndmp-device.c
4459           device-src/null-device.c device-src/rait-device.c
4460           device-src/s3-device.c device-src/tape-device.c: set LEOM property
4461           appropriately
4462         * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support
4463           property, and allow it to be changed for testing
4464         * server-src/taper.pl: small bugfix
4465
4466 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
4467         * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump
4468
4469 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
4470         * perl/amglue/constants.swg: new SWIG precompiler magic to allow
4471           flexible handling of lists of constants
4472         * perl/Amanda/Config.pod: add section header
4473         * perl/Amanda/Config.swg: include all config param constants in the
4474           POD
4475
4476 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
4477         * installcheck/Amanda_Device.pl: erase each S3 volume after the tests
4478           are finished with it
4479
4480 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
4481         * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors
4482
4483 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
4484         * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial
4485           of use of a second tape due to user configuration; dump_cb adds
4486           the config_denial_message parameter
4487         * server-src/taper.pl: use new parameter
4488         * installcheck/Amanda_Taper_Scribe.pl: updated tests
4489
4490 2010-07-06  Orion Poplawski <orion@cora.nwra.com>
4491         * server-src/amoverview.pl: fix parsing for newer amadmin find output
4492
4493 2010-07-06  Dustin J. Mitchell <dustin@zmanda.com>
4494         * device-src/s3.c: fix typo (that I added, not Nandan)
4495
4496 2010-07-06  Nandan Athawale <nandan.athawale@gmail.com>
4497         * device-src/s3.c: use Amazon's HTTP response headers to calculate a
4498           time offset for the local clock, to automatically work around time
4499           skew
4500
4501 2010-06-29  Dustin J. Mitchell <dustin@zmanda.com>
4502         * installcheck/Makefile.am installcheck/chunker.pl: new check
4503         * perl/Amanda/Header.swg: bug fix
4504         * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for
4505           testing
4506
4507 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
4508         * server-src/driverio.c: fix format specifies
4509
4510 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
4511         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
4512           add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR,
4513           and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print
4514           deprecation warnings once per process; deprecate TAPE_SPLITSIZE,
4515           FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER
4516         * example/amanda.conf.in example/template.d/amanda-S3.conf.in
4517           example/template.d/amanda-harddisk.conf.in
4518           example/template.d/dumptypes: remove old params
4519         * installcheck/Amanda_Config.pl
4520           installcheck/Amanda_Taper_Scribe.pl
4521           installcheck/Installcheck/Dumpcache.pm
4522           installcheck/taper.pl: update tests
4523         * man/xml-source/amanda-compatibility.7.xml: document deprecations
4524           and what to do about them
4525         * man/xml-source/amanda.conf.5.xml: document deprecations and new
4526           params
4527         * perl/Amanda/Device.pod: add doc about size=0 for
4528           write_from_connection, fix typo
4529         * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config
4530         * server-src/diskfile.c server-src/diskfile.h: add dumptype->config
4531         * server-src/amcheck.c: checks for the new params
4532         * server-src/driverio.c server-src/taper.pl: add all config params to
4533           the driver/taper protocol
4534
4535 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
4536         * device-src/xfer-dest-taper-directtcp.c: round part size to a
4537           multiple of the block size
4538         * installcheck/Amanda_Xfer.pl: test it
4539
4540 2010-06-24  Dustin J. Mitchell <dustin@zmanda.com>
4541         * application-src/ampgsql.pl: use conditionals to skip useless
4542           selfcheck checks
4543
4544 2010-06-23  Dustin J. Mitchell <dustin@zmanda.com>
4545         * application-src/ampgsql.pl: conditionalize some checks on property
4546           being set
4547
4548 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
4549         * server-src/amfetchdump.pl: fix parsing levels and -p
4550
4551 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
4552         * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens
4553          and Marco Poli
4554
4555 2010-06-22  Jean-Louis Martineau <martineau@zmanda.com>
4556         * device-src/tape-device.c: Handle write returning 0 for LEOM.
4557
4558 2010-06-21  Dustin J. Mitchell <dustin@zmanda.com>
4559         * perl/Makefile.am: list libamglue in _SOURCES variables, too,
4560           so that dependencies are correct and parallel makes do not
4561           fail
4562
4563 2010-06-18  Jean-Louis Martineau <martineau@zmanda.com>
4564         * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline.
4565
4566 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
4567         * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS
4568
4569 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
4570         * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs
4571           to match new changer API
4572
4573 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
4574         * common-src/bsd-security.c common-src/bsdtcp-security.c
4575           common-src/bsdudp-security.c common-src/local-security.c
4576           common-src/security-util.c common-src/ssh-security.c: zero out new
4577           structures, and protect logtime messages from NULL dereferences
4578
4579 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
4580         * installcheck/Makefile.am: use chmod a-x instead of chmod -x
4581
4582 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
4583         * installcheck/Makefile.am: remove comment from Makefile rule
4584
4585 2010-06-16  Jean-Louis Martineau <martineau@zmanda.com>
4586         * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE.
4587
4588 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
4589         * installcheck/Makefile.am: add chmod -x for more recent Test::Harness
4590           implementations that are confused by executable tests
4591
4592 2010-06-15  Jean-Louis Martineau <martineau@zmanda.com>
4593         * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner'
4594           line should result in FAILED dump (not MISSING dump).
4595         * installcheck/amreport.pl: Test it.
4596
4597 2010-06-14  Dustin J. Mitchell <dustin@zmanda.com>
4598         * config/automake/installperms.am: add new special cases
4599
4600         * application-src/Makefile.am client-src/Makefile.am
4601           oldrecover-src/Makefile.am recover-src/Makefile.am
4602           server-src/Makefile.am: only use installperms for setuid executables
4603
4604 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
4605         * perl/Amanda/Report.pm: POD overhaul
4606
4607 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
4608         * perl/amglue/directtcp.swg: fix unterminated array
4609
4610 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4611         * config/amanda/net.m4: remove use of AS_HELP_STRING
4612
4613 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4614         * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles
4615         * common-src/fileheader.c: don't put partnum=1 on tape headers, etc.
4616
4617 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4618         * common-src/fileheader.c: fix inaccurate partnum in such headers
4619         * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with
4620           DUMPFILE headers
4621
4622 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4623         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix
4624           NDMOS_OPTION_NO_NDMPvX precompiler conditionals
4625
4626 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4627         * installcheck/Amanda_Device.pl: test the connect method
4628
4629 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4630         * ndmp-src/ndma_comm_dispatch.c: uncomment and update code
4631           to support NDMP_MOVER_CONNECT via ndmta.
4632
4633 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4634         * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c
4635           device-src/device.h: add a device_connect method
4636         * device-src/ndmp-device.c: implement it
4637         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add
4638           ndmp_connection_mover_connect
4639         * perl/Amanda/Xfer.pod: update documentation using the word
4640           "initiator"
4641
4642 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4643         * device-src/s3-device.c: add S3_STORAGE_CLASS property
4644         * device-src/s3.c device-src/s3.h: add storage_class
4645         * installcheck/Amanda_Device.pl: set the property
4646         * man/xml-source/amanda-devices.7.xml: document it
4647
4648 2010-06-10  Dustin J. Mitchell <dustin@zmanda.com>
4649         * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes
4650           problems with amidxtaped: "Specified file list matches multiple
4651           dumps"
4652
4653 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4654         * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags.
4655         * server-src/amreport.pl: Add STRANGE or MISSING to email subject.
4656         * installcheck/Amanda_Report.pl: Test new flags.
4657
4658 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4659         * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of
4660           timestamps, each value is an array of try.
4661         * perl/Amanda/Report/human.pm: Use 'dumps'.
4662         * perl/Amanda/Report/postscript.pm: Use 'dumps'.
4663         * perl/Amanda/Report/xml.pm: Use 'dumps'.
4664         * contrib/amreport.rnc: Add 'dumps'
4665         * server-src/amreport.pl: Use 'dumps'
4666         * installcheck/amreport.pl: Check 'dumps'
4667         * installcheck/Amanda_Report.pl: Check 'dumps'
4668
4669 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4670         * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check
4671           the data_path.
4672         * server-src/driver.c: Check FAILED result after PORT command.
4673         * server-src/driverio.c: Send data_path in taper PORT-WRITE command.
4674         * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the
4675           scribe check_data_path method.
4676         * installcheck/taper.pl: Test it.
4677
4678 2010-06-09 Dan Locks <dwlocks@zmanda.com>
4679         *  packaging/rpm/amanda.spec: remove Provides from main section,
4680            remove amanda-client from server provides section.
4681
4682 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4683         * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl,
4684           installcheck/Amanda_Recovery_Planner.pl,
4685           installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl,
4686           installcheck/taper.pl, perl/Amanda/Report.pm,
4687           perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm,
4688           server-src/find.c, server-src/taper.pl: taper log a "config|error"
4689           keyword in the "ERROR no-tape" line.
4690
4691 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4692         * common-src/conffile.c: Allow negative etimeout.
4693
4694 2010-06-08  Dustin J. Mitchell <dustin@zmanda.com>
4695         * ndmp-src/ndmp4_enum_strs.c: add missing enum
4696
4697 2010-06-07  Dustin J. Mitchell <dustin@zmanda.com>
4698         * ndmp-src/ndml_agent.c: add INADDR_NONE
4699         * ndmp-src/ndmos_glib.h: remove solaris-specific conditional
4700
4701 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
4702         * perl/Amanda/Device.swg: fix uninitialized variable
4703
4704 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
4705         * common-src/amfeatures.h: New fe_amindexd_quote_label.
4706         * common-src/amfeatures.c: fe_amindexd_quote_label.
4707         * perl/Amanda/Feature.pod: fe_amindexd_quote_label.
4708         * server-src/amindexd.c: Quote label if fe_amindexd_quote_label.
4709         * recover-src/amrecover.c: Add debugging statement.
4710         * recover-src/display_commands.c: Parse quoted label.
4711         * recover-src/extract_list.c: Parse quoted label.
4712
4713 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
4714         * xfer-src/xfer-element.h common-src/Makefile.am
4715           common-src/queueing-test.c common-src/queueing.c
4716           common-src/queueing.h: remove queueing support
4717         * installcheck/Amanda_Device.pl device-src/Makefile.am
4718           device-src/device-queueing.c device-src/device-queueing.h
4719           device-src/device.c device-src/device.h device-src/property.h: remove
4720           queue_fd, device_write_from_fd and device_read_to_fd
4721         * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd,
4722           write_from_fd, and read_to_fd; add test utilities to move random data
4723           onto and off of devices
4724
4725 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
4726         * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod
4727           perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm
4728           server-src/amfetchdump.pl server-src/amidxtaped.pl
4729           server-src/amrestore.pl xfer-src/filter-process.c
4730           xfer-src/xfer-element.h: add a log_stderr argument to
4731           Amanda::Xfer::Filter::Process
4732         * server-src/amcheckdump.pl: use the transfer architecture
4733
4734 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
4735         * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded"
4736           by "label '$label' not found" for old changer scripts.
4737
4738 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
4739         * server-src/find.c: zero-pad timestamps out to 14 digits for
4740           comparison
4741         * perl/Amanda/Recovery/Clerk.pm: same
4742
4743 2010-06-03 Dan Locks <dwlocks@zmanda.com>
4744         *  packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead.
4745
4746 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
4747         * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect
4748           redhat systems that change the wildcard default for include; and
4749           consider 1.15.91 >= 1.16
4750
4751 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4752         * server-src/planner.c: Fix printf format.
4753
4754 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
4755         * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql
4756           restore process
4757
4758 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4759         * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file.
4760         * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely.
4761         * installcheck/amrmtape.pl: Fix.
4762
4763 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4764         * server-src/amcleanupdisk.c: Use CLR and SET.
4765         * server-src/planner.c: Use CLR, SET and ISSET.
4766           Don't update csize if level < 0.
4767
4768 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4769         * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't
4770           exists.
4771
4772 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
4773         * common-src/security-util.c: Print a debug message every 10 minutes if
4774           something is transmitted.
4775         * common-src/security-util.h (tcp_conn): Add logstamp.
4776
4777 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
4778         * server-src/dumper.c: Drop root privilege before executing compression
4779           or encryption program.
4780
4781 2010-06-02  Dustin J. Mitchell <dustin@zmanda.com>
4782         * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly
4783           high-ascii characters in -t test
4784
4785 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
4786         * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23.
4787
4788 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
4789         * server-src/find.c(print_find_result): Quote label.
4790
4791 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
4792         * config/set_full_version: Add comments.
4793
4794 2010-05-28  Dustin J. Mitchell <dustin@zmanda.com>
4795         * installcheck/gnutar.pl: tests for gnutar globbing behavior
4796         * installcheck/Makefile.am: run them
4797
4798 2010-05-28 Dan Locks <dwlocks@zmanda.com>
4799         *  packaging/Makefile.am: include common in EXTRA_DIST
4800
4801 2010-05-28 Dan Locks <dwlocks@zmanda.com>
4802
4803 2010-05-27  Jean-Louis Martineau <martineau@zmanda.com>
4804         * server-src/find.c: Don't report taper line with filenum=0.
4805
4806 2010-05-27  Dustin J. Mitchell <dustin@zmanda.com>
4807         * installcheck/taper.pl: test for a new write after EOM without
4808           splitting
4809         * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
4810           this condition and switching to a new volume appropriately
4811
4812 2010-05-26  Dustin J. Mitchell <dustin@zmanda.com>
4813         * config/amanda/libs.m4: Allow user to specify glib config explicitly
4814
4815 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
4816         * perl/Makefile.am: add libamxfer as a dependency of libamglue
4817
4818 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
4819         * installcheck/amtapetype.pl: use force for subsequent runs
4820
4821 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
4822         * device-src/amtapetype.pl: close and re-open devices between tests
4823         * device-src/xfer-dest-device.c: fix memory leak
4824         * man/xml-source/amtapetype.8.xml: fix -f docs
4825
4826 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
4827         * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
4828           with level if NDMP9_ILLEGAL_STATE_ERR.
4829
4830 2010-05-21  Dustin J. Mitchell <dustin@zmanda.com>
4831         * device-src/amtapetype.pl: get the block_size property earlier
4832         * device-src/device.c: allow property_get after a DEVICE_ERROR
4833
4834 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
4835         * server-src/driver.c: Always report "taperflush criteria not met".
4836
4837 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
4838         * installcheck/Amanda_Changer.pl: test more configs
4839         * man/xml-source/amanda.conf.5.xml: point users to
4840           amanda-changers(7)
4841         * perl/Amanda/Changer.pm: support either tpchanger or
4842           tapedev in changer defs
4843
4844 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
4845         * config/amanda/progs.m4: always use rpcgen
4846         * ndmp-src/Makefile.am: always build rpc outputs
4847         * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h
4848           ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c
4849           ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h
4850           ndmp-src/ndmp9_xdr.c: remove from version control (and dist)
4851
4852 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
4853         * common-src/fileheader.c: don't print to stderr anymore
4854
4855 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
4856         * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products
4857           first, since they are not solaris-compatible
4858
4859 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
4860         * application-src/amsamba.pl: filter "Server not using user level ..."
4861
4862 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
4863         * server-src/amtape.pl (inventory): print barcode from unknown state.
4864
4865 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
4866         * perl/Amanda/Application.swg (default_validate): Use sysread.
4867
4868 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4869         * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
4870           required
4871
4872 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4873         * perl/Amanda/Changer/rait.pm: add debug message when child slot
4874           counts differ
4875
4876 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4877         * config/amanda/net.m4: correct help messages
4878
4879 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4880         * man/xml-source/amanda.conf.5.xml: fix typo
4881
4882 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
4883         * server-src/amfetchdump.pl: use syswrite so the filehandle gets
4884           properly flushed
4885
4886 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
4887         * perl/Amanda/Changer/ndmp.pm: add verbose property
4888         * installcheck/Amanda_Changer_ndmp.pl: use it
4889
4890 2010-05-14  Dustin J. Mitchell <dustin@zmanda.com>
4891         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
4892           window_offset to mover_get_state
4893         * device-src/ndmp-device.c: insert corresponding NULLs
4894
4895 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4896         * server-src/amcheckdump.pl: Check subprocess exit status and print
4897           their stderr.
4898
4899 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4900         * common-src/amcryptsimple.pl: Exit on error if gpg fail.
4901
4902 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4903         * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
4904
4905 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4906         * application-src/amgtar.c: fix exclude-file.
4907
4908 2010-05-12  Dustin J. Mitchell <dustin@zmanda.com>
4909         * installcheck/Amanda_Device.pl: add regression test
4910         * device-src/tape-device.c: set self->fd to -1 when closing; add
4911           better error messages
4912
4913 2010-05-11 Dan Locks <dwlocks@zmanda.com>
4914         *  packaging/common/substitute.pl: added.  contains much machinery not
4915            yet used in packaging. 
4916         *  packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
4917            %%DATE%% macros which are expanded by substitute.pl.
4918         *  packaging/deb/changelog: renamed to above
4919         *  packaging/deb/rules: fix stray configure option
4920         *  packaging/deb/buildpkg: adjust to use substitute.pl instead of
4921            figuring VERSION out directly.
4922
4923 2010-05-10  Jean-Louis Martineau <martineau@zmanda.com>
4924         * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
4925
4926 2010-05-07  Jean-Louis Martineau <martineau@zmanda.com>
4927         * common-src/security-util.c: Use global buffer for 
4928           security_stream_read_sync.
4929         * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
4930           returnned by security_stream_read_sync.
4931
4932 2010-05-07  Dustin J. Mitchell <dustin@zmanda.com>
4933         * device-src/rait-device.c: fix assertion failure when a child device
4934           gives an error
4935         * perl/Amanda/Changer/rait.pm: add support for braced drive specs
4936         * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
4937           for an eject operation
4938         * man/xml-source/amanda-changers.7.xml: document rait changer drive
4939           specifications
4940
4941 2010-05-06  Jean-Louis Martineau <martineau@zmanda.com>
4942         * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
4943           for restore, escape the non glob include and exclude.
4944         * client-src/client_util.h: Add include_list_glob and exclude_list_glob
4945           to backup_support_option_t.
4946         * client-src/client_util.c: Parse new support option.
4947         * man/xml-source/amgtar.8.xml: Ducument new properties.
4948         * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
4949           asis to amrecover.
4950
4951 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
4952         * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
4953           have a valid status
4954
4955 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
4956         * device-src/s3-device.c: fix several fatal flaws in the
4957           read_block implementation
4958
4959 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
4960         * perl/Amanda/Report/human.pm: don't assume parts are defined
4961
4962 2010-05-04  Dustin J. Mitchell <dustin@zmanda.com>
4963         * man/xml-source/amanda-devices.7.xml: add more regions
4964         * man/xml-source/amcheckdump.8.xml: remove duplicate section
4965
4966 2010-05-04  Jean-Louis Martineau <martineau@zmanda.com>
4967         * common-src/security-util.c: Free packet on close.
4968
4969 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4970         * common-src/glib-util.c: reorgnize glib_init to be compatible with
4971           glib-2.24+
4972
4973 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4974         * server-src/amlabel.pl: change the text to be less ambiguous
4975
4976 2010-05-03  Jean-Louis Martineau <martineau@zmanda.com>
4977         * server-src/disk_history.c: Keep all parts.
4978
4979 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4980         * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
4981
4982 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4983         * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
4984           recovery
4985         * device-src/ndmp-device.c: add extra assertion
4986         * device-src/xfer-dest-device.c: remove debug print
4987         * device-src/xfer-device.h device-src/xfer-source-recovery.c
4988           installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
4989           perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
4990         * perl/Amanda/Recovery/Clerk.pm: call use_device
4991
4992 2010-04-30  Dustin J. Mitchell <dustin@zmanda.com>
4993         * installcheck/Amanda_Changer_robot.pl: fix installchecks
4994           to pass after previous change
4995
4996 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
4997         * perl/Amanda/Changer/robot.pm: Default state file is in
4998                                         $localstatedir/amanda
4999         * man/xml-source/amanda-changers.7.xml: Document new location.
5000
5001 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
5002         * device-src/directtcp-connection.c: Typo.
5003
5004 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
5005         * server-src/amreport.pl: Print "FAIL" in email subject header if run
5006                                   failed.
5007         * installcheck/amreport.pl: Test it.
5008
5009 2010-04-27  Paul C. Mantz <pcmantz@zmanda.com>
5010         * perl/Amanda/Report/human.pm: better per-tape stat labels
5011         * installcheck/amreport.pl: updated tests
5012
5013 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
5014         * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
5015
5016 2010-04-27  Dustin J. Mitchell <dustin@zmanda.com>
5017         * server-src/planner.c: change degraded-mode messages to make more
5018           sense to the user
5019
5020 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
5021         * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
5022           changer have no inventory.
5023
5024 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
5025         * server-src/amreport.pl: print org & config in xml output
5026
5027 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
5028         * perl/Amanda/Recovery/Scan.pm: Use default change if message is
5029                                         $DEFAULT_CHANGER
5030         * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
5031                                     AMRECOVER_CHANGER
5032
5033 2010-04-26  Dustin J. Mitchell <dustin@zmanda.com>
5034         * perl/Amanda/Taper/Scribe.pm: give total time from
5035           dump start to dump end as total_duration
5036         * server-src/taper.pl: use total_duration
5037
5038 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
5039         * server-src/planner.c: Do not promote if no full estimate.
5040
5041 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
5042         * installcheck/Amanda_Report.pl: changed part to partnum
5043
5044 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
5045         * server-src/amcheckdump.pl: Check all process status.
5046
5047 2010-04-23  Paul C. Mantz <pcmantz@zmanda.com>
5048         * server-src/amreport.pl perl/Amanda/Report.pm
5049           perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
5050           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
5051           location of tape parts in Amanda::Report
5052         * installcheck/Amanda_Report.pl: installchecks
5053
5054 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
5055         * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
5056         * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
5057         * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
5058
5059 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
5060         * ndmp-src/ndml_nmb.c: Don't log successful halt.
5061         * server-src/dumper.c: Don't log no-op command.
5062
5063 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
5064         * man/xml-source/amanda-devices.7.xml: more detail for
5065           STREAMING property
5066
5067 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
5068         * device-src/xfer-dest-taper-splitter.c: fix assertion failure
5069           reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
5070
5071 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
5072         * installcheck/Amanda_Header.pl: add checks for all fields
5073
5074 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
5075         * common-src/util.c: add debugging check to interruptible_accept
5076         * server-src/taper.pl: don't use IO::Socket, as it is badly broken
5077           and not thread-safe on Solaris 8
5078         * xfer-src/element-glue.c: add debugging checks
5079
5080 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
5081         * server-src/amcleanup.pl: Fix running command with system.
5082
5083 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
5084         * example/Makefile.am: fix 'make clean' to not erase source files.
5085
5086 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
5087         * config/amanda/progs.m4: check for, and reject, Solaris's
5088           SGU lex, which is badly broken
5089         * configure.in: use AMANDA_PROG_LEX
5090
5091 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
5092         * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
5093           Jean-Francois Malouin
5094
5095 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
5096         * perl/Amanda/Report/xml.pm: use bytes as data unit
5097
5098 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
5099         * perl/Amanda/Report/xml.pm: tries need to show all programs
5100
5101 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
5102         * perl/Amanda/Changer/ndmp.pm: $conn = undef
5103
5104 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
5105         * common-src/match-test.c: lots of new tests
5106         * common-src/match.c: fix comments, minor bugs in tar_to_regex and
5107           match_level
5108         * common-src/match.h: comments to describe each function
5109         * man/xml-source/amanda.8.xml: update expression docs
5110
5111 2010-04-21  Dustin J. Mitchell <dustin@zmanda.com>
5112         * server-src/amlabel.pl: add warning when the old label is in the
5113           tapelist
5114
5115 2010-04-20  Dustin J. Mitchell <dustin@zmanda.com>
5116         * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE
5117         * device-src/rait-device.c: fix bugs
5118
5119 2010-04-19  Jean-Louis Martineau <martineau@zmanda.com>
5120         * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
5121           seen a second time.
5122
5123 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
5124         * perl/Amanda/Config.swg: move val_t output typemap to a function
5125
5126 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
5127         * server-src/amadmin.c: show all custom compression/encryption options
5128           in amadmin disklist
5129         * man/xml-source/amanda.conf.5.xml: document undocumented params
5130
5131 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
5132         * server-src/amcleanup.pl: don't fail when run with no args
5133
5134 2010-04-15  Paul C. Mantz <pcmantz@gmail.com>
5135         * perl/Amanda/Curinfo/Info.pm: fixed header parsing
5136         * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
5137         * installcheck/Amanda_Curinfo.pl: installchecks
5138
5139 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
5140         * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
5141
5142 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
5143         * device-src/xfer-dest-device.c: don't use queueing anymore; this
5144           removes the max_memory constructor argument
5145         * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype
5146           change
5147         * perl/Amanda/Xfer.pod: docs
5148         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
5149           installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl
5150           installcheck/amrestore.pl server-src/amvault.pl: change constructor
5151           invocation
5152
5153 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
5154         * common-src/util.c common-src/util.h: new interruptible_accept that
5155           uses a prolong function to stop waiting
5156         * common-src/stream.c: use interruptible_accept in stream_accept
5157         * xfer-src/element-glue.c: use interruptible_accept to allow
5158           directtcp_accept to be cancelled
5159         * installcheck/Amanda_Xfer.pl: test xfer cancellation
5160
5161 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
5162             Satya Ganga <gsat@zmanda.com>
5163         * application-src/amsamba.pl: Fix use of include/exclude list.
5164
5165 2010-04-14  Dustin J. Mitchell <dustin@zmanda.com>
5166         * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm
5167           server-src/taper.pl: rename dump_timestamp -> write_timestamp
5168
5169 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
5170         * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
5171
5172 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
5173         * common-src/conffile.c common-src/conffile.h: make file-pad and
5174           tapebufs parameters errors
5175         * perl/Amanda/Config.swg: remove parameters
5176         * server-src/taper.pl: don't check tapebufs
5177         * installcheck/Amanda_Config.pl: adjust testing
5178         * man/xml-source/amanda-compatibility.7.xml: add deprecation
5179           note about amrecover_do_fsf and amrecover_check_label
5180
5181 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
5182         * device-src/xfer-dest-taper-splitter.c
5183           device-src/xfer-dest-taper-directtcp.c: make sure duration is positive
5184
5185 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
5186         * common-src/conffile.c: fix derived value for autolabel
5187
5188 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
5189         * man/xml-source/amanda-applications.7.xml: info about properties
5190         * man/xml-source/amanda-devices.7.xml: info about properties
5191         * man/xml-source/amanda-scripts.7.xml: info about properties
5192         * man/xml-source/amzfs-snapshot.8.xml: fix typo
5193
5194 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
5195         * NEWS: add info about deprecations in 2.6.1
5196         * man/xml-source/amanda-compatibility.7.xml: update manpage to
5197           reflect info in NEWS
5198
5199 2010-04-13  Paul C. Mantz <pcmantz@zmanda.com>
5200         * server-src/amreport.pl: load holding disk before making report
5201         * perl/Amanda/Report/human.pm: report holding disk correctly
5202         * installcheck/amreport.pl: installcheck
5203
5204 2010-04-13  Jean-Louis Martineau <martineau@zmanda.com>
5205         * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
5206           Always log NOTIFY_DATA_HALTED.
5207
5208 2010-04-12  Dustin J. Mitchell <dustin@zmanda.com>
5209         * common-src/conffile.c: deprecate amrecover_do_fsf and
5210           amrecover_check_label
5211         * example/amanda.conf.in example/template.d/advanced.conf.in: remove
5212         * man/xml-source/amanda.conf.5.xml: indicate deprecation
5213         * NEWS: mention deprecation
5214
5215 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
5216         * perl/Amanda/Report/human.pm: typo.
5217
5218 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
5219         * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
5220         * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
5221         * perl/Amanda/Report/human.pm: Print taper error message.
5222         * server-src/find.c: Set current_label to "".
5223
5224 2010-04-08  Paul C. Mantz <pcmantz@zmanda.com>
5225         * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
5226           which search the logdir instead of the tapelist
5227         * perl/Amanda/Logfile.pod: documentation
5228         * server-src/amreport.pl: use find_latest_log insted of find_log
5229
5230 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
5231         * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
5232           eliminate reference loops created by use of %subs
5233         * perl/Amanda/MainLoop.pod: document it
5234         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
5235           installcheck/Amanda_Changer_disk.pl
5236           installcheck/Amanda_Changer_multi.pl
5237           installcheck/Amanda_Changer_ndmp.pl
5238           installcheck/Amanda_Changer_rait.pl
5239           installcheck/Amanda_Changer_robot.pl
5240           installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
5241           installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
5242           installcheck/Amanda_Recovery_Scan.pl
5243           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
5244           installcheck/amfetchdump.pl installcheck/amidxtaped.pl
5245           installcheck/amlabel.pl perl/Amanda/Changer.pm
5246           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
5247           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
5248           perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
5249           perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
5250           server-src/amcheck-device.pl server-src/amfetchdump.pl
5251           server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
5252           server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
5253
5254 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
5255         * config/automake/scripts.am: comment double quote 'use lib'.
5256
5257 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
5258         * application-src/amsamba.pl: Use tarmode.
5259
5260 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
5261         * recover-src/amrecover.c: Print to debug what is sent to amindexd.
5262         * recover-src/uparse.y: Parse setdate correctly.
5263
5264 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
5265         * ndmp-src/ndma_comm_dispatch.c:
5266           Comment "Second add_dir entry is non-conforming".
5267
5268 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
5269         * server-src/planner.c: fix two bugs that caused planner to generate a
5270           bogus schedule; remove a redundant assignment
5271
5272 2010-04-07 Dan Locks <dwlocks@zmanda.com>
5273         *  packaging/rpm/amanda.spec: specify mandir explicitly to work around
5274            old autoconf
5275
5276 2010-04-07  Paul C. Mantz <pcmantz@zmanda.com>
5277         * server-src/amreport.pl perl/Amanda/Report.pm
5278         perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
5279         perl/Amanda/Report/xml.pm installcheck/amreport.pl
5280         installcheck/Amanda_Report.pl: taped segments called parts, not chunks
5281
5282
5283 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
5284         * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
5285
5286 2010-04-07  Dustin J. Mitchell <dustin@zmanda.com>
5287         * config/amanda/userid.m4: CHECK_USERID conditional
5288         * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
5289         * installcheck/Makefile.am: use it
5290
5291 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
5292         * server-src/amcheck.c: Don't exit on match_disklist error.
5293         * server-src/diskfile.c (match_disklist): Generate better message for
5294           strategy "skip" or ignore dle.
5295
5296 2010-04-06  Jean-Louis Martineau <martineau@zmanda.com>
5297         * recover-src/extract_list.c: Set restore_dir to NULL.
5298
5299 2010-04-06  Paul C. Mantz <pcmantz@zmanda.com>
5300         * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
5301         * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
5302           NDMP4_LOG_* messages for testing
5303
5304 2010-04-05  Jean-Louis Martineau <martineau@zmanda.com>
5305         * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
5306           property.
5307
5308 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5309         * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
5310         * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
5311           loading slot 'current'
5312         * installcheck/Amanda_Taper_Scan_traditional.pl: test it
5313
5314 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5315         * server-src/amidxtaped.pl: send changer error with MESSAGE
5316         * installcheck/amidxtaped.pl: test for it
5317
5318 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5319         * config/amanda/version.m4: be resilient to all but the first
5320           digit of the version number missing
5321
5322 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5323         * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
5324           reference loop in %subs (interim solution -- this arrangement
5325           leaks everywhere)
5326
5327 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5328         * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
5329           every Interface operation, so that objects are not unreffed
5330           during Perl's global cleanup.
5331
5332 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5333         * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
5334         * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
5335           search failure; check for failure before printing "slot N"
5336           prefix
5337         * server-src/amcheck-device.pl: implement new user_msg_fn key
5338           to print expected volume on failure
5339
5340 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5341         * perl/Amanda/Device.pod: document that finish() can be called even
5342           if start() was not, to release resources
5343         * device-src/ndmp-device.c: implement
5344         * device-src/tape-device.c: implement
5345         * perl/Amanda/Changer.pm: always finish() a device in $res->release()
5346
5347 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5348         * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
5349         * installcheck/Makefile.am: add util
5350
5351 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5352         * server-src/infofile.c: use %lld in scanning instead of %jd,
5353           since Solaris 8 doesn't have %j support; also fix handling
5354           of parse errors
5355
5356 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5357         * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
5358           DEVICE_STATUS_DEVICE_BUSY
5359
5360 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
5361         * perl/Amanda/Changer.pm: check $err->failed before returning reason
5362
5363 2010-04-02  Paul C. Mantz <pcmantz@zmanda.com>
5364         * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
5365         * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
5366         * installcheck/amreport.pl: installchecks
5367
5368 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
5369         * perl/Amanda/Util.pod: correct inaccurate claims in burp
5370
5371 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
5372         * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
5373           sizeof(gint)
5374
5375 2010-04-02  Jean-Louis Martineau <martineau@zmanda.com>
5376         * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
5377
5378 2010-04-01  Paul C. Mantz <pcmantz@gmail.com>
5379         * server-src/amreport.pl: accepts and ignores disk args in script mode
5380         * installcheck/amreport.pl: checks
5381
5382 2010-04-01  Jean-Louis Martineau <martineau@zmanda.com>
5383         * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
5384         * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
5385         * installcheck/amrecover.pl: Check 'localhost' hostname,
5386                                      remove '^' from expect regex
5387         * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
5388
5389 2010-04-01  Dustin J. Mitchell <dustin@zmanda.com>
5390         * application-src/ampgsql.pl: check permissions on archive dir, and
5391           fail selfcheck if they are not sufficient.  Also implement the
5392           wal-max-wait=0 that's already documented
5393         * man/xml-source/ampgsql.8.xml: document required permissions
5394
5395 2010-03-31  Dustin J. Mitchell <dustin@zmanda.com>
5396         * installcheck/amrecover.pl: fix diag()
5397
5398 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5399         * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
5400         * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
5401
5402 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5403         * config/set_full_version: fix.
5404         * config/amanda/config.m4: fix.
5405
5406 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5407         * config/amanda/config.m4: Use -a.
5408
5409 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5410         * config/set_full_version: Use -a.
5411
5412 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5413         * config/set_full_version: Use grep.
5414
5415 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5416         * config/Makefile.am: Add set_full_version to EXTRA_DIST.
5417         * config/set_full_version: Add the file.
5418
5419 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
5420         * config/set_full_version: New script to update FULL_VERSION from
5421                                    VERSION, svn and git
5422         * autogen: Execute config/set_full_version
5423         * Makefile.am: Add dependencies to execute set_full_version if VERSION
5424           change, and to re-run configure if FULL_VERSION change.
5425         * config/amanda/version.m4: Use FULL_VERSION.
5426         * packaging/deb/buildpkg: Use FULL_VERSION.
5427         * packaging/rpm/amanda.spec: Use FULL_VERSION.
5428         * packaging/rpm/buildpkg: Use FULL_VERSION.
5429
5430 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
5431         * installcheck/Installcheck/Run.pm: be selective in import from POSIX
5432         * server-src/amvault.pl: fix duplicate variable
5433
5434 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
5435         * Makefile.am: add VERSION to EXTRA_DIST
5436         * config/amanda/version.m4: use $srcdir/VERSION
5437
5438 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
5439         * VERSION: 3.2.0alpha.
5440         * configure.in: Call AMANDA_VERSION.
5441         * config/amanda/version.m4: Add AMANDA_VERSION.
5442         * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
5443
5444 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
5445         * server-src/driver.c: Retry direct to tape all aborted dump because
5446                                of missing holdingdisk space.
5447
5448 2010-03-29  Paul C. Mantz <pcmantz@zmanda.com>
5449         * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
5450
5451 2010-03-28  Dustin J. Mitchell <dustin@zmanda.com>
5452         * server-src/amvault.pl: update with Changer and Catalog API changes
5453
5454 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
5455         * installcheck/Makefile.am: don't run amrecover test under
5456           --without-restore
5457
5458 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
5459         * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
5460           errors, e.g., "file changed as we read it"
5461
5462 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
5463         * installcheck/amrecover.pl: fix stupid error in installcheck
5464
5465 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
5466         * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
5467           to force WAL file archives on ancient postgres versions
5468         * installcheck/ampgsql.pl: don't skip tests on ancient versions
5469
5470 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
5471         * common-src/Makefile.am common-src/match-test.c: test (some) match
5472           functions
5473         * common-src/match.c: add make_exact_disk_expression and
5474           make_exact_host_expression
5475         * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
5476         * installcheck/Makefile.am installcheck/amrecover.pl: new integration
5477           tests
5478         * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
5479           make_exact_.. functions
5480         * common-src/amanda.h common-src/match.h application-src/amgtar.c
5481           application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
5482           client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
5483           common-src/local-security.c common-src/util.c
5484           oldrecover-src/set_commands.c recover-src/set_commands.c
5485           server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
5486           server-src/find.c server-src/tapefile.c: move match.c prototypes from
5487           amanda.h to match.h
5488
5489 2010-03-25  Jean-Louis Martineau <martineau@zmanda.com>
5490         * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
5491                                 or amflush is running.
5492
5493 2010-03-25  Paul C. Mantz <pcmantz@zmanda.com>
5494         * server-src/amreport.pl: amreport exits w/o error if mailer fails
5495         * installchecks/amreport.pl: installcheck
5496
5497 2010-03-25  Dustin J. Mitchell <dustin@zmanda.com>
5498         * perl/Amanda/Changer/compat.pm: err on the side of caution when
5499           emulating except_slots in chg-compat, preventing an infinite
5500           loop
5501
5502 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
5503         * application-src/amsamba.pl: check open failure correctly,
5504                                       improve debugging message.
5505
5506 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
5507         * NEWS, ReleaseNotes: Change for 3.1.0
5508
5509 2010-03-23  Dustin J. Mitchell <dustin@zmanda.com>
5510         * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
5511           files to be archived during full backup, don't backup postmaster.pid
5512           or pg_xlog
5513         * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
5514           describing the operation
5515         * installcheck/ampgsql.pl: test restores more carefully, including
5516           an empty incremental
5517
5518 2010-03-22  Dustin J. Mitchell <dustin@zmanda.com>
5519         * common-src/amfeatures.c common-src/amfeatures.h
5520           perl/Amanda/Feature.pod: add a new feature to indicate that
5521           amrecover quotes disks right: fe_amrecover_correct_disk_quoting
5522         * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
5523           clean_regex
5524         * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
5525           recover-src/extract_list.c recover-src/set_commands.c
5526           server-src/diskfile.c: use it
5527         * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
5528         * installcheck/amidxtaped.pl: test that
5529
5530 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
5531         * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
5532
5533 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
5534         * recover-src/amrecover.c: Do add_config_override before loading the
5535                                    config.
5536
5537 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
5538         * server-src/driver.c: Continue flush on new tape if holdingdisk is
5539                                full.
5540
5541 2010-03-18  Paul C. Mantz <pcmantz@zmanda.com>
5542         * perl/Amanda/Report.pm: updated POD
5543
5544 2010-03-18  Dustin J. Mitchell <dustin@zmanda.com>
5545         * application-src/ampgsql.pl: add a die_cb in command_validate and
5546           command_selfcheck
5547
5548 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
5549         * server-src/amreport.pl: added new command line options
5550         * server-src/amdump.sh: updated usage of amreport
5551         * installchecks/amreport.pl: installchecks
5552         * man/xml-source/amreport.8.xml: usage doc update
5553         * NEWS: added info about rewrite
5554
5555 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
5556         * perl/Amanda/Report/human.pm: fixed premature disk truncation in
5557          dump summary
5558
5559 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
5560         * perl/Amanda/Tests.swg: add a simple threaded function
5561         * perl/Makefile.am: and invoke it from 'make check'
5562
5563 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
5564         * man/xml-source/amcryptsimple.8.xml: Fix formatting
5565
5566 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
5567         * man/xml-source/ampgsql.8.xml: Fix formatting.
5568
5569 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
5570         * common-src/debug.c: Set open_time in debug_setup_1.
5571
5572 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5573         * man/xml-source/amsamba.8.xml: document include/exclude expressions
5574
5575 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5576         * UPGRADING: add note about accidentally linking new versions against old
5577
5578 2010-03-15  Paul C. Mantz <pcmantz@zmanda.com>
5579         * perl/Amanda/Util.pod: added POD for slurp and burp
5580
5581 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5582         * installcheck/amreport.pl: add tests for exit status for planner
5583           failure
5584
5585 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5586         * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
5587           caller's responsibility
5588         * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
5589         * server-src/taper.pl: handle input errors directly
5590
5591 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5592         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
5593           device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
5594           function
5595         * installcheck/Amanda_Device.pl: add lots of tape-positioning
5596           installcehcks
5597         * device-src/tape-device.c: fix positioning (adjust for funny bsf
5598           behavior only in tape_device_seek_file)
5599
5600 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5601         * common-src/conffile.c: rename the default tapetype, since EXABYTE
5602           sounds like it might actually be useful, but it's only 2M
5603         * man/xml-source/amanda.conf.5.xml: remove default
5604         * server-src/amcheck.c: only check whether fallback_splitsize < tape
5605           length if splitting is enabled; check for a missing tapetype param
5606
5607 2010-03-14 Dan Locks <dwlocks@zmanda.com>
5608         *  configure.in: update to rc06.  NOTEST
5609
5610 2010-03-11 Dan Locks <dwlocks@zmanda.com>
5611         *  configure.in: update to rc05. 
5612
5613 2010-03-11  Paul C. Mantz <pcmantz@zmanda.com>
5614         * perl/Amanda/Report.pm: fixed order that messages are reported
5615
5616 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
5617         * perl/Amanda/Changer/null.pm: note that constructor will not fail
5618         * server-src/amidxtaped.pl: use chg-null if the changer constructor
5619           fails
5620
5621 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
5622         * perl/Amanda/Report.pm: count DLEs on the first tape
5623         * perl/Amanda/Report/postscript.pm: display total part count
5624         * installcheck/amreport.pl: changed output
5625
5626 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
5627         * config/amanda/progs.m4: add a define if LPR is found
5628         * server-src/amcheck.c: check it
5629
5630 2010-03-09  Paul C. Mantz <pcmantz@zmanda.com>
5631         * perl/Amanda/Report.pm: fixed caching of hostnames and dles
5632
5633 2010-03-09  Dustin J. Mitchell <dustin@zmanda.com>
5634         * man/xml-source/amanda-applications.7.xml: add brief example of
5635           setting properties for an application
5636
5637 2010-03-09  Paul C. Mantz
5638         * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
5639
5640 2010-03-08 Dan Locks <dwlocks@zmanda.com>
5641         *  packaging/deb/rules: add chmod lines for etc/amanda
5642         *  packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
5643            section, specify directories in 750 section to also be 750.
5644
5645 2010-03-08  Paul C. Mantz <pcmantz@zmanda.com>
5646         * perl/Amanda/Report.pm: record DLEs in seen order in the cache
5647         * installcheck/Amanda_Report.pm: installcheck fixes
5648
5649 2010-03-08 Dan Locks <dwlocks@zmanda.com>
5650         *  packaging/rpm/amanda.spec, packaging/deb/changelog: change version
5651            number to %%VERSION%%
5652         *  packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
5653            version from configure.in, substitute version in appropriate files
5654         *  packaging/README: correct list of packages, add note on debian
5655            package creation.
5656
5657 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5658         * installcheck/Installcheck/ClientService.pm: process error from fork
5659           correctly
5660
5661 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5662         * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
5663           cached dumps - it causes more problems than it solves
5664
5665 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5666         * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
5667           instead of %lf
5668
5669 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5670         * server-src/amfetchdump.pl: fix usage message
5671         * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
5672            default for mailto, as it is ignored
5673         * installcheck/Amanda_Report.pl installcheck/amreport.pl
5674           perl/Amanda/Report.pm perl/Amanda/Report/human.pm
5675           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
5676           server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
5677           add --help and --version, remove unused functions
5678         * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
5679
5680 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5681         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
5682           postscript output by filenum, not hostname/diskname
5683
5684 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5685         * installcheck/amreport.pl perl/Amanda/Report/human.pm
5686           perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
5687           dumpfile when calculating tape used
5688
5689 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5690         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
5691           print the on-medi size of a dumpfile, not its total size
5692
5693 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5694         * installcheck/amreport.pl perl/Amanda/Report/human.pm
5695           perl/Amanda/Report/postscript.pm: remove rounding when orig and
5696           outsize are within 32k
5697
5698 2010-03-06  Dustin J. Mitchell <dustin@zmanda.com>
5699         * server-src/amreport.pl: don't use undef for stdout, stderr when
5700           invoking mail or lpr - some don't like to have their std streams
5701           closed
5702
5703 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
5704         * server-src/amreport.pl: fix use of relative path for -l argument.
5705
5706 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
5707         * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
5708         * installcheck/amreport.pl: check it.
5709
5710 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
5711         * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
5712           include conffile.h, not config.h.
5713
5714 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
5715         * config/amanda/version.m4: Allow 2 digits version.
5716
5717 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
5718         * packaging/deb/changelog, packaging/deb/rules,
5719           packaging/deb/buildpkg, packaging/rpm/buildpkg,
5720           packaging/rpm/amanda.spec,
5721           configure.in: Change version to 3.2alpha.
5722
5723 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>
5724         * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
5725           variables, and don't define them
5726         * perl/Amanda/Constants.pm.in: add LPR-related constants
5727         * installcheck/amreport.pl: lots of new tests, all hand-verified to
5728           pass for the C amreport as well, sometimes with minor differences
5729         * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
5730         * installcheck/mock/mail.pl: mock 'mail' for installchecks
5731         * installcheck/Makefile.am: new mocks
5732         * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
5733           support for amreport
5734         * server-src/Makefile.am server-src/amreport.pl
5735           server-src/amreport_new.pl server-src/reporter.c:
5736           make the perl amreport "live"
5737
5738 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>,
5739             Jean-Louis Martineau <martineau@zmanda.com>,
5740             Paul C. mantz <pcmantz@zmanda.com>
5741         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
5742           server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
5743           overhaul to perl reporting framework (collaborative effort of three
5744           developers)
5745
5746 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5747         * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
5748         * server-src/amreport_new.pl: Remove leading 0 on day date.
5749
5750 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5751         * perl/Amanda/Report.pm: Set $self->{hostname}.
5752         * perl/Amanda/Report/human.pm: Use $report->{hostname}.
5753
5754 2010-03-03  Paul C. mantz <pcmantz@zmanda.com>
5755         * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
5756
5757 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
5758         * perl/Amanda/Report.pm; added three-arg form of get_program_info()
5759         * perl/Amanda/Report/human.pm: usage of three-arg form
5760         * installcheck/Amanda_Report.pl: tests
5761
5762 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5763         * perl/Amanda/Report/human.pm: Remove coma.
5764
5765 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5766         * common-src/conffile.c: Correctly set autolabel from command line
5767                                  '-olabel_new_tapes=' options.
5768
5769 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5770         * server-src/amidxtaped.pl: Exit if receive ABORT message.
5771         * recover-src/extract_list.c: Send abort message on user request.
5772         * common-src/amfeatures.c: Add fe_amidxtaped_abort.
5773         * common-src/amfeatures.h: Add fe_amidxtaped_abort.
5774         * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
5775
5776 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5777         * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
5778
5779 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5780         * server-src/amflush.c: Delay creation of log file.
5781
5782 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5783         * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
5784
5785 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
5786         * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
5787           tapelist loading
5788
5789 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
5790         * perl/Amanda/Report.pm: added tape_labels field for preserving tape
5791           order
5792         * perl/Amanda/Report/human.pm: use of tape_labels
5793         * installcheck/Amanda_report.pl: installcheck, cleanup
5794
5795 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
5796         * server-src/reporter.c: Set and check repdata.
5797
5798 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5799         * server-src/amcheck.c: adjust split-size warnings for more
5800           detail with less overall verbosity
5801
5802 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
5803         * server-src/reporter.c: Print FLUSH for failed flush.
5804
5805 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5806         * common-src/fileheader.c: fix typos
5807         * server-src/amfetchdump.pl: add support for decryption
5808         * server-src/amidxtaped.pl: same
5809         * server-src/amrestore.pl: same
5810
5811 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5812         * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
5813           perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
5814           perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
5815           perl/Amanda/Util.pod: fix bad POD formatting
5816         * perl/make_html.pl: fix perl warnings
5817
5818 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5819         * man/xml-source/amanda.conf.5.xml: add more detail about
5820           include/exclude
5821         * man/xml-source/amgtar.8.xml: and specific documentation of the
5822           patterns for amgtar
5823
5824 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5825         * perl/Amanda/Feature.pod: document known features
5826
5827 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5828         * perl/Amanda/Xfer.pod: no need to remove sources
5829         * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
5830
5831 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5832         * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
5833         * man/xml-source/amanda-changers.7.xml: no longer "in transition"
5834         * server-src/Makefile.am server-src/changer.c server-src/changer.h:
5835           remove changer.[ch]
5836         * server-src/amcheck.c: remove unused include
5837
5838 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5839         * common-src/conffile.c: remove debug message
5840
5841 2010-03-01 Dan Locks <dwlocks@zmanda.com>
5842         *  packaging/rpm/amanda.spec: remove Provides: librestore
5843
5844 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
5845         * application-src/amgtar.c, application-src/amstar.c:
5846           new COMMAND-OPTIONS property.
5847         * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
5848           document new COMMAND-OPTIONS property.
5849
5850 2010-02-28  Jean-Louis Martineau <martineau@zmanda.com>
5851         * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
5852                             common-src/amfeatures.h is modified.
5853
5854 2010-02-27  Jean-Louis Martineau <martineau@zmanda.com>
5855         * ndmp-src/amndmjob_main.c: #include "config.h"
5856         * ndmp-src/ndma_cops_backreco.c: #include "util.h"
5857         * ndmp-src/ndmjob_main.c: #include "config.h"
5858
5859 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5860         * installcheck/amidxtaped.pl: Fix for datapath eq "none".
5861
5862 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5863         * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
5864         * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
5865         * perl/Amanda/Process.pm (set_master_process): New function.
5866         * server-src/amcleanup.pl: Use set_master_process.
5867
5868 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5869         * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
5870                                       DATAPATH-OK.
5871         * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
5872                                     DATAPATH-OK.
5873         * installcheck/amidxtaped.pl: Test them.
5874
5875 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
5876         * installcheck/Installcheck/ClientService.pm: fix to wait for streams
5877           to empty and hit EOF after exit
5878         * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
5879           comment, and use -1 to signal no data EOF received
5880
5881 2010-02-26  Paul C. Mantz <pcmantz@zmanda.com>
5882         * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
5883           summary
5884
5885 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
5886         * installcheck/Amanda_Changer_robot.pl: log test output too
5887         * installcheck/Installcheck.pm: typo
5888         * perl/Amanda/Changer.pm: note about member variables
5889         * perl/Amanda/Changer/robot.pm: make debug callable during constructor
5890
5891 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5892         * server-src/find.c: Compute dump_status and message.
5893         * server-src/find.c (print_find_result): Output dump_status and message.
5894         * server-src/find.c (search_logfile): Check if label is in tapelist.
5895         * server-src/find.h: Add dump_status and message to find_result_t.
5896         * perl/Amanda/Logfile.swg: Swig it.
5897         * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
5898         * installcheck/Amanda_DB_Catalog.pl: Test it.
5899         * installcheck/Amanda_Logfile.pl: Test it.
5900         * server-src/amcheckdump.pl: Use new search_logfile behaviour.
5901         * server-src/amindexd.c: Use dump_status.
5902         * server-src/amoverview.pl: Use new 'amadmin find' output.
5903         * server-src/disk_history.c: Remove code no longer needed.
5904         * server-src/tapefile.c (lookup_tapelabel): const the label argument.
5905         * server-src/tapefile.h (lookup_tapelabel): const the label argument.
5906
5907 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5908         * common-src/conffile.c (set_config_overrides): new config override api.
5909         * common-src/conffile.h (set_config_overrides): New prototype.
5910         * perl/Amanda/Config.swg (set_config_overrides): Swigged.
5911         * changer-src/chg-glue.pl, common-src/amgetconf.pl,
5912         * common-src/file.c, device-src/amdevcheck.pl,
5913         * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
5914         * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
5915         * installcheck/amgetconf.pl, recover-src/amrecover.c,
5916         * server-src/amadmin.c, server-src/amcheck-device.pl,
5917         * server-src/amcheck.c, server-src/amcheckdump.pl,
5918         * server-src/amcleanup.pl, server-src/amfetchdump.pl,
5919         * server-src/amflush.c, server-src/amlabel.pl,
5920         * server-src/amlogroll.c, server-src/amreport_new.pl,
5921         * server-src/amrestore.pl, server-src/amrmtape.pl,
5922         * server-src/amservice.c, server-src/amtape.pl,
5923         * server-src/amtrmidx.c, server-src/amtrmlog.c,
5924         * server-src/amvault.pl, server-src/chunker.c,
5925         * server-src/driver.c, server-src/dumper.c,
5926         * server-src/planner.c, server-src/reporter.c,
5927         * server-src/taper.pl: Use new config override api.
5928
5929 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5930         * server-src/amcheck.c: add warning if the config might generate >1000
5931           parts on a volume
5932
5933 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5934         * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
5935           and use an appropriate prefix for debug messages
5936
5937 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5938         * Makefile.am: remove restore-src from lint rule
5939         * configure.in: remove restore-src/Makefile
5940         * restore-src/: remove
5941         * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
5942
5943 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5944         * Makefile.am: stop building restore-src
5945         * common-src/amfeatures.c: remove no-longer-supported
5946           fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
5947         * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
5948         * installcheck/Amanda_Util.pl: tests
5949         * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
5950
5951 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5952         * installcheck/Installcheck/Dumpcache.pm: include more compressible
5953           data and clean up afterward
5954         * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
5955           better, and fix handling of failures to not loop forever
5956         * installcheck/amidxtaped.pl: test that compressed dumps come back at
5957           their orig_size; check for a holding device without a trailing ":0";
5958           send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
5959           and even missing FSF=; check failure on unrecognized command lines
5960
5961 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5962         * installcheck/amidxtaped.pl: installcheck improvements:
5963           create a "real" holding file; send a DATESTAMP= command
5964
5965 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5966         * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
5967         * installcheck/Amanda_Recovery_Planner.pl: test
5968
5969 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5970         * perl/Amanda/Xfer.swg: fix != override
5971         * installcheck/Amanda_Xfer.pl: test
5972         * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
5973         * perl/Amanda/MainLoop.pod: POD tweaks
5974         * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
5975           server-src/amfetchdump.pl: add directtcp_supported arg to
5976           xfer_src_cb; finish device when quitting clerk
5977         * perl/Amanda/Recovery/Scan.pm: add error handling
5978         * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
5979         * recover-src/extract_list.c: fix header debugging
5980
5981 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5982         * common-src/amanda.h installcheck/Installcheck/ClientService.pm
5983           perl/Amanda/Constants.pm.in: move stream constants to
5984           Amanda::Constants
5985         * perl/Makefile.am perl/Amanda/ClientService.pm: new package
5986         * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
5987
5988 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5989         * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
5990           tapespec marhsalling support
5991         * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
5992
5993 2010-02-23  Paul C. Mantz <pcmantz@zmanda.com>
5994         * perl/Amanda/Report/human.pm: fixed hostname truncation
5995
5996 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
5997         * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
5998           make fake holding files; don't try to load a dumpcache unless both
5999           server and client components are present
6000         * installcheck/Amanda_Xfer.pl: count tests right in skip
6001
6002 2010-02-19  Paul C. Mantz <pcmantz@zmanda.com>
6003         * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
6004           the end of a string in per-dump summary
6005
6006 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
6007         * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
6008           boolean
6009         * xfer-src/xfer.c: if any setup operation fails, skip the starts and
6010           return
6011         * device-src/xfer-dest-taper-directtcp.c
6012           device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
6013           xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
6014           xfer-src/xfer-test.c: change setup() methods to return a boolean
6015         * device-src/ndmp-device.c: clean up listen_addrs if not null
6016
6017 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
6018         * common-src/file.c (mkpdir): Fix.
6019
6020 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
6021         * common-src/file.c (mkpdir): Don't use access.
6022
6023 2010-02-18  Paul C. Mantz <pcmantz@zmanda.com>
6024         * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
6025
6026 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
6027         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
6028           with attendant API changes (constructor takes a device; sends
6029           XMSG_READY)
6030         * device-src/xfer-device.h: prototype changes
6031         * xfer-src/element-glue.c: remove debug message
6032         * perl/Amanda/Xfer.pod: docs
6033         * perl/Amanda/XferServer.swg: SWIG new parameters
6034         * perl/Amanda/Recovery/Clerk.pm: use new API
6035         * installcheck/Amanda_Xfer.pl: test
6036         * installcheck/Amanda_Recovery_Clerk.pl: test some more
6037         * installcheck/Installcheck/Dumpcache.pm: add code to determine
6038           the timestamps for a cached dump after loading it
6039
6040 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
6041         * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
6042           add a get_xfer_mechs method to xfer elements so that elements can
6043           dynamically specify their mech pairs
6044
6045 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
6046         * device-src/ndmp-device.c: check for fatal errors in directtcp
6047           methods
6048         * device-src/xfer-dest-taper-directtcp.c: track device_listen
6049           failures better
6050         * installcheck/Amanda_Xfer.pl: test setup cancellation
6051         * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
6052         * xfer-src/element-glue.c: always send XMSG_DONE, even on error
6053
6054 2010-02-17  Dustin J. Mitchell <dustin@zmanda.com>
6055         * device-src/ndmp-device.c: sanity-check file number
6056         * device-src/xfer-dest-taper-directtcp.c: same
6057         * device-src/xfer-dest-taper-splitter.c: same
6058
6059 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
6060         * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
6061
6062 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
6063         * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
6064           fields
6065
6066 2010-02-17  Jean-Louis Martineau <martineau@zmanda.com>
6067         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
6068           add config_init(0, NULL);
6069         * recover-src/extract_list.c: Typo.
6070
6071 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
6072         * server-src/amadmin.c: Set a config for version subcommand.
6073
6074 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
6075         * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
6076         * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
6077         * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
6078         * common-src/fileheader.h (dumpfile_t): Add orig_size.
6079         * common-src/timestamp.c (get_time_from_timestamp): New function to
6080           convert a char timestamp to time_t.
6081         * common-src/timestamp.h (get_time_from_timestamp): Prototype.
6082         * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
6083         * server-src/driver.c: Protoocl change to send orig_kb to taper.
6084         * server-src/driverio.c: Protoocl change to send orig_kb to taper.
6085         * server-src/find.c: Get orig_kb from log files.
6086         * server-src/find.h (find_result_t): add orig_kb.
6087         * server-src/holding.c (holding_set_origsize): New function to seti
6088           'ORIGSIZE' in an holding file.
6089         * server-src/holding.h (holding_set_origsize): Prototype.
6090         * server-src/infofile.c: '(char *)0' to NULL.
6091         * server-src/taper.pl: Parse orig-kb in protocol, log it.
6092         * perl/Amanda/DB/Catalog.pm: Set orig_kb.
6093         * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
6094         * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
6095         * installcheck/taper.pl: Fix for orig-kb in protocol.
6096
6097 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
6098         * recover-src/extract_list.c: Fix crash for non application restore.
6099
6100 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
6101         * server-src/amcheckdump.pl: Less verbose, add --verbose option.
6102         * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
6103
6104 2010-02-15  Jean-Louis Martineau <martineau@zmanda.com>
6105         * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
6106
6107 2010-02-12  Jean-Louis Martineau <martineau@zmanda.com>
6108         * application-src/ampgsql.pl: Put stderr of tar in the debug file.
6109
6110 2010-02-12  Paul C. Mantz <pcmantz@zmanda.com>
6111         * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
6112           L_INFO lines
6113         * perl/Amanda/Report/human.pm: widen text field for tape usage
6114         * installcheck/Amanda_Report.pl: installchecks
6115
6116 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
6117         * common-src/conffile.c: Assert if a config is not set.
6118         * common-src/amgetconf.pl, client-src/calcsize.c,
6119           client-src/client_util.c, client-src/killpgrp.c,
6120           client-src/rundump.c, client-src/runtar.c,
6121           installcheck/Amanda_Debug.pl: Set a default config.
6122
6123 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
6124         * common-src/conffile.c: New debug_days option.
6125         * common-src/conffile.h: New debug_days option.
6126         * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
6127         * man/xml-source/amanda.conf.5.xml: Document debug_days option.
6128         * common-src/debug.c: Don't do unlink in debug_open.
6129         * common-src/Makefile.am: Fix for test program.
6130         * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
6131                                    Call Amanda::Util::finish_application.
6132         * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
6133         * perl/Amanda/Util.pod: Document.
6134         * common-src/file.c, client-src/getfsent.c,
6135           server-src/infofile.c: Call dbclose();
6136         * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
6137           device-src/amtapetype.pl, server-src/amcheckdump.pl,
6138           server-src/amcleanup.pl, server-src/amfetchdump.pl,
6139           server-src/amrestore.pl, server-src/amrmtape.pl,
6140           server-src/amvault.pl,
6141           server-src/taper.pl: Call Amanda::Util::finish_application.
6142
6143 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
6144         * perl/Amanda/Taper/Scan/traditional.pm,
6145           perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
6146         * perl/Amanda/Recovery/Scan.pm: Fix doc.
6147         * server-src/amcheck-device.pl: New user_msg_fn.
6148         * server-src/amlabel.pl: New user_msg_fn.
6149         * server-src/amtape.pl: New user_msg_fn.
6150         * installcheck/amlabel.pl: Fix installcheck.
6151
6152 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
6153         * xfer-src/xfer.c xfer-src/xfer-element.h: add
6154           XFER_MECH_DIRECTTCP_CONNECT
6155         * xfer-src/source-directtcp-connect.c: element that uses it
6156         * xfer-src/dest-directtcp-listen.c: element that uses it
6157         * xfer-src/element-glue.c: glue for it
6158         * xfer-src/xfer-test.c: test it
6159         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
6160         * installcheck/Amanda_Xfer.pl: test it some more
6161         * xfer-src/Makefile.am: new files
6162         * xfer-src/dest-directtcp-connect.c: check addrs is not empty
6163         * perl/amglue/directtcp.swg: handle empty address lists better
6164
6165 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
6166         * installcheck/Makefile.am: don't run amidxtaped on
6167           --without-restore
6168         * installcheck/Installcheck/ClientService.pm
6169           installcheck/amidxtaped.pl: kill amidxtaped on timeout
6170         * restore-src/amidxtaped.c: don't call safe_fd after the
6171           app has already started - it closes fd's in use by
6172           system libraries for e.g., LDAP access
6173
6174 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
6175         * perl/Amanda/Application.swg: Add read_magic_block and
6176                                        write_magic_block.
6177         * perl/Amanda/Application.pod: Document them.
6178
6179 2010-02-10  Paul C. Mantz <pcmantz@gmail.com>
6180         * perl/Amanda/Report/human.pm: fixed columnspec code
6181
6182 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
6183         * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
6184         * server-src/amtape.pl: New user_msg_fn.
6185
6186 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
6187         * perl/Amanda/Changer.pm: Document undef state.
6188         * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
6189         * perl/Amanda/Changer/single.pm: Set state to undef.
6190         * perl/Amanda/Recovery/Scan.pm: Handle undef state.
6191
6192 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
6193         * server-src/taper.pl: Log no-tape error if no available tape.
6194
6195 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
6196         * installcheck/amidxtaped.pl: skip DirectTCP tests if
6197           --without-ndmp
6198
6199 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
6200         * restore-src/restore.c: fix double-free error
6201
6202 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
6203         * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
6204           tests
6205         * amandad-src/amandad.c: comments
6206         * common-src/amanda.h: comments
6207         * restore-src/amidxtaped.c: don't check security when invoked with
6208           'installcheck' as argv[1]
6209
6210 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
6211         * installcheck/Installcheck/ClientService.pm: utility to test
6212           client services (noop, sendbackup, etc.)
6213         * installcheck/Makefile.am installcheck/noop.pl: new test
6214         * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
6215
6216 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
6217         * restore-src/amidxtaped.c: Check from_amandad before
6218                                     fe_recover_splits.
6219
6220 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
6221         * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
6222
6223 2010-02-09  Paul C. Mantz <pcmantz@zmanda.com>
6224         * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
6225
6226 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
6227         * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
6228         * man/xml-source/amanda-client.conf.5.xml,
6229           man/xml-source/amanda.conf.5.xml: Use them.
6230
6231 2010-02-09 Dan Locks <dwlocks@zmanda.com>
6232         *  amar-src/Makefile.am: add installperms stanza
6233
6234 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
6235         * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
6236
6237 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
6238         * client-src/client_util.c: New AMFEATURES application support option,
6239           application_property_add_to_argv take a amfeatures argument.
6240         * client-src/client_util.h: New protoype.
6241         * client-src/selfcheck.c, client-src/sendbackup.c,
6242           client-src/sendsize.c,
6243           recover-src/extract_list.c: Pass the server amfeatures as argument
6244           to application_property_add_to_argv.
6245         * common-src/amfeatures.c: New fe_sendbackup_noop.
6246         * common-src/amfeatures.h: New fe_sendbackup_noop.
6247         * server-src/dumper.c: Ignore "sendbackup: no-op' message.
6248
6249 2010-02-08  Dustin J. Mitchell <dustin@zmanda.com>
6250         * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
6251           SWIG amfeatures
6252         * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
6253           tests
6254         * common-src/amfeatures.h: add SWIG conditionals
6255         * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
6256
6257 2010-02-06  Dustin J. Mitchell <dustin@zmanda.com>
6258         * perl/Amanda/Config.pod: document autolabel format
6259         * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
6260
6261 2010-02-06  Jean-Louis Martineau <martineau@zmanda.com>
6262         * common-src/conffile.c: Add autolabel config option.
6263         * common-src/conffile.h: Add autolabel config option.
6264         * man/xml-source/amanda.conf.5.xml: Document autolabel.
6265         * perl/Amanda/Config.swg: Swig autolabel.
6266         * perl/Amanda/Taper/Scan/traditional.pm,
6267           perl/Amanda/Taper/Scan.pm: Use autolabel.
6268         * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
6269           installcheck/Amanda_Taper_Scan_traditional.pl,
6270           installcheck/Installcheck/Dumpcache.pm,
6271           installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
6272           installcheck/amcheck.pl, installcheck/amdevcheck.pl,
6273           installcheck/amdump.pl, installcheck/pp-scripts.pl,
6274           installcheck/taper.pl: Fix to use autolabel.
6275
6276 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
6277         * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
6278         * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
6279         * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
6280         * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
6281         * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
6282         STATUS" pod header
6283
6284 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
6285         * perl/Amanda/Report/human.pm: made fixed appearance of per-level
6286           column in output_stats
6287
6288 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
6289         * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
6290
6291 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
6292         * perl/Makefile.am: Fix bad merge.
6293
6294 2010-02-03  Paul C. Mantz <pcmantz@zmanda.com>
6295         * perl/Amanda/Report/human.c: increased width of output_stats
6296           fields
6297
6298 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6299         * server-src/amadmin.c: Use %jd for gint.
6300
6301 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6302         * server-src/amadmin.c: Add 'estimate' command'.
6303         * man/xml-source/amadmin.8.xml: Document estimate command.
6304         * server-src/planner.c, server-src/server_util.c,
6305           server-src/server_util.h: Move internal_server_estimate and
6306           server_can_do_estimate from planner.c to server_util.c
6307
6308 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6309         * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
6310         * installcheck/Amanda_Recovery_Clerk.pl: Test it.
6311
6312 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6313         * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
6314
6315 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6316         * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
6317         * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
6318         * perl/Amanda/Changer/compat.pm: Print device_name.
6319         * perl/Amanda/Interactive.pm: Base class for interactivity.
6320         * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
6321         * perl/Amanda/Recovery/Scan.pm: Scan changers
6322         * perl/Makefile.am: Add Amanda/Interactive.pm,
6323           Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
6324         * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
6325         * server-src/amtape.pl: Use Amanda::Recovery::Scan.
6326
6327 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
6328         * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
6329         * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
6330         * installcheck/amdevcheck.pl: give an explicit device name, now that
6331           tapedev is not set
6332
6333 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
6334         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
6335           add debug_recovery
6336         * perl/Amanda/Recovery/Clerk.pm: use it
6337         * perl/Amanda/Recovery/Planner.pm: use it
6338
6339 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
6340         * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
6341
6342 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
6343         * device-src/Makefile.am device-src/xfer-device.h
6344           device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
6345           installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
6346           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
6347           Amanda::Taper::Source to Amanda::Recovery::Source
6348
6349 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
6350         * perl/Makefile.am: check all .pm files (some had been missed)
6351
6352 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
6353         * perl/Amanda/Changer.pm: fix bogus POD
6354
6355 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6356         * application-src/amsamba.pl: Fix parsing of unc if disk is noti
6357                                       defined.
6358
6359 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
6360         * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
6361
6362 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
6363         * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
6364
6365 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
6366         * server-src/amfetchdump.pl: only output a filename with a partnum
6367           when -n was given
6368
6369 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
6370         * device-src/ndmp-device.c: fix failure to check for fatal errors, use
6371           signed 'delta'
6372         * device-src/tape-device.c: rewind correctly, even to the current file
6373         * device-src/vfs-device.c: set in_file=FALSE on finish()
6374         * installcheck/Amanda_Device.pl: check reading file header twice
6375
6376 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
6377         * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
6378           installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
6379           installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
6380           installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
6381           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
6382           xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
6383           of xfer_state == XFER_DONE
6384
6385 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
6386         * man/xml-source/amanda-auth.7.xml: reduce circular references
6387
6388 2010-02-01  Dustin J. Mitchell <dustin@zmanda.com>
6389         * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
6390
6391 2010-01-31  Jean-Louis Martineau <martineau@zmanda.com>
6392         * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
6393
6394 2010-01-30  Jean-Louis Martineau <martineau@zmanda.com>
6395         * common-src/conffile.c: Allow multiple scripts on one line.
6396
6397 2010-01-29 Dan Locks <dwlocks@zmanda.com>
6398         *  packaging/rpm/amanda.spec: move manpages to
6399            defattr(644,root,root,..) section
6400
6401 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
6402         * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
6403         * installcheck/Amanda_DB_Catalog.pl: tests
6404         * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
6405         * installcheck/Amanda_Recovery_Planner.pl: tests
6406         * perl/Amanda/Recovery/Clerk.pm: recover from holding with
6407           Amanda::Xfer::Source::Holding when appropriate
6408         * installcheck/Amanda_Recovery_Clerk.pl: tests
6409         * server-src/amfetchdump.pl: give better messaging when recovering
6410           from holding, don't append partnum unless it's a multipart dump
6411         * installcheck/amfetchdump.pl: tests
6412
6413 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
6414         * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
6415           and -w options
6416         * restore-src/Makefile.am restore-src/amfetchdump.c: remove
6417         * server-src/Makefile.am server-src/amfetchdump.pl: new version
6418           of amfetchdump that uses Clerk and Planner
6419         * installcheck/amfetchdump.pl: updates to tests (change 'tape'
6420           to 'volume', no more -b, add quotes around labels
6421
6422 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
6423         * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
6424         * installcheck/Amanda_Recovery_Planner.pl
6425           installcheck/Makefile.am: tests
6426
6427 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
6428         * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
6429         * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
6430           tests
6431
6432 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
6433         * installcheck/Amanda_MainLoop.pl: a call_after test that is more
6434           stable when the system clock is stepping
6435         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
6436
6437 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
6438         * installcheck/Amanda_Logfile.pl: note about checks
6439         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
6440         * server-src/find.c server-src/find.h: add dynamic_disklit param
6441           to search_holding_disk
6442
6443 2010-01-28  Jean-Louis Martineau <martineau@zmanda.com>
6444         * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
6445         * installcheck/Amanda_Changer_multi.pl: Test it.
6446
6447 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
6448         * installcheck/amfetchdump.pl: don't use an END block for cleanup
6449
6450 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
6451         * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
6452         * installcheck/Amanda_DB_Catalog.pl: test it
6453         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
6454
6455 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
6456         * changer-src/chg-glue.pl: fix chg-glue to be more careful about
6457           releasing the device first
6458
6459 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
6460         * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
6461           cached dumps
6462         * installcheck/amfetchdump.pl: more/better tests
6463         * man/xml-source/amfetchdump.8.xml: formatting
6464
6465 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
6466         * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
6467           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
6468           fix typos
6469
6470 2010-01-27  Paul C. Mantz <pcmantz@zmanda.com>
6471         * perl/Amanda/Util.pm: added safe_overwrite_file
6472         * installcheck/Amanda_Util.pl: installcheck
6473
6474 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
6475         * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
6476
6477 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
6478         * perl/Amanda/Changer.pm: Document new inventory result.
6479         * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
6480           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
6481           perl/Amanda/Changer/robot.pm,
6482           perl/Amanda/Changer/single.pm: Generate new inventory result.
6483         * installcheck/Amanda_Changer_disk.pl,
6484           installcheck/Amanda_Changer_multi.pl,
6485           installcheck/Amanda_Changer_ndmp.pl,
6486           installcheck/Amanda_Changer_rait.pl,
6487           installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
6488         * server-src/amtape.pl: Use new inventory result.
6489
6490 2010-01-26  Paul C. Mantz <pcmantz@zmanda.com>
6491         * perl/Amanda/Util.swg: added slurp and burp subs
6492         * installcheck/Amanda_Util.pl: installcheck for slurp and burp
6493         * installcheck/Installcheck/Run.pm: use of slurp in production
6494
6495 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
6496         * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
6497         * perl/Amanda/Report/human.pm: Many improvements.
6498         * installcheck/Amanda_Report.pl: Fix for new data.
6499         * perl/Makefile.am: Check AmandaReport_DATA.
6500
6501 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
6502         * common-src/conffile.h: Add getconf_linenum.
6503         * perl/Amanda/Config.swg: Add getconf_linenum.
6504         * perl/Amanda/Config.pod: Document getconf_linenum.
6505         * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
6506           line without setting the other to ''.
6507
6508 2010-01-25  Dustin J. Mitchell <dustin@zmanda.com>
6509         * perl/amglue/bigint.c: call SPAGAIN after loading
6510           Math::BigInt, in case the stack base has moved
6511         * perl/amglue/integers.swg: don't place a bigint on
6512           the stack until the stack pointer has been restored
6513         * perl/Amanda/Header.swg: use static
6514
6515 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
6516         * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
6517           confuse old is_deeply implementations
6518
6519 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
6520         * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
6521           more carefully; add ability to query and sort dumps; use weak refs to
6522           break reference loops
6523         * installcheck/Amanda_DB_Catalog.pl: tests
6524         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
6525         * server-src/amvault.pl: update to match
6526         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
6527           match_disk, and match_datestamp, and document dumps_match_dumpspecs
6528
6529 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
6530         * device-src/ndmp-device.c, device-src/rait-device.c,
6531           device-src/s3-device.c, device-src/tape-device.c,
6532           device-src/vfs-device.c: Set volume_header with the written header
6533           when opened in write mode.
6534
6535 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
6536         * perl/Amanda/Report/human.pm: Many fix.
6537         * server-src/amreport_new.pl: Many fix.
6538
6539 2010-01-18  Jean-Louis Martineau <martineau@zmanda.com>
6540         * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
6541         * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
6542                                data path.
6543
6544 2010-01-19  Paul C. Mantz <pcmantz@zmanda.com>
6545         * installcheck/amreport.pl: made output checks ignore spacing
6546
6547 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6548         * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
6549           close
6550
6551 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6552         * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
6553           ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
6554
6555 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6556         * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
6557
6558 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6559         * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
6560           that the scribe can cancel a transfer in an error situation
6561         * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
6562         * server-src/taper.pl: git it an xfer
6563
6564 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6565         * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
6566           and return NDMP_DEVICE_BUSY_ERR on a collision
6567         * device-src/ndmp-device.c: close the tape agent before switching
6568           connections, and before closing a device, to avoid
6569           NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
6570           tape agent, as the mover may already be active
6571
6572 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6573         * restore-src/restore.c: add another htonl invocation for ipv4 address
6574
6575 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6576         * perl/Amanda/Xfer.pod: fix POD typo
6577
6578 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
6579         * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
6580
6581 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6582         * perl/Amanda/Changer/compat.pm: allow multiline responses
6583         * installcheck/Amanda_Changer_compat.pl: test
6584
6585 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6586         * installcheck/Amanda_Curinfo.pl: remove spurious diag()
6587
6588 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6589         * gnulib/regenerate/regenerate: add regex module, for Mac OS X
6590           compatibility; no change in gnulib version
6591         * config/gnulib/* gnulib/*: resulting gnulib updates
6592
6593 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6594         * man/xml-source/amreport.8.xml: fix typo in manpage
6595
6596 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
6597         * perl/Amanda/Changer.pm: $chg->load always read ther label.
6598         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
6599         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
6600         * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
6601         * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
6602         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
6603         * server-src/amlabel.pl, server-src/amrestore.pl,
6604         * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
6605
6606 2010-01-15  Paul C. Mantz <pcmantz@zmanda.com>
6607         * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
6608           5.6 compatibility
6609
6610 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6611         * installcheck/Amanda_Changer_robot.pl: Typo.
6612
6613 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6614         * amandad-src/amandad.c: iread errfd and close it on termination.
6615
6616 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6617         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
6618           update '1-4=' syntax to mark slot as being in unknown state.
6619         * man/xml-source/amanda-changers.7.xml: Document new syntax.
6620         * installcheck/Amanda_Changer_multi.pl: Test new syntax.
6621         * installcheck/Amanda_Changer_robot.pl: Test new syntax.
6622
6623 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6624         * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
6625                                                   skip disk.
6626         * server-src/diskfile.c (disable_skip_disk): New function to set todo
6627                                                      to 0 for skip disk.
6628         * server-src/diskfile.h (disable_skip_disk): Add prototype.
6629         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
6630           server-src/reporter.c: Call disable_skip_disk.
6631
6632 2010-01-14  Jean-Louis Martineau <martineau@zmanda.com>
6633         * perl/Makefile.am: typo.
6634
6635 2010-01-14  Paul C. Mantz <pcmantz@zmanda.com>
6636         * server-src/amreport_new.pl: amreport rewrite in perl
6637         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
6638           perl/Amanda/Report/xml.pm: factored out output formats and
6639           added legacy format
6640         * perl/Makefile.am server-src/Makefile.am: makefile changes
6641         * contrib/amreport.rnc: amreport xml spec in RelaxNG
6642
6643 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6644         * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
6645           make device_listen and device_accept callable anywhere; be explicit
6646           about conn refcount from accept
6647         * device-src/ndmp-device.c: don't call device_use_connection, as
6648           that method requires ACCESS_NULL
6649         * restore-src/restore.c: fix typo
6650
6651 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6652         * server-src/taper.pl: fix taper writing status too quickly
6653
6654 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6655         * client-src/client_util.c: fix to send the --direct-tcp and
6656           --data-path arguments to applications
6657         * client-src/sendbackup.c: add a bit of debugging to sendbackup
6658
6659 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6660         * restore-src/restore.c: add missing htonl to restore.c for ipv4
6661           address; fix typo
6662
6663 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6664         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
6665           messages, including a fancy connection ID to help debug problems
6666           using the wrong NDMP connection at the wrong time
6667
6668 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6669         * device-src/ndmp-device.c: work around record_size bug in ndmjob
6670
6671 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6672         * installcheck/amfetchdump.pl: check restored files more closely
6673
6674 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6675         * installcheck/taper.pl: taper installcheck to run multiple dumps
6676           on a spanned NDMP device
6677
6678 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6679         * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache 
6680         * installcheck/Installcheck/Mock.pm: add a way to revive it for
6681           recovery tests
6682         * installcheck/amfetchdump.pl: use it
6683
6684 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6685         * device-src/ndmp-device.c: correctly handle devices while they are
6686           coming online after a load
6687
6688 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6689         * ndmp-src/scsiconst.h: fix typo in constant name
6690
6691 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6692         * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
6693           'blank', mark them as unknown
6694
6695 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6696         * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
6697           with several
6698
6699 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6700         * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
6701
6702 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6703         * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
6704           MEDIUM
6705
6706 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6707         * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
6708
6709 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6710         * device-src/ndmp-device.c: fix dangling reference
6711
6712 2010-01-11  Dustin J. Mitchell <dustin@zmanda.com>
6713         * common-src/Makefile.am common-src/fileheader-test.c: new test
6714         * common-src/fileheader.c common-src/fileheader.h: validate a lot
6715           of inputs; use g_debug; handle compressed/comp_suffix and
6716           encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
6717           bug in parsing empty heredoc
6718         * device-src/amtapetype.pl: add 'program' to header
6719         * installcheck/Amanda_Xfer.pl: add 'program' to header
6720         * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
6721           and document interrelationships of fields
6722
6723 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6724         * perl/Makefile.am: don't build useless static versions of perl libs
6725
6726 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6727         * device-src/xfer-source-taper.c: make element cancellation work
6728
6729 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6730         * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
6731           identity
6732
6733 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6734         * common-src/simpleprng.c common-src/simpleprng.h: add a method to
6735           extract the current seed from the PRNG state
6736         * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
6737         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
6738
6739 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
6740         * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
6741           Text::Diff
6742
6743 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
6744         * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
6745         * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
6746         * installcheck/Amanda_Curinfo.pl: installcheck
6747         * perl/Makefile.am installcheck/Makefile.am: makefile additions
6748
6749 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
6750         * ndmp-src/ndma_tape.c: halt on media error
6751         * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
6752           ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
6753           NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
6754         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
6755           NDMP9_MOVER_HALT_MEDIA_ERROR
6756
6757 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
6758         * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
6759
6760 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
6761         * perl/Amanda/NDMP.pod: fix %}.
6762
6763 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
6764         * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
6765
6766 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
6767         * perl/Amanda/NDMP.pod: typo
6768         * perl/Amanda/NDMP.swg: actually include POD
6769
6770 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
6771         * device-src/device.c device-src/device.h: remove conn argument from
6772           read_to_connection and write_from_connection; check for ACCESS_NULL
6773         * device-src/ndmp-device.c: remove conn argument, call use_connection
6774           from accept_impl
6775         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
6776           perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
6777           device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
6778           call use_connection at the appropriate time
6779
6780 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
6781         * device-src/ndmp-device.c: add an eject() implementation
6782
6783 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6784         * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
6785           ndmjob does not output logging info to stdout during installchecks
6786
6787 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6788         * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
6789           initialized
6790
6791 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6792         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
6793           pattern and the identifiers that supported it
6794         * device-src/ndmp-device.c: don't worry about idents
6795         * perl/Amanda/Changer/ndmp.pm: don't worry about idents
6796         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
6797         * installcheck/Amanda_NDMP.pl: change tests
6798
6799 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6800         * device-src/device.c device-src/device.h: change can_use_connection
6801           to the imperative use_connection
6802         * device-src/ndmp-device.c: implement use_connection
6803         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
6804           device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
6805           add a use_device method, start_part no longer needs a device
6806         * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
6807           perl/Amanda/XferServer.swg: SWIG it 
6808         * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
6809         * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
6810
6811 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6812         * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
6813           on WANT_NDMP
6814
6815 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6816         * perl/amglue/directtcp.swg: initialize the other struct in_addr by
6817           member name, too (see 2009-12-29)
6818
6819 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6820         * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
6821         * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
6822         * installcheck/mock/chg-ndmjob.pl: remove
6823         * installcheck/Amanda_Changer_ndmp.pl: new test
6824         * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
6825           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
6826           installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
6827           tests via I::Mock
6828         * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
6829           time, process sense data correctly, use correct element addresses
6830           for MOVE MEDIUM
6831
6832 2010-01-04  Jean-Louis Martineau <martineau@zmanda.com>
6833         * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6834           common-src/bsdudp-security.c: Check service != NULL.
6835
6836 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6837         * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
6838           ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
6839           ndmp-src/ndmos_common.c ndmp-src/Makefile.am
6840           ndmp-src/ndma_robot_simulator.c: add robot simulator
6841         * ndmp-src/ndmos_glib.h: use robot simulator
6842         * ndmp-src/scsiconst.h: fix typo
6843
6844 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6845         * ndmp-src/ndma_tape.c: remove ndmta_belay
6846         * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
6847           NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
6848
6849 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6850         * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
6851           scan
6852
6853 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6854         * perl/amglue/directtcp.swg: initialize struct in_addr by member name
6855
6856 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6857         * installcheck/Makefile.am: sort tests
6858         * installcheck/=setupcache.pl: rename _setupcache so it sorts first
6859
6860 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6861         * perl/Amanda/Config.swg: fix return type for config_init
6862         * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
6863
6864 2009-12-24  Charles Curley <charlescurley@charlescurley.com>
6865         * README: rewrite
6866
6867 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6868         * device-src/s3-device.c: don't set the throttling properties unless
6869           they are nonzero
6870
6871 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6872         * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
6873
6874 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6875         * perl/Amanda/Changer/ndmp.pm: set device authentication properties
6876         * perl/Makefile.am: actually include ndmp.pm
6877         * perl/Amanda/Device.pod: doc extended property_get
6878         * man/xml-source/amanda-changers.7.xml: document properties
6879
6880 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6881         * common-src/fileheader.c: try to generate parsable headers
6882         * perl/Amanda/Header.swg: add default values
6883         * server-src/amrestore.pl: fix typo
6884         * installcheck/amrestore.pl: ndmp-device test (not using directtcp
6885           yet)
6886
6887 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6888         * device-src/s3.c: recent versions of curl switched from #define
6889           to enum, so #ifdef no longer works; test specific versions
6890           instead
6891
6892 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6893         * ndmp-src/ndma_ctrl_robot.c: show error messages
6894
6895 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6896         * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
6897
6898 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6899         * device-src/s3.c: remove debugging info
6900
6901 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6902         * device-src/s3.c: only including throttling code if the precompiler
6903           symbols are present
6904
6905 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6906         * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
6907         * installcheck/Amanda_Device.pl: test it
6908
6909 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6910         * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
6911           source generated with rpcgen contains constructs that cause
6912           warnings for which earlier gcc's have no -Wno-xxx option
6913         * configure.in: revert disabled warnings
6914
6915 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6916         * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
6917
6918 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6919         * device-src/s3.c device-src/s3.h: add max send and receive speeds
6920         * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
6921           PROPERTY_MAX_RECV_SPEED
6922         * man/xml-source/amanda-devices.7.xml: document
6923
6924 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6925         * ndmp-src/Makefile.am configure.in: conditionalize warnings which
6926           are not present on all gcc version
6927         * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
6928           ndmp-src/ndmjob_main_util.c: fix warnings
6929         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
6930           long long constant should end in 'ull'
6931
6932 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6933         * installcheck/Amanda_NDMP.pl: add auth parameter here too
6934
6935 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6936         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
6937           parameter with four options
6938         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
6939         * device-src/ndmp-device.c: add NDMP_AUTH property
6940         * man/xml-source/amanda-devices.7.xml: doc it
6941         * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
6942         * man/xml-source/amanda-changers.7.xml: doc it
6943
6944 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6945         * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
6946         * ndmp-src/*.c: fix warnings, mostly sign differences
6947
6948 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6949         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
6950           return value to ndmp_connection_tape_mtio
6951         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
6952         * installcheck/Amanda_NDMP.pl: test it
6953         * installcheck/Makefile.am: actually run Amanda_NDMP tests
6954         * device-src/ndmp-device.c: compatible change
6955
6956 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6957         * man/xml-source/amanda.8.xml: remove amdd
6958
6959 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6960
6961         * changer-src/Makefile.am changer-src/chg-rait.sh
6962           changer-src/chg-null.sh: restore deleted files
6963
6964 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6965         * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
6966
6967 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6968         * autogen: do not use sed --in-place
6969
6970 2009-12-20  Dustin J. Mitchell <dustin@zmanda.com>
6971         * man/xml-source/amgetconf.8.xml: fix formatting error by putting
6972           <note> on its own line
6973
6974 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
6975         * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
6976
6977 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
6978         * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
6979         * man/xml-source/amanda-changers.7.xml: docs
6980         * perl/Amanda/Changer.pm: better error handling
6981         * perl/Amanda/Changer/robot.pm: changes for subclassing
6982
6983 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
6984         * server-src/driver.c: Don't call validate_optionstr for flush dles.
6985
6986 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
6987         * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
6988         * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
6989         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
6990         * installcheck/Amanda_Device.pl: add ndmp-only tests
6991         * installcheck/Amanda_Xfer.pl: add server-only tests
6992         * installcheck/Amanda_Device_ndmp.pl: remove
6993         * installcheck/Amanda_Xfer_serveronly.pl: remove
6994         * installcheck/Makefile.am: remove files
6995         * installcheck/taper.pl: conditionalize ndmp tests
6996         * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
6997
6998 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
6999         * server-src/amtrmidx.c: Check index entry will all dles using the
7000                                  same index directory.
7001
7002 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7003         * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
7004           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
7005           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
7006           perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
7007           Split the 'inuse' code into 'driveinuse' and 'volinuse'.
7008         * installcheck/Amanda_Changer_compat.pl,
7009           installcheck/Amanda_Changer_disk.pl,
7010           installcheck/Amanda_Changer_multi.pl,
7011           installcheck/Amanda_Changer_rait.pl,
7012           installcheck/Amanda_Changer_robot.pl,
7013           installcheck/Amanda_Changer_single.pl:
7014           Use 'driveinuse' and 'volinuse'.
7015
7016 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7017         * common-src/conffile.c: etimeout must be positive.
7018         * common-src/protocol.c: Fix possible timeout of 0.
7019
7020 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7021         * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
7022           Add a few debugging output.
7023
7024 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7025         * server-src/amcheckdump.pl: Call $res->release() with a callback.
7026
7027 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7028         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
7029           server-src/amrestore.pl,
7030           server-src/amvault.pl: Call $res->set_label after $dev->read_label.
7031
7032 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
7033         * installcheck/Amanda_Changer_robot.pl: fix installchecks
7034
7035 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
7036         * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
7037           subclass
7038
7039 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
7040         * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
7041           based on example/chg-multi.conf
7042
7043 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
7044         * device-src/ndmp-device.c: use err_code, instead of err_msg, to
7045           detect an NDMPConnection error
7046
7047 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
7048         * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
7049
7050 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
7051         * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
7052           drive if the pid is dead.
7053
7054 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
7055         * server-src/diskfile.c: Add validate_optionstr,  optionstr and
7056           xml_optionstr no longer do validation..
7057         * server-src/diskfile.h: Add validate_optionstr, change prototype for
7058           optionstr and xml_optionstr.
7059         * server-src/amadmin.c: Add missing case.
7060         * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
7061           Use validate_optionstr, Change for new *_optionstr prototype.
7062         * server-src/driver.c: Use validate_optionstr.
7063         * server-src/driverio.c: Change for new *_optionstr prototype.
7064         * installcheck/amdump.pl: Check planner error from validate_optionstr.
7065
7066 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
7067         * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
7068           ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
7069           an error set instead of just returning an error from the constructor
7070         * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
7071         * perl/Amanda/NDMP.pod: docs for same
7072
7073 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
7074         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
7075
7076 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
7077         * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
7078           when used in an outgoing typemap, due to stack stomping
7079         * perl/Amanda/Archive.swg perl/Amanda/Config.swg
7080           perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
7081           perl/amglue/integers.swg: exercise care as directed
7082
7083 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
7084         * recover-src/extract_list.c: Wait to parse the header before
7085           confirming destination directory. Unlink files only for GNUTAR
7086           and amgtar.
7087         * client-src/client_util.c: Parse RECOVER-PATH application support
7088                                     result.
7089         * client-src/client_util.h: Add recover_path_t.
7090
7091 2009-12-14  Dustin J. Mitchell <dustin@zmanda.com>
7092         * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
7093         * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
7094         * perl/Amanda/Changer/robot.pm: allow spaces between times and units
7095
7096 2009-12-14  Jean-Louis Martineau <martineau@zmanda.com>
7097         * server-src/amtape.pl: Call $res->set_label after reading a label.
7098
7099 2009-12-13  Dustin J. Mitchell <dustin@zmanda.com>
7100         * server-src/taper.pl: put header socket in blocking mode
7101
7102 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7103         * perl/Amanda/Process.pm: Remove unneded 'use'.
7104         * perl/Makefile.am: Build Amanda::Process on client.
7105
7106 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7107         * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
7108
7109 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7110         * perl/Amanda/Changer/multi.pm: New changer.
7111         * perl/Makefile.am: Build Amanda::Changer::multi
7112         * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
7113         * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
7114         * installcheck/Makefile.am: build and test Amanda_Changer_multi.
7115         * perl/Amanda/Util.swg: Add is_pid_alive.
7116         * perl/Amanda/Util.pod: Document is_pid_alive.
7117
7118 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7119         * server-src/amstatus.pl: Use wrong indice.
7120         * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
7121
7122 2009-12-11  Dustin J. Mitchell <dustin@zmanda.com>
7123         * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
7124         * server-src/driverio.c: do not send datapath to taper
7125         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
7126         * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
7127           changed on-tape format
7128         * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
7129         * ndmp-src/ndma_tape.c: fix typos
7130         * NEWS: document behavior changes
7131
7132 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7133         * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
7134           server-src/driver.c server-src/driverio.c server-src/dumper.c
7135           server-src/taper.pl: Change protocol between chunker/taper and dumper:
7136           "PORT header_port  data_host:data_port", and dumper sends the header
7137           completely before sending the data
7138
7139 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7140         * ndmp-src/ndmpconnobj.c: fix uninitialized variable
7141
7142 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7143         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
7144           device-src/Makefile.am: new class
7145         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
7146         * installcheck/Amanda_Xfer_serveronly.pl: tests
7147         * perl/amglue/directtcp.swg: return undef for null addrs array
7148         * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
7149
7150 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7151         * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
7152         * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
7153         * installcheck/Amanda_Device_ndmp.pl: new tests
7154
7155 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7156         * xfer-src/element-glue.c: element-glue shouldn't complain when the
7157           xfer's already been cancelled
7158
7159 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
7160         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
7161           according to the spec (even though it's inconsistent)
7162
7163 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
7164         * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
7165           offset+length = G_MAXUINT64
7166
7167 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
7168         * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
7169           connection
7170
7171 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
7172         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
7173           ndmp-src/ndmagents.h: make mover seek to correct block number
7174
7175 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
7176         * common-src/simpleprng.c: better error message from simpleprng on
7177           random number mismatch
7178         * common-src/simpleprng.h: simpleprng_state_t is now a real struct
7179         * xfer-src/dest-null.c: no need to give buffer offset anymore
7180
7181 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
7182         * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
7183         * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
7184           reading from a holding disk.
7185
7186 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
7187         * device-src/device.c, device-src/device.h:
7188           Add device_unaliassed_name function.
7189         * perl/Amanda/Device.swg: Add unaliassed_name function.
7190
7191 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
7192         * restore-src/restore.c: Fix read_to_connection argument.
7193
7194 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7195         * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
7196           unnecessary include
7197
7198 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7199         * common-src/directtcp.h: mention IP byte order
7200         * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
7201           perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
7202           lengths; directtcp_supported is a boolean class attribute instead of a
7203           method; listen takes a for_writing argument; SWIG directtcp methods
7204         * perl/Amanda/Device.pod: document LEOM handling, new methods
7205         * device-src/directtcp-connection.c: call parent's finalize
7206         * restore-src/restore.c: pass correct for_writing to listen
7207
7208 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7209         * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
7210         * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
7211
7212 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7213         * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
7214           new class to encapsulate all of the NDMP transactions without
7215           requiring weird precompiler macros
7216
7217 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7218         * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
7219           triggered by long filenames in buildbots
7220
7221 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7222         * xfer-src/element-glue.c: one more uninitialized variable
7223
7224 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
7225         * device-src/device.h, device-src/device.c,
7226           man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
7227           perl/Amanda/Device.swg: Add an eject method to the device-api.
7228         * device-src/tape-device.c, device-src/tape-ops.h,
7229           device-src/tape-posix.c, device-src/tape-uware.c,
7230           device-src/tape-aix.c,
7231           device-src/tape-xenix.c: Implement eject method.
7232         * perl/Amanda/Changer/robot.pm: Use new eject method.
7233
7234 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7235         * device-src/dvdrw-device.c: fix uninitialized variable, don't use
7236           G_DEFINE_DEVICE
7237
7238 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7239         * xfer-src/element-glue.c: fix uninitialized use of variable
7240
7241 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7242         * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
7243           XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
7244         * xfer-src/xfer-test.c: tests for same
7245         * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
7246           perl/Amanda/Xfer.swg: new class
7247         * xfer-src/source-directtcp-listen.c: bugfix
7248         * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
7249           xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
7250         * common-src/testutils.c: support for leak-checking
7251         * xfer-src/dest-buffer.c xfer-src/dest-null.c
7252           server-src/xfer-source-holding.c device-src/xfer-dest-device.c
7253           device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
7254           device-src/xfer-source-taper.c: use revised error-handling
7255         * perl/amglue/source.c: fix refcount problem
7256         * xfer-src/Makefile.am: new files
7257
7258 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
7259         * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
7260           installcheck/Makefile.am: new mock changer for ndmjob
7261         * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
7262           ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
7263           PEOM) support to the tape simulator
7264
7265 2009-12-07  Sam Couter <sam@couter.id.au>
7266         * AUTHORS: add Sam to AUTHORS
7267         * device-src/device.c device-src/Makefile.am
7268           device-src/dvdrw-device.c: new dvd-rw device
7269         * configure.in config/amanda/dvdrw-device.m4: config
7270           for it
7271         * device-src/vfs-device.c device-src/vfs-device.h: enable
7272           subclassing of VFS device
7273         * man/xml-source/amanda-devices.7.xml: documentation
7274         * server-src/amcheck-device.pl: add usage() sub
7275
7276 2009-12-07  Sam Couter <sam@couter.id.au>
7277         * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
7278                                           builds work
7279
7280 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
7281         * client-src/calcsize.c: fix check_running_as.
7282
7283 2009-12-06  Dustin J. Mitchell <dustin@zmanda.com>
7284         * client-src/client_util.c: revert previous change
7285
7286 2009-12-05  Sam Couter <sam@couter.id.au>
7287         * client-src/client_util.c: Free correct memory
7288
7289 2009-12-05  Dustin J. Mitchell <dustin@zmanda.com>
7290         * config/automake/scripts.am: remove unnecessary -T
7291         * perl/Amanda/BigIntCompat.pm: remove unused $stringify
7292
7293 2009-12-04  Jean-Louis Martineau <martineau@zmanda.com>
7294         * server-src/amcheck.c: Give error if pre-host-backup or
7295                                 post-host-backup are executed on client.
7296         * man/xml-source/amanda.conf.5.xml: Document it.
7297
7298 2009-12-03  Paul C. Mantz <pcmantz@zmanda.com>
7299         * server-src/tapefile.c server-src/tapefile.h
7300           perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
7301           added and swigged get_last_reusable_tape_label(). 
7302         
7303 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
7304         * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
7305                                                  error.
7306
7307 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
7308         * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
7309
7310 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7311         * perl/Amanda/Device.swg: #include "glib-util.h".
7312
7313 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7314         * common-src/conffile.c: Fix conf_init_data_path argument type.
7315         * common-src/debug.c: Use gpointer.
7316         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
7317           #include "util.h" for set_pname prototype.
7318         * ndmp-src/ndma_cops_backreco.c: Add prototype.
7319         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
7320           Rename version_info to ndmjob_version_info to avoid conflict.
7321
7322 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7323         * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
7324         * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
7325         * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
7326
7327 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7328         * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
7329
7330 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7331         * server-src/find.c: Fix for older log entry.
7332         * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
7333         * perl/Amanda/Logfile.pod: Add totalparts.
7334         * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
7335                                           find_result_t.
7336
7337 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7338         * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
7339
7340 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7341         * perl/Amanda/Changer/single.pm: Use except_slot,
7342                                          It is not fast searchable.
7343
7344 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7345         * server-src/find.h: Keep partnum and totalparts as int.
7346         * server-src/find.c: Compute totalparts if -1.
7347         * perl/Amanda/Logfile.swg: Change api.
7348         * restore-src/amfetchdump.c, restore-src/restore.c,
7349           server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
7350
7351 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
7352         * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
7353                                 Build amndmjob with modifier tape simulator.
7354         * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
7355         * ndmp-src/amndmjob_main.c: Main amndmjob program.
7356         * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
7357
7358 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
7359         * server-src/amstatus.pl: Small fix.
7360
7361 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
7362         * server-src/taper.pl: Fix quote_string use.
7363
7364 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
7365         * server-src/amstatus.pl: Display % done on port-write.
7366         * device-src/xfer-device.h: New get_part_bytes_written method in
7367                                     XferDestTaperClass.
7368         * device-src/xfer-dest-taper.c: new
7369                         xfer_dest_taper_get_part_bytes_written function.
7370         * device-src/xfer-dest-taper-splitter.c: New 
7371                         get_part_bytes_written_impl function.
7372         * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
7373         * perl/Amanda/XferServer.swg: swig
7374                                       xfer_dest_taper_get_part_bytes_written.
7375         * server-src/taper.pl: Update status file every 5 seconds.
7376         * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
7377
7378 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7379         * installcheck/Amanda_Holding.pl: add one more unary +
7380
7381 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7382         * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
7383           of => when the left-hand-side shouldn't be quoted
7384
7385 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7386         * installcheck/Amanda_Config.pl installcheck/taper.pl
7387           perl/Amanda/Config.swg server-src/amrestore.pl
7388           server-src/taper.pl: handle older perls' bad conversions
7389           from BigInt to integers or strings
7390
7391 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7392         * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
7393           use unary + before the arguments to sort, since perl-5.6's
7394           parser gets confused otherwise
7395
7396 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7397         * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
7398           to strings, since older perls' Test::More::is_deeply do not
7399           handle this well
7400
7401 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7402         * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
7403           from the constructor, since => quotes its left-hand side
7404         * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
7405           callbacks
7406
7407 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7408         * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
7409           expects the path to point to a directory, not a file
7410
7411 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
7412         * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
7413           perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
7414           constant with a hash of constants.
7415
7416 2009-11-26  Jean-Louis Martineau <martineau@zmanda.com>
7417         * application-src/*.pl: Remove $action from all function arguments.
7418         * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
7419         * perl/Amanda/Application/Zfs.pm: Remove $action from all function
7420                                           arguments.
7421         * perl/Amanda/Script_App.pm: Set $self->{action}.
7422
7423 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
7424         * restore-src/restore.c: Always do data_path exchange.
7425
7426 2009-11-25  Dustin J. Mitchell <dustin@zmanda.com>
7427         * client-src/calcsize.c: fix check_running_as
7428
7429 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
7430         Patch by Dustin J. Mitchell <dustin@zmanda.com>
7431         * server-src/amcheckdump.pl: Fix hang in MainLoop.
7432
7433 2009-11-24  Jean-Louis Martineau <martineau@zmanda.com>
7434         * server-src/amindexd.c: Reduce logging.
7435
7436 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
7437         * perl/amglue/amglue.swg: Remove %begin section, we don't want to
7438                                   require swig 1.3.39.
7439
7440 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
7441         * device-src/s3-device.c: First include "amanda.h".
7442         * perl/Amanda/Cmdline.swg: include "amanda.h".
7443         * perl/amglue/amglue.h: include "../config/config.h"
7444         * perl/amglue/amglue.swg: %begin include ../config/config.h"
7445
7446 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
7447         * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
7448
7449 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
7450         * common-src/stream.c common-src/util.c: use g_debug instead
7451           of dbprintf
7452
7453 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
7454         * Revert to previous gnulib, keep fseeko, ftello.
7455
7456 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
7457         * ndmp-src/ndmjob_args.c: add "-o test-daemon"
7458         * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
7459           when stdin closes
7460         * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
7461         * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
7462           automatically kill the daemon when the test finishes
7463
7464 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
7465         * common-src/amanda.h: Remove define of _LARGE_FILES.
7466         * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
7467
7468 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
7469         * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
7470           callback_sv, and hang onto the src through the callback invocation
7471
7472 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
7473         * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
7474
7475 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
7476         * gnulib/*, config/gnulib/*: Update gnulib
7477                                      Use getopt-gnu instead of getopt
7478                                      Add fseeko and ftello
7479                                      Remove visibility
7480
7481 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
7482         * config/amanda/progs.m4: require swig-1.3.32, as previous versions
7483           don't handle empty C strings correctly
7484
7485 2009-11-13  Dustin J. Mitchell <dustin@zmanda.com>
7486         * perl/Amanda/Device.pod perl/Amanda/Device.swg
7487           device-src/device.c device-src/device.h: add is_eom
7488         * device-src/rait-device.c
7489           device-src/s3-device.c device-src/tape-device.c
7490           device-src/vfs-device.c device-src/null-device.c: set is_eom
7491           and is_eof correctl
7492         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
7493           add an eom attribute to XMsgs
7494         * device-src/xfer-dest-taper-splitter.c: set the attribute
7495         * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
7496
7497 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
7498         * application-src/amgtar.c, application-src/amstar.c: Print restore
7499           and validate command with debug_executing.
7500         * common-src/util.c: New debug_executing function.
7501         * common-src/util.h: New debug_executing prototype.
7502
7503 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7504         * restore-src/amfetchdump.c: Small memory leak.
7505         * restore-src/restore.c, restore-src/restore.h: Many change to fix
7506           what was broken in previous patch.
7507
7508 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7509         * application-src/amgtar.c,
7510           application-src/amstar.c: Fix if none of --disk or --device is set.
7511
7512 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7513         * server-src/tapefile.c: Fix if list_new_tapes return NULL.
7514
7515 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7516         * server-src/amcheck.c, server-src/driver.c,
7517           server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
7518
7519 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7520         * application-src/amgtar.c, application-src/ampgsql.pl,
7521         * application-src/amraw.pl, application-src/amsamba.pl,
7522         * application-src/amstar.c, application-src/amsuntar.pl,
7523         * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
7524           They can get either --disk or --device or both.
7525
7526 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7527         * server-src/tapefile.c: New list_new_tapes function.
7528         * server-src/tapefile.h: Prototype for list_new_tapes function.
7529         * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
7530
7531 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7532         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
7533           ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
7534
7535 2009-11-18  Dustin J. Mitchell <dustin@zmanda.com>
7536         * device-src/directtcp-target.c
7537           device-src/directtcp-target.h: Removed files.
7538         * device-src/device.c,
7539           device-src/device.h: New device directtcp api.
7540         * device-src/directtcp-connection.c,
7541           device-src/directtcp-connection.h: directtcp_connection and
7542           directtcp_connection_socket object.
7543         * device-src/Makefile.am: Remove directtcp-target.*
7544                                   Add directtcp-connection.*
7545         * restore-src/restore.c,
7546           restore-src/restore.h: Fix for new device directtcp api.
7547
7548 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7549         * server-src/chunker.c: Fix checking result of full_write.
7550
7551 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7552         * server-src/dumper.c,
7553           common-src/security-util.c: Correctly report write error.
7554
7555 2009-11-13 Dan Locks <dwlocks@zmanda.com>
7556         *  packaging/deb/control: update to use shlibs:Depends and
7557            perl:Depends
7558         *  packaging/deb/rules: tweak build dirs for clarity, update shlibs
7559            invocation, remove unneeded debhelper commands.
7560         *  packaging/deb/amanda-backup-server.substvars, 
7561            packaging/deb/amanda-backup-client.substvars: delete. These files
7562            are generated at build time
7563
7564 2009-11-13 Dan Locks <dwlocks@zmanda.com>
7565         *  packaging/deb/buildpkg: delete unused functions, detect and add 
7566            distro/release tag to version number changelog prior to build
7567
7568 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
7569         * recover-src/extract_list.c: Enable DATA-PATH.
7570         * restore-src/restore.c: Enable DATA-PATH.
7571         * restore-src/restore.h: Enable DATA-PATH.
7572         * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
7573         * common-src/amfeatures.h: Add fe_amidxtaped_datapath
7574         * common-src/conffile.c: Improve error message.
7575         * device-src/directtcp-target.h: Improve comment.
7576
7577 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
7578         * client-src/client_util.c, common-src/util.c,
7579           server-src/changer.c: Fix memory leak.
7580
7581 2009-11-11  Jean-Louis Martineau <martineau@zmanda.com>
7582         * ndmp-src/ndma_tape.c: Fix crash.
7583
7584 2009-11-09  Dustin J. Mitchell <dustin@zmanda.com>
7585         * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
7586           in the header are set by the caller
7587         * server-src/taper.pl: set them
7588         * installcheck/taper.pl: test that on-device headers are correct
7589
7590 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
7591         * restore-src/restore.c: Handle directtcp device.
7592         * restore-src/restore.h: Handle directtcp device.
7593         * device-src/directtcp-target.h (read_to_connection): Fix comment.
7594
7595 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
7596         * device-src/directtcp-target.c (directtcp_target_listen,
7597           directtcp_target_accept): don't assert for !self->in_file or
7598                                     self->access_mode == ACCESS_NULL.
7599
7600 2009-11-06  Dustin J. Mitchell <dustin@zmanda.com>
7601         * AUTHORS: add Ben Slusky
7602         * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
7603           to UMD license, with Ben's permission
7604
7605 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
7606         * client-src/sendbackup-dump.c, client-src/sendsize.c:
7607           Fix compiler error if VXDUMP or VDUMP is defined.
7608
7609 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
7610         * client-src/client_util.c: close FILE instead of fd.
7611         * client-src/selfcheck.c: fix fd leak with app_stderr.
7612
7613 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
7614         * client-src/client_util.c (merge_property, merge_properties):
7615                                                  New functions.
7616         * client-src/client_util.h: New prototypes.
7617         * common-src/conffile.c (amandaify_property_name): New function.
7618         * common-src/conffile.h (amandaify_property_name): New prototypes.
7619         * recover-src/extract_list.c: Call merge_properties, it merge property
7620           from amanda header with property set in amrecover.
7621           Report the directory property if set.
7622         * recover-src/set_commands.c: Call amandaify_property_name.
7623
7624 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
7625         * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
7626           to be un-paused before starting to cache a part
7627         * xfer-src/dest-null.c: add additional debugging info
7628
7629 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
7630         * device-src/Makefile.am device-src/directtcp-target.c
7631           device-src/directtcp-target.h: add new DirectTCPTarget interface, for
7632           use by devices supporting DirectTCP
7633
7634 2009-11-03  Paul C. Mantz  <pcmantz@zmanda.com>
7635         * perl/Amanda/Report.pm: added state flags
7636         * instalcheck/Amanda_Report.pl: tests
7637
7638 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
7639         * common-src/testutils.c: fix uninitialized variable, only run one
7640           test in non-fork mode
7641
7642 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
7643
7644         * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
7645           'first_device' and calculate slab size immediately instead of waiting
7646           for start_part
7647         * device-src/xfer-device.h: first_device parameter
7648         * perl/Amanda/XferServer.swg: swig
7649         * perl/Amanda/Xfer.pod: docs
7650         * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
7651         * perl/Amanda/Taper/Scribe.pm: send first_device properly
7652
7653 2009-10-30  Satya Ganga <gsat@zmanda.com>
7654         * application-src/amsuntar.pl: Validate include and exclude lists
7655           before using them at restore time.
7656
7657 2009-10-30  Dustin J. Mitchell <dustin@zmanda.com>
7658         * common-src/testutils.c: do not fork if -n is given (aids debugging)
7659
7660 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
7661         * perl/Amanda/Changer/robot.pm: add barcodes to reservations
7662         * perl/Amanda/Changer.pm: document
7663         * installcheck/Amanda_Changer_robot.pl: test
7664
7665 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
7666         * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
7667
7668 2009-10-29  Satya Ganga <gsat@zmanda.com>
7669         * application-src/amgtar.c,application-src/amstar.c: Correct validation 
7670           of directory property for existence and access.
7671
7672 2009-10-29  Satya Ganga <gsat@zmanda.com>
7673         * application-src/amsamba.pl: In command line use correct
7674                                         application property names
7675
7676 2009-10-29  Jean-Louis Martineau <martineau@zmanda.com>
7677         * client-src/sendsize.c: Fix error reporting.
7678
7679 2009-10-29  Satya Ganga <gsat@zmanda.com>
7680         * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific 
7681                                  environment for NDMP
7682
7683 2009-10-28  Jean-Louis Martineau <martineau@zmanda.com>
7684         * common-src/conffile.c (free_property_t): not static.
7685         * common-src/conffile.h (free_property_t): not static.
7686         * recover-src/amrecover.c, recover-src/amrecover.h,
7687           recover-src/help.c, recover-src/set_commands.c,
7688           recover-src/uparse.y,
7689           recover-src/uscan.l: New setproperty and listproperty commands.
7690         * man/xml-source/amrecover.8.xml: Document setproperty and
7691                                           listproperty commands.
7692
7693 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
7694         * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
7695
7696 2009-10-27  Dustin J. Mitchell <dustin@zmanda.com>
7697         * common-src/Makefile.am common-src/directtcp.h: new file to
7698           handle common directtcp-related code
7699         * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
7700           DirectTCPAddr
7701         * xfer-src/Makefile.am
7702           xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
7703         * xfer-src/source-directtcp-listen.c: new source element
7704           implementing it
7705         * xfer-src/element-glue.c: stubs - no glue yet for the new mech
7706         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
7707           perl/Makefile.am: SWIG new element
7708
7709 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
7710         * client-src/client_util.c: Add data-path and directtcp argument to
7711                                     application
7712         * client-src/selfcheck.c: Check application support the requested
7713                                   data-path
7714         * client-src/sendsize.c: Check application support the requested
7715                                  data-path
7716         * common-src/amfeatures.h: Add fe_xml_data_path and
7717                                    fe_xml_directtcp_list.
7718         * common-src/amfeatures.c: Add fe_xml_data_path and
7719                                    fe_xml_directtcp_list.
7720         * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
7721         * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
7722         * server-src/amcheck.c: Check client accpet datapath and directtcp tag
7723                                 in xml.
7724         * server-src/diskfile.c: Add datapath and directtcp tag
7725         * server-src/diskfile.h (disk_t): Add directtcp_list.
7726         * server-src/driver.c: Set dp->directtcp_list.
7727
7728 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
7729         * application-src/amgtar.c, application-src/ampgsql.pl,
7730           application-src/amraw.pl, application-src/amsamba.pl,
7731           application-src/amstar.c, application-src/amsuntar.pl,
7732           application-src/amzfs-sendrecv.pl: Handle directory, include-list
7733                         and exclude-list inrestore command.
7734         * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
7735           man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
7736           man/xml-source/amstar.8.xml,
7737           man/xml-source/amsuntar.8.xml: Document them.
7738         * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
7739
7740 2009-10-23  Jean-Louis Martineau <martineau@zmanda.com>
7741         * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
7742         * client-src/client_util.h (backup_support_option_t): Add data_path_set
7743         * common-src/conffile.h: (data_path_t): Change for bit value.
7744
7745 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
7746         * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
7747           now always called with the slab_mutex held; both invocations of
7748           the function guarantee this.
7749
7750 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
7751         * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
7752         * installcheck/Installcheck.pm: close SOCK after using it
7753         * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
7754
7755 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
7756         * perl/Amanda/Config.swg: Swig data_path_from_string.
7757         * server-src/diskfile.c: Add dirrecti-tcp property to application.
7758         * server-src/diskfile.h (disk_s): Add directtcp.
7759         * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
7760         * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
7761         * server-src/server_util.h: Add DIRECTTCP_PORT.
7762         * server-src/taper.pl: Reply with DIRECTTCP-PORT.
7763
7764 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
7765         * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
7766
7767 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
7768         * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
7769         * common-src/conffile.c: Add DATA-PATH config.
7770         * common-src/conffile.h: Add DATA-PATH config.
7771         * installcheck/taper.pl: Add AMANDA data-path.
7772         * perl/Amanda/Config.swg: Add DATA-PATH config.
7773         * server-src/amadmin.c (disklist_one): print data-path.
7774         * server-src/diskfile.c: Add dp argument to xml_application.
7775         * server-src/diskfile.h: New prototype for xml_application.
7776         * server-src/amcheck.c: Use new xml_application.
7777         * server-src/amindexd.c: Use new xml_application.
7778         * server-src/driverio.c: Send data-path to the dumper and taper,
7779                                  Use new xml_application.
7780         * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
7781         * server-src/planner.c: Use new xml_application.
7782         * server-src/taper.pl: Parse data-path in PORT-WRITE command.
7783
7784 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
7785         * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
7786           ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
7787           ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
7788                 Add '-o tape-tcp=HOST:PORT' option.
7789
7790 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7791         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
7792           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
7793           ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
7794         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
7795           common-src/Makefile.am: remove ndmp-proxy.*
7796         * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
7797           common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
7798         * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
7799         * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
7800           module
7801
7802 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7803         * perl/Amanda/Taper/Scribe.pm: get a device before starting
7804           the xfer
7805
7806 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
7807         * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
7808
7809 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7810         * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
7811           libndmlib.la
7812         * ndmp-src/ndml_conn.c: remove calls to libndmjob function
7813         * device-src/Makefile.am: compile without strict prototypes
7814         * device-src/ndmp-device.c: build against libndmlib, speaking
7815           NDMP natively to the NDMP server instead of via the proxy
7816         * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
7817
7818 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7819         * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
7820           device-src/xfer-dest-taper.c device-src/xfer-device.h: make
7821           XferDestTaper an abstract base class, with XferDestTaperSplitter its
7822           only subclass (for now)
7823         * perl/Amanda/Xfer.swg: SWIG it
7824         * perl/Amanda/XferServer.swg: SWIG it
7825         * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
7826         * perl/Amanda/Taper/Scribe.pm: use subclass
7827
7828 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
7829         * installcheck/Installcheck.pm: $0 in double quote "$0".
7830
7831 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
7832         * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
7833         * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
7834         * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
7835         * installcheck/amadmin.pl: Remove set_pname call.
7836
7837 2009-10-20  Paul C. Mantz <pcmantz@zmanda.com>
7838         * server-src/amrmtape.pl: added config override option
7839         * installcheck/amrmtape.pl: regression test
7840
7841 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
7842         * device-src/xfer-dest-taper.c: add detailed debugging
7843         * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
7844         * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
7845         * server-src/taper.pl: pass debugging flags around
7846
7847 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
7848         * xfer-src/dest-buffer.c: fix Solaris cc compile errors
7849
7850 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
7851         * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
7852           new element
7853         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
7854         * installcheck/Amanda_Xfer.pl: tests
7855         * xfer-src/source-pattern.c: fix typo
7856
7857 2009-10-19  Paul C. Mantz <pcmantz@zmanda.com>
7858         * perl/Amanda/Report.pm: error handling for logfile reading.
7859         * perl/Amanda/Logfile.pod: documentation of open_logfile error
7860         behavior
7861
7862 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
7863         * installcheck/Makefile.am (full_tests): Add amadmin.
7864         * installcheck/amadmin.pl: Check diskname matching argument.
7865
7866 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
7867         * common-src/match.c: Fix match_word function.
7868
7869 2009-10-16 Dan Locks <dwlocks@zmanda.com>
7870         *  example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
7871            replace IPv6 with IPv4
7872
7873 2009-10-16  Nikolas Coukouma <atrus@zmanda.com>
7874         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
7875           application-src/amlog-script.pl, application-src/ampgsql.pl,
7876           application-src/amraw.pl, application-src/amsamba.pl,
7877           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
7878           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
7879           changer-src/chg-glue.pl, common-src/amaespipe.sh,
7880           common-src/amcryptsimple.pl, common-src/amgetconf.pl,
7881           common-src/amgpgcrypt.pl, common-src/event-test.c,
7882           common-src/glib-util.c, common-src/glib-util.h,
7883           common-src/hexencode-test.c, common-src/ipc-binary.c,
7884           common-src/ipc-binary.h, common-src/queueing-test.c,
7885           common-src/queueing.c, common-src/queueing.h,
7886           common-src/quoting-test.c, common-src/semaphore-test.c,
7887           common-src/semaphore.c, common-src/semaphore.h,
7888           common-src/simpleprng.c, common-src/simpleprng.h,
7889           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
7890           common-src/testutils.c, common-src/testutils.h,
7891           config/automake/scripts.am, config/automake/vars.am,
7892           config/macro-archive/docbook-dtd.m4,
7893           config/macro-archive/docbook-xslt-min.m4,
7894           config/macro-archive/docbook-xslt.m4,
7895           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
7896           device-src/amtapetype.pl, device-src/device-queueing.c,
7897           device-src/device-queueing.h, device-src/device.c,
7898           device-src/device.h, device-src/ndmp-device.c,
7899           device-src/null-device.c, device-src/property.c,
7900           device-src/property.h, device-src/rait-device.c,
7901           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
7902           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
7903           device-src/tape-device.c, device-src/tape-device.h,
7904           device-src/tape-ops.h, device-src/tape-posix.c,
7905           device-src/tape-uware.c, device-src/tape-xenix.c,
7906           device-src/vfs-device.c, device-src/vfs-test.c,
7907           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
7908           device-src/xfer-device.h, device-src/xfer-source-device.c,
7909           device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
7910           installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
7911           installcheck/Amanda_Changer_disk.pl,
7912           installcheck/Amanda_Changer_null.pl,
7913           installcheck/Amanda_Changer_rait.pl,
7914           installcheck/Amanda_Changer_robot.pl,
7915           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
7916           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
7917           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
7918           installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
7919           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
7920           installcheck/Amanda_IPC_Binary.pl,
7921           installcheck/Amanda_IPC_LineProtocol.pl,
7922           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
7923           installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
7924           installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
7925           installcheck/Amanda_Taper_Scan.pl,
7926           installcheck/Amanda_Taper_Scan_traditional.pl,
7927           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
7928           installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
7929           installcheck/Installcheck.pm,
7930           installcheck/Installcheck/Application.pm,
7931           installcheck/Installcheck/Changer.pm,
7932           installcheck/Installcheck/Config.pm,
7933           installcheck/Installcheck/Dumpcache.pm,
7934           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
7935           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
7936           installcheck/amcheck-device.pl, installcheck/amcheck.pl,
7937           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
7938           installcheck/amdump.pl, installcheck/amfetchdump.pl,
7939           installcheck/amgetconf.pl, installcheck/amgtar.pl,
7940           installcheck/amlabel.pl, installcheck/ampgsql.pl,
7941           installcheck/amraw.pl, installcheck/amreport.pl,
7942           installcheck/amrestore.pl, installcheck/amrmtape.pl,
7943           installcheck/amservice.pl, installcheck/amstatus.pl,
7944           installcheck/amtape.pl, installcheck/amtapetype.pl,
7945           installcheck/bigint.pl, installcheck/mock/mtx.pl,
7946           installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
7947           installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
7948           packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
7949           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
7950           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
7951           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
7952           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
7953           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
7954           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
7955           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
7956           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
7957           perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
7958           perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
7959           perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
7960           perl/Amanda/Header.pod, perl/Amanda/Header.swg,
7961           perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
7962           perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
7963           perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
7964           perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
7965           perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
7966           perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
7967           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
7968           perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
7969           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
7970           perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
7971           perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
7972           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
7973           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
7974           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
7975           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
7976           perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
7977           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
7978           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
7979           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
7980           server-src/amcleanup.pl, server-src/amlabel.pl,
7981           server-src/amrestore.pl, server-src/amrmtape.pl,
7982           server-src/amserverconfig.pl, server-src/amtape.pl,
7983           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
7984           server-src/taper.pl, server-src/xfer-server.h,
7985           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
7986           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
7987           xfer-src/element-glue.h, xfer-src/filter-process.c,
7988           xfer-src/filter-xor.c, xfer-src/source-fd.c,
7989           xfer-src/source-pattern.c, xfer-src/source-random.c,
7990           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
7991           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
7992           xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
7993
7994 2009-10-16  Dustin J. Mitchell <dustin@zmanda.com>
7995         * common-src/hexencode-test.c: avoid compiler warnings and a potential
7996           crash on test failure
7997
7998 2009-10-16  Jean-Louis Martineau <martineau@zmanda.com>
7999         * application-src/amsamba.pl: fix restore.
8000
8001 2009-10-15  Nikolas Coukouma <atrus@zmanda.com>
8002         * application-src/ampgsql.pl, common-src/Makefile.am,
8003           common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
8004           installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
8005           perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
8006           perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
8007           and decoding functions into C. SWIG, document, and test them. Also add
8008           exception-generating typemap for GErrors.
8009
8010 2009-10-14  Nikolas Coukouma <atrus@zmanda.com>
8011         * perl/Amanda/Changer.pm: forgot to import function
8012
8013 2009-10-14  Jean-Louis Martineau <martineau@zmanda.com>
8014             Dustin J. Mitchell <dustin@zmanda.com>
8015         * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
8016         * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
8017         * device-src/ndmp-device.c: Keep track if a device is openned, don't
8018           close the connection to the proxy in ndmp_device_finish().
8019         * installcheck/Amanda_Device_ndmp.pl: More check.
8020         * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
8021         * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
8022         * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
8023
8024 2009-10-13  Nikolas Coukouma <atrus@zmanda.com>
8025         * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
8026           installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
8027           and test it
8028         * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
8029           use string_to_boolean
8030         * perl/Amanda/MainLoop.pod: correct spelling
8031
8032 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
8033         Revert previous patch.
8034
8035 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
8036         * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
8037         * common-src/conffile.c: Add data_path
8038         * common-src/conffile.h: Add data-path
8039         * common-src/ndmp-proxy.c: Improve.
8040         * common-src/ndmp-proxy.h: Improve.
8041         * device-src/device.c (device_start_dump, device_finish_dump
8042                                device_write_from_data_path) New method.
8043         * device-src/device.h (device_start_dump, device_finish_dump
8044                                device_write_from_data_path) New method.
8045         * device-src/ndmp-device.c: Improve
8046         * device-src/xfer-dest-taper.c: data-path
8047         * device-src/xfer-device.h: data-path
8048         * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
8049         * ndmp-src/ndma_comm_proxy.c: Improve.
8050         * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
8051         * ndmp-src/ndmjob_main.c: Open debug file.
8052         * ndmp-src/ndml_log.c: Check for deliver..
8053         * perl/Amanda/Config.swg: Add data-path
8054         * perl/Amanda/Device.swg: Add new device api
8055         * perl/Amanda/Taper/Scribe.pm: data-path
8056         * perl/Amanda/XferServer.swg: data-path
8057         * server-src/amadmin.c: print data-path
8058         * server-src/amcheck.c: data-path and xml_application change
8059         * server-src/amindexd.c: xml_application change
8060         * server-src/diskfile.c: new xml_application
8061         * server-src/diskfile.h: xml_application prototype change.
8062         * server-src/driver.c: data-path
8063         * server-src/driverio.c: data-path
8064         * server-src/driverio.h (taper_device): new global variable.
8065         * server-src/dumper.c: data-path
8066         * server-src/planner.c: xml_application change
8067         * server-src/taper.pl: data-path
8068
8069 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
8070         * perl/Amanda/IPC/Binary.pod: finish docs
8071
8072 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
8073         * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
8074         * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
8075           ipc-binary
8076         * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
8077         * perl/Amanda/IPC/Binary.pod: stub documentation
8078         * perl/Amanda/IPC/LineProtocol.pm: whitespace
8079
8080 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
8081         * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
8082           ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
8083           <atrus@zmanda.com>
8084
8085 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
8086         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
8087           pass parameters
8088         * device-src/ndmp-device.c: bugfixes; open and close the conneciton
8089           for each service request, to avoid deadlocking the proxy
8090         * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
8091           ndmjob tape simulator
8092         * installcheck/Installcheck/Mock.pm: add run_ndmjob
8093         * installcheck/Makefile.am: new checks
8094         * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
8095         * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
8096         * ndmp-src/ndmjob.h: p_port
8097         * ndmp-src/ndmjob_args.c: add -p PORT
8098         * ndmp-src/ndmjob_main.c: use -p PORT
8099         * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
8100           connection
8101
8102 2009-10-07 Dan Locks <dwlocks@zmanda.com>
8103         *  packaging/deb/control: add mailx|bsd-mailx (also missing
8104            |gnuplot-nox)
8105
8106 2009-10-07  Jean-Louis Martineau <martineau@zmanda.com>
8107         * server-src/diskfile.c: Fix initialization of xml_app.result.
8108
8109 2009-10-06  Dustin J. Mitchell <dustin@zmanda.com>
8110         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
8111           remove ndmp-proxy-log-file and ndmp-proxy-debug-level
8112         * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
8113         * common-src/ipc-binary.h: don't recommend static allocation
8114         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
8115           demand; it will shut down when all of the connections are closed
8116         * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
8117         * installcheck/Installcheck.pm: add get_unused_port()
8118         * installcheck/Makefile.am: new check
8119         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
8120           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
8121           ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
8122           ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
8123           proxy into a different executable, and reference count the connections
8124           to it
8125         * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
8126         * perl/Amanda/NDMP.pod: add POD
8127         * server-src/amlabel.pl server-src/amcheck-device.pl: remove
8128           ndmp_stop_proxy()
8129
8130 2009-10-06  Paul C. Mantz <pcmantz@zmanda.com>
8131         * perl/Amanda/Reporter.pm: added log handling of amdump and
8132         amflush
8133         * installcheck/Amanda_Report.pl: regression tests
8134
8135 2009-10-06  Jean-Louis Martineau <martineau@zmanda.com>
8136         * installcheck/amraw.pl: Use File::Path::mkpath.
8137
8138 2009-10-05  Jean-Louis Martineau <martineau@zmanda.com>
8139         * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
8140         * application-src/amraw.pl: New application.
8141         * installcheck/Makefile.am (client_tests): Add amraw.
8142         * installcheck/amraw.pl: Check amraw functionnality.
8143         * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
8144         * man/xml-source/amanda-applications.7.xml: Add amraw.8.
8145         * man/xml-source/amanda.8.xml: Add amraw.8.
8146         * man/xml-source/amraw.8.xml: New man page for amraw application.
8147         * perl/Amanda/Constants.pm.in: Add DD.
8148
8149 2009-10-05  Paul C. Mantz <pcmantz@zmanda.com>
8150         * server-src/reporter.c: exit code 0 with no output format
8151         specified, fixed default output destination
8152
8153 2009-10-02  Jean-Louis Martineau <martineau@zmanda.com>
8154         * common-src/debug.c (msg_timestamp): Print time in human readable
8155                                               format.
8156
8157 2009-10-01  Dustin J. Mitchell <dustin@zmanda.com>
8158         * device-src/ndmp-device.c:  remove some includes, remove recycle and
8159           erase, streaming desired, close the tape service on finish(), rewind
8160           less, and be more careful about setting errors exactly once
8161         * man/xml-source/amanda-devices.7.xml: document the device
8162
8163 2009-10-01  Paul C. Mantz <pcmantz@zmanda.com>
8164         * server-src/reporter.c: no report made unless destination
8165         argument given
8166
8167 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
8168         * application-src/amgtar.c (build_re_table, add_type_table,
8169                                     add_list_table): Remove function.
8170         * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
8171         * client-src/client_util.c (build_re_table, add_type_table,
8172                                    add_list_table): Add function.
8173         * client-src/client_util.h (build_re_table, add_type_table,
8174                                     add_list_table): Add prototype.
8175         * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
8176                 Add declaration.
8177         * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
8178                 Remove declaration.
8179         * client-src/sendsize.c: Rename 'struct regex_s' to
8180                                         'struct regex_scale_s'.
8181         * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
8182                                        properties.
8183
8184 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
8185         * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
8186                                                           name.
8187
8188 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
8189         * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
8190                                     command.
8191         * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
8192
8193 2009-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8194         * server-src/dumper.c: runs setuid root
8195         * common-src/local-security.c: drop root privs
8196         * common-src/rsh-security.c: drop root privs
8197         * common-src/ssh-security.c: drop root privs
8198
8199 2009-09-29  Dustin J. Mitchell <dustin@zmanda.com>
8200         * amandad-src/amandad.h common-src/amanda.h: move constants
8201           to amanda.h
8202         * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
8203           inform the OpenBSD pthread library about high-numbered fd's created
8204           by amandad
8205         * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
8206           client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
8207           use openbsd_fd_infom
8208
8209 2009-09-28  Dustin J. Mitchell <dustin@zmanda.com>
8210         * common-src/util.h: fix comment
8211         * server-src/planner.c: planner runs setuid, so tell check_running_as
8212
8213 2009-09-28  Nikolas Coukouma <atrus@zmanda.com>
8214         * device-src/s3.c: fix day of the week in Date header
8215
8216 2009-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8217         * common-src/amflock.c: set the return value
8218         * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
8219         * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
8220         * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
8221           handle configurations where no tape device is specified better
8222         * server-src/amtape.pl: handle the case where loaded_in == 0
8223
8224 2009-09-25  Nikolas Coukouma <atrus@zmanda.com>
8225         * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
8226
8227 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
8228         * man/xml-source/amanda-devices.7.xml: fix typo
8229
8230 2009-09-24  Paul C. Mantz <pcmantz@zmanda.com>
8231         * perl/Amanda/Report.pm: added accessor functions
8232         * installcheck/Amanda_Report.pl: tests
8233
8234 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
8235         * device-src/property.c: remove old property instance
8236
8237 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
8238         * man/xml-source/amanda-devices.7.xml: update property documentation
8239           and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
8240         * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
8241           device-src/property.c device-src/property.h device-src/device.c
8242           man/xml-source/amanda-changers.7.xml: rename property
8243         * device-src/tape-device.c: accept old and new property names
8244         * installcheck/Amanda_Device.pl: tests
8245
8246 2009-09-10  Jean-Louis Martineau <martineau@zmanda.com>
8247         * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
8248           DIRECTORY properties on restore
8249
8250 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
8251         * installcheck/Amanda_Device.pl: fix skip count
8252
8253 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
8254         * common-src/util.c common-src/util.h: allow to drop root privs
8255           entirely
8256         * common-src/pipespawn.c: drop root
8257         * amandad-src/amandad.c: check effective userid
8258         * common-src/krb5-security.c: check effective userid
8259         * server-src/amcheck.c: check effective userid
8260
8261 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
8262         * device-src/s3-device.c: handle EOT correctly
8263         * installcheck/Amanda_Device.pl: check for it
8264
8265 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
8266         * changer-src/chg-glue.pl common-src/amgetconf.pl
8267           common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
8268           device-src/amtapetype.pl installcheck/Amanda_Config.pl
8269           installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
8270           perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
8271           restore-src/amfetchdump.c server-src/amadmin.c
8272           server-src/amcheck-device.pl server-src/amcheck.c
8273           server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
8274           server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
8275           server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
8276           server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
8277           server-src/driver.c server-src/dumper.c server-src/planner.c
8278           server-src/reporter.c server-src/taper.pl: change "config_overwrite"
8279           to "config_override"
8280
8281 2009-09-05  Dustin J. Mitchell <dustin@zmanda.com>
8282         * server-src/amvault.pl: use destination volume filenums in amvault
8283
8284 2009-09-04  Dustin J. Mitchell <dustin@zmanda.com>
8285         * common-src/util.c: setuid(0) initially, so that we can release
8286           and acquire root privs
8287
8288 2009-09-03  Jean-Louis Martineau <martineau@zmanda.com>
8289         * device-src/ndmp-device.c: Include "ndmp-proxy.h".
8290
8291 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
8292         * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
8293           binary communication protocol
8294         * common-src/ipc-binary-test.c: tests for same
8295         * common-src/ndmp-protocol.h: removed
8296         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
8297           with ndmp-proxy, including protocol
8298         * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
8299         * common-src/Makefile.am: rename/add files
8300         * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
8301           ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
8302           use new protocol
8303
8304 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
8305         * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
8306
8307 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
8308         * device-src/ndmp-device.c: remove spurious #include of stream.c
8309
8310 2009-09-02  Jean-Louis Martineau <martineau@zmanda.com>
8311         * common-src/debug.c: Improve debugging.
8312         * restore-src/restore.h (rst_flags_t): Add header_to_fd.
8313         * restore-src/amidxtaped.c: set header_to_fd to 1.
8314         * restore-src/restore.c: Write header to header_to_fd.
8315         * restore-src/amfetchdump.c: Add --header-fd and --header-file
8316                                      arguments.
8317         * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
8318                                             --header-file argument.
8319
8320 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
8321         * perl/Amanda/Header.swg: remove spurious references to cmdline.h
8322
8323 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
8324         * ndmp-src/Makefile.am: fix dumb typos
8325
8326 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com
8327         * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
8328
8329 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
8330         * man/entities/global.entities.in man/xml-source/amadmin.8.xml
8331           man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
8332           man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
8333           man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
8334           man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
8335           man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
8336           man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
8337           man/xml-source/amvault.8.xml: use entities to represent config
8338           overwrites consistently
8339
8340 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
8341         * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
8342           cmdline.h in a client-only package
8343         * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
8344         * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
8345           tests
8346
8347 2009-08-31 Dan Locks <dwlocks@zmanda.com>
8348         * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
8349           %files for server.
8350
8351 2009-08-31  Jean-Louis Martineau <martineau@zmanda.com>
8352         * config/amanda/dumpers.m4: Give only a warning if user specified path
8353                                     is not correct for gtar and star.
8354
8355 2009-08-28  Dustin J. Mitchell <dustin@zmanda.com>
8356         * perl/Amanda/Device.pod: be explicit: finish_file is not for read
8357           mode
8358
8359 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
8360         * xfer-src/filter-process.c: fixed write warnings which were
8361           breaking Ubuntu builds
8362
8363 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
8364         * perl/Amanda/Logfile.swg: added four previously omitted program
8365         types
8366         * installcheck/Amanda_Logfile.pl: regression tests for the program
8367         types
8368
8369 2009-08-26  Jean-Louis Martineau <martineau@zmanda.com>
8370         * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
8371         * configure.in: Use AMANDA_PROG_STAR.
8372
8373 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
8374         * config/amanda/components.m4: Fix --with-amrecover=yes
8375
8376 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
8377         * ndmp-src/ndmp-protocol.h: Remove file.
8378         * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
8379         * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
8380
8381 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
8382         * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
8383         * configure.in: Use AMANDA_NDMP_DEVICE.
8384         * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
8385                                  andndmp_proxy_debug_level.
8386         * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
8387                                  and CNF_NDMP_PROXY_DEBUG_LEVEL
8388         * common-src/ndmp-protocol.h: Define protocol between amanda and
8389                                       ndmp-proxy.
8390         * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
8391                              connect_to_ndmp_proxy): New functions.
8392         * common-src/util.h: Add prototype for new functions.
8393         * device-src/Makefile.am: Build ndmp-device.
8394         * device-src/device.c: Use ndmp-device.
8395         * device-src/ndmp-device.c: New ndmp device.
8396         * device-src/tape-device.c: Small fix.
8397         * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
8398         * perl/Amanda/Config.swg: Export new CNF_* constants.
8399         * perl/Amanda/Ndmp.swg: New module for ndmp function.
8400         * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
8401         * perl/Amanda/Util.swg: New finish_application function.
8402         * perl/Makefile.am: Build Amanda::Ndmp
8403         * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
8404           stop_ndmp_proxy and finish_application.
8405
8406 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
8407         * man/xml-source/amfetchdump.8.xml: Document -h option.
8408         * restore-src/amfetchdump.c: Document -h option, pass the server
8409                                      feature set to search_tapes.
8410
8411 2009-08-24  Paul C. Mantz <pcmantz@zmanda.com>
8412         * perl/Amanda/Report.pm: Module for abstracting amreport data
8413         * perl/Makefile.am: compile the module
8414         * installcheck/Amanda_Report.pl: test for Amanda::Report
8415         * installcheck/Makefile.am: add the test to installcheck
8416
8417 2009-08-21  Dustin J. Mitchell <dustin@zmanda.com>
8418         * man/xml-source/amgtar.8.xml: changes suggested by Christopher
8419           <chrismcc@pricegrabber.com>
8420
8421 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
8422         * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
8423         * ndmp-src/Makefile.am: Link with libamanda
8424         * ndmp-src/ndmos_glib.h: Use strtoll.
8425
8426 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
8427         * ndmp-src/*: Import of ndmjob + ndmp-proxy.
8428         * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
8429         * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
8430         * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
8431         * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
8432         * Makefile.am: Build ndmp-src.
8433
8434 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
8435         * common-src/ipc-binary.c: New protocol
8436         * common-src/ipc-binary.h: New protocol header
8437         * common-src/Makefile.am: Compile it.
8438
8439 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
8440         * man/xml-source/amanda-changers.7.xml: Typo.
8441
8442 2009-08-20  Dustin J. Mitchell <dustin@zmanda.com>
8443         * man/xml-source/amanda-devices.7.xml: tweak
8444         * perl/Amanda/Changer.pm: fix configuration to also include device
8445           alias configuration
8446         * perl/Amanda/Device.pod: deprecate $dev->configure()
8447         * man/xml-source/amanda-changers.7.xml: better documentation
8448           of device configuration via changers
8449
8450 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8451         * restore-src/Makefile.am restore-src/amrestore.c: remove
8452         * common-src/fileheader.c common-src/fileheader.h: add
8453           summarize_header
8454         * common-src/match.c: fix match_level bugs
8455         * installcheck/Amanda_Header.pl: test matches_dumpspecs
8456         * server-src/Makefile.am server-src/amrestore.pl: new perl version
8457         * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
8458           on to the next dumpfile
8459         * man/xml-source/amrestore.8.xml: update docs
8460         * perl/Amanda/Cmdline.pod: typo
8461         * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
8462           matches_dumpspec
8463         * installcheck/Amanda_Util.pl: test sanitise_filename
8464         * perl/Amanda/Util.pod: add sanitise_filename
8465
8466 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8467         * xfer-src/filter-process.c: new xfer element
8468         * xfer-src/xfer-element.h: declare it
8469         * perl/Amanda/Xfer.swg: SWIG it
8470         * perl/Amanda/Xfer.pod: doc it
8471         * xfer-src/Makefile.am: build it
8472         * installcheck/Amanda_Xfer.pl: test it
8473
8474 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8475         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
8476           to start(), and make the get_source method "low-level"
8477         * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
8478           installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
8479           device-src/amtapetype.pl: don't use get_source
8480         * perl/Amanda/MainLoop.pod: documentation tweak
8481
8482 2009-08-17  Dustin J. Mitchell <dustin@zmanda.com>
8483         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8484           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
8485           perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
8486           release()
8487         * server-src/amcheck-device.pl: fix stupid bug
8488
8489 2009-08-14 Dan Locks <dwlocks@zmanda.com>
8490         * example/Makefile.am: split example into server and client
8491           installperms statements.
8492
8493 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
8494         * server-src/amlabel.pl: handle error in Amanda::Changer->new
8495
8496 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
8497         * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
8498         * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
8499           add a 'multi' dumpcache and refactor Dumpcache.pm
8500         * installcheck/Installcheck/Run.pm: better diagnostics, better access
8501           to stderr from successful runs
8502
8503 2009-08-12  Dustin J. Mitchell <dustin@zmanda.com>
8504         * installcheck/taper.pl: add a check for taper startup err
8505         * server-src/taper.pl: properly send a startup err instead of die()ing
8506         * perl/Amanda/IPC/LineProtocol.pm: fix typos
8507
8508 2009-08-05  Dustin J. Mitchell <dustin@zmanda.com>
8509         * man/xml-source/amdevcheck.8.xml: manpage tweaks
8510
8511 2009-08-05 Dan Locks <dwlocks@zmanda.com>
8512         * Thanks to Jim Barber for pointing out these bugs.
8513         * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
8514           packaging/deb/amanda-backup-server.postinst: replace all instances
8515           of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
8516         * packaging/deb/control: add build-depends for libglib2.0-dev
8517
8518 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8519         * installcheck/amcheck.pl: fix typo
8520
8521 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8522         * installcheck/amcheck.pl: put options before args for old getopts
8523         * installcheck/Makefile.am: only run amcheck check on full install
8524
8525 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8526         * installcheck/Makefile.am installcheck/amcheck.pl: new tests
8527         * server-src/amcheck.c: fix usage message
8528
8529 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8530         * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
8531
8532 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8533         * server-src/amcheck.c: initialize success properly
8534         * installcheck/mock/mtx.pl: another workaround for bad perl parser
8535
8536 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8537         * installcheck/amlabel.pl: update tests for new messages
8538         * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
8539           rewrite amlabel in perl to use new changer API
8540         * man/xml-source/amlabel.8.xml: overhaul manpage
8541         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
8542
8543 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8544         * server-src/amlabel.c server-src/amcheck.c: remove include of
8545           taperscan.h
8546
8547 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8548         * server-src/Makefile.am server-src/amcheck-device.pl
8549           server-src/amcheck.c: break out device-checking into a perl script
8550           invoked from amcheck
8551         * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
8552           script
8553         * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
8554           volumes explicitly marked as blank (timestamp="X")
8555         * server-src/taperscan.c server-src/taperscan.h: remove
8556
8557 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8558         * device-src/device.h: remove some comments that are now redundant
8559         * perl/Amanda/Device.pod: put primary Device documentation here,
8560           centralizing what used to be in the header file and on the wiki
8561
8562 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8563         * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
8564           confusing
8565
8566 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8567         * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
8568
8569 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8570         * device-src/tape-posix.c: use g_debug instead of dbprintf
8571
8572 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8573         * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
8574           more than once in a scan object's lifetime
8575         * man/xml-source/amanda-taperscan.7.xml: document this
8576
8577 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8578         * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
8579           rewrite amtape in perl
8580         * NEWS: describe changes
8581         * man/xml-source/amtape.8.xml: document behavior
8582         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8583           perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
8584           perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
8585           user_msg_fn
8586         * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
8587           tests to match new behavior
8588
8589 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8590         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8591           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
8592           perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
8593           except_slots, to allow slot scanning
8594         * installcheck/Amanda_Changer_compat.pl
8595           installcheck/Amanda_Changer_disk.pl
8596           installcheck/Amanda_Changer_rait.pl
8597           installcheck/Amanda_Changer_robot.pl: test each implementation
8598
8599 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8600         * perl/Makefile.am perl/Amanda/Changer/robot.pm:
8601           new changer
8602         * example/amanda.conf.in: adjust to correspond to new changers
8603         * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
8604         * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
8605         * man/xml-source/amanda-changers.7.xml: documentation for new changer
8606         * perl/Amanda/Changer.pm: POD tweak
8607
8608 2009-07-31 Dan Locks <dwlocks@zmanda.com>
8609         * packaging/deb/control, packaging/rpm/amanda.spec: add native
8610           package names to conflict list
8611
8612 2009-07-30 Dan Locks <dwlocks@zmanda.com>
8613         * example/Makefile.am: separates client from server example,
8614           label, and template files.
8615
8616 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
8617         * device-src/Makefile.am device-src/xfer-source-taper.c
8618           device-src/xfer-device.h: new xfer element
8619         * device-src/xfer-source-device.c: typos
8620         * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
8621         * perl/Amanda/XferServer.swg: SWIG it
8622         * perl/Amanda/Xfer.pod: docs
8623         * installcheck/Amanda_Xfer_serveronly.pl: test it
8624
8625 2009-07-30  Jean-Louis Martineau <martineau@zmanda.com>
8626         * application-src/amsuntar.pl: Fix open of fd3.
8627
8628 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
8629         * device-src/xfer-dest-taper.c: open disk cache twice instead of
8630           incorrectly relying on dup(); use a local variable to stop the
8631           disk cacher for sure at the end of each part
8632
8633 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
8634         * perl/Amanda/Changer.pm: add an inventory() method
8635         * perl/Amanda/Changer/disk.pm: implement
8636         * perl/Amanda/Changer/rait.pm: implement
8637         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8638           installcheck/Amanda_Changer_disk.pl
8639           installcheck/Amanda_Changer_rait.pl: test
8640
8641 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
8642         * perl/Amanda/Changer.pm: do not release() reservations automatically
8643           when they go out of scope
8644         * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
8645           installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
8646           installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
8647           installcheck/Amanda_Changer_single.pl: don't depend on auto-release
8648
8649 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
8650         * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
8651           shuffle vtapes instead of linking, and support 'nobarcode'
8652         * installcheck/mock_mtx.pl: test it
8653
8654 2009-07-28  Nikolas Coukouma <atrus@zmanda.com>
8655         * installcheck/Installcheck.pm: Add a function for including Test::More
8656           messages in debug logs (and document it). Move mkpath($TMP) into an
8657           INIT block.
8658         * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
8659           installcheck/Amanda_Changer_disk.pl,
8660           installcheck/Amanda_Changer_null.pl,
8661           installcheck/Amanda_Changer_rait.pl,
8662           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
8663           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
8664           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
8665           installcheck/Amanda_IPC_LineProtocol.pl,
8666           installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
8667           installcheck/Amanda_Taper_Scan_traditional.pl,
8668           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
8669           installcheck/Amanda_Xfer_serveronly.pl,
8670           installcheck/amrmtape.pl, installcheck/amtape.pl,
8671           installcheck/taper.pl: use Installcheck::log_test_output()
8672
8673 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
8674         * perl/Amanda/Changer.pm: add a get_boolean_property helper method
8675
8676 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
8677         * config/amanda/defaults.m4: remove --with-changer-device
8678         * common-src/conffile.c: make NULL the default
8679         * example/amanda.conf.in: remove reference to the default
8680         * NEWS: note that option is no longer available
8681
8682 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
8683         * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
8684           variables, and just syntax-check everything
8685         * amar-src/Makefile.am application-src/Makefile.am
8686           changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
8687           device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
8688           adjust makefiles to match
8689         * perl/Amanda/Changer/rait.pm: fix some warnings
8690
8691 2009-07-24  Jean-Louis Martineau <martineau@zmanda.com>
8692         * amandad-src/amandad.c: Fix fd allocation.
8693
8694 2009-07-21 Dan Locks <dwlocks@zmanda.com>
8695         * example/Makefile.am: add missing trailing slash
8696
8697 2009-07-18  Dustin J. Mitchell <dustin@zmanda.com>
8698         * installcheck/taper.pl: one more check for the taper's DONE
8699
8700 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8701         * installcheck/taper.pl: add a check for the taper's DONE
8702
8703 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8704         * server-src/xfer-source-holding.c: fix a race condition with
8705           self->dest_taper
8706
8707 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8708         * server-src/Makefile.am: fix to distribute taper.pl
8709
8710 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8711         * installcheck/Amanda_Taper_Scribe.pl: fix test
8712
8713 2009-07-17  Nikolas Coukouma <atrus@zmanda.com>
8714         * installcheck/taper.pl: remove cruft
8715         * server-src/Makefile.am: remove cruft
8716         * server-src/taper.pl: fix copyright statement
8717
8718 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8719         * server-src/taper.pl: new taper (in perl)
8720         * installcheck/taper.pl: update tests
8721         * server-src/Makefile.am server-src/taper-disk-port-source.c
8722           server-src/taper-disk-port-source.h server-src/taper-file-source.c
8723           server-src/taper-file-source.h server-src/taper-mem-port-source.c
8724           server-src/taper-mem-port-source.h server-src/taper-port-source.c
8725           server-src/taper-port-source.h server-src/taper-source-test.c
8726           server-src/taper-source.c server-src/taper-source.h
8727           server-src/taper.c: deleted
8728
8729 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8730         * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
8731         * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
8732
8733 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
8734         * server-src/diskfile.c: add missing _()
8735
8736 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
8737         * man/Makefile.am man/xml-source/amanda.8.xml
8738           man/xml-source/amanda-compatibility.7.xml: add new manpage describing
8739           inter-version compatibility
8740         * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
8741
8742 2009-07-16  Jean-Louis Martineau <martineau@zmanda.com>
8743         * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
8744
8745 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8746         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8747           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
8748           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
8749           remove $res->{'next_slot'} in favor of $chg->load(relative_slot
8750           => 'next', slot => $slot)
8751         * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
8752           server-src/amvault.pl: use new form
8753         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8754           installcheck/Amanda_Changer_disk.pl
8755           installcheck/Amanda_Changer_rait.pl: test it
8756
8757 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8758         * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
8759         * NEWS: describe removed keyword
8760         * installcheck/Amanda_Config.pl: don't test for it anymore
8761
8762 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8763         * perl/Amanda/Changer.pm: new with_locked_state method to help
8764           subclasses access a locked statefile
8765         * installcheck/Amanda_Changer.pl: test new method
8766         * perl/Amanda/Changer/disk.pm: use new method
8767
8768 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8769         * common-src/amflock.h common-src/amflock.c: new fcntl-based
8770           file locking support
8771         * common-src/amflock-test.c: test them
8772         * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
8773         * installcheck/Amanda_Util.pl: test that too
8774
8775 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8776         * gnulib/regenerate/regenerate: add ftruncate and lseek modules
8777         * config/config.rpath config/gnulib/* gnulib/*: new modules
8778
8779 2009-07-14  Dustin J. Mitchell <dustin@zmanda.com>
8780         * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
8781         * installcheck/Amanda_DB_Catalog.pl: test same
8782
8783 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
8784         * server-src/driverio.c: Print strerror if update of infofile failed.
8785
8786 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
8787         * config/automake/scripts.am: Fix *.nouselib creation.
8788
8789 2009-07-13  Dustin J. Mitchell <dustin@zmanda.com>
8790         * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
8791         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8792           perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
8793           implement
8794         * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
8795           installcheck/Amanda_Changer_compat.pl
8796           installcheck/Amanda_Changer_disk.pl
8797           installcheck/Amanda_Changer_null.pl
8798           installcheck/Amanda_Changer_rait.pl
8799           installcheck/Amanda_Changer_single.pl
8800           server-src/amvault.pl: use new key
8801
8802 2009-07-13  Jean-Louis Martineau <martineau@zmanda.com>
8803         * application-src/amsamba.pl: Fix parsing domain in amandapass.
8804
8805 2009-07-11  Dustin J. Mitchell <dustin@zmanda.com>
8806         * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
8807
8808 2009-07-10  Nikolas Coukouma <atrus@zmanda.com>
8809         * device-src/s3-device.c: fix calls to erase() before start()
8810         * installcheck/data/aws-bundle.crt: use a larger certificate bundle
8811         * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
8812           with custom certificate bundle, test erase() before start(),
8813           try to do more with an invalid certificate bundle
8814
8815 2009-07-10  Dustin J. Mitchell <dustin@zmanda.com>
8816         * configure.in: don't generate all of the example/ files here
8817         * example/Makefile.am: generate them here
8818         * example/chg-mcutil.conf.in: removed
8819         * example/config.site: removed
8820
8821 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8822         * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
8823           instead of 'current', as required by previous change
8824
8825 2009-07-09  Alan Hodgson <ahodgson@simkin.ca>
8826         * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
8827         * man/xml-source/amgtar.8.xml: document them
8828
8829 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8830         * common-src/util.c common-src/util.h: add quote_string_always
8831         * common-src/conffile.c: use it to quote strings on output from config
8832
8833 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8834         * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
8835           VERSION_MAJOR, _MINOR, etc.
8836         * common-src/version.h: remove everything but version_info
8837         * client-src/versionsuffix.c client-src/Makefile.am: remove
8838           versionsuffix app
8839         * configure.in: remove versuff.c
8840         * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
8841           USE_VERSION_SUFFIXES
8842         * other source files: change version() to VERSION, remove
8843           versionsuffix() calls, remove unnecessary #include "version.h",
8844           and remove other uses of suffixes
8845
8846 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8847         * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
8848          of 'current', so the vtape root works as a device
8849         * man/xml-source/amanda-changers.7.xml: document
8850
8851 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8852         * amandad-src/amandad.c: conditionalize UID checks
8853
8854 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8855         * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
8856           prefer 'application' and 'script' to 'application-tool' and
8857           'script-tool', but accept both
8858         * common-src/amgetconf.pl: accept both
8859         * installcheck/Installcheck/Config.pm: add_text()
8860         * installcheck/Amanda_Config.pl: test changes
8861         * installcheck/amgetconf.pl: test changes
8862         * man/xml-source/amanda-client.conf.5.xml: document
8863         * man/xml-source/amanda.conf.5.xml: document
8864
8865 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8866         * AUTHORS: update, add notes about contribution licensing
8867
8868 2009-07-06  Dustin J. Mitchell <dustin@zmanda.com>
8869         * changer-src/chg-glue.pl: unref the device, in hopes it will
8870           close the open file descriptor so that tape devices can be used
8871           from the process that invoked chg-glue
8872
8873 2009-07-03  Dustin J. Mitchell <dustin@zmanda.com>
8874         * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
8875
8876 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
8877         * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
8878
8879 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
8880         * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
8881           perl/Makefile.am: add Perl implementation of the traditional taperscan
8882           algorithm
8883         * installcheck/Amanda_Taper_Scan.pl
8884           installcheck/Amanda_Taper_Scan_traditional.pl
8885           installcheck/Makefile.am: test
8886         * perl/Amanda/Changer/disk.pm: test support tweak
8887         * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
8888           with a full description of the traditional algo
8889         * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
8890
8891 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
8892         * perl/Amanda/MainLoop.swg: add synchronized()
8893         * perl/Amanda/MainLoop.pod: document it
8894         * installcheck/Amanda_MainLoop.pl: test it
8895         * perl/Amanda/Changer/compat.pm: and use it
8896
8897 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
8898         * device-src/s3.c, installcheck/Amanda_Device.pl:
8899           Don't allow dots in bucket names, for compatability with
8900           libcurl built against NSS.
8901
8902 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
8903         * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
8904           Test using a certificate bundle with the S3 device
8905
8906 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
8907         * common-src/conffile.c: New ORDER keyword in script section.
8908         * common-src/conffile.h: New ORDER keyword in script section.
8909         * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
8910         * perl/Amanda/Config.swg: Bing ORDER keyword.
8911         * application-src/amlog-script.pl: Add --text parameter.
8912         * installcheck/pp-scripts.pl: Check execution order.
8913
8914 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
8915         * restore-src/amfetchdump.c, restore-src/amrestore.c,
8916           restore-src/restore.c: Add debugging.
8917
8918 2009-06-22  Jean-Louis Martineau <martineau@zmanda.com>
8919         * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
8920
8921 2009-06-19 Dan Locks <dwlocks@zmanda.com>
8922         * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
8923           changes to packages.
8924
8925 2009-06-19 Dan Locks <dwlocks@zmanda.com>
8926         * packaging/deb/server/control, packaging/deb/client/control: update
8927           depends to list libcurl3 or 4.
8928
8929 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
8930         * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
8931           explicit about maintaining tape order with a stable sort
8932         * perl/Amanda/Tapelist.pod: document it
8933         * man/xml-source/tapelist.5.xml: manpages too
8934         * installcheck/Amanda_Tapelist.pl: test it
8935         * installcheck/Makefile.am: sort alphabetically
8936
8937 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
8938         * perl/Amanda/Util.swg: expose get_fs_usage in perl
8939         * installcheck/Amanda_Util.pl: test it
8940         * perl/Amanda/Util.pod: document it
8941
8942 2009-06-19  Jean-Louis Martineau <martineau@zmanda.com>
8943         * server-src/reporter.c: Use the filenum from the PART line.
8944                                  Keep the filenum of the first part.
8945
8946 2009-06-19  Nikolas Coukouma <atrus@zmanda.com>
8947         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
8948           application-src/amlog-script.pl, application-src/ampgsql.pl,
8949           application-src/amsamba.pl, application-src/amsuntar.pl,
8950           application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
8951           application-src/script-email.pl, changer-src/chg-glue.pl,
8952           common-src/amaespipe.sh, common-src/amcryptsimple.pl,
8953           common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
8954           common-src/event-test.c, common-src/glib-util.c,
8955           common-src/glib-util.h, common-src/queueing-test.c,
8956           common-src/queueing.c, common-src/queueing.h,
8957           common-src/quoting-test.c, common-src/semaphore-test.c,
8958           common-src/semaphore.c, common-src/semaphore.h,
8959           common-src/simpleprng.c, common-src/simpleprng.h,
8960           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
8961           common-src/testutils.c, common-src/testutils.h,
8962           config/automake/scripts.am, config/automake/vars.am,
8963           config/macro-archive/docbook-dtd.m4,
8964           config/macro-archive/docbook-xslt-min.m4,
8965           config/macro-archive/docbook-xslt.m4,
8966           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
8967           device-src/amtapetype.pl, device-src/device-queueing.c,
8968           device-src/device-queueing.h, device-src/device.c,
8969           device-src/device.h, device-src/null-device.c, device-src/property.c,
8970           device-src/property.h, device-src/rait-device.c,
8971           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
8972           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
8973           device-src/tape-device.c, device-src/tape-device.h,
8974           device-src/tape-ops.h, device-src/tape-posix.c,
8975           device-src/tape-uware.c, device-src/tape-xenix.c,
8976           device-src/vfs-device.c, device-src/vfs-test.c,
8977           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
8978           device-src/xfer-device.h, device-src/xfer-source-device.c,
8979           installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
8980           installcheck/Amanda_Changer_compat.pl,
8981           installcheck/Amanda_Changer_disk.pl,
8982           installcheck/Amanda_Changer_null.pl,
8983           installcheck/Amanda_Changer_rait.pl,
8984           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
8985           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
8986           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
8987           installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
8988           installcheck/Amanda_Holding.pl,
8989           installcheck/Amanda_IPC_LineProtocol.pl,
8990           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
8991           installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
8992           installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
8993           installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
8994           installcheck/Installcheck/Application.pm,
8995           installcheck/Installcheck/Changer.pm,
8996           installcheck/Installcheck/Config.pm,
8997           installcheck/Installcheck/Dumpcache.pm,
8998           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
8999           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
9000           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
9001           installcheck/amdump.pl, installcheck/amfetchdump.pl,
9002           installcheck/amgetconf.pl, installcheck/amgtar.pl,
9003           installcheck/ampgsql.pl, installcheck/amreport.pl,
9004           installcheck/amrmtape.pl, installcheck/amservice.pl,
9005           installcheck/amstatus.pl, installcheck/amtape.pl,
9006           installcheck/amtapetype.pl, installcheck/bigint.pl,
9007           installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
9008           installcheck/pp-scripts.pl, installcheck/taper.pl,
9009           perl/Amanda/Application.pod, perl/Amanda/Application.swg,
9010           perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
9011           perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
9012           perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
9013           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
9014           perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
9015           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
9016           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
9017           perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
9018           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
9019           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
9020           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
9021           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
9022           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
9023           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
9024           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
9025           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
9026           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
9027           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
9028           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
9029           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
9030           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
9031           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
9032           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
9033           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
9034           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
9035           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
9036           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
9037           server-src/amcheckdump.pl, server-src/amcleanup.pl,
9038           server-src/amrmtape.pl, server-src/amserverconfig.pl,
9039           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
9040           server-src/taper-disk-port-source.c,
9041           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
9042           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
9043           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
9044           server-src/taper-port-source.h, server-src/taper-source.c,
9045           server-src/taper-source.h, server-src/taperscan.c,
9046           server-src/taperscan.h, server-src/xfer-server.h,
9047           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
9048           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
9049           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
9050           xfer-src/source-pattern.c, xfer-src/source-random.c,
9051           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
9052           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
9053           xfer-src/xmsg.c, xfer-src/xmsg.h:
9054           update/correct copyright notice years
9055
9056 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
9057         * config/automake/scripts.am: support scripts with subdirs
9058
9059 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
9060         * installcheck/mock/mtx.pl: new "mock" mtx for testing
9061         * installcheck/mock_mtx.pl: test the test mtx
9062         * installcheck/Installcheck/Mock.pm: support for using mtx
9063         * installcheck/Installcheck/Run.pm: don't apply sbindir if there
9064           are any slashes in the app name
9065         * installcheck/Makefile.am: new files
9066
9067 2009-06-16  Jean-Louis Martineau <martineau@zmanda.com>
9068         * server-src/planner.c: Fix for bump from level 9 to 10.
9069
9070 2009-06-13  Dustin J. Mitchell <dustin@zmanda.com>
9071         * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
9072           calls to chg-compat's info() (tests the fix committed 2009-06-01)
9073
9074 2009-06-12  Dustin J. Mitchell <dustin@zmanda.com>
9075         * config/amanda/flags.m4: fix --enable-werror macro
9076
9077 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
9078         * server-src/planner.c: Print how tape_length is computed.
9079
9080 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
9081         * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
9082         * man/xml-source/amanda-client.conf.5.xml: Typo.
9083         * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
9084
9085 2009-06-11  Nikolas Coukouma <atrus@zmanda.com>
9086         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
9087           common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
9088           common-src/queueing.h, common-src/semaphore-test.c,
9089           common-src/semaphore.c, common-src/semaphore.h,
9090           config/automake/scripts.am, config/automake/vars.am,
9091           device-src/device-queueing.c, device-src/device-queueing.h,
9092           device-src/device.c, device-src/device.h, device-src/null-device.c,
9093           device-src/property.c, device-src/property.h,
9094           device-src/rait-device.c, device-src/s3-device.c,
9095           device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
9096           device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
9097           device-src/tape-device.h, device-src/tape-ops.h,
9098           device-src/tape-posix.c, device-src/tape-uware.c,
9099           device-src/tape-xenix.c, device-src/vfs-device.c,
9100           device-src/vfs-test.c, device-src/xfer-dest-device.c,
9101           device-src/xfer-dest-taper.c, device-src/xfer-device.h,
9102           device-src/xfer-source-device.c, perl/Amanda/Application.pod,
9103           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
9104           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
9105           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
9106           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
9107           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
9108           perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
9109           perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
9110           perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
9111           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
9112           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
9113           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
9114           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
9115           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
9116           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
9117           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
9118           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
9119           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
9120           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
9121           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
9122           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
9123           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
9124           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
9125           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
9126           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
9127           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
9128           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
9129           perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
9130           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
9131           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
9132           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
9133           server-src/taper-port-source.h, server-src/taper-source.c,
9134           server-src/taper-source.h, server-src/xfer-server.h,
9135           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
9136           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
9137           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
9138           xfer-src/source-pattern.c, xfer-src/source-random.c,
9139           xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
9140           xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
9141           relincense LGPL files under the GPL
9142
9143 2009-06-10  Paul C. Mantz <pcmantz@zmanda.com>
9144         * perl/Amanda/Application.pod: moved from .swg file
9145         * perl/Amanda/Application.swg: removed pod documentation
9146         * perl/Amanda/Archive.pod: moved from .swg file
9147         * perl/Amanda/Archive.swg: removed pod documentation
9148         * perl/Amanda/Cmdline.pod: moved from .swg file
9149         * perl/Amanda/Cmdline.swg: removed pod documentation
9150         * perl/Amanda/Config.pod: moved from .swg file
9151         * perl/Amanda/Config.swg: removed pod documentation
9152         * perl/Amanda/Debug.pod: moved from .swg file
9153         * perl/Amanda/Debug.swg: removed pod documentation
9154         * perl/Amanda/Device.pod: moved from .swg file
9155         * perl/Amanda/Device.swg: removed pod documentation
9156         * perl/Amanda/Disklist.pod: moved from .swg file
9157         * perl/Amanda/Disklist.swg: removed pod documentation
9158         * perl/Amanda/Header.pod: moved from .swg file
9159         * perl/Amanda/Header.swg: removed pod documentation
9160         * perl/Amanda/Logfile.pod: moved from .swg file
9161         * perl/Amanda/Logfile.swg: removed pod documentation
9162         * perl/Amanda/MainLoop.pod: moved from .swg file
9163         * perl/Amanda/MainLoop.swg: removed pod documentation
9164         * perl/Amanda/Tapelist.pod: moved from .swg file
9165         * perl/Amanda/Tapelist.swg: removed pod documentation
9166         * perl/Amanda/Tests.pod: moved from .swg file
9167         * perl/Amanda/Tests.swg: removed pod documentation
9168         * perl/Amanda/Util.pod: moved from .swg file
9169         * perl/Amanda/Util.swg: removed pod documentation
9170         * perl/Amanda/Xfer.pod: moved from .swg file
9171         * perl/Amanda/Xfer.swg: removed pod documentation
9172         * perl/Amanda/XferServer.pod: moved from .swg file
9173         * perl/Amanda/XferServer.swg: removed pod documentation
9174         * perl/Makefile.am: added pod files to tar dist
9175
9176 2009-06-05  Nikolas Coukouma <atrus@zmanda.com>
9177         * installcheck/Amanda_Device.pl: test device named just "s3:"
9178
9179 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
9180         * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
9181           Olsen <herolsen@alumni.upenn.edu>
9182
9183 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
9184         * config/amanda/dumpers.m4: fix quoting for shell portability
9185
9186 2009-06-02  Nikolas Coukouma <atrus@zmanda.com>
9187         * device-src/s3.c: retry S3 uploads on DNS failure
9188
9189 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
9190         * installcheck/Installcheck/Config.pm: add remove_param
9191         * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
9192
9193 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
9194         * perl/Amanda/Header.swg: add :constant tag
9195         * server-src/amvault.pl: use it
9196
9197 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
9198         * device-src/s3-device.c: start delete at file 1
9199
9200 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
9201         * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
9202
9203 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
9204         * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
9205           message before existing; fixes problems on OS X
9206
9207 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
9208         * server-src/amindexd.c: fix sscanf.
9209
9210 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
9211         * server-src/reporter.c: Print only the first 100 lines in FAiL and
9212                                  STRANGE detail section.
9213
9214 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
9215         * common-src/match.c: Match UNC name diskname.
9216         * man/xml-source/amanda.8.xml: Document UNC matcher.
9217
9218 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
9219         * client-src/client_util.c: Improve error reporting.
9220         * client-src/sendsize.c: Typo
9221         * client-src/selfcheck.c: Execute application with --calcsize even if
9222                                   it not the first estimate.
9223         * application-src/amgtar.c: Check calcsize binary.
9224         * application-src/amstar.c: Check calcsize binary.
9225         * server-src/planner.c: log sendsize error as warning if a server
9226                                 estimate is available.
9227
9228 2009-05-26  Jean-Louis Martineau <martineau@zmanda.com>
9229         * application-src/amgtar.c: Set MAX_LEVEL to 399.
9230         * common-src/amanda.h: Set DUMP_LEVELS to 400.
9231         * client-src/amandates.h: Remove DUMP_LEVELS.
9232         * server-src/infofile.h: Remove DUMP_LEVELS
9233         * server-src/amtrmidx.c: Fix for level with more than one digit.
9234         * server-src/amindexd.c, server-src/find.c
9235           server-src/reporter.c: Use DUMP_LEVELS.
9236
9237 2009-05-25  Dustin J. Mitchell <dustin@zmanda.com>
9238         * device-src/xfer-dest-taper.c: make the pointers, not the objects,
9239           volatile
9240
9241 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
9242         * common-src/fileheader.c: use %zu for a size_t argument.
9243
9244 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
9245         * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
9246         * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
9247         * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
9248
9249 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
9250         * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
9251         * perl/Amanda/Util.swg: add split_quoted_strings
9252         * common-src/util.c: handle NULL string correctly
9253         * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
9254           installcheck/Makefile.am: tests for all
9255
9256 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
9257         * installcheck/amservice.pl: call $testconfig->write();
9258
9259 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
9260         * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
9261           size heuristic; handle the case where extra slabs are still in memory
9262           when rewinding a disk-cached part; add 'volatile' and make memory
9263           access safer; use a cache directory, not file
9264         * device-src/xfer-device.h: use a cache directory, not file
9265         * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
9266         * perl/Amanda/Xfer.swg: use cache directory
9267         * perl/Amanda/XferServer.swg: use cache directory
9268
9269 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
9270         * common-src/fileheader.c: use %zd for a size_t argument
9271
9272 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
9273         * common-src/fileheader.c: don't automatically call dump_fileheader_t
9274           in build_header
9275         * server-src/dumper.c server-src/holding.c server-src/taper.c
9276           server-src/chunker.c: add debug messages as necessary
9277
9278 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
9279         * device-src/amdevcheck.pl: move from server-src/
9280         * device-src/Makefile.am server-src/Makefile.am: move script
9281
9282 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
9283         * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
9284         * installcheck/Amanda_Changer_compat.pl: test it
9285
9286 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
9287         * amandad-src/Makefile.am application-src/Makefile.am
9288           oldrecover-src/Makefile.am recover-src/Makefile.am
9289           restore-src/Makefile.am: remove LIB_EXTENSION
9290         * config/amanda/defaults.m4 config/amanda/devprefix.m4
9291           config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
9292           config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
9293           config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
9294           config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
9295           AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
9296           compilers!)
9297
9298 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
9299         * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
9300
9301 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
9302         * client-src/sendbackup.c: Compatibity with 2.4.2 server.
9303
9304 2009-05-22  Dustin J. Mitchell <dustin@zmanda.com>
9305         * device-src/vfs-device.c: close the tapelabel file after reading it
9306
9307 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
9308         * server-src/planner.c: Fix for 'estimate calcsize server' with older
9309                                 client.
9310
9311 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
9312         * common-src/queueing.c: set queue_fd->errmsg.
9313         * restore-src/restore.c: report queue_fd.errmsg
9314         * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
9315           Check validation status before reporting status.
9316
9317
9318 2009-05-21  Dustin J. Mitchell <dustin@zmanda.com>
9319         * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
9320
9321 2009-05-20  Jean-Louis Martineau <martineau@zmanda.com>
9322         * restore-src/restore.c: Report error.
9323
9324 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
9325         * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
9326           is true; same for tapedev
9327
9328 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
9329         * server-src/changer.c: revert a change (from 2009-02-20) which caused
9330           taperscan to not do a sequential scan if stage one fails
9331
9332 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
9333         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
9334           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
9335           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
9336           add a fast_search info key
9337         * installcheck/Amanda_Changer_compat.pl
9338           installcheck/Amanda_Changer_disk.pl
9339           installcheck/Amanda_Changer_null.pl
9340           installcheck/Amanda_Changer_rait.pl
9341           installcheck/Amanda_Changer_single.pl: test it
9342         * changer-src/chg-glue.pl: and use it to reflect searchability to old
9343           changer API users
9344
9345 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
9346         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
9347           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
9348           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
9349           changers return full devices, not just device names, and
9350           configure those devices based on device_property parameters
9351           specified in 'changer' configuration sections
9352         * changer-src/chg-glue.pl: return the device_name from the device
9353           (thereby losing the config info)
9354         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
9355           add changer properties and device_properties
9356         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
9357           installcheck/Amanda_Changer_disk.pl
9358           installcheck/Amanda_Changer_null.pl
9359           installcheck/Amanda_Changer_rait.pl
9360           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
9361           installcheck/amrmtape.pl: test changer changes
9362         * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
9363           device manually
9364
9365 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
9366         * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
9367         * installcheck/Amanda_MainLoop.pl: ..so don't test it
9368
9369 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
9370         * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
9371           in many cases
9372
9373 2009-05-19  Jean-Louis Martineau <martineau@zmanda.com>
9374         * common-src/conffile.c: Add reapply_config_overwrites.
9375         * common-src/conffile.h: Add prototype of reapply_config_overwrites.
9376         * perl/Amanda/Config.swg: Add reapply_config_overwrites.
9377         * recover-src/amrecover.c: Call reapply_config_overwrites.
9378
9379 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
9380         * perl/Amanda/MainLoop.swg: new high-level call_after,
9381           call_on_child_termination, async_read, async_write; POD for new functions; and
9382           description of good async style
9383         * installcheck/Amanda_MainLoop.pl: test new functions
9384         * perl/amglue/filehandles.swg: use SvIOK
9385
9386 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
9387         * perl/Makefile.am: add -Werror on gcc
9388
9389 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
9390         * server-src/driver.c: Fix crash in amflush.
9391
9392 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
9393         * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
9394           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
9395           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
9396           perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
9397           perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
9398
9399 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
9400         * installcheck/Installcheck.pm:always create $Installcheck::TMP;
9401           package returns 1
9402         * installcheck/Installcheck/Run.pm: export run_expect
9403         * installcheck/amarchiver.pl: quote a path
9404
9405 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
9406         * perl/Amanda/Changer/compat.pm: qualify one last debug message
9407
9408 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
9409         * perl/Amanda/XferServer.swg: include xfer-server.h
9410
9411 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
9412         * common-src/debug.c common-src/debug.h: refactor set_logerr
9413           and erroutput_type into a more flexible amanda_log_handler system
9414         * server-src/logfile.c server-src/logfile.h: provide
9415           amanda_log_trace_log
9416         * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
9417         * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
9418         * amandad-src/amandad.c application-src/amgtar.c
9419           application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
9420           client-src/sendbackup.c client-src/sendsize.c
9421           restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
9422           server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
9423           server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
9424           server-src/chunker.c server-src/driver.c server-src/dumper.c
9425           server-src/planner.c server-src/reporter.c server-src/taper.c: use new
9426           system
9427
9428 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
9429         * common-src/debug.c: Fix memory leak.
9430
9431 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
9432         * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
9433           refactoring
9434         * installcheck/Amanda_Changer_rait.pl: update tests to expect it
9435
9436 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
9437         * perl/Amanda/Device.swg: parse string values for properties
9438         * installcheck/Amanda_Device.pl: test
9439
9440 2009-05-12  Jean-Louis Martineau <martineau@zmanda.com>
9441         * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
9442
9443 2009-05-08  Dustin J. Mitchell <dustin@zmanda.com>
9444         * perl/Amanda/Logfile.swg: add log_add
9445         * installcheck/Amanda_Logfile.pl: test it
9446
9447 2009-05-08  Jean-Louis Martineau <martineau@zmanda.com>
9448         * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
9449
9450 2009-05-07  Chris Hoogendyk <hoogendyk@bio.umass.edu>
9451         * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
9452           "service"
9453
9454 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
9455         * server-src/changer.c: remove unused variable
9456
9457 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
9458             Jean-Louis Martineau <martineau@zmanda.com>
9459         * common-src/debug.c: do not use a mutex in debug_printf
9460         * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
9461           do not call debug_printf after fork()
9462
9463 2009-05-06  Dustin J. Mitchell <dustin@zmanda.com>
9464         * server-src/taper.c: check for division by zero and don't print 'nan'
9465           for kbps
9466         * installcheck/taper.pl: don't expect 'nan'
9467
9468 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
9469         * server-src/amrmtape.pl: try loading disklist before erasing,
9470           before amadmin tries (and possibly fails)
9471
9472 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
9473         * man/xml-source/amdevcheck.8.xml: Document exit code.
9474         * server-src/amdevcheck.pl: change exit code.
9475
9476 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
9477         * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
9478           taper
9479         * installcheck/Installcheck/Config.pm: cleanup
9480         * installcheck/Installcheck/Run.pm: cleanup
9481
9482 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
9483         * server-src/taper-mem-port-source.c
9484           server-src/taper-disk-port-source.c: continue reading from the port
9485           after the cache is exhausted, instead of terminating the part abruptly
9486           (which can lead to insertion of spurious zeros into the dumpfile);
9487           also remove some unnecessary assertions (g_return_val_if_fail)
9488         * server-src/taper-file-source.c: use correct unit on part size;
9489           correctly calculate estimated number of parts
9490         * server-src/taper-port-source.c: replace assertion with 'if'
9491
9492 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
9493         * server-src/amdevcheck.pl: Add '--label' option.
9494         * man/xml-source/amdevcheck.8.xml: Document '--label' option.
9495
9496 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
9497         * application-src/ampgsql.pl: accept gnutar-path option;
9498           use absolute path when calling unlink()
9499
9500 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
9501         * server-src/taper.c: do not include a partial part in the size
9502           calculation
9503
9504 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9505         * server-src/driver.c: Fix deadlock.
9506
9507 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9508         * application-src/amgtar.c, application-src/amstar.c: Validate if
9509           binary not available.
9510
9511 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9512         * application-src/amstar.c: Compile pattern once.
9513                                     Remove a superfluous '\n'.
9514
9515 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9516         * application-src/amstar.c: Handle hard link.
9517
9518 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
9519         * server-src/changer.c: s/execve/execv
9520
9521 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
9522         * server-src/changer.c: Pass command override to chg-glue.
9523         * changer-src/chg-glue.pl: Parse command override.
9524
9525 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9526         * server-src/amadmin.c: Fix error reporting in find subcommand.
9527
9528 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9529         * recover-src/amrecover.h: Change prototype.
9530         * recover-src/extract_list.c: merge_path, abort if cd_* failed.
9531         * recover-src/set_commands.c: Many functions return 0 or 1.
9532
9533 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9534         * application-src/amsuntar.pl: Fix redirection in validate command.
9535
9536 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9537         * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
9538           man/xml-source/amflush.8.xml,
9539           man/xml-source/amrestore.8.xml: Fix order of -o argument.
9540         * restore-src/amfetchdump.c, restore-src/amrestore.c,
9541           server-src/amcheck.c,
9542           server-src/amflush.c: Fix order of -o argument in usage function.
9543
9544 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9545         * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
9546                                        expression section.
9547
9548 2009-04-28  Nikolas Coukouma <atrus@zmanda.com>
9549         * application-src/ampgsql.pl: remove checks for PG-DATADIR
9550
9551 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
9552         * application-src/ampgsql.pl: lowercase property names when accessing them
9553
9554 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
9555         * application-src/ampgsql.pl: fix debug printing of property names,
9556           add parent directory checks to selfcheck command,
9557           check psql binary path, fix whitespace
9558         * perl/Amanda/Application.swg: update usage docs
9559         * installcheck/Installcheck/Application.pm: fix formatting tags
9560           remove 'level' argument from selfcheck command
9561         * installcheck/ampgsql.pl: test selfcheck command a bit
9562
9563 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
9564         * server-src/amcheck.c: Remove "Usage of fully qualified hostname
9565           recommended for Client" warning.
9566
9567 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
9568         * application-src/amsamba.pl: Use device if specified.
9569
9570 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
9571         * client-src/sendbackup.c: Fix dbprintf statements.
9572
9573 2009-04-24  Jean-Louis Martineau <martineau@zmanda.com>
9574         * application-src/amsuntar.pl: Add LANG property.
9575         * man/xml-source/amsuntar.8.xml: Document LANG property.
9576
9577 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
9578         * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
9579           add strange regex for UTF-8, estimate fail only if an output match
9580           an error regex or if an output match nothing.
9581
9582 2009-04-23  Dustin J. Mitchell <dustin@zmanda.com>
9583         * server-src/amcheckdump.pl: request tapes manually when using
9584           Amanda::Changer::single
9585
9586 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
9587         * application-src/amsuntar.pl: Fix validate command.
9588
9589 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
9590         * server-src/amcheckdump.pl: Wait for an input before reading tape.
9591
9592 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
9593         * application-src/amsamba.pl: Parse username ending with '%'.
9594
9595 2009-04-22  Sam Couter <sam@couter.id.au>
9596         * changer-src/chg-glue.pl: return a helpful error message when
9597           Amanda::Changer->new() fails
9598
9599 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
9600         * server-src/amstatus.pl: Print percentage done when writing to tape.
9601
9602 2009-04-21  Dustin J. Mitchell <dustin@zmanda.com>
9603         * server-src/Makefile.am server-src/xfer-server.h
9604           server-src/xfer-source-holding.c: new module reading from holding
9605           files
9606         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
9607           perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
9608           Amanda::Xfer::Source::Holding
9609         * device-src/xfer-dest-taper.c: make class macros public; ignore
9610           cache_inform when part_size == 0
9611         * device-src/xfer-device.h: xfer-dest-taper class macros
9612         * xfer-src/amxfer.h: include element-glue.h
9613         * installcheck/Amanda_Xfer_serveronly.pl: updated tests
9614
9615 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
9616         * server-src/diskfile.c: Typo.
9617
9618 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
9619         * server-src/diskfile.c: Print ", quoting may not be correct".
9620
9621 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
9622         * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
9623           property to 'tape:' driver.
9624         * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
9625           property, set is_eof to FLASE where needed.
9626         * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
9627         * device-src/tape-aix.c, device-src/tape-uware.c,
9628           device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
9629           for FSF_AFTER_FILEMARK.
9630         * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
9631           property.
9632         * xfer-src/dest-null.c: Remove bogus assert.
9633         * device-src/amtapetype.pl: New -p option to discover driver properties,
9634           it can find value for the 'FSF_AFTER_FILEMARK' property.
9635         * man/xml-source/amtapetype.8.xml: Document -p options
9636
9637 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
9638         * client-src/sendsize.c: Typo
9639         * server-src/planner.c: Don't log failed estimate message.
9640
9641 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
9642         * device-src/tape-device.c: handle EROFS in open.
9643
9644 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
9645         * changer-src/chg-zd-mtx.sh: Improve error message.
9646
9647 2009-04-20  Dustin J. Mitchell <dustin@zmanda.com>
9648         * device-src/tape-device.c: improve error messages on reading/writing
9649
9650 2009-04-17  Nikolas Coukouma <atrus@zmanda.com>
9651         * device-src/device.c: fix error message for unparsable property
9652         * installcheck/Amanda_Device.pl: test error message
9653
9654 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
9655         * server-src/cmdline.c: host, disk and timestamp argument are not regex
9656
9657 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
9658         * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
9659
9660 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
9661         * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
9662                                        properties.
9663         * man/xml-source/amsuntar.8.xml: Document them.
9664
9665 2009-04-16  Dustin J. Mitchell <dustin@zmanda.com>
9666         * perl/Amanda/MainLoop.swg: get call_later order right, more useful
9667           sub names
9668         * installcheck/Amanda_MainLoop.pl: tests for same
9669
9670 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
9671         * server-src/amcheckdump.pl: Fix three typos.
9672
9673 2009-04-16  Nikolas Coukouma <atrus@zmanda.com>
9674         * server-src/amcheckdump.pl: Print per-image status messages,
9675           with detailed error info
9676
9677 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9678         * application-src/amsamba.pl: Fix parsing of username...
9679
9680 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9681         * server-src/amcheckdump.pl: Validate image if all part are available.
9682
9683 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9684         * client-src/sendsize.c: Don't report "can't estimate level" error.
9685
9686 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9687         * server-src/taperscan.c: Make find_brand_new_tape_label return an
9688           error message instead of printing it to stderr.  Make scan_read_label
9689           use the error message from find_brand_new_tape_label.
9690
9691 2009-04-15  Dustin J. Mitchell <dustin@zmanda.com>
9692         * restore-src/amfetchdump.c: keep the order of tapes within a
9693           particular run of Amanda
9694
9695 2009-04-15  Nikolas Coukouma <atrus@zmanda.com>
9696         * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
9697           and more pleasant to debug.
9698         * installcheck/Amanda_Changer.pl,
9699           installcheck/Amanda_Changer_compat.pl,
9700           installcheck/Amanda_Changer_disk.pl,
9701           installcheck/Amanda_Changer_null.pl,
9702           installcheck/Amanda_Changer_rait.pl,
9703           installcheck/Amanda_Changer_single.pl,
9704           perl/Amanda/Changer.pm,
9705           perl/Amanda/Changer/compat.pm,
9706           perl/Amanda/Changer/disk.pm,
9707           perl/Amanda/Changer/null.pm,
9708           perl/Amanda/Changer/rait.pm,
9709           perl/Amanda/Changer/single.pm,
9710           perl/Amanda/MainLoop.swg,
9711           server-src/amrmtape.pl,
9712           server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
9713
9714 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9715         * application-src/amsamba.pl: Default amandapass file is
9716                                       CONFIG_DIR/amandapass.
9717
9718 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9719         * common-src/conffile.c: Fix inheriting properties.
9720         * installcheck/Amanda_Config.pl: Test it.
9721
9722 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9723         * amandad-src/amandad.c: Improve error message.
9724
9725 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9726         * server-src/amstatus.pl: Remove spurious debug message.
9727
9728 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
9729             Satya Ganga <gsat@zmanda.com>
9730         * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
9731
9732 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
9733             Dustin J. Mitchell <dustin@zmanda.com>
9734         Bug found by Gene Heskett.
9735         * server-src/planner.c: Set dp before using it.
9736
9737 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
9738         * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
9739                                       Allow '\' in diskname and amandapass.
9740         * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
9741
9742 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
9743         * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
9744                                        Parse hard link in index.
9745         * server-src/amstatus.pl: Fix amstatus for partial chunker.
9746         * installcheck/amstatus.pl: Test it.
9747         * installcheck/Installcheck/Run.pm: export an $exit_code variable.
9748
9749 2009-04-10  Dustin J. Mitchell <dustin@zmanda.com>
9750         * common-src/conffile.c: fix handling of double-backslash in quoted
9751           strings
9752
9753 2009-04-09  Ray Tracer <RayTracer@irc.freenode.net>
9754         * application-src/amgtar.c: add missing 'break'
9755
9756 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
9757         * common-src/conffile.c: store properties in lower-case
9758         * perl/Amanda/Config.swg: document data formats for config values
9759         * installcheck/Amanda_Config.pl: test case-sensitivity
9760
9761 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
9762         * device-src/rait-device.c: add rait_device_new_from_children
9763         * device-src/device.h: prototype
9764         * perl/Amanda/Device.swg: wrap into perl
9765         * installcheck/Amanda_Device.pl: test
9766
9767 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
9768         * device-src/tape-device.c: fix typo to get device_name right
9769
9770 2009-04-08  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
9771         * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
9772
9773 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
9774         * common-src/fileheader.c: fix early return if PROGRAM not given
9775         * perl/Amanda/Disklist.swg: do not free the C disklist
9776         * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
9777           functionality similar to server-src/holding.[ch]
9778         * server-src/holding.h: clarify comments
9779         * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
9780           installcheck/Makefile.am: tests
9781
9782 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
9783         * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
9784
9785 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
9786         * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
9787
9788 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
9789         * device-src/xfer-dest-taper.c: new xfer element to handle splitting
9790           dumpfiles over multiple volumes, with retry of failed split parts
9791         * device-src/Makefile.am: new file
9792         * device-src/xfer-device.h: new prototype
9793         * installcheck/Amanda_Xfer_serveronly.pl: new tests
9794         * installcheck/Installcheck/Run.pm: increase default vtape size
9795         * perl/Amanda/Xfer.swg: POD for new element
9796         * perl/Amanda/XferDevice.swg: wrap new element
9797         * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
9798
9799 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
9800         * client-drc/sendbackup.c: Init result.
9801
9802 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
9803         * server-src/taper-source.c (default_taper_source_seek_to_part_start):
9804           returns FALSE on not splitted dump.
9805         * server-src/driverio.c: info.last_level should not be set on error
9806                          if level >= info.last_level.
9807         * server-src/driver.c: Rename update_failed_dump_to_tape to
9808           update_failed_dump.
9809           Call update_failed_dump on failed dump to holding disk.
9810         * application-src/amgtar.c: Don't update statefile if the backup failed.
9811         * client-drc/sendbackup.c: Don't update amandates if backup failed.
9812
9813 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
9814         * man/xml-source/amanda-changers.7.xml: Document changerfile for
9815                                                 chg-disk.
9816
9817 2009-04-03  Dustin J. Mitchell <dustin@zmanda.com>
9818         * perl/Amanda/Changer/compat.pm: always configure devices while
9819           scanning
9820         * server-src/amcheckdump.pl: configure devices returned from the
9821           changer
9822
9823 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9824         * application-src/amsamba.pl: Allow empty username.
9825         * man/xml-source/amsamba.8.xml: Document empty username and password.
9826
9827 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9828         * common-src/security-util.c: Fix isdigit use.
9829
9830 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9831         * common-src/conffile.c: New client_port option.
9832         * common-src/conffile.h: New client_port option.
9833         * man/xml-source/amanda-auth.7.xml,
9834           man/xml-source/amanda-client.conf.5.xml,
9835           man/xml-source/amanda.conf.5.xml: New client_port option.
9836         * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
9837         * common-src/bsd-security.c,
9838           common-src/bsdtcp-security.c,
9839           common-src/bsdudp-security.c: Use client_port option.
9840         * common-src/security-util.c: New find_port_for_service function.
9841         * common-src/security-util.h: Prototype for find_port_for_service.
9842         * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
9843         * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
9844         * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
9845         * server-src/amadmin.c (disklist_one): Print client_port.
9846         * server-src/amcheck.c: Fix remote_errors;
9847         * server-src/diskfile.h (disk_t): Add client_port.
9848         * server-src/diskfile.c: Set client_port.
9849         * server-src/driverio.c: Send client_port to dumper.
9850         * server-src/dumper.c: Parse client_port.
9851         * server-src/server_util.c: return client_port.
9852
9853 2009-04-03  Nikolas Coukouma <atrus@zmanda.com>
9854         * device-src/s3-device.c, installcheck/Amanda_Device.pl:
9855           don't require location-compatible name for ignored value
9856
9857 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9858         * application-src/amsamba.pl: Allow empty password.
9859         * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
9860         * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
9861
9862 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
9863         * server-src/amstatus.pl: prefix error message with "backup failed:"
9864           if a dump to holding disk failed.
9865
9866 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
9867         * server-src/amstatus.pl: Print a taper status.
9868         * server-src/taper.c: Quote TAPE-ERROR reply.
9869
9870 2009-04-02  Dustin J. Mitchell <dustin@zmanda.com>
9871         * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
9872
9873 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
9874         * application-src/amsamba.pl: Typo.
9875
9876 2009-04-01  Dustin J. Mitchell <dustin@zmanda.com>
9877         * device-src/s3-device.c: always send errors from setup_handle
9878
9879 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
9880         * device-src/s3-device.c: don't clobber errors from setup_handle
9881
9882 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
9883         * NEWS: Note change to Amazon S3, add ampgsql
9884
9885 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
9886         * server-src/amcheck.c: Set l on error path.
9887
9888 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
9889         * device-src/s3.c: don't send empty location constraint,
9890           allocate error messages, fix constraint check in case of wildcard
9891         * installcheck/Amanda_Device.pl: actually test location constraints
9892
9893 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
9894         * application-src/ampgsql.pl: add newline to end of index entry
9895
9896 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
9897         * application-src/amsamba.pl: Set $self->{mesgout} before calling
9898                                       method that use it.
9899
9900 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
9901         * application-src/Makefile.am: Remove amgtar_perl.
9902         * application-src/amgtar_perl.pl: Remove file.
9903
9904 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9905         * man/xml-source/amsamba.8.xml: Document amandapass file location.
9906
9907 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9908         * application-src/amsamba.pl: allow relative AMANDAPASS property.
9909         * man/xml-source/amsamba.8.xml: Document amandapass file location.
9910         * ReleaseNotes: amsamba
9911
9912 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9913         * server-src/amcheck.c: exit(1) if match_disklist() return an error.
9914         * server-src/planner.c: Better logging if match_disklist() return an
9915                                 error.
9916
9917 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9918         * server-src/planner.c: Use new one_est_t,
9919                                 print warning for server guessed estimate.
9920
9921 2009-03-29 Dan Locks <dwlocks@zmanda.com>
9922         * packaging/rpm/amanda.spec: change a number of %if conditionals to
9923           macros which expand if they are defined.
9924
9925 2009-03-29  Nikolas Coukouma <atrus@zmanda.com>
9926         * man/xml-source/amanda-devices.7.xml: add more notes
9927
9928 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
9929         * device-src/s3.c, installcheck/Amanda_Device.pl:
9930           ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
9931           pass others as-is
9932
9933 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
9934         * installcheck/Amanda_Util.pl: fix warning
9935         * perl/Amanda/Util.swg: fix typos
9936
9937 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
9938         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
9939           use a different dummy entry
9940
9941 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
9942         * recover-src/extract_list.c: Add --level argument to application.
9943
9944 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
9945         * application-src/amsuntar.pl: Check for 'symbolic link' in index.
9946
9947 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
9948         * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
9949
9950 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
9951         * installcheck/Amanda_Device.pl: fix test counts
9952         * installcheck/Amanda_Util.pl: fix shadow variable warning
9953
9954 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
9955         * device-src/s3.c: ignore empty s3_user_token
9956         * installcheck/Amanda_Device.pl: test empty s3_user_token
9957
9958 2009-03-26  Dustin J. Mitchell <dustin@zmanda.com>
9959         * man/xml-source/amanda.conf.5.xml: document new estimate changes made
9960           2009-02-04
9961
9962 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
9963         * server-src/planner.c: Remove logging of guessed estimate.
9964
9965 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
9966         * client-src/sendsize.c: Typo.
9967
9968 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
9969         * application-src/ampgsql.pl: Add command_validate.
9970         * application-src/amgtar_perl.pl, application-src/amsamba.pl,
9971           application-src/amsuntar.pl: Sanity check for command_validate.
9972         * perl/Amanda/Application.swg: Add a default_validate function.
9973         * perl/Amanda/Script_App.pm: Execute defulat_validate if
9974                                      command_validate is not defined.
9975
9976 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9977         * perl/Amanda/Changer.pm: add a 'cmp' operator for
9978           Amanda::Changer::Error objects, to make testing easier
9979
9980 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9981         * perl/Amanda/Changer.pm: add Amanda::Changer::Error
9982           class to give more detail in changer errors
9983         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
9984           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
9985           perl/Amanda/Changer/single.pm: use it
9986         * changer-src/chg-glue.pl: handle new errors
9987         * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
9988           (chg_err_like) utility function
9989         * installcheck/Amanda_Changer.pl
9990           installcheck/Amanda_Changer_compat.pl
9991           installcheck/Amanda_Changer_disk.pl
9992           installcheck/Amanda_Changer_null.pl
9993           installcheck/Amanda_Changer_rait.pl
9994           installcheck/Amanda_Changer_single.pl: change tests
9995
9996 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9997         * perl/Amanda/Changer.pm: remove unused import() and export()
9998
9999 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
10000         * device-src/s3.c: fix segfault in s3_make_bucket with location
10001           constraint
10002
10003 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
10004         * perl/Amanda/Util.swg: add full_read and full_write
10005         * installcheck/Amanda_Util.pl: test 'em
10006
10007 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10008         * application-src/amsuntar.pl: Generate valid index stream.
10009
10010 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
10011         * man/xml-source/amanda-applications.7.xml,
10012           man/xml-source/amanda.8.xml: add missing references to applications
10013
10014 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
10015         * application-src/ampgsql.pl: older versions of perl don't like
10016           mixing functions and export tags
10017
10018 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
10019         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
10020           generate more-complete index, improve debugging and error handling
10021
10022 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
10023         * common-src/conffile.c: Fix line counting, Remove check for plugin.
10024         * server-src/diskfile.c: Add check for plugin.
10025
10026 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
10027         * server-src/planner.c: Default server estimate not larger than half
10028                                 a tape. log a warning.
10029
10030 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
10031         * application-src/amsamba.pl: Fix typo and check if smbclient is set.
10032
10033 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
10034         * application-src/amgtar.c, application-src/amstar.c:
10035           Do sanity check if required arguments are not provided.
10036
10037 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
10038         * AUTHORS: remove "active" status if not committed in over 2 years
10039         * ChangeLog: clean up some messiness
10040         * contrib/changelog_parse.pl: simple parser for ChangeLog
10041
10042 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
10043         * application-src/amgtar.c: Add NO-UNQUOTE to restore.
10044
10045 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
10046         * application-src/amgtar.c, application-src/amgtar_perl.pl,
10047           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
10048           recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
10049         * application-src/amgtar.c: add NO-UNQUOTE property.
10050         * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
10051
10052 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
10053         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
10054           fix ampgsql installchecks
10055
10056 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
10057         * application-src/amgtar.c, application-src/amgtar_perl.pl,
10058           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
10059           recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
10060
10061 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
10062         * application-src/amgtar.c, application-src/amstar.c,
10063           client-src/client_util.c, client-src/client_util.h,
10064           client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
10065           client-src/sendbackup.c, client-src/sendsize.c,
10066           common-src/conffile.c, common-src/conffile.h,
10067           common-src/util.c, oldrecover-src/extract_list.c,
10068           recover-src/extract_list.c,
10069           server-src/server_util.c: Use GPtrArray instead of my_argv[].
10070
10071 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
10072         * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
10073           Document the fact that: The { must appear at the end of a line,
10074                                   and the } on its own line.
10075
10076 2009-03-21  Jean-Louis Martineau <martineau@zmanda.com>
10077         * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
10078
10079 2009-03-20  Jean-Louis Martineau <martineau@zmanda.com>
10080         * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
10081         * recover-src/amrecover.h: Add verbose to many prototype.
10082         * recover-src/extract_list.c: Allow to use path for many command.
10083         * recover-src/set_commands.c: Add verbose to many function.
10084         * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
10085
10086 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
10087         (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
10088         * common-src/Makefile.am: don't include genversion.h in distribution
10089           tarballs
10090
10091 2009-03-19  Jean-Louis Martineau <martineau@zmanda.com>
10092         * man/Makefile.am: Add .SECONDARY target.
10093
10094 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
10095         * man/xslt/expand-sambadoc.xsl:
10096         * man/entities/global.entities.in
10097           man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
10098           for 'SEE ALSO' sections
10099         * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
10100           symbol; tweak tapecycle description
10101
10102 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
10103         * xfer-src/Makefile.am: add -release to libamxfer
10104
10105 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
10106         * server-src/amrmtape.pl, installcheck/amrmtape.pl:
10107           re-label tapes if we --erase them and --keep-label is present
10108
10109 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
10110         * installcheck/Amanda_Process.pl: Fix for OS return perl.
10111
10112 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
10113         * perl/Amanda/Process.pm: Better match of argument.
10114                                   Match 'perl' to any process name.
10115
10116 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
10117         * installcheck/Amanda_Process.pl: Check second argument if first
10118                                           argument start with a dash.
10119         * perl/Amanda/Process.pm: The process name is now returned, not perl.
10120
10121 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
10122         * man/xml-source/amrmtape.8.xml: Fix.
10123         * perl/Amanda/Process.pm: Find the process name if it is a perl script.
10124         * server-src/amrmtape.pl: Check and create the "log" file if --erase.
10125
10126 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
10127         * application-src/ampgsql.pl: fix numerous bugs, improve debug info
10128
10129 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
10130         * application-src/amgtar.c: fix typo causing check-device to be
10131           interpreted incorrectly
10132
10133 2009-03-17  Dustin J. Mitchell <dustin@zmanda.com>
10134         * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
10135           implementation of the info() method
10136         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
10137           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
10138           perl/Amanda/Changer/single.pm: use them
10139         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
10140           test the results
10141
10142 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
10143         * server-src/amlabel.c: give correct exit status on failure
10144
10145 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
10146         * server-src/amstatus.pl: dump in "writing to tape" mode should also
10147                                   be included in the "dumped" summary.
10148
10149 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
10150         * server-src/find.c: Fix listing of partial dump in holding disk.
10151
10152 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10153         * installcheck/amreport.pl: New file.
10154
10155 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10156         * common-src/columnar.c: New defaults, allow precision to be set.
10157         * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
10158         * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
10159         * installcheck/Makefile.am: add amreport.
10160         * installcheck/amreport.pl: Check different value of columnspec.
10161         * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
10162
10163 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10164         * server-src/planner.c: Log quoted qname.
10165
10166 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
10167         * device-src/amtapetype.pl: do not produce broken 'bytes' units
10168         * installcheck/amtapetype.pl: test changes
10169         * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
10170         * common-src/conffile.c: fix default for tapetype:length
10171
10172 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
10173         * common-src/amfeatures.c: improve error handling in
10174           am_string_to_feature, return NULL on error
10175         * amandad-src/amandad_util.c recover-src/amrecover.c
10176           server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
10177           server-src/driver.c server-src/dumper.c server-src/planner.c: always
10178           terminate the string passed to am_string_to_feature
10179
10180 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
10181         * server-src/taper.c: return DONE if input file is partial.
10182
10183 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
10184         * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
10185           value for boolean properties.
10186
10187 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
10188         * server-src/amstatus.pl: Print "failed: process terminated while" for
10189                                   dead run. Change "wait for" for "waiting for".
10190
10191 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
10192         * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
10193         * man/xml-source/amstar.8.xml: Document it.
10194
10195 2009-03-10  Dustin J. Mitchell <dustin@zmanda.com>
10196         * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
10197
10198 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
10199         * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
10200
10201 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
10202         * application-src/ampgsql.pl:
10203           set environment variables when running psql (from selfcheck)
10204
10205 2009-03-07  Nikolas Coukouma <atrus@zmanda.com>
10206         * application-src/ampgsql.pl: add selfcheck to ampgsql
10207
10208 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
10209         * perl/Amanda/Changer/rait.pm: replace die() with a proper error
10210           return
10211
10212 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
10213         * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
10214           config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
10215           configure.in: upgrade to libtool-2.2.4
10216
10217 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
10218         * restore-src/restore.c: remove incorrect assertion
10219
10220 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
10221         * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
10222           on a bad feature string
10223
10224 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
10225         * Makefile.am: always build xfer-src, on client or server
10226         * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
10227           device-src/xfer-device.h device-src/xfer-dest-device.c
10228           device-src/xfer-source-device.c: move device-specific xfer elts to
10229           device-src
10230         * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
10231           generic glue
10232         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
10233           only import server-specific symbols if they are available
10234         * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
10235           installcheck/Amanda_Xfer_serveronly.pl: split into general and
10236           server-specific checks
10237
10238 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
10239         * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
10240           options so we don't print "mkdir ..." lines into our backup data
10241
10242 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>
10243         * installcheck/Amanda_Device.pl: only perform property tests when we
10244           have a working S3 device; and get test counts right
10245
10246 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
10247         * man/xml-source/amanda.conf.5.xml,
10248           man/xml-source/amanda-devices.7.xml,
10249           installcheck/Amanda_Config.pl,
10250           installcheck/Amanda_Device.pl,
10251           common-src/util.c,
10252           common-src/glib-util.c,
10253           common-src/conffile.c,
10254           common-src/conffile.h:
10255           be consistent in the various names for 'true' and 'false' we allow,
10256           specifically in device properties
10257
10258 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
10259         * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
10260           while backing up data dir
10261
10262 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
10263         * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
10264           make ampgsql use runtar (so it can access PostgreSQL's files)
10265
10266 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
10267         * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
10268         * installcheck/Amanda_Changer_rait.pl: test it
10269         * man/xml-source/amanda-changers.7.xml: document it
10270
10271 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
10272         * device-src/rait-device.c: fix failure when parity (last) child
10273           has failed
10274         * installcheck/Amanda_Device.pl: test the fix
10275
10276 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
10277         * changer-src/chg-glue.pl: add debugging
10278         * perl/Amanda/Changer/compat.pm: add debugging
10279
10280 2009-03-03  Nikolas Coukouma <atrus@zmanda.com>
10281         * application-src/ampgsql.pl: don't hang if .backup file never appears
10282
10283 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
10284         * example/amanda-client-postgresql.conf.in:
10285           update example and make it more complete
10286
10287 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
10288         * application-src/ampgsql.pl,
10289           man/xml-source/ampgsql.8.xml: cleanup old WAL files
10290
10291 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
10292         * installcheck/amrmtape.pl,
10293           server-src/amrmtape.pl: zero datestamp with --keep-label
10294
10295 2009-03-01  Nikolas Coukouma <atrus@zmanda.com>
10296         * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
10297
10298 2009-02-27  Jean-Louis Martineau <martineau@zmanda.com>
10299         * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
10300
10301 2009-02-27  Dustin J. Mitchell <dustin@zmanda.com>
10302         * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
10303
10304 2009-02-26  Dustin J. Mitchell <dustin@zmanda.com>
10305         * restore-src/restore.c: if the changer does not provide a device,
10306           use the configured tapedev
10307
10308 2009-02-26  Dan Locks <dwlocks@zmanda.com>
10309         * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
10310           rpm builds will be broken for a bit longer in trunk
10311
10312 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
10313         * application-src/amgtar_perl.pl,
10314           application-src/amlog-script.pl,
10315           application-src/ampgsql.pl,
10316           application-src/amsamba.pl,
10317           application-src/amsuntar.pl,
10318           application-src/amzfs-sendrecv.pl,
10319           application-src/amzfs-snapshot.pl,
10320           application-src/script-email.pl,
10321           perl/Amanda/Application.swg,
10322           perl/Amanda/Script.pm,
10323           perl/Amanda/Script_App.pm:
10324           load config-name/amanda-client.conf as well as amanda-client.conf
10325
10326 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
10327         * application-src/ampgsql.pl,
10328           installcheck/amgtar.pl,
10329           installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
10330
10331 2009-02-25  Nikolas Coukouma <atrus@zmanda.com>
10332         * application-src/amoracle.pl,
10333           application-src/ampgsql.pl,
10334           example/amanda-client-oracle.conf.in,
10335           example/amanda-client-postgresql.conf.in,
10336           installcheck/ampgsql.pl,
10337           man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
10338           in line with conventions
10339
10340 2009-02-24  Jean-Louis Martineau <martineau@zmanda.com>
10341         * amandad-src/amandad.c, application-src/amgtar.c,
10342           changer-src/scsi-changer-driver.c, client-src/client_util.c,
10343           common-src/conffile.c, device-src/s3-device.c,
10344           oldrecover-src/set_commands.c, recover-src/set_commands.c,
10345           server-src/amindexd.c, server-src/planner.c,
10346           server-src/reporter.c: Replace all occurences of index by strchr,
10347                                  Replace all occurences of rindex by strrchr.
10348
10349 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
10350         * device-src/s3.c: make s3_list_keys use its own buffer
10351
10352 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
10353         * device-src/s3.c: fix error buffer handling of overflow data
10354
10355 2009-02-24  Dustin J. Mitchell <dustin@zmanda.com>
10356         * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
10357           property
10358
10359 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
10360         * man/xml-source/ampgsql.8.xml,
10361           man/xml-source/amsamba.8.xml,
10362           man/xml-source/amstar.8.xml,
10363           man/xml-source/amsuntar.8.xml:
10364           document the mapping of configure options to default application
10365           property values
10366
10367 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
10368         * device-src/rait-device.c: actually *report* mismatched child
10369           labels/timestamps; correctly detect the 'first' device; and free old
10370           device label/time
10371
10372 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
10373         * server-src/driver.c: improve confusing out-of-tapes error message
10374
10375 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
10376         * server-src/changer.c: if changer_find is used to search for a
10377           specific tape, do not try a redundant manual scan after the
10378           search fails
10379
10380 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
10381         * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
10382           directory to test dumps
10383
10384 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
10385         * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
10386           installcheck/Amanda_Changer_disk.pl
10387           installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
10388           installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
10389           installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
10390           installcheck/Installcheck/Config.pm
10391           installcheck/Installcheck/Dumpcache.pm
10392           installcheck/Installcheck/Run.pm installcheck/Makefile.am
10393           installcheck/amarchiver.pl installcheck/amfetchdump.pl
10394           installcheck/amgetconf.pl installcheck/amgtar.pl
10395           installcheck/ampgsql.pl installcheck/amservice.pl
10396           installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
10397           subdirectory of AMANDA_TMPDIR for installcheck temporary files
10398
10399 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
10400         * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
10401         * amar-src/amar-test.c common-src/amflock-test.c
10402           common-src/event-test.c common-src/queueing-test.c
10403           common-src/quoting-test.c common-src/semaphore-test.c
10404           device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
10405           drastically
10406
10407 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
10408         * common-src/conffile.c: change the default changerfile to
10409           $CONFIG_DIR/changer
10410
10411 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
10412         * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
10413         * device-src/device.c: support PROPERTY_COMMENT
10414         * installcheck/Amanda_Device.pl: test it
10415         * man/xml-source/amanda-devices.7.xml: document it
10416
10417 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
10418         * common-src/conffile.c: Add t, tb, tera, ... suffix.
10419         * man/xml-source/amanda.conf.5.xml: Document it.
10420
10421 2009-02-19  Nikolas Coukouma <atrus@zmanda.com>
10422         * example/amanda-client-postgresql.conf.in,
10423           example/Makefile.am,
10424           man/Makefile.am,
10425           man/xml-source/ampgsql.8.xml,
10426           configure.in,
10427           application-src/Makefile.am,
10428           application-src/ampgsql.pl,
10429           installcheck/Makefile.am,
10430           installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
10431         * installcheck/Installcheck/Application.pm:
10432           fix property names in case of underscores
10433         * installcheck/Installcheck/Run.pm:
10434           if application starts with /, don't assume it's in sbin
10435
10436 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
10437         * perl/Amanda/Util.swg: move POD to the top of the file, refomat
10438
10439 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
10440         * common-src/util.h common-src/util.c: remove unneeded needs_quotes
10441
10442 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
10443         * installcheck/Amanda_Types.pl
10444           installcheck/Amanda_Header.pl: rename Amanda::Types to
10445           Amanda::Header, add to_string and from_string methods
10446         * common-src/fileheader.c: fix bug in returned size
10447         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
10448           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
10449           perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
10450           perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
10451           Amanda::Header
10452
10453 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
10454         * common-src/Makefile.am common-src/queue.h: remove file
10455         * amandad-src/amandad.c common-src/alloc.c
10456           common-src/bsdtcp-security.c common-src/krb5-security.c
10457           common-src/local-security.c common-src/rsh-security.c
10458           common-src/security-util.c common-src/security-util.h
10459           common-src/ssh-security.c: remove includes and replace TAILQ with
10460           GSList
10461
10462 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10463         * config/amanda/krb4-security.m4: Remove file
10464         * common-src/krb4-security.c: Remove file.
10465         * example/config.site, example/amanda.conf.in,
10466           client-src/client_util.c, amandad-src/amandad.c,
10467           man/xml-source/amanda-client.conf.5.xml,
10468           man/xml-source/amanda.conf.5.xml,
10469           man/xml-source/amgetconf.8.xml,
10470           configure.in, server-src/dumper.c,
10471           server-src/diskfile.c, perl/Amanda/Constants.pm.in,
10472           installcheck/Amanda_Config.pl, common-src/amfeatures.h,
10473           common-src/security.c, common-src/security.h,
10474           common-src/genversion.c, common-src/amgetconf.pl,
10475           common-src/conffile.c, common-src/Makefile.am,
10476           common-src/amfeatures.c: Remove krb4 support.
10477
10478 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10479         * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
10480
10481 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10482         * common-src/debug.h common-src/debug.c: add ability to supporess
10483           tracebacks
10484         * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
10485
10486 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10487         * perl/Makefile.am: actually install Amanda::Change::rait
10488
10489 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10490         * common-src/util.c: add missing 'const'
10491
10492 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10493         * common-src/util.c common-src/util.h device-src/rait-device.c
10494           perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
10495           expand_braced_alternates and collapse_braced_alternates out of
10496           rait-device.c and into util.c, and make them available from Perl
10497         * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
10498           perl/Makefile.am: new changers
10499         * installcheck/Amanda_Changer_null.pl
10500           installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
10501           changers
10502         * changer-src/Makefile.am changer-src/chg-null.sh
10503           changer-src/chg-rait.sh: remove old scripts
10504         * man/xml-source/amanda-changers.7.xml
10505           man/xml-source/amanda-devices.7.xml: update documentation
10506
10507 2009-02-18  John Hein <jhein@timing.com>
10508         * common-src/dgram.c: set the send buffer size when creating a new
10509           socket
10510
10511 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10512         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
10513           change PP_SCRIPT to SCRIPT, to match the name of the config param
10514         * server-src/diskfile.c installcheck/Amanda_Config.pl:
10515           use new symbols
10516
10517 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10518         * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
10519           and applications
10520
10521 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10522         * common-src/conffile.c common-src/conffile.h: use a simple
10523           identlist_t for pp_scripts
10524         * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
10525           server-src/server_util.c: use identlist_t's
10526
10527 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10528         * perl/Amanda/Config.swg: perl bindings
10529
10530 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10531         * common-src/conffile.c common-src/conffile.h: Change
10532           DUMPTYPE_APPLICATION to give a string val_t; remove the
10533           pointer-to-application val_t subtype; also fix many
10534           memory leaks and simplify memory management
10535         * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
10536           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
10537           server-src/planner.c: use new val_t result correctly
10538
10539 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10540         * client-src/selfcheck.c: Do dle check without disk.
10541         * common-src/amxml.c: Accept a dle without a disk.
10542         * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
10543           application-src/amgtar_perl.pl,
10544           application-src/amsamba.pl, application-src/amstar.c,
10545           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
10546           application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
10547                                              a disk is not provided.
10548
10549 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10550         patch by glowkrantz
10551         * application-src/amzfs-sendrecv.pl: Use compression ratio for
10552                                              compressed filesystem.
10553
10554 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10555         * server-src/amdump.sh: Check if planner/driver are executable and
10556                                 log error.
10557
10558 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
10559         * restore-src/amfetchdump.c: remove unintended debugging messages
10560
10561 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
10562         * changer-src/chg-manual.sh: make messages clearer
10563         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
10564           _manual_scan
10565         * server-src/amcheckdump.pl: handle errors better
10566
10567 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
10568         * changer-src/chg-manual.sh: make messages clearer
10569         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
10570           _manual_scan
10571         * server-src/amcheckdump.pl: handle errors better
10572
10573 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
10574         * recover-src/extract_list.c: Set all_level with level_t.
10575
10576 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
10577         * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
10578           Jose Hales-Garcia <jose@stat.ucla.edu>
10579
10580 2009-02-12  Jean-Louis Martineau <martineau@zmanda.com>
10581         * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
10582         * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
10583                                     NONBLOCKING_OPEN property.
10584         * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
10585         * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
10586                                                property.
10587         * server-src/amdevcheck.pl: Call $device->configure(1).
10588
10589 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
10590         * changer-src/chg-rait.sh: get directory handling right (patch from
10591           Jim.pennino on wiki.zmanda.com)
10592         * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
10593           do_eject
10594         * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
10595           volume that's not currently reserved
10596         * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
10597           after cleaning or ejecting
10598         * installcheck/Amanda_Changer_compat.pl: updated tests
10599
10600 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
10601         * perl/Makefile.am: add a version number to libamglue
10602
10603 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
10604         * restore-src/restore.c: fix incorrect assertion
10605
10606 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
10607         * config/amanda/debugging.m4: fix --disable-syntax-checks
10608
10609 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
10610         * config/amanda/debugging.m4: add --disable-syntax-checks
10611         * config/automake/scripts.am: disable them
10612         * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
10613
10614 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
10615         * man/xml-source/amanda.conf.5.xml: remove TODO
10616
10617 2009-02-07  Dustin J. Mitchell <dustin@zmanda.com>
10618         * common-src/event.c: use built-in child watch source on FreeBSD
10619
10620 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
10621         * server-src/dumper.c: options is already unquoted.
10622         * common-src/util.c: argument should not be quoted when added to argv.
10623
10624 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
10625         * installcheck/Amanda_Changer_compat.pl: remove debugging code
10626
10627 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
10628         patch by Yoshihiro Ishikawa
10629         * recover-src/extract_list.c: Handle application-api.
10630
10631 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
10632         * installcheck/Amanda_Changer_compat.pl: support 'eject'
10633         * perl/Amanda/Changer.pm: change release/do_relase relationship
10634         * perl/Amanda/Changer/compat.pm: same
10635         * perl/Amanda/Changer/disk.pm: same
10636         * perl/Amanda/Changer/single.pm: same
10637
10638 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10639         * common-src/conffile.h: Add ES_ES.
10640         * common-src/conffile.c: Handle ES_ES in switch.
10641         * server-src/amadmin.c: Handle ES_ES in switch.
10642         * client-src/sendsize.c: Works with many multiple estimate method.
10643         * server-src/planner.c: Works with many multiple estimate method.
10644
10645 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10646         * application-src/amgtar.c, application-src/amgtar_perl.pl,
10647           application-src/amsamba.pl, application-src/amstar.c,
10648           application-src/amsuntar.pl,
10649           application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
10650         * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
10651         * client-src/client_util.h: New field to keep its value.
10652
10653 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10654         * common-src/amfeatures.c,
10655           common-src/amfeatures.h: And fe_xml_level_server amfeature.
10656         * common-src/amxml.c: parse <server> tag in level tag.
10657         * server-src/planner.c: Send <server> tag,
10658                         Move estimate server calculation to its own function.
10659
10660 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10661         * client-src/client_util.c, client-src/sendbackup-gnutar.c,
10662           client-src/sendbackup.c, client-src/sendbackup-dump.c,
10663           client-src/sendsize.c,
10664           client-src/selfcheck.c, recover-src/extract_list.c,
10665           common-src/amxml.c,
10666           common-src/amxml.h: Change Change dle->level for dle->levellist,
10667                               each element is a level_t struct.
10668
10669 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10670         * amplot/amplot.awk: Set term to x11.
10671
10672 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10673         * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
10674         * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
10675         * common-src/amxml.c: Parse multiple estimate value.
10676         * common-src/amxml.h: Change estimate for estimatelist in dle_t.
10677         * server-src/diskfile.h (xml_estimate): Protoype.
10678         * server-src/diskfile.c (xml_estimate): New function.
10679         * server-src/amcheck.c: Use xml_estimate.
10680         * server-src/planner.c: Use xml_estimate.
10681         * client-src/sendbackup.c, client-src/sendsize.c,
10682           client-src/selfcheck.c: Use first estimate in estimatelist.
10683
10684 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
10685         * common-src/conffile.c: Correctly copy pp_scriptlist.
10686
10687 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
10688         * server-src/amstatus.pl: Remove a bogus line.
10689
10690 2009-01-30  Dustin J. Mitchell <dustin@zmanda.com>
10691         * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
10692
10693 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10694         * recover-src/amrecover.c: Always print error.
10695         * server-src/amindexd.c: read stderr of uncompress and sort process,
10696           put the result in a GPtrArray, send the complete array to amrecover.
10697
10698 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10699         * common-src/conffile.c: Typo.
10700
10701 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10702         * common-src/conffile.c, common-src/conffile.h,
10703           server-src/diskfile.h, server-src/amcheck.c,
10704           server-src/planner.c, server-src/amadmin.c,
10705           server-src/diskfile.c, perl/Amanda/Config.swg,
10706           installcheck/Amanda_Config.pl: Use a list of estimate.
10707
10708 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10709         * common-src/conffile.c, common-src/conffile.h,
10710           server-src/amcheck.c, server-src/holding.c,
10711           server-src/driver.c, perl/Amanda/Config.swg,
10712           installcheck/Amanda_Config.pl: 'define' keyword is use only to define
10713           an holding disk, you must use 'holdisgdisk' without 'define' if you
10714           want to use it.
10715
10716 2009-01-29  Dustin J. Mitchell <dustin@zmanda.com>
10717         * config/config.guess config/config.sub: new updates from FSF
10718
10719 2009-01-29  Benjamin Lewis <bhlewis@purdue.edu>
10720         * autogen: fix quoting error
10721         * config/amanda/dumpers.m4:  use a hostname we're more confident
10722           doesn't exist
10723
10724 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
10725         * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
10726           perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
10727           perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
10728
10729 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
10730         * common-src/conffile.c: support "." as a config name, indicating
10731           "this directory"
10732         * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
10733           old-school changer shell scripts
10734         * man/xml-source/amanda.8.xml: docs
10735         * perl/Amanda/Config.swg: docs
10736
10737 2009-01-28  Nikolas Coukouma <atrus@zmanda.com>
10738         * installcheck/Makefile.am: do not run client software checks --without-client
10739
10740 2009-01-28  Jean-Louis Martineau <martineau@zmanda.com>
10741         * config/automake/scripts.am: Fix another get line numbers right when
10742           syntax-checking perl scripts
10743
10744 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
10745         * installcheck/Installcheck/Application.pm: make sure all data is read
10746         * installcheck/amgtar.pl: check if GNU tar is present,
10747           avoid using atime-preserve, make sure reported and actual size match
10748
10749 2009-01-27  Dustin J. Mitchell <dustin@zmanda.com>
10750         * installcheck/amgtar.pl: fix typo
10751
10752 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
10753         * installcheck/Installcheck/Application.pm: Add Installcheck::Application
10754           harness for running things via the Application API
10755         * installcheck/amgtar.pl: Add installchecks for amgtar
10756         * installcheck/Makefile.am: Add files to build and distribution
10757
10758 2009-01-26  Dustin J. Mitchell <dustin@zmanda.com>
10759         * config/automake/scripts.am: get line numbers right when
10760           syntax-checking perl scripts
10761
10762 2009-01-26 Satya Ganga <gsat@zmanda.com>
10763         * xml-source/amsuntar.8.xml : Update man page with RBAC info
10764         * application-src/amsuntar.pl : Adding support for estimate
10765
10766 2009-01-23  Dustin J. Mitchell <dustin@zmanda.com>
10767         * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
10768           used by the tape device
10769         * device-src/tape-device.c: enable appending, using F_NOOP when
10770           necessary to avoid writing a double filemark
10771         * installcheck/Amanda_Device.pl: new tests
10772
10773 2009-01-22  Dustin J. Mitchell <dustin@zmanda.com>
10774         * common-src/fileheader.c common-src/fileheader.h
10775           device-src/device.c device-src/device.h: make header-
10776           building more flexible, allowing varying sizes
10777         * device-src/s3-device.c: use the new flexibility to write only the
10778           header data necessary to S3
10779         * device-src/tape-device.c device-src/vfs-device.c
10780           restore-src/restore.c server-src/chunker.c server-src/dumper.c
10781           server-src/holding.c: use new function signatures, without changing
10782           functionality
10783
10784 2009-01-22  Jean-Louis Martineau <martineau@zmanda.com>
10785         * man/xml-source/amstar.8.xml: Typo.
10786
10787 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10788         * server-src/driver.c: Add call to short_dump_state().
10789
10790 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10791         * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
10792
10793 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>,
10794             Dustin J. Mitchell <dustin@zmanda.com>
10795         * common-src/fileheader.c: Remove strquotedstr function.
10796         * common-src/quoting-test.c: Test strquotedstr function.
10797         * common-src/util.c: Add prototype for strquotedstr function.
10798         * common-src/util.h: Add new strquotedstr function.
10799
10800 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10801         * application-src/Makefile.am: Typo
10802
10803 2009-01-21  Dustin J. Mitchell <dustin@zmanda.com>
10804         Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
10805         * packaging/rpm/amanda.spec: detect and properly support suse11.1,
10806           with a temporary hack to support suse11, too
10807
10808 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10809         * server-src/amstatus.pl: Fix use of %free and %qlen keys.
10810
10811 2009-01-20 Dan Locks <dwlocks@zmanda.com>
10812         * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
10813           libtermcap.so.2 for fedora, change tar requirement to %{tarver}
10814
10815 2009-01-20 Dan Locks <dwlocks@zmanda.com>
10816         * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
10817           install perl for the client package add "directory mode" to defattr
10818           statements where appropriate.
10819
10820 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
10821         * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
10822
10823 2009-01-19 Satya Ganga <gsat@zmanda.com>
10824         * application-src/amsuntar.pl : New amsuntar application
10825         * application-src/Makefile.am : Make file updates to include amsuntar
10826         * man/entities/global.entities.in : Add to gsat  to the name list
10827         * man/Makefile.am  man/xml-source/amsuntar.8.xml : add new man amsuntar man page
10828
10829 2009-01-19  Dustin J. Mitchell <dustin@zmanda.com>
10830         * device-src/vfs-device.c: remove bogus locking stubs that are
10831           making syscalls like close(-1); fix error handling in read_label
10832           if check_is_dir fails()
10833
10834 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
10835         * device-src/vfs-device.c: robust_open can return fd 0.
10836
10837 2009-01-19  Tom Robinson <tom.robinson@constantstream.com>
10838         * server-src/amoverview.pl: fix parsing of filenames containing colons
10839
10840 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
10841         * application-src/amzfs-sendrecv.pl: Handle incremental,
10842                                              new KEEP-SNAPSHOT property.
10843         * man/xml-source/amzfs-sendrecv.8.xml: Document it.
10844         * application-src/teecount.c: New program.
10845         * application-src/Makefile.am: Add teecount.
10846         * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
10847         * common-src/amanda.h: include "safe-read.h"
10848
10849 2009-01-17  Jean-Louis Martineau <martineau@zmanda.com>
10850         * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
10851                                   result.
10852
10853 2009-01-16 Dan Locks <dwlocks@zmanda.com>
10854         * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
10855
10856 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10857         * packaging/rpm/amanda.spec: Fix for fedora 10.
10858
10859 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
10860         * device-src/vfs-device.c: don't cache the dir_handle, as
10861           such caching does not work on some network filesystems
10862
10863 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
10864         * man/xml-source/amanda.conf.5.xml: add documentation
10865           of inheritance for config sections
10866
10867 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
10868         * device-src/amtapetype.pl: add a 'config' parameter
10869         * man/xml-source/amtapetype.8.xml: documentation
10870         * installcheck/amtapetype.pl: test with a small vtape
10871
10872 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10873         * server-src/driver.c: Use bitwise NOT for taper_state.
10874
10875 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10876         * server-src/taper.c: Go to next tape if device_start_file fail.
10877         * device-src/tape-device.c: write a filemark when a file is finished.
10878         * device-src/tape-device.h (TapeDevice): Remove first_file.
10879
10880 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10881         * client-src/sendbackup.c: Fix for no index with application.
10882         * application-src/amstar.c: Improve error reporting.
10883         * application-src/amgtar.c: Improve error reporting.
10884
10885 2009-01-14  Jean-Louis Martineau <martineau@zmanda.com>
10886         * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
10887         * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
10888
10889 2009-01-13  Dustin J. Mitchell <dustin@zmanda.com>
10890         * perl/Amanda/Paths.pm.in: add $localstatedir
10891         * server-src/amserverconfig.pl: remove extraneous /
10892
10893 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
10894         * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
10895                                             defining an holdingdisk.
10896         * common-src/conffile.c: Document it.
10897
10898 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
10899         * server-src/amcheck.c: Check fallback_splitsize is smaller than
10900                                 physmem_total().
10901         * server-src/taper-mem-port-source.c: Dont; check physmem_available.
10902
10903 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
10904         * server-src/server_util.c: New get_pending_cmd function.
10905         * server-src/server_util.h: get_pending_cmd prototype.
10906         * server-src/driver.c: Send message to dumper in ABORT command.
10907         * server-src/driverio.c: Send message to dumper in ABORT command.
10908         * server-src/dumper.c: Check for ABORT cmd.
10909         * server-src/reporter.c: Don't log duplicate
10910                                  'Not enough holding disk space' error
10911
10912 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
10913         * server-src/driver.c: Fix result_argv subscript.
10914
10915 2009-01-08  Jean-Louis Martineau <martineau@zmanda.com>
10916         * restore-src/amfetchdump.c: Write to stderr.
10917
10918 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>,
10919             Dustin J. Mitchell <dustin@zmanda.com>
10920         * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
10921           after it is use.
10922         * installcheck/Amanda_Device.pl: Add more tape check.
10923
10924 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
10925         * server-src/taper.c: Don't call changer_label() if a changer is not
10926                               in use.
10927
10928 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
10929         * server-src/driverio.c: Set *result_argv to NULL on EOF.
10930         * server-src/taper-mem-port-source.c: Set an error if the memory can't
10931           be allocated for the memory buffer.
10932
10933 2009-01-05  Dustin J. Mitchell <dustin@zmanda.com>
10934         * client-src/runtar.c: remove unnecessary check for existence of
10935           CLIENT_LOGIN
10936
10937 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
10938         * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
10939           perl/Amanda/Xfer.swg: Fix compiler warning.
10940
10941 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
10942         * config/automake/scripts.am: Remove 'use lib' line before doing check.
10943
10944 2008-12-22  Paul Yeatman <pyeatman@zmanda.com>
10945         * man/entities/global.entities.in: added author/email entity for me
10946         * man/xml-source/amanda-auth.7.xml: newly added man page
10947         * man/Makefile.am: added amanda-auth to section 7
10948         * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
10949         and added link to amanda-auth man page
10950         * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
10951         amanda-auth and added link to amanda-auth man page
10952
10953 2008-12-22  Nikolas Coukouma <atrus@zmanda.com>
10954         * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
10955
10956 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10957         * device-src/s3.c: translate error code 0 to "None", not NULL
10958
10959 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10960         * application-src/amgtar.c,
10961           application-src/amstar.c: Use sizeof(line) for argument to fgets.
10962
10963 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
10964         * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
10965                                            in section 5.
10966
10967 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10968         * installcheck/Installcheck/Dumpcache.pm
10969           installcheck/Installcheck/Run.pm installcheck/amdump.pl
10970           installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
10971           it, and use it in amdump and pp-scripts
10972         * application-src/amlog-script.pl: don't pretend to be script-email
10973         * man/Makefile.am: amanda-archive-format should be section 5
10974         * man/xml-source/amanda-archive-format.5.xml: small tweaks
10975         * man/xml-source/amanda-changers.7.xml: fix authorship
10976         * man/xml-source/amanda.8.xml: add link to amvault(8)
10977         * man/xml-source/amvault.8.xml: enumerate limitations of this version
10978         * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
10979
10980 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10981         * config/amanda/dirs.m4: add --with-amdatadir
10982         * example/Makefile.am: use it for examples and templates
10983         * perl/Amanda/Paths.pm.in: add $amdatadir
10984         * server-src/amserverconfig.pl: use it
10985         * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
10986           so that built packages still put examples and templates in
10987           /var/lib/amanda
10988
10989 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
10990         * application-src/amstar.c: Use fgets to read star output.
10991         * application-src/amgtar.c: Use fgets to read gtar output.
10992
10993 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>,
10994             Dustin J. Mitchell <dustin@zmanda.com>
10995         * common-src/util.c: Convert underscore in application and script
10996                              property name to dash.
10997         * device-src/property.c: Make underscore and dash equal in device
10998                                  property name.
10999         * installcheck/Amanda_Device.pl: Check device property name with
11000                                          mixed case and dash.
11001         * installcheck/pp-scripts.pl: Check property name with underscore.
11002
11003 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
11004         * server-src/reporter.c: Fix reporting of FLUSH.
11005
11006 2008-12-21  Dustin J. Mitchell <dustin@zmanda.com>
11007         * device-src/s3-device.c: use devpay if the user token property is
11008           given; otherwise, regular S3
11009         * installcheck/Amanda_Device.pl: adjust tests to correspond
11010
11011 2008-12-19  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
11012         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
11013           Reset read and write when retrying a failed request
11014
11015 2008-12-19  Dustin J. Mitchell <dustin@zmanda.com>
11016         * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
11017           to test the SSL_CA_INFO property
11018
11019 2008-12-19  Jean-Louis Martineau <martineau@zmanda.com>
11020         * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
11021
11022 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
11023         * common-src/security-util.c: Don't free 'rc'.
11024
11025 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
11026         * man/xml-source/amgtar.8.xml: Improve documentation of regex.
11027
11028 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
11029         * common-src/conffile.h (anonymous_value): New prototype.
11030         * common-src/conffile.c (anonymous_value): New function.
11031         * common-src/conffile.c: Use anonymous_value.
11032         * server-src/diskfile.c: Use anonymous_value.
11033
11034 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
11035         * perl/Amanda/Script_App.pm: Fix infinite loop.
11036         * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
11037
11038 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
11039         * server-src/planner.c: Run script only if todo is set.
11040
11041 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
11042         * installcheck/amfetchdump.pl: chdir() before rmtree().
11043
11044 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
11045         * installcheck/amarchiver.pl: chdir() before rmtree().
11046
11047 2008-12-17  Dustin J. Mitchell <dustin@zmanda.com>
11048         * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
11049         * installcheck/pp-scripts.pl: add atime-preserve property
11050
11051 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
11052         * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
11053           of amanda.css.
11054
11055 2008-12-16 Dan Locks <dwlocks@zmanda.com>
11056         * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
11057           "present but cannot be compiled" warning during debian packaging.
11058
11059 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
11060         * common-src/security-util.c: Don't close if it's not open.
11061
11062 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
11063         * application-src/Makefile.am: Add amlog-script.
11064         * application-src/amlog-script.pl: New scripts.
11065         * server-src/amcheck.c , server-src/planner.c,
11066           server-src/server_util.c, server-src/server_util.h,
11067           server-src/driver.c: Add level argument to run_server_scripts().
11068           The script is executed with that level argument.
11069         * installcheck/pp-scripts.pl: Check scripts.
11070         * installcheck/Makefile.am: Add pp-scripts.
11071
11072 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
11073         * man/Makefile.am man/xml-source/amanda-changers.7.xml
11074           man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
11075           man/xml-source/amanda.conf.5.xml: new documentation
11076         * perl/Amanda/Changer.pm: not finished yet!
11077         * perl/Amanda/Changer/compat.pm: fix error message
11078         * server-src/changer.c changer-src/chg-glue.pl:
11079           better error handling
11080
11081 2008-12-15  Jean-Louis Martineau <martineau@zmanda.com>
11082         * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
11083
11084 2008-12-15  Dustin J. Mitchell <dustin@zmanda.com>
11085         * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
11086         * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
11087           stringify bigints in is_deeply arguments
11088         * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
11089         * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
11090           BigIntCompat for perl-5.6 compatibility
11091
11092 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
11093         * perl/Makefile.am,
11094           perl/amglue/amglue.swg,
11095           perl/amglue/filehandles.swg: add typemap to convert perl file handles
11096           to int file descriptors
11097         * installcheck/Amanda_Device.pl: update usage
11098         * perl/Amanda/Device.swg,
11099           perl/Amanda/Archive.swg,
11100           perl/Amanda/MainLoop.swg: update docs, make typemap apply
11101
11102 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
11103         * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
11104           ability to test well with just DevPay credentials
11105
11106 2008-12-14  Dustin J. Mitchell <dustin@zmanda.com>
11107         * man/Makefile.am: change manpage build process
11108         * man/entities/global.entities.in: generate with config.status
11109         * man/xslt/html.xsl.in: new templates to handle authors
11110         * man/xslt/man.xsl.in: new templates to handle authors
11111         * man/xml-source/*.xml: change specification of authors
11112         * man/xml-source/amanda-applications.7.xml: add links to apps
11113         * man/xml-source/amanda-scripts.7.xml: add links to scripts
11114
11115 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
11116         * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
11117                                             always be at the beginning of the line.
11118
11119 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
11120         * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
11121
11122 2008-12-12  John Hein <jhein@timing.com>
11123         * server-src/amdump.sh: fix Open3 invocation to work on
11124           FreeBSD-4.x
11125
11126 2008-12-12  Nikolas Coukouma <atrus@zmanda.com>
11127         * device-src/s3-device.c,
11128           device-src/s3.c,
11129           device-src/s3.h,
11130           installcheck/Amanda_Device.pl,
11131           man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
11132
11133 2008-12-12  Dustin J. Mitchell <dustin@zmanda.com>
11134         * client-src/sendbackup-dump.c: fix previous commit to not use
11135           precompiler directives in the middle of a macro invocation
11136
11137 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
11138         * NEWS, ReleaseNotes: Add amzfs-sendrecv.
11139         * client-src/sendbackup.c: Fix indexd test.
11140         * man/Makefile.am: Add amzfs-sendrecv.8.
11141         * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
11142         * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
11143         * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
11144         * man/xml-source/amzfs-sendrecv.8.xml: New man page.
11145         * application-src/amzfs-sendrecv.pl: New application.
11146         * application-src/amzfs-snapshot.pl: Fix to use
11147                                              Amanda::Application::Zfs
11148         * application-src/Makefile.am: Add amzfs-sendrecv.
11149         * perl/Amanda/Script_App.pm: Exit instead of die.
11150         * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
11151         * perl/Makefile.am: Add Amanda/Application and
11152                             Amanda/Application/Zfs.pm
11153
11154 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
11155         * recover-src/extract_list.c: Wait to read at least one byte from the
11156                                       data stream before forking the child.
11157
11158 2008-12-12  Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
11159         * changer-src/chg-zd-mtx.sh: fix bashisms
11160         * client-src/sendbackup-dump.c: use -L on systems that support it
11161
11162 2008-12-11 Dan Locks <dwlocks@zmanda.com>
11163         * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
11164
11165 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
11166         * NEWS, ReleaseNotes: Add amsamba.
11167
11168 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
11169         * server-src/driver.c: Check start_t before doing a dump to tape.
11170
11171 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
11172         * installcheck/Makefile.am: distribute Dumpcache.pm
11173
11174 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
11175         * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
11176         * installcheck/Installcheck/Config.pm: add cleanup()
11177         * installcheck/Installcheck/Run.pm: call I::C::cleanup()
11178         * installcheck/Makefile.am: add _seupcache
11179         * installcheck/_setupcache.pl: set up the amdump cache first thing
11180         * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
11181           installcheck/amdump.pl installcheck/amfetchdump.pl
11182           installcheck/amrmtape.pl: use dumpcache
11183
11184 2008-12-10  Nikolas Coukouma <atrus@zmanda.com>
11185         * device-src/s3.c: Generate date header independently of locale
11186
11187 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
11188         * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
11189         * installcheck/Amanda_Disklist.pl: fix tests
11190
11191 2008-12-09  C R Ritson.
11192         * server-src/reporter.c: Add threshold to small and big estimate.
11193
11194 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
11195         * client-src/client_util.c: Parse RECOVER-MODE application support.
11196         * client-src/client_util.h (backup_support_option_t):
11197                                    Add smb_recover_mode.
11198         * client-src/sendsize.c: Fix size.
11199         * man/Makefile.am: Add amsamba.8.
11200         * man/xml-source/amsamba.8.xml: New man page.
11201         * man/xml-source/amanda-applications.7.xml: List amsamba.
11202         * man/xml-source/amanda.8.xml: List amsamba.
11203         * application-src/Makefile.am (CHECK_PERL): Add amsamba
11204         * application-src/amsamba.pl: New application.
11205         * recover-src/extract_list.c: Get support option from application
11206           and set --recover-mode if needed.
11207         * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
11208         * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
11209         * perl/Amanda/Paths.pm.in: Add $sysconfdir.
11210         * perl/Amanda/Util.swg: Add skip_quoted_string.
11211
11212 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
11213         * man/xml-source/amstar.8.xml: Typo.
11214
11215 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
11216         * man/xml-source/amanda.conf.5.xml: Fix plugin location.
11217
11218 2008-12-09  Nikolas Coukouma <atrus@zmanda.com>
11219         * installcheck/amrmtape.pl,
11220           man/xml-source/amrmtape.8.xml,
11221           server-src/amrmtape.pl: add --cleanup option to amrmtape
11222           alphabetize command-line options
11223
11224 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
11225         * perl/Amanda/Disklist.swg: return a value from
11226           read_disklist_internal
11227
11228 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
11229         * common-src/conffile.c common-src/conffile.h
11230           installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
11231           perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
11232           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
11233           server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
11234           DUMPTYPE_AUTH, with related changes to disk_t
11235
11236 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
11237         * perl/Makefile.am installcheck/Amanda_Disklist.pl
11238           perl/Amanda/Disklist.swg installcheck/Makefile.am:
11239           new module + tests
11240         * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
11241           parameter
11242         * common-src/conffile.h: tag host-related parameters
11243         * perl/Amanda/Config.swg: POD typo
11244         * server-src/diskfile.h: comments
11245
11246 2008-12-08  Nikolas Coukouma <atrus@zmanda.com>
11247         * installcheck/amrmtape.pl,
11248           man/xml-source/amrmtape.8.xml,
11249           server-src/amrmtape.pl: add --keep-label option to amrmtape
11250
11251 2008-12-07  Dustin J. Mitchell <dustin@zmanda.com>
11252         * server-src/Makefile.am server-src/amvault.pl: new, experimental
11253           script to copy data from secondary to tertiary volumes
11254         * common-src/fileheader.c: strip spurious ' ' from headers
11255         * man/Makefile.am man/xml-source/amvault.8.xml: docs
11256         * perl/Amanda/DB/Catalog.pm: add kbps calculation
11257         * perl/Amanda/Device.swg: add volume_header() method
11258
11259 2008-12-05  Dustin J. Mitchell <dustin@zmanda.com>
11260         * server-src/taper.c: remove dead code that can cause compiler errors
11261
11262 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
11263         * device-src/device.c,
11264           device-src/vfs-device.c,
11265           installcheck/Amanda_Device.pl: fix erase() for VFS device
11266         * server-src/amrmtape.pl: fix rollback, erase() call setup
11267
11268 2008-12-05  Jean-Louis Martineau <martineau@zmanda.com>
11269         * server-src/driverio.c: Send a message with NO-NEW-TAPE.
11270         * server-src/driver.c: Generate message for NO-NEW-TAPE, call
11271           start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
11272           for INPUT-ERROR and TAPE-ERROR
11273         * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
11274
11275 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
11276         * server-src/amrmtape.pl:
11277           man/xml-source/amrmtape.8.xml,
11278           installcheck/amrmtape.pl:  add --empty and --changer options for erasing media
11279
11280 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
11281         * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
11282           Add erase method to the device class
11283         * device-src/property.c, device-src/property.h:
11284           Add FULL_DELETION property so devices can indicate if they implement erase
11285         * xml-source/amanda-devices.7.xml: document FULL_DELETION property
11286         * device-src/null-device.c, device-src/rait-device.c:
11287           Indicate that these do not implement erase (via FULL_DELETION)
11288         * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
11289         * device-src/s3-device.c: Add delete_all_files helper.
11290           Return FALSE on error in one place.
11291         * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
11292         * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
11293           Don't usually retry when bucket is missing
11294
11295 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
11296         * device-src/device.c,
11297           device-src/s3-util.c,
11298           device-src/device.h,
11299           device-src/s3-util.h,
11300           device-src/null-device.c,
11301           device-src/s3-device.c,
11302           device-src/property.c,
11303           device-src/s3.c,
11304           device-src/tape-device.c,
11305           device-src/property.h,
11306           device-src/s3.h,
11307           device-src/vfs-device.c,
11308           device-src/rait-device.c: strip trailing whitespace
11309
11310 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
11311         * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
11312           the changer is not seekable (hack to make slotinfofile work)
11313
11314 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
11315         * changer-src/chg-glue.pl: add labelling support
11316         * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
11317           changers
11318         * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
11319           slots to labels on a best-information-available basis
11320
11321 2008-12-03  Nikolas Coukouma <atrus@zmanda.com>
11322         * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
11323           convert amrmtape to perl
11324         * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
11325         * man/xml-source/amrmtape.8.xml: document new long options
11326
11327 2008-12-03  Satya Ganga <gsat@zmanda.com>
11328         * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
11329           command instead of "eject" which is not supported on solaris.
11330
11331 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
11332         * man/xml-source/amanda.conf.5.xml: Provide default unit.
11333
11334 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
11335         * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
11336
11337 2008-12-01  Satya Ganga <gsat@zmanda.com>
11338         * server-src/amdevcheck.pl: add ability to print device properties
11339         * man/xml-source/amdevcheck.8.xml: new docs
11340         * installcheck/amdevcheck.pl: new tests
11341         * installcheck/Installcheck/Run.pm
11342           installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
11343
11344 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
11345         * device-src/s3.c: fix signedness
11346
11347 2008-12-01  Dustin J. Mitchell <dustin@zmanda.com>
11348         * common-src/util.c: fix mishandling of trailing backslash in
11349           unquote_string
11350
11351 2008-12-01  Jean-Louis Martineau <martineau@zmanda.com>
11352         * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
11353           packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
11354           configure.in: Change version to 2.6.2alpha.
11355
11356 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
11357         * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
11358           by adding some "null-op" read and write functions.
11359
11360 2008-11-27  Jean-Louis Martineau <martineau@zmanda.com>
11361         * server-src/amstatus.pl: Correctly parse degraded size.
11362
11363 2008-11-26  Jean-Louis Martineau <martineau@zmanda.com>
11364         * client-src/sendbackup.c: Set application in extraction command.
11365
11366 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
11367         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
11368         * ReleaseNotes: Release notes for 2.6.1b1.
11369         * NEWS: News for 2.6.1b1.
11370         * packaging/deb/rules, packaging/deb/buildpkg,
11371           packaging/rpm/buildpkg,
11372           packaging/rpm/amanda.spec: Change version to 2.6.1b1.
11373
11374 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
11375         * config/amanda/bsd-security.m4: Fix.
11376         * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
11377                                             default.
11378         * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
11379
11380 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
11381         * changer-src/Makefile.am changer-src/chg-glue.pl:
11382           add new c-to-perl glue script
11383         * server-src/changer.c: interface with new script
11384         * server-src/amtape.c man/xml-source/amtape.8.xml:
11385           remove 'slot last' and 'slot prev'
11386         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
11387           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
11388           new Changer API
11389         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
11390           installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
11391           installcheck/Makefile.am: tests for all of it
11392
11393 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
11394         * example/template.d/advanced.conf.in: don't imply that
11395           maxdumpsize is in bytes
11396
11397 2008-11-21  Nikolas Coukouma <atrus@zmanda.com>
11398         * device-src/s3.c: work around a bug in Amazon's HTTP implementation
11399           by avoiding HEAD requests.
11400
11401 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
11402         * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
11403                                                             argument is NULL.
11404         * restore-src/restore.c: Also check for F_EMPTY.
11405
11406 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
11407         * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
11408                                  that should terminate.
11409
11410 2008-11-21  Dustin J. Mitchell <dustin@zmanda.com>
11411         * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
11412                                  fail.
11413
11414 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
11415         * server-src/server_util.c: Skip one field in parsing INFO pid line.
11416
11417 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
11418         * oldrecover-src/extract_list.c: Use config.
11419         * server-src/dumper.c: Check dle_str for NULL.
11420
11421 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
11422         * server-src/amdump.sh: Run amreport if the 'log' file already exist.
11423
11424 2008-11-20  Urs Schurer <urs@sitb.de>
11425         * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
11426           in process_ls_dump
11427
11428 2008-11-19 Satya Ganga <gsat@zmanda.com>
11429         * example/inetd.conf.amandaserver.in: Add serverconfig file
11430         * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
11431
11432 2008-11-18 Dan Locks <dwlocks@zmanda.com>
11433         * packaging/rpm/amanda.spec: removed conditionals around
11434           perl(ExtUtils::Embed) so that buildrequires applies to all platforms
11435
11436 2008-11-18  Satya Ganga <gsat@zmanda.com>
11437         * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
11438
11439 2008-11-18  Jean-Louis Martineau <martineau@zmanda.com>
11440         * application-src/amstar.c: Free qdisk after the loop.
11441         * application-src/amgtar.c: Free qdisk after the loop.
11442
11443 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
11444         * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
11445
11446 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
11447         * server-src/taper.c: Fix formating.
11448
11449 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
11450         * server-src/amstatus.pl: Parse "taper: using label ..." line.
11451         * server-src/driver.c: Print tape size.
11452         * server-src/amtoc.pl: Fix for new log format.
11453         * server-src/reporter.c: Increase field width.
11454         * server-src/taper.c: Print number of kbytes written to each tape.
11455
11456 2008-11-14  Dustin J. Mitchell <dustin@zmanda.com>
11457         * device-src/s3-device.c: eliminate an extra buffer copy in the
11458           common case where the caller supplies a large enough buffer
11459         * device-src/s3.h: tweak a comment
11460
11461 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
11462         * server-src/holding.h: Improve comment.
11463         * server-src/reporter.c: Print holding disk size in displyaunit.
11464
11465 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
11466         * client-src/client_util.c: Get stderr of scripts and send it to
11467                                     server.
11468         * client-src/client_util.h: Add err in client_script_result_t.
11469         * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
11470         * client-src/sendsize.c: Fix.
11471         * server-src/planner.c: Get WARNING line from client.
11472         * server-src/reporter.c: Don't mark the dumper as FAILED if the
11473                                  planner FAILED.
11474         * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
11475         * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
11476
11477 2008-11-12  Dustin J. Mitchell <dustin@zmanda.com>
11478         * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
11479
11480 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11481         * amandad-src/amandad.c: Check that something is ready to be read
11482                                  before calling errfd_recv.
11483
11484 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11485         * changer-src/chg-manual.sh: fix typo
11486
11487 2008-11-11 Dan Locks <dwlocks@zmanda.com>
11488         * packaging/rpm/amanda.spec: add fedora 9 detection, add
11489           BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
11490           undetected instead of at all times
11491
11492 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11493         * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
11494           active test scripts; add a DLE in the amfetchdump installcheck
11495
11496 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11497         * config/macro-archive/ac_perl_module_version.m4: new macro
11498         * config/amanda/swig.m4: check for ExtUtils::Embed
11499
11500 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11501         * installcheck/amarchiver.pl: quote $sbindir from regexp
11502           interpretation
11503
11504 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11505         * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
11506                             to DISTCLEANFILES.
11507
11508 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11509         * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
11510                                   amgtar application.
11511
11512 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11513         * client-src/selfcheck.c: fix.
11514         * amandad-src/amandad.c: Read stderr of server and report it to server.
11515         * server-src/planner.c: Keep first line only.
11516
11517 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11518         * amar-src/amarchiver.c: fix filesize printf conversion
11519
11520 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
11521         * client-src/sendbackup.c, client-src/selfcheck.c: Check return
11522                                                            value of pipe.
11523
11524 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11525         * installcheck/Installcheck/Run.pm: change default DLEs
11526         * installcheck/amcheckdump.pl: add DLE explicitly
11527         * installcheck/amdevcheck.pl: add DLE explicitly
11528         * installcheck/amdump.pl: use the amgtar application in a dump
11529
11530 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11531         * installcheck/Makefile.am: only test amfetchdump if it was built
11532         * installcheck/amfetchdump.pl: use arguments in the right order
11533
11534 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11535         * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
11536         * man/Makefile.am man/xml-source/amarchiver.8.xml
11537           amar-src/Makefile.am amar-src/amarchiver.c: new application
11538         * installcheck/Makefile.am installcheck/amarchiver.pl: tests
11539
11540 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11541         * installcheck/Installcheck/Run.pm: add Expect support
11542         * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
11543           installcheck, using Expect support
11544
11545 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11546         * common-src/amgetconf.pl: don't setup_application() in dbclose
11547
11548 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
11549         * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
11550
11551 2008-11-08  Dustin J. Mitchell <dustin@zmanda.com>
11552         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
11553           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
11554           perl/Makefile.am: entirely new perl-based changer API
11555         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
11556           add changer subsections
11557         * man/xml-source/amanda.conf.5.xml: document them
11558         * server-src/amcheckdump.pl: use the new changer API
11559         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
11560           installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
11561           installcheck/Installcheck/Config.pm installcheck/Makefile.am
11562           installcheck/Amanda_Changer_Disk.pl: new/updated tests
11563
11564 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11565         * application-src/amstar.c: fix.
11566
11567 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11568         * perl/Amanda/Application.swg: Remove %init.
11569
11570 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11571         * application-src/amgtar.c, application-src/amgtar_perl.pl,
11572           application-src/amstar.c: Write backup image to fd3 and index to fd4.
11573         * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
11574         * recover-src/extract_list.c: Add more check.
11575         * client-src/client_util.c (backup_support_option): Get stderr of
11576           application and put it in errarray,
11577         * client-src/client_util.h (backup_support_option): New prototype.
11578         * client-src/selfcheck.c, client-src/sendbackup.c,
11579           client-src/sendsize.c: Get stderr of application and send it to
11580                                  server.
11581         * server-src/dumper.c: Log the first error message.
11582         * server-src/planner.c: Log the first error message.
11583         * server-src/reporter.c: Don't print some error in report.
11584
11585 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11586         * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
11587         * client-src/client_util.c (run_calcsize): New function.
11588         * client-src/client_util.h (run_calcsize): Prototype.
11589         * client-src/sendbackup.c: Update amandates.
11590         * client-src/sendsize.c: Handling of calcsize and multi-estimate.
11591         * client-src/selfcheck.c: Check calcsize for application.
11592         * application-src/amgtar_perl.pl, application-src/amstar.c,
11593         * application-src/amgtar.c: handling of calcsize and multi-estimate.
11594         * perl/Amanda/Script_App.pm: Add a check.
11595         * perl/Amanda/Application.swg: Add run_calcsize.
11596         * perl/Amanda/Application.pm: Delete
11597         * perl/Makefile.am: Built from Application.swg
11598         * client-src/calcsize.c: Handling of STAR program.
11599
11600 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11601         * man/xml-source/amgtar.8.xml: Document new properties.
11602         * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
11603
11604 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11605         * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
11606                                      exit with a status != 0.
11607         * server-src/amtape.c: Display changer error.
11608
11609 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11610         * application-src/amgtar.c: Add exit-handling property.
11611
11612 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11613         * application-src/amgtar.c: Add normal, ignore and strange property.
11614
11615 2008-11-04  Jean-Louis Martineau <martineau@zmanda.com>
11616         * server-src/amcheck.c: Check tape_splitsize < tape length.
11617
11618 2008-10-30  Dustin J. Mitchell <dustin@zmanda.com>
11619         * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
11620           add new sort key, 'w', for write_timestamp
11621         * server-src/amadmin.c: use it
11622         * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
11623           the oldest-written copy of a dump
11624
11625 2008-10-30  Jean-Louis Martineau <martineau@zmanda.com>
11626         * application-src/amgtar_perl.pl, application-src/amstar.c,
11627           application-src/amgtar.c: Implement validate command.
11628         * server-src/amcheckdump.pl: Execute the validate command of an
11629                                      application.
11630         * perl/Amanda/Script_App.pm (print_to_server): Add validate.
11631         * perl/Amanda/Application.pm (known_commands): Add validate.
11632         * common-src/security-util.c: Fix typo.
11633
11634 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
11635         * man/xml-source/amanda.conf.5.xml
11636           man/xml-source/amanda-devices.7.xml: improve device property
11637           documentation
11638
11639 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
11640         * man/xml-source/amanda.conf.5.xml: taperflush params can be
11641           greater than 100%
11642
11643 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
11644         * common-src/fileheader.c (dumpfile_free_data): New function.
11645         * common-src/fileheader.h (dumpfile_free_data): New prototype.
11646         * server-src/cmdline.c, server-src/dumper.c,
11647           server-src/planner.c, server-src/amadmin.c,
11648           server-src/amflush.c, server-src/holding.c,
11649           server-src/driver.c, server-src/find.c,
11650           server-src/taper-source.c, server-src/taper-file-source.c
11651           server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
11652
11653 2008-10-27  Dustin J. Mitchell <dustin@zmanda.com>
11654         * common-src/glib-util.c: check library version at runtime
11655
11656 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
11657         * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
11658
11659 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11660         * installcheck/Amanda_Archive.pl: fix to also test for identity of
11661           $user_data on perls that recognize such things
11662
11663 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11664         * amar-src/amar-test.c: don't ignore the return value of write()
11665
11666 2008-10-24  Nikolas Coukouma <atrus@zmanda.com>
11667             Jean-Louis Martineau <martineau@zmanda.com>
11668         * amar-src/amar.c: fix mis-aligned memory accesses
11669         * amar-src/amar-test.c: fix test_pipe
11670
11671 2008-10-24  Jean-Louis Martineau <martineau@zmanda.com>
11672         * perl/Amanda/Script_App.pm: New base module for script and application.
11673         * perl/Amanda/Script.pm: New base module for script.
11674         * perl/Amanda/Application.pm: New base module for application.
11675         * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
11676                                 Amanda::Application.
11677         * application-src/generic-dumper.pl: Remove file.
11678         * application-src/generic-script.pl: Remove file.
11679         * application-src/script-email.pl: Use Amanda::Script.
11680         * application-src/amgtar_perl.pl: Use Amanda::Application.
11681         * application-src/amzfs-snapshot.pl: Use Amanda::Script.
11682         * application-src/Makefile.am: Remove generic-*.pl files.
11683
11684 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11685         * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
11686           libamar
11687         * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
11688
11689 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11690         * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
11691           $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
11692           lint
11693         * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
11694
11695 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
11696         * amar-src/Makefile.am: add amar.h to noinst_HEADERS
11697
11698 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
11699         * configure.in Makefile.am amar-src/Makefile.am: new directory
11700         * amar-src/amar.c amar-src/amar.h: amanda archive library
11701         * amar-src/amar-test.c: tests for library
11702         * common-src/security-util.c common-src/security-util.h
11703           common-src/util.c common-src/util.h: move net_writev to
11704           util.c, rename to full_writev
11705         * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
11706           man/xml-source/amanda.8.xml: new manpage to describe the format
11707
11708 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
11709         * configure.in: add tests for more headers, plus some defines
11710           for the presence of Amanda's headers
11711         * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
11712           POSIX regex API and a GRegex (PCRE) call-compatability layer.
11713         * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
11714           Use callbacks to write and read data. Provide callbacks for
11715           memory buffers and files. The callbacks for files are currently
11716           Windows-specific.
11717         * device-src/s3-device.c: update to use new API
11718
11719 2008-10-20  Dustin J. Mitchell <dustin@zmanda.com>
11720         * perl/Makefile.am: remove spurious variables
11721
11722 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
11723         * changer-src/chg-multi.sh: Check permission on the statefile and its
11724                                     directory.
11725
11726 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
11727         * server-src/planner.c: Set i to 0.
11728
11729 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
11730         * server-src/amcheck.c, server-src/dumper.c
11731           server-src/planner.c: Don't send appliaciton-api request if the
11732                                 client doesn't use the xml protocol.
11733
11734 2008-10-15  Jean-Louis Martineau <martineau@zmanda.com>
11735         * server-src/reporter.c: print space instead of N/A, dumper stats are
11736                                  set to "FLUSH" if it is a flush.
11737
11738 2008-10-13  Dustin J. Mitchell <dustin@zmanda.com>
11739         * device-src/vfs-device.c: re-open the dir handle on every
11740           device start or read label
11741         * installcheck/Amanda_Device.pl: adjust tests to degrade the
11742           VFS device *after* it is started
11743
11744 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11745         * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
11746
11747 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11748         * installcheck/Makefile.am: revert previous commit.
11749         * config/automake/scripts.am: Check for a server perl module.
11750
11751 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11752         * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
11753
11754 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11755         * perl/Makefile.am: Don't check Amanda/Config files.
11756
11757 2008-10-11  Jean-Louis Martineau <martineau@zmanda.com>
11758         * perl/Makefile.am: Check file in top_srcdir if they are not
11759                             in top_builddir.
11760
11761 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11762         * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
11763
11764 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11765         * perl/Makefile.am: test for libConfig.so before doing check.
11766
11767 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11768         * config/automake/scripts.am: Check perl scripts on compilation.
11769           Add -I... to 'make check' to access perl module in build tree.
11770           Add installcheck rules to check perl scripts with installed perl
11771           modules.
11772         * application-src/amstar_perl.pl: Remove file.
11773         * device-src/Makefile.am, application-src/Makefile.am,
11774           server-src/Makefile.am, installcheck/Makefile.am,
11775           common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
11776         * installcheck/Makefile.am:
11777           Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
11778         * perl/Makefile.am: Add rules to check all .pm files for check-local.
11779         * device-src/amtapetype.pl, server-src/amaddclient.pl,
11780           common-src/amgetconf.pl: Fix syntax errors.
11781
11782 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11783         * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
11784           application-src/script-email.pl, application-src/amgtar_perl.pl:
11785             fix typos.
11786
11787 2008-10-10  Nick Smith <nick.smith@techop.ch>
11788         * application-src/amzfs-snapshot.pl: fix typos
11789
11790 2008-10-08  Dustin J. Mitchell <dustin@zmanda.com>
11791         * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
11792         * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
11793           after writing
11794         * server-src/amcheckdump.pl: don't read tapelist
11795         * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
11796
11797 2008-10-08  Nick Smith <nick.smith@techop.ch>
11798         * server-src/driver.c: set degr_mesg to NULL when not degraded
11799
11800 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
11801         * application-src/amzfs-snapshot.pl: Accept execute-where argument.
11802         * application-src/script-email.pl: Accept execute-where argument.
11803         * client-src/client_util.c: Send execute-where argument to script.
11804         * server-src/server_util.c: Send execute-where argument to script.
11805
11806 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
11807         * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
11808                                              properties.
11809         * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
11810
11811 2008-10-03  Dustin J. Mitchell <dustin@zmanda.com>
11812         * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
11813         * common-src/timestamp.c: add comment
11814
11815 2008-10-02  Dustin J. Mitchell <dustin@zmanda.com>
11816         * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
11817         * installcheck/Amanda_DB_Catalog.pl: test it
11818         * perl/Amanda/Logfile.swg: fix typo
11819
11820 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
11821         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
11822           Add new property, S3_SSL, to control the use of SSL/TLS when
11823           connecting to Amazon S3
11824         * man/xml-source/amanda-devices.7.xml:
11825           document S3_SSL and S3_BUCKET_LOCATION
11826
11827 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
11828         * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
11829
11830 2008-10-01  Dustin J. Mitchell <dustin@zmanda.com>
11831         * common-src/amanda.h common-src/conffile.c
11832           oldrecover-src/extract_list.c recover-src/extract_list.c
11833           server-src/amcheck.c server-src/amflush.c server-src/planner.c:
11834           use g_ascii_isspace, as we assume ASCII (for now) and isspace()
11835           is affected by locale and encoding settings.  Thanks to Michael
11836           Reuland for helping track this down.
11837
11838 2008-09-30  Jean-Louis Martineau <martineau@zmanda.com>
11839         * server-src/diskfile.h (xml_optionstr): New prototype.
11840         * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
11841         * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
11842         * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
11843         * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
11844         * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
11845         * server-src/dumper.c: Call clean_dle_str_for_client.
11846         * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
11847         * server-src/diskfile.c (clean_dle_str_for_client): New function.
11848         * restore-src/restore.c: Call clean_dle_str_for_client.
11849         * common-src/amxml.c: Fix parsing.
11850         * common-src/amanda.h (match_no_newline): Prototype.
11851         * common-src/match.c (match_no_newline): New function.
11852
11853 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11854         * restore-src/restore.c: set data.flags for use by the changer_find
11855           callback
11856
11857 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11858         * perl/Amanda/MainLoop.swg: add call_later()
11859         * installcheck/Amanda_MainLoop.pl: test it
11860
11861 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11862         * device-src/rait-device.c: fix typos
11863
11864 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11865         * common-src/semaphore.h: fix typo
11866         * device-src/rait-device.c: add a private threadpool-like
11867           implementation for old glibs, where GThreadPool is susceptible to
11868           deadlock
11869
11870 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
11871         * device-src/device.c device-src/device.h device-src/null-device.c
11872           device-src/property.c device-src/property.h device-src/rait-device.c
11873           device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
11874           device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
11875           device-src/tape-uware.c device-src/tape-xenix.c
11876           device-src/vfs-device.c: add a 'configure' method to the Device API;
11877           revamp device property handling to add source and surety and make
11878           implementation easier
11879         * device-src/rait-device.h device-src/rait-device.c: make RAIT device
11880           calculate block sized based on child devices, if they were configured
11881           explicitly.
11882         * man/xml-source/amanda-devices.7.xml: note that common properties are
11883           not implemented on all devices
11884         * common-src/glib-util.c common-src/glib-util.h: add helpers for
11885           case-insensitive hashes
11886         * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
11887           perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
11888           server-src/amlabel.c server-src/amtape.c server-src/taper.c
11889           server-src/taperscan.c: use new API
11890
11891 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
11892         * server-src/find.c: handle find_result->label == NULL
11893         * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
11894
11895 2008-09-26  Dustin J. Mitchell <dustin@zmanda.com>
11896         * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
11897
11898 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
11899         * server-src/driver.c: Parse dumpsize from taper result.
11900
11901 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
11902         * client-src/selfcheck.c: Set qdevice on common_exit path.
11903
11904 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
11905         * common-src/fileheader.c: fix headers_are_equal
11906
11907 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
11908         * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
11909         * device-src/device.c device-src/device.h: set blocksize in tape
11910           header
11911         * device-src/null-device.c device-src/s3-device.c
11912           device-src/tape-device.c device-src/vfs-device.c: set blocksize
11913           in headers when starting files
11914         * device-src/rait-device.c: duplicate headers for child devices, since
11915           they are no longer const
11916         * server-src/dumper.c: set blocksize on holding-disk files to
11917           DISK_BLOCK_BYTES
11918
11919 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
11920         * device-src/tape-device.c: mark device as non-appendable temporarily,
11921           since file numbers are incorrect when appending
11922         * installcheck/Amanda_Device.pl: handle non-appendable devices
11923
11924 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
11925         * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
11926           argument.
11927         * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
11928         * server-src/chunker.c: Get mesg from ABORT cmd and log it.
11929         * server-src/driver.c: Add the mesg argument to all dumper_cmd and
11930                                chunker_cmd.
11931
11932 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
11933         * server-src/planner.c: Set degr_mesg and send it to driver.
11934         * server-src/driverio.h (sched_t): Add degr_mesg field.
11935         * server-src/driver.c: Parse message if no degraded estimate.
11936
11937 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
11938         * common-src/conffile.c common-src/conffile.h: store a struct
11939           containing both filename and line number for each parameter, and use
11940           it when reporting errors and warnings
11941
11942 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
11943         * device-src/device.c: make 'unimplemented method' an assertion
11944
11945 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
11946         * device-src/s3.c: use max_keys, instead of maximum body size (which
11947           doesn't work) to limit the number of keys listed
11948
11949 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
11950         * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
11951         * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
11952         * server-src/taperscan.c: Check type != F_EMPTY.
11953         * server-src/taper.c: Call changer_label().
11954         * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
11955
11956 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
11957         * device-src/device.c: Don't g_value_unset a bzero value.
11958
11959 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
11960         * server-src/driver.c: Set result_argv=NULL, Fix typo.
11961
11962 2008-09-22  Dustin J. Mitchell <dustin@zmanda.com>
11963         * config/amanda/ps.m4: give up on runtime detection and just special-
11964           case the 'ps' arguments for various systems
11965         * perl/Amanda/Constants.pm.in: add $PS
11966         * perl/Amanda/Process.pm: use $PS
11967
11968 2008-09-19  Jean-Louis Martineau <martineau@zmanda.com>
11969         * server-src/reporter.c (addline): Done it constant time.
11970
11971 2008-09-19  Dustin J. Mitchell <dustin@zmanda.com>
11972         * common-src/Makefile.am common-src/quoting-test.c: new tests
11973         * common-src/token.c common-src/token.h: removed
11974         * common-src/util.c common-src/util.h: new home for quoting functions
11975         * configure.in: don't check for shquote
11976         * man/xml-source/amanda.conf.5.xml: info on quoting
11977         * perl/Amanda/Config/Server.pm: note about incompatibility
11978         * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
11979           server-src/driver.c server-src/driverio.c server-src/driverio.h
11980           server-src/dumper.c server-src/infofile.c server-src/server_util.c
11981           server-src/server_util.h server-src/taper-file-source.c
11982           server-src/taper-port-source.c server-src/taper.c: use new/updated
11983           quoting functions
11984
11985 2008-09-19  Nick Smith <nick.smith@techop.ch>
11986         * example/amanda.conf.in: fix incorrect execute_on examples
11987
11988 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
11989         * server-src/dumper.c: Call security_close_connection before
11990                                checking if pkt == NULL.
11991
11992 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
11993         Patch by Nick Smith
11994         * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
11995         * server-src/diskfile.c: Init xml_app.result to stralloc("").
11996
11997 2008-09-16 Dan Locks <dwlocks@zmanda.com>
11998         * packaging/rpm/amanda.spec:  Added detection of CentOS 4 and 5 as
11999           suggested by dswartz.  added graceful failure when Distro/version is
12000           not detected correctly
12001
12002 2008-09-15  Dustin J. Mitchell <dustin@zmanda.com>
12003         * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
12004
12005 2008-09-14  Dustin J. Mitchell <dustin@zmanda.com>
12006         * server-src/tapefile.c server-src/tapefile.h: add comments to
12007           tapelist
12008         * perl/Amanda/Tapelist.swg: perl tapelist parser, too
12009         * installcheck/Amanda_Tapelist.pl: tests
12010         * man/xml-source/tapelist.5.xml: docs
12011         * server-src/amlabel.c: no initial comments when labeling
12012         * server-src/taper.c: maintain comment when relabeling
12013
12014 2008-09-12  Jean-Louis Martineau <martineau@zmanda.com>
12015         * amandad-src/amandad.c: Fix typo: authetication -> authentication.
12016
12017 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
12018         * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
12019           Mike McConnell for spotting these
12020
12021 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
12022         * server-src/taper.c: improve handling of device errors in taper
12023
12024 2008-09-02  Jean-Louis Martineau <martineau@zmanda.com>
12025         * restore-src/amrestore.c: Load a default server config.
12026
12027 2008-08-29  Dustin J. Mitchell <dustin@zmanda.com>
12028         * autogen: revert glib's configure-time requirement for
12029           pkg-config-0.16
12030
12031 2008-08-28  Dustin J. Mitchell <dustin@zmanda.com>
12032         * device-src/tape-device.c: use the correct blocksize while reading
12033         * device-src/rait-device.c: fix typo
12034         * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
12035           the tape device
12036
12037 2008-08-28  Jean-Louis Martineau <martineau@zmanda.com>
12038         * server-src/dumper.c: Reset the MESG buffer for a new dump.
12039
12040 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
12041         * server-src/amcheck.c: make the check for tapelist result in a NOTE,
12042           not a failure
12043         * server-src/tapefile.c: make a missing tapelist equivalent to an
12044           empty one
12045
12046 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
12047         * config/amanda/types.m4: always include sys/types.h, if it exists,
12048           before trying other headers (fixes builds of FreeBSD-4.x); thanks
12049           to John Hein <jhein@timing.com>
12050         * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
12051           before event.h
12052
12053 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
12054         * perl/amglue/bigint.c: add #include "stdint.h"
12055
12056 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
12057         * config/amanda/ps.m4: search multiple ps invocations; thanks
12058           to John Hein <jhein@timing.com>
12059
12060 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
12061         * server-src/amadmin.ci (tape): Correctly print next tape to use.
12062         * server-src/tapefile.c (print_new_tapes): New function to print new
12063                                                    tapes.
12064         * server-src/tapefile.h (print_new_tapes): Prototype.
12065         * server-src/reporter.c: Correctly print next tape to use.
12066
12067 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
12068         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
12069           add new 'define device' config section
12070         * perl/Makefile.am perl/Amanda/Config/Server.pm
12071           perl/Amanda/Config/Server/Devices.pm
12072           perl/Amanda/Config/Server/Grammar: ditto
12073         * device-src/device.c device-src/device.h: configure devices from
12074           device definitions, with better error handling
12075         * device-src/rait-device.c: handle child devices better
12076         * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
12077           installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
12078           installcheck/amgetconf.pl: new tests, modifications to work with the
12079           new system
12080         * man/xml-source/amanda-devices.7.xml
12081           man/xml-source/amanda.conf.5.xml: corresponding documentation updates
12082         * perl/Amanda/Changer.pm perl/Amanda/Device.swg
12083           restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
12084           server-src/amcheckdump.pl server-src/amdevcheck.pl
12085           server-src/amlabel.c server-src/amtape.c server-src/taper.c
12086           server-src/taperscan.c: remove calls to
12087           set_startup_properties_from_config
12088         * device-src/vfs-test.c: load config before trying to use a device
12089         * common-src/conffile.c: fix use of uninitialized variable
12090
12091 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
12092         * changer-src/chg-disk.sh: replace == with =
12093         * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
12094
12095 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
12096         * server-src/reporter.c: Fix computation of compression ratio.
12097
12098 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
12099         * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
12100         * application-src/amgtar.c, application-src/amgtar_perl.pl:
12101           Ignore "Directory is new" and "Directory has been renamed".
12102
12103 2008-08-21  Jean-Louis Martineau <martineau@zmanda.com>
12104         * common-src/krb5-security.c: Fix security_seterror use.
12105
12106 2008-08-19  Dustin J. Mitchell <dustin@zmanda.com>
12107         * configure.in: check for getgrgid_r and getpwuid_r
12108         * common-src/security-util.c: conditionalize on checks
12109
12110 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
12111         * common-src/version.h: remove #include of config.h
12112         * device-src/vfs-device.c: #include amanda.h first
12113
12114 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
12115         * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
12116         * installcheck/Installcheck/Run.pm: report exit status
12117         * installcheck/Makefile.am installcheck/amtapetype.pl: new test
12118         * man/xml-source/amtapetype.8.xml: updated manpage
12119         * device-src/s3-device.c device-src/vfs-device.c
12120           device-src/tape-device.c: add compression property
12121         * perl/Amanda/Xfer.swg: add POD for the cancel() method
12122         * xfer-src/dest-device.c: add a default for max_memory
12123
12124 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
12125         * common-src/conffile.c: make find_multiplier case-insensitive
12126         * device-src/device.c: reorder assertions
12127         * device-src/tape-device.c: don't set access_mode twice, but
12128           set in_file = FALSE in start
12129         * device-src/s3-device.c: fix property registration
12130         * perl/Amanda/MainLoop.swg: remove attach() from example
12131         * perl/Amanda/Xfer.swg: more detail in POD
12132         * xfer-src/source-pattern.c: operate byte-for-byte, like the random
12133           source, instead of using lots of memcpys and reallocs
12134         * xfer-src/source-random.c: remove redundant check
12135
12136 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
12137         * configure.in Makefile.am tape-src/*: remove tape-src
12138         * changer-src/Makefile.am: don't link with libamtape
12139         * changer-src/chg-scsi.c: don't use libamtape
12140         * changer-src/scsi-changer-driver.c: don't use libamtape
12141         * config/amanda/tape.m4: fix comment
12142         * example/amanda.conf.in example/template.d/tapetypes: fix outdated
12143           comments
12144         * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
12145           remove amdd and ammt manpages
12146         * restore-src/Makefile.am: remove refs to tape-src/
12147         * server-src/Makefile.am: remove refs to tape-src/
12148
12149 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
12150         * common-src/krb4-security.c common-src/krb5-security.c
12151           config/amanda/tape.m4 common-src/amanda.h: remove
12152           --with-maxtapeblocksize
12153         * common-src/conffile.c: deprecate file-pad
12154         * device-src/device-queueing.c device-src/device-queueing.h
12155           device-src/device.c device-src/device.h device-src/null-device.c
12156           device-src/property.c device-src/property.h device-src/rait-device.c
12157           device-src/s3-device.c device-src/tape-device.c
12158           device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
12159           server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
12160           xfer-src/source-device.c perl/Amanda/Device.swg: devices have
12161           {min,max,current} block sizes; remove the short_block parameter from
12162           device_write_block; fix property initialization; rename
12163           PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
12164         * device-src/rait-device.c: set child block sizes explicitly
12165         * installcheck/Amanda_Device.pl: tests; better S3 test count
12166           calculations
12167         * installcheck/Amanda_Xfer.pl: tests
12168         * man/xml-source/amanda-devices.7.xml: update block sizes
12169           documentation
12170         * man/xml-source/amanda.conf.5.xml: refer to block size properties
12171         * restore-src/amrestore.c: use set_restore_device_read_buffer_size
12172         * restore-src/restore.h restore-src/restore.c: add
12173           set_restore_device_read_buffer_size
12174
12175 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
12176         * server-src/driver.c: handle taper_{input,tape}_error memory
12177           correctly, and add taper_tape_error to the trace log
12178
12179 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
12180         * application-src/amzfs-snapshot.pl application-src/script-email.pl:
12181           remove unnecessary 'use Amanda::Device'
12182
12183 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
12184         * common-src/amgetconf.pl: use filename-safe characters for $appname
12185         * installcheck/amgetconf.pl: test it
12186
12187 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
12188         * man/entities/global.entities: add manpage refs
12189         * packaging/rpm/amanda_enterprise.spec
12190           packaging/rpm/amanda_enterprise_client.spec
12191           man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
12192           man/Makefile.am: add disklist(5), tapelist(5)
12193         * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
12194           man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
12195           man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
12196           man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
12197           man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
12198           man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
12199           - remove references to "output drivers" in favor of "device drivers"
12200           - add more inter-page references
12201           - fix typos
12202           - add client_login to amanda-client.conf(5)
12203           - reformat informaltables, which don't render well in HTML or nroff,
12204             into variablelists, with fixes for bad xml->man conversion
12205           - fix funky replacement entities in HTML output
12206         * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
12207         * perl/Amanda/Device.swg: fix typo
12208         * perl/Amanda/MainLoop.swg: add hints for writing async functions
12209         * perl/Amanda/Types.swg: fix bad POD
12210         * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
12211         * perl/Amanda/Xfer.swg: tweaks
12212         * server-src/taper.c: fix typo
12213         * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
12214           will no longer overwrite such tapes
12215
12216 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
12217         * common-src/debug.c: lock debug logging on a per-line basis
12218
12219 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
12220         * device-src/rait-device.c: parse RAIT names with internal {..}
12221         * installcheck/Amanda_Device.pl: light testing
12222
12223 2008-08-15  Dustin J. Mitchell <dustin@zmanda.com>
12224         * common-src/debug.c: include backtraces on fatal errors
12225         * config/amanda/debugging.m4: look for glibc's backtrace support
12226         * configure.in: ditto
12227
12228 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>
12229         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
12230           device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
12231           to date with function signatures
12232
12233 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>,
12234             Nikolas Coukouma <atrus@zmanda.com>
12235         * xfer-src/*: add support for asynchronous cancellation of transfers
12236           and use it for error-handling
12237         * perl/Amanda/Xfer.swg: reflect into perl
12238         * installcheck/Amanda_Xfer.pl: test cancellation
12239
12240 2008-08-12  Dustin J. Mitchell <dustin@zmanda.com>
12241         * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
12242         * man/Makefile.am: remove config.log after running config.status
12243
12244 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
12245         * common-src/conffile.c: cleaner fix for signed compared to unsigned
12246           errors on older versions of GCC.
12247
12248 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
12249         * common-src/Makefile.am: second fix
12250
12251 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
12252         * common-src/Makefile.am: don't syntax-check amgetconf, since
12253           it uses Amanda::* modules
12254
12255 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
12256         * server-src/amgetconf.pl, common-src/amgetconf.pl:
12257           Add --execute-where=client|server and --client options
12258           to make amgetconf query the client configuration
12259           instead. Move from server-src to common-src.
12260         * man/xml-source/amgetconf.8.xml: Document the new options.
12261         * installcheck/amgetconf.pl: Test the new options.
12262         * server-src/Makefile.am, common-src/Makefile.am:
12263           Updated Makefiles for move.
12264         * packaging/deb/amanda-enterprise-backup-client.install,
12265           packaging/sun-pkg/i386/client/prototype:
12266           Add amgetconf to client packages.
12267
12268 2008-08-04 Dan Locks <dwlocks@zmanda.com>
12269         * packaging/rpm/amanda.spec:  add %{tarver} macro and set the correct
12270           minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
12271
12272 2008-08-04  Dustin J. Mitchell <dustin@zmanda.com>
12273         * common-src/conffile.c: workaround gcc<4.1.0 problems with long
12274           constants, don't use G_MAXINT64 in precompiler expressions
12275
12276 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
12277         * server-src/amrmtape.sh: use shell redirection with shell functions
12278
12279 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
12280         * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
12281         * common-src/dgram.c: address family debugging
12282         * common-src/stream.c: address family debugging
12283
12284 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
12285         * common-src/amanda.h common-src/conffile.c common-src/conffile.h
12286           installcheck/Amanda_Config.pl perl/Amanda/Config.swg
12287           server-src/planner.c: replace am64 type with gint64; also replace
12288           some uses of off_t
12289
12290 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
12291         * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
12292           stringify consistently (no '+' prefixing positive numbers).
12293         * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
12294         * installcheck/bigint.pl, perl/amglue/bigint.c:
12295           Use Amanda::BigIntCompat everywhere we use bigint.
12296
12297 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
12298         * common-src/match.c: Correct array index to be within bounds
12299
12300 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
12301         * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
12302           AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
12303           appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
12304           (which causes errors).
12305
12306 2008-07-30  Dustin J. Mitchell <dustin@zmanda.com>
12307         * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
12308         * installcheck/amgetconf.pl: ditto
12309
12310 2008-07-29 Dan Locks <dwlocks@zmanda.com>
12311         * packaging/rpm/amanda.spec:  Merged fixes from enterprise .spec for
12312           parsing redhat-release for fedora versions correctly.
12313
12314 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
12315         * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
12316
12317 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
12318         * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
12319           Also check the returned ETag to make sure it matches the sent MD5 hash.
12320           Use simpler s3_base64_encode() instead of base64_encode().
12321           Correct the use of character classes in several regular expressions.
12322         * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
12323           s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
12324           as some constants. Move regexec_wrap() into this and rename it to
12325           s3_regexec_wrap().
12326         * device-src/Makefile.am: add s3-util.c and s3-util.h
12327
12328 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
12329         * installcheck/Installcheck/Config.pm: don't set default tapetype
12330           unless not set explicitly.
12331         * installcheck/Amanda_Config.pl: test changes
12332         * man/xml-source/amanda-client.conf.5.xml
12333           man/xml-source/amanda.conf.5.xml: encourage, but don't require,
12334           quoted identifiers
12335
12336 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
12337         * server-src/amserverconfig.pl: apply perltidy, factor some common
12338           code, and create the config dir and changer conf only after the check
12339           for mtx is performed
12340
12341 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
12342         * device-src/tests/semaphore-test.c: move function call out of
12343           variable initialization
12344
12345 2008-07-25 Dan Locks <dwlocks@zmanda.com>
12346         * packaging/deb/control: added alternative dependency of libssl0.9.8 for
12347           Ubuntu 8.x builds.  Added build dependencies for debhelper, fakeroot,
12348           libcurl-dev, libssl-dev.  Updated server and client dependency for curl
12349           to libcurl3
12350
12351 2008-07-18 Dan Locks <dwlocks@zmanda.com>
12352         *  configure.in:  add format-security to gcc compile flags
12353         *  server-src/amindexd.c,
12354            server-src/dumper.c,
12355            server-src/reporter.c,
12356            restore-src/restore.c,
12357            common-src/security-util.c,
12358            common-src/bsd-security.c:  replacemented unquoted strings in
12359            function arguments with "%s", arg.  jrfranks's suggestion, dustin provided
12360            syntax for the fix.
12361
12362 2008-07-17 Dan Locks <dwlocks@zmanda.com>
12363         * packaging/debian/amanda-enterprise-backup-*.install: added entries for
12364           applications and devices man pages.
12365
12366 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
12367         * man/Makefile.am: Add amzfs-snapshot.8
12368         * man/xml-source/amzfs-snapshot.8.xml: New man page.
12369         * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
12370         * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
12371         * application-src/amzfs-snapshot.pl: New script
12372         * application-src/Makefile.am: Add amzfs-snapshot
12373         * perl/Amanda/Util.swg: Add sanitise_filename.
12374
12375 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
12376         * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
12377
12378 2008-07-16  Jean-Louis Martineau <martineau@zmanda.com>
12379         * server-src/driver.c: Improve message in failure to dump in degraded
12380                                mode.
12381
12382 2008-07-16 Dan Locks <dwlocks@zmanda.com>
12383         * packaging/deb/control,
12384           packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
12385           build dependency for openssl and curl development files.
12386
12387 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
12388         * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
12389           specifying both IPv{4,6} does not work; remove IPv4
12390
12391 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
12392         * man/Makefile.am: Add new man pages.
12393         * man/xml-source/script-email.8.xml: New man page.
12394         * man/xml-source/amanda.8.xml: List new man pages.
12395         * man/xml-source/amanda-scripts.7.xml: New man page.
12396
12397 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
12398         * configure.in: generate (x)inetd files
12399         * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
12400           example/xinetd.amandaserver.in: give appropriate path for amandad,
12401           from configure (fixes builds on 64-bit machines)
12402 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
12403         * client-src/client_util.c: #include "glib-util.h"
12404         * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
12405         * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
12406         * device-src/rait-device.c: Remove g_ptr_array_foreach.
12407
12408 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
12409         * client-src/client_util.c: Read stdout of scripts.
12410         * client-src/client_util.h: New prototype for run_client_scripts,
12411                                     New client_script_result_t struct.
12412         * client-src/sendbackup.c: Send scripts properties to application.
12413         * client-src/sendsize.c: Send scripts properties to application.
12414         * client-src/selfcheck.c: Send scripts properties to application.
12415         * recover-src/extract_list.c: Send scripts properties to application.
12416         * common-src/amxml.h (script_t) Add field to keep result of script.
12417         * common-src/amxml.c: Set script->result to NULL.
12418
12419 2008-07-14 Dan Locks <dwlocks@zmanda.com>
12420         * packaging/rpm/amanda.spec: fix macro detection of fedora version
12421
12422 2008-07-14 Dan Locks <dwlocks@zmanda.com>
12423         * packaging/rpm/amanda.spec: fix distribution detection, add
12424         activate-devpay to server files list
12425
12426 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
12427         * installcheck/Amanda_Changer.pl: set up and parse a config, now that
12428           Amanda::Changer needs one
12429
12430 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
12431         * perl/Amanda/Changer.pm: set device properties when testing device
12432           labels in the changer
12433
12434 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
12435         * application-src/amgtar.c: Add a DIRECTORY property.
12436         * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
12437
12438 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
12439         * changer-src/chg-lib.sh.in: remove bogus Log() invocations
12440
12441 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
12442         * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
12443           to new manpages
12444
12445 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
12446         * installcheck/Amanda_Device.pl: be more liberal in the flags that are
12447           accepted from S3's read_label; this will reduce false failures
12448
12449 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
12450         * client-src/client_util.c: Remove unused output_tool_property function.
12451         * client-src/client_util.h: Remove output_tool_property prototype.
12452         * man/xml-source/amanda-client.conf.5.xml: Add application and script
12453                                                    sections.
12454         * man/xml-source/amanda.conf.5.xml: Improve application and script
12455                                             sections.
12456         * device-src/device.c: Fix for new property_t.
12457         * server-src/diskfile.h: Change prototype for xml_application and
12458                                  xml_scripts.
12459         * server-src/diskfile.c: Add <priority> tag if client support it.
12460         * server-src/amindexd.c: Fix call to xml_application.
12461         * server-src/amcheck.c: Fix call to xml_application.
12462         * server-src/planner.c: Fix call to xml_application.
12463         * server-src/driverio.c: Fix call to xml_application.
12464         * server-src/server_util.c: Remove code to write property to stdin of
12465                                     script.
12466         * perl/Amanda/Config.swg: Fix for new property_t.
12467         * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
12468         * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
12469                                     function.
12470         * installcheck/Amanda_Config.pl: Fix for new property_t.
12471         * common-src/util.c: Remove unused output_tool_proplist fucntion,
12472                              Fix for new property_t.
12473         * common-src/util.h: Remove output_tool_proplist prototype.
12474         * common-src/amxml.c:Fix for new property_t, parse priority of property.
12475         * common-src/conffile.c: Parse priority of a property,
12476                           Add application and script to amanda-client.conf.
12477         * common-src/conffile.h: New property_t struct.
12478         * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
12479         * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
12480
12481 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
12482         * man/entities/global.entities: Add ENTITY email.jlm.
12483         * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
12484           amgtar.8 and amstar.8.
12485         * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
12486                                             at the begining of a line.
12487         * man/xml-source/amanda-applications.7.xml: New page.
12488         * man/xml-source/amgtar.8.xml: New page.
12489         * man/xml-source/amstar.8.xml: New page.
12490
12491 2008-07-09  Ian Turner <ian@zmanda.com>
12492         * device-src/device.h: Clarify documentation of device_read_label().
12493         * device-src/s3-device.c, device-src/tape-device.c,
12494           device-src/vfs-device.c (device_read_label): Always clear volume
12495           labels, even if device is in error.
12496         * device-src/rait-device.c: Ditto; also properly handle properties
12497           that change device labels.
12498
12499 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
12500         * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
12501           property (for setting location constraints).
12502
12503 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>
12504         * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
12505           when EOF occurs on writing
12506
12507 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>,
12508             Nikolas Coukouma <atrus@zmanda.com>,
12509             Ian Turner <ian@zmanda.com>,
12510             Jean-Louis Martineau <martineau@zmanda.com>
12511         Amanda has been analyzed with Klocwork source code analysis, the most
12512         accurate and comprehensive tool for finding critical programming
12513         errors and security vulnerabilities.
12514         * amandad-src/amandad.c changer-src/chg-scsi.c
12515           client-src/client_util.c client-src/selfcheck.c
12516           client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
12517           common-src/bsd-security.c common-src/fileheader.c
12518           common-src/local-security.c common-src/queueing.c
12519           common-src/security-util.c device-src/property.c
12520           device-src/rait-device.c device-src/tape-device.c
12521           device-src/vfs-device.c recover-src/set_commands.c
12522           restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
12523           server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
12524           server-src/changer.c server-src/chunker.c server-src/cmdline.c
12525           server-src/driver.c server-src/holding.c server-src/logfile.c
12526           server-src/reporter.c server-src/server_util.c
12527           server-src/taper-file-source.c: fix many issues identified
12528           by Klockwork, ranging in severity from stylistic to minor.
12529            - many memory leaks in error paths and application shutdown
12530            - better handling of incorrect commandline arguments
12531            - better resource management (file descriptors, etc.)
12532
12533 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
12534         * device-src/Makefile.am: conditionalize activate-devpay on
12535           WANT_S3_DEVICE
12536
12537 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
12538         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
12539           device-src/activate-devpay.c, device-src/Makefile.am:
12540           Allow both regular S3 and S3-with-DevPay to be used in
12541           the same installation. Remove WANT_DEVPAY macro.
12542         * device-src/s3-device.c: Added a flag, is_devpay, to the device
12543           and handled divergent cases. Removed useless device_error_set calls.
12544         * device-src/s3.c: Use DevPay authentication iff user_token is set.
12545           Replaced some if statements about non-NULL pointers with assertions.
12546         * config/amanda/s3-device.m4, device-src/Makefile.am:
12547           remove devpay flag and WANT_DEVPAY definition.
12548         * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
12549           other S3 tests.
12550
12551 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
12552         * device-src/s3.c: wait for bucket to appear after creation, treat
12553           missing bucket as temporary error, increase retries from 5 to 14
12554           (about 3min), explicitly handle HTTP verbs as libcurl expects.
12555         * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
12556           buckets taking too long to appear.
12557
12558 2008-07-06 Dan Locks <dwlocks@zmanda.com>
12559         * packaging/deb/amanda-backup-server.postrm
12560           packaging/deb/amanda-backup-client.postrm: removed unused
12561           code
12562         * packaging/deb/postrm: fixed typo in deluser command
12563         * packaging/deb/rules: added specific preinst and postrm scripts for
12564           client and server.
12565
12566 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
12567         * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
12568           new files for HTML output
12569         * man/xslt/man.xsl.in: substitute XSLT_VERS
12570         * man/xml-source/amanda-devices.7.xml: tweaks
12571         * man/xml-source/amanda.8.xml: tweaks
12572         * man/xml-source/amanda.conf.5.xml: tweaks
12573         * man/xml-source/amgetconf.8.xml: tweaks
12574         * man/xml-source/amtoc.8.xml: tweaks
12575
12576 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
12577         * common-src/genversion.c: correctly represent available amflock
12578           implementations
12579
12580 2008-07-03  Jean-Louis Martineau <martineau@zmanda.com>
12581         * perl/Amanda/Xfer.swg: #include "glib-util.h"
12582
12583 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12584         * device-src/rait-device.c: don't use self->device_name in open_device
12585
12586 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12587         * installcheck/amgetconf.pl: supply a plugin for scripts
12588
12589 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
12590         * server-src/diskfile.c: Check an application is set if
12591                                  program == "APPLICATION".
12592         * common-src/amxml.c: Check plugin is set for application and script.
12593         * common-src/conffile.c: Check plugin is set for application and script
12594
12595 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
12596         * server-src/amstatus.pl: Fix printing of config path on error.
12597
12598 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12599         * installcheck/Amanda_Device.pl: test that start(READ) without first
12600           reading the label doesn't cause errors
12601         * device-src/s3-device.c: call s3_device_read_label directly
12602
12603 2008-07-02  Ian Turner <ian@zmanda.com>
12604         * man/xml-source/amanda.8.xml: Document how to override device
12605           properties.
12606
12607 2008-07-02  Ian Turner <ian@zmanda.com>
12608         Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
12609         to this patch.
12610         * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
12611           to start RAIT device in degraded mode.
12612         * device/device.c: Be a little more forgiving of NULL devices.
12613         * device-src/vfs-device.c: Fix a bug where vfs_device_start()
12614           would sometimes throw an erroneous assertion.
12615         * device-src/rait-device.c: Be much more robust in error handling;
12616           new feature to start a RAIT device in degraded mode.
12617         * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
12618
12619 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12620         * common-src/amanda.h: remove unused #include <alloca.h>
12621
12622 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12623         * device-src/tape-device.c: add "user" and "good" to feature flags
12624         * man/xml-source/amanda-devices.7.xml: document it
12625
12626 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
12627         * device-src/device.h: fix comments to reflect removal of
12628           autofinishing
12629         * device-src/tape-device.c: remove autofinishing
12630
12631 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
12632         * changer-src/chg-lib.sh.in: also handle bare tape dev names
12633
12634 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
12635         * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
12636         * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
12637           open the debug file
12638
12639 2008-06-30  Dustin J. Mitchell <dustin@zmanda.com>
12640         * common-src/match.c: fix multiple bugs in match_datestamp
12641
12642 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
12643         * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
12644           perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
12645           perl/Amanda/Device.swg perl/Amanda/Logfile.swg
12646           perl/Amanda/Util.swg: POD cleanup
12647         * perl/Makefile.am: new files, rules to make HTML
12648         * perl/amperl.css: CSS file for online POD
12649         * perl/make_html.pl: make online POD
12650
12651 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
12652         * installcheck/Makefile.am installcheck/amstatus.pl: new check
12653
12654 2008-06-27  Ian Turner <ian@zmanda.com>
12655         * server-src/taper.c: fix printing a NULL pointer in the error path
12656
12657 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
12658         * device-src/device.c: check for and fail on multiple
12659           short writes to the same file
12660         * device-src/null-device.c device-src/rait-device.c
12661           device-src/s3-device.c device-src/tape-device.c
12662           device-src/vfs-device.c: do not autofinish files
12663         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
12664           expect devices to autofinish anymore
12665         * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
12666         * device-src/device-queueing.c: comments
12667         * xfer-src/xfer-element.h: comments
12668
12669 2008-06-27  Nikolas Coukouma <atrus@zmanda.com>
12670         * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
12671           Add support for bucket location constraints
12672         * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
12673         * device-src/s3.c device-src/s3.h device-src/s3-device.c:
12674           Checks for libcurl and bucket name compatability with location constraints
12675         * device-src/s3.c: make s3_init() threadsafe,
12676           refactor regex compilation and calling,
12677           refactor perform_request() functions to construct URL later,
12678           use GString to tidy string generation
12679         * installcheck/Amanda_Device.pl: Add tests for location constraints
12680
12681 2008-06-27  Ian Turner <ian@zmanda.com>
12682         * device-src/rait-device.c: Fix a memory corruption issue on the last
12683           block of a file.
12684
12685 2008-06-27  Ian Turner <ian@zmanda.com>
12686         * device-src/rait-device.c: Fix a memory corruption issue on the last
12687           block of a file.
12688
12689 2008-06-27  Ian Turner <ian@zmanda.com>
12690         * device-src/rait-device.c: Track file numbers properly when child
12691           devices change them (that is, in rait_device_start_file() and
12692           rait_device_seek_file()).
12693         * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
12694
12695 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
12696         * device-src/s3-device.c (s3_device_read_label): Don't set
12697           volume_header if nothing is read.
12698
12699 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
12700         * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
12701
12702 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
12703         * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
12704         * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
12705           be busy or offline
12706
12707 2008-06-26  Jean-Louis Martineau <martineau@zmanda.com>
12708         * application-src/amstar.c: Use local start_time variable.
12709         * application-src/amgtar.c: Use local start_time variable.
12710         * common-src/clock.h: Remove times_zero and start_time extern.
12711         * common-src/clock.c: Remove times_zero.
12712
12713 2008-06-25  Jean-Louis Martineau <martineau@zmanda.com>
12714         * server-src/diskfile.c: Don't send encryption in xml req packet for
12715                                  server encryption.
12716
12717 2008-06-25  Dustin J. Mitchell <dustin@zmanda.com>
12718         * application-src/amgtar.c: revert --atime-preserve change
12719
12720 2008-06-22  Dustin J. Mitchell <dustin@zmanda.com>
12721         * application-src/amgtar.c: change --atime-preserve=system to
12722           --atime-preserve
12723
12724 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>
12725         * installcheck/amdump.pl: fix checks to refresh the test configuration
12726
12727 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
12728         * server-src/amdump.sh: correctly handle error exits from planner
12729         * server-src/planner.c: fail if planning fails
12730         * installcheck/amdump.pl: test changes
12731
12732 2008-06-20 Dan Locks <dwlocks@zmanda.com>
12733         * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
12734
12735 2008-06-20 Dan Locks <dwlocks@zmanda.com>
12736         * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
12737
12738 2008-06-20  Jean-Louis Martineau <martineau@zmanda.com>
12739         * client-src/client_util.c: Call check_access() only
12740                                     if getuid() == geteuid().
12741         * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
12742
12743 2008-06-19  Jean-Louis Martineau <martineau@zmanda.com>
12744         * server-src/amcleanup.pl: Correctly rename amdump files.
12745
12746 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
12747         * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
12748         * man/entities/global.entities: emails for dustin and ian
12749         * man/xml-source/amanda.8.xml: refer to new manpage
12750         * man/xml-source/amanda.conf.5.xml: refer to new manpage
12751         * man/xml-source/amrecover.8.xml: refer to new manpage
12752         * server-src/amcheck.c: fix message regarding WORM media
12753
12754 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12755         * server-src/amgetconf.pl: fail on bad parameters or subsections, but
12756           not empty values or subsection lists
12757         * perl/Amanda/Config.swg: publish a list of subsections
12758         * installcheck/amgetconf.pl: test it
12759
12760 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12761         * example/template.d/amanda-single-tape.conf.in
12762           example/template.d/amanda-harddisk.conf.in
12763           example/template.d/amanda-tape-changer.conf.in
12764           example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
12765           use application amgtar instead of program GNUTAR
12766
12767 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12768         * config/amanda/net.m4: AC_SUBST port ranges; update comments
12769
12770 2008-06-19  Satya Ganga <gsat@zmanda.com>
12771         * example/template.d/amanda-single-tape.conf.in
12772           example/template.d/advanced.conf.in: update displayunit to "g" and
12773           remove chg-manual for single tape configurations.
12774
12775 2008-06-19  Ian Turner <ian@zmanda.com>
12776         * device-src/rait-device.c (rait_device_start): Check for consistent
12777           volume label on all child devices, fail with
12778           DEVICE_STATUS_DEVICE_ERROR otherwise.
12779         * installcheck/Amanda_Device.pl: Test for foregoing.
12780
12781 2008-06-19  Paddy Sreenivasan <paddy@zmanda.com>
12782         * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
12783
12784 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12785         * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
12786         * config/automake/scripts.am: explain why
12787
12788 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12789         * changer-src/chg-manual.sh: Make it interruptible.
12790
12791 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12792         * application-src/amgtar.c: Remove check for amandates file.
12793
12794 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12795         * common-src/amanda.h: Fix skip_quoted_string for "\\".
12796         * common-src/file.c: Fix debug_agets for "\\".
12797
12798 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12799         * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
12800
12801 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12802         * client-src/sendsize.c: Report error from application to server.
12803         * application-src/amgtar.c: Report exit status of tar.
12804
12805 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
12806         * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
12807           xfer-src/dest-device.c xfer-src/source-device.c: new elements
12808           Amanda::Xfer:{Dest,Source}::Device
12809         * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
12810         * installcheck/Amanda_Xfer.pl: tests for new elements
12811
12812 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
12813         * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
12814           and amgtar
12815         * installcheck/amservice.pl: put -f switches first
12816
12817 2008-06-15  Dustin J. Mitchell <dustin@zmanda.com>
12818         * installcheck/Amanda_Config.pl: test config overwrites
12819         * common-src/conffile.c: don't segfault applying config overwrites
12820           after config_init(0, NULL)
12821
12822 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
12823         * client-src/sendbackup.c: Run compression and encryption for
12824                                    application-api.
12825
12826 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
12827         * perl/Amanda/Util.swg: Expose get_original_cwd.
12828         * application-src/amgtar_perl.pl, application-src/amoracle.pl:
12829           chdir(get_original_cwd()) before restore.
12830
12831 2008-06-13  Dustin J. Mitchell <dustin@zmanda.com>
12832         * device-src/property.c device-src/property.h: remove tape properties
12833         * device-src/tape-device.c device-src/tape-device.h: add tape
12834           properties
12835
12836 2008-06-12 Dan Locks <dwlocks@zmanda.com>
12837         * packaging/rpm/amanda_enterprise.spec,
12838           packaging/rpm/amanda_enterprise_client.spec,
12839           packaging/deb/rules: install amgtar and amstar suid root
12840
12841 2008-06-12  Jean-Louis Martineau <martineau@zmanda.com>
12842         * client-src/selfcheck.c: Typo.
12843
12844 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12845         * client-src/sendsize.c: Check MAX-LEVEL from application.
12846         * server-src/planner.c: Ask for estimate even if SERVER, estimate is
12847           valid if client return -1 and invelid if client return -2.
12848         * common-src/amfeatures.h: New fe_xml_estimate amfeature.
12849         * common-src/amxml.c: Parse <estimate> tag.
12850         * common-src/amxml.h (dle_t): New estimate field.
12851         * common-src/amfeatures.c: Set fe_xml_estimate.
12852
12853 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12854         * client-src/client_util.c (application_property_add_to_argv):
12855                                    Add include and exclude.
12856         * client-src/client_util.h (application_property_add_to_argv):
12857                                    New prototype.
12858         * client-src/sendbackup.c, client-src/sendsize.c,
12859           client-src/selfcheck.c, recover-src/extract_list.c:
12860           Add bsu param to application_property_add_to_argv.
12861         * client-src/selfcheck.c: Check if application support includ/exclude.
12862         * application-src/amgtar_perl.pl: Don't support include/exclude.
12863         * application-src/amgtar.c: Support include-optional and
12864                                     exclude-optional.
12865         * common-src/amxml.c: Fix include/exclude parsing.
12866
12867 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12868         * application-src/Makefile.am: Install amgtar and amstar suid root.
12869
12870 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12871         * client-src/selfcheck.c: Print cmdline before execing the application.
12872         * application-src/generic-dumper.pl: Cleanup.
12873         * application-src/script-oracle.pl: Cleanup.
12874         * application-src/script-email.pl: Cleanup.
12875         * application-src/amgtar_perl.pl: Cleanup.
12876         * application-src/generic-script.pl: Cleanup.
12877         * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
12878         * perl/Amanda/Debug.swg: Typo.
12879
12880 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
12881         * common-src/Makefile.am: don't use $(builddir), fix comparison
12882         * installcheck/Makefile.am: don't use $(builddir)
12883
12884 2008-06-10  Ian Turner <ian@zmanda.com>
12885         * common-src/fileheader.c: Silence a compiler warning.
12886         * device-src/rait-device.c: ditto.
12887
12888 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
12889         * device-src/rait-device.c: hack around glib bug in versions <2.10.2
12890           using the precompiler macro instead of glib_check_version, which
12891           doesn't exist in every version of glib
12892
12893 2008-06-10 Dan Locks <dwlocks@zmanda.com>
12894         * packaging/rpm/amanda.spec:  Replaced individual SBINDIR/am... entries
12895           with SBINDIR/am* in %%files
12896
12897 2008-06-10  Jean-Louis Martineau <martineau@zmanda.com>
12898         * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
12899
12900 2008-06-09 Dan Locks <dwlocks@zmanda.com>
12901         * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
12902           cause the script to fail.
12903
12904 2008-06-09 Dan Locks <dwlocks@zmanda.com>
12905         * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
12906           use a single SBINDIR/am* entry in %files
12907
12908 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
12909         * common-src/fileheader.c: correctly free dle_str
12910         * device-src/device.c device-src/device.h: add volume_header Device
12911           attributes
12912         * device-src/rait-device.c device-src/s3-device.c
12913           device-src/tape-device.c device-src/vfs-device.c: populate
12914           volume_header
12915         * server-src/amlabel.c: use volume_header to detect a non-empty tape
12916           and require a force (-f) to overwrite it
12917         * server-src/taperscan.c: use volume_header to detect a non-empty tape
12918           and require 'amlabel -f' to overwrite it
12919         * device-src/tape-device.c device-src/vfs-device.c: fix read_label
12920           return values and remove useless chain-up calls
12921
12922 2008-06-09  Jean-Louis Martineau <martineau@zmanda.com>
12923         * server-src/amservice.c: Open input file in read mode, prepend
12924                                   get_original_cwd() to relative path.
12925         * installcheck/Makefile.am: Check amservice only on server.
12926
12927 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
12928         * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
12929
12930 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
12931         * man/xml-source/amanda.8.xml: add links to amservice
12932
12933 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12934         * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
12935         * configure.in: don't call AC_SOCKADDR_STORAGE
12936
12937 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12938         * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
12939
12940 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12941         * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
12942           handling so that checks can load/unload vtapes "manually"
12943
12944 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12945         * server-src/amdevcheck.pl: apply config_overwrites before printing
12946           config errors
12947
12948 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12949         * application-src/amgtar_perl.pl application-src/amstar_perl.pl
12950           application-src/generic-dumper.pl application-src/generic-script.pl
12951           application-src/script-email.pl server-src/amgetconf.pl: add GPL
12952           notice
12953
12954 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12955         * server-src/amservice.c: Exit with 1 if the connection fail.
12956         * man/xml-source/amservice.8.xml: Document exit code.
12957
12958 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
12959         * device-src/device.c: make device_set_error bulletproof to NULLs
12960         * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
12961           not defined
12962
12963 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12964         * man/Makefile.am: Add amservice.8.
12965         * man/xml-source/amservice.8.xml: New man page for amservice.
12966         * server-src/amservice.c: New program to execute an amanda service
12967                                   on a client.
12968         * server-src/Makefile.am: Add amservice
12969         * installcheck/amservice.pl: New check for amservice program.
12970         * installcheck/Makefile.am: Add amservice
12971
12972 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12973         * server-src/dumper.c: Don't quote dle_str.
12974         * common-src/fileheader.c: DLE= in header is like heredoc.
12975
12976 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
12977         * device-src/*: major overhaul:
12978           - add device_set_error to set error status and message for Device
12979           - every error return from a device API method sets error status
12980           - device_status_error is now threadsave
12981           - a device in an error state will not perform further operations
12982           - ensure Device attributes are set correctly by member functions
12983           - device_open never returns NULL, but may return a null device with
12984             error status set
12985           - clearly define $device_name="$device_type:$device_node"
12986           - send RAIT logging to the debug log
12987           - vfs, tape devices don't touch the device until read_label or start
12988           - on out-of-space in write, set is_eof, finish the file, and return
12989             FALSE
12990           - use accessor functions in Amanda::Device
12991           - move device-specific properties to live with their devices
12992           - change g_return_val_if_fail to g_assert or explicit checks
12993           - remove most default Device methods, as they were more confusing
12994             than helpful
12995           - misc. other cleanup
12996         * device-src/null-device.h device-src/rait-device.h
12997           device-src/s3-device.h device-src/vfs-device.h: removed to make most
12998           device class declarations local to the source file
12999         * perl/Amanda/Device.swg: new error handling
13000         * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
13001           server-src/amcheck.c server-src/amcheckdump.pl
13002           server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
13003           server-src/taperscan.c: use new device error-handling
13004         * server-src/taper-file-source.c server-src/taper-port-source.c
13005           server-src/taper-source.c: rename GObject constants (typo)
13006         * server-src/taper-source.h:
13007         * server-src/taper.c: handle opening devices better, log on EOM
13008         * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
13009           correctly
13010         * installcheck/amdevcheck.pl: volume-unlabeled message has changed
13011         * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
13012           classes
13013         * configure.in device-src/tests/: removed
13014         * device-src/vfs-test.c: moved from device-src/tests/
13015
13016 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
13017         * client-src/sendbackup.c: Don't write the uncompression program if
13018                                    it is not client compressed.
13019
13020 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
13021         * server-src/taper.c: Log no-tape line.
13022
13023 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
13024         * server-src/reporter.c: Improve formating.
13025
13026 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
13027         * server-src/driver.c: start the degraded mode if it receive
13028                                NO-NEW-TAPE from taper.
13029
13030 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
13031         * server-src/amcheckdump.pl: Check log fiels in directory if find_log
13032                                      find no log for the timestamps.
13033
13034 2008-06-05  Dustin J. Mitchell <dustin@zmanda.com>
13035         * common-src/conffile.c common-src/conffile.h: expose config_add_error
13036         * server-src/diskfile.c server-src/diskfile.h: use config_add_error
13037           to send diskfile errors to conffile's error-handling mechanism
13038         * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
13039           server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
13040           server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
13041           server-src/planner.c: parse disklist along with config
13042
13043 2008-06-04  Jean-Louis Martineau <martineau@zmanda.com>
13044         And Dustin J. Mitchell <dustin@zmanda.com>
13045         * man/xml-source/amanda-client.conf.5.xml: Document property.
13046         * installcheck/Amanda_Config.pl: Add test for client property.
13047         * common-src/conffile.c (client_var): Add CONF_PROPERTY.
13048
13049 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
13050         * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
13051         * common-src/fileheader.c: Don't print NULL dle_str.
13052
13053 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
13054         * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
13055                                    add fe_amrecover_dle_in_header.
13056         * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
13057         * recover-src/set_commands.c: Use fe_amindexd_DLE.
13058         * server-src/dumper.c: Set dle_str and add it to the header.
13059         * restore-src/restore.c: Remove dle_str is client doesn't have
13060                                  fe_amrecover_dle_in_header.
13061         * common-src/fileheader.c: Parse and set dle_str from header.
13062         * common-src/fileheader.h: Add dle_str in dumpfile_t.
13063
13064 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
13065         * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
13066           man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
13067           man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
13068
13069 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
13070         * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
13071                                                  subsec_name.
13072         * installcheck/amgetconf.pl: Fix and add more tests.
13073
13074 2008-06-03  Dustin J. Mitchell <dustin@zmanda.com>
13075         * common-src/amxml.c: give parse error on an empty "disk" element
13076         * server-src/diskfile.c: give parse error on an empty "disk" element
13077
13078 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
13079         * common-src/security-util.c: Remove unneeded pointer cast.
13080         * common-src/stream.c: Fix compiler error.
13081
13082 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
13083         * installcheck/Installcheck/Config.pm: fix subsection inheritance
13084
13085 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
13086         * common-src/amanda.h, common-src/bsd-security.c,
13087           common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
13088           common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
13089           common-src/security-util.c, common-src/security-util.h,
13090           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
13091           common-src/stream.c, common-src/util.c, common-src/util.h,
13092           restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
13093           change all relevant functions to use it, to avoid aliasing violations
13094
13095 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
13096         * common-src/conffile.c (lookup_keyword): Use temporary variable.
13097         * installcheck/Amanda_Config.pl:  Check insentivity of -/_ in amanda
13098                                           keyword.
13099         * installcheck/Installcheck/Config.pm: Adjust to make the subsection
13100                                                inheritance work.
13101
13102 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
13103         * recover-src/extract_list.c: Send properties from dump_dle to
13104                                       application plugin.
13105
13106 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
13107         * client-src/client_util.c: New *-RECOVER scripts.
13108         * application-src/script-email.pl: Add new *-RECOVER scripts.
13109         * application-src/generic-script.pl: Add new *-RECOVER scripts.
13110         * application-src/amstar.c: Fix.
13111         * application-src/amgtar.c: Fix.
13112         * recover-src/amrecover.c: Add a global dump_dle variable.
13113         * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
13114                                       scripts.
13115         * recover-src/amrecover.h: Add an extern dump_dle variable.
13116         * recover-src/set_commands.c: Send to amindexd the DLE command.
13117         * server-src/amindexd.c: Handle the DLE command.
13118         * server-src/server_util.c: Add *-RECOVER scripts, they can't be
13119                                     executed on server.
13120         * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
13121         * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
13122         * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
13123         * common-src/amxml.c: Add *-RECOVER scripts.
13124         * common-src/conffile.c: Add *-RECOVER scripts.
13125         * common-src/conffile.h: Add *-RECOVER scripts.
13126
13127 2008-05-29  Dustin J. Mitchell <dustin@zmanda.com>
13128         * common-src/conffile.c: make config insensitive to
13129           differences between '-' and '_'
13130         * man/xml-source/amanda-client.conf.5.xml
13131           man/xml-source/amanda.conf.5.xml
13132           man/xml-source/amgetconf.8.xml: document it
13133         * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
13134           tests
13135
13136 2008-05-29  Orion Poplawski <orion@cora.nwra.com>
13137         * server-src/chunker.c: fix buffer overrun
13138
13139 2008-05-29  Jean-Louis Martineau <martineau@zmanda.com>
13140         * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
13141
13142 2008-05-28  Dustin J. Mitchell <dustin@zmanda.com>
13143         * device-src/rait-device.c: rait-device returns correct size when
13144           blocksize is too small
13145
13146 2008-05-28  Jean-Louis Martineau <martineau@zmanda.com>
13147         * server-src/reporter.c: Fix ignoring pid line.
13148
13149 2008-05-27  Jean-Louis Martineau <martineau@zmanda.com>
13150         * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
13151         * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
13152
13153 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
13154         * server-src/amstatus.pl: use lib '@amperldir@';
13155         * perl/Amanda/Process.pm: use Amanda::Constants;
13156
13157 2008-05-26  Dustin J. Mitchell <dustin@zmanda.com>
13158         * device-src/rait-device.c: temporarily remove the call to set the
13159           BLOCK_SIZE property on all RAIT children, as it fails with VFS
13160           devices
13161         * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
13162           correctly detect and handle child device failures
13163         * common-src/fileheader.c: fix parse_file_header to be threadsafe
13164
13165 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
13166         * device-src/tape-aix.c, device-src/tape-xenix.c
13167           device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
13168         * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
13169         * device-src/property.c: Add broken_gmt_online property.
13170         * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
13171         * device-src/tape-device.c: Use broken_gmt_online property.
13172         * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
13173         * device-src/tape-ops.h (tape_is_ready): Change prototype.
13174
13175 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
13176         * changer-src/chg-zd-mtx.sh: Fix logging.
13177
13178 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
13179         * packaging/rpm/amanda.spec: Fix output message.
13180
13181 2008-05-25  Dustin J. Mitchell <dustin@zmanda.com>
13182         * common-src/Makefile.am common-src/simpleprng.c
13183           common-src/simpleprng.h: new simple PRNG module for
13184           reproducible use in tests (bitlength bug fixed).
13185         * xfer-src/dest-null.c: verify stream against PRNG
13186         * xfer-src/source-random.c: use PRNG to create stream
13187         * installcheck/Amanda_Xfer.pl: verify streams in xfers
13188         * perl/Amanda/Xfer.swg: use PRNG
13189         * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
13190           PRNG to test glue elements
13191
13192 2008-05-23  Dustin J. Mitchell <dustin@zmanda.com>
13193         * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
13194           reading from dying child
13195
13196 2008-05-22  Dustin J. Mitchell <dustin@zmanda.com>
13197         * xfer-src/xfer-test.c: don't try to write to a file in the
13198           source directory
13199
13200 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
13201         * perl/Amanda/Process.pm (load_ps_table): Fix split.
13202
13203 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
13204         * configure.in: Call AMANDA_PS_ARGUMENT
13205         * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
13206                                                     argument.
13207         * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
13208         * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
13209
13210 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
13211         * perl/Amanda/Process.pm: process_alive return '' if the process is
13212                                   dead.
13213         * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
13214         * installcheck/Makefile.am (server_tests): Add Amanda_Process.
13215
13216 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
13217         * server-src/amstatus.pl: Add "failed: killed while" to some status if
13218                                   the driver process is dead.
13219         * perl/Amanda/Process.pm: New process_alive function.
13220
13221 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
13222         * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
13223           server-src/amflush.c, server-src/driver.c, server-src/taper.c,
13224           restore-src/amidxtaped.c, restore-src/restore.c,
13225           restore-src/amfetchdump.c: Convert all pid_t to long before printing.
13226
13227 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
13228         * man/xml-source/amcleanup.8.xml: Document new -p option.
13229         * server-src/logfile.c (program_str): Add many programs.
13230         * server-src/logfile.h (program_e): Add many programs.
13231         * server-src/dumper.c, server-src/planner.c,
13232           server-src/chunker.c, server-src/amflush.c,
13233           server-src/driver.c, server-src/taper.c,
13234           restore-src/amidxtaped.c, restore-src/restore.c,
13235           restore-src/amfetchdump.c,
13236           server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
13237         * server-src/server_util.c (run_amcleanup): New function to run
13238                                                     amcleanup.
13239         * server-src/server_util.c (get_master_process): New function get the
13240                                  name of the first pid line in a log file.
13241         * server-src/server_util.h (run_amcleanup): Prototype.
13242         * server-src/server_util.h (get_master_process): Prototype.
13243         * server-src/reporter.c: Ignore pid and pid-done lines.
13244         * server-src/amcleanup.pl: New amcleanup program written in perl.
13245         * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
13246                                   SCRIPTS_PERL.
13247         * server-src/amcleanup.sh: Old program removed.
13248         * perl/Amanda/Process.pm: New module to hanlde amanda process.
13249         * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
13250
13251 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
13252         * server-src/driver.c: Fix quoting of diskname.
13253
13254 2008-05-20  Dustin J. Mitchell <dustin@zmanda.com>
13255         * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
13256           necessarily socklen_t used by getpeername et al.
13257         * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
13258           common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
13259           common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
13260           use the type instead of socklen_t
13261
13262 2008-05-20  Jean-Louis Martineau <martineau@zmanda.com>
13263             Dustin J. Mitchell <dustin@zmanda.com>
13264             John Franks <jrfranks@zmanda.com>
13265         * server-src/amstatus.pl: quote disknames in amstatus
13266         * server-src/Makefile.am: don't check amstatus (since it
13267           uses Amanda::* libs)
13268         * perl/Amanda/Util.swg: add (un)quote_string
13269         * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
13270
13271 2008-05-16  Jean-Louis Martineau <martineau@zmanda.com>
13272         * common-src/conffile.c: Fix conf_parserror use.
13273
13274 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
13275         * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
13276           XFA in server builds
13277
13278 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
13279         * common-src/conffile.c: Parse send-amreport-on.
13280         * common-src/conffile.h (send_amreport_t): New enum for possible value
13281                                                    of send-amreport-on.
13282         * server-src/reporter.c: Use send-amreport-on setting.
13283         * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
13284         * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
13285
13286 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
13287         * client-src/client_util.c (application_property_argv_size): New
13288           function to count the number of argument needed to store all
13289           properties of an application for + * a dle in an ARGV.
13290         * client-src/client_util.c (application_property_add_to_argv): New
13291           function to add all properties of an application for a dle to an ARGV.
13292         * client-src/client_util.h (application_property_argv_size,
13293                                   application_property_add_to_argv): Prototype.
13294         * client-src/sendbackup.c, client-src/sendsize.c,
13295           client-src/selfcheck.c: Use new functions to pass properties as
13296                                   argument to application plugin.
13297         * application-src/script-email.pl, application-src/amstar.c,
13298           application-src/generic-script.pl,
13299           application-src/amgtar.c: Get properties from command line.
13300         * server-src/server_util.c: Use new functions to pass properties as
13301                                     argument to pre/post script.
13302         * common-src/util.c (count_proplist): Callback function to count the
13303                                               number of values of a property.
13304         * common-src/util.c (proplist_add_to_argv): callback function to store a
13305                                         property and it's value in an ARGV.
13306         * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
13307         * common-src/conffile.c (property_argv_size): New function to count the
13308                                                       number of properties.
13309         * common-src/conffile.c (property_add_to_argv): New function to store a
13310                                         property and it's value in an ARGV.
13311         * common-src/conffile.h (property_argv_size,
13312                                  property_add_to_argv): Prototype.
13313
13314 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
13315         * xfer-src/Makefile.am: add element-glue.h to the distribution
13316         * xfer-src/element-glue.h: add 'extern'
13317         * xfer-src/xfer-test.c: fix test elements
13318         * xfer-src/xfer.c: don't use the sometimes-undefined constant
13319           G_MAXINT32
13320         * xfer-src/source-random.c: Only use 'prolong' for threads, not
13321           push/pull methods
13322         * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
13323           XMSG_INFO
13324
13325 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
13326         * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
13327           xfer-src/source-random.c xfer-src/xfer-test.c
13328           xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
13329           xfer-src/source-fd.c xfer-src/element-glue.h
13330           xfer-src/Makefile.am xfer-src/filter-xor.c
13331           xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
13332           of transfer mechansims and new algorithm for linking xfers, with
13333           expanded unit tests to exercise new glue elements
13334         * installcheck/Amanda_Xfer.pl: updated installchecks
13335         * common-src/semaphore.h: fix comment typo
13336         * common-src/testutils.c common-src/testutils.h: optionally skip
13337           timeouts (-t), and only show g_debug messages if -d is given
13338
13339 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
13340         * client-src/amhpfixdevs.sh client-src/Makefile.am
13341           client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
13342           permanently remove amsinixfixdevs and amhpfixdevs
13343
13344 2008-05-12  Jean-Louis Martineau <martineau@zmanda.com>
13345           Patch by Orion Poplawski
13346         * server-src/planner.c: Warn about overwrite of last level 1, and
13347           force backup of level 1 if overwrite on this run.
13348
13349 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
13350         * common-src/conffile.c: Define default tapetype.
13351
13352 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
13353         * device-src/tape-device.c (tape_validate_properties): New function to
13354           validate properties.
13355
13356 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
13357         * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
13358
13359 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
13360         * common-src/conffile.c: Check the tapetype is defined.
13361
13362 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
13363         * device-src/tape-device.c: Allow user to set "read_buffer_size"
13364                                     property.
13365         * restore-src/amrestore.c: Don't limit blocksize to
13366                                    --with-maxtapeblocksize.
13367         * common-src/conffile.c: Increase readblocksize to blocksize.
13368           blocksize and readblocksize can be bigger than
13369           --with-maxtapeblocksize.
13370
13371 2008-05-06  Jean-Louis Martineau <martineau@zmanda.com>
13372         * common-src/conffile.c: Add a 'mailer' config parameter.
13373         * common-src/conffile.h: Add CNF_MAILER.
13374         * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
13375           changer-src/chg-manual.sh, application-src/script-email.pl
13376           server-src/amcheck.c server-src/amgetconf.pl
13377           server-src/reporter.c: Use mailer from config.
13378         * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
13379         * config/amanda/progs.m4: Set DEFAULT_MAILER.
13380         * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
13381         * man/xml-source/amanda-client.conf.5.xml,
13382           man/xml-source/amanda.conf.5.xml,
13383           man/xml-source/amgetconf.8.xml: Update man pages.
13384
13385 2008-05-02 Dan Locks <dwlocks@zmanda.com>
13386         * packaging/rpm/amanda.spec:  Replace ${ with %{ where applicable.
13387
13388 2008-05-02 Dan Locks <dwlocks@zmanda.com>
13389         *  packaging/deb/amanda-enterprise-backup-server.postinst
13390            packaging/rpm/amanda_enterprise.spec:  Change .am_passphrase to a
13391            semi-random number in both packages.
13392
13393 2008-04-29  Dustin J. Mitchell <dustin@zmanda.com>
13394         * config/amanda/dirs.m4: note that --with-dumperdir is
13395           deprecated in ./configure --help
13396
13397
13398 2008-04-28  Jean-Louis Martineau <martineau@zmanda.com>
13399         * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
13400
13401 2008-04-28  Dustin J. Mitchell <dustin@zmanda.com>
13402         * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
13403           xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
13404           Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
13405         * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
13406           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
13407           reorganize detection of transfer completion, to handle cases where
13408           elements don't do any active processing
13409         * installcheck/Amanda_Xfer.pl: test it all
13410
13411 2008-04-24  Jean-Louis Martineau <martineau@zmanda.com>
13412         * server-src/reporter.c: Correctly print truncated quoted diskname.
13413
13414 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
13415         * installcheck/Amanda_MainLoop.pl common-src/event-test.c
13416           common-src/queueing-test.c: try to make tests more resilient
13417           to heavily-loaded, slow machines
13418
13419 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
13420         * common-src/security-util.c: Typo.
13421
13422 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
13423         * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
13424         * common-src/event.c: Check event is not dead before fire it.
13425
13426 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
13427         * server-src/planner.c: Fix vstrextend use.
13428
13429 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
13430         * common-src/event.c: use internal child_watch_source
13431           for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
13432           signals and are thus unreliable
13433
13434 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
13435         * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
13436           parsing of 'sec' and 'kb' from logfile messages
13437         * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
13438         * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
13439           for new module
13440
13441 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
13442         * common-src/event.c: on glib <2.4.0, use a simple polling
13443           child_watch_source; on more recent glib, use glib's own
13444           child_watch_source
13445
13446 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
13447         * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
13448           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
13449           xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
13450           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
13451           - flatten XferElement hierarchy to one level
13452           - change test element argument order
13453           - rename XMsg.src to Xmsg.elt
13454           - Improve memory management (refcounting, perl interface)
13455         * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
13456           perl/Amanda/MainLoop.swg perl/Makefile.am
13457           perl/amglue/amglue.h perl/amglue/source.c:
13458           - rewrite handling of amglue_Source for better refcounting
13459           - Amanda::MainLoop callbacks get the event source as 1st argument,
13460             and will be called even if the event source goes out of scope in
13461             perl
13462           - MainLoop.swg significantly rewritten to get refcounting right
13463         * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
13464           file descriptors)
13465         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
13466            checks
13467
13468 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
13469         * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
13470                                    on ioctl error.
13471         * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
13472                          possible errors are VOLUME_MISSING or DEVICE_BUSY.
13473
13474 2008-04-22  Kevin Zembower <kzembowe@jhuccp.org>
13475         * man/xml-source/amflush.8.xml: add amflush example
13476
13477 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
13478         * device-src/tape-device.c: Move all device access from
13479           tape_device_open_device to tape_device_read_label.
13480           tape_device_start read the label if it is not already read.
13481         * device-src/vfs-device.c (vfs_device_open_device): remove read of the
13482                                                             label.
13483
13484 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
13485         * device-src/tape-device.c (check_resetofs): Compilation fix if
13486                                                      NEED_RESETOFS is defined.
13487         * device-src/tape-posix.c: Handle no ENOMEDIUM.
13488
13489 2008-04-21  Dan Locks <dwlocks@zmanda.com>
13490         * packaging/deb/buildpkg: modified build script to create unsigned
13491           packages
13492
13493 2008-04-21  Jean-Louis Martineau <martineau@zmanda.com>
13494         * changer-src/chg-lib.sh.in (amdevcheck_status):
13495           Set amdevcheck_message.
13496         * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
13497           changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
13498           changer-src/chg-multi.sh: Output amdevcheck_message
13499         * device-src/device.c: Set errmsg and status.
13500           device_open always return a device, the status and errmsg are set.
13501         * device-src/device.h: Define DeviceStatusFlags.
13502         * device-src/null-device.c, device-src/s3-device.c,
13503           device-src/tape-device.c, device-src/vfs-device.c,
13504           device-src/rait-device.c: Set errmsg and status.
13505         * device-src/tape-posix.c: Return status for VOLUME_MISSING.
13506         * device-src/tape-ops.h: Remove TapeCheckResult.
13507         * server-src/taper-source.h (_TaperSource): Add errmsg.
13508         * server-src/taper-source.c: Set errmsg
13509         * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
13510           server-src/taperscan.c, restore-src/amrestore.c,
13511           restore-src/restore.c: Use status and errmsg of a device.
13512         * server-src/taper-disk-port-source.c: Set errmsg.
13513         * server-src/reporter.c: Fix parsing of taper PARTIAL line.
13514         * server-src/taper.c: Use errmsg for device and _TaperSource.
13515         * server-src/taper-file-source.c: Set errmsg.
13516         * server-src/amcheckdump.pl,
13517           server-src/amdevcheck.pl: Use status and errmsg from device.
13518         * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
13519         * perl/Amanda/Device.swg: New interface.
13520         * installcheck/Makefile.am: Don't print some commands.
13521         * installcheck/Amanda_Device.pl: Check new device api.
13522         * common-src/queueing.c: Use new queue_fd_t.
13523         * common-src/queueing.h (queue_fd_t): new struct.
13524         * common-src/amanda-sh-lib.sh.in: Fix bug.
13525         * common-src/queueing-test.c: Use queue_fd_t.
13526
13527 2008-04-21  Dustin J. Mitchell <dustin@zmanda.com>
13528         * installcheck/amgetconf.pl: properly quote filenames in
13529           regex, to avoid spurious failures when e.g., '+' appears
13530           in the filename
13531
13532 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
13533         * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
13534           Amanda::MainLoop, allowing asynchronous operation of
13535           changers
13536         * server-src/amcheckdump.pl: use new Amanda::Changer
13537           interface (synchronously, until we have Amanda::Xfer)
13538         * installcheck/Amanda_Changer.pl: test new interface
13539
13540 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
13541         * installcheck/Makefile.am: build $(full_tests) too
13542
13543 2008-04-18  Cyrille Bollu <Cyrille.Bollu@fedasil.be>
13544         * client-src/sendsize.c: use --numeric-owner during 'sendsize'
13545
13546 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
13547         * installcheck/Makefile.am: segregate installchecks that require
13548           both client and server components
13549
13550 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
13551         * common-src/debug.c: add Amanda version to debug logs
13552
13553 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
13554         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
13555           process type and context process attributes
13556         * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
13557           debug_init to set up debugging according to the process context, and
13558           log nothing in CONTEXT_SCRIPTUTIL
13559         * server-src/amgetconf.pl server-src/amdevcheck.pl:
13560           CONTEXT_SCRIPTUTIL
13561         * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
13562         * installcheck/Amanda_Debug.pl: add comment
13563
13564 2008-04-16  Dan Locks <dwlocks@zmanda.com>
13565         * Fixes to debian package reported by daniel_P
13566         * packaging/deb/preinst: remove spaces near ${amanda_group}
13567         * packaging/deb/amanda-backup-server.dirs
13568           packaging/deb/amanda-backup-client.dirs: added var/amanda and
13569           usr/share/lintian/overrides
13570         * packaging/deb/rules: added logic to find PERLSITELIB and append that
13571           to amanda-backup-server.install, removed broken brace expansion
13572         * packaging/deb/buildpkg: removed extraneous configure step
13573         * packaging/deb/amanda-backup-server.postinst: added check for correct
13574           permissions on /tmp/amanda
13575
13576 2008-04-16  Dan Locks <dwlocks@zmanda.com>
13577         * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
13578           from configure invocation.  no longer necessary.
13579
13580 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
13581         * device-src/s3.c config/amanda/s3-device.m4: test curl features
13582           at runtime, instead of compile time, and always use SSL if it
13583           is available.
13584
13585 2008-04-16  Jean-Louis Martineau <martineau@zmanda.com>
13586         * server-src/amadmin.c: Improve message.
13587         * man/xml-source/amanda.conf.5.xml: Fix man page.
13588         * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
13589
13590 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
13591         * config/amanda/dumpers.m4: continue searching for gnutar if we
13592           find a binary claiming to be gnu tar that is not.  This gets
13593           around serious breakage on Ubuntu, where star is installed as
13594           /bin/gnutar, but /bin/tar is actually GNU Tar.
13595
13596 2008-04-15  Dustin J. Mitchell <dustin@zmanda.com>
13597         * common-src/file.c(mk1dir): fix reversed conditional to handle
13598           a race condition
13599
13600 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13601         * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
13602           msg_timestamp() to stderr.
13603
13604 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13605         * server-src/dumper.c: Call error() only after set_logerror is done.
13606         * server-src/planner.c: Call error() only after set_logerror is done.
13607         * server-src/chunker.c: Report a better error message.
13608         * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
13609
13610 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13611         * server-src/find.c (dumps_match_dumpspecs): New function to only keep
13612           dumps that match a dumpspecs, using it simplify amfetchdump.
13613         * server-src/find.h (dumps_match_dumpspecs): Prototype.
13614         * restore-src/amrestore.c: Add a first_restored_file to
13615           search_a_tape(), to allow restore ot stop after the first image.
13616         * restore-src/restore.c: Set first_restored_file, it was never set,
13617           it's needed to stop after the first image.
13618         * restore-src/restore.c (restore_from_tapelist): break if piping to
13619           stdout.
13620         * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
13621         * restore-src/amfetchdump.c: If -p, the keep only one dump.
13622         * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
13623         * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
13624         * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
13625         * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
13626         * installcheck/Amanda_Logfile.pl: Add many tests.
13627
13628 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13629         * tape-src/tapetype.c: Initialize an default config.
13630
13631 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13632         * common-src/util.c (connect_portrange, connect_port, bind_portrange):
13633           Return the latest errno reported.
13634
13635 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13636         * common-src/conffile.c common-src/conffile.h
13637           perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
13638           new interface for config errors, re-introduce rawtapedev for
13639           deprectation purposes
13640         * installcheck/Installcheck/Config.pm: support test
13641           amanda-client.conf files
13642         * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
13643         * client-src/client_util.c client-src/client_util.h: add
13644           config_errors_to_error_string
13645         * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
13646           better, so users see client-side config errors
13647         * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
13648           changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
13649           client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
13650           application-src/amgtar.c recover-src/amrecover.c
13651           server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
13652           server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
13653           server-src/amtape.c server-src/amcheckdump.pl
13654           server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
13655           server-src/driver.c server-src/reporter.c server-src/taper.c
13656           server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
13657           server-src/amlabel.c installcheck/Amanda_Changer.pl
13658           installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
13659           installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
13660           restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
13661           error interface
13662
13663 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13664         * server-src/diskfile.c: improve messages when client does not
13665           support required features
13666
13667 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13668         * installcheck/Amanda_Config.pl common-src/conffile.c
13669           common-src/conffile.h: fix deprecation of keywords to
13670           actually issue a warning.  'netusage' is no longer
13671           deprecated.
13672
13673 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13674         * common-src/event.c: use SA_RESTART for child_watch_source
13675
13676 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13677         * perl/Amanda/MainLoop.swg perl/amglue/source.c
13678           installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
13679           GSources defined in event.c, using an extensible model
13680         * common-src/event.c: check whether child_watch_source's signal
13681           handler has been replaced, and issue a warning if it has.
13682
13683 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13684         * common-src/queueing.c: fix condition (thanks to Jean-Louis
13685           Martineau)
13686
13687 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13688         * common-src/Makefile.am common-src/queueing-test.c: new tests
13689         * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
13690         * common-src/queueing.c: fix two bugs:
13691           - spurious in-place memmove on every buffer copy
13692           - silent discard of a final packet if the consumer does not
13693             completely consume it
13694         * common-src/queueing.h: update comments
13695         * common-src/testutils.h: add header-protection macros
13696
13697 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13698         * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
13699           for Amanda::Device
13700
13701 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13702         * man/xml-source/amanda.conf.5.xml: fix typos
13703
13704 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
13705         * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
13706
13707 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
13708         * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
13709
13710 2008-04-01  Dustin J. Mitchell <dustin@zmanda.com>
13711         Suggested by Sunil Sawant <sunil@zmanda.com>
13712         * man/xml-source/amrecover.8.xml: suggest including a config in the
13713           amrecover command line
13714
13715 2008-04-01  John Franks <jfranks@zmanda.com>
13716         * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
13717           Patches to reapply after gnulib updates.
13718         * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
13719           gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
13720           gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
13721           gnulib/getaddrinfo.h:
13722           Remove restricted keywords from source files.
13723
13724 2008-04-01  Satya Ganga <gsat@zmanda.com>
13725         * example/template.d/amanda-S3.conf.in: S3 device should have
13726           "infinite" tape length
13727
13728 2008-03-31  John Franks <jfranks@zmanda.com>
13729         * common-src/stream.c
13730           Fix warning about ininitialized variables.
13731
13732 2008-03-31  John Franks <jfranks@zmanda.com>
13733         * oldrecover-src/Makefile.am xfer-src/Makefile.am
13734           recover-src/Makefile.am server-src/Makefile.am
13735           restore-src/Makefile.am:
13736           Fix build problems with multiply defined symbols.
13737
13738 2008-03-31  Dan Locks <dwlocks@zmanda.com>
13739         * packaging/deb/buildpkg
13740           packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
13741
13742 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
13743         * client-src/sendbackup-gnutar.c client-src/sendsize.c
13744           client-src/selfcheck.c: update amandates whenever possible, but only
13745           complain when it is really needed: when using calcsize, or when
13746           using GNUTAR and --without-gnutar-listdir.
13747         * client-src/amandates.c: Set errno before return of start_amandates
13748         * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
13749
13750 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
13751         * server-src/amgetconf.pl: Parse config after setup_applccation call.
13752
13753 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
13754         * server-src/amcheck.c: Check errno after full_read.
13755
13756 2008-03-31  Dan Locks <dwlocks@zmanda.com>
13757         * packaging/Makefile.am: add deb subdirectory.
13758
13759 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>
13760         * common-src/rsh-security.c common-src/ssh-security.c: improve error
13761           messages for resolve_hostname calls
13762
13763 2008-03-27  Dustin J. Mitchell <dustin@zmanda.com>
13764         * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
13765         * gnulib/regenerate/regenerate gnulib/Makefile.am
13766           config/gnulib/gnulib-cache.m4: add full-read, full-write modules
13767         * oldrecover-src/extract_list.c client-src/noop.c
13768           client-src/sendbackup-gnutar.c client-src/sendbackup.c
13769           client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
13770           application-src/amgtar.c recover-src/extract_list.c
13771           server-src/changer.c server-src/logfile.c server-src/amindexd.c
13772           server-src/amcheck.c server-src/dumper.c server-src/chunker.c
13773           server-src/taper-port-source.c server-src/driverio.c
13774           server-src/holding.c server-src/driver.c
13775           server-src/taper-file-source.c restore-src/restore.c
13776           common-src/security-util.c common-src/amanda.h
13777           tape-src/output-file.c: use gnulib full_read, full_write functions,
13778           which have slightly different error semantics than the corresponding
13779           Amanda functions.
13780
13781 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
13782         * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
13783
13784 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
13785         * device-src/activate-devpay.c (parse_commandline): Always return.
13786
13787 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13788         * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
13789         * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
13790         * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
13791         * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
13792         * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
13793         * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
13794         * amandad-src/Makefile.am,
13795         * client-src/Makefile.am, device-src/Makefile.am,
13796           server-src/Makefile.am, server-src/server_util.c,
13797           tape-src/Makefile.am: Add library to many *_LIBADD.
13798         * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
13799           WANT_CYGWIN_COPY_PERL_DLL.
13800
13801 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13802         * common-src/conffile.c: Fix typo and remove unused prefix.
13803
13804 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13805         * server-src/reporter.c: Check difference between origsize and outsize
13806           to find if the image is compressed.
13807
13808 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13809         Greg Troxel reported the bug and possible solution.
13810         * common-src/stream.c (stream_server): New family argument, it is used
13811                                                to create the socket.
13812         * common-src/stream.h (stream_server): New prototype.
13813         * server-src/chunker.c, server-src/taper.c: Call stream_server with
13814           family of 'localhost', it's the name dumper use to contact them.
13815         * restore-src/amidxtaped.c: Call stream_server with AF_INET.
13816         * common-src/bsd-security.c, common-src/security-util.c: Call
13817           stream_server with family of incoming packet.
13818
13819 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13820         Davor Ocelic reported the problem.
13821         * application-src/Makefile.am: Use applicationexec_PROGRAMS and
13822           applicationexec_SCRIPTS to install executable.
13823
13824 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13825         * common-src/security-util.c (show_stat_info): Use getpwuid_r
13826                                                        and getgrgid_r.
13827 2008-03-25  Dustin J. Mitchell <dustin@zmanda.com>
13828         * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
13829           peculiar linking of threading libraries.
13830
13831 2008-03-20  Dan Locks <dwlocks@zmanda.com>
13832         * packaging/deb/control: removed grep dependency
13833         * packaging/deb/amanda-backup-client.postinst
13834           packaging/deb/amanda-backup-server.postinst
13835           packaging/deb/amanda-backup-server.postrm
13836           packaging/deb/amanda-backup-client.postrm:  removed call to
13837           ldconfig to satisfy lintian
13838         * packaging/deb/amanda-backup-server.lintian
13839           packaging/deb/amanda-backup-client.lintian: sorted and added new
13840           overrides
13841         * packaging/deb/amanda-backup-client.dirs: removed var/amanda
13842
13843 2008-03-18  Dustin J. Mitchell <dustin@zmanda.com>
13844         * device-src/activate-devpay.c: fix type warning
13845
13846 2008-03-17  Jean-Louis Martineau <martineau@zmanda.com>
13847         * server-src/diskfile.c: Correctly check if two hosts map to the same
13848                                  name.
13849
13850 2008-03-15  Dustin J. Mitchell <dustin@zmanda.com>
13851         * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
13852           perl/amglue/source.c: rename mainloop.c to source.c to avoid
13853           conflicts with MainLoop.c on case-insensitive filesystems
13854
13855 2008-03-14  Dan Locks <dwlocks@zmanda.com>
13856         * Initial debian release: This package is based on Bdale Garbee's
13857           work as the official debian maintainer for amanda.
13858
13859 2008-03-14  Jean-Louis Martineau <martineau@zmanda.com>
13860         * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
13861                                             property.
13862         * server-src/server_util.c: Rename _proplist to _property.
13863         * server-src/diskfile.c: Rename _proplist to _property.
13864         * server-src/amadmin.c (disklist_one): Print property.
13865         * perl/Amanda/Config.swg: Add new constants to Amanda::Config
13866         * installcheck/Amanda_Config.pl: Test global property.
13867         * common-src/conffile.c: Add global and by dumptype property.
13868         * common-src/conffile.h: Add global and by dumptype property.
13869
13870 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
13871         * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
13872         * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
13873         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
13874           new module
13875         * common-src/event.h: fix typo in comment
13876
13877 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
13878         * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
13879           expects an int, not a char.
13880
13881 2008-03-13  Dan Locks <dwlocks@zmanda.com>
13882         * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
13883           it works with rpm versions earlier than 4.4
13884
13885 2008-03-13  Dustin J. Mitchell <dustin@zmanda.com>
13886         * device-src/device-queueing.c device-src/device-queueing.h
13887           server-src/taper-source.c server-src/taper-source.h
13888           server-src/taper-source-test.c server-src/taper.c
13889           common-src/queueing.c common-src/queueing.h: change ints in
13890           consumer/producer to (s)size_t
13891         * device-src/device.c device-src/device-queueing.c
13892           device-src/tests/semaphore-test.c device-src/tests/Makefile.am
13893           device-src/queueing.c device-src/semaphore.c
13894           device-src/device-queueing.h device-src/queueing.h
13895           device-src/Makefile.am device-src/semaphore.h
13896           device-src/property.h server-src/taper.c common-src/queueing.c
13897           common-src/queueing.h common-src/semaphore-test.c
13898           common-src/semaphore.c common-src/semaphore.h
13899           common-src/Makefile.am: move queueing and semaphore into
13900           common-src, along with their tests
13901         * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
13902           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
13903           xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
13904           xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
13905           xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
13906         * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
13907           xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
13908           xfer-src/Makefile.am xfer-src/xfer.h: support for sending
13909           and receiving XMsgs.
13910         * common-src/event.c common-src/event.h: add default_event_loop().
13911         * device-src/device.c server-src/taper-source-test.c common-src/util.c
13912           common-src/util.h common-src/glib-util.c common-src/glib-util.h:
13913           create new glib_init() to do g_type_init(), initialize threads, etc.
13914
13915 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
13916         * client-src/sendsize.c: Don't use sscanf for est->qamname because it
13917                                  can have a '%'.
13918         * server-src/diskfile.c: Clean the diskname before using it as a regex.
13919         * common-src/protocol.c: Fix bug if packet have a '%' character.
13920
13921 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
13922         * installcheck/Installcheck/Run.pm: Increase size of TAPE.
13923
13924 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
13925         * common-src/event.c: Use %jd to print a pid_t, since it may be
13926           larger on some platforms.
13927
13928 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13929         * common-src/conffile.c: Fix solaris 8 cc warning.
13930
13931 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13932         * client-src/sendbackup.c: Set stroptions to "".
13933
13934 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
13935         * common-src/event.c common-src/event.h common-src/event-test.c:
13936           add two new GSources: child_watch_source (sends events when a child
13937           dies) and fdsource (sends events when file descriptors match
13938           conditions).  Thanks to Jean-Louis Martineau for finding and fixing
13939           a race condition.
13940
13941 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
13942         * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
13943           documentation to reflect use of gnulib's git repository
13944
13945 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13946         * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
13947                                     it is done automaticaly.
13948         * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
13949                                      conflict with make CLOBBER_MY_CONFIG.
13950
13951 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13952         * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
13953                                     variable.
13954
13955 2008-03-12  Dan Locks <dwlocks@zmanda.com>
13956         * packaging/rpm/buildpkg: made the script quieter
13957
13958 2008-03-12  Dan Locks <dwlocks@zmanda.com>
13959         * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
13960           added --quiet to the configure invocation
13961
13962 2008-03-10  Jean-Louis Martineau <martineau@zmanda.com>
13963         * gnulib: Update to latest version, add getopt module.
13964
13965 2008-03-07  Jean-Louis Martineau <martineau@zmanda.com>
13966         * oldrecover-src/Makefile.am, example/Makefile.am,
13967           amandad-src/Makefile.am, recover-src/Makefile.am,
13968           restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
13969         * installcheck/Amanda_Config.pl: Check config_filename.
13970         * installcheck/Installcheck/Config.pm: Use local amandates and
13971                                                gnutar_listdir.
13972         * installcheck/Makefile.am: Take a copy of amanda-client.conf
13973         * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
13974         * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
13975         * config/automake/installperms.am: installperms.sh in top_builddir,
13976                                            DISTCLEANFILES += $(installperms_sh)
13977         * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
13978                        DISTCHECK_CONFIGURE_FLAGS.
13979         * common-src/Makefile.am: distclean-local: remove svn-info.h.
13980
13981 2008-03-07  Dan Locks <dwlocks@zmanda.com>
13982         * packaging/rpm/buildpkg:  Simplified usage of packaging script by
13983           creating a tarball from existing source.
13984
13985 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13986         * installcheck/Installcheck/Run.pm: merge from application-api.
13987         * installcheck/Installcheck/Config.pm: merge from application-api.
13988
13989 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13990         * merge application-api
13991
13992 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13993         * common-src/Makefile.am: dest=$(amlibexecdir).
13994
13995 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13996         * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
13997                                    Add chg-lib.sh.in to EXTRA_DIST.
13998         * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
13999                                   Add generic-dumper.pl to EXTRA_DIST.
14000         * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
14001                                   Add amanda-sh-lib.sh.in to EXTRA_DIST.
14002
14003 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14004         * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
14005         * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
14006
14007 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14008         * config/amanda/swig.m4: Check for *freebsd[123456]*
14009
14010 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14011         * changer-src/chg-scsi-chio.c: Compile fix.
14012         * changer-src/scsi-chio.c: Compile fix.
14013         * config/amanda/changer.m4: Check for linux/chio.h
14014
14015 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14016         * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
14017
14018 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
14019         * config/amanda/swig.m4: With many thanks to John E. Hein
14020           <jhein@timing.com>, fix the comment and make the change committed
14021           yesterday apply to all FreeBSD < 7.0.
14022
14023 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
14024         * config/amanda/summary.m4: quote all warning messages that will be
14025           included in heredocs, to avoid spurious interpretation of backquotes
14026
14027 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14028         * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
14029
14030 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14031         * restore-src/amidxtaped: Use default config if amrecover doesn't send
14032                         a config name.  (amoldrecover doesn't send a config).
14033         * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
14034           so desired_tape->numfiles == 0.
14035           If amidxtaped is launched directly from xinetd, then
14036           flags->pipe_to_fd == STDOUT_FILENO, but this test should only
14037           succeed for amrestore of amfetchdump.
14038
14039 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
14040         * device-src/tape-device.c: Set d_self->is_eof to FALSE.
14041
14042 2008-03-04  Dustin J. Mitchell <dustin@zmanda.com>
14043         * perl/Makefile.am config/amanda/swig.m4: add a special case for
14044           FreeBSD-6.2: include -lpthread in the linking of each perl
14045           extension, because libgthread does not pull in libpthread as
14046           it does on other platforms.
14047
14048 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
14049         * common-src/security-util.c: getnameinfo return != 0 on error.
14050
14051 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
14052         * config/amanda/dumpers.m4: Typo.
14053
14054 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
14055         * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
14056           return value of 'pipe', declared with attribute warn_unused_result.
14057
14058 2008-02-29  Dustin J. Mitchell <dustin@zmanda.com>
14059         * common-src/amanda.h: add <stdint.h>
14060
14061 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
14062         * config/automake/installperms.am: --without-installperms now
14063           generates a shell-parsable list of desired permissions
14064         * Makefile.am: erase installperms.sh before beginning a 'make
14065           install'
14066         * oldrecover-src/Makefile.am client-src/Makefile.am
14067           recover-src/Makefile.am server-src/Makefile.am: give mode
14068           bits in octal
14069
14070 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
14071         Thanks to John E. Hein <jhein@timing.com> for identifying this problem
14072         * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
14073         * installcheck/Amanda_Config.pl: use a properly-sized constant to
14074           check parsing of large configuration values
14075
14076
14077 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
14078         * server-src/amindexd.c: Compute maxpart, call clean_dump.
14079         * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
14080         * server-src/disk_history.h (add_dump): New prototype,
14081                                                 add maxpart argument.
14082         * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
14083                                         previous part is not already added.
14084         * server-src/disk_history.c (clean_dump): New function to remove
14085                                         DUMP_ITEM if all part are not added.
14086         * common-src/tapelist.h (tapelist_t): Add partnum field.
14087         * common-src/tapelist.h (append_to_tapelist): New prototype,
14088                                                       add partnum argument.
14089         * common-src/tapelist.c (append_to_tapelist): New partnum argument.
14090         * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
14091
14092 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
14093         * common-src/security-util.c: Don't write unclaimed warning if we have
14094                                       an accept function.
14095
14096 2008-02-27  Dustin J. Mitchell <dustin@zmanda.com>
14097         * common-src/testutils.c common-src/testutils.h
14098           common-src/Makefile.am: add libtestutils.la
14099         * common-src/event-test.c common-src/amflock-test.c:
14100           use libtestutils.la
14101
14102 2008-02-27  Jean-Louis Martineau <martineau@zmanda.com>
14103         * server-src/find.c: Use sort_key in switch statement.
14104
14105 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
14106         * NEWS, ReleaseNotes: Document --with-amlibdir.
14107         * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
14108                                  --without-amlibexecdir,
14109                                  Set AMPERLLIB to $amlibdir/perl.
14110
14111 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
14112         * common-src/event-test.c: a more robust and effective test of
14113           EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
14114
14115 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
14116         * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
14117           add --with-amperldir, --without-amperldir, and install perl modules
14118           in Perl's installsitearch by default; thanks to Orion Poplawski
14119           <orion@cora.nwra.com> for help and suggestions.
14120
14121 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
14122         * client-src/getfsent.c: Don't fail if stat of mount point fail.
14123
14124 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
14125         * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
14126                              RUNNING_AS_DUMPUSER_PREFERRED.
14127
14128 2008-02-25  Jean-Louis Martineau <martineau@zmanda.com>
14129         * server-src/reporter.c: Report size of data on holding disk.
14130
14131 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
14132         * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
14133
14134 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
14135         * server-src/amcheck.c, server-src/dumper.c,
14136           server-src/planner.c: Call waitpid to cleanup defunct process.
14137
14138 2008-02-20  Dustin J. Mitchell <dustin@zmanda.com>
14139         * device-src/tape-posix.c: keep ioctl error message in
14140           debug log
14141
14142 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
14143         * device-src/device.c, device-src/null-device.c,
14144           device-src/s3.c, device-src/tape-device.c,
14145           device-src/queueing.h, device-src/s3.h,
14146           device-src/vfs-device.c, device-src/rait-device.c,
14147           server-src/taper-source-test.c, server-src/server_util.c,
14148           server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
14149           perl/amglue/integers.swg, restore-src/restore.c,
14150           common-src/glib-util.c: Fix solaris compiler warning.
14151
14152 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
14153         * common-src/util.c (quote_string): Quote single quote (').
14154         * server-src/find.c:Correctly compute length of diskname.
14155
14156 2008-02-15  Dustin J. Mitchell <dustin@zmanda.com>
14157         * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
14158           use AC_PROG_EGREP instead of the Amanda version
14159         * server-src/find.c: fix compiler warning on Solaris 8
14160
14161 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
14162         * packaging/rpm/amanda.spec: Remove amverify*
14163
14164 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
14165         * oldrecover-src/Makefile.am: Build all files in the build directory.
14166         * recover-src/Makefile.am: Build all files in the build directory.
14167         * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
14168         * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
14169           AC_OUTPUT create the common-src directory.
14170
14171 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
14172         * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
14173         * file server-src/infofile.c: Use %jd to print intmax_t value.
14174         * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
14175
14176 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
14177         * packaging/rpm/amanda.spec: Fix typo.
14178
14179 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
14180         * server-src/amdump.sh: Don't use 'date -d', use sed.
14181
14182 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
14183         * installcheck/Installcheck/Run.pm: run test dumps of a smaller
14184           directory, to avoid overflowing test tapes
14185
14186 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
14187         * dumper-src/amstar.pl dumper-src/amgtar.pl
14188           device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
14189           server-src/amdevcheck.pl: add GPL header
14190
14191 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
14192         * installcheck/Makefile.am installcheck/amdump.pl: add a check
14193           that runs 'amdump' directly, since that fails often
14194
14195 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
14196         * common-src/event-test.c: make tests more robust to environmental
14197           variations, clean up forked children
14198
14199 2008-02-13  Dustin J. Mitchell <dustin@zmanda.com>
14200         * common-src/security-util.c
14201           common-src/security-util.h: don't cast pointers to
14202           integers for tcp_conn event id's
14203
14204 2008-02-13  Dan Locks <dwlocks@zmanda.com>
14205         * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
14206           build environment as well as if provided on rpmbuild commandline.
14207           Conditionalized this var to handle cross compiling on FC8.
14208
14209 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
14210         * amandad-src/amandad.c: use sizeof() instead of strlen()
14211           in a constant expression
14212
14213 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
14214         * amandad-src/amandad.c: initialize as->service
14215         * common-src/event.c common-src/event.h: new GMainLoop-based
14216           version of the event library, allowing GMainLoop-based and
14217           event-based processes to co-exist peacefully
14218
14219 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
14220         * installcheck/amcheckdump.pl: fix typo
14221
14222 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
14223         * server-src/dumper.c: Fail if no header or no data.
14224
14225 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
14226         * server-src/amstatus.pl: Report failure if dumper succeed and
14227                                   chunker failed.
14228
14229 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
14230         * common-src/conffile.h (config_name, config_dir, config_filename):
14231                                  Remove extern declaration.
14232         * common-src/conffile.h (get_config_name, get_config_dir,
14233                                  get_config_filename): New prototype.
14234         * common-src/conffile.c (config_name, config_dir, config_filename):
14235                                  Declare static.
14236         * common-src/conffile.h (get_config_name, get_config_dir,
14237                                  get_config_filename): New functions.
14238         * perl/Amanda/Config.swg: Don't inline the functions.
14239         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
14240           client-src/sendsize.c, client-src/selfcheck.c,
14241           recover-src/amrecover.c, recover-src/extract_list.c,
14242           server-src/changer.c, server-src/amlogroll.c,
14243           server-src/amindexd.c, server-src/amcheck.c,
14244           server-src/dumper.c, server-src/planner.c,
14245           server-src/chunker.c, server-src/amadmin.c,
14246           server-src/amtape.c, server-src/amcleanupdisk.c,
14247           server-src/amflush.c, server-src/amtrmlog.c,
14248           server-src/driverio.c, server-src/driver.c,
14249           server-src/reporter.c, server-src/taper.c,
14250           server-src/amtrmidx.c, server-src/diskfile.c,
14251           server-src/amlabel.c,
14252           restore-src/amfetchdump.c: Use new functions.
14253
14254 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
14255         * common-src/event-test.c common-src/Makefile.am: add checks
14256           for the event module
14257
14258 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
14259         * server-src/dumper.c server-src/server_util.c
14260           server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
14261           common-src/file.c: Always call mkpdir without the 02000 bit set,
14262           as it is not needed and causes problems on MacOS X.
14263
14264 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
14265         * all source files: update GPL dates
14266         * perl/*: use LGPL instead of GPL
14267
14268 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
14269         * amandad-src/amandad.c: fix use of non-constant array size
14270
14271 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
14272         * amandad-src/amandad.c: add hack to avoid a race condition in
14273           sendbackup operation
14274         * common-src/security-util.c: issue debug log message when data
14275           tokens are dropped by the security API
14276
14277 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
14278         * recover-src/amrecover.c: Use tapedev from server if it is not set
14279                                    in amanda.client.conf
14280         * example/amanda-client.conf.in: Document it.
14281
14282 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
14283         * device-src/tape-device.c (tape_device_init): Init min_block_size
14284           and fixed_block_size to 32768.
14285
14286 2008-02-07  Dustin J. Mitchell <dustin@zmanda.com>
14287         * packaging/rpm/amanda_enterprise.spec man/Makefile.am
14288           man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
14289           man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
14290           server-src/amverify.sh server-src/Makefile.am: remove amverify*
14291         * server-src/amdevcheck.pl: tweak @ARGV parsing
14292         * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
14293           installcheck/amcheckdump.pl: significant rewrite to catch more errors
14294           and not loop for ever on some errors.
14295
14296 2008-02-01  Dustin J. Mitchell <dustin@zmanda.com>
14297         * server-src/amgetconf.pl installcheck/amgetconf.pl
14298           common-src/conffile.c: fix and test amgetconf to allow extra
14299           command-line arguments (undocumented), to allow -o options without a
14300           space, and to correctly return empty results for empty build
14301           variables
14302
14303 2008-02-01  Dan Locks <dwlocks@zmanda.com>
14304         * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
14305           for both client and server, removed amplot from client, added missing
14306           directory %{SYSCONFDIR}/amanda
14307
14308 2008-01-29  Dan Locks <dwlocks@zmanda.com>
14309         * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
14310           where amanda/amandates is concerned.  also added %{LOCALSTATEDIR} to
14311           the %files list.
14312
14313 2008-01-29  Dan Locks <dwlocks@zmanda.com>
14314         * man/xml-source/* added http://wiki.zmanda.com to the "see also"
14315           section
14316
14317 2008-01-29  Jean-Louis Martineau <martineau@zmanda.com>
14318         * client-src/sendbackup.c: Check for g_options.
14319         * client-src/sendsize.c: Check for g_options.
14320         * client-src/selfcheck.c: Check for g_options.
14321         * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
14322
14323 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
14324         * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
14325
14326 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
14327         * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
14328           displayunit, and add a unit test to be sure.
14329
14330 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
14331         * server-src/amstatus.pl: handle lowercase displayunit.
14332
14333 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
14334         * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
14335           for netinet/in.h and in_port_t, and define the latter if
14336           necessary.  Thanks to Craig Dewick <cdewick@lios.apana.org.au>
14337           for the suggestion.
14338
14339 2008-01-28  Paddy Sreenivasan <paddy@zmanda.com>
14340         * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
14341           status
14342
14343 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
14344         * amandad-src/amandad.c: Send service stderr to amandad debug file,
14345           Wait for service termination and send error message to server.
14346
14347 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
14348         * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
14349                                Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
14350
14351 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14352         * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
14353         * server-src/amcheckdump.pl: fix usage message
14354
14355 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14356         * configure.in config/amanda/userid.m4: add --with-single-userid
14357
14358 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14359         * server-src/amfreetapes.sh: remove unused script
14360
14361 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14362         * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
14363           for all amglue files where they are missing from glib headers
14364
14365 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14366         * installcheck/Makefile.am: condition installchecks on the selected
14367           components
14368
14369 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14370         * installcheck/Makefile.am Makefile.am: distribute
14371           installcheck/Installcheck scripts, make sure enough parameters
14372           are passed along to distcheck for it to succeed, and also clean
14373           up properly after tests are run.
14374
14375 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
14376         * config/amanda/dumpers.m4: eliminate strange warning when
14377           --without-smbclient is given
14378
14379 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
14380         * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
14381           installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
14382           installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
14383           installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
14384           installcheck/Installcheck/Config.pm
14385           installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
14386           installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
14387           accumulated tweaks and updates to installchecks
14388
14389 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
14390         * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
14391           installcheck/Makefile.am: new tests for integer-handling
14392           SWIG support, including an installed module (Amanda::Test) that
14393           is not used except by this test.
14394
14395 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
14396         * installcheck/Amanda_Types.pl
14397           installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
14398           installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
14399           installcheck/Installcheck installcheck/Installcheck/Run.pm
14400           installcheck/Installcheck/Config.pm installcheck/Makefile.am
14401           installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
14402           installcheck/amgetconf.pl: tweaks:
14403            - Move installcheck utilities to the Installcheck::* namespace
14404            - add Installcheck::Run to help with setting up amdump runs, and
14405              running applications in general
14406            - Add complete runs to amdevcheck, amcheckdump
14407            - Return a nonzero exit status from amgetconf when an invalid
14408              configuration parameter is specified.
14409
14410 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
14411         * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
14412           new module (Tapelist) replaces old stub (Tapefile)
14413         * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
14414           module
14415         * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
14416           module
14417
14418 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
14419         * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
14420           critical() and warning(), respectively
14421         * server-src/amgetconf.pl server-src/amcheckdump.pl
14422           server-src/amdevcheck.pl: use die()
14423         * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
14424           installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
14425           unit tests
14426
14427 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
14428         * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
14429           server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
14430           Perl, and add the ability to list available build variables.
14431         * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
14432           config/amanda/bsd-security.m4 config/amanda/dumpers.m4
14433           config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
14434           config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
14435           config/amanda/bsdudp-security.m4 config/amanda/compress.m4
14436           config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
14437           of constants for use in Amanda::Constants
14438         * perl/Makefile.am perl/Amanda/Paths.pm.in
14439           perl/Amanda/Constants.pm.in: add new constants
14440         * perl/Amanda/Config.swg: add getconf_byname_strs
14441         * installcheck/amgetconf.pl: check new functionality
14442         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
14443           RUNNING_AS_ANY
14444
14445 2008-01-17  Jean-Louis Martineau <martineau@zmanda.com>
14446         * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
14447           configure.in: Set for release 2.6.1alpha.
14448
14449 2008-01-16  Dustin J. Mitchell <dustin@zmanda.com>
14450         * installcheck/Makefile.am: Require user to specify
14451           CLOBBER_MY_CONFIG=OK when running installchecks
14452
14453 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
14454         * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
14455
14456 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
14457         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
14458           client-src/sendsize.c, client-src/selfcheck.c,
14459           recover-src/extract_list.c, server-src/changer.c,
14460           server-src/amflush.c, server-src/driverio.c,
14461           common-src/pipespawn.c: Call safe_fd before exec*.
14462
14463 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
14464         * packaging/rpm/amanda.spec: Remove build_host.
14465
14466 2008-01-15  Dustin J. Mitchell <dustin@zmanda.com>
14467         * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
14468           perl/amglue/integers.swg: fix typos and compiler warnings
14469
14470 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
14471         * packaging/Makefile.am: New file.
14472         * packaging/README: New file.
14473         * packaging/rpm/buildpkg: New file.
14474         * packaging/rpm/amanda.spec: New file.
14475         * configure.in
14476         * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
14477         * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
14478                                          ${amlibexecdir}/application
14479         * Makefile.am (SUBDIRS): Add packaging.
14480         * amanda.spec: Remove file.
14481
14482 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
14483         * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
14484         * device-src/tape-device.c, device-src/tape-posix.c,
14485           device-src/vfs-device.c: include "util.h"
14486         * device-src/rait-device.c: fix compiler warning.
14487
14488 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
14489         * perl/amglue/bigint.c: fix the range-checking mechanics for large
14490           integers, since the precompiler seems to get confused by large
14491           constants.
14492
14493 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
14494         * config/amanda/krb5-security.m4: abort configure run if krb5
14495           is requested by libraries aren't found
14496
14497 2008-01-13  Dustin J. Mitchell <dustin@zmanda.com>
14498         * man/xml-source/amanda.conf.5.xml: use &#215; instead of &times;
14499
14500 2008-01-11  Paddy Sreenivasan <paddy@zmanda.com>
14501         * device-src/Makefile.am: Don't install queueing.h and device.h
14502
14503 2008-01-11  Dustin J. Mitchell <dustin@zmanda.com>
14504         * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
14505
14506 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
14507         * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
14508         * installcheck/amgetconf.pl: usetimestamps defaults to yes.
14509         * NEWS, ReleaseNotes: Notes about make installcheck.
14510
14511 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
14512         * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
14513         * ReleaseNotes: Ditto.
14514
14515 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
14516         * ReleaseNotes: Update for amanda-2.6.0
14517         * News: Update for amanda-2.6.0
14518         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
14519         * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
14520         * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}