d7f5466d31e3f7af2aa52ba02e3b9a02c99c3316
[debian/amanda] / ChangeLog
1 2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
2         * perl/make_html.pl: Add link at top, better list display.
3         * perl/Makefile.am: Execute make_html with a --homeurl argument.
4
5 2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
6         * VERSION: 3.3.1
7         * ReleaseNotes, NEWS: update for 3.3.1
8
9 2012-02-16  Jean-Louis Martineau <martineau@zmanda.com>
10         * server-src/amadmin.c (disklist_one): print the filename.
11         * server-src/diskfile.c: Add includefile directive.
12         * server-src/diskfile.h (disk_t): Add filename.
13
14 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
15         * man/xml-source/amanda.conf.5.xml: Fix default netusage.
16
17 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
18         * perl/Amanda/Recovery/Clerk.pm: Typo.
19
20 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
21         * perl/make_html.pl: generate correct absolute link.
22
23 2012-02-10  Jean-Louis Martineau <martineau@zmanda.com>
24         * device-src/s3.c: Do not print the data to the debug file.
25
26 2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
27         * application-src/ampgsql.pl: Do not use temporary disk space while
28           doing backup or recovery.
29
30 2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
31         * perl/Amanda/DB/Catalog.pm: filenum must be sorted numerically.
32
33 2012-02-07  Jean-Louis Martineau <martineau@zmanda.com>
34         * application-src/ampgsql.pl: pg_version 802000 => 80200.
35
36 2012-02-01  Jean-Louis Martineau <martineau@zmanda.com>
37         * application-src/ampgsql.pl: Do not print normal
38           pg_xlogfile_name_offset output to MESG stream.
39
40 2012-01-31 Dan Locks <dwlocks@zmanda.com>
41         * packaging/deb/preinst, packaging/rpm/amanda.spec.src: change /bin/sh
42           to /bin/bash.
43
44 2012-01-27  Jean-Louis Martineau <martineau@zmanda.com>
45         * application-src/ampgsql.pl: Run pg_switch_xlog() and wait for the
46           archived WAl before doing an incremental backup.
47
48 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
49         * device-src/s3.c: Set xmlns for IIJ.
50
51 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
52         * device-src/s3-device.c: Fix for openstack swift api.
53
54 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
55         * perl/Amanda/Taper/Scribe.pm, server-src/amlabel.pl:use the 
56           block_size instead of the header-block_size to write the BLOCK_SIZE
57           in the tapelist.
58
59 2012-01-19  Jean-Louis Martineau <martineau@zmanda.com>
60         * device-src/s3-device.c: Add support for openstack swift api.
61         * device-src/s3.c: Add support for openstack swift api.
62         * device-src/s3.h: Add support for openstack swift api.
63         * man/xml-source/amanda-devices.7.xml: Add openstack-swift-api 
64           property.
65
66 2012-01-13  Jean-Louis Martineau <martineau@zmanda.com>
67         * device-src/s3-device.c: Fix deleting files.
68
69 2012-01-09  Jean-Louis Martineau <martineau@zmanda.com>
70         * server-src/amtape.pl: Fix amtape show for non numeric slot.
71
72 2012-01-04  Jean-Louis Martineau <martineau@zmanda.com>
73         * recover-src/extract_list.c: Fix for compilation on AIX.
74
75 2012-01-04 Dan Locks <dwlocks@zmanda.com>
76         *  packaging/sun-pkg/buildpkg: Add GLIB_* flags to sun packages
77         *  config/amanda/libs.m4: fix "exit when explicit flags are given"
78            error, and require all flags when one is given.
79
80 2012-01-03  Jean-Louis Martineau <martineau@zmanda.com>
81         * device-src/s3-device.c: Report DEVICE ERROR if s3_is_bucket_exists
82           response with curl error CURLE_COULDNT_CONNECT or
83           CURLE_COULDNT_RESOLVE_HOST.
84
85 2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
86         * perl/Amanda/Changer/multi.pm: Print the state filename to the debug
87           file.
88
89 2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
90         * perl/Amanda/ScanInventory.pm: Correctly set 'err'.
91         * server-src/amtape.pl: quit the changer even on error.
92
93 2011-12-23  Jean-Louis Martineau <martineau@zmanda.com>
94         Patch by Nathan Stratton Treadway.
95         * common-src/conffile.c (read_int_or_str): Fix error message.
96
97 2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
98         * server-src/planner.c: Fix force-bump with overdue filesystem.
99
100 2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
101         * server-src/amlabel.pl: --asign require --meta or --barcode.
102
103 2011-12-16  Jean-Louis Martineau <martineau@zmanda.com>
104         * application-src/amgtar.c: Fix GNUTAR-LISTDIR property.
105
106 2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
107         * device-src/s3.c (s3_is_bucket_exists): Set max-keys=1.
108
109 2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
110         * perl/Amanda/Recovery/Scan.pm (new): Return changer error.
111
112 2011-12-12  Jean-Louis Martineau <martineau@zmanda.com>
113         * common-src/amfeatures.c: Add fe_dumptype_property.
114         * common-src/amfeatures.h: Add fe_dumptype_property.
115         * common-src/amxml.c: Parse dumptype properties.
116         * common-src/amxml.h (dle_t): Add property field.
117         * perl/Amanda/Disklist.swg: Add clean_dle_str_for_client.
118         * perl/Amanda/Feature.pod: Add fe_dumptype_property.
119         * perl/Amanda/Feature.swg: Add Amanda::Feature::Set::features
120         * server-src/amidxtaped.pl: Call clean_dle_str_for_client.
121         * server-src/diskfile.c (xml_dumptype_properties): New function to
122           return dumptype propertyes.
123         * server-src/diskfile.h (xml_dumptype_properties) Add prototype.
124         * server-src/driverio.c: Add xml_dumptype_properties to dumper cmd.
125         * server-src/dumper.c: Call clean_dle_str_for_client.
126
127 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
128         * example/template.d/amanda-harddisk.conf.in: fix for installcheck.
129
130 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
131         * NEWS, ReleaseNotes: Update for 3.3.1
132
133 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
134         * server-src/amindex.c (getheaderfname): New function.
135         * server-src/amindex.h (getheaderfname): New prototype.
136         * server-src/dumper.c: Wrtie header to a file in indexdir.
137
138 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
139         * example/template.d/amanda-S3.conf.in,
140           example/template.d/amanda-harddisk.conf.in,
141           example/template.d/amanda-single-tape.conf.in,
142           example/template.d/amanda-tape-changer.conf.in: Use new changer api.
143         * server-src/amserverconfig.pl: Use new changer api.
144
145 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
146         * man/xml-source/amvault.8.xml: Improve.
147
148 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
149         * perl/Amanda/ScanInventory.pm (volume_is_labelable): New method.
150         * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
151           Use volume_is_labelable from ScanInventory.
152         * perl/Amanda/Taper/Scan/traditional.pm: Fix bad logging.
153         * perl/Amanda/Taper/Scribe.pm: Print "autolabel disabled".
154         * perl/Amanda/Taper/Worker.pm: Add debugging.
155         * server-src/amvault.pl: Quit both changer, add debugging.
156
157 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
158         * server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use
159           Amanda::Debug.
160
161 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
162         Fix for previous patch.
163         * application-src/amlog-script.pl, application-src/ampgsql.pl,
164           application-src/amraw.pl, application-src/amsamba.pl,
165           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
166           application-src/amzfs-snapshot.pl,
167           application-src/script-email.pl: Undo previous patch,
168         * perl/Amanda/Script_App.pm: Do it here instead.
169           server-src/amlogroll.pl, server-src/amvault.pl
170           server-src/taper.pl: Import the debug method.
171         * server-src/amoverview.pl, server-src/amserverconfig.pl,
172           server-src/amstatus.pl: Undo previous patch, they do not use the
173           debug file.
174
175 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
176         * application-src/amlog-script.pl, application-src/ampgsql.pl,
177           application-src/amraw.pl, application-src/amsamba.pl,
178           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
179           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
180           client-src/amdump_client.pl, common-src/amgetconf.pl,
181           device-src/amdevcheck.pl, device-src/amtapetype.pl,
182           server-src/amcheckdump.pl, server-src/amcleanup.pl,
183           server-src/amcleanupdisk.pl, server-src/amdump.pl,
184           server-src/amfetchdump.pl, server-src/amlabel.pl,
185           server-src/amlogroll.pl, server-src/amoverview.pl,
186           server-src/amreport.pl, server-src/amrestore.pl,
187           server-src/amrmtape.pl, server-src/amserverconfig.pl,
188           server-src/amstatus.pl, server-src/amtape.pl,
189           server-src/amvault.pl,
190           server-src/taper.pl: Print command line arguments to debug file.
191
192 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
193         * device-src/device.c, device-src/ndmp-device.c,
194           device-src/tape-device.c: Call device_set_error if setting a
195           property fail.
196         * perl/Amanda/Changer.pm: Use device error message.
197
198 2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
199         * device-src/s3-device.c, device-src/vfs-device.c (*_device_erase):
200           set the device state to unlabeled.
201         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/multi.pm
202           (set_label):  works with undefined label.
203         * perl/Amanda/Changer/robot.pm: small cleanup.
204         * server-src/amrmtape.pl: Call reservation set_label method to remove
205           the label from the state.
206
207 2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
208         * man/xml-source/amanda.conf.5.xml (autolabel): Document it must match
209           labelstr.
210
211 2011-12-01  Jean-Louis Martineau <martineau@zmanda.com>
212         * device-src/s3-device.c (delete_file): Use multiple threads.
213
214 2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
215         * device-src/xfer-dest-taper-splitter.c: Set the xmsg even if the xfer
216           is cancelled.
217         * perl/Amanda/Taper/Scribe.pm: result is PARTIAL|FAILED if
218           !last_part_successful.
219
220 2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
221         * device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock
222           before calling wait_until_xfer_cancelled.
223
224 2011-11-28  Jean-Louis Martineau <martineau@zmanda.com>
225         * server-src/amfetchdump.pl: Fix usage.
226         * man/xml-source/amfetchdump.8.xml: Fix synopsis.
227
228 2011-11-25  Jean-Louis Martineau <martineau@zmanda.com>
229         * installcheck/gnutar.pl: Change expectations to an array that can be
230           scanned in order, fix for tar-1.25 on fc15.
231
232 2011-11-22  Jean-Louis Martineau <martineau@zmanda.com>
233         * device-src/s3.c (build_url): curl is G_GNUC_UNUSED.
234
235 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
236         * server-src/amtape.pl: Fix 'amtape show' with one slot.
237         * installcheck/amtape.pl: Test it.
238
239 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
240         * server-src/amreport.pl: Check if executable before open3().
241         * installcheck/amreport.pl: Fix for new message.
242
243 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
244         * perl/Amanda/Changer.pm: Correctly check barcode is not defined.
245
246 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
247         * perl/Amanda/Changer.pm: Correctly substititue '%' if not present.
248
249 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
250         * server-src/amtape.pl: Add [slots] argument to amtape show.
251         * man/xml-source/amtape.8.xml: Document it.
252
253 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
254         * device-src/s3.c: Disable the service_path if it is set to an empty
255           string or '/', also remove trailing slash.
256
257 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
258         * server-src/amdump.pl: Log a 'START planner date' line on error'.
259
260 2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
261         * device-src/s3.c: Use curl_easy_escape.
262
263 2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
264         * installcheck/gnutar.pl: Fix for fc16.
265
266 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
267         * installcheck/mock/mtx.pl: Fix qw.
268
269 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
270         * server-src/amstatus.pl: Use Getopt::Long
271
272 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
273         * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE.
274
275 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
276         * perl/Amanda/Logfile.pod: Remove match_* functions
277         * perl/Amanda/Logfile.swg: Remove match_* functions
278         * perl/Amanda/Util.pod: Add match_* functions
279         * perl/Amanda/Util.swg: Add match_* functions
280         * client-src/amdump_client.pl, perl/Amanda/DB/Catalog.pm,
281           server-src/amdumpd.pl, server-src/amidxtaped.pl,
282           server-src/amvault.pl: Use match_* functions for Amanda::Util
283
284 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
285         * perl/Amanda/Report.pm: Always report the first 100 strange lines.
286         * installcheck/catalogs/longstrange.cat: Fix test.
287
288
289 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
290         * server-src/amreport.pl: Fix for perl-5.14
291         * installcheck/amreport.pl: Add test.
292
293 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
294         * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14.
295
296 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
297         * application-src/ampgsql.pl: Print state filename to debug file.
298
299 2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
300         * device-src/s3-device.c: Add S3_SERVER_SIDE_ENCRYPTION property.
301         * device-src/s3.c: Add server_side_encryption.
302         * device-src/s3.h: Add server_side_encryption.
303         * man/xml-source/amanda-devices.7.xml: Document
304           S3_SERVER_SIDE_ENCRYPTION property
305
306 2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
307         * perl/Amanda/Changer.pm (release): Always call finished_cb.
308         * installcheck/amcheck-device.pl: Add a check.
309         
310 2011-10-12  Jean-Louis Martineau <martineau@zmanda.com>
311         * server-src/driverio.c (update_info_dumper): Set date to 0 if 
312           datestamp is 0.
313
314 2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
315         * application-src/ampgsql.pl: If datadir is not set, use the disk
316           argument.
317
318 2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
319         * common-src/conffile.c: Do not free cwd.
320         * common-src/amgetconf.pl: Allow to get one property.
321         * installcheck/amgetconf.pl: Test it.
322
323 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
324         * common-src/match.c: Update from trunk.
325
326 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
327         * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error.
328
329 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
330         * installcheck/gnutar.pl: Add support for fc14 and fc15.
331
332 2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
333         * recover-src/extract_list.c: Do not crahs if amidxtaped close the 
334           connection.
335
336 2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
337         * device-src/s3.c: Correctly set thunk->next_marker.
338
339 2011-09-30 Dan Locks <dwlocks@zmanda.com>
340         *  packaging/common/substitute.pl: fix PKG_REV missing message.
341         *  packaging/sun-pkg/buildpkg, packaging/deb/buildpkg,
342            packaging/rpm/buildpkg: create PKG_REV file until the machinery to
343            process svn tags for PKG_REV is in place
344
345 2011-09-29 Dan Locks <dwlocks@zmanda.com>
346         *  packaging/sun-pkg: sun package subdirectories
347         *  packaging/sun-pkg/buildpkg: sun package building script
348         *  packaging/common/mock_utils.sh: mocked utilities used by pre/post
349            scripts
350         *  packaging/common/post_inst_functions.sh,
351            packaging/common/post_rm_functions.sh,
352            packaging/common/pre_inst_functions.sh,
353            packaging/common/common_functions.sh: shared shell functions for
354            pre/post scripts.
355         *  packaging/common/substitute.pl: update to handle sun packages and
356            shell functions
357         *  packaging/common/test_sh_libs.sh: unit tests for shell functions
358         *  packaging/common/shunit2: unit test framework
359         *  packaging/Makefile.am: add sun package to dist tarball.
360         *  note: S3 device is not enabled; solaris compilation has me stumped.
361
362 2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
363         * perl/Amanda/Holding.pm: fix dirfn.
364
365 2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
366         Patch by Sam Stuck
367         * man/xml-source/amanda-changers.7.xml: Typo.
368
369 2011-09-20  Jean-Louis Martineau <martineau@zmanda.com>
370         * man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8
371         * man/xml-source/amcleanup.8.xml:Add -r option.
372         * man/xml-source/amcleanupdisk.8.xml: New man page.
373         * perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp):
374           New methods.
375         * server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk.
376         * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk.
377         * server-src/amcleanup.pl: Add -r option.
378         * server-src/amcleanupdisk.c: Remove file
379         * server-src/amcleanupdisk.pl: New perl version.
380         * server-src/holding.c: Fix max level to 399.
381
382 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
383         * installcheck/Amanda_Device.pl: Check setting a property with an 
384           invalid name.
385
386 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
387         * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value.
388
389 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
390         * application-src/amzfs-sendrecv.pl: restore works without --device.
391
392 2011-09-06  Jean-Louis Martineau <martineau@zmanda.com>
393         * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not
394           available.
395
396 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
397         * client-src/selfcheck.c (print_platform): Another fix.
398
399 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
400         * common-src/amcryptsimple.pl: Use gpg-agent.
401
402 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
403         * client-src/selfcheck.c (print_platform): Fix.
404
405 2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
406         * server-src/amadmin.c (export) parse version without patch number.
407
408 2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
409         * perl/Amanda/ScanInventory.pm: Get the meta label before
410           calling make_new_tape_label.
411         * perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before
412           calling make_new_tape_label.
413         * perl/Amanda/Taper/Scribe.pm: Return the reservation on error.
414         * server-src/amcheck-device.pl: Release the reservation on error.
415         * server-src/amtape.pl: Release the reservation on error,
416           change 'amtape taper' output to be the same as amcheck.
417         * installcheck/amtape.pl: Fix for new amtape output.
418
419 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
420         * common-src/debug.c (debug_printf): Print a thread id.
421         * device-src/xfer-dest-taper-cacher.c,
422           device-src/xfer-dest-taper-directtcp.c,
423           device-src/xfer-dest-taper-splitter.c,
424           device-src/xfer-source-recovery.c: Remove printing of thread id.
425
426 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
427         * server-src/dumper.c: filter stderr make result strange,
428                                filter exit_code != 0 make it fail.
429
430 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
431         * application-src/amgtar.c: Do not rename gnutar-list if record is not
432           set.
433
434 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
435         * server-src/tapefile.h (struct tape_s): Add blocksize.
436         * server-src/tapefile.c: Print and parse blocksize in tapelist file.
437         * perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file.
438         * perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel.
439         * server-src/amlabel.pl: Add blocksize argument to add_tapelabel.
440         * installcheck/Amanda_Tapelist.pl: Fix for tapelist file format.
441         * installcheck/amlabel.pl: Fix for tapelist file format.
442
443 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
444         * device-src/device.h (struct Device): Add header_block_size.
445         * device-src/null-device.c, device-src/rait-device.c,
446           device-src/s3-device.c, device-src/tape-device.c,
447           device-src/vfs-device.c: Set header_block_size.
448         * perl/Amanda/Device.swg: Swig header_block_size.
449
450 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
451         * installcheck/Amanda_Device.pl: Fix number of skipped test for S3.
452
453 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
454         * server-src/planner.c: Print why a disk is skip if DS_NOINC.
455
456 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
457         * installcheck/Amanda_Device.pl: Check invalid location on s3 device.
458
459 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
460         * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do
461           not exists.
462
463 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
464         * device-src/s3.c (s3_is_bucket_exists): New function to check if a 
465           bucket exists.
466         * device-src/s3.h (s3_is_bucket_exists): Prototype.
467         * device-src/s3-device.c: Call s3_is_bucket_exists before
468           s3_make_bucket.
469
470 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
471         * perl/Amanda/Changer/multi.pm: Keep the device_error in the state file.
472         * perl/Amanda/Changer/robot.pm: Keep the device_error in the state file.
473         * server-src/amtape.pl (inventory): Print inventory device error.
474         * installcheck/Amanda_Changer_multi.pl,
475           installcheck/Amanda_Changer_ndmp.pl,
476           installcheck/Amanda_Changer_robot.pl: Fix for device_error in
477           state file.
478
479 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
480         * perl/Amanda/Changer.pm: Fix warning.
481
482 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
483         * installcheck/Amanda_Changer_ndmp.pl,
484           installcheck/Amanda_Changer_robot.pl: Fix for previous patch.
485
486 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
487         * perl/Amanda/Changer/robot.pm: return a reservation even on error.
488
489 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
490         Patch by Gunar Gunnarsson
491         * server-src/amvault.pl: Cast $dump->{'kb'} to int.
492                 
493 2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
494         * man/xml-source/amanda-devices.7.xml: Update S3 location url.
495
496 2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
497         * common-src/match.c: Fix for 'Trailing backslash' error
498         * common-src/match-test.c: Add test
499                 
500 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
501         * amandad-src/amandad.c, client-src/calcsize.c,
502           client-src/killpgrp.c, client-src/noop.c,
503           client-src/rundump.c, client-src/runtar.c,
504           client-src/selfcheck.c, client-src/sendbackup.c,
505           client-src/sendsize.c, ndmp-src/amndmjob_main.c,
506           server-src/amcleanupdisk.c, server-src/amindexd.c,
507           server-src/amtrmidx.c, server-src/amtrmlog.c,
508           server-src/driver.c, server-src/dumper.c,
509           server-src/planner.c: Add a --version argument.
510
511 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
512         * common-src/amservice.c, recover-src/amrecover.c,
513           server-src/amflush.c: #include "getopt.h"
514
515 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
516         * application-src/ampgsql.pl: add ARCHIVEDIR, CLEANUPWAL, DB,
517           HOST, MAX-WAL-WAIT, PASSFILE, PORT, PSQL-PATH and USER
518           properties.
519         * man/xml-source/ampgsql.8.xml: Document them.
520
521 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
522         * common-src/amservice.c, recover-src/amrecover.c,
523           server-src/amcheck.c, server-src/amflush.c: Add a --version argument.
524
525 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
526         * client-src/selfcheck.c: Check return value of fgets.
527
528 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
529         * many */*.pl: add --version option.
530
531 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
532         * application-src/ampgsql.pl: print to debug file and server if unlink
533           fail.
534                   
535 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
536         * man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml,
537           man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml,
538           man/xml-source/amsuntar.8.xml,
539           man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice.
540
541 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
542         * client-src/client_util.c: fix
543
544 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
545         * server-src/amcheck.c: new '--client-verbose' option.
546         * man/xml-source/amcheck.8.xml: Document --client-verbos
547         * config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname
548           path.
549         * configure.in: call AMANDA_PROG_UNAME.
550         * client-src/client_util.c (check_access, check_file, check_dir,
551           check_suid): return a gboolean.
552         * client-src/client_util.h: Change prototypes.
553         * client-src/selfcheck.c: Print the platform.
554         * common-src/util.c (get_first_line): new function to return the first
555           output line of a command.
556         * common-src/util.h (get_first_line): add prototype.
557         * application-src/amgtar.c, application-src/ampgsql.pl,
558           application-src/amraw.pl, application-src/amsamba.pl,
559           application-src/amstar.c, application-src/amsuntar.pl,
560           application-src/amzfs-sendrecv.pl: print version of program.
561             
562 2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
563         * perl/Amanda/Changer.pm: Fix warning if $s is not used.
564
565 2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
566         * perl/Amanda/Changer.pm: Support minimun number of digit in $3s
567           autolabel template.
568         * man/xml-source/amanda.conf.5.xml: Document it.
569
570 2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
571         * perl/Amanda/Changer/multi.pm (do_release): Support eject params.
572         * perl/Amanda/Changer/single.pm (do_release): Do the eject correctly.
573
574 2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
575         * man/xml-source/amanda-taperscan.7.xml: Typo.
576
577 2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
578         * common-src/conffile.h: Add CONF_EJECT_VOLUME
579         * common-src/conffile.c: Add CNF_EJECT_VOLUME
580         * man/xml-source/amanda.conf.5.xml: Document eject-volume.
581         * perl/Amanda/Config.swg: Add CNF_EJECT_VOLUME.
582         * perl/Amanda/Changer/single.pm: Eject the device if the eject
583           params is set in $res->release()
584         * perl/Amanda/Taper/Scribe.pm (new): Get eject_volume params.
585         * perl/Amanda/Taper/Scribe.pm (_release_reservation): Call
586           $res->release with the eject params if needed.
587         * perl/Amanda/Taper/Worker.pm: Make the Scribe with the eject_volume
588           params set to $CNF_EJECT_VOLUME
589
590 2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
591         * perl/Amanda/Changer.pm (make_error): callback is optional.
592         * perl/Amanda/Changer/disk.pm: Check if disk is mounted before locking.
593         * perl/Amanda/ScanInventory.pm (_scan): fail only on fatal error.
594         * perl/Amanda/Taper/Controller.pm: Put error message in double quote.
595         * perl/Amanda/Taper/Worker.pm: Put message in double quote.
596
597 2011-07-19  Jean-Louis Martineau <martineau@zmanda.com>
598         * server-src/driver.c (tape_action): consider number of dle on volume
599           and max-dle-by-volume for allowing use of new volume.
600
601 2011-07-15  Jean-Louis Martineau <martineau@zmanda.com>
602         * man/xml-source/amanda-changers.7.xml: Add chg-single documentation.
603
604 2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
605         * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB.
606
607 2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
608         * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB.
609
610 2011-07-13  Jean-Louis Martineau <martineau@zmanda.com>
611         * common-src/conffile.c: Add CONF_MAX_DLE_BY_VOLUME.
612         * common-src/conffile.h: Add CNF_MAX_DLE_BY_VOLUME.
613         * man/xml-source/amanda.conf.5.xml: Document max-dle-by-volume.
614         * perl/Amanda/Config.swg: Add CNF_MAX_DLE_BY_VOLUME.
615         * perl/Amanda/Taper/Controller.pm: Add msg_CLOSE_VOLUME method.
616         * perl/Amanda/Taper/Protocol.pm: Add CLOSE_VOLUME.
617         * perl/Amanda/Taper/Scribe.pm: Add close_volume method, call
618           _get_new_volume() is close_volume was called.
619         * perl/Amanda/Taper/Worker.pm: Add CLOSE_VOLUME method.
620         * server-src/driver.c: Send CLOSE_VOLUME command to taper if the
621           number of dle on a volume is larger than max-dle-by-volume
622         * server-src/driverio.c: Send CLOSE_VOLUME command.
623         * server-src/driverio.h: Add nb_dle to taper_t.
624         * server-src/server_util.c: Add "CLOSE-VOLUME" to cmdstr.
625         * server-src/server_util.h: Add CLOSE_VOLUME.
626
627 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
628         * device-src/s3-device.c: Fix gcc warning for s3_rval set but not used
629
630 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
631         * config/amanda/libs.m4: Fix use of AC_LINK_IFELSE.
632
633 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
634         * common-src/match.c (match_word): better matching for anchored 
635           expression.
636         * common-src/match-test.c: Add new tests.
637
638 2011-07-11  Jean-Louis Martineau <martineau@zmanda.com>
639         Add '$s' substitution to autolabel.
640         * perl/Amanda/Changer.pm (make_new_tape_label): Handle $s.
641         * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm,
642           perl/Amanda/Taper/Scribe.pm: Call make_new_tape_label with the slot.
643         * man/xml-source/amanda.conf.5.xml: Document $s substitution.
644
645 2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
646         * config/amanda/libs.m4: Fix for newer aclocal.
647         * config/libtool.m4, config/ltmain.sh,
648           config/ltoptions.m4, config/ltsugar.m4,
649           config/ltversion.m4,
650           config/lt~obsolete.m4: Upgrade libtool to 2.4.
651
652 2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
653         * Many *.c files: Fix for gcc-4.6.0 warning: variable â€˜NAME’ set but
654           not used.
655
656 2011-07-07  Jean-Louis Martineau <martineau@zmanda.com>
657         * perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape
658
659 2011-07-05  Jean-Louis Martineau <martineau@zmanda.com>
660         * perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense
661           key is 'Not Ready'
662
663 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
664         * application-src/amstar.c: typo.
665
666 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
667         * server-src/driver.c: Call short_dump_state on all state change.
668
669 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
670         Patch by p_michalczyk
671         * application-src/amstar.c: Place command_options at the and of
672           command line.
673
674 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
675         Patch by p_michalczyk
676         * application-src/amstar.c: Add missing break statement.
677
678 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
679         Replace semaphore by amsemaphore.
680         * common-src/Makefile.am: Remove semaphore.*, add amsemaphore.*
681         * common-src/amsemaphore-test.c: New copy of semaphore-test.c
682         * common-src/amsemaphore.c: New copy of semaphore.c
683         * common-src/amsemaphore.h: New copy of semaphore.h
684         * common-src/semaphore-test.c: Removed file.
685         * common-src/semaphore.c: Removed file.
686         * common-src/semaphore.h: Removed file.
687         * device-src/rait-device.c: s/semaphore_/amsemaphore_/g
688         * xfer-src/element-glue.c: s/semaphore_/amsemaphore_/g
689         * xfer-src/element-glue.h: s/semaphore_/amsemaphore_/g
690
691 2011-06-28  Jean-Louis Martineau <martineau@zmanda.com>
692         * server-src/driver.c: Check holding file is in a holding directory.
693
694 2011-06-27  Jean-Louis Martineau <martineau@zmanda.com>
695         * man/xml-source/amanda-devices.7.xml: s/Witout/Without/
696
697 2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
698         * man/xml-source/amanda-client.conf.5.xml: Add amdump-server.
699         * man/xml-source/amdump_client.8.xml: Fix doc.
700
701 2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
702         * perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call.
703
704 2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
705         * perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode
706
707 2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
708         * man/xml-source/amrecover.8.xml: Document new settranslate command.
709         * recover-src/amrecover.c: Add disk_tpath,
710         * recover-src/amrecover.c (translate_octal): New function.
711         * recover-src/amrecover.h: Add tpath to DIR_ITEM.
712         * recover-src/display_commands.c: Set and use tpath.
713         * recover-src/extract_list.c: Use tpath
714         * recover-src/help.c: Add settranslate command.
715         * recover-src/set_commands.c: Set and tpath.
716         * recover-src/uparse.y: Parse settranslate command.
717         * recover-src/uscan.l: Add SETTRANSLATE keyword.
718
719 2011-06-17  Jean-Louis Martineau <martineau@zmanda.com>
720         * perl/Amanda/Changer/robot.pm, perl/Amanda/Recovery/Planner.pm,
721           perl/Amanda/Recovery/Clerk.pm,
722           perl/Amanda/Taper/Scribe.pm: Fix for qw syntax in perl 5.14.
723
724 2011-06-13  Jean-Louis Martineau <martineau@zmanda.com>
725         * perl/Amanda/Taper/Worker.pm: s/messsage/message/.
726
727 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
728         * VERSION: 3.3.0
729
730 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
731         * configure.in: Move AMANDA_S3_DEVICE to do libcurl detection later.
732
733 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
734         * NEWS, ReleaseNotes: Update for 3.3.0 release.
735
736 2011-05-30  Jean-Louis Martineau <martineau@zmanda.com>
737         * server-src/list_dir.c: fix add_dir_list_item.
738
739 2011-05-27 Dan Locks <dwlocks@zmanda.com>
740         *  packaging/rpm/amanda.spec.src: replace enable-as-needed rpm macro
741            with enable_as_needed.
742
743 2011-05-24 Dan Locks <dwlocks@zmanda.com>
744         *  packaging/deb/rules: use --enable-as-needed
745         *  packaging/rpm/amanda.spec.src: use --enable-as-needed except on
746            sles9, where ld does not have the --as-needed flag.
747
748 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
749         * installcheck/gnutar.pl: Fix gnutar pattern matching for gtar 1.25.
750
751 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
752         * application-src/ampgsql.pl: Parse and filter stdout/stderr of
753           commands.
754
755 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
756         * server-src/driverio.c: fix non-NULL terminated argument list in
757           vstralloc()
758
759 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
760         * Fix for default BSDTCP auth.
761
762 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
763         * amandad-src/amandad.c,
764           common-src/conffile.c: Change default auth to bsdtcp.
765         * NEWS, ReleaseNotes: Change default auth to bsdtcp.
766         * example/amanda-client.conf.in,
767           example/amanda.conf.in: Change default auth to bsdtcp.
768         * man/xml-source/amanda-auth.7.xml,
769           man/xml-source/amanda-client.conf.5.xml,
770           man/xml-source/amanda.conf.5.xml,
771           man/xml-source/amrecover.8.xml: Change default auth to bsdtcp.
772
773 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
774         * device-src/ndmp-device.c: s/NDMP4_/NDMP9_/g
775
776 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
777         * man/xml-source/amrecover.8.xml: Add an AUTH section.
778
779 2011-05-13  Jean-Louis Martineau <martineau@zmanda.com>
780         * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm,
781           perl/Amanda/Taper/Worker.pm: Remove uneeded '#! @PERL@' first line.
782
783 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
784         * server-src/amdump.pl: s/Catched/Caught/
785
786 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
787         * server-src/amdump.pl: Trap ctrl-c while backup is running, resume by
788           sending email and log rotation.
789
790 2011-05-10  Jean-Louis Martineau <martineau@zmanda.com>
791         * perl/Amanda/Taper/Scribe.pm: Call $device->finish() before
792           $device->read_label(), A device must be in ACCESS_NULL for read_label.
793
794 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
795         * common-src/conffile.c: Do not crash on unterminated quoted string.
796
797 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
798         * application-src/amzfs-sendrecv.pl: Implement restore.
799           Generate index with only '/'.
800         * perl/Amanda/Application/Zfs.pm: Add $self->{filesystem} on some
801           command, improve zfs_build_snapshotname.
802         * server-src/list_dir.c (add_dir_list_item): Check if same dump.
803
804 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
805         * common-src/local-security.c: Call initgroups before executing amandad
806
807 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
808         * server-src/driver.c: Do not count dup to tape when checking space
809           on holdingdisk.
810
811 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
812         * device-src/s3.c: Do not get "location" if bucket_location is not set.
813
814 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
815         * server-src/driver.c: Reply immediately a NO_NEW_TAPE if taper ask
816           REQUEST_NEW_TAPE after it is in TAPER_STATE_DONE.
817
818 2011-04-27  Jean-Louis Martineau <martineau@zmanda.com>
819         * perl/Amanda/Device.swg: Do not crash if an unknown device-property
820           is set.
821
822 2011-04-26  Jean-Louis Martineau <martineau@zmanda.com>
823         * device-src/s3-device.c: Add thread and new properties to identify
824           the device.
825         * device-src/s3.c: New properties to identify the device.
826         * device-src/s3.h: New s3_open prototype.
827         * man/xml-source/amanda-devices.7.xml: Document new properties.
828         * NEWS, ReleaseNotes: Document new features.
829
830 2011-04-20  Jean-Louis Martineau <martineau@zmanda.com>
831         * server-src/planner.c: Improve balancing if some dle have strategy
832           noinc or a smaller dumpcycle.
833
834 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
835         * server-src/amidxtaped.pl: Do the uncompress if client can't do it.
836
837 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
838         * perl/Amanda/Changer.pm: new changer error: empty.
839         * perl/Amanda/Changer/robot.pm: return empty slot.
840         * perl/Amanda/Taper/Scan/traditional.pm: Handle empty slot.
841
842 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
843         * perl/Amanda/Changer.pm: Check generated label and meta-label.
844
845 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
846         * man/xml-source/amlabel.8.xml: Improve doc.
847         * server-src/amlabel.pl: Remove spurious print.
848
849 2011-04-12  Jean-Louis Martineau <martineau@zmanda.com>
850         * server-src/amadmin.c: Do not free find result string.
851         * server-src/find.c: Use GStringChunk to store all find_dump string.
852
853 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
854         * configure.in: Use AMANDA_AS_NEEDED.
855         * config/amanda/as_needed.m4: Add --as-needed, set AS_NEEDED_FLAGS.
856         * client-src/Makefile.am, amandad-src/Makefile.am,
857           ndmp-src/Makefile.am, device-src/Makefile.am,
858           application-src/Makefile.am, xfer-src/Makefile.am,
859           server-src/Makefile.am, amar-src/Makefile.am,
860           common-src/Makefile.am: Add AS_NEEDED_FLAGS to many *_LDFLAGS.
861
862 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
863         * perl/Amanda/DB/Catalog.pm: Parse negative kb and orig-kb.
864         * perl/Amanda/Logfile.swg: Do not write negative orig-kb.
865
866 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
867         * man/xml-source/amanda-devices.7.xml: Typo.
868
869 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
870         * perl/Amanda/Interactivity.pm: Add documentation.
871
872 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
873         * server-src/driver.c: Fix Computation of data_lost on current and
874           next tape.
875
876 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
877         * NEWS, ReleaseNotes: Update for 3.3.0beta1.
878
879 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
880         * amplot/amplot.awk: Fix for new log format, fix small -t display,
881           fix 'set key' syntax.
882         * amplot/amplot.g: Fix 'set data' and 'plot' syntax.
883
884 2011-03-31  Jean-Louis Martineau <martineau@zmanda.com>
885         * VERSION: 3.3.0beta1
886
887 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
888         * installcheck/taper.pl: Fix installcheck for 'splitting not enabled'.
889
890 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
891         * VERSION: 3.3.0_beta1
892
893 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
894         * device-src/vfs-device.c: LEOM property default to TRUE.
895
896 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
897         * perl/Amanda/Taper/Scribe.pm: Log 'splitting not enabled' on write
898           failure.
899
900 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
901         * NEWS, ReleaseNotes: Update for 3.3.0
902
903 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
904         * common-src/conffile.c: Add client-name option to application and
905                                  script
906         * common-src/conffile.h: Add client-name option to application and
907                                  script
908         * perl/Amanda/Config.swg: Add APPLICATION_CLIENT_NAME and
909                                   PP_SCRIPT_CLIENT_NAME.
910         * common-src/amfeatures.c: Add fe_application_client_name and
911                                    fe_script_client_name.
912         * common-src/amfeatures.h: Add fe_application_client_name and
913                                    fe_script_client_name.
914         * common-src/amxml.c: Pares client_name
915         * common-src/amxml.h: Add application_client_nake in dle_t and
916                               client_name in script_t.
917         * server-src/diskfile.c: Put client-name in xml output.
918         * server-src/amcheck.c: Check client-name and fe_*_client_name.
919         * client-src/client_util.c (merge_properties, merge_dles_properties):
920                                     new function.
921         * client-src/client_util.h (merge_properties, merge_dles_properties):
922                                     new prototype.
923         * client-src/selfcheck.c, client-src/sendbackup.c,
924           client-src/sendsize.c: Call merge_dles_properties to merge properties
925         * man/xml-source/amanda-client.conf.5.xml,
926           man/xml-source/amanda.conf.5.xml: Document client-name.
927         * recover-src/extract_list.c: merge properties.
928         * NEWS: Add new features.
929
930 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
931         * application-src/amlog-script.pl: Remove warning of unused variable.
932
933 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
934         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
935           server-src/amidxtaped.pl, server-src/amrestore.pl: Use int().
936
937 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
938         * xfer-src/filter-process.c: Call g_critical if pipe() fail.
939
940 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
941         Change the Amanda:Xfer::Filter::Process api, it always create a pipe
942         for the process stderr, the callers must read from it. Callers can send
943         it to debug file, stderr or to amrecover.
944         * installcheck/Amanda_Xfer.pl: Change for new AXF::Process API.
945         * perl/Amanda/Xfer.pod: Document new AXF::Process API.
946         * perl/Amanda/Xfer.swg: Change for new AXF::Process API.
947         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
948           server-src/amrestore.pl: Use new AXF::Process API, send it to stderr
949           and debug file.
950         * server-src/amidxtaped.pl: Use new AXF::Process API, send it to debug
951           file and amrecover.
952         * xfer-src/filter-process.c: Remove log_stderr argument of
953           xfer_filter_process, add new get_err_fd method.
954         * xfer-src/xfer-element.h: Change xfer_filter_process prototype.
955
956 2011-03-27  Dustin J. Mitchell <dustin@mozilla.com>
957         * perl/Amanda/Util.swg: revert previous patch
958         * gnulib/Makefile.am gnulib/fsusage.h
959           gnulib/regenerate/fsusage-no-bool.patch gnulib/regenerate/regenerate:
960           patch fsusage.h to not use stdbool
961         * device-src/vfs-device.c: don't use 'false' and 'true' (from stdbool)
962
963 2011-03-26  Dustin J. Mitchell <dustin@mozilla.com>
964         * perl/Amanda/Util.swg: include fsusage.h early in the generated C
965           to avoid problems with SWIG #undefine-ing 'bool' on Mac OS X with
966           the system-installed Perl
967
968 2011-03-25  Jan Görig <jgorig@redhat.com>
969         * config/amanda/krb5-security.m4: fix linking against wrong libraries
970           on systems where krb5 directory is libdir and amanda is installed
971
972 2011-03-25  Jean-Louis Martineau <martineau@zmanda.com>
973         * server-src/driver.c: Fix iteration over a list it modify.
974
975 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
976         * application-src/amstar.c: read include_list and pass each line as
977           argument for restore operation.
978
979 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
980         * application-src/amgtar.c: Cast with off_t.
981         * application-src/amstar.c: Cast with off_t.
982
983 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
984         * application-src/amstar.c: Add ACL property.
985         * man/xml-source/amstar.8.xml: Document ACL property.
986
987 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
988         * config/amanda/dumpers.m4: Add AMANDA_PROG_SUNTAR, --with-suntar=??
989         * configure.in: Use AMANDA_PROG_SUNTAR.
990         * perl/Amanda/Constants.pm.in: Define $Amanda::Constants::SUNTAR
991         * application-src/amsuntar.pl: Use $Amanda::Constants::SUNTAR,
992                                        Add SUNTAR-PATH property.
993         * man/xml-source/amsuntar.8.xml: Document SUNTAR-PATH property.
994
995 2011-03-15  Jean-Louis Martineau <martineau@zmanda.com>
996         * server-src/find.c: Compute maxparts from the list of part.
997
998 2011-03-11  Jean-Louis Martineau <martineau@zmanda.com>
999         * perl/Amanda/Taper/Scribe.pm: If leom is supported by device,
1000           then the dle can be split.
1001         * perl/Amanda/Taper/Worker.pm: Send leom setting to
1002           get_splitting_args_from_config.
1003         * server-src/planner.c: dle can use more than one tape if allow-split
1004           is set, this is to handle leom device where splitsize can be 0.
1005
1006 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
1007         * perl/Amanda/Changer/disk.pm: Use -l to check symlink existance.
1008
1009 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
1010         * server-src/amadmin.c: export quote host and disk name, import parse
1011           quoted host and disk name.
1012
1013 2011-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1014         * ReleaseNotes, NEWS: Add changes for 3.2.2 and 3.3.0.
1015
1016 2011-03-08  Jean-Louis Martineau <martineau@zmanda.com>
1017         * application-src/amsamba.pl: Use smbclient -TF for restore.
1018
1019 2011-03-07  Jean-Louis Martineau <martineau@zmanda.com>
1020         * server-src/amtrmidx.c: Fix memory leak.
1021
1022 2011-03-02  Jean-Louis Martineau <martineau@zmanda.com>
1023         * common-src/amservice.c; Moved from server-src/amservice.c
1024         * server-src/amservice.c: Moved to server-src/amservice.c
1025         * common-src/Makefile.am: Add amservice
1026         * man/Makefile.am: Install amservice man page on client.
1027         * server-src/Makefile.am: Remove amservice
1028
1029 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
1030         * perl/Amanda/Changer.pm (make_new_tape_label): Fix if $tle is undef.
1031         * perl/Amanda/ScanInventory.pm: Call _user_msg with label argument.
1032         * perl/Amanda/Taper/Scan.pm: Document new user_msg_fn argument.
1033         * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on various
1034           tape error.
1035         * perl/Amanda/Taper/Scribe.pm (_user_msg_fn): Call
1036           scribe_notif_log_info with error message.
1037         * perl/Amanda/Taper/Worker.pm: Log error in scribe_notif_new_tape.
1038         * installcheck/Installcheck/Config.pm: Add taperscan definition.
1039         * installcheck/taper.pl: Test new log.
1040
1041 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
1042         * perl/Amanda/Header.swg: Remove bogus %module.
1043
1044 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
1045         * common-src/amfeatures.c: Add fe_amrecover_receive_unfiltered.
1046         * common-src/amfeatures.h: Add fe_amrecover_receive_unfiltered.
1047         * perl/Amanda/Feature.pod: Add fe_amrecover_receive_unfiltered.
1048         * perl/Amanda/Header.swg: Add get_dle method, handle dle_t.
1049         * recover-src/extract_list.c: Pipe decompression or decyption.
1050         * server-src/amidxtaped.pl: Do not decompress/decrypt if amrecover
1051                                     can do it.
1052
1053 2011-02-14  Jean-Louis Martineau <martineau@zmanda.com>
1054         * server-src/driver.c: flush even if flush threshold are not met if
1055           it save tape space.
1056
1057 2011-02-03  Jean-Louis Martineau <martineau@zmanda.com>
1058         * perl/Amanda/Taper/Scribe.pm: get_splitting_args_from_config() always
1059           return 'allow_split', get_xfer_dest() take a allow_split param,
1060           set $self->{'allow_split'}, Abort a dump on EOM if splitting is
1061           not allowed.
1062         * perl/Amanda/Taper/Worker.pm: Do not set can_cache_inform if splitting
1063           is not allowed.
1064         * installcheck/Amanda_Taper_Scribe.pl: Fix for previous change.
1065         * installcheck/taper.pl: Test that dump are aborted on EOM.
1066
1067 2011-02-01  Jean-Louis Martineau <martineau@zmanda.com>
1068         Patch by Jan Görig
1069         * server-src/amrestore.pl: Allow to go to next file with -p.
1070
1071 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
1072         * perl/Amanda/Logfile.swg: "%lld" do not works with perl-5.6.
1073
1074 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
1075         * server-src/amdumpd.pl: Add CHECK command.
1076         * client-src/amdump_client.pl: Add check command.
1077         * man/xml-source/amdump_client.8.xml: Document check command.
1078
1079 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
1080         * server-src/driver.c: Parse 'bytes' in reply.
1081
1082 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
1083         * server-src/driver.c: Fix taperalog *FIT no going to second volume.
1084
1085 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
1086         * perl/Amanda/Logfile.swg: print 'bytes' with 64 bits type.
1087
1088 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
1089         * perl/Amanda/Logfile.swg: kb must be integer.
1090
1091 2011-01-24  Jean-Louis Martineau <martineau@zmanda.com>
1092         * server-src/amcheckdump.pl: Do not quit the clerk if it is not defined
1093
1094 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1095         * server-src/amdumpd.pl: Execute "$sbindir/amdump"
1096
1097 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1098         * installcheck/Amanda_Config.pl: Check recovery-limit, dump-limit,
1099           amdump-server, index-server, tape-server.
1100         * installcheck/Makefile.am: Add amdump_client.
1101         * installcheck/amdump_client.pl: Test new amdump_client program.
1102
1103 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1104         * client-src/Makefile.am: Add amdump_client.
1105         * client-src/amdump_client.pl: New client program.
1106         * common-src/conffile.c: Add amdump-server in client config file.
1107         * common-src/conffile.h: Add CNF_AMDUMP_SERVER
1108         * perl/Amanda/Config.swg: Add CNF_AMDUMP_SERVER
1109         * man/Makefile.am: Add amdump_client.8.
1110         * man/xml-source/amdump_client.8.xml: New man page for amdump_client.
1111
1112 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1113         * amandad-src/amandad.c: Add SERVICE_AMDUMPD, All service are active
1114           by default for rsh, ssh and local auth.
1115         * common-src/conffile.c: Add dump-limit dumptype option.
1116         * common-src/conffile.h: Add dump-limit dumptype option.
1117         * man/xml-source/amanda.conf.5.xml: Document new dump-limit option.
1118         * common-src/local-security.c, common-src/rsh-security.c,
1119           common-src/ssh-security.c: Do not add the service on the command line
1120         * perl/Amanda/Config.swg: swig dump-limt
1121         * server-src/Makefile.am: Add amdumpd perl script.
1122         * server-src/amadmin.c (disklist_one): Print dump-limit.
1123         * server-src/amdumpd.pl: New deamon script.
1124         * server-src/amdump.pl: New --from-client option.
1125         * server-src/diskfile.h: Add dump_limit in disk_t.
1126         * server-src/diskfile.c: Set dump_limit.
1127         * server-src/driver.c: New --from-client option.
1128         * server-src/planner.c: New --from-client option.
1129
1130 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1131         * common-src/conffile.c: Rename *recovery_limit* *host_limit*,
1132           add 'server' in a host-limit.
1133         * common-src/conffile.h: Rename.
1134         * common-src/local-security.c: Use
1135           sec_get_authenticated_peer_name_gethostname.
1136         * common-src/security-util.c:
1137           New sec_get_authenticated_peer_name_gethostname function to return
1138           gethostname.
1139         * common-src/security-util.h: New prototype.
1140         * man/xml-source/amanda.conf.5.xml: Document 'server' for
1141           recovery-limit.
1142         * perl/Amanda/Config.swg: Return $Amanda::Config::LIMIT_SAMEHOST
1143           same-host, return $Amanda::Config::LIMIT_SERVER for server.
1144         * server-src/amidxtaped.pl: Use $Amanda::Config::LIMIT_SAMEHOST and
1145           $Amanda::Config::LIMIT_SERVER.
1146         * server-src/amindexd.c: Use 'server' value.
1147         * installcheck/Amanda_Config.pl: Fix for change.
1148
1149 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1150         * server-src/driver.c: Fix driver doing nothing if taper crash early.
1151
1152 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
1153         * xfer-src/source-pattern.c: remove duplicate test
1154
1155 2011-01-20  Dustin J. Mitchell <dustin@mozilla.com>
1156         * man/xml-source/amanda-interactivity.7.xml
1157           man/xml-source/amanda-taperscan.7.xml
1158           man/xml-source/amanda.conf.5.xml: copyediting
1159         * perl/Amanda/Interactivity/tty_email.pm: fix POD to indicate
1160           the nature of the class
1161
1162 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1163         * man/xml-source/amservice.8.xml: typo, </programlisting> must be at
1164           the beginning of a line.
1165
1166 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1167         * server-src/amservice.c: Use full_write, check for error.
1168
1169 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1170         * server-src/diskfile.c: Do not report error if a dle is listed twice
1171           in argument list.
1172         * installcheck/amadmin.pl: Test it.
1173
1174 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1175         * server-src/amservice.c: Add -s option.
1176         * man/xml-source/amservice.8.xml: Document -s option.
1177
1178 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1179         * installcheck/Amanda_Taper_Scan_lexical.pl,
1180           installcheck/Amanda_Taper_Scan_oldest.pl: Fix for perl-5.6.
1181
1182 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1183         * common-src/conffile.c: Add interactivity and taperscan section.
1184         * common-src/conffile.h: Add interactivity and taperscan section.
1185         * perl/Amanda/Config.swg: Add interactivity and taperscan.
1186         * example/amanda.conf.in: Add interactivity and taperscan example.
1187         * man/Makefile.am: Add new amanda-interactivity.7
1188         * man/xml-source/amanda-interactivity.7.xml: Document interactivity.
1189         * man/xml-source/amanda-taperscan.7.xml: Document new taperscan.
1190         * man/xml-source/amanda.8.xml: Add link to amanda-interactivity man
1191                                        page.
1192         * man/xml-source/amanda.conf.5.xml: Document interactivity and
1193                                             taperscan section.
1194         * perl/Amanda/Changer.pm (new): Take tapelist, labelstr, autolabel and
1195           meta_autolabel arguments.
1196         * perl/Amanda/Changer.pm (volume_is_labelable, make_new_meta_label, 
1197           make_new_tape_label, have_inventory: New method.
1198         * perl/Amanda/Interactive.pm: Renamed
1199         * perl/Amanda/Interactive/stdin.pm: Renamed
1200         * perl/Amanda/Interactivity.pm: Copy of Interactive.pm:
1201         * perl/Amanda/Interactivity/stdin.pm: Copy of Interactive/stdin.pm.
1202         * perl/Amanda/Interactivity/email.pm: New interactivity module.
1203         * perl/Amanda/Interactivity/tty.pm: New interactivity module.
1204         * perl/Amanda/Interactivity/tty_email.pm: New interactivity module.
1205         * perl/Amanda/Recovery/Scan.pm: s/Interactive/Interactivity/.
1206         * perl/Amanda/ScanInventory.pm: Base class for scan algorithm.
1207         * perl/Amanda/Tapelist.swg (add_tapelabel): Do the add in order.
1208         * perl/Amanda/Taper/Controller.pm: Use interactivity and taperscan.
1209         * perl/Amanda/Taper/Scan.pm: Allow plugable module.
1210         * perl/Amanda/Taper/Scan/lexical.pm: new scan algorithm.
1211         * perl/Amanda/Taper/Scan/oldest.pm: new scan algorithm.
1212         * perl/Makefile.am: Add new files.
1213         * server-src/amcheck-device.pl: Use interactivity and taperscan.
1214         * server-src/amcheckdump.pl: Use interactivity and taperscan.
1215         * server-src/amfetchdump.pl: Use interactivity and taperscan.
1216         * server-src/amidxtaped.pl: Use interactivity and taperscan.
1217         * server-src/amtape.pl: Use interactivity and taperscan.
1218         * server-src/amvault.pl: Use interactivity and taperscan.
1219         * installcheck/Amanda_Changer.pl: Test new methods.
1220         * installcheck/Amanda_Changer_compat.pl: Test have_inventory.
1221         * installcheck/Amanda_Changer_disk.pl: Test have_inventory.
1222         * installcheck/Amanda_Changer_multi.pl: Test have_inventory.
1223         * installcheck/Amanda_Changer_ndmp.pl: Test have_inventory.
1224         * installcheck/Amanda_Changer_null.pl: Test have_inventory.
1225         * installcheck/Amanda_Changer_rait.pl: Test have_inventory.
1226         * installcheck/Amanda_Changer_robot.pl: Test have_inventory.
1227         * installcheck/Amanda_Config.pl: Test new interactivity and taperscan
1228           section.
1229         * installcheck/Amanda_Recovery_Scan.pl: s/Interactive/Interactivity/
1230         * installcheck/Amanda_Tapelist.pl: test new add_tapelabel behavior.
1231         * installcheck/Amanda_Taper_Scan_lexical.pl: Test new module.
1232         * installcheck/Amanda_Taper_Scan_oldest.pl: Test new module.
1233         * installcheck/Installcheck/Config.pm (add_interactivity,
1234           add_taperscan): New methods.
1235         * installcheck/Makefile.am: Add new files.
1236
1237 2011-01-17  Francis Galiegue <fgaliegue@gmail.com>
1238         * xfer-src/element-glue.c: fix memory leak in read_and_push()
1239
1240 2011-01-16  Francis Galiegue <fgaliegue@gmail.com>
1241         * xfer-src/element-glue.c xfer-src/filter-xor.c
1242           xfer-src/xfer-element.c xfer-src/xfer-element.h: xfer: rename
1243           xfer_element_drain* utility functions - Both functions are used to
1244           pulling data from an upstream element, either buffers or reading a
1245           file descriptor, until it is "empty". 
1246
1247 2011-01-14  Jean-Louis Martineau <martineau@zmanda.com>
1248         * ndmp-src/amndma_tape_simulator.c: Use full_read.
1249         * ndmp-src/ndma_tape.c: Use ndmchan_n_avail_record to guarantee space
1250           for a record.
1251         * ndmp-src/ndml_chan.c (ndmchan_n_avail_record): New function.
1252         * ndmp-src/ndmlib.h  (ndmchan_n_avail_record): New prototype.
1253
1254 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
1255         * xfer-src/source-pattern.c: xfer-src/source-pattern.c: externalize
1256           pattern copying
1257
1258 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
1259         * xfer-src/element-glue.c: xfer-src/element-glue.c: fix memory leak in
1260           pull_buffer_impl()
1261
1262 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
1263         * xfer-src/xfer-element.h: xfer: define XFER_NROPS() and
1264           XFER_NTHREADS() macros
1265         * xfer-src/dest-buffer.c xfer-src/dest-directtcp-connect.c
1266           xfer-src/dest-directtcp-listen.c xfer-src/dest-fd.c
1267           xfer-src/dest-null.c xfer-src/element-glue.c xfer-src/filter-process.c
1268           xfer-src/filter-xor.c xfer-src/source-directtcp-connect.c
1269           xfer-src/source-directtcp-listen.c xfer-src/source-fd.c
1270           xfer-src/source-pattern.c xfer-src/source-random.c
1271           xfer-src/xfer-test.c: use them
1272
1273 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
1274         * common-src/match.c: match.c: rename ammtch_to_regex() into
1275           amglob_to_regex()
1276
1277 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
1278         * common-src/match.c: match.c: rename full_regex_from_expression() to
1279           full_amglob_from_expression()
1280
1281 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
1282         * server-src/planner.c: Change message of "timeout waiting for REP" to
1283           "Some estimate timeout on %s, using server estimate if possible".
1284
1285 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
1286         * man/xml-source/amanda-scripts.7.xml: Document script output property.
1287
1288 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1289         * common-src/match.c: match.c: rework regex generation from globs
1290
1291 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1292         * common-src/match.c: match.c: match_word(): change the way regex
1293           begin and end are calculated/copied
1294
1295 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1296         * common-src/match.c: match.c: better handling of "separator only"
1297           globs in match_word()
1298
1299 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1300         * common-src/match.c: match.c: move glob/disk backslash substitution
1301           out of match_word()
1302
1303 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1304         * common-src/match.c: match.c: factorize regex construction from
1305           expression
1306
1307 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1308         * common-src/match.c: match.c: factorize character escaping in
1309           make_exact_*_expression()
1310
1311 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1312         * common-src/match.c: match.c: factorize regex matching
1313         * common-src/match.h: make match and match_no_newline into
1314           macros calling do_match
1315
1316 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1317         * common-src/match.c: match.c: factorize regex compile
1318
1319 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1320         * common-src/match.c: match.c: match_host(): use g_ascii_strdown() to
1321           convert to lowercase
1322
1323 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1324         * common-src/match.c: match.c: fix '*' and '?' expansion in
1325           match_word()
1326
1327 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1328         * common-src/match.c: match.c: define a macro to recognize regex
1329           metacharacters
1330
1331 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1332         * common-src/match.c: match.c: match_host(): remove unneeded cast
1333
1334 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1335         * common-src/match.c: match.c: match_word(): rename "i" local variable
1336           to "ret"
1337
1338 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1339         * common-src/match.c: match.c: match_word(): rename two local
1340           variables. Rename r to dst, and w to src, in order to clarify their
1341           roles.
1342
1343 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
1344         * common-src/match.c: match.c: match_word(): remove unused assignment
1345
1346 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
1347         * application-src/amgtar.c, application-src/amstar.c: Do not call
1348           amname_to_dirname.
1349
1350 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
1351         * common-src/bsd-security.c: Check input fd is a socket.
1352
1353 2011-01-07  Dustin J. Mitchell <dustin@mozilla.com>
1354         * common-src/testutils.c: use %ju instead of %lu to print big numbers
1355
1356 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
1357         * testutils.c: report time of execution for each test
1358
1359 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
1360         * common-src/testutils.c: add -c <count> option to run tests more than
1361           once
1362
1363 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
1364         * testutils.c: create a run_one_test() function The way to run a test
1365           is the same, whether we fork() or not. Make that a function.
1366
1367 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
1368         * common-src/testutils.c: testutils.c: externalize test behaviour
1369           variables
1370
1371 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
1372         * common-src/amflock-test.c common-src/event-test.c
1373           common-src/fileheader-test.c common-src/hexencode-test.c
1374           common-src/ipc-binary-test.c common-src/match-test.c
1375           common-src/quoting-test.c: Ensure all tests return gbooleans.  Most,
1376           if not all, tests returned ints, and quite a few of them returned TRUE
1377           or FALSE. While the effect is basically the same as a gboolean, make
1378           all tests return a gboolean for coherency, since this is what
1379           callinfork() expects anyway.
1380         * common-src/testutils.c: Also enforce that callinfork() return that
1381           type, which, in turn, allows the "success" local variable in
1382           testutil_run_tests() to also be converted.
1383
1384 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
1385         * common-src/testutils.c: convert ints to gbooleans where appropriate;
1386           run_all, tu_debugging_enabled and ignore_timeouts are all used as
1387           gbooleans in the code even though they are declared as ints. Convert
1388           them to booleans, and also change declarations.
1389
1390 2011-01-05  Jean-Louis Martineau <martineau@zmanda.com>
1391         * perl/Amanda/Xfer.pod: new offset and size arguments of xfer->start.
1392         * perl/Amanda/Xfer.swg: Add xfer_element_set_size.
1393
1394 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
1395         * device-src/xfer-source-recovery.c: Never send more than the number
1396           of bytes requested.
1397         * perl/Amanda/Xfer.swg (xfer_start): New offset and size arguments.
1398         * xfer-src/xfer-element.c: Add set_size method.
1399         * xfer-src/xfer-element.h (XferElement): Add size field.
1400         * xfer-src/xfer-test.c: Add offset=0 and size=0 to xfer_start call.
1401         * xfer-src/xfer.c (xfer_start): Add offset and size arguments. Call
1402           xfer_element_set_size for the first element if size is set.
1403         * xfer-src/xfer.h (xfer_start): New prototype.
1404         * server-src/amfetchdump.pl, server-src/amidxtaped.pl,
1405           server-src/amvault.pl: Call xfer->start() with offset and size
1406           arguments.
1407
1408 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
1409         * perl/Amanda/Logfile.swg: Print size in bytes for taper log.
1410         * server-src/find.h (find_result_t): Add bytes.
1411         * server-src/find.c: Parse 'bytes' in 'log' file.
1412         * perl/Amanda/Report.pm: Parse 'bytes' in 'log' file.
1413         * perl/Amanda/DB/Catalog.pm: Parse 'bytes' in 'log' file.
1414         * server-src/amstatus.pl: Parse 'bytes' in 'amdump' log file.
1415         * installcheck/Amanda_DB_Catalog.pl: Fix for log file format change.
1416         * installcheck/taper.pl: Fix for log file format change.
1417
1418 2011-01-03  Jean-Louis Martineau <martineau@zmanda.com>
1419         * example/template.d/advanced.conf.in: Remove dumpuser.
1420         * server-src/amaddclient.pl: mkdir -p
1421         * server-src/amserverconfig.pl: Print dumpuser, Print the
1422           authorized_keys file location based on $amhomedir
1423
1424 2010-12-27 Dan Locks <dwlocks@zmanda.com>
1425         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add missing
1426            amservice entry to set perms at install time. Thanks to vpatton for
1427            finding this.
1428
1429 2010-12-23  Dustin J. Mitchell <dustin@mozilla.com>
1430         * client-src/client_util.c: improve error message when no includes
1431           match on disk
1432
1433 2010-12-23  Jean-Louis Martineau <martineau@zmanda.com>
1434         * perl/Amanda/Script_App.pm: Add FAILURE.
1435
1436 2010-12-21  Jean-Louis Martineau <martineau@zmanda.com>
1437         * perl/Amanda/Taper/Scribe.pm: Use 'blocksize' to compute the
1438           available space.
1439
1440 2010-12-20  Jean-Louis Martineau <martineau@zmanda.com>
1441         * server-src/find.c: Fix parsing 'PARTIAL taper' line with no part.
1442         * perl/Amanda/DB/Catalog.pm: Ditto
1443
1444 2010-12-16  Jean-Louis Martineau <martineau@zmanda.com>
1445         * amar-src/amar.c: Don't fail on trailing NUL bytes.
1446
1447 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
1448         * common-src/ssh-security.c: Use client_port.
1449
1450 2010-12-14  Daniel Néri <dne@mayonnaise.net>
1451         * application-src/ampgsql.pl: Don't assume that gtar is configured to
1452           use stdin/stdout as default archive.
1453
1454 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
1455         * server-src/amidxtaped.pl: Don't crash if same-host doesn't match.
1456
1457 2010-12-13  Jean-Louis Martineau <martineau@zmanda.com>
1458         * perl/Amanda/Interactive.pm: rename finished_cb to request_cb.
1459         * installcheck/Amanda_Recovery_Scan.pl,
1460           perl/Amanda/Interactive/stdin.pm,
1461           perl/Amanda/Recovery/Scan.pm, server-src/amcheckdump.pl,
1462           server-src/amfetchdump.pl, server-src/amidxtaped.pl,
1463           server-src/amvault.pl: s/finished_cb/request_cb/
1464
1465 2010-12-12  Jean-Louis Martineau <martineau@zmanda.com>
1466         * perl/Amanda/Changer/disk.pm: inventory must return the same as
1467                                        read_label.
1468         * server-src/amtape.pl: Fix for new inventory.
1469         * installcheck/Amanda_Changer_disk.pl: Fix for new inventory.
1470         * installcheck/Amanda_Changer_rait.pl: Fix for new inventory.
1471
1472 2010-12-11  Daniel Néri <dne@mayonnaise.net>
1473         * application-src/ampgsql.pl: Don't assume that gtar is configured to
1474           use stdin/stdout as default archive
1475
1476 2010-12-11  Daniel Néri <dne@mayonnaise.net>
1477         * application-src/ampgsql.pl: Use diskname, not devicename, as prefix
1478           when checking for properties. Now works as documented in the ampgsql
1479           man page.
1480
1481 2010-12-10 Dan Locks <dwlocks@zmanda.com>
1482         *  packaging/deb/control: move gnuplot to Suggests: and swap the order
1483
1484 2010-12-10  David Bogen <bogen@wisc.edu>
1485         * server-src/amoverview.pl: fix amoverview's argument parsing
1486
1487 2010-12-10  Jean-Louis Martineau <martineau@zmanda.com>
1488         * server-src/amcheck-device.pl: Fix possible hang if
1489           Amanda::MainLoop::quit is called before Amanda::MainLoop::run.
1490         * perl/Amanda/Changer.pm: Return the error.
1491
1492 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
1493         * server-src/driver.c: Check if taper is flushing something before
1494           moving a dle to directq.
1495
1496 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
1497         * device-src/xfer-dest-taper-cacher.c: Print why the malloc failed.
1498
1499 2010-12-08  Dustin J. Mitchell <dustin@mozilla.com>
1500         * common-src/glib-util.c common-src/glib-util.h: do not define
1501           symbol g_slist_free_full, as it exists in glib-2.27 and higher;
1502           use slist_free_full, and alias that to g_slist_free_full when
1503           building against glib-2.28 or higher.
1504         * client-src/client_util.c: make g_slist_free_full_gpointer into
1505           a local, static function
1506         * common-src/amxml.c common-src/conffile.c recover-src/extract_list.c
1507           server-src/amadmin.c server-src/amflush.c server-src/cmdline.c
1508           server-src/cmdline.h server-src/find.c server-src/holding.c
1509           server-src/planner.c: rename function
1510
1511 2010-12-07 Dan Locks <dwlocks@zmanda.com>
1512         *  packaging/rpm/amanda.spec.src: remove manual library requires and
1513            set curl vs libcurl based on distro.
1514
1515 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
1516         * common-src/util.c: s/HAVE_READLINE/HAVE_LIBREADLINE/
1517         * config/amanda/readline.m4: s/HAVE_READLINE/HAVE_LIBREADLINE/
1518
1519 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
1520         * config/amanda/readline.m4: Merge with latest AX_LIB_READLINE.
1521         * common-src/util.h: Fix for latest AX_LIB_READLINE.
1522
1523 2010-12-06 Dan Locks <dwlocks@zmanda.com>
1524         *  packaging/rpm/amanda.spec.src: remove libtermcap.so.2 requirement
1525            for newer distros.
1526
1527 2010-12-06  Jean-Louis Martineau <martineau@zmanda.com>
1528         * server-src/server_util.c (internal_server_estimate): Do not use
1529           level 0 estimate if is not available.
1530
1531 2010-12-04  Jean-Louis Martineau <martineau@zmanda.com>
1532         * server-src/dumper.c: Put them in AMANDA_DBGDIR/log.error
1533
1534 2010-12-03  Jean-Louis Martineau <martineau@zmanda.com>
1535         * server-src/dumper.c: Put error message in separate files to
1536           reduce the size of the log file.
1537
1538 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
1539         * server-src/chunker.c, xfer-src/element-glue.c: Prefer IPV4 over IPV6.
1540
1541 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
1542         * common-src/directtcp.h: DirectTCPAddr is a sockaddr_union.
1543         * common-src/sockaddr-util.c (str_sockaddr_no_port): new function.
1544         * common-src/sockaddr-util.h (str_sockaddr_no_port): New prototype.
1545         * perl/amglue/directtcp.swg: Swig new DirectTCPAddr.
1546         * server-src/dumper.c: Parse IPV6 in dataport_list.
1547         * ndmp-src/ndmpconnobj.c, perl/Amanda/Device.swg,
1548           perl/Amanda/Taper/Worker.pm, perl/Amanda/Xfer.swg,
1549           server-src/chunker.c, xfer-src/dest-directtcp-connect.c,
1550           xfer-src/element-glue.c, xfer-src/source-directtcp-connect.c,
1551           xfer-src/source-directtcp-listen.c, xfer-src/xfer-element.h,
1552           xfer-src/xfer-test.c: Use new DirectTCPAddr.
1553
1554 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1555         * common-src/conffile.c: Add pre-amcheck, post-amcheck, pre-estimate,
1556           post-estimate, pre-backup and post-backup to execute-on of script.
1557         * common-src/conffile.h: Add EXECUTE_ON_* constants.
1558         * application-src/amlog-script.pl: Add new execute-on.
1559         * common-src/amxml.c: Parse new execute-on.
1560         * man/xml-source/amanda.conf.5.xml: Document them.
1561         * perl/Amanda/Config.swg: Add new EXECUTE_ON_* constants.
1562         * perl/Amanda/Script.pm: Add new execute-on.
1563         * server-src/amcheck.c: Call run_server_global_scripts.
1564         * server-src/diskfile.c (get_hostlist): Return the host list.
1565         * server-src/diskfile.h (get_hostlist): Add prototype.
1566         * server-src/driver.c: Call run_server_global_scripts.
1567         * server-src/planner.c: Call run_server_global_scripts.
1568         * server-src/server_util.c (run_server_global_scripts): New function.
1569         * server-src/server_util.h (run_server_global_scripts): Prototype.
1570
1571 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1572         * server-src/server_util.c: Search scripts in APPLICATION_DIR,
1573           CONFIG_DIR/<conf>/application and CONFIG_DIR/application.
1574
1575 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1576         * common-src/conffile.c: Add SINGLE-EXECUTION in scripts.
1577         * common-src/conffile.h: Add pp_script_get_single_execution.
1578         * installcheck/pp-scripts.pl: Test single-execution.
1579         * man/xml-source/amanda.conf.5.xml: Document single-execution.
1580         * perl/Amanda/Config.swg: Add PP_SCRIPT_SINGLE_EXECUTION.
1581         * server-src/server_util.c: Add run_server_host_scripts,
1582           rename run_server_scripts to run_server_dle_scripts.
1583         * server-src/server_util.h: New prototype.
1584         * server-src/amcheck.c, server-src/driver.c,
1585           server-src/planner.c: Call new functions.
1586
1587 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
1588         * installcheck/amreport.pl: Fix for previous patch.
1589
1590 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
1591         * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
1592           man/xml-source/amcheckdump.8.xml, man/xml-source/amdevcheck.8.xml,
1593           man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
1594           man/xml-source/amflush.8.xml, man/xml-source/amgetconf.8.xml,
1595           man/xml-source/amlabel.8.xml, man/xml-source/amoverview.8.xml,
1596           man/xml-source/amrecover.8.xml, man/xml-source/amreport.8.xml,
1597           man/xml-source/amservice.8.xml, man/xml-source/amstatus.8.xml,
1598           man/xml-source/amtape.8.xml: Fix synopsis.
1599         * device-src/amdevcheck.pl, server-src/amadmin.c,
1600           server-src/amcheckdump.pl, server-src/amlabel.pl,
1601           server-src/amoverview.pl, server-src/amreport.pl,
1602           server-src/amstatus.pl, server-src/amtape.pl: Fix usage.
1603
1604 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
1605         * common-src/conffile.c: Print configuration option with '-'.
1606         * installcheck/Amanda_Config.pl: Fix for '-'.
1607
1608 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
1609         * perl/make_html.pl: make relative url in index.html.
1610
1611 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
1612         * perl/make_html.pl: Add amanda version in html headers and footers.
1613
1614 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
1615         * man/xslt/html.xsl.in: Include Amanda version in HTML headers.
1616
1617 2010-11-22  Jean-Louis Martineau <martineau@zmanda.com>
1618         * device-src/Makefile.am: activate-devpay needs gnulib.
1619
1620 2010-11-18 Dan Locks <dwlocks@zmanda.com>
1621         *  packaging/rpm/amanda.spec.src: quote both items in boolean
1622            comparison to avoid type mismatch.
1623
1624 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
1625         * common-src/conffile.c: Add CONFTYPE_NO_YES_ALL, change type for
1626           autoflush.
1627         * common-src/conffile.h: Add CONFTYPE_NO_YES_ALL.
1628         * man/xml-source/amanda.conf.5.xml: New autoflush option.
1629         * perl/Amanda/Config.swg: Add CONFTYPE_NO_YES_ALL.
1630         * server-src/amcheck.c: Use new value of autoflush.
1631         * server-src/planner.c: Use new value of autoflush.
1632
1633 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
1634         * server-src/driver.c: Correctly handle INPUT-ERROR and TAPE-ERROR.
1635
1636 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
1637         * device-src/xfer-dest-taper-cacher.c,
1638           device-src/xfer-dest-taper-splitter.c: Cancel in correct order.
1639           Other thread own self->state_mutex while it wait for self->ring* or
1640           self->slab*
1641
1642 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
1643         * device-src/xfer-dest-taper-cacher.c,
1644           device-src/xfer-dest-taper-splitter.c: Always call device_finish_file
1645           if device_start_file succeed.
1646
1647 2010-11-16 Dan Locks <dwlocks@zmanda.com>
1648         *  packaging/rpm/amanda.spec.src: add rhel6 stanza to distro detection
1649
1650 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
1651         * installcheck/Amanda_Changer_single.pl: Typo.
1652         * server-src/amtape.pl: Typo.
1653
1654 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
1655         * server-src/find.c: Keep the complete error message.
1656
1657 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
1658         * perl/Amanda/Changer/disk.pm: new MOUNT, UMOUNT, UMOUNT-LOCKFILE and
1659                                        UMOUNT-IDLE properties.
1660         * man/xml-source/amanda-changers.7.xml: Add new chg-disk property.
1661         * NEWS: Add new chg-disk property.
1662
1663 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
1664         * perl/Amanda/Changer.pm: Add quit method.
1665         * perl/Amanda/Changer/aggregate.pm: Add quit method.
1666         * perl/Amanda/Changer/rait.pm: Add quit method.
1667         * perl/Amanda/Recovery/Clerk.pm: Call scan quit method.
1668         * perl/Amanda/Recovery/Scan.pm: Add quit method.
1669         * perl/Amanda/Taper/Controller.pm: Call scan quit method.
1670         * perl/Amanda/Taper/Scan.pm: Add quit method.
1671         * perl/Amanda/Taper/Scribe.pm: finished_cb to Add scribe_notif_tape_done
1672         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
1673           server-src/amidxtaped.pl, server-src/amlabel.pl,
1674           server-src/amrestore.pl, server-src/amrmtape.pl,
1675           server-src/amtape.pl: Call scan/changer quit method.
1676         * server-src/amvault.pl scribe_notif_tape_done with finished_cb.
1677         * installcheck/Amanda_Changer.pl,
1678           installcheck/Amanda_Changer_compat.pl,
1679           installcheck/Amanda_Changer_disk.pl,
1680           installcheck/Amanda_Changer_multi.pl,
1681           installcheck/Amanda_Changer_ndmp.pl,
1682           installcheck/Amanda_Changer_null.pl,
1683           installcheck/Amanda_Changer_rait.pl,
1684           installcheck/Amanda_Changer_robot.pl,
1685           installcheck/Amanda_Changer_single.pl,
1686           installcheck/Amanda_Recovery_Clerk.pl,
1687           installcheck/Amanda_Recovery_Scan.pl,
1688           installcheck/Amanda_Taper_Scan.pl,
1689           installcheck/Amanda_Taper_Scan_traditional.pl,
1690           installcheck/Amanda_Taper_Scribe.pl,
1691           installcheck/amvault.pl: Add call to scan/changer quit method.
1692
1693 2010-11-12  Jean-Louis Martineau <martineau@zmanda.com>
1694         * server-src/driverio.c: Don't update last_level/consecutive_runs if
1695           the dump failed.
1696
1697 2010-11-11  Nikhil Bhupale <nikhilb@zmanda.com>
1698         * server-src/amtape.pl: Remove call to set_label.
1699         * server-src/amrestore.pl: Remove call to set_label.
1700
1701 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1702         * config/amanda/progs.m4(AMANDA_PROG_MOUNT, AMANDA_PROG_UMOUNT):
1703           find mount and umount binaries
1704         * configure.in: Use AMANDA_PROG_MOUNT and AMANDA_PROG_UMOUNT.
1705         * perl/Amanda/Constants.pm.in: Define MOUNT and UMOUNT.
1706
1707 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1708         * device-src/tape-device.c: Accept LEOM property.
1709
1710 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1711         * perl/Amanda/Changer/robot.pm: Fix use of Amanda::Changer->make_error
1712
1713 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1714         * common-src/amflock.c (lock_wr, lock_rd, lock_locked): New function
1715         * common-src/amflock.h: Add their prototype.
1716         * perl/Amanda/Util.swg: Swig them.
1717         * perl/Amanda/Util.pod: Docuemnt them.
1718
1719 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1720         * perl/Amanda/Changer.pm: Remove the changer cache.
1721         * installcheck/Amanda_Taper_Scan_traditional.pl,
1722           installcheck/Amanda_Changer_robot.pl,
1723           installcheck/Amanda_Changer_ndmp.pl: Do not reset the changer cache.
1724
1725 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1726         * perl/Amanda/MainLoop.swg: Add finalize in define_step.
1727         * perl/Amanda/MainLoop.pod: Document finalize.
1728
1729 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1730         * application-src/amstar.c: Support 'exclude file' and 'exclude list'.
1731         * man/xml-source/amstar.8.xml: Document exclude limitation.
1732
1733 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
1734         * server-src/driver.c: Better handling of dump to tape.
1735           Set force_flush to 0 as soon as the runq is empty.
1736         * server-src/dumper.c: Improving debugging.
1737
1738 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
1739         * perl/Amanda/Report.pm: Report driver FAIL as FAILED (not missing).
1740         * perl/Amanda/Report/human.pm: Do not report driver error if there
1741                                        is a try.
1742
1743 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
1744         * man/xml-source/tapelist.5.xml: Document BARCODE and META.
1745
1746 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
1747         * server-src/amdump.pl: Execute subprocess with the config overwrite.
1748         * server-src/amvault.pl: Execute subprocess with the config overwrite.
1749
1750 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1751         * server-src/amreport.pl: Set date correctly for amvault run.
1752         * perl/Amanda/Report/human.pm: Fix warning.
1753
1754 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1755         * perl/Amanda/Changer/aggregate.pm: New changer.
1756         * man/xml-source/amanda-changers.7.xml: Document chg-aggregate.
1757         * perl/Makefile.am: Add it.
1758         * server-src/amtape.pl: Print better message if inventory is not
1759                                 implemented.
1760
1761 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1762         * perl/Amanda/Changer.pm: $o $c $m $b in autolabel.
1763         * perl/Amanda/Changer.pm: $o $c in meta-autolabel.
1764         * server-src/amlabel.pl: New --barcode option, <label> is no longer
1765           required, an autolabel can be generated.
1766         * server-src/find.c: Fix for quoted label.
1767         * man/xml-source/amanda.conf.5.xml: Document new autolable variable.
1768         * man/xml-source/amlabel.8.xml: Document new amlabel features.
1769         * installcheck/Amanda_Tapelist.pl: Test it.
1770         * installcheck/Installcheck/Run.pm (setup): Argument to set the number
1771                                                     of slot.
1772         * installcheck/amlabel.pl: Test it.
1773
1774 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1775         * server-src/tapefile.c: Add barcode intapelist.
1776         * server-src/tapefile.h: Add barcode intapelist.
1777         * perl/Amanda/Tapelist.swg: Add barcode intapelist.
1778         * perl/Amanda/Taper/Scribe.pm: Set the barcode.
1779         * server-src/amlabel.pl: Set the barcode.
1780         * installcheck/Amanda_Tapelist.pl: Test it.
1781         * installcheck/amlabel.pl: Test it.
1782
1783 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1784         * perl/Amanda/Taper/Scan.pm (new): Take a tapelist argument, not a
1785                                            filename.
1786         * perl/Amanda/Taper/Scan.pm: Remove make_new_tape_label and
1787                                      make_new_meta_label methods.
1788         * perl/Amanda/Changer.pm (new): Take a tapelist argument.
1789         * perl/Amanda/Changer.pm: Add make_new_tape_label and
1790           make_new_meta_label methods to Amanda::Changer::Reservation.
1791         * installcheck/Amanda_Taper_Scan.pl,
1792           installcheck/Amanda_Taper_Scan_traditional.pl,
1793           installcheck/amdevcheck.pl, perl/Amanda/Taper/Controller.pm,
1794           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
1795           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
1796           server-src/amidxtaped.pl, server-src/amlabel.pl,
1797           server-src/amrestore.pl, server-src/amrmtape.pl,
1798           server-src/amtape.pl, server-src/amvault.pl,
1799           server-src/taper.pl: Change for new tapelist argument.
1800
1801 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
1802         * common-src/util.c (quote_string_maybe): Don't use match.
1803         * common-src/util.c (len_quote_string_maybe): New function.
1804         * common-src/util.h (len_quote_string): Define.
1805         * server-src/amadmin.c: Don't call find_dump twice.
1806         * server-src/find.c (search_logfile): Don't use regex.
1807         * server-src/find.c (print_find_result): Use len_quote_string.
1808
1809 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
1810         * common-src/conffile.c: debug-recovery default to 1.
1811         * man/xml-source/amanda.conf.5.xml: Document it.
1812
1813 2010-11-02  Nikhil Bhupale <nikhilb@zmanda.com>
1814         * server-src/amtape.pl: Remove call to set_label.
1815         * server-src/amcheck-device.pl: Remove call to set_label.
1816  
1817 2010-10-29  Dustin J. Mitchell <dustin@mozilla.com>
1818         * man/xml-source/amanda-changers.7.xml: improve chg-disk properties
1819           documentation
1820
1821 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
1822         * server-src/chunker.c: Close listening socket are accepted socket.
1823         * xfer-src/element-glue.c: Close listening socket are accepted socket.
1824
1825 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
1826         * server-src/amflush.c: Open 'amflush' log file in append mode.
1827
1828 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
1829         * server-src/amdump.pl: Open 'amdump' log file in append mode.
1830
1831 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
1832         * common-src/conffile.c: Fix quoting in recovery-limit output.
1833         * server-src/amadmin.c (disklist_one): Print recovery-limit.
1834
1835 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
1836         * client-src/client_util.c: Don't free script->result.
1837
1838 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
1839         * man/xml-source/amanda.conf.5.xml: What is a meta label.
1840
1841 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
1842         * server-src/dumper.c: Typo.
1843
1844 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1845         * common-src/conffile.c: New meta-autolabel.
1846         * common-src/conffile.h: CNF_META_AUTOLABEL.
1847         * perl/Amanda/Config.swg: CNF_META_AUTOLABEL.
1848         * man/xml-source/amanda.conf.5.xml: Document meta-autolabel
1849         * server-src/tapefile.c: Read/write meta-label to tapelist file
1850         * server-src/tapefile.h (struct tape_s): Add meta.
1851         * perl/Amanda/Tapelist.swg: Read/write meta-label to tapelist file
1852         * perl/Amanda/Changer.pm (get_meta_label, set_meta_label): New methods
1853           in A::Changer and A::Changer::Reservation.
1854         * perl/Amanda/Changer/disk.pm: Keep meta-label in state file.
1855         * perl/Amanda/Changer/disk.pm (get_meta_label, set_meta_label):
1856           New methods
1857         * perl/Amanda/Taper/Scan.pm (make_new_meta_label): New method.
1858         * perl/Amanda/Taper/Scribe.pm: get/set meta label.
1859         * server-src/amlabel.pl: New --meta and --assign option.
1860         * server-src/amtape.pl (inventory): Print meta-label.
1861         * man/xml-source/amlabel.8.xml: Document --meta and --assign options.
1862         * installcheck/Amanda_Tapelist.pl: Test tapelist with meta-label.
1863         * installcheck/amlabel.pl: Check meta.
1864
1865 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1866         * man/xml-source/amanda-changers.7.xml: Document new NUM-SLOT,
1867           AUTO-CREATE-SLOT and REMOVABLE chg-disk properties.
1868         * perl/Amanda/Changer.pm (get_boolean_property) Moved from A::Changer
1869           to A::Changer::Config.
1870         * perl/Amanda/Changer/disk.pm: New NUM-SLOT, AUTO-CREATE-SLOT and
1871           REMOVABLE properties. Use new get_boolean_property.
1872         * perl/Amanda/Changer/robot.pm: Use new get_boolean_property.
1873
1874 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1875         * common-src/fileheader.c (parse_file_header): Print buf.
1876         * patching file recover-src/extract_list.c: Read header in multiple
1877                                                     block.
1878
1879 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1880         * perl/Amanda/Report/human.pm: Use chunker size to find big estimate.
1881         * installcheck/catalogs/bigestimate.cat: Fix.
1882
1883 2010-10-25  Jean-Louis Martineau <martineau@zmanda.com>
1884         * perl/Amanda/Taper/Worker.pm: Use 4*block_size for
1885           device_output_buffer_size if it is not set by the user.
1886         * server-src/amcheck-device.pl: Check device_output_buffer_size is at
1887           least 2*block_size.
1888
1889 2010-10-25 Dan Locks <dwlocks@zmanda.com>
1890         *  config/amanda/libs.m4: update AMANDA_CHECK_CURL to add runtime link
1891            flags for all solaris platforms, remove our AC_PATH_PROG for curl-config,
1892            and trust LIBCURL_CHECK_CONFIG (which is now fixed)
1893
1894 2010-10-25 Dan Locks <dwlocks@zmanda.com>
1895         *  packaging/rpm/amanda.spec.src: exclude sles9 from
1896            LDFLAGS=-Wl,--as-needed
1897
1898 2010-10-21 Dan Locks <dwlocks@zmanda.com>
1899
1900 2010-10-20  Jean-Louis Martineau <martineau@zmanda.com>
1901         * server-src/amtape.pl: Typo.
1902
1903 2010-10-19 Dan Locks <dwlocks@zmanda.com>
1904         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add
1905            -Wl,--as-needed to ./configure invocation in packages
1906
1907 2010-10-19  Jean-Louis Martineau <martineau@zmanda.com>
1908         * ReleaseNotes NEWS: amdump --no-taper option.
1909
1910 2010-10-19  Nikhil Bhupale <nikhilb@zmanda.com>
1911         * device-src/vfs-device.h device-src/vfs-device.c:
1912           add enforce_max_volume_usage
1913         * device-src/s3-device.c: Added support for MAX_VOLUME_USAGE and
1914           ENFORCE_MAX_VOLUME_USAGE
1915         * device-src/property.h device-src/property.c: Added property
1916           ENFORCE_MAX_VOLUME_USAGE
1917         * device-src/s3.h device-src/s3.c: Calculate total volume usage for
1918           s3 device
1919         * installcheck/Amanda_Device.pl: Test it
1920         * man/xml-source/amanda-devices.7.xml: Document it
1921
1922 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
1923         * application-src/ampgsql.pl: Give an error if client property
1924           pg-datadir is different than diskdevice. Use diskdevice if client
1925           property pg-datadir is not set.
1926
1927 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
1928         * common-src/security-util.c: Quote error message for invalid size.
1929
1930 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
1931         * common-src/conffile.c (read_size_byte/get_size_byte):
1932           CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes.
1933
1934 2010-10-14  Jean-Louis Martineau <martineau@zmanda.com>
1935         * server-src/amtape.pl (inventory): print current slot.
1936         * installcheck/amtape.pl: check it.
1937
1938 2010-10-14 Dan Locks <dwlocks@zmanda.com>
1939         *  packaging/deb/rules, packaging/deb/buildpkg,
1940            packaging/rpm/amanda.spec.src: remove port range limits for
1941            rpm and deb packages
1942
1943 2010-10-13  Jean-Louis Martineau <martineau@zmanda.com>
1944         * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied.
1945
1946 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
1947         * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'.
1948
1949 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1950         * ndmp-src/ndma_comm_session.c: add a g_debug message
1951         * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof
1952
1953 2010-10-12 Dan Locks <dwlocks@zmanda.com>
1954         *  config/amanda/progs.m4: add comment about sysloc- and locsys- path,
1955            make MTX a precious variable.
1956
1957 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
1958         * common-src/conffile.c: Set default netusage to 80000 kbps.
1959
1960 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1961         * perl/Amanda/Util.pod: fix typo
1962         * server-src/amserverconfig.pl: don't specify duplicate 'dumpuser'
1963           parameter in amserverconfig (it's also in advanced.conf); use
1964           get_fs_usage; include weird size requirements in error message
1965         * installcheck/amserverconfig.pl: test for this arrangement (used in
1966           the template + custom options case, I think)
1967
1968 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1969         * ndmp-src/amndmjob_main.c: remove exit on eof thread
1970         * ndmp-src/ndmjob_main.c: add it here, in the right place
1971
1972 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1973         * common-src/ssh-security.c: don't munge $SSH_CONNETION
1974
1975 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1976         * config/amanda/swig.m4: add '.' to freebsd versions
1977         * perl/Makefile.am: spell it -pthread
1978
1979 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1980         * server-src/amvault.pl: add fake driver finish first
1981
1982 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1983         * server-src/amflush.c: write a "pid done" line when cancelling
1984         * server-src/amcleanup.pl: run amlogroll internally
1985
1986 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1987         * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before
1988           writing to a real volume
1989         * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too
1990
1991 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1992         * installcheck/amvault.pl: update the tests to use --autolabel=any
1993
1994 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1995         * server-src/amvault.pl: --autolabel any, not --autolabel all
1996
1997 2010-10-08  Jean-Louis Martineau <martineau@zmanda.com>
1998         * device-src/s3-device.c: Don't give an error is ssl_ca_info is set
1999           and ssl is not used.
2000
2001 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
2002         * client-src/client_util.c: Use property_add_to_argv.
2003         * client-src/client_util.h (application_property_argv_size):
2004           Remove prototype.
2005         * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal
2006           for property hash.
2007         * common-src/conffile.c (property_add_to_argv): Remove function
2008         * common-src/conffile.h (property_add_to_argv): Remove prototype.
2009         * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal):
2010           Add function
2011         * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal):
2012           Add prototype.
2013         * common-src/util.c (proplist_add_to_argv, property_add_to_argv):
2014           Add function.
2015         * common-src/util.h (proplist_add_to_argv, property_add_to_argv):
2016           Add prototype.
2017         * perl/Amanda/Config.pod: Document amandaify_property_name.
2018         * perl/Amanda/Config.swg: Add amandaify_property_name.
2019         * perl/Amanda/Config/FoldingHash.pm: New class.
2020         * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm
2021         * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash.
2022         * recover-src/extract_list.c: Use property_add_to_argv
2023         * installcheck/Amanda_Config.pl: Check property case matching.
2024         * installcheck/Amanda_Config_FoldingHash.pl:
2025           Check Amanda::Config::FoldingHash.
2026         * installcheck/Makefile.am:
2027           Add installcheck/Amanda_Config_FoldingHash.pl
2028
2029 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
2030         * man/xml-source/amoverview.8.xml: fix typos in usage
2031         * server-src/amoverview.pl: config is mandatory; --config is not
2032
2033 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
2034         * server-src/planner.c: Log packet sent and received.
2035
2036 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
2037         * amandad-src/amandad.c: don't wait 5 seconds if the service has
2038           already exited
2039
2040 2010-10-06 Dan Locks <dwlocks@zmanda.com>
2041         *  config/amanda/libs.m4: update LIBCURL_CHECK_CONFIG help string,
2042            fix AC_PATH_PROG usage.
2043
2044 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
2045         * perl/Makefile.am: only run the threading test after install
2046
2047 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
2048         * VERSION: 3.3.0alpha
2049
2050 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
2051         * perl/Makefile.am: fix the FreeBSD threading test to actually fail
2052
2053 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
2054         * device-src/dvdrw-device.c: Always call parent_class->finish(dself).
2055         * device-src/ndmp-device.c: Always call close_tape_agent and
2056                                     close_connection.
2057         * device-src/null-device.c: Always set pself->access_mode to
2058                                     ACCESS_NULL.
2059         * device-src/rait-device.c: Always call child finish.
2060         * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL.
2061         * device-src/tape-device.c: Always close self->fd.
2062         * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL.
2063
2064 2010-10-06  Nandan Athawale <nandan.athawale@gmail.com>
2065         * device-src/s3.c: replaced deprecated functions g_strncasecmp
2066           and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp.
2067
2068 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
2069         * man/entities/global.entities.in: better formatting for config
2070           overrides
2071         * man/xml-source/amvault.8.xml: better synopsis formatting
2072         * server-src/amvault.pl: better synopsis formatting
2073
2074 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
2075         * perl/Amanda/Logfile.swg: don't produce negative durations
2076         * perl/Amanda/DB/Catalog.pm: but handle them when they occur
2077
2078 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
2079         * perl/Amanda/Report/human.pm: Correctly print "Level:#".
2080
2081 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
2082         * server-src/planner.c: Use last_level to compute the bump level.
2083
2084 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
2085         * server-src/dumper.c: Fix memory allocation.
2086
2087 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
2088         * server-src/amidxtaped.pl: exact match for same-host, allow dumps
2089           that are not in the disklist
2090         * server-src/amindexd.c: fix trivially permissive same-host
2091
2092 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
2093         * common-src/amxml.c: set the correct fields (encryption or
2094           compression)
2095         * server-src/dumper.c: strdup strings so they are not gone after
2096           free_dle
2097
2098 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
2099         * perl/Amanda/Report.pm: fix autovivification bug
2100         * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of 
2101           undefined's
2102
2103 2010-10-04  Jean-Louis Martineau <martineau@zmanda.com>
2104         * server-src/amtape.pl: Add a 'return' for every usage() call.
2105           Add step in main.
2106
2107 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
2108         * man/xml-source/amvault.8.xml: mention that DLE splitting parameters
2109           are ignored by amvault
2110         * server-src/amvault.pl: use tapetype parameters for splitting
2111         * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight
2112           from Amanda::Config
2113
2114 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
2115         * packaging/deb/rules: remove misleading comment about automake-1.2
2116
2117 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
2118         * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask
2119           user to clear out 'tapedev' too
2120
2121 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
2122         * common-src/event.c: Set the priority of EV_TIME to 10.
2123
2124 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
2125         * perl/Amanda/Report/postscript.pm: print all dles that have a part
2126           on the volume.
2127         * installcheck/catalogs/spanned.cat: Check it.
2128
2129 2010-09-30  Dustin J. Mitchell <dustin@zmanda.com>
2130         * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1,
2131           too
2132
2133 2010-09-29  Dustin J. Mitchell <dustin@zmanda.com>
2134         * server-src/dumper.c: fix prints; use the correct disk_t fields
2135
2136 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
2137         * common-src/alloc.c: Remove a print to stderr.
2138
2139 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
2140         * NEWS, ReleaseNotes: Update.
2141
2142 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2143         * installcheck/amvault.pl: fix tests for total size
2144
2145 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2146         * common-src/util.c: remove debugging call
2147         * installcheck/Amanda_Util.pl: fix tests on perl-5.6
2148
2149 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2150         * server-src/amvault.pl: print total size on --dry-run
2151
2152 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2153         * installcheck/Amanda_Config.pl: fix test
2154
2155 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2156         * NEWS: update NEWS about it
2157         * common-src/conffile.c common-src/conffile.h: add recovery-list
2158           parameters
2159         * man/xml-source/amanda.conf.5.xml: document them
2160         * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them
2161         * installcheck/Amanda_Config.pl: test them
2162         * server-src/amidxtaped.pl: check recovery limits
2163         * installcheck/amidxtaped.pl
2164           installcheck/Installcheck/ClientService.pm: test it
2165         * server-src/amindexd.c: check recovery limits
2166
2167 2010-09-28  Jean-Louis Martineau <martineau@zmanda.com>
2168         * recover-src/extract_list.c: Print number of bytes read.
2169
2170 2010-09-28 Dan Locks <dwlocks@zmanda.com>
2171         *  config/amanda/progs.m4: remove first instance of
2172            AMANDA_PROG_GNUPLOT
2173
2174 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
2175         * common-src/amanda.h common-src/alloc.c: add save_env_full
2176         * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services
2177
2178 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
2179         * common-src/amxml.c: Fix unallocating NULL g_hash.
2180         * server-src/chunker.c: Don't free cmdargs.
2181
2182 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
2183         * common-src/security-util.c: Fix pointer arithmetic.
2184
2185 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
2186         * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with
2187           descriptions of match expressions
2188         * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
2189           man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml
2190           man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml
2191           man/xml-source/amvault.8.xml: reference it
2192
2193 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
2194         * common-src/util.c common-src/util.h: support ##.## in braced
2195           alternates
2196         * installcheck/Amanda_Util.pl: test it
2197         * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml
2198           man/xml-source/amanda-devices.7.xml: document it
2199
2200 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
2201         * amandad-src/amandad.c, client-src/client_util.c,
2202           client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c,
2203           common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h,
2204           common-src/security-util.c, common-src/util.c,
2205           perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c,
2206           server-src/chunker.c, server-src/diskfile.c, server-src/driver.c,
2207           server-src/driverio.c, server-src/dumper.c, server-src/find.c,
2208           server-src/holding.c, server-src/planner.c, server-src/server_util.c,
2209           server-src/xfer-source-holding.c: Fix memory leak.
2210
2211 2010-09-25  Dustin J. Mitchell <dustin@zmanda.com>
2212         * common-src/alloc.c: remove amtable functions
2213         * common-src/amanda.h: remove prototypes
2214
2215 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
2216         * application-src/amstar.c: Check root can cd to the directory.
2217
2218 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
2219         * perl/Amanda/Report/human.pm: Correctly print new tapes to use.
2220         * installcheck/catalogs/filesystemstaped.cat: write the tapelist file
2221         * installcheck/amreport.pl: Test it.
2222
2223 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
2224         * NEWS: amvault and other new news
2225         * server-src/amvault.pl: support --dry-run
2226         * man/xml-source/amvault.8.xml: docs
2227         * installcheck/amvault.pl: tests
2228
2229 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
2230         * common-src/security.h: add get_authenticated_peer_name method
2231         * common-src/security-util.c common-src/security-util.h: add two
2232           implementations
2233         * common-src/sockaddr-util.c common-src/sockaddr-util.h: add
2234           str_to_sockaddr
2235         * amandad-src/amandad.c: log authenticated peer name
2236         * common-src/bsd-security.c common-src/bsdtcp-security.c
2237           common-src/bsdudp-security.c common-src/krb5-security.c
2238           common-src/local-security.c common-src/rsh-security.c
2239           common-src/ssh-security.c: implement get_authenticated_peer_name
2240         * common-src/util.h: fix comments
2241         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
2242           config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c
2243           gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add
2244           inet_pton module
2245         * man/xml-source/amanda-auth.7.xml: update manual to describe
2246           authenticated peer names
2247
2248 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
2249         * common-src/security-util.c: Check size before allocating.
2250
2251 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
2252         * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only
2253
2254 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
2255         * device-src/xfer-dest-taper-splitter.c (device_thread_write_part):
2256           Don't write more than the block size.
2257
2258 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
2259         * installcheck/amreport.pl: update checks to match amreport change
2260
2261 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
2262         * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add
2263           exports
2264         * server-src/amreport.pl: don't print anything in script mode when
2265           there is nothing to do
2266         * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault
2267         * server-src/amvault.pl: make dst-changer and src-timestamp into
2268           --options and add support for dumpspecs
2269         * man/xml-source/amvault.8.xml: document
2270         * installcheck/amvault.pl: test changes
2271         * installcheck/Amanda_Cmdline.pl: remove TODO
2272
2273 2010-09-22  Jean-Louis Martineau <martineau@zmanda.com>
2274         * server-src/driver.c (startaflush_tape): Use tape_length if the
2275           tape is not started.
2276
2277 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
2278         * man/xslt/html.xsl.in: include Amanda version in HTML footers
2279
2280 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
2281         * server-src/amvault.pl: add an INFO line for every source volume read
2282
2283 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
2284         * server-src/amvault.pl: add extra logging for amreport, and invoke
2285           amreport at the end of a run
2286         * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h:
2287           add P_AMVAULT
2288         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
2289           server-src/amreport.pl: handle amvault logs, too
2290
2291 2010-09-21  Orion Poplawski <orion@cora.nwra.com>
2292         * server-src/amoverview.pl: fix remaining uninitialized value warnings
2293
2294 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
2295         * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no
2296           successful parts on tape; comments and POD
2297
2298 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
2299         * installcheck/catalogs/amflush.cat
2300           installcheck/catalogs/bigestimate.cat
2301           installcheck/catalogs/doublefailure.cat
2302           installcheck/catalogs/fatal.cat
2303           installcheck/catalogs/filesystemstaped.cat
2304           installcheck/catalogs/flush-noorigsize.cat
2305           installcheck/catalogs/flush-origsize.cat
2306           installcheck/catalogs/longstrange.cat
2307           installcheck/catalogs/multi-taper.cat installcheck/catalogs/normal.cat
2308           installcheck/catalogs/plannerfail.cat
2309           installcheck/catalogs/resultsmissing.cat
2310           installcheck/catalogs/retried-nofinish.cat
2311           installcheck/catalogs/retried-strange.cat
2312           installcheck/catalogs/retried.cat
2313           installcheck/catalogs/shortstrange.cat
2314           installcheck/catalogs/skipped.cat installcheck/catalogs/spanned.cat
2315           installcheck/catalogs/strontium.cat installcheck/catalogs/taperr.cat:
2316           update expected reports to match updated amreport output
2317
2318 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
2319         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c:
2320           Don't print warning for 'holdingdisk auto' and directtcp data path.
2321
2322 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
2323         * application-src/amgtar.c: Add VERBOSE property,
2324           unlink include/exclude file if VERBOSE if NO.
2325         * man/xml-source/amgtar.8.xml: Document VERBOSE property.
2326
2327 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
2328         * perl/Makefile.am: make the thread check mandatory on FreeBSD
2329         * config/amanda/swig.m4: detect FreeBSD
2330
2331 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
2332         * perl/Amanda/Report/human.pm: change some strings, and make
2333           the statistics section more succinct; suggested by Jon LaBadie
2334
2335 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
2336         * server-src/amadmin.c: add 'dles' and 'hosts' subcommands
2337         * man/xml-source/amadmin.8.xml: document them
2338
2339 2010-09-20  Jean-Louis Martineau <martineau@zmanda.com>
2340         * perl/Amanda/Script_App.pm: Call _set_mesgout.
2341         * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout):
2342           Set $self->{mesgout}.
2343         * application-src/amraw.pl, application-src/amsamba.pl
2344           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
2345           Don't set $self->{mesgout}.
2346
2347 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
2348         * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming
2349
2350 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
2351         * server-src/find.c: only expect partnum/totalparts in taper log lines
2352         * installcheck/catalogs/bigdb.cat: tests
2353
2354 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
2355         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to
2356           XferSourceRecovery
2357
2358 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
2359         * perl/Amanda/Changer/disk.pm: but still return stringy slot names
2360
2361 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
2362         * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by
2363           'ghosts' on forums.zmanda.com
2364
2365 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
2366         * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in
2367           tape device
2368
2369 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
2370         * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server
2371           component
2372
2373 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
2374         * server-src/dumper.c: Send filter STDERR to log file, backup is
2375           marked as failed.
2376
2377 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
2378         * device-src/ndmp-device.c, device-src/tape-device.c,
2379         * device-src/vfs-device.c: Don't set the header if nothing is read.
2380         * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't
2381           exists
2382         * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device
2383           status and header.
2384         * installcheck/Amanda_Changer_multi.pl: Updated.
2385         * installcheck/amcheck-device.pl: Updated.
2386         * installcheck/amdevcheck.pl: Updated.
2387
2388 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
2389         * server-src/driver.c: start up correctly with --no-taper
2390         * server-src/driverio.c server-src/driverio.h: take no_taper as
2391           argument to startup_tape_process
2392
2393 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
2394         * perl/Amanda/DB/Catalog.pm: new methods to determine the type of
2395           a run
2396         * installcheck/Amanda_DB_Catalog.pl: test them
2397         * server-src/amvault.pl: 'latest' excludes amvault runs; add START
2398           amvault to identify such runs
2399         * installcheck/catalogs/bigdb.cat: add 'START planner' where missing
2400         * installcheck/amvault.pl: cleanup after tests
2401
2402 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
2403         * NEWS: mention improvements to amvault
2404         * server-src/amvault.pl: Add --autolabel=.. and --label-template=..
2405         * installcheck/amvault.pl: update tests
2406         * man/xml-source/amvault.8.xml: update manpage
2407
2408 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
2409         * server-src/amreport.pl: support more than one email address
2410         * installcheck/amreport.pl: change error message
2411
2412 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
2413         * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them
2414           in the tapelist file.
2415           Remove the "Will write new label `$LABEL' to new tape" message.
2416         * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist
2417            in the argument.
2418         * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file.
2419         * server-src/amvault.pl: Don't update the tapelist file.
2420         * installcheck/Amanda_Report.pl: Remove 'Will write ...' message.
2421           installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message.
2422           installcheck/taper.pl: Remove 'Will write ...' message.
2423
2424 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
2425         * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock.
2426         * perl/Amanda/Tapelist.pod: Document new API.
2427           perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm,
2428           perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm,
2429           perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl,
2430           server-src/amlabel.pl, server-src/amreport.pl,
2431           server-src/amrmtape.pl, server-src/amvault.pl: Use new API
2432         * installcheck/Amanda_Logfile.pl,
2433           installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl,
2434           installcheck/amrmtape.pl, installcheck/amtape.pl,
2435           installcheck/Amanda_Recovery_Clerk.pl: Fix for new API.
2436
2437 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
2438         * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd
2439         * xfer-src/xfer-element.c xfer-src/xfer-element.h: add
2440           xfer_element_swap_input_fd and xfer_element_swap_output_fd and
2441           use them to access input_fd and output_fd atomically
2442         * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle
2443           taking ownership of fd's even in pull_and_write and read_and_push
2444         * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c
2445           xfer-src/dest-fd.c: use xfer_element_swap_*_fd
2446
2447 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
2448         * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'.
2449         * installcheck/taper.pl: Fix for correct tape_num.
2450
2451 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
2452         * server-src/driver.c: Use many worker.
2453         * server-src/driverio.c: Init many worker.
2454         * server-src/driverio.h (TaperState): New taper state.
2455         * server-src/server_util.c: Add "TAKE-SCRIBE-FROM".
2456         * server-src/server_util.h: Add TAKE_SCRIBE_FROM.
2457
2458 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
2459         * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol.
2460         * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function.
2461         * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb.
2462           transfert the xfer to a new scribe.
2463         * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method.
2464         * perl/Amanda/Xfer.swg (xfer_set_callback): New method.
2465         * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command.
2466
2467 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
2468         * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup.
2469         * installcheck/Installcheck/Run.pm (setup): Take an argument to set
2470                                                     new vtapes.
2471         * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb.
2472         * installcheck/taper.pl: Fix and test for START_SCAN cmd.
2473         * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function.
2474         * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol.
2475         * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan,
2476           new perm_cb argument, new start_scan method.
2477         * perl/Amanda/Taper/Worker.pm (START_SCAN): New method,
2478           call perm_cb with new argument.
2479         * server-src/amvault.pl: Call start_scan and perm_cb with new argument.
2480         * server-src/driver.c: Send START_SCAN command to taper.
2481         * server-src/driverio.c (taper_cmd): Add START_SCAN.
2482         * server-src/server_util.c (cmdstr): add "START-SCAN".
2483         * server-src/server_util.h: Add START_SCAN.
2484
2485 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
2486         * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol.
2487         * perl/Amanda/Taper/Controller.pm,
2488         * perl/Amanda/Taper/Worker.pm: Use worker_name.
2489         * server-src/driverio.c (taper_cmd): Send worker_name to taper.
2490         * server-src/driver.c: New argument to taper_cmd.
2491         * server-src/amstatus.pl: Parse worker_name.
2492         * installcheck/catalogs/chunker-partial.cat,
2493           installcheck/catalogs/normal.cat,
2494           installcheck/catalogs/quoted.cat: Add worker_name.
2495         * installcheck/taper.pl: Add worker_name.
2496
2497 2010-09-14  Jean-Louis Martineau <martineau@zmanda.com>
2498         * server-src/taper.pl: Split in many files, add the worker.
2499         * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl
2500         * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl
2501         * perl/Amanda/Taper/Worker.pm: New class
2502         * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm.
2503
2504 2010-09-14  Dustin J. Mitchell <dustin@zmanda.com>
2505         * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description
2506
2507 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2508         * server-src/amflush.c: Don't include driverio.h
2509         * server-src/driver.c, server-src/driverio.c, server-src/driverio.h:
2510           Put all taper variables in a taper_t structure.
2511
2512 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2513         * installcheck/amreport.pl: Load the config instead of using amgetconf.
2514
2515 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2516         * installcheck/amreport.pl: Use full path to amgetconf.
2517
2518 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2519         * server-src/find.c: Parse log with taper lines mixed.
2520         * perl/Amanda/Report.pm: Parse log with taper lines mixed.
2521         * installcheck/Amanda_DB_Catalog.pl: Check it.
2522         * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat.
2523         * installcheck/amreport.pl: Check it;
2524         * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed.
2525
2526 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
2527         * man/xml-source/amoverview.8.xml: document long options
2528         * server-src/amoverview.pl: fix bugs, stop using perl formats, and
2529           give long options in the usage message
2530         * installcheck/catalogs/bigdb.cat: add disklist
2531         * installcheck/amoverview.pl: more thorough tests based on bigdb
2532
2533 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
2534         * man/xml-source/amdump.8.xml: document --no-taper
2535         * server-src/Makefile.am: rename amdump.sh -> .pl
2536         * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add
2537           --no-taper
2538         * server-src/driver.c: support --no-taper by not starting taper
2539         * server-src/planner.c: support --no-taper by not sending flushes
2540
2541 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2542         * server-src/find.c (find_dump): Don't print the
2543                                          'log files found for tape' warning.
2544         * server-src/amadmin.c: Call find_log to print the warning.
2545
2546 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2547         * server-src/amserverconfig.pl: Use $pw[0].
2548
2549 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
2550         * common-src/conffile.c: Add taper-parallel-write.
2551         * common-src/conffile.h: Add taper-parallel-write.
2552         * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write.
2553
2554 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
2555         * installcheck/Makefile.am installcheck/amflush.pl: new installcheck
2556
2557         * server-src/amflush.c: flush DLEs that aren't in the disklist anymore
2558         * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile,
2559           based on match_disklist
2560         * server-src/driver.c: load holding-disk pseudo-DLEs at startup
2561         * server-src/driverio.c: survive configuration-free DLEs
2562         * server-src/holding.c server-src/holding.h: search_holding_file no
2563           longer checks against disklist
2564         * server-src/planner.c: use match_dumpfile for holding-disk DLEs
2565
2566 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
2567         * installcheck/Amanda_Device.pl: use srcdir
2568         * installcheck/Installcheck.pm: set srcdir from env
2569         * installcheck/Installcheck/Catalogs.pm: use srcdir
2570         * installcheck/Makefile.am: set $srcdir for tests
2571
2572 2010-09-09  Lyndon Nerenberg <lyndon@orthanc.ca>
2573         * Makefile.am: fix to enable builds outside srcdir
2574
2575 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
2576         * server-src/amvault.pl: add --export
2577         * man/xml-source/amvault.8.xml: doc it
2578         * installcheck/amvault.pl: test it
2579
2580 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
2581         * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog
2582           hack
2583
2584 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
2585         * installcheck/Makefile.am: include
2586           installcheck/catalog/retried-strange.cat in distribution
2587
2588 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
2589         * installcheck/catalogs/retried-strange.cat: add a retried dump
2590           where the retry is strange
2591         * installcheck/amreport.pl: test it
2592         * perl/Amanda/Report/human.pm: fix the bug it reveals
2593
2594 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
2595         * gnulib/regenerate/regenerate: add 'environ' module
2596         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
2597           gnulib/Makefile.am config/gnulib/environ.m4: new module
2598
2599 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
2600         * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4
2601         * gnulib/regenerate/regenerate: change gnulib sha1
2602
2603 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
2604         * man/xml-source/amreport.8.xml: describe the format of the dump, with
2605           notes and details
2606
2607 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
2608         * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done
2609         * installcheck/Amanda_Taper_Scribe.pl: test it
2610
2611 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
2612         * application-src/ampgsql.pl: Send tar stderr to the server.
2613
2614 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
2615         * server-src/amserverconfig.pl: use RUNNING_AS_ANY and
2616                                         set dumpuser in amanda.conf.
2617
2618 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2619         * common-src/alloc.c: remove unnecessary declaration of 'environ'
2620
2621 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2622         * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes
2623         * installcheck/Amanda_Changer_robot.pl: test it
2624
2625 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2626         * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the
2627           ndmlib_mutex
2628
2629 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2630         * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see
2631           http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html
2632
2633 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2634         * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer
2635           slots, to save space
2636
2637 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2638         * perl/Amanda/Changer.pm: fix make_combined_error
2639         * perl/Amanda/Changer/robot.pm: correctly set up polling for device
2640           ready; use 'unknown', not 'device', as a reason; always return a
2641           changer error, not a string
2642
2643 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
2644         * device-src/tape-aix.c device-src/tape-uware.c
2645           device-src/tape-xenix.c: remove unmaintained, and apparently unused,
2646           implementations
2647         * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c
2648         * device-src/tape-device.h: remove
2649         * device-src/tape-ops.h: remove
2650
2651         * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore
2652         * device-src/Makefile.am: remove tape ops conditionals
2653
2654 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
2655         * configure.in: add check for unsetenv
2656
2657 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
2658         * installcheck/Makefile.am: add Installcheck::Catalog and the
2659           catalogs to the distribution
2660
2661 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2662         * installcheck/amserverconfig.pl: skip the correct number of tests
2663
2664 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2665         * installcheck/amserverconfig.pl: don't try running tape-changer if
2666           MTX is not installed
2667         * server-src/amserverconfig.pl: create $CONFIG_DIR if required.  This
2668           passes on my system and should pass on the Mac systems.
2669
2670 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2671         * config/.gitignore: don't ignore these files
2672         * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add
2673           ignored, but required, gnulib files
2674
2675 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2676         * NEWS: note removal of changers
2677         * changer-src/Makefile.am changer-src/chg-chio.pl
2678           changer-src/chg-chs.sh changer-src/chg-iomega.pl
2679           changer-src/chg-juke.sh changer-src/chg-mcutil.sh
2680           changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh
2681           changer-src/chg-rth.pl changer-src/chg-scsi-chio.c
2682           changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c
2683           changer-src/scsi-bsd.c changer-src/scsi-cam.c
2684           changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
2685           changer-src/scsi-defs.h changer-src/scsi-hpux.c
2686           changer-src/scsi-hpux_new.c changer-src/scsi-irix.c
2687           changer-src/scsi-linux.c changer-src/scsi-proto.c
2688           changer-src/scsi-solaris.c changer-src/sense.c: remove changers and
2689           system-specific SCSI code
2690         * config/amanda/changer.m4: remove unnecessary checks
2691         * config/amanda/progs.m4: remove checks for chio, chs, and mcutil
2692         * configure.in: remove changer invocations
2693
2694 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2695         * server-src/driverio.c: Don't write negative origsizes to the taper
2696
2697 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2698         * server-src/amcheck.c: drop root privs during the server check, so
2699           that access() will test the dumpuser's perms, not root's perms
2700
2701 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2702         * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir
2703         * installcheck/amtapetype.pl: spell it device-property
2704         * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long
2705           option
2706         * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of
2707           mkdir
2708
2709 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2710         * installcheck/Makefile.am: new tests
2711         * installcheck/amserverconfig.pl: run amserverconfig
2712         * installcheck/example.pl: test that templates parse properly
2713         * server-src/amserverconfig.pl: minor cleanup of old perl
2714
2715 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2716         * server-src/dumper.c changer-src/chg-scsi.c: use fseeko
2717         * config/.gitignore config/config.rpath config/gnulib/* gnulib/*:
2718           upgrade gnulib
2719         * gnulib/regenerate/no-error.patch: updated patch
2720         * gnulib/regenerate/regenerate: drop visibility module; specify new
2721           git hash
2722
2723 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2724         * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0
2725           to logfiles to check handling of those cases
2726         * perl/Amanda/Report.pm: fix (egregious) typo
2727         * perl/Amanda/Report/human.pm: handle compression better, handle
2728           printing non-contiguous levels
2729
2730 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2731         * application-src/ampgsql.pl: remove check for a directory that
2732           should not be readable to the amanda user
2733
2734 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2735         * application-src/amgtar.c application-src/ampgsql.pl
2736           recover-src/extract_list.c server-src/amcheckdump.pl: Use
2737           --ignore-zeros in all -t or -x invocations of gtar
2738
2739 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2740         * man/xml-source/amanda-auth.7.xml
2741           man/xml-source/amanda-changers.7.xml
2742           man/xml-source/amanda-client.conf.5.xml
2743           man/xml-source/amanda-compatibility.7.xml
2744           man/xml-source/amanda-devices.7.xml
2745           man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml
2746           man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove
2747           references to krb4 and to the pre-spanning days, and canonicalize
2748           all configuration parameters to use -, not _
2749         * common-src/conffile.c device-src/activate-devpay.c
2750           device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm
2751           perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c
2752           server-src/amreport.pl server-src/driver.c server-src/planner.c:
2753           canonicalize configuration parameter names in error messages to use -,
2754           not _
2755
2756 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2757         * installcheck/Installcheck/Catalogs.pm: tool to install catalogs
2758           dynamically, rather than including them in __DATA__
2759         * installcheck/catalogs/*: new catalog files
2760         * installcheck/Amanda_DB_Catalog.pl
2761           installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl
2762           installcheck/amstatus.pl: use Installcheck::Catalog
2763         * perl/Amanda/Recovery/Planner.pm: check that parameters exist
2764
2765 2010-08-25 Dan Locks <dwlocks@zmanda.com>
2766         *  packaging/deb/control: Fix missing line break so dpkg can parse the
2767            control file
2768
2769 2010-08-23  Dustin J. Mitchell <dustin@zmanda.com>
2770         * server-src/amvault.pl: add --fulls-only option
2771         * man/xml-source/amvault.8.xml: document
2772
2773 2010-08-23 Dan Locks <dwlocks@zmanda.com>
2774         *  packaging/deb/control: add ca-certificates and procps
2775
2776 2010-08-21  Dustin J. Mitchell <dustin@zmanda.com>
2777         * common-src/fileheader.c: remove incorrect validations for
2778           CONT_FILENAME and APPLICATION
2779
2780 2010-08-20 Dan Locks <dwlocks@zmanda.com>
2781         *  The error fixed here was reported by ssgelm.
2782         *  packaging/common/substitute.pl: Use FULL_VERSION instead of
2783            VERSION.
2784         *  packaging/rpm/amanda.spec.src: renamed from amanda.spec, added
2785            %%VERSION%% macro for substitute.pl, fixed glib2 requires typo
2786         *  packaging/rpm/buildpkg: refactored into "do_thing" functions, added
2787            substitute.pl machinery.
2788
2789 2010-08-20 Dan Locks <dwlocks@zmanda.com>
2790         *  packaging/rpm/amanda.spec: add openSuSE 11 detection and
2791            buildrequires glib2-devel, as written by ssgelm
2792
2793 2010-08-13  Dustin J. Mitchell <dustin@zmanda.com>
2794         * config/amanda/debugging.m4: make the default for syntax-checks
2795           "disabled", add a warning when enabling
2796         * perl/Makefile.am config/automake/scripts.am: don't do any checks
2797           that require linking perl extension modules unless SYNTAX_CHECKS is
2798           set
2799         * installcheck/Makefile.am: always skip syntax checks
2800         * application-src/amlog-script.pl application-src/amraw.pl
2801           application-src/amsamba.pl application-src/amsuntar.pl
2802           application-src/amzfs-sendrecv.pl application-src/amzfs-snapshot.pl
2803           application-src/script-email.pl common-src/amgetconf.pl
2804           device-src/amdevcheck.pl device-src/amtapetype.pl
2805           installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_ndmp.pl
2806           installcheck/Amanda_Changer_null.pl
2807           installcheck/Amanda_Changer_rait.pl
2808           installcheck/Amanda_Changer_robot.pl
2809           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Cmdline.pl
2810           installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl
2811           installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl
2812           installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl
2813           installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl
2814           installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl
2815           installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl
2816           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
2817           installcheck/amadmin.pl installcheck/amarchiver.pl
2818           installcheck/amcheck-device.pl installcheck/amcheck.pl
2819           installcheck/amcheckdump.pl installcheck/amdevcheck.pl
2820           installcheck/amdump.pl installcheck/amgetconf.pl
2821           installcheck/amlabel.pl installcheck/amoverview.pl
2822           installcheck/amrmtape.pl installcheck/amservice.pl
2823           installcheck/amstatus.pl installcheck/amtape.pl
2824           installcheck/amtapetype.pl installcheck/amvault.pl
2825           installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl
2826           server-src/amcheckdump.pl server-src/amcleanup.pl
2827           server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add
2828           strict and/or warnings, and fix (trivial) resulting warnings
2829
2830 2010-08-13  Nikhil Bhupale <nikhilb@zmanda.com>
2831         * AUTHORS: add Nikhil
2832         * device-src/ndmp-device.c: add READ_BLOCK_SIZE support
2833         * installcheck/Amanda_Device.pl: test it
2834         * man/xml-source/amanda-devices.7.xml: document it
2835
2836 2010-08-11  Dustin J. Mitchell <dustin@zmanda.com>
2837         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly
2838         * installcheck/Amanda_Util.pl: test it
2839         * application-src/amsamba.pl: use it to parse amandapass
2840
2841 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
2842         * server-src/find.c: parse old SUCCESS lines properly
2843         * perl/Amanda/DB/Catalog.pm: same
2844         * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines
2845
2846 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
2847         * amandad-src/amandad.c: unset SUN_PERSONALITY on startup
2848         * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY
2849
2850 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
2851         * server-src/amlogroll.pl: ignore arguments after the first
2852
2853 2010-08-06  Dustin J. Mitchell <dustin@zmanda.com>
2854         * installcheck/amvault.pl: correct test count
2855         * perl/Amanda/Taper/Scribe.pm: fix nparts calculation
2856
2857 2010-08-06  Stephen Gelman <ssgelm@gmail.com>
2858         * AUTHORS: add Stephen
2859         * client-src/rundump.c client-src/runtar.c: unset
2860           SUN_PERSONALITY in runtar and rundump, to shut off
2861           Nexenta's tendency to magically run Sun binaries
2862
2863 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
2864         * server-src/amvault.pl: rewrite to use scribe, clerk
2865         * installcheck/amvault.pl: check results better
2866         * server-src/logfile.c server-src/logfile.h: add log_add_full
2867         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full
2868           and make_stats methods
2869         * perl/Amanda/MainLoop.pod: POD typos
2870         * perl/Amanda/Recovery/Planner.pm: add shift_dump method
2871         * perl/Amanda/Taper/Scan.pm: add POD, fix typos
2872         * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb
2873         * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile
2874
2875 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
2876         * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE
2877           property
2878
2879 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
2880         * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_*
2881         * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_*
2882         * installcheck/Amanda_Recovery_Clerk.pl
2883           installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl
2884           server-src/amfetchdump.pl server-src/amidxtaped.pl
2885           server-src/taper.pl: use renamed methods
2886
2887 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
2888         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename
2889           and a method to find the proper timestamp for the current log
2890         * installcheck/Amanda_Logfile.pl: test it
2891         * server-src/Makefile.am server-src/amlogroll.c
2892           server-src/amlogroll.pl: rewrite in perl
2893
2894 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
2895         * config/amanda/ipv6.m4: fix config messages to not use the
2896           autoconf-specific word "target"
2897
2898 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
2899         * man/xml-source/amanda.conf.5.xml: add more info about appropriate
2900           settings for autolabel
2901
2902 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
2903         * common-src/security.h: move comments from wiki, reorder functions
2904
2905 2010-08-03  Jean-Louis Martineau <martineau@zmanda.com>
2906         * server-src/amdump.sh: Check it own the log file.
2907
2908 2010-08-02  Jean-Louis Martineau <martineau@zmanda.com>
2909         * common-src/util.c (interruptible_accept): Set the read set and
2910           timeout before each select call.
2911
2912 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
2913         * server-src/amvault.pl: only run as dumpuser
2914
2915 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
2916         * man/xml-source/amanda-auth.7.xml: consistently use the same
2917           username in examples (thanks to Amar Takhar)
2918
2919 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
2920         * xfer-src/filter-process.c: handle fd's <= 2 correctly
2921
2922 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
2923         * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a
2924           copy of tcpm_recv_token.
2925         * common-src/security-util.c: New tcpm_recv_token without a timeout.
2926         * common-src/security-util.h: Add field to keep a buffer in tcp_conn.
2927
2928 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
2929         * perl/Amanda/Script_App.pm: Print restore message to STDERR.
2930
2931 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
2932         * config/amanda/progs.m4: require SWIG-1.3.39
2933         * (all .c files): #include amanda.h first
2934         * perl/amglue/amglue.swg: use %begin to include config.h first
2935
2936 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
2937         * device-src/amtapetype.pl: detect LEOM and add appropriate
2938           comments
2939         * device-src/xfer-dest-device.c device-src/xfer-device.h: add
2940           cancel_at_leom constructor arg
2941         * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
2942           installcheck/Amanda_Xfer.pl installcheck/amrestore.pl
2943           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg
2944           server-src/amvault.pl: pass new argument
2945
2946 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
2947         * device-src/tape-device.c device-src/tape-device.h: autodetect
2948           the LEOM property, and handle various operating systems' LEOM
2949           indications
2950         * device-src/tape-aix.c device-src/tape-posix.c
2951           device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to
2952           FALSE by default
2953
2954 2010-07-27  Jean-Louis Martineau <martineau@zmanda.com>
2955         * server-src/find.c (find_result_t): Add a write_timestamp.
2956         * server-src/find.h: Set the write_timestamp.
2957         * server-src/amcheckdump.pl: Use the write_timestamp.
2958         * server-src/amidxtaped.pl: write_timestamp is undef.
2959         * server-src/cmdline.h (dumpspec_t): Add a write_timestamp.
2960         * server-src/cmdline.c (dumpspec_new): New write_timestamp argument.
2961         * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp.
2962         * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp.
2963         * perl/Amanda/Cmdline.pod: Document write_timestamp.
2964         * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec
2965           write_timestamp.
2966         * installcheck/Amanda_Cmdline.pl: Fix and check new api.
2967         * installcheck/Amanda_DB_Catalog.pl: Fix and check new api.
2968         * installcheck/Amanda_Logfile.pl: Fix and check new api.
2969         * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api.
2970
2971 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
2972         * configure.in perl/amglue/Makefile.am: new Makefile for
2973           libamglue
2974         * perl/Makefile.am: use SUBDIRS to build libamglue before
2975           any SWIG modules, as automake does not get inter-library
2976           dependencies right at install time if the libraries are
2977           all built in the same directory
2978
2979 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
2980         * application-src/ampgsql.pl: also check PG-DATADIR
2981
2982 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
2983         * installcheck/Amanda_DB_Catalog.pl
2984           installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl
2985           installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio
2986           buffering when writing holding-file headers
2987
2988 2010-07-26  Jean-Louis Martineau <martineau@zmanda.com>
2989         * server-src/planner.c: Ignore the FORCE command if strategy is
2990           INCRONLY.
2991
2992 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
2993         * installcheck/Amanda_Xfer.pl: *real* correct number of tests for
2994           --without-server
2995
2996 2010-07-25  Dustin J. Mitchell <dustin@zmanda.com>
2997         * installcheck/Amanda_Xfer.pl: correct number of tests for
2998           --without-server
2999
3000 2010-07-25  Orion Poplawski <orion@cora.nwra.com>
3001         * server-src/amoverview.pl: fix host iteration and handle case of only
3002           one write_timestamp
3003
3004 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
3005         * device-src/vfs-device.c: announce LEOM one byte later
3006         * installcheck/Amanda_Xfer.pl: set device properties before starting
3007
3008 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
3009         * perl/Amanda/Changer/robot.pm: use correct device field volume_header
3010
3011 2010-07-23  Dustin J. Mitchell <dustin@zmanda.com>
3012         * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS
3013           timeout to 60s and set CURDATA=1 to use cached state
3014
3015 2010-07-23  Jean-Louis Martineau <martineau@zmanda.com>
3016         * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file.
3017         * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and
3018                                        devhandling reservation.
3019         * server-src/taper.pl: Write quit error meesage to debug file.
3020
3021 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3022         * device-src/vfs-device.c device-src/vfs-device.h: add support for
3023           monitoring free space to generate LEOM before ENOSPC hits; set LEOM
3024           property to TRUE by default
3025         * installcheck/Amanda_Device.pl: test monitor_free_space prop
3026         * man/xml-source/amanda-devices.7.xml: document VFS device LEOM
3027           support and the MONITOR_FREE_SPACE property
3028
3029 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3030         * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test
3031         * device-src/property.c device-src/property.h: remove FREE_SPACE
3032           property, QualifiedSize, and SizeAccuracy
3033         * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE
3034           support
3035         * man/xml-source/amanda-devices.7.xml: remove docs
3036         * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize
3037
3038 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3039         * device-src/Makefile.am: add reference to new header file
3040
3041 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3042         * device-src/xfer-dest-taper-cacher.c: remove support for
3043           cache_inform, simplify disk cache
3044         * device-src/xfer-dest-taper-splitter.c: add support for cache_inform,
3045           use it even when LEOM is available
3046         * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h
3047           device-src/xfer-device.h: move common methods to new header file; add
3048           instance_init
3049         * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use
3050           splitter for cache_inform
3051         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function
3052           signatures
3053         * perl/amglue/glib.swg: take any perl true or flase value to make
3054           a gboolean
3055
3056 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
3057         * server-src/diskfile.h (disk_t) Add allow_split and splitsize.
3058         * server-src/diskfile.c: Set allow_split and splitsize.
3059         * server-src/driver.c: Use allow_split and splitsize.
3060         * server-src/planner.c: Use allow_split and splitsize.
3061         * server-src/amadmin.c (disklist_one): Print allow_split.
3062
3063 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
3064         * server-src/taper.pl: Use ' to quote label in 'wrote label' line.
3065         * server-src/amstatus.pl: Parse it.
3066         * installcheck/amstatus.pl: Check it.
3067
3068 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3069         * ndmp-src/Makefile.am: use += with BUILT_SOURCES
3070
3071 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3072         * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h
3073           parameter that sets the initial host
3074         * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet
3075           with no net connection
3076
3077 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3078         * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported
3079         * config/amanda/tape.m4: fix bugs causing tape support to always be
3080           built (symbols aren't defined in Snow Leopard)
3081         * device-src/device.c: fix bug
3082         * perl/Amanda/Device.swg: return undef for undefined properties,
3083           rather than crashing
3084         * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do
3085           not assume tape device is defined
3086
3087 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3088         * config/macro-archive/ac_prog_swig.m4: fix swig version detection
3089           - swig-2.0.0 works fine
3090
3091 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3092         * perl/Amanda/Tapelist.swg: better fix for temp filename
3093
3094 2010-07-15  Jean-Louis Martineau <martineau@zmanda.com>
3095         * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for
3096                                        incremental.
3097         * installcheck/amreport.pl: Test it.
3098
3099 2010-07-15  Satya Ganga  <gast@zmanda.com>
3100         * config/amanda/progs.m4: Use correct search path for mt binary.
3101
3102 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
3103         * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error
3104           messages better
3105
3106 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
3107         * configure.in config/amanda/shmem.m4: remove unnecessary config
3108           checks
3109
3110 2010-07-13  Dustin J. Mitchell <dustin@zmanda.com>
3111         * perl/Amanda/Report.pm: parse the planner's skipping a dump
3112         * perl/Amanda/Report/human.pm: present it correctly
3113         * installcheck/amreport.pl: adjust tests accordingly
3114
3115 2010-07-12  Nandan Athawale <nandan.athawale@gmail.com>
3116         * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper
3117           is set
3118
3119 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
3120         * server-src/amoverview.pl: fix variable references in evals
3121
3122 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3123         * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck
3124           for amoverview
3125
3126 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
3127         * server-src/amoverview.pl: update to use Amanda::DB::Catalog
3128         * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys
3129         * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness
3130         * AUTHORS: add Orion
3131
3132 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3133         * common-src/conffile.c: fix error message
3134
3135 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3136         * example/amanda.conf.in example/template.d/advanced.conf.in
3137           example/template.d/amanda-S3.conf.in: replace label_new_tapes with
3138           autolabel
3139
3140 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3141         * installcheck/Amanda_Xfer.pl: fix test counts under -without-server
3142
3143 2010-07-10  Dustin J. Mitchell <dustin@zmanda.com>
3144         * config/amanda/userid.m4: apply the default value for --with-group
3145           to the correct variable
3146
3147 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3148         * server-src/amcheck.c: small bugfixes
3149         * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support
3150           LEOM configurations
3151         * server-src/taper.pl: use new args; log warnings with L_WARNING, not
3152           L_FAIL
3153         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test
3154           changes
3155
3156 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3157         * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest
3158         * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter
3159         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class
3160           and renamed class
3161         * device-src/xfer-dest-taper-directtcp.c 
3162           device-src/xfer-dest-taper.c: move null cach_inform to parent class
3163         * device-src/xfer-device.h: prototypes
3164         * device-src/Makefile.am: new file
3165         * installcheck/Amanda_Device.pl: LEOM tests
3166         * installcheck/Amanda_Xfer.pl: tests for new taper dest
3167         * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher)
3168
3169 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3170         * device-src/property.c device-src/property.h device-src/device.c: add
3171           LEOM property
3172         * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml
3173           man/xml-source/amanda.conf.5.xml: document it
3174         * installcheck/Amanda_Device.pl: test it
3175         * device-src/dvdrw-device.c device-src/ndmp-device.c
3176           device-src/null-device.c device-src/rait-device.c
3177           device-src/s3-device.c device-src/tape-device.c: set LEOM property
3178           appropriately
3179         * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support
3180           property, and allow it to be changed for testing
3181         * server-src/taper.pl: small bugfix
3182
3183 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3184         * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump
3185
3186 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3187         * perl/amglue/constants.swg: new SWIG precompiler magic to allow
3188           flexible handling of lists of constants
3189         * perl/Amanda/Config.pod: add section header
3190         * perl/Amanda/Config.swg: include all config param constants in the
3191           POD
3192
3193 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
3194         * installcheck/Amanda_Device.pl: erase each S3 volume after the tests
3195           are finished with it
3196
3197 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
3198         * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors
3199
3200 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
3201         * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial
3202           of use of a second tape due to user configuration; dump_cb adds
3203           the config_denial_message parameter
3204         * server-src/taper.pl: use new parameter
3205         * installcheck/Amanda_Taper_Scribe.pl: updated tests
3206
3207 2010-07-06  Orion Poplawski <orion@cora.nwra.com>
3208         * server-src/amoverview.pl: fix parsing for newer amadmin find output
3209
3210 2010-07-06  Dustin J. Mitchell <dustin@zmanda.com>
3211         * device-src/s3.c: fix typo (that I added, not Nandan)
3212
3213 2010-07-06  Nandan Athawale <nandan.athawale@gmail.com>
3214         * device-src/s3.c: use Amazon's HTTP response headers to calculate a
3215           time offset for the local clock, to automatically work around time
3216           skew
3217
3218 2010-06-29  Dustin J. Mitchell <dustin@zmanda.com>
3219         * installcheck/Makefile.am installcheck/chunker.pl: new check
3220         * perl/Amanda/Header.swg: bug fix
3221         * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for
3222           testing
3223
3224 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
3225         * server-src/driverio.c: fix format specifies
3226
3227 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
3228         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
3229           add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR,
3230           and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print
3231           deprecation warnings once per process; deprecate TAPE_SPLITSIZE,
3232           FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER
3233         * example/amanda.conf.in example/template.d/amanda-S3.conf.in
3234           example/template.d/amanda-harddisk.conf.in
3235           example/template.d/dumptypes: remove old params
3236         * installcheck/Amanda_Config.pl
3237           installcheck/Amanda_Taper_Scribe.pl
3238           installcheck/Installcheck/Dumpcache.pm
3239           installcheck/taper.pl: update tests
3240         * man/xml-source/amanda-compatibility.7.xml: document deprecations
3241           and what to do about them
3242         * man/xml-source/amanda.conf.5.xml: document deprecations and new
3243           params
3244         * perl/Amanda/Device.pod: add doc about size=0 for
3245           write_from_connection, fix typo
3246         * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config
3247         * server-src/diskfile.c server-src/diskfile.h: add dumptype->config
3248         * server-src/amcheck.c: checks for the new params
3249         * server-src/driverio.c server-src/taper.pl: add all config params to
3250           the driver/taper protocol
3251
3252 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
3253         * device-src/xfer-dest-taper-directtcp.c: round part size to a
3254           multiple of the block size
3255         * installcheck/Amanda_Xfer.pl: test it
3256
3257 2010-06-24  Dustin J. Mitchell <dustin@zmanda.com>
3258         * application-src/ampgsql.pl: use conditionals to skip useless
3259           selfcheck checks
3260
3261 2010-06-23  Dustin J. Mitchell <dustin@zmanda.com>
3262         * application-src/ampgsql.pl: conditionalize some checks on property
3263           being set
3264
3265 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
3266         * server-src/amfetchdump.pl: fix parsing levels and -p
3267
3268 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
3269         * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens
3270          and Marco Poli
3271
3272 2010-06-22  Jean-Louis Martineau <martineau@zmanda.com>
3273         * device-src/tape-device.c: Handle write returning 0 for LEOM.
3274
3275 2010-06-21  Dustin J. Mitchell <dustin@zmanda.com>
3276         * perl/Makefile.am: list libamglue in _SOURCES variables, too,
3277           so that dependencies are correct and parallel makes do not
3278           fail
3279
3280 2010-06-18  Jean-Louis Martineau <martineau@zmanda.com>
3281         * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline.
3282
3283 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
3284         * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS
3285
3286 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
3287         * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs
3288           to match new changer API
3289
3290 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
3291         * common-src/bsd-security.c common-src/bsdtcp-security.c
3292           common-src/bsdudp-security.c common-src/local-security.c
3293           common-src/security-util.c common-src/ssh-security.c: zero out new
3294           structures, and protect logtime messages from NULL dereferences
3295
3296 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
3297         * installcheck/Makefile.am: use chmod a-x instead of chmod -x
3298
3299 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
3300         * installcheck/Makefile.am: remove comment from Makefile rule
3301
3302 2010-06-16  Jean-Louis Martineau <martineau@zmanda.com>
3303         * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE.
3304
3305 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
3306         * installcheck/Makefile.am: add chmod -x for more recent Test::Harness
3307           implementations that are confused by executable tests
3308
3309 2010-06-15  Jean-Louis Martineau <martineau@zmanda.com>
3310         * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner'
3311           line should result in FAILED dump (not MISSING dump).
3312         * installcheck/amreport.pl: Test it.
3313
3314 2010-06-14  Dustin J. Mitchell <dustin@zmanda.com>
3315         * config/automake/installperms.am: add new special cases
3316
3317         * application-src/Makefile.am client-src/Makefile.am
3318           oldrecover-src/Makefile.am recover-src/Makefile.am
3319           server-src/Makefile.am: only use installperms for setuid executables
3320
3321 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
3322         * perl/Amanda/Report.pm: POD overhaul
3323
3324 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
3325         * perl/amglue/directtcp.swg: fix unterminated array
3326
3327 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3328         * config/amanda/net.m4: remove use of AS_HELP_STRING
3329
3330 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3331         * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles
3332         * common-src/fileheader.c: don't put partnum=1 on tape headers, etc.
3333
3334 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3335         * common-src/fileheader.c: fix inaccurate partnum in such headers
3336         * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with
3337           DUMPFILE headers
3338
3339 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3340         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix
3341           NDMOS_OPTION_NO_NDMPvX precompiler conditionals
3342
3343 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3344         * installcheck/Amanda_Device.pl: test the connect method
3345
3346 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3347         * ndmp-src/ndma_comm_dispatch.c: uncomment and update code
3348           to support NDMP_MOVER_CONNECT via ndmta.
3349
3350 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3351         * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c
3352           device-src/device.h: add a device_connect method
3353         * device-src/ndmp-device.c: implement it
3354         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add
3355           ndmp_connection_mover_connect
3356         * perl/Amanda/Xfer.pod: update documentation using the word
3357           "initiator"
3358
3359 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
3360         * device-src/s3-device.c: add S3_STORAGE_CLASS property
3361         * device-src/s3.c device-src/s3.h: add storage_class
3362         * installcheck/Amanda_Device.pl: set the property
3363         * man/xml-source/amanda-devices.7.xml: document it
3364
3365 2010-06-10  Dustin J. Mitchell <dustin@zmanda.com>
3366         * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes
3367           problems with amidxtaped: "Specified file list matches multiple
3368           dumps"
3369
3370 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
3371         * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags.
3372         * server-src/amreport.pl: Add STRANGE or MISSING to email subject.
3373         * installcheck/Amanda_Report.pl: Test new flags.
3374
3375 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
3376         * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of
3377           timestamps, each value is an array of try.
3378         * perl/Amanda/Report/human.pm: Use 'dumps'.
3379         * perl/Amanda/Report/postscript.pm: Use 'dumps'.
3380         * perl/Amanda/Report/xml.pm: Use 'dumps'.
3381         * contrib/amreport.rnc: Add 'dumps'
3382         * server-src/amreport.pl: Use 'dumps'
3383         * installcheck/amreport.pl: Check 'dumps'
3384         * installcheck/Amanda_Report.pl: Check 'dumps'
3385
3386 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
3387         * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check
3388           the data_path.
3389         * server-src/driver.c: Check FAILED result after PORT command.
3390         * server-src/driverio.c: Send data_path in taper PORT-WRITE command.
3391         * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the
3392           scribe check_data_path method.
3393         * installcheck/taper.pl: Test it.
3394
3395 2010-06-09 Dan Locks <dwlocks@zmanda.com>
3396         *  packaging/rpm/amanda.spec: remove Provides from main section,
3397            remove amanda-client from server provides section.
3398
3399 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
3400         * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl,
3401           installcheck/Amanda_Recovery_Planner.pl,
3402           installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl,
3403           installcheck/taper.pl, perl/Amanda/Report.pm,
3404           perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm,
3405           server-src/find.c, server-src/taper.pl: taper log a "config|error"
3406           keyword in the "ERROR no-tape" line.
3407
3408 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
3409         * common-src/conffile.c: Allow negative etimeout.
3410
3411 2010-06-08  Dustin J. Mitchell <dustin@zmanda.com>
3412         * ndmp-src/ndmp4_enum_strs.c: add missing enum
3413
3414 2010-06-07  Dustin J. Mitchell <dustin@zmanda.com>
3415         * ndmp-src/ndml_agent.c: add INADDR_NONE
3416         * ndmp-src/ndmos_glib.h: remove solaris-specific conditional
3417
3418 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
3419         * perl/Amanda/Device.swg: fix uninitialized variable
3420
3421 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
3422         * common-src/amfeatures.h: New fe_amindexd_quote_label.
3423         * common-src/amfeatures.c: fe_amindexd_quote_label.
3424         * perl/Amanda/Feature.pod: fe_amindexd_quote_label.
3425         * server-src/amindexd.c: Quote label if fe_amindexd_quote_label.
3426         * recover-src/amrecover.c: Add debugging statement.
3427         * recover-src/display_commands.c: Parse quoted label.
3428         * recover-src/extract_list.c: Parse quoted label.
3429
3430 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
3431         * xfer-src/xfer-element.h common-src/Makefile.am
3432           common-src/queueing-test.c common-src/queueing.c
3433           common-src/queueing.h: remove queueing support
3434         * installcheck/Amanda_Device.pl device-src/Makefile.am
3435           device-src/device-queueing.c device-src/device-queueing.h
3436           device-src/device.c device-src/device.h device-src/property.h: remove
3437           queue_fd, device_write_from_fd and device_read_to_fd
3438         * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd,
3439           write_from_fd, and read_to_fd; add test utilities to move random data
3440           onto and off of devices
3441
3442 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
3443         * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod
3444           perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm
3445           server-src/amfetchdump.pl server-src/amidxtaped.pl
3446           server-src/amrestore.pl xfer-src/filter-process.c
3447           xfer-src/xfer-element.h: add a log_stderr argument to
3448           Amanda::Xfer::Filter::Process
3449         * server-src/amcheckdump.pl: use the transfer architecture
3450
3451 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
3452         * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded"
3453           by "label '$label' not found" for old changer scripts.
3454
3455 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
3456         * server-src/find.c: zero-pad timestamps out to 14 digits for
3457           comparison
3458         * perl/Amanda/Recovery/Clerk.pm: same
3459
3460 2010-06-03 Dan Locks <dwlocks@zmanda.com>
3461         *  packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead.
3462
3463 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
3464         * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect
3465           redhat systems that change the wildcard default for include; and
3466           consider 1.15.91 >= 1.16
3467
3468 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
3469         * server-src/planner.c: Fix printf format.
3470
3471 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
3472         * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql
3473           restore process
3474
3475 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
3476         * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file.
3477         * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely.
3478         * installcheck/amrmtape.pl: Fix.
3479
3480 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
3481         * server-src/amcleanupdisk.c: Use CLR and SET.
3482         * server-src/planner.c: Use CLR, SET and ISSET.
3483           Don't update csize if level < 0.
3484
3485 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
3486         * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't
3487           exists.
3488
3489 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
3490         * common-src/security-util.c: Print a debug message every 10 minutes if
3491           something is transmitted.
3492         * common-src/security-util.h (tcp_conn): Add logstamp.
3493
3494 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
3495         * server-src/dumper.c: Drop root privilege before executing compression
3496           or encryption program.
3497
3498 2010-06-02  Dustin J. Mitchell <dustin@zmanda.com>
3499         * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly
3500           high-ascii characters in -t test
3501
3502 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
3503         * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23.
3504
3505 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
3506         * server-src/find.c(print_find_result): Quote label.
3507
3508 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
3509         * config/set_full_version: Add comments.
3510
3511 2010-05-28  Dustin J. Mitchell <dustin@zmanda.com>
3512         * installcheck/gnutar.pl: tests for gnutar globbing behavior
3513         * installcheck/Makefile.am: run them
3514
3515 2010-05-28 Dan Locks <dwlocks@zmanda.com>
3516         *  packaging/Makefile.am: include common in EXTRA_DIST
3517
3518 2010-05-28 Dan Locks <dwlocks@zmanda.com>
3519
3520 2010-05-27  Jean-Louis Martineau <martineau@zmanda.com>
3521         * server-src/find.c: Don't report taper line with filenum=0.
3522
3523 2010-05-27  Dustin J. Mitchell <dustin@zmanda.com>
3524         * installcheck/taper.pl: test for a new write after EOM without
3525           splitting
3526         * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
3527           this condition and switching to a new volume appropriately
3528
3529 2010-05-26  Dustin J. Mitchell <dustin@zmanda.com>
3530         * config/amanda/libs.m4: Allow user to specify glib config explicitly
3531
3532 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
3533         * perl/Makefile.am: add libamxfer as a dependency of libamglue
3534
3535 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
3536         * installcheck/amtapetype.pl: use force for subsequent runs
3537
3538 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
3539         * device-src/amtapetype.pl: close and re-open devices between tests
3540         * device-src/xfer-dest-device.c: fix memory leak
3541         * man/xml-source/amtapetype.8.xml: fix -f docs
3542
3543 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
3544         * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
3545           with level if NDMP9_ILLEGAL_STATE_ERR.
3546
3547 2010-05-21  Dustin J. Mitchell <dustin@zmanda.com>
3548         * device-src/amtapetype.pl: get the block_size property earlier
3549         * device-src/device.c: allow property_get after a DEVICE_ERROR
3550
3551 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
3552         * server-src/driver.c: Always report "taperflush criteria not met".
3553
3554 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
3555         * installcheck/Amanda_Changer.pl: test more configs
3556         * man/xml-source/amanda.conf.5.xml: point users to
3557           amanda-changers(7)
3558         * perl/Amanda/Changer.pm: support either tpchanger or
3559           tapedev in changer defs
3560
3561 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
3562         * config/amanda/progs.m4: always use rpcgen
3563         * ndmp-src/Makefile.am: always build rpc outputs
3564         * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h
3565           ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c
3566           ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h
3567           ndmp-src/ndmp9_xdr.c: remove from version control (and dist)
3568
3569 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
3570         * common-src/fileheader.c: don't print to stderr anymore
3571
3572 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
3573         * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products
3574           first, since they are not solaris-compatible
3575
3576 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
3577         * application-src/amsamba.pl: filter "Server not using user level ..."
3578
3579 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
3580         * server-src/amtape.pl (inventory): print barcode from unknown state.
3581
3582 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
3583         * perl/Amanda/Application.swg (default_validate): Use sysread.
3584
3585 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
3586         * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
3587           required
3588
3589 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
3590         * perl/Amanda/Changer/rait.pm: add debug message when child slot
3591           counts differ
3592
3593 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
3594         * config/amanda/net.m4: correct help messages
3595
3596 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
3597         * man/xml-source/amanda.conf.5.xml: fix typo
3598
3599 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
3600         * server-src/amfetchdump.pl: use syswrite so the filehandle gets
3601           properly flushed
3602
3603 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
3604         * perl/Amanda/Changer/ndmp.pm: add verbose property
3605         * installcheck/Amanda_Changer_ndmp.pl: use it
3606
3607 2010-05-14  Dustin J. Mitchell <dustin@zmanda.com>
3608         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
3609           window_offset to mover_get_state
3610         * device-src/ndmp-device.c: insert corresponding NULLs
3611
3612 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
3613         * server-src/amcheckdump.pl: Check subprocess exit status and print
3614           their stderr.
3615
3616 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
3617         * common-src/amcryptsimple.pl: Exit on error if gpg fail.
3618
3619 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
3620         * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
3621
3622 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
3623         * application-src/amgtar.c: fix exclude-file.
3624
3625 2010-05-12  Dustin J. Mitchell <dustin@zmanda.com>
3626         * installcheck/Amanda_Device.pl: add regression test
3627         * device-src/tape-device.c: set self->fd to -1 when closing; add
3628           better error messages
3629
3630 2010-05-11 Dan Locks <dwlocks@zmanda.com>
3631         *  packaging/common/substitute.pl: added.  contains much machinery not
3632            yet used in packaging. 
3633         *  packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
3634            %%DATE%% macros which are expanded by substitute.pl.
3635         *  packaging/deb/changelog: renamed to above
3636         *  packaging/deb/rules: fix stray configure option
3637         *  packaging/deb/buildpkg: adjust to use substitute.pl instead of
3638            figuring VERSION out directly.
3639
3640 2010-05-10  Jean-Louis Martineau <martineau@zmanda.com>
3641         * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
3642
3643 2010-05-07  Jean-Louis Martineau <martineau@zmanda.com>
3644         * common-src/security-util.c: Use global buffer for 
3645           security_stream_read_sync.
3646         * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
3647           returnned by security_stream_read_sync.
3648
3649 2010-05-07  Dustin J. Mitchell <dustin@zmanda.com>
3650         * device-src/rait-device.c: fix assertion failure when a child device
3651           gives an error
3652         * perl/Amanda/Changer/rait.pm: add support for braced drive specs
3653         * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
3654           for an eject operation
3655         * man/xml-source/amanda-changers.7.xml: document rait changer drive
3656           specifications
3657
3658 2010-05-06  Jean-Louis Martineau <martineau@zmanda.com>
3659         * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
3660           for restore, escape the non glob include and exclude.
3661         * client-src/client_util.h: Add include_list_glob and exclude_list_glob
3662           to backup_support_option_t.
3663         * client-src/client_util.c: Parse new support option.
3664         * man/xml-source/amgtar.8.xml: Ducument new properties.
3665         * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
3666           asis to amrecover.
3667
3668 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
3669         * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
3670           have a valid status
3671
3672 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
3673         * device-src/s3-device.c: fix several fatal flaws in the
3674           read_block implementation
3675
3676 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
3677         * perl/Amanda/Report/human.pm: don't assume parts are defined
3678
3679 2010-05-04  Dustin J. Mitchell <dustin@zmanda.com>
3680         * man/xml-source/amanda-devices.7.xml: add more regions
3681         * man/xml-source/amcheckdump.8.xml: remove duplicate section
3682
3683 2010-05-04  Jean-Louis Martineau <martineau@zmanda.com>
3684         * common-src/security-util.c: Free packet on close.
3685
3686 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
3687         * common-src/glib-util.c: reorgnize glib_init to be compatible with
3688           glib-2.24+
3689
3690 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
3691         * server-src/amlabel.pl: change the text to be less ambiguous
3692
3693 2010-05-03  Jean-Louis Martineau <martineau@zmanda.com>
3694         * server-src/disk_history.c: Keep all parts.
3695
3696 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
3697         * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
3698
3699 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
3700         * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
3701           recovery
3702         * device-src/ndmp-device.c: add extra assertion
3703         * device-src/xfer-dest-device.c: remove debug print
3704         * device-src/xfer-device.h device-src/xfer-source-recovery.c
3705           installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
3706           perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
3707         * perl/Amanda/Recovery/Clerk.pm: call use_device
3708
3709 2010-04-30  Dustin J. Mitchell <dustin@zmanda.com>
3710         * installcheck/Amanda_Changer_robot.pl: fix installchecks
3711           to pass after previous change
3712
3713 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
3714         * perl/Amanda/Changer/robot.pm: Default state file is in
3715                                         $localstatedir/amanda
3716         * man/xml-source/amanda-changers.7.xml: Document new location.
3717
3718 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
3719         * device-src/directtcp-connection.c: Typo.
3720
3721 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
3722         * server-src/amreport.pl: Print "FAIL" in email subject header if run
3723                                   failed.
3724         * installcheck/amreport.pl: Test it.
3725
3726 2010-04-27  Paul C. Mantz <pcmantz@zmanda.com>
3727         * perl/Amanda/Report/human.pm: better per-tape stat labels
3728         * installcheck/amreport.pl: updated tests
3729
3730 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
3731         * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
3732
3733 2010-04-27  Dustin J. Mitchell <dustin@zmanda.com>
3734         * server-src/planner.c: change degraded-mode messages to make more
3735           sense to the user
3736
3737 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
3738         * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
3739           changer have no inventory.
3740
3741 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
3742         * server-src/amreport.pl: print org & config in xml output
3743
3744 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
3745         * perl/Amanda/Recovery/Scan.pm: Use default change if message is
3746                                         $DEFAULT_CHANGER
3747         * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
3748                                     AMRECOVER_CHANGER
3749
3750 2010-04-26  Dustin J. Mitchell <dustin@zmanda.com>
3751         * perl/Amanda/Taper/Scribe.pm: give total time from
3752           dump start to dump end as total_duration
3753         * server-src/taper.pl: use total_duration
3754
3755 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
3756         * server-src/planner.c: Do not promote if no full estimate.
3757
3758 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
3759         * installcheck/Amanda_Report.pl: changed part to partnum
3760
3761 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
3762         * server-src/amcheckdump.pl: Check all process status.
3763
3764 2010-04-23  Paul C. Mantz <pcmantz@zmanda.com>
3765         * server-src/amreport.pl perl/Amanda/Report.pm
3766           perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
3767           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
3768           location of tape parts in Amanda::Report
3769         * installcheck/Amanda_Report.pl: installchecks
3770
3771 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
3772         * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
3773         * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
3774         * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
3775
3776 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
3777         * ndmp-src/ndml_nmb.c: Don't log successful halt.
3778         * server-src/dumper.c: Don't log no-op command.
3779
3780 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3781         * man/xml-source/amanda-devices.7.xml: more detail for
3782           STREAMING property
3783
3784 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3785         * device-src/xfer-dest-taper-splitter.c: fix assertion failure
3786           reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
3787
3788 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3789         * installcheck/Amanda_Header.pl: add checks for all fields
3790
3791 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3792         * common-src/util.c: add debugging check to interruptible_accept
3793         * server-src/taper.pl: don't use IO::Socket, as it is badly broken
3794           and not thread-safe on Solaris 8
3795         * xfer-src/element-glue.c: add debugging checks
3796
3797 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
3798         * server-src/amcleanup.pl: Fix running command with system.
3799
3800 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
3801         * example/Makefile.am: fix 'make clean' to not erase source files.
3802
3803 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
3804         * config/amanda/progs.m4: check for, and reject, Solaris's
3805           SGU lex, which is badly broken
3806         * configure.in: use AMANDA_PROG_LEX
3807
3808 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
3809         * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
3810           Jean-Francois Malouin
3811
3812 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
3813         * perl/Amanda/Report/xml.pm: use bytes as data unit
3814
3815 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
3816         * perl/Amanda/Report/xml.pm: tries need to show all programs
3817
3818 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
3819         * perl/Amanda/Changer/ndmp.pm: $conn = undef
3820
3821 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
3822         * common-src/match-test.c: lots of new tests
3823         * common-src/match.c: fix comments, minor bugs in tar_to_regex and
3824           match_level
3825         * common-src/match.h: comments to describe each function
3826         * man/xml-source/amanda.8.xml: update expression docs
3827
3828 2010-04-21  Dustin J. Mitchell <dustin@zmanda.com>
3829         * server-src/amlabel.pl: add warning when the old label is in the
3830           tapelist
3831
3832 2010-04-20  Dustin J. Mitchell <dustin@zmanda.com>
3833         * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE
3834         * device-src/rait-device.c: fix bugs
3835
3836 2010-04-19  Jean-Louis Martineau <martineau@zmanda.com>
3837         * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
3838           seen a second time.
3839
3840 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
3841         * perl/Amanda/Config.swg: move val_t output typemap to a function
3842
3843 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
3844         * server-src/amadmin.c: show all custom compression/encryption options
3845           in amadmin disklist
3846         * man/xml-source/amanda.conf.5.xml: document undocumented params
3847
3848 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3849         * server-src/amcleanup.pl: don't fail when run with no args
3850
3851 2010-04-15  Paul C. Mantz <pcmantz@gmail.com>
3852         * perl/Amanda/Curinfo/Info.pm: fixed header parsing
3853         * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
3854         * installcheck/Amanda_Curinfo.pl: installchecks
3855
3856 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3857         * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
3858
3859 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3860         * device-src/xfer-dest-device.c: don't use queueing anymore; this
3861           removes the max_memory constructor argument
3862         * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype
3863           change
3864         * perl/Amanda/Xfer.pod: docs
3865         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
3866           installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl
3867           installcheck/amrestore.pl server-src/amvault.pl: change constructor
3868           invocation
3869
3870 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3871         * common-src/util.c common-src/util.h: new interruptible_accept that
3872           uses a prolong function to stop waiting
3873         * common-src/stream.c: use interruptible_accept in stream_accept
3874         * xfer-src/element-glue.c: use interruptible_accept to allow
3875           directtcp_accept to be cancelled
3876         * installcheck/Amanda_Xfer.pl: test xfer cancellation
3877
3878 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
3879             Satya Ganga <gsat@zmanda.com>
3880         * application-src/amsamba.pl: Fix use of include/exclude list.
3881
3882 2010-04-14  Dustin J. Mitchell <dustin@zmanda.com>
3883         * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm
3884           server-src/taper.pl: rename dump_timestamp -> write_timestamp
3885
3886 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
3887         * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
3888
3889 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3890         * common-src/conffile.c common-src/conffile.h: make file-pad and
3891           tapebufs parameters errors
3892         * perl/Amanda/Config.swg: remove parameters
3893         * server-src/taper.pl: don't check tapebufs
3894         * installcheck/Amanda_Config.pl: adjust testing
3895         * man/xml-source/amanda-compatibility.7.xml: add deprecation
3896           note about amrecover_do_fsf and amrecover_check_label
3897
3898 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3899         * device-src/xfer-dest-taper-splitter.c
3900           device-src/xfer-dest-taper-directtcp.c: make sure duration is positive
3901
3902 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3903         * common-src/conffile.c: fix derived value for autolabel
3904
3905 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3906         * man/xml-source/amanda-applications.7.xml: info about properties
3907         * man/xml-source/amanda-devices.7.xml: info about properties
3908         * man/xml-source/amanda-scripts.7.xml: info about properties
3909         * man/xml-source/amzfs-snapshot.8.xml: fix typo
3910
3911 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3912         * NEWS: add info about deprecations in 2.6.1
3913         * man/xml-source/amanda-compatibility.7.xml: update manpage to
3914           reflect info in NEWS
3915
3916 2010-04-13  Paul C. Mantz <pcmantz@zmanda.com>
3917         * server-src/amreport.pl: load holding disk before making report
3918         * perl/Amanda/Report/human.pm: report holding disk correctly
3919         * installcheck/amreport.pl: installcheck
3920
3921 2010-04-13  Jean-Louis Martineau <martineau@zmanda.com>
3922         * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
3923           Always log NOTIFY_DATA_HALTED.
3924
3925 2010-04-12  Dustin J. Mitchell <dustin@zmanda.com>
3926         * common-src/conffile.c: deprecate amrecover_do_fsf and
3927           amrecover_check_label
3928         * example/amanda.conf.in example/template.d/advanced.conf.in: remove
3929         * man/xml-source/amanda.conf.5.xml: indicate deprecation
3930         * NEWS: mention deprecation
3931
3932 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
3933         * perl/Amanda/Report/human.pm: typo.
3934
3935 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
3936         * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
3937         * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
3938         * perl/Amanda/Report/human.pm: Print taper error message.
3939         * server-src/find.c: Set current_label to "".
3940
3941 2010-04-08  Paul C. Mantz <pcmantz@zmanda.com>
3942         * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
3943           which search the logdir instead of the tapelist
3944         * perl/Amanda/Logfile.pod: documentation
3945         * server-src/amreport.pl: use find_latest_log insted of find_log
3946
3947 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
3948         * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
3949           eliminate reference loops created by use of %subs
3950         * perl/Amanda/MainLoop.pod: document it
3951         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
3952           installcheck/Amanda_Changer_disk.pl
3953           installcheck/Amanda_Changer_multi.pl
3954           installcheck/Amanda_Changer_ndmp.pl
3955           installcheck/Amanda_Changer_rait.pl
3956           installcheck/Amanda_Changer_robot.pl
3957           installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
3958           installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
3959           installcheck/Amanda_Recovery_Scan.pl
3960           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
3961           installcheck/amfetchdump.pl installcheck/amidxtaped.pl
3962           installcheck/amlabel.pl perl/Amanda/Changer.pm
3963           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
3964           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
3965           perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
3966           perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
3967           server-src/amcheck-device.pl server-src/amfetchdump.pl
3968           server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
3969           server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
3970
3971 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3972         * config/automake/scripts.am: comment double quote 'use lib'.
3973
3974 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3975         * application-src/amsamba.pl: Use tarmode.
3976
3977 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3978         * recover-src/amrecover.c: Print to debug what is sent to amindexd.
3979         * recover-src/uparse.y: Parse setdate correctly.
3980
3981 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3982         * ndmp-src/ndma_comm_dispatch.c:
3983           Comment "Second add_dir entry is non-conforming".
3984
3985 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
3986         * server-src/planner.c: fix two bugs that caused planner to generate a
3987           bogus schedule; remove a redundant assignment
3988
3989 2010-04-07 Dan Locks <dwlocks@zmanda.com>
3990         *  packaging/rpm/amanda.spec: specify mandir explicitly to work around
3991            old autoconf
3992
3993 2010-04-07  Paul C. Mantz <pcmantz@zmanda.com>
3994         * server-src/amreport.pl perl/Amanda/Report.pm
3995         perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
3996         perl/Amanda/Report/xml.pm installcheck/amreport.pl
3997         installcheck/Amanda_Report.pl: taped segments called parts, not chunks
3998
3999
4000 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
4001         * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
4002
4003 2010-04-07  Dustin J. Mitchell <dustin@zmanda.com>
4004         * config/amanda/userid.m4: CHECK_USERID conditional
4005         * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
4006         * installcheck/Makefile.am: use it
4007
4008 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
4009         * server-src/amcheck.c: Don't exit on match_disklist error.
4010         * server-src/diskfile.c (match_disklist): Generate better message for
4011           strategy "skip" or ignore dle.
4012
4013 2010-04-06  Jean-Louis Martineau <martineau@zmanda.com>
4014         * recover-src/extract_list.c: Set restore_dir to NULL.
4015
4016 2010-04-06  Paul C. Mantz <pcmantz@zmanda.com>
4017         * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
4018         * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
4019           NDMP4_LOG_* messages for testing
4020
4021 2010-04-05  Jean-Louis Martineau <martineau@zmanda.com>
4022         * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
4023           property.
4024
4025 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4026         * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
4027         * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
4028           loading slot 'current'
4029         * installcheck/Amanda_Taper_Scan_traditional.pl: test it
4030
4031 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4032         * server-src/amidxtaped.pl: send changer error with MESSAGE
4033         * installcheck/amidxtaped.pl: test for it
4034
4035 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4036         * config/amanda/version.m4: be resilient to all but the first
4037           digit of the version number missing
4038
4039 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4040         * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
4041           reference loop in %subs (interim solution -- this arrangement
4042           leaks everywhere)
4043
4044 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4045         * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
4046           every Interface operation, so that objects are not unreffed
4047           during Perl's global cleanup.
4048
4049 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4050         * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
4051         * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
4052           search failure; check for failure before printing "slot N"
4053           prefix
4054         * server-src/amcheck-device.pl: implement new user_msg_fn key
4055           to print expected volume on failure
4056
4057 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4058         * perl/Amanda/Device.pod: document that finish() can be called even
4059           if start() was not, to release resources
4060         * device-src/ndmp-device.c: implement
4061         * device-src/tape-device.c: implement
4062         * perl/Amanda/Changer.pm: always finish() a device in $res->release()
4063
4064 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4065         * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
4066         * installcheck/Makefile.am: add util
4067
4068 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4069         * server-src/infofile.c: use %lld in scanning instead of %jd,
4070           since Solaris 8 doesn't have %j support; also fix handling
4071           of parse errors
4072
4073 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4074         * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
4075           DEVICE_STATUS_DEVICE_BUSY
4076
4077 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4078         * perl/Amanda/Changer.pm: check $err->failed before returning reason
4079
4080 2010-04-02  Paul C. Mantz <pcmantz@zmanda.com>
4081         * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
4082         * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
4083         * installcheck/amreport.pl: installchecks
4084
4085 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
4086         * perl/Amanda/Util.pod: correct inaccurate claims in burp
4087
4088 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
4089         * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
4090           sizeof(gint)
4091
4092 2010-04-02  Jean-Louis Martineau <martineau@zmanda.com>
4093         * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
4094
4095 2010-04-01  Paul C. Mantz <pcmantz@gmail.com>
4096         * server-src/amreport.pl: accepts and ignores disk args in script mode
4097         * installcheck/amreport.pl: checks
4098
4099 2010-04-01  Jean-Louis Martineau <martineau@zmanda.com>
4100         * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
4101         * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
4102         * installcheck/amrecover.pl: Check 'localhost' hostname,
4103                                      remove '^' from expect regex
4104         * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
4105
4106 2010-04-01  Dustin J. Mitchell <dustin@zmanda.com>
4107         * application-src/ampgsql.pl: check permissions on archive dir, and
4108           fail selfcheck if they are not sufficient.  Also implement the
4109           wal-max-wait=0 that's already documented
4110         * man/xml-source/ampgsql.8.xml: document required permissions
4111
4112 2010-03-31  Dustin J. Mitchell <dustin@zmanda.com>
4113         * installcheck/amrecover.pl: fix diag()
4114
4115 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4116         * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
4117         * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
4118
4119 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4120         * config/set_full_version: fix.
4121         * config/amanda/config.m4: fix.
4122
4123 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4124         * config/amanda/config.m4: Use -a.
4125
4126 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4127         * config/set_full_version: Use -a.
4128
4129 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4130         * config/set_full_version: Use grep.
4131
4132 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4133         * config/Makefile.am: Add set_full_version to EXTRA_DIST.
4134         * config/set_full_version: Add the file.
4135
4136 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4137         * config/set_full_version: New script to update FULL_VERSION from
4138                                    VERSION, svn and git
4139         * autogen: Execute config/set_full_version
4140         * Makefile.am: Add dependencies to execute set_full_version if VERSION
4141           change, and to re-run configure if FULL_VERSION change.
4142         * config/amanda/version.m4: Use FULL_VERSION.
4143         * packaging/deb/buildpkg: Use FULL_VERSION.
4144         * packaging/rpm/amanda.spec: Use FULL_VERSION.
4145         * packaging/rpm/buildpkg: Use FULL_VERSION.
4146
4147 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
4148         * installcheck/Installcheck/Run.pm: be selective in import from POSIX
4149         * server-src/amvault.pl: fix duplicate variable
4150
4151 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
4152         * Makefile.am: add VERSION to EXTRA_DIST
4153         * config/amanda/version.m4: use $srcdir/VERSION
4154
4155 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
4156         * VERSION: 3.2.0alpha.
4157         * configure.in: Call AMANDA_VERSION.
4158         * config/amanda/version.m4: Add AMANDA_VERSION.
4159         * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
4160
4161 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
4162         * server-src/driver.c: Retry direct to tape all aborted dump because
4163                                of missing holdingdisk space.
4164
4165 2010-03-29  Paul C. Mantz <pcmantz@zmanda.com>
4166         * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
4167
4168 2010-03-28  Dustin J. Mitchell <dustin@zmanda.com>
4169         * server-src/amvault.pl: update with Changer and Catalog API changes
4170
4171 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4172         * installcheck/Makefile.am: don't run amrecover test under
4173           --without-restore
4174
4175 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4176         * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
4177           errors, e.g., "file changed as we read it"
4178
4179 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4180         * installcheck/amrecover.pl: fix stupid error in installcheck
4181
4182 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4183         * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
4184           to force WAL file archives on ancient postgres versions
4185         * installcheck/ampgsql.pl: don't skip tests on ancient versions
4186
4187 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4188         * common-src/Makefile.am common-src/match-test.c: test (some) match
4189           functions
4190         * common-src/match.c: add make_exact_disk_expression and
4191           make_exact_host_expression
4192         * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
4193         * installcheck/Makefile.am installcheck/amrecover.pl: new integration
4194           tests
4195         * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
4196           make_exact_.. functions
4197         * common-src/amanda.h common-src/match.h application-src/amgtar.c
4198           application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
4199           client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
4200           common-src/local-security.c common-src/util.c
4201           oldrecover-src/set_commands.c recover-src/set_commands.c
4202           server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
4203           server-src/find.c server-src/tapefile.c: move match.c prototypes from
4204           amanda.h to match.h
4205
4206 2010-03-25  Jean-Louis Martineau <martineau@zmanda.com>
4207         * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
4208                                 or amflush is running.
4209
4210 2010-03-25  Paul C. Mantz <pcmantz@zmanda.com>
4211         * server-src/amreport.pl: amreport exits w/o error if mailer fails
4212         * installchecks/amreport.pl: installcheck
4213
4214 2010-03-25  Dustin J. Mitchell <dustin@zmanda.com>
4215         * perl/Amanda/Changer/compat.pm: err on the side of caution when
4216           emulating except_slots in chg-compat, preventing an infinite
4217           loop
4218
4219 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
4220         * application-src/amsamba.pl: check open failure correctly,
4221                                       improve debugging message.
4222
4223 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
4224         * NEWS, ReleaseNotes: Change for 3.1.0
4225
4226 2010-03-23  Dustin J. Mitchell <dustin@zmanda.com>
4227         * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
4228           files to be archived during full backup, don't backup postmaster.pid
4229           or pg_xlog
4230         * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
4231           describing the operation
4232         * installcheck/ampgsql.pl: test restores more carefully, including
4233           an empty incremental
4234
4235 2010-03-22  Dustin J. Mitchell <dustin@zmanda.com>
4236         * common-src/amfeatures.c common-src/amfeatures.h
4237           perl/Amanda/Feature.pod: add a new feature to indicate that
4238           amrecover quotes disks right: fe_amrecover_correct_disk_quoting
4239         * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
4240           clean_regex
4241         * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
4242           recover-src/extract_list.c recover-src/set_commands.c
4243           server-src/diskfile.c: use it
4244         * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
4245         * installcheck/amidxtaped.pl: test that
4246
4247 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
4248         * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
4249
4250 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
4251         * recover-src/amrecover.c: Do add_config_override before loading the
4252                                    config.
4253
4254 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
4255         * server-src/driver.c: Continue flush on new tape if holdingdisk is
4256                                full.
4257
4258 2010-03-18  Paul C. Mantz <pcmantz@zmanda.com>
4259         * perl/Amanda/Report.pm: updated POD
4260
4261 2010-03-18  Dustin J. Mitchell <dustin@zmanda.com>
4262         * application-src/ampgsql.pl: add a die_cb in command_validate and
4263           command_selfcheck
4264
4265 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
4266         * server-src/amreport.pl: added new command line options
4267         * server-src/amdump.sh: updated usage of amreport
4268         * installchecks/amreport.pl: installchecks
4269         * man/xml-source/amreport.8.xml: usage doc update
4270         * NEWS: added info about rewrite
4271
4272 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
4273         * perl/Amanda/Report/human.pm: fixed premature disk truncation in
4274          dump summary
4275
4276 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
4277         * perl/Amanda/Tests.swg: add a simple threaded function
4278         * perl/Makefile.am: and invoke it from 'make check'
4279
4280 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
4281         * man/xml-source/amcryptsimple.8.xml: Fix formatting
4282
4283 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
4284         * man/xml-source/ampgsql.8.xml: Fix formatting.
4285
4286 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
4287         * common-src/debug.c: Set open_time in debug_setup_1.
4288
4289 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
4290         * man/xml-source/amsamba.8.xml: document include/exclude expressions
4291
4292 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
4293         * UPGRADING: add note about accidentally linking new versions against old
4294
4295 2010-03-15  Paul C. Mantz <pcmantz@zmanda.com>
4296         * perl/Amanda/Util.pod: added POD for slurp and burp
4297
4298 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
4299         * installcheck/amreport.pl: add tests for exit status for planner
4300           failure
4301
4302 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
4303         * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
4304           caller's responsibility
4305         * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
4306         * server-src/taper.pl: handle input errors directly
4307
4308 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
4309         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
4310           device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
4311           function
4312         * installcheck/Amanda_Device.pl: add lots of tape-positioning
4313           installcehcks
4314         * device-src/tape-device.c: fix positioning (adjust for funny bsf
4315           behavior only in tape_device_seek_file)
4316
4317 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
4318         * common-src/conffile.c: rename the default tapetype, since EXABYTE
4319           sounds like it might actually be useful, but it's only 2M
4320         * man/xml-source/amanda.conf.5.xml: remove default
4321         * server-src/amcheck.c: only check whether fallback_splitsize < tape
4322           length if splitting is enabled; check for a missing tapetype param
4323
4324 2010-03-14 Dan Locks <dwlocks@zmanda.com>
4325         *  configure.in: update to rc06.  NOTEST
4326
4327 2010-03-11 Dan Locks <dwlocks@zmanda.com>
4328         *  configure.in: update to rc05. 
4329
4330 2010-03-11  Paul C. Mantz <pcmantz@zmanda.com>
4331         * perl/Amanda/Report.pm: fixed order that messages are reported
4332
4333 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
4334         * perl/Amanda/Changer/null.pm: note that constructor will not fail
4335         * server-src/amidxtaped.pl: use chg-null if the changer constructor
4336           fails
4337
4338 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
4339         * perl/Amanda/Report.pm: count DLEs on the first tape
4340         * perl/Amanda/Report/postscript.pm: display total part count
4341         * installcheck/amreport.pl: changed output
4342
4343 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
4344         * config/amanda/progs.m4: add a define if LPR is found
4345         * server-src/amcheck.c: check it
4346
4347 2010-03-09  Paul C. Mantz <pcmantz@zmanda.com>
4348         * perl/Amanda/Report.pm: fixed caching of hostnames and dles
4349
4350 2010-03-09  Dustin J. Mitchell <dustin@zmanda.com>
4351         * man/xml-source/amanda-applications.7.xml: add brief example of
4352           setting properties for an application
4353
4354 2010-03-09  Paul C. Mantz
4355         * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
4356
4357 2010-03-08 Dan Locks <dwlocks@zmanda.com>
4358         *  packaging/deb/rules: add chmod lines for etc/amanda
4359         *  packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
4360            section, specify directories in 750 section to also be 750.
4361
4362 2010-03-08  Paul C. Mantz <pcmantz@zmanda.com>
4363         * perl/Amanda/Report.pm: record DLEs in seen order in the cache
4364         * installcheck/Amanda_Report.pm: installcheck fixes
4365
4366 2010-03-08 Dan Locks <dwlocks@zmanda.com>
4367         *  packaging/rpm/amanda.spec, packaging/deb/changelog: change version
4368            number to %%VERSION%%
4369         *  packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
4370            version from configure.in, substitute version in appropriate files
4371         *  packaging/README: correct list of packages, add note on debian
4372            package creation.
4373
4374 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4375         * installcheck/Installcheck/ClientService.pm: process error from fork
4376           correctly
4377
4378 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4379         * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
4380           cached dumps - it causes more problems than it solves
4381
4382 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4383         * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
4384           instead of %lf
4385
4386 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4387         * server-src/amfetchdump.pl: fix usage message
4388         * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
4389            default for mailto, as it is ignored
4390         * installcheck/Amanda_Report.pl installcheck/amreport.pl
4391           perl/Amanda/Report.pm perl/Amanda/Report/human.pm
4392           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
4393           server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
4394           add --help and --version, remove unused functions
4395         * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
4396
4397 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4398         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
4399           postscript output by filenum, not hostname/diskname
4400
4401 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4402         * installcheck/amreport.pl perl/Amanda/Report/human.pm
4403           perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
4404           dumpfile when calculating tape used
4405
4406 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4407         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
4408           print the on-medi size of a dumpfile, not its total size
4409
4410 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
4411         * installcheck/amreport.pl perl/Amanda/Report/human.pm
4412           perl/Amanda/Report/postscript.pm: remove rounding when orig and
4413           outsize are within 32k
4414
4415 2010-03-06  Dustin J. Mitchell <dustin@zmanda.com>
4416         * server-src/amreport.pl: don't use undef for stdout, stderr when
4417           invoking mail or lpr - some don't like to have their std streams
4418           closed
4419
4420 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
4421         * server-src/amreport.pl: fix use of relative path for -l argument.
4422
4423 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
4424         * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
4425         * installcheck/amreport.pl: check it.
4426
4427 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
4428         * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
4429           include conffile.h, not config.h.
4430
4431 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
4432         * config/amanda/version.m4: Allow 2 digits version.
4433
4434 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
4435         * packaging/deb/changelog, packaging/deb/rules,
4436           packaging/deb/buildpkg, packaging/rpm/buildpkg,
4437           packaging/rpm/amanda.spec,
4438           configure.in: Change version to 3.2alpha.
4439
4440 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>
4441         * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
4442           variables, and don't define them
4443         * perl/Amanda/Constants.pm.in: add LPR-related constants
4444         * installcheck/amreport.pl: lots of new tests, all hand-verified to
4445           pass for the C amreport as well, sometimes with minor differences
4446         * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
4447         * installcheck/mock/mail.pl: mock 'mail' for installchecks
4448         * installcheck/Makefile.am: new mocks
4449         * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
4450           support for amreport
4451         * server-src/Makefile.am server-src/amreport.pl
4452           server-src/amreport_new.pl server-src/reporter.c:
4453           make the perl amreport "live"
4454
4455 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>,
4456             Jean-Louis Martineau <martineau@zmanda.com>,
4457             Paul C. mantz <pcmantz@zmanda.com>
4458         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
4459           server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
4460           overhaul to perl reporting framework (collaborative effort of three
4461           developers)
4462
4463 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4464         * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
4465         * server-src/amreport_new.pl: Remove leading 0 on day date.
4466
4467 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4468         * perl/Amanda/Report.pm: Set $self->{hostname}.
4469         * perl/Amanda/Report/human.pm: Use $report->{hostname}.
4470
4471 2010-03-03  Paul C. mantz <pcmantz@zmanda.com>
4472         * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
4473
4474 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
4475         * perl/Amanda/Report.pm; added three-arg form of get_program_info()
4476         * perl/Amanda/Report/human.pm: usage of three-arg form
4477         * installcheck/Amanda_Report.pl: tests
4478
4479 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4480         * perl/Amanda/Report/human.pm: Remove coma.
4481
4482 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4483         * common-src/conffile.c: Correctly set autolabel from command line
4484                                  '-olabel_new_tapes=' options.
4485
4486 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4487         * server-src/amidxtaped.pl: Exit if receive ABORT message.
4488         * recover-src/extract_list.c: Send abort message on user request.
4489         * common-src/amfeatures.c: Add fe_amidxtaped_abort.
4490         * common-src/amfeatures.h: Add fe_amidxtaped_abort.
4491         * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
4492
4493 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4494         * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
4495
4496 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4497         * server-src/amflush.c: Delay creation of log file.
4498
4499 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
4500         * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
4501
4502 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
4503         * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
4504           tapelist loading
4505
4506 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
4507         * perl/Amanda/Report.pm: added tape_labels field for preserving tape
4508           order
4509         * perl/Amanda/Report/human.pm: use of tape_labels
4510         * installcheck/Amanda_report.pl: installcheck, cleanup
4511
4512 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
4513         * server-src/reporter.c: Set and check repdata.
4514
4515 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4516         * server-src/amcheck.c: adjust split-size warnings for more
4517           detail with less overall verbosity
4518
4519 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
4520         * server-src/reporter.c: Print FLUSH for failed flush.
4521
4522 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4523         * common-src/fileheader.c: fix typos
4524         * server-src/amfetchdump.pl: add support for decryption
4525         * server-src/amidxtaped.pl: same
4526         * server-src/amrestore.pl: same
4527
4528 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4529         * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
4530           perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
4531           perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
4532           perl/Amanda/Util.pod: fix bad POD formatting
4533         * perl/make_html.pl: fix perl warnings
4534
4535 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4536         * man/xml-source/amanda.conf.5.xml: add more detail about
4537           include/exclude
4538         * man/xml-source/amgtar.8.xml: and specific documentation of the
4539           patterns for amgtar
4540
4541 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4542         * perl/Amanda/Feature.pod: document known features
4543
4544 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4545         * perl/Amanda/Xfer.pod: no need to remove sources
4546         * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
4547
4548 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4549         * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
4550         * man/xml-source/amanda-changers.7.xml: no longer "in transition"
4551         * server-src/Makefile.am server-src/changer.c server-src/changer.h:
4552           remove changer.[ch]
4553         * server-src/amcheck.c: remove unused include
4554
4555 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
4556         * common-src/conffile.c: remove debug message
4557
4558 2010-03-01 Dan Locks <dwlocks@zmanda.com>
4559         *  packaging/rpm/amanda.spec: remove Provides: librestore
4560
4561 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
4562         * application-src/amgtar.c, application-src/amstar.c:
4563           new COMMAND-OPTIONS property.
4564         * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
4565           document new COMMAND-OPTIONS property.
4566
4567 2010-02-28  Jean-Louis Martineau <martineau@zmanda.com>
4568         * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
4569                             common-src/amfeatures.h is modified.
4570
4571 2010-02-27  Jean-Louis Martineau <martineau@zmanda.com>
4572         * ndmp-src/amndmjob_main.c: #include "config.h"
4573         * ndmp-src/ndma_cops_backreco.c: #include "util.h"
4574         * ndmp-src/ndmjob_main.c: #include "config.h"
4575
4576 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
4577         * installcheck/amidxtaped.pl: Fix for datapath eq "none".
4578
4579 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
4580         * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
4581         * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
4582         * perl/Amanda/Process.pm (set_master_process): New function.
4583         * server-src/amcleanup.pl: Use set_master_process.
4584
4585 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
4586         * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
4587                                       DATAPATH-OK.
4588         * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
4589                                     DATAPATH-OK.
4590         * installcheck/amidxtaped.pl: Test them.
4591
4592 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
4593         * installcheck/Installcheck/ClientService.pm: fix to wait for streams
4594           to empty and hit EOF after exit
4595         * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
4596           comment, and use -1 to signal no data EOF received
4597
4598 2010-02-26  Paul C. Mantz <pcmantz@zmanda.com>
4599         * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
4600           summary
4601
4602 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
4603         * installcheck/Amanda_Changer_robot.pl: log test output too
4604         * installcheck/Installcheck.pm: typo
4605         * perl/Amanda/Changer.pm: note about member variables
4606         * perl/Amanda/Changer/robot.pm: make debug callable during constructor
4607
4608 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
4609         * server-src/find.c: Compute dump_status and message.
4610         * server-src/find.c (print_find_result): Output dump_status and message.
4611         * server-src/find.c (search_logfile): Check if label is in tapelist.
4612         * server-src/find.h: Add dump_status and message to find_result_t.
4613         * perl/Amanda/Logfile.swg: Swig it.
4614         * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
4615         * installcheck/Amanda_DB_Catalog.pl: Test it.
4616         * installcheck/Amanda_Logfile.pl: Test it.
4617         * server-src/amcheckdump.pl: Use new search_logfile behaviour.
4618         * server-src/amindexd.c: Use dump_status.
4619         * server-src/amoverview.pl: Use new 'amadmin find' output.
4620         * server-src/disk_history.c: Remove code no longer needed.
4621         * server-src/tapefile.c (lookup_tapelabel): const the label argument.
4622         * server-src/tapefile.h (lookup_tapelabel): const the label argument.
4623
4624 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
4625         * common-src/conffile.c (set_config_overrides): new config override api.
4626         * common-src/conffile.h (set_config_overrides): New prototype.
4627         * perl/Amanda/Config.swg (set_config_overrides): Swigged.
4628         * changer-src/chg-glue.pl, common-src/amgetconf.pl,
4629         * common-src/file.c, device-src/amdevcheck.pl,
4630         * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
4631         * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
4632         * installcheck/amgetconf.pl, recover-src/amrecover.c,
4633         * server-src/amadmin.c, server-src/amcheck-device.pl,
4634         * server-src/amcheck.c, server-src/amcheckdump.pl,
4635         * server-src/amcleanup.pl, server-src/amfetchdump.pl,
4636         * server-src/amflush.c, server-src/amlabel.pl,
4637         * server-src/amlogroll.c, server-src/amreport_new.pl,
4638         * server-src/amrestore.pl, server-src/amrmtape.pl,
4639         * server-src/amservice.c, server-src/amtape.pl,
4640         * server-src/amtrmidx.c, server-src/amtrmlog.c,
4641         * server-src/amvault.pl, server-src/chunker.c,
4642         * server-src/driver.c, server-src/dumper.c,
4643         * server-src/planner.c, server-src/reporter.c,
4644         * server-src/taper.pl: Use new config override api.
4645
4646 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
4647         * server-src/amcheck.c: add warning if the config might generate >1000
4648           parts on a volume
4649
4650 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
4651         * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
4652           and use an appropriate prefix for debug messages
4653
4654 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
4655         * Makefile.am: remove restore-src from lint rule
4656         * configure.in: remove restore-src/Makefile
4657         * restore-src/: remove
4658         * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
4659
4660 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
4661         * Makefile.am: stop building restore-src
4662         * common-src/amfeatures.c: remove no-longer-supported
4663           fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
4664         * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
4665         * installcheck/Amanda_Util.pl: tests
4666         * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
4667
4668 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
4669         * installcheck/Installcheck/Dumpcache.pm: include more compressible
4670           data and clean up afterward
4671         * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
4672           better, and fix handling of failures to not loop forever
4673         * installcheck/amidxtaped.pl: test that compressed dumps come back at
4674           their orig_size; check for a holding device without a trailing ":0";
4675           send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
4676           and even missing FSF=; check failure on unrecognized command lines
4677
4678 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
4679         * installcheck/amidxtaped.pl: installcheck improvements:
4680           create a "real" holding file; send a DATESTAMP= command
4681
4682 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
4683         * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
4684         * installcheck/Amanda_Recovery_Planner.pl: test
4685
4686 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
4687         * perl/Amanda/Xfer.swg: fix != override
4688         * installcheck/Amanda_Xfer.pl: test
4689         * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
4690         * perl/Amanda/MainLoop.pod: POD tweaks
4691         * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
4692           server-src/amfetchdump.pl: add directtcp_supported arg to
4693           xfer_src_cb; finish device when quitting clerk
4694         * perl/Amanda/Recovery/Scan.pm: add error handling
4695         * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
4696         * recover-src/extract_list.c: fix header debugging
4697
4698 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
4699         * common-src/amanda.h installcheck/Installcheck/ClientService.pm
4700           perl/Amanda/Constants.pm.in: move stream constants to
4701           Amanda::Constants
4702         * perl/Makefile.am perl/Amanda/ClientService.pm: new package
4703         * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
4704
4705 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
4706         * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
4707           tapespec marhsalling support
4708         * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
4709
4710 2010-02-23  Paul C. Mantz <pcmantz@zmanda.com>
4711         * perl/Amanda/Report/human.pm: fixed hostname truncation
4712
4713 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
4714         * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
4715           make fake holding files; don't try to load a dumpcache unless both
4716           server and client components are present
4717         * installcheck/Amanda_Xfer.pl: count tests right in skip
4718
4719 2010-02-19  Paul C. Mantz <pcmantz@zmanda.com>
4720         * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
4721           the end of a string in per-dump summary
4722
4723 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
4724         * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
4725           boolean
4726         * xfer-src/xfer.c: if any setup operation fails, skip the starts and
4727           return
4728         * device-src/xfer-dest-taper-directtcp.c
4729           device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
4730           xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
4731           xfer-src/xfer-test.c: change setup() methods to return a boolean
4732         * device-src/ndmp-device.c: clean up listen_addrs if not null
4733
4734 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
4735         * common-src/file.c (mkpdir): Fix.
4736
4737 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
4738         * common-src/file.c (mkpdir): Don't use access.
4739
4740 2010-02-18  Paul C. Mantz <pcmantz@zmanda.com>
4741         * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
4742
4743 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
4744         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
4745           with attendant API changes (constructor takes a device; sends
4746           XMSG_READY)
4747         * device-src/xfer-device.h: prototype changes
4748         * xfer-src/element-glue.c: remove debug message
4749         * perl/Amanda/Xfer.pod: docs
4750         * perl/Amanda/XferServer.swg: SWIG new parameters
4751         * perl/Amanda/Recovery/Clerk.pm: use new API
4752         * installcheck/Amanda_Xfer.pl: test
4753         * installcheck/Amanda_Recovery_Clerk.pl: test some more
4754         * installcheck/Installcheck/Dumpcache.pm: add code to determine
4755           the timestamps for a cached dump after loading it
4756
4757 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
4758         * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
4759           add a get_xfer_mechs method to xfer elements so that elements can
4760           dynamically specify their mech pairs
4761
4762 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
4763         * device-src/ndmp-device.c: check for fatal errors in directtcp
4764           methods
4765         * device-src/xfer-dest-taper-directtcp.c: track device_listen
4766           failures better
4767         * installcheck/Amanda_Xfer.pl: test setup cancellation
4768         * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
4769         * xfer-src/element-glue.c: always send XMSG_DONE, even on error
4770
4771 2010-02-17  Dustin J. Mitchell <dustin@zmanda.com>
4772         * device-src/ndmp-device.c: sanity-check file number
4773         * device-src/xfer-dest-taper-directtcp.c: same
4774         * device-src/xfer-dest-taper-splitter.c: same
4775
4776 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
4777         * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
4778
4779 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
4780         * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
4781           fields
4782
4783 2010-02-17  Jean-Louis Martineau <martineau@zmanda.com>
4784         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
4785           add config_init(0, NULL);
4786         * recover-src/extract_list.c: Typo.
4787
4788 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4789         * server-src/amadmin.c: Set a config for version subcommand.
4790
4791 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4792         * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
4793         * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
4794         * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
4795         * common-src/fileheader.h (dumpfile_t): Add orig_size.
4796         * common-src/timestamp.c (get_time_from_timestamp): New function to
4797           convert a char timestamp to time_t.
4798         * common-src/timestamp.h (get_time_from_timestamp): Prototype.
4799         * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
4800         * server-src/driver.c: Protoocl change to send orig_kb to taper.
4801         * server-src/driverio.c: Protoocl change to send orig_kb to taper.
4802         * server-src/find.c: Get orig_kb from log files.
4803         * server-src/find.h (find_result_t): add orig_kb.
4804         * server-src/holding.c (holding_set_origsize): New function to seti
4805           'ORIGSIZE' in an holding file.
4806         * server-src/holding.h (holding_set_origsize): Prototype.
4807         * server-src/infofile.c: '(char *)0' to NULL.
4808         * server-src/taper.pl: Parse orig-kb in protocol, log it.
4809         * perl/Amanda/DB/Catalog.pm: Set orig_kb.
4810         * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
4811         * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
4812         * installcheck/taper.pl: Fix for orig-kb in protocol.
4813
4814 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4815         * recover-src/extract_list.c: Fix crash for non application restore.
4816
4817 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4818         * server-src/amcheckdump.pl: Less verbose, add --verbose option.
4819         * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
4820
4821 2010-02-15  Jean-Louis Martineau <martineau@zmanda.com>
4822         * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
4823
4824 2010-02-12  Jean-Louis Martineau <martineau@zmanda.com>
4825         * application-src/ampgsql.pl: Put stderr of tar in the debug file.
4826
4827 2010-02-12  Paul C. Mantz <pcmantz@zmanda.com>
4828         * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
4829           L_INFO lines
4830         * perl/Amanda/Report/human.pm: widen text field for tape usage
4831         * installcheck/Amanda_Report.pl: installchecks
4832
4833 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4834         * common-src/conffile.c: Assert if a config is not set.
4835         * common-src/amgetconf.pl, client-src/calcsize.c,
4836           client-src/client_util.c, client-src/killpgrp.c,
4837           client-src/rundump.c, client-src/runtar.c,
4838           installcheck/Amanda_Debug.pl: Set a default config.
4839
4840 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4841         * common-src/conffile.c: New debug_days option.
4842         * common-src/conffile.h: New debug_days option.
4843         * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
4844         * man/xml-source/amanda.conf.5.xml: Document debug_days option.
4845         * common-src/debug.c: Don't do unlink in debug_open.
4846         * common-src/Makefile.am: Fix for test program.
4847         * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
4848                                    Call Amanda::Util::finish_application.
4849         * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
4850         * perl/Amanda/Util.pod: Document.
4851         * common-src/file.c, client-src/getfsent.c,
4852           server-src/infofile.c: Call dbclose();
4853         * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
4854           device-src/amtapetype.pl, server-src/amcheckdump.pl,
4855           server-src/amcleanup.pl, server-src/amfetchdump.pl,
4856           server-src/amrestore.pl, server-src/amrmtape.pl,
4857           server-src/amvault.pl,
4858           server-src/taper.pl: Call Amanda::Util::finish_application.
4859
4860 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4861         * perl/Amanda/Taper/Scan/traditional.pm,
4862           perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
4863         * perl/Amanda/Recovery/Scan.pm: Fix doc.
4864         * server-src/amcheck-device.pl: New user_msg_fn.
4865         * server-src/amlabel.pl: New user_msg_fn.
4866         * server-src/amtape.pl: New user_msg_fn.
4867         * installcheck/amlabel.pl: Fix installcheck.
4868
4869 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
4870         * xfer-src/xfer.c xfer-src/xfer-element.h: add
4871           XFER_MECH_DIRECTTCP_CONNECT
4872         * xfer-src/source-directtcp-connect.c: element that uses it
4873         * xfer-src/dest-directtcp-listen.c: element that uses it
4874         * xfer-src/element-glue.c: glue for it
4875         * xfer-src/xfer-test.c: test it
4876         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
4877         * installcheck/Amanda_Xfer.pl: test it some more
4878         * xfer-src/Makefile.am: new files
4879         * xfer-src/dest-directtcp-connect.c: check addrs is not empty
4880         * perl/amglue/directtcp.swg: handle empty address lists better
4881
4882 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
4883         * installcheck/Makefile.am: don't run amidxtaped on
4884           --without-restore
4885         * installcheck/Installcheck/ClientService.pm
4886           installcheck/amidxtaped.pl: kill amidxtaped on timeout
4887         * restore-src/amidxtaped.c: don't call safe_fd after the
4888           app has already started - it closes fd's in use by
4889           system libraries for e.g., LDAP access
4890
4891 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4892         * perl/Amanda/Application.swg: Add read_magic_block and
4893                                        write_magic_block.
4894         * perl/Amanda/Application.pod: Document them.
4895
4896 2010-02-10  Paul C. Mantz <pcmantz@gmail.com>
4897         * perl/Amanda/Report/human.pm: fixed columnspec code
4898
4899 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
4900         * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
4901         * server-src/amtape.pl: New user_msg_fn.
4902
4903 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
4904         * perl/Amanda/Changer.pm: Document undef state.
4905         * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
4906         * perl/Amanda/Changer/single.pm: Set state to undef.
4907         * perl/Amanda/Recovery/Scan.pm: Handle undef state.
4908
4909 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
4910         * server-src/taper.pl: Log no-tape error if no available tape.
4911
4912 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
4913         * installcheck/amidxtaped.pl: skip DirectTCP tests if
4914           --without-ndmp
4915
4916 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
4917         * restore-src/restore.c: fix double-free error
4918
4919 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
4920         * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
4921           tests
4922         * amandad-src/amandad.c: comments
4923         * common-src/amanda.h: comments
4924         * restore-src/amidxtaped.c: don't check security when invoked with
4925           'installcheck' as argv[1]
4926
4927 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
4928         * installcheck/Installcheck/ClientService.pm: utility to test
4929           client services (noop, sendbackup, etc.)
4930         * installcheck/Makefile.am installcheck/noop.pl: new test
4931         * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
4932
4933 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
4934         * restore-src/amidxtaped.c: Check from_amandad before
4935                                     fe_recover_splits.
4936
4937 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
4938         * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
4939
4940 2010-02-09  Paul C. Mantz <pcmantz@zmanda.com>
4941         * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
4942
4943 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
4944         * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
4945         * man/xml-source/amanda-client.conf.5.xml,
4946           man/xml-source/amanda.conf.5.xml: Use them.
4947
4948 2010-02-09 Dan Locks <dwlocks@zmanda.com>
4949         *  amar-src/Makefile.am: add installperms stanza
4950
4951 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
4952         * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
4953
4954 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
4955         * client-src/client_util.c: New AMFEATURES application support option,
4956           application_property_add_to_argv take a amfeatures argument.
4957         * client-src/client_util.h: New protoype.
4958         * client-src/selfcheck.c, client-src/sendbackup.c,
4959           client-src/sendsize.c,
4960           recover-src/extract_list.c: Pass the server amfeatures as argument
4961           to application_property_add_to_argv.
4962         * common-src/amfeatures.c: New fe_sendbackup_noop.
4963         * common-src/amfeatures.h: New fe_sendbackup_noop.
4964         * server-src/dumper.c: Ignore "sendbackup: no-op' message.
4965
4966 2010-02-08  Dustin J. Mitchell <dustin@zmanda.com>
4967         * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
4968           SWIG amfeatures
4969         * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
4970           tests
4971         * common-src/amfeatures.h: add SWIG conditionals
4972         * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
4973
4974 2010-02-06  Dustin J. Mitchell <dustin@zmanda.com>
4975         * perl/Amanda/Config.pod: document autolabel format
4976         * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
4977
4978 2010-02-06  Jean-Louis Martineau <martineau@zmanda.com>
4979         * common-src/conffile.c: Add autolabel config option.
4980         * common-src/conffile.h: Add autolabel config option.
4981         * man/xml-source/amanda.conf.5.xml: Document autolabel.
4982         * perl/Amanda/Config.swg: Swig autolabel.
4983         * perl/Amanda/Taper/Scan/traditional.pm,
4984           perl/Amanda/Taper/Scan.pm: Use autolabel.
4985         * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
4986           installcheck/Amanda_Taper_Scan_traditional.pl,
4987           installcheck/Installcheck/Dumpcache.pm,
4988           installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
4989           installcheck/amcheck.pl, installcheck/amdevcheck.pl,
4990           installcheck/amdump.pl, installcheck/pp-scripts.pl,
4991           installcheck/taper.pl: Fix to use autolabel.
4992
4993 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
4994         * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
4995         * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
4996         * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
4997         * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
4998         * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
4999         STATUS" pod header
5000
5001 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
5002         * perl/Amanda/Report/human.pm: made fixed appearance of per-level
5003           column in output_stats
5004
5005 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
5006         * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
5007
5008 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
5009         * perl/Makefile.am: Fix bad merge.
5010
5011 2010-02-03  Paul C. Mantz <pcmantz@zmanda.com>
5012         * perl/Amanda/Report/human.c: increased width of output_stats
5013           fields
5014
5015 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5016         * server-src/amadmin.c: Use %jd for gint.
5017
5018 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5019         * server-src/amadmin.c: Add 'estimate' command'.
5020         * man/xml-source/amadmin.8.xml: Document estimate command.
5021         * server-src/planner.c, server-src/server_util.c,
5022           server-src/server_util.h: Move internal_server_estimate and
5023           server_can_do_estimate from planner.c to server_util.c
5024
5025 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5026         * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
5027         * installcheck/Amanda_Recovery_Clerk.pl: Test it.
5028
5029 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5030         * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
5031
5032 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5033         * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
5034         * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
5035         * perl/Amanda/Changer/compat.pm: Print device_name.
5036         * perl/Amanda/Interactive.pm: Base class for interactivity.
5037         * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
5038         * perl/Amanda/Recovery/Scan.pm: Scan changers
5039         * perl/Makefile.am: Add Amanda/Interactive.pm,
5040           Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
5041         * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
5042         * server-src/amtape.pl: Use Amanda::Recovery::Scan.
5043
5044 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5045         * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
5046         * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
5047         * installcheck/amdevcheck.pl: give an explicit device name, now that
5048           tapedev is not set
5049
5050 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5051         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
5052           add debug_recovery
5053         * perl/Amanda/Recovery/Clerk.pm: use it
5054         * perl/Amanda/Recovery/Planner.pm: use it
5055
5056 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5057         * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
5058
5059 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5060         * device-src/Makefile.am device-src/xfer-device.h
5061           device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
5062           installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
5063           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
5064           Amanda::Taper::Source to Amanda::Recovery::Source
5065
5066 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5067         * perl/Makefile.am: check all .pm files (some had been missed)
5068
5069 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5070         * perl/Amanda/Changer.pm: fix bogus POD
5071
5072 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5073         * application-src/amsamba.pl: Fix parsing of unc if disk is noti
5074                                       defined.
5075
5076 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5077         * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
5078
5079 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5080         * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
5081
5082 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5083         * server-src/amfetchdump.pl: only output a filename with a partnum
5084           when -n was given
5085
5086 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5087         * device-src/ndmp-device.c: fix failure to check for fatal errors, use
5088           signed 'delta'
5089         * device-src/tape-device.c: rewind correctly, even to the current file
5090         * device-src/vfs-device.c: set in_file=FALSE on finish()
5091         * installcheck/Amanda_Device.pl: check reading file header twice
5092
5093 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5094         * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
5095           installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
5096           installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
5097           installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
5098           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
5099           xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
5100           of xfer_state == XFER_DONE
5101
5102 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5103         * man/xml-source/amanda-auth.7.xml: reduce circular references
5104
5105 2010-02-01  Dustin J. Mitchell <dustin@zmanda.com>
5106         * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
5107
5108 2010-01-31  Jean-Louis Martineau <martineau@zmanda.com>
5109         * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
5110
5111 2010-01-30  Jean-Louis Martineau <martineau@zmanda.com>
5112         * common-src/conffile.c: Allow multiple scripts on one line.
5113
5114 2010-01-29 Dan Locks <dwlocks@zmanda.com>
5115         *  packaging/rpm/amanda.spec: move manpages to
5116            defattr(644,root,root,..) section
5117
5118 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5119         * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
5120         * installcheck/Amanda_DB_Catalog.pl: tests
5121         * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
5122         * installcheck/Amanda_Recovery_Planner.pl: tests
5123         * perl/Amanda/Recovery/Clerk.pm: recover from holding with
5124           Amanda::Xfer::Source::Holding when appropriate
5125         * installcheck/Amanda_Recovery_Clerk.pl: tests
5126         * server-src/amfetchdump.pl: give better messaging when recovering
5127           from holding, don't append partnum unless it's a multipart dump
5128         * installcheck/amfetchdump.pl: tests
5129
5130 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5131         * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
5132           and -w options
5133         * restore-src/Makefile.am restore-src/amfetchdump.c: remove
5134         * server-src/Makefile.am server-src/amfetchdump.pl: new version
5135           of amfetchdump that uses Clerk and Planner
5136         * installcheck/amfetchdump.pl: updates to tests (change 'tape'
5137           to 'volume', no more -b, add quotes around labels
5138
5139 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5140         * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
5141         * installcheck/Amanda_Recovery_Planner.pl
5142           installcheck/Makefile.am: tests
5143
5144 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5145         * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
5146         * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
5147           tests
5148
5149 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5150         * installcheck/Amanda_MainLoop.pl: a call_after test that is more
5151           stable when the system clock is stepping
5152         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
5153
5154 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5155         * installcheck/Amanda_Logfile.pl: note about checks
5156         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
5157         * server-src/find.c server-src/find.h: add dynamic_disklit param
5158           to search_holding_disk
5159
5160 2010-01-28  Jean-Louis Martineau <martineau@zmanda.com>
5161         * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
5162         * installcheck/Amanda_Changer_multi.pl: Test it.
5163
5164 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5165         * installcheck/amfetchdump.pl: don't use an END block for cleanup
5166
5167 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5168         * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
5169         * installcheck/Amanda_DB_Catalog.pl: test it
5170         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
5171
5172 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5173         * changer-src/chg-glue.pl: fix chg-glue to be more careful about
5174           releasing the device first
5175
5176 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5177         * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
5178           cached dumps
5179         * installcheck/amfetchdump.pl: more/better tests
5180         * man/xml-source/amfetchdump.8.xml: formatting
5181
5182 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5183         * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
5184           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
5185           fix typos
5186
5187 2010-01-27  Paul C. Mantz <pcmantz@zmanda.com>
5188         * perl/Amanda/Util.pm: added safe_overwrite_file
5189         * installcheck/Amanda_Util.pl: installcheck
5190
5191 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
5192         * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
5193
5194 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
5195         * perl/Amanda/Changer.pm: Document new inventory result.
5196         * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
5197           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
5198           perl/Amanda/Changer/robot.pm,
5199           perl/Amanda/Changer/single.pm: Generate new inventory result.
5200         * installcheck/Amanda_Changer_disk.pl,
5201           installcheck/Amanda_Changer_multi.pl,
5202           installcheck/Amanda_Changer_ndmp.pl,
5203           installcheck/Amanda_Changer_rait.pl,
5204           installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
5205         * server-src/amtape.pl: Use new inventory result.
5206
5207 2010-01-26  Paul C. Mantz <pcmantz@zmanda.com>
5208         * perl/Amanda/Util.swg: added slurp and burp subs
5209         * installcheck/Amanda_Util.pl: installcheck for slurp and burp
5210         * installcheck/Installcheck/Run.pm: use of slurp in production
5211
5212 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
5213         * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
5214         * perl/Amanda/Report/human.pm: Many improvements.
5215         * installcheck/Amanda_Report.pl: Fix for new data.
5216         * perl/Makefile.am: Check AmandaReport_DATA.
5217
5218 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
5219         * common-src/conffile.h: Add getconf_linenum.
5220         * perl/Amanda/Config.swg: Add getconf_linenum.
5221         * perl/Amanda/Config.pod: Document getconf_linenum.
5222         * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
5223           line without setting the other to ''.
5224
5225 2010-01-25  Dustin J. Mitchell <dustin@zmanda.com>
5226         * perl/amglue/bigint.c: call SPAGAIN after loading
5227           Math::BigInt, in case the stack base has moved
5228         * perl/amglue/integers.swg: don't place a bigint on
5229           the stack until the stack pointer has been restored
5230         * perl/Amanda/Header.swg: use static
5231
5232 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
5233         * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
5234           confuse old is_deeply implementations
5235
5236 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
5237         * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
5238           more carefully; add ability to query and sort dumps; use weak refs to
5239           break reference loops
5240         * installcheck/Amanda_DB_Catalog.pl: tests
5241         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
5242         * server-src/amvault.pl: update to match
5243         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
5244           match_disk, and match_datestamp, and document dumps_match_dumpspecs
5245
5246 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
5247         * device-src/ndmp-device.c, device-src/rait-device.c,
5248           device-src/s3-device.c, device-src/tape-device.c,
5249           device-src/vfs-device.c: Set volume_header with the written header
5250           when opened in write mode.
5251
5252 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
5253         * perl/Amanda/Report/human.pm: Many fix.
5254         * server-src/amreport_new.pl: Many fix.
5255
5256 2010-01-18  Jean-Louis Martineau <martineau@zmanda.com>
5257         * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
5258         * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
5259                                data path.
5260
5261 2010-01-19  Paul C. Mantz <pcmantz@zmanda.com>
5262         * installcheck/amreport.pl: made output checks ignore spacing
5263
5264 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
5265         * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
5266           close
5267
5268 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
5269         * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
5270           ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
5271
5272 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
5273         * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
5274
5275 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
5276         * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
5277           that the scribe can cancel a transfer in an error situation
5278         * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
5279         * server-src/taper.pl: git it an xfer
5280
5281 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
5282         * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
5283           and return NDMP_DEVICE_BUSY_ERR on a collision
5284         * device-src/ndmp-device.c: close the tape agent before switching
5285           connections, and before closing a device, to avoid
5286           NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
5287           tape agent, as the mover may already be active
5288
5289 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
5290         * restore-src/restore.c: add another htonl invocation for ipv4 address
5291
5292 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
5293         * perl/Amanda/Xfer.pod: fix POD typo
5294
5295 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
5296         * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
5297
5298 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
5299         * perl/Amanda/Changer/compat.pm: allow multiline responses
5300         * installcheck/Amanda_Changer_compat.pl: test
5301
5302 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
5303         * installcheck/Amanda_Curinfo.pl: remove spurious diag()
5304
5305 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
5306         * gnulib/regenerate/regenerate: add regex module, for Mac OS X
5307           compatibility; no change in gnulib version
5308         * config/gnulib/* gnulib/*: resulting gnulib updates
5309
5310 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
5311         * man/xml-source/amreport.8.xml: fix typo in manpage
5312
5313 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
5314         * perl/Amanda/Changer.pm: $chg->load always read ther label.
5315         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
5316         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
5317         * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
5318         * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
5319         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
5320         * server-src/amlabel.pl, server-src/amrestore.pl,
5321         * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
5322
5323 2010-01-15  Paul C. Mantz <pcmantz@zmanda.com>
5324         * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
5325           5.6 compatibility
5326
5327 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
5328         * installcheck/Amanda_Changer_robot.pl: Typo.
5329
5330 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
5331         * amandad-src/amandad.c: iread errfd and close it on termination.
5332
5333 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
5334         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
5335           update '1-4=' syntax to mark slot as being in unknown state.
5336         * man/xml-source/amanda-changers.7.xml: Document new syntax.
5337         * installcheck/Amanda_Changer_multi.pl: Test new syntax.
5338         * installcheck/Amanda_Changer_robot.pl: Test new syntax.
5339
5340 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
5341         * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
5342                                                   skip disk.
5343         * server-src/diskfile.c (disable_skip_disk): New function to set todo
5344                                                      to 0 for skip disk.
5345         * server-src/diskfile.h (disable_skip_disk): Add prototype.
5346         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
5347           server-src/reporter.c: Call disable_skip_disk.
5348
5349 2010-01-14  Jean-Louis Martineau <martineau@zmanda.com>
5350         * perl/Makefile.am: typo.
5351
5352 2010-01-14  Paul C. Mantz <pcmantz@zmanda.com>
5353         * server-src/amreport_new.pl: amreport rewrite in perl
5354         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
5355           perl/Amanda/Report/xml.pm: factored out output formats and
5356           added legacy format
5357         * perl/Makefile.am server-src/Makefile.am: makefile changes
5358         * contrib/amreport.rnc: amreport xml spec in RelaxNG
5359
5360 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5361         * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
5362           make device_listen and device_accept callable anywhere; be explicit
5363           about conn refcount from accept
5364         * device-src/ndmp-device.c: don't call device_use_connection, as
5365           that method requires ACCESS_NULL
5366         * restore-src/restore.c: fix typo
5367
5368 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5369         * server-src/taper.pl: fix taper writing status too quickly
5370
5371 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5372         * client-src/client_util.c: fix to send the --direct-tcp and
5373           --data-path arguments to applications
5374         * client-src/sendbackup.c: add a bit of debugging to sendbackup
5375
5376 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5377         * restore-src/restore.c: add missing htonl to restore.c for ipv4
5378           address; fix typo
5379
5380 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5381         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
5382           messages, including a fancy connection ID to help debug problems
5383           using the wrong NDMP connection at the wrong time
5384
5385 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5386         * device-src/ndmp-device.c: work around record_size bug in ndmjob
5387
5388 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5389         * installcheck/amfetchdump.pl: check restored files more closely
5390
5391 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5392         * installcheck/taper.pl: taper installcheck to run multiple dumps
5393           on a spanned NDMP device
5394
5395 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5396         * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache 
5397         * installcheck/Installcheck/Mock.pm: add a way to revive it for
5398           recovery tests
5399         * installcheck/amfetchdump.pl: use it
5400
5401 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5402         * device-src/ndmp-device.c: correctly handle devices while they are
5403           coming online after a load
5404
5405 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5406         * ndmp-src/scsiconst.h: fix typo in constant name
5407
5408 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5409         * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
5410           'blank', mark them as unknown
5411
5412 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5413         * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
5414           with several
5415
5416 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5417         * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
5418
5419 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5420         * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
5421           MEDIUM
5422
5423 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5424         * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
5425
5426 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
5427         * device-src/ndmp-device.c: fix dangling reference
5428
5429 2010-01-11  Dustin J. Mitchell <dustin@zmanda.com>
5430         * common-src/Makefile.am common-src/fileheader-test.c: new test
5431         * common-src/fileheader.c common-src/fileheader.h: validate a lot
5432           of inputs; use g_debug; handle compressed/comp_suffix and
5433           encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
5434           bug in parsing empty heredoc
5435         * device-src/amtapetype.pl: add 'program' to header
5436         * installcheck/Amanda_Xfer.pl: add 'program' to header
5437         * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
5438           and document interrelationships of fields
5439
5440 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
5441         * perl/Makefile.am: don't build useless static versions of perl libs
5442
5443 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
5444         * device-src/xfer-source-taper.c: make element cancellation work
5445
5446 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
5447         * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
5448           identity
5449
5450 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
5451         * common-src/simpleprng.c common-src/simpleprng.h: add a method to
5452           extract the current seed from the PRNG state
5453         * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
5454         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
5455
5456 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
5457         * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
5458           Text::Diff
5459
5460 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
5461         * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
5462         * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
5463         * installcheck/Amanda_Curinfo.pl: installcheck
5464         * perl/Makefile.am installcheck/Makefile.am: makefile additions
5465
5466 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
5467         * ndmp-src/ndma_tape.c: halt on media error
5468         * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
5469           ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
5470           NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
5471         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
5472           NDMP9_MOVER_HALT_MEDIA_ERROR
5473
5474 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
5475         * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
5476
5477 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
5478         * perl/Amanda/NDMP.pod: fix %}.
5479
5480 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
5481         * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
5482
5483 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
5484         * perl/Amanda/NDMP.pod: typo
5485         * perl/Amanda/NDMP.swg: actually include POD
5486
5487 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
5488         * device-src/device.c device-src/device.h: remove conn argument from
5489           read_to_connection and write_from_connection; check for ACCESS_NULL
5490         * device-src/ndmp-device.c: remove conn argument, call use_connection
5491           from accept_impl
5492         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
5493           perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
5494           device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
5495           call use_connection at the appropriate time
5496
5497 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
5498         * device-src/ndmp-device.c: add an eject() implementation
5499
5500 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5501         * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
5502           ndmjob does not output logging info to stdout during installchecks
5503
5504 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5505         * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
5506           initialized
5507
5508 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5509         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
5510           pattern and the identifiers that supported it
5511         * device-src/ndmp-device.c: don't worry about idents
5512         * perl/Amanda/Changer/ndmp.pm: don't worry about idents
5513         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
5514         * installcheck/Amanda_NDMP.pl: change tests
5515
5516 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5517         * device-src/device.c device-src/device.h: change can_use_connection
5518           to the imperative use_connection
5519         * device-src/ndmp-device.c: implement use_connection
5520         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
5521           device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
5522           add a use_device method, start_part no longer needs a device
5523         * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
5524           perl/Amanda/XferServer.swg: SWIG it 
5525         * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
5526         * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
5527
5528 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5529         * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
5530           on WANT_NDMP
5531
5532 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5533         * perl/amglue/directtcp.swg: initialize the other struct in_addr by
5534           member name, too (see 2009-12-29)
5535
5536 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5537         * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
5538         * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
5539         * installcheck/mock/chg-ndmjob.pl: remove
5540         * installcheck/Amanda_Changer_ndmp.pl: new test
5541         * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
5542           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
5543           installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
5544           tests via I::Mock
5545         * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
5546           time, process sense data correctly, use correct element addresses
5547           for MOVE MEDIUM
5548
5549 2010-01-04  Jean-Louis Martineau <martineau@zmanda.com>
5550         * common-src/bsd-security.c, common-src/bsdtcp-security.c,
5551           common-src/bsdudp-security.c: Check service != NULL.
5552
5553 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
5554         * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
5555           ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
5556           ndmp-src/ndmos_common.c ndmp-src/Makefile.am
5557           ndmp-src/ndma_robot_simulator.c: add robot simulator
5558         * ndmp-src/ndmos_glib.h: use robot simulator
5559         * ndmp-src/scsiconst.h: fix typo
5560
5561 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
5562         * ndmp-src/ndma_tape.c: remove ndmta_belay
5563         * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
5564           NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
5565
5566 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
5567         * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
5568           scan
5569
5570 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
5571         * perl/amglue/directtcp.swg: initialize struct in_addr by member name
5572
5573 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
5574         * installcheck/Makefile.am: sort tests
5575         * installcheck/=setupcache.pl: rename _setupcache so it sorts first
5576
5577 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
5578         * perl/Amanda/Config.swg: fix return type for config_init
5579         * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
5580
5581 2009-12-24  Charles Curley <charlescurley@charlescurley.com>
5582         * README: rewrite
5583
5584 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5585         * device-src/s3-device.c: don't set the throttling properties unless
5586           they are nonzero
5587
5588 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5589         * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
5590
5591 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5592         * perl/Amanda/Changer/ndmp.pm: set device authentication properties
5593         * perl/Makefile.am: actually include ndmp.pm
5594         * perl/Amanda/Device.pod: doc extended property_get
5595         * man/xml-source/amanda-changers.7.xml: document properties
5596
5597 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5598         * common-src/fileheader.c: try to generate parsable headers
5599         * perl/Amanda/Header.swg: add default values
5600         * server-src/amrestore.pl: fix typo
5601         * installcheck/amrestore.pl: ndmp-device test (not using directtcp
5602           yet)
5603
5604 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5605         * device-src/s3.c: recent versions of curl switched from #define
5606           to enum, so #ifdef no longer works; test specific versions
5607           instead
5608
5609 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5610         * ndmp-src/ndma_ctrl_robot.c: show error messages
5611
5612 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
5613         * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
5614
5615 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
5616         * device-src/s3.c: remove debugging info
5617
5618 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
5619         * device-src/s3.c: only including throttling code if the precompiler
5620           symbols are present
5621
5622 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
5623         * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
5624         * installcheck/Amanda_Device.pl: test it
5625
5626 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
5627         * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
5628           source generated with rpcgen contains constructs that cause
5629           warnings for which earlier gcc's have no -Wno-xxx option
5630         * configure.in: revert disabled warnings
5631
5632 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
5633         * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
5634
5635 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
5636         * device-src/s3.c device-src/s3.h: add max send and receive speeds
5637         * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
5638           PROPERTY_MAX_RECV_SPEED
5639         * man/xml-source/amanda-devices.7.xml: document
5640
5641 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5642         * ndmp-src/Makefile.am configure.in: conditionalize warnings which
5643           are not present on all gcc version
5644         * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
5645           ndmp-src/ndmjob_main_util.c: fix warnings
5646         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
5647           long long constant should end in 'ull'
5648
5649 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5650         * installcheck/Amanda_NDMP.pl: add auth parameter here too
5651
5652 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5653         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
5654           parameter with four options
5655         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
5656         * device-src/ndmp-device.c: add NDMP_AUTH property
5657         * man/xml-source/amanda-devices.7.xml: doc it
5658         * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
5659         * man/xml-source/amanda-changers.7.xml: doc it
5660
5661 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5662         * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
5663         * ndmp-src/*.c: fix warnings, mostly sign differences
5664
5665 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5666         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
5667           return value to ndmp_connection_tape_mtio
5668         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
5669         * installcheck/Amanda_NDMP.pl: test it
5670         * installcheck/Makefile.am: actually run Amanda_NDMP tests
5671         * device-src/ndmp-device.c: compatible change
5672
5673 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5674         * man/xml-source/amanda.8.xml: remove amdd
5675
5676 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5677
5678         * changer-src/Makefile.am changer-src/chg-rait.sh
5679           changer-src/chg-null.sh: restore deleted files
5680
5681 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5682         * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
5683
5684 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
5685         * autogen: do not use sed --in-place
5686
5687 2009-12-20  Dustin J. Mitchell <dustin@zmanda.com>
5688         * man/xml-source/amgetconf.8.xml: fix formatting error by putting
5689           <note> on its own line
5690
5691 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
5692         * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
5693
5694 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
5695         * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
5696         * man/xml-source/amanda-changers.7.xml: docs
5697         * perl/Amanda/Changer.pm: better error handling
5698         * perl/Amanda/Changer/robot.pm: changes for subclassing
5699
5700 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
5701         * server-src/driver.c: Don't call validate_optionstr for flush dles.
5702
5703 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
5704         * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
5705         * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
5706         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
5707         * installcheck/Amanda_Device.pl: add ndmp-only tests
5708         * installcheck/Amanda_Xfer.pl: add server-only tests
5709         * installcheck/Amanda_Device_ndmp.pl: remove
5710         * installcheck/Amanda_Xfer_serveronly.pl: remove
5711         * installcheck/Makefile.am: remove files
5712         * installcheck/taper.pl: conditionalize ndmp tests
5713         * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
5714
5715 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
5716         * server-src/amtrmidx.c: Check index entry will all dles using the
5717                                  same index directory.
5718
5719 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5720         * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
5721           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
5722           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
5723           perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
5724           Split the 'inuse' code into 'driveinuse' and 'volinuse'.
5725         * installcheck/Amanda_Changer_compat.pl,
5726           installcheck/Amanda_Changer_disk.pl,
5727           installcheck/Amanda_Changer_multi.pl,
5728           installcheck/Amanda_Changer_rait.pl,
5729           installcheck/Amanda_Changer_robot.pl,
5730           installcheck/Amanda_Changer_single.pl:
5731           Use 'driveinuse' and 'volinuse'.
5732
5733 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5734         * common-src/conffile.c: etimeout must be positive.
5735         * common-src/protocol.c: Fix possible timeout of 0.
5736
5737 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5738         * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
5739           Add a few debugging output.
5740
5741 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5742         * server-src/amcheckdump.pl: Call $res->release() with a callback.
5743
5744 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5745         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
5746           server-src/amrestore.pl,
5747           server-src/amvault.pl: Call $res->set_label after $dev->read_label.
5748
5749 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
5750         * installcheck/Amanda_Changer_robot.pl: fix installchecks
5751
5752 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
5753         * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
5754           subclass
5755
5756 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
5757         * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
5758           based on example/chg-multi.conf
5759
5760 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5761         * device-src/ndmp-device.c: use err_code, instead of err_msg, to
5762           detect an NDMPConnection error
5763
5764 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5765         * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
5766
5767 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
5768         * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
5769           drive if the pid is dead.
5770
5771 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
5772         * server-src/diskfile.c: Add validate_optionstr,  optionstr and
5773           xml_optionstr no longer do validation..
5774         * server-src/diskfile.h: Add validate_optionstr, change prototype for
5775           optionstr and xml_optionstr.
5776         * server-src/amadmin.c: Add missing case.
5777         * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
5778           Use validate_optionstr, Change for new *_optionstr prototype.
5779         * server-src/driver.c: Use validate_optionstr.
5780         * server-src/driverio.c: Change for new *_optionstr prototype.
5781         * installcheck/amdump.pl: Check planner error from validate_optionstr.
5782
5783 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5784         * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
5785           ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
5786           an error set instead of just returning an error from the constructor
5787         * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
5788         * perl/Amanda/NDMP.pod: docs for same
5789
5790 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5791         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
5792
5793 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5794         * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
5795           when used in an outgoing typemap, due to stack stomping
5796         * perl/Amanda/Archive.swg perl/Amanda/Config.swg
5797           perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
5798           perl/amglue/integers.swg: exercise care as directed
5799
5800 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
5801         * recover-src/extract_list.c: Wait to parse the header before
5802           confirming destination directory. Unlink files only for GNUTAR
5803           and amgtar.
5804         * client-src/client_util.c: Parse RECOVER-PATH application support
5805                                     result.
5806         * client-src/client_util.h: Add recover_path_t.
5807
5808 2009-12-14  Dustin J. Mitchell <dustin@zmanda.com>
5809         * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
5810         * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
5811         * perl/Amanda/Changer/robot.pm: allow spaces between times and units
5812
5813 2009-12-14  Jean-Louis Martineau <martineau@zmanda.com>
5814         * server-src/amtape.pl: Call $res->set_label after reading a label.
5815
5816 2009-12-13  Dustin J. Mitchell <dustin@zmanda.com>
5817         * server-src/taper.pl: put header socket in blocking mode
5818
5819 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5820         * perl/Amanda/Process.pm: Remove unneded 'use'.
5821         * perl/Makefile.am: Build Amanda::Process on client.
5822
5823 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5824         * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
5825
5826 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5827         * perl/Amanda/Changer/multi.pm: New changer.
5828         * perl/Makefile.am: Build Amanda::Changer::multi
5829         * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
5830         * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
5831         * installcheck/Makefile.am: build and test Amanda_Changer_multi.
5832         * perl/Amanda/Util.swg: Add is_pid_alive.
5833         * perl/Amanda/Util.pod: Document is_pid_alive.
5834
5835 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5836         * server-src/amstatus.pl: Use wrong indice.
5837         * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
5838
5839 2009-12-11  Dustin J. Mitchell <dustin@zmanda.com>
5840         * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
5841         * server-src/driverio.c: do not send datapath to taper
5842         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
5843         * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
5844           changed on-tape format
5845         * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
5846         * ndmp-src/ndma_tape.c: fix typos
5847         * NEWS: document behavior changes
5848
5849 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5850         * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
5851           server-src/driver.c server-src/driverio.c server-src/dumper.c
5852           server-src/taper.pl: Change protocol between chunker/taper and dumper:
5853           "PORT header_port  data_host:data_port", and dumper sends the header
5854           completely before sending the data
5855
5856 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5857         * ndmp-src/ndmpconnobj.c: fix uninitialized variable
5858
5859 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5860         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
5861           device-src/Makefile.am: new class
5862         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
5863         * installcheck/Amanda_Xfer_serveronly.pl: tests
5864         * perl/amglue/directtcp.swg: return undef for null addrs array
5865         * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
5866
5867 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5868         * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
5869         * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
5870         * installcheck/Amanda_Device_ndmp.pl: new tests
5871
5872 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5873         * xfer-src/element-glue.c: element-glue shouldn't complain when the
5874           xfer's already been cancelled
5875
5876 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5877         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
5878           according to the spec (even though it's inconsistent)
5879
5880 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5881         * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
5882           offset+length = G_MAXUINT64
5883
5884 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5885         * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
5886           connection
5887
5888 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5889         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
5890           ndmp-src/ndmagents.h: make mover seek to correct block number
5891
5892 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5893         * common-src/simpleprng.c: better error message from simpleprng on
5894           random number mismatch
5895         * common-src/simpleprng.h: simpleprng_state_t is now a real struct
5896         * xfer-src/dest-null.c: no need to give buffer offset anymore
5897
5898 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
5899         * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
5900         * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
5901           reading from a holding disk.
5902
5903 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
5904         * device-src/device.c, device-src/device.h:
5905           Add device_unaliassed_name function.
5906         * perl/Amanda/Device.swg: Add unaliassed_name function.
5907
5908 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
5909         * restore-src/restore.c: Fix read_to_connection argument.
5910
5911 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5912         * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
5913           unnecessary include
5914
5915 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5916         * common-src/directtcp.h: mention IP byte order
5917         * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
5918           perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
5919           lengths; directtcp_supported is a boolean class attribute instead of a
5920           method; listen takes a for_writing argument; SWIG directtcp methods
5921         * perl/Amanda/Device.pod: document LEOM handling, new methods
5922         * device-src/directtcp-connection.c: call parent's finalize
5923         * restore-src/restore.c: pass correct for_writing to listen
5924
5925 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5926         * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
5927         * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
5928
5929 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5930         * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
5931           new class to encapsulate all of the NDMP transactions without
5932           requiring weird precompiler macros
5933
5934 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5935         * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
5936           triggered by long filenames in buildbots
5937
5938 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5939         * xfer-src/element-glue.c: one more uninitialized variable
5940
5941 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
5942         * device-src/device.h, device-src/device.c,
5943           man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
5944           perl/Amanda/Device.swg: Add an eject method to the device-api.
5945         * device-src/tape-device.c, device-src/tape-ops.h,
5946           device-src/tape-posix.c, device-src/tape-uware.c,
5947           device-src/tape-aix.c,
5948           device-src/tape-xenix.c: Implement eject method.
5949         * perl/Amanda/Changer/robot.pm: Use new eject method.
5950
5951 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5952         * device-src/dvdrw-device.c: fix uninitialized variable, don't use
5953           G_DEFINE_DEVICE
5954
5955 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5956         * xfer-src/element-glue.c: fix uninitialized use of variable
5957
5958 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5959         * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
5960           XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
5961         * xfer-src/xfer-test.c: tests for same
5962         * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
5963           perl/Amanda/Xfer.swg: new class
5964         * xfer-src/source-directtcp-listen.c: bugfix
5965         * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
5966           xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
5967         * common-src/testutils.c: support for leak-checking
5968         * xfer-src/dest-buffer.c xfer-src/dest-null.c
5969           server-src/xfer-source-holding.c device-src/xfer-dest-device.c
5970           device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
5971           device-src/xfer-source-taper.c: use revised error-handling
5972         * perl/amglue/source.c: fix refcount problem
5973         * xfer-src/Makefile.am: new files
5974
5975 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5976         * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
5977           installcheck/Makefile.am: new mock changer for ndmjob
5978         * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
5979           ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
5980           PEOM) support to the tape simulator
5981
5982 2009-12-07  Sam Couter <sam@couter.id.au>
5983         * AUTHORS: add Sam to AUTHORS
5984         * device-src/device.c device-src/Makefile.am
5985           device-src/dvdrw-device.c: new dvd-rw device
5986         * configure.in config/amanda/dvdrw-device.m4: config
5987           for it
5988         * device-src/vfs-device.c device-src/vfs-device.h: enable
5989           subclassing of VFS device
5990         * man/xml-source/amanda-devices.7.xml: documentation
5991         * server-src/amcheck-device.pl: add usage() sub
5992
5993 2009-12-07  Sam Couter <sam@couter.id.au>
5994         * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
5995                                           builds work
5996
5997 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
5998         * client-src/calcsize.c: fix check_running_as.
5999
6000 2009-12-06  Dustin J. Mitchell <dustin@zmanda.com>
6001         * client-src/client_util.c: revert previous change
6002
6003 2009-12-05  Sam Couter <sam@couter.id.au>
6004         * client-src/client_util.c: Free correct memory
6005
6006 2009-12-05  Dustin J. Mitchell <dustin@zmanda.com>
6007         * config/automake/scripts.am: remove unnecessary -T
6008         * perl/Amanda/BigIntCompat.pm: remove unused $stringify
6009
6010 2009-12-04  Jean-Louis Martineau <martineau@zmanda.com>
6011         * server-src/amcheck.c: Give error if pre-host-backup or
6012                                 post-host-backup are executed on client.
6013         * man/xml-source/amanda.conf.5.xml: Document it.
6014
6015 2009-12-03  Paul C. Mantz <pcmantz@zmanda.com>
6016         * server-src/tapefile.c server-src/tapefile.h
6017           perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
6018           added and swigged get_last_reusable_tape_label(). 
6019         
6020 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
6021         * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
6022                                                  error.
6023
6024 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
6025         * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
6026
6027 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6028         * perl/Amanda/Device.swg: #include "glib-util.h".
6029
6030 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6031         * common-src/conffile.c: Fix conf_init_data_path argument type.
6032         * common-src/debug.c: Use gpointer.
6033         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
6034           #include "util.h" for set_pname prototype.
6035         * ndmp-src/ndma_cops_backreco.c: Add prototype.
6036         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
6037           Rename version_info to ndmjob_version_info to avoid conflict.
6038
6039 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6040         * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
6041         * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
6042         * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
6043
6044 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6045         * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
6046
6047 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6048         * server-src/find.c: Fix for older log entry.
6049         * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
6050         * perl/Amanda/Logfile.pod: Add totalparts.
6051         * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
6052                                           find_result_t.
6053
6054 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6055         * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
6056
6057 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6058         * perl/Amanda/Changer/single.pm: Use except_slot,
6059                                          It is not fast searchable.
6060
6061 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6062         * server-src/find.h: Keep partnum and totalparts as int.
6063         * server-src/find.c: Compute totalparts if -1.
6064         * perl/Amanda/Logfile.swg: Change api.
6065         * restore-src/amfetchdump.c, restore-src/restore.c,
6066           server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
6067
6068 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6069         * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
6070                                 Build amndmjob with modifier tape simulator.
6071         * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
6072         * ndmp-src/amndmjob_main.c: Main amndmjob program.
6073         * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
6074
6075 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
6076         * server-src/amstatus.pl: Small fix.
6077
6078 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
6079         * server-src/taper.pl: Fix quote_string use.
6080
6081 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
6082         * server-src/amstatus.pl: Display % done on port-write.
6083         * device-src/xfer-device.h: New get_part_bytes_written method in
6084                                     XferDestTaperClass.
6085         * device-src/xfer-dest-taper.c: new
6086                         xfer_dest_taper_get_part_bytes_written function.
6087         * device-src/xfer-dest-taper-splitter.c: New 
6088                         get_part_bytes_written_impl function.
6089         * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
6090         * perl/Amanda/XferServer.swg: swig
6091                                       xfer_dest_taper_get_part_bytes_written.
6092         * server-src/taper.pl: Update status file every 5 seconds.
6093         * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
6094
6095 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6096         * installcheck/Amanda_Holding.pl: add one more unary +
6097
6098 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6099         * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
6100           of => when the left-hand-side shouldn't be quoted
6101
6102 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6103         * installcheck/Amanda_Config.pl installcheck/taper.pl
6104           perl/Amanda/Config.swg server-src/amrestore.pl
6105           server-src/taper.pl: handle older perls' bad conversions
6106           from BigInt to integers or strings
6107
6108 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6109         * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
6110           use unary + before the arguments to sort, since perl-5.6's
6111           parser gets confused otherwise
6112
6113 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6114         * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
6115           to strings, since older perls' Test::More::is_deeply do not
6116           handle this well
6117
6118 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6119         * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
6120           from the constructor, since => quotes its left-hand side
6121         * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
6122           callbacks
6123
6124 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6125         * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
6126           expects the path to point to a directory, not a file
6127
6128 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6129         * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
6130           perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
6131           constant with a hash of constants.
6132
6133 2009-11-26  Jean-Louis Martineau <martineau@zmanda.com>
6134         * application-src/*.pl: Remove $action from all function arguments.
6135         * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
6136         * perl/Amanda/Application/Zfs.pm: Remove $action from all function
6137                                           arguments.
6138         * perl/Amanda/Script_App.pm: Set $self->{action}.
6139
6140 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
6141         * restore-src/restore.c: Always do data_path exchange.
6142
6143 2009-11-25  Dustin J. Mitchell <dustin@zmanda.com>
6144         * client-src/calcsize.c: fix check_running_as
6145
6146 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
6147         Patch by Dustin J. Mitchell <dustin@zmanda.com>
6148         * server-src/amcheckdump.pl: Fix hang in MainLoop.
6149
6150 2009-11-24  Jean-Louis Martineau <martineau@zmanda.com>
6151         * server-src/amindexd.c: Reduce logging.
6152
6153 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
6154         * perl/amglue/amglue.swg: Remove %begin section, we don't want to
6155                                   require swig 1.3.39.
6156
6157 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
6158         * device-src/s3-device.c: First include "amanda.h".
6159         * perl/Amanda/Cmdline.swg: include "amanda.h".
6160         * perl/amglue/amglue.h: include "../config/config.h"
6161         * perl/amglue/amglue.swg: %begin include ../config/config.h"
6162
6163 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
6164         * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
6165
6166 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
6167         * common-src/stream.c common-src/util.c: use g_debug instead
6168           of dbprintf
6169
6170 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
6171         * Revert to previous gnulib, keep fseeko, ftello.
6172
6173 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
6174         * ndmp-src/ndmjob_args.c: add "-o test-daemon"
6175         * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
6176           when stdin closes
6177         * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
6178         * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
6179           automatically kill the daemon when the test finishes
6180
6181 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6182         * common-src/amanda.h: Remove define of _LARGE_FILES.
6183         * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
6184
6185 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
6186         * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
6187           callback_sv, and hang onto the src through the callback invocation
6188
6189 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6190         * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
6191
6192 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6193         * gnulib/*, config/gnulib/*: Update gnulib
6194                                      Use getopt-gnu instead of getopt
6195                                      Add fseeko and ftello
6196                                      Remove visibility
6197
6198 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
6199         * config/amanda/progs.m4: require swig-1.3.32, as previous versions
6200           don't handle empty C strings correctly
6201
6202 2009-11-13  Dustin J. Mitchell <dustin@zmanda.com>
6203         * perl/Amanda/Device.pod perl/Amanda/Device.swg
6204           device-src/device.c device-src/device.h: add is_eom
6205         * device-src/rait-device.c
6206           device-src/s3-device.c device-src/tape-device.c
6207           device-src/vfs-device.c device-src/null-device.c: set is_eom
6208           and is_eof correctl
6209         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
6210           add an eom attribute to XMsgs
6211         * device-src/xfer-dest-taper-splitter.c: set the attribute
6212         * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
6213
6214 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6215         * application-src/amgtar.c, application-src/amstar.c: Print restore
6216           and validate command with debug_executing.
6217         * common-src/util.c: New debug_executing function.
6218         * common-src/util.h: New debug_executing prototype.
6219
6220 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6221         * restore-src/amfetchdump.c: Small memory leak.
6222         * restore-src/restore.c, restore-src/restore.h: Many change to fix
6223           what was broken in previous patch.
6224
6225 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6226         * application-src/amgtar.c,
6227           application-src/amstar.c: Fix if none of --disk or --device is set.
6228
6229 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6230         * server-src/tapefile.c: Fix if list_new_tapes return NULL.
6231
6232 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6233         * server-src/amcheck.c, server-src/driver.c,
6234           server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
6235
6236 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6237         * application-src/amgtar.c, application-src/ampgsql.pl,
6238         * application-src/amraw.pl, application-src/amsamba.pl,
6239         * application-src/amstar.c, application-src/amsuntar.pl,
6240         * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
6241           They can get either --disk or --device or both.
6242
6243 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6244         * server-src/tapefile.c: New list_new_tapes function.
6245         * server-src/tapefile.h: Prototype for list_new_tapes function.
6246         * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
6247
6248 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6249         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
6250           ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
6251
6252 2009-11-18  Dustin J. Mitchell <dustin@zmanda.com>
6253         * device-src/directtcp-target.c
6254           device-src/directtcp-target.h: Removed files.
6255         * device-src/device.c,
6256           device-src/device.h: New device directtcp api.
6257         * device-src/directtcp-connection.c,
6258           device-src/directtcp-connection.h: directtcp_connection and
6259           directtcp_connection_socket object.
6260         * device-src/Makefile.am: Remove directtcp-target.*
6261                                   Add directtcp-connection.*
6262         * restore-src/restore.c,
6263           restore-src/restore.h: Fix for new device directtcp api.
6264
6265 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6266         * server-src/chunker.c: Fix checking result of full_write.
6267
6268 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
6269         * server-src/dumper.c,
6270           common-src/security-util.c: Correctly report write error.
6271
6272 2009-11-13 Dan Locks <dwlocks@zmanda.com>
6273         *  packaging/deb/control: update to use shlibs:Depends and
6274            perl:Depends
6275         *  packaging/deb/rules: tweak build dirs for clarity, update shlibs
6276            invocation, remove unneeded debhelper commands.
6277         *  packaging/deb/amanda-backup-server.substvars, 
6278            packaging/deb/amanda-backup-client.substvars: delete. These files
6279            are generated at build time
6280
6281 2009-11-13 Dan Locks <dwlocks@zmanda.com>
6282         *  packaging/deb/buildpkg: delete unused functions, detect and add 
6283            distro/release tag to version number changelog prior to build
6284
6285 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
6286         * recover-src/extract_list.c: Enable DATA-PATH.
6287         * restore-src/restore.c: Enable DATA-PATH.
6288         * restore-src/restore.h: Enable DATA-PATH.
6289         * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
6290         * common-src/amfeatures.h: Add fe_amidxtaped_datapath
6291         * common-src/conffile.c: Improve error message.
6292         * device-src/directtcp-target.h: Improve comment.
6293
6294 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
6295         * client-src/client_util.c, common-src/util.c,
6296           server-src/changer.c: Fix memory leak.
6297
6298 2009-11-11  Jean-Louis Martineau <martineau@zmanda.com>
6299         * ndmp-src/ndma_tape.c: Fix crash.
6300
6301 2009-11-09  Dustin J. Mitchell <dustin@zmanda.com>
6302         * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
6303           in the header are set by the caller
6304         * server-src/taper.pl: set them
6305         * installcheck/taper.pl: test that on-device headers are correct
6306
6307 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
6308         * restore-src/restore.c: Handle directtcp device.
6309         * restore-src/restore.h: Handle directtcp device.
6310         * device-src/directtcp-target.h (read_to_connection): Fix comment.
6311
6312 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
6313         * device-src/directtcp-target.c (directtcp_target_listen,
6314           directtcp_target_accept): don't assert for !self->in_file or
6315                                     self->access_mode == ACCESS_NULL.
6316
6317 2009-11-06  Dustin J. Mitchell <dustin@zmanda.com>
6318         * AUTHORS: add Ben Slusky
6319         * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
6320           to UMD license, with Ben's permission
6321
6322 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
6323         * client-src/sendbackup-dump.c, client-src/sendsize.c:
6324           Fix compiler error if VXDUMP or VDUMP is defined.
6325
6326 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
6327         * client-src/client_util.c: close FILE instead of fd.
6328         * client-src/selfcheck.c: fix fd leak with app_stderr.
6329
6330 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
6331         * client-src/client_util.c (merge_property, merge_properties):
6332                                                  New functions.
6333         * client-src/client_util.h: New prototypes.
6334         * common-src/conffile.c (amandaify_property_name): New function.
6335         * common-src/conffile.h (amandaify_property_name): New prototypes.
6336         * recover-src/extract_list.c: Call merge_properties, it merge property
6337           from amanda header with property set in amrecover.
6338           Report the directory property if set.
6339         * recover-src/set_commands.c: Call amandaify_property_name.
6340
6341 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
6342         * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
6343           to be un-paused before starting to cache a part
6344         * xfer-src/dest-null.c: add additional debugging info
6345
6346 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
6347         * device-src/Makefile.am device-src/directtcp-target.c
6348           device-src/directtcp-target.h: add new DirectTCPTarget interface, for
6349           use by devices supporting DirectTCP
6350
6351 2009-11-03  Paul C. Mantz  <pcmantz@zmanda.com>
6352         * perl/Amanda/Report.pm: added state flags
6353         * instalcheck/Amanda_Report.pl: tests
6354
6355 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
6356         * common-src/testutils.c: fix uninitialized variable, only run one
6357           test in non-fork mode
6358
6359 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
6360
6361         * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
6362           'first_device' and calculate slab size immediately instead of waiting
6363           for start_part
6364         * device-src/xfer-device.h: first_device parameter
6365         * perl/Amanda/XferServer.swg: swig
6366         * perl/Amanda/Xfer.pod: docs
6367         * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
6368         * perl/Amanda/Taper/Scribe.pm: send first_device properly
6369
6370 2009-10-30  Satya Ganga <gsat@zmanda.com>
6371         * application-src/amsuntar.pl: Validate include and exclude lists
6372           before using them at restore time.
6373
6374 2009-10-30  Dustin J. Mitchell <dustin@zmanda.com>
6375         * common-src/testutils.c: do not fork if -n is given (aids debugging)
6376
6377 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
6378         * perl/Amanda/Changer/robot.pm: add barcodes to reservations
6379         * perl/Amanda/Changer.pm: document
6380         * installcheck/Amanda_Changer_robot.pl: test
6381
6382 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
6383         * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
6384
6385 2009-10-29  Satya Ganga <gsat@zmanda.com>
6386         * application-src/amgtar.c,application-src/amstar.c: Correct validation 
6387           of directory property for existence and access.
6388
6389 2009-10-29  Satya Ganga <gsat@zmanda.com>
6390         * application-src/amsamba.pl: In command line use correct
6391                                         application property names
6392
6393 2009-10-29  Jean-Louis Martineau <martineau@zmanda.com>
6394         * client-src/sendsize.c: Fix error reporting.
6395
6396 2009-10-29  Satya Ganga <gsat@zmanda.com>
6397         * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific 
6398                                  environment for NDMP
6399
6400 2009-10-28  Jean-Louis Martineau <martineau@zmanda.com>
6401         * common-src/conffile.c (free_property_t): not static.
6402         * common-src/conffile.h (free_property_t): not static.
6403         * recover-src/amrecover.c, recover-src/amrecover.h,
6404           recover-src/help.c, recover-src/set_commands.c,
6405           recover-src/uparse.y,
6406           recover-src/uscan.l: New setproperty and listproperty commands.
6407         * man/xml-source/amrecover.8.xml: Document setproperty and
6408                                           listproperty commands.
6409
6410 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
6411         * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
6412
6413 2009-10-27  Dustin J. Mitchell <dustin@zmanda.com>
6414         * common-src/Makefile.am common-src/directtcp.h: new file to
6415           handle common directtcp-related code
6416         * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
6417           DirectTCPAddr
6418         * xfer-src/Makefile.am
6419           xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
6420         * xfer-src/source-directtcp-listen.c: new source element
6421           implementing it
6422         * xfer-src/element-glue.c: stubs - no glue yet for the new mech
6423         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
6424           perl/Makefile.am: SWIG new element
6425
6426 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
6427         * client-src/client_util.c: Add data-path and directtcp argument to
6428                                     application
6429         * client-src/selfcheck.c: Check application support the requested
6430                                   data-path
6431         * client-src/sendsize.c: Check application support the requested
6432                                  data-path
6433         * common-src/amfeatures.h: Add fe_xml_data_path and
6434                                    fe_xml_directtcp_list.
6435         * common-src/amfeatures.c: Add fe_xml_data_path and
6436                                    fe_xml_directtcp_list.
6437         * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
6438         * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
6439         * server-src/amcheck.c: Check client accpet datapath and directtcp tag
6440                                 in xml.
6441         * server-src/diskfile.c: Add datapath and directtcp tag
6442         * server-src/diskfile.h (disk_t): Add directtcp_list.
6443         * server-src/driver.c: Set dp->directtcp_list.
6444
6445 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
6446         * application-src/amgtar.c, application-src/ampgsql.pl,
6447           application-src/amraw.pl, application-src/amsamba.pl,
6448           application-src/amstar.c, application-src/amsuntar.pl,
6449           application-src/amzfs-sendrecv.pl: Handle directory, include-list
6450                         and exclude-list inrestore command.
6451         * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
6452           man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
6453           man/xml-source/amstar.8.xml,
6454           man/xml-source/amsuntar.8.xml: Document them.
6455         * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
6456
6457 2009-10-23  Jean-Louis Martineau <martineau@zmanda.com>
6458         * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
6459         * client-src/client_util.h (backup_support_option_t): Add data_path_set
6460         * common-src/conffile.h: (data_path_t): Change for bit value.
6461
6462 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
6463         * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
6464           now always called with the slab_mutex held; both invocations of
6465           the function guarantee this.
6466
6467 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
6468         * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
6469         * installcheck/Installcheck.pm: close SOCK after using it
6470         * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
6471
6472 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
6473         * perl/Amanda/Config.swg: Swig data_path_from_string.
6474         * server-src/diskfile.c: Add dirrecti-tcp property to application.
6475         * server-src/diskfile.h (disk_s): Add directtcp.
6476         * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
6477         * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
6478         * server-src/server_util.h: Add DIRECTTCP_PORT.
6479         * server-src/taper.pl: Reply with DIRECTTCP-PORT.
6480
6481 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
6482         * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
6483
6484 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
6485         * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
6486         * common-src/conffile.c: Add DATA-PATH config.
6487         * common-src/conffile.h: Add DATA-PATH config.
6488         * installcheck/taper.pl: Add AMANDA data-path.
6489         * perl/Amanda/Config.swg: Add DATA-PATH config.
6490         * server-src/amadmin.c (disklist_one): print data-path.
6491         * server-src/diskfile.c: Add dp argument to xml_application.
6492         * server-src/diskfile.h: New prototype for xml_application.
6493         * server-src/amcheck.c: Use new xml_application.
6494         * server-src/amindexd.c: Use new xml_application.
6495         * server-src/driverio.c: Send data-path to the dumper and taper,
6496                                  Use new xml_application.
6497         * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
6498         * server-src/planner.c: Use new xml_application.
6499         * server-src/taper.pl: Parse data-path in PORT-WRITE command.
6500
6501 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
6502         * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
6503           ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
6504           ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
6505                 Add '-o tape-tcp=HOST:PORT' option.
6506
6507 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
6508         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
6509           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
6510           ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
6511         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
6512           common-src/Makefile.am: remove ndmp-proxy.*
6513         * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
6514           common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
6515         * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
6516         * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
6517           module
6518
6519 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
6520         * perl/Amanda/Taper/Scribe.pm: get a device before starting
6521           the xfer
6522
6523 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
6524         * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
6525
6526 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
6527         * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
6528           libndmlib.la
6529         * ndmp-src/ndml_conn.c: remove calls to libndmjob function
6530         * device-src/Makefile.am: compile without strict prototypes
6531         * device-src/ndmp-device.c: build against libndmlib, speaking
6532           NDMP natively to the NDMP server instead of via the proxy
6533         * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
6534
6535 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
6536         * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
6537           device-src/xfer-dest-taper.c device-src/xfer-device.h: make
6538           XferDestTaper an abstract base class, with XferDestTaperSplitter its
6539           only subclass (for now)
6540         * perl/Amanda/Xfer.swg: SWIG it
6541         * perl/Amanda/XferServer.swg: SWIG it
6542         * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
6543         * perl/Amanda/Taper/Scribe.pm: use subclass
6544
6545 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
6546         * installcheck/Installcheck.pm: $0 in double quote "$0".
6547
6548 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
6549         * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
6550         * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
6551         * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
6552         * installcheck/amadmin.pl: Remove set_pname call.
6553
6554 2009-10-20  Paul C. Mantz <pcmantz@zmanda.com>
6555         * server-src/amrmtape.pl: added config override option
6556         * installcheck/amrmtape.pl: regression test
6557
6558 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
6559         * device-src/xfer-dest-taper.c: add detailed debugging
6560         * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
6561         * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
6562         * server-src/taper.pl: pass debugging flags around
6563
6564 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
6565         * xfer-src/dest-buffer.c: fix Solaris cc compile errors
6566
6567 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
6568         * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
6569           new element
6570         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
6571         * installcheck/Amanda_Xfer.pl: tests
6572         * xfer-src/source-pattern.c: fix typo
6573
6574 2009-10-19  Paul C. Mantz <pcmantz@zmanda.com>
6575         * perl/Amanda/Report.pm: error handling for logfile reading.
6576         * perl/Amanda/Logfile.pod: documentation of open_logfile error
6577         behavior
6578
6579 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
6580         * installcheck/Makefile.am (full_tests): Add amadmin.
6581         * installcheck/amadmin.pl: Check diskname matching argument.
6582
6583 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
6584         * common-src/match.c: Fix match_word function.
6585
6586 2009-10-16 Dan Locks <dwlocks@zmanda.com>
6587         *  example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
6588            replace IPv6 with IPv4
6589
6590 2009-10-16  Nikolas Coukouma <atrus@zmanda.com>
6591         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
6592           application-src/amlog-script.pl, application-src/ampgsql.pl,
6593           application-src/amraw.pl, application-src/amsamba.pl,
6594           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
6595           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
6596           changer-src/chg-glue.pl, common-src/amaespipe.sh,
6597           common-src/amcryptsimple.pl, common-src/amgetconf.pl,
6598           common-src/amgpgcrypt.pl, common-src/event-test.c,
6599           common-src/glib-util.c, common-src/glib-util.h,
6600           common-src/hexencode-test.c, common-src/ipc-binary.c,
6601           common-src/ipc-binary.h, common-src/queueing-test.c,
6602           common-src/queueing.c, common-src/queueing.h,
6603           common-src/quoting-test.c, common-src/semaphore-test.c,
6604           common-src/semaphore.c, common-src/semaphore.h,
6605           common-src/simpleprng.c, common-src/simpleprng.h,
6606           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
6607           common-src/testutils.c, common-src/testutils.h,
6608           config/automake/scripts.am, config/automake/vars.am,
6609           config/macro-archive/docbook-dtd.m4,
6610           config/macro-archive/docbook-xslt-min.m4,
6611           config/macro-archive/docbook-xslt.m4,
6612           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
6613           device-src/amtapetype.pl, device-src/device-queueing.c,
6614           device-src/device-queueing.h, device-src/device.c,
6615           device-src/device.h, device-src/ndmp-device.c,
6616           device-src/null-device.c, device-src/property.c,
6617           device-src/property.h, device-src/rait-device.c,
6618           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
6619           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
6620           device-src/tape-device.c, device-src/tape-device.h,
6621           device-src/tape-ops.h, device-src/tape-posix.c,
6622           device-src/tape-uware.c, device-src/tape-xenix.c,
6623           device-src/vfs-device.c, device-src/vfs-test.c,
6624           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
6625           device-src/xfer-device.h, device-src/xfer-source-device.c,
6626           device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
6627           installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
6628           installcheck/Amanda_Changer_disk.pl,
6629           installcheck/Amanda_Changer_null.pl,
6630           installcheck/Amanda_Changer_rait.pl,
6631           installcheck/Amanda_Changer_robot.pl,
6632           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
6633           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
6634           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
6635           installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
6636           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
6637           installcheck/Amanda_IPC_Binary.pl,
6638           installcheck/Amanda_IPC_LineProtocol.pl,
6639           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
6640           installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
6641           installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
6642           installcheck/Amanda_Taper_Scan.pl,
6643           installcheck/Amanda_Taper_Scan_traditional.pl,
6644           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
6645           installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
6646           installcheck/Installcheck.pm,
6647           installcheck/Installcheck/Application.pm,
6648           installcheck/Installcheck/Changer.pm,
6649           installcheck/Installcheck/Config.pm,
6650           installcheck/Installcheck/Dumpcache.pm,
6651           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
6652           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
6653           installcheck/amcheck-device.pl, installcheck/amcheck.pl,
6654           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
6655           installcheck/amdump.pl, installcheck/amfetchdump.pl,
6656           installcheck/amgetconf.pl, installcheck/amgtar.pl,
6657           installcheck/amlabel.pl, installcheck/ampgsql.pl,
6658           installcheck/amraw.pl, installcheck/amreport.pl,
6659           installcheck/amrestore.pl, installcheck/amrmtape.pl,
6660           installcheck/amservice.pl, installcheck/amstatus.pl,
6661           installcheck/amtape.pl, installcheck/amtapetype.pl,
6662           installcheck/bigint.pl, installcheck/mock/mtx.pl,
6663           installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
6664           installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
6665           packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
6666           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
6667           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
6668           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
6669           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
6670           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
6671           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
6672           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
6673           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
6674           perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
6675           perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
6676           perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
6677           perl/Amanda/Header.pod, perl/Amanda/Header.swg,
6678           perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
6679           perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
6680           perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
6681           perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
6682           perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
6683           perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
6684           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
6685           perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
6686           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
6687           perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
6688           perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
6689           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
6690           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
6691           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
6692           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
6693           perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
6694           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
6695           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
6696           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
6697           server-src/amcleanup.pl, server-src/amlabel.pl,
6698           server-src/amrestore.pl, server-src/amrmtape.pl,
6699           server-src/amserverconfig.pl, server-src/amtape.pl,
6700           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
6701           server-src/taper.pl, server-src/xfer-server.h,
6702           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
6703           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
6704           xfer-src/element-glue.h, xfer-src/filter-process.c,
6705           xfer-src/filter-xor.c, xfer-src/source-fd.c,
6706           xfer-src/source-pattern.c, xfer-src/source-random.c,
6707           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
6708           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
6709           xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
6710
6711 2009-10-16  Dustin J. Mitchell <dustin@zmanda.com>
6712         * common-src/hexencode-test.c: avoid compiler warnings and a potential
6713           crash on test failure
6714
6715 2009-10-16  Jean-Louis Martineau <martineau@zmanda.com>
6716         * application-src/amsamba.pl: fix restore.
6717
6718 2009-10-15  Nikolas Coukouma <atrus@zmanda.com>
6719         * application-src/ampgsql.pl, common-src/Makefile.am,
6720           common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
6721           installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
6722           perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
6723           perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
6724           and decoding functions into C. SWIG, document, and test them. Also add
6725           exception-generating typemap for GErrors.
6726
6727 2009-10-14  Nikolas Coukouma <atrus@zmanda.com>
6728         * perl/Amanda/Changer.pm: forgot to import function
6729
6730 2009-10-14  Jean-Louis Martineau <martineau@zmanda.com>
6731             Dustin J. Mitchell <dustin@zmanda.com>
6732         * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
6733         * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
6734         * device-src/ndmp-device.c: Keep track if a device is openned, don't
6735           close the connection to the proxy in ndmp_device_finish().
6736         * installcheck/Amanda_Device_ndmp.pl: More check.
6737         * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
6738         * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
6739         * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
6740
6741 2009-10-13  Nikolas Coukouma <atrus@zmanda.com>
6742         * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
6743           installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
6744           and test it
6745         * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
6746           use string_to_boolean
6747         * perl/Amanda/MainLoop.pod: correct spelling
6748
6749 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
6750         Revert previous patch.
6751
6752 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
6753         * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
6754         * common-src/conffile.c: Add data_path
6755         * common-src/conffile.h: Add data-path
6756         * common-src/ndmp-proxy.c: Improve.
6757         * common-src/ndmp-proxy.h: Improve.
6758         * device-src/device.c (device_start_dump, device_finish_dump
6759                                device_write_from_data_path) New method.
6760         * device-src/device.h (device_start_dump, device_finish_dump
6761                                device_write_from_data_path) New method.
6762         * device-src/ndmp-device.c: Improve
6763         * device-src/xfer-dest-taper.c: data-path
6764         * device-src/xfer-device.h: data-path
6765         * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
6766         * ndmp-src/ndma_comm_proxy.c: Improve.
6767         * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
6768         * ndmp-src/ndmjob_main.c: Open debug file.
6769         * ndmp-src/ndml_log.c: Check for deliver..
6770         * perl/Amanda/Config.swg: Add data-path
6771         * perl/Amanda/Device.swg: Add new device api
6772         * perl/Amanda/Taper/Scribe.pm: data-path
6773         * perl/Amanda/XferServer.swg: data-path
6774         * server-src/amadmin.c: print data-path
6775         * server-src/amcheck.c: data-path and xml_application change
6776         * server-src/amindexd.c: xml_application change
6777         * server-src/diskfile.c: new xml_application
6778         * server-src/diskfile.h: xml_application prototype change.
6779         * server-src/driver.c: data-path
6780         * server-src/driverio.c: data-path
6781         * server-src/driverio.h (taper_device): new global variable.
6782         * server-src/dumper.c: data-path
6783         * server-src/planner.c: xml_application change
6784         * server-src/taper.pl: data-path
6785
6786 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6787         * perl/Amanda/IPC/Binary.pod: finish docs
6788
6789 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6790         * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
6791         * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
6792           ipc-binary
6793         * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
6794         * perl/Amanda/IPC/Binary.pod: stub documentation
6795         * perl/Amanda/IPC/LineProtocol.pm: whitespace
6796
6797 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6798         * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
6799           ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
6800           <atrus@zmanda.com>
6801
6802 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6803         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
6804           pass parameters
6805         * device-src/ndmp-device.c: bugfixes; open and close the conneciton
6806           for each service request, to avoid deadlocking the proxy
6807         * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
6808           ndmjob tape simulator
6809         * installcheck/Installcheck/Mock.pm: add run_ndmjob
6810         * installcheck/Makefile.am: new checks
6811         * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
6812         * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
6813         * ndmp-src/ndmjob.h: p_port
6814         * ndmp-src/ndmjob_args.c: add -p PORT
6815         * ndmp-src/ndmjob_main.c: use -p PORT
6816         * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
6817           connection
6818
6819 2009-10-07 Dan Locks <dwlocks@zmanda.com>
6820         *  packaging/deb/control: add mailx|bsd-mailx (also missing
6821            |gnuplot-nox)
6822
6823 2009-10-07  Jean-Louis Martineau <martineau@zmanda.com>
6824         * server-src/diskfile.c: Fix initialization of xml_app.result.
6825
6826 2009-10-06  Dustin J. Mitchell <dustin@zmanda.com>
6827         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
6828           remove ndmp-proxy-log-file and ndmp-proxy-debug-level
6829         * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
6830         * common-src/ipc-binary.h: don't recommend static allocation
6831         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
6832           demand; it will shut down when all of the connections are closed
6833         * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
6834         * installcheck/Installcheck.pm: add get_unused_port()
6835         * installcheck/Makefile.am: new check
6836         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
6837           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
6838           ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
6839           ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
6840           proxy into a different executable, and reference count the connections
6841           to it
6842         * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
6843         * perl/Amanda/NDMP.pod: add POD
6844         * server-src/amlabel.pl server-src/amcheck-device.pl: remove
6845           ndmp_stop_proxy()
6846
6847 2009-10-06  Paul C. Mantz <pcmantz@zmanda.com>
6848         * perl/Amanda/Reporter.pm: added log handling of amdump and
6849         amflush
6850         * installcheck/Amanda_Report.pl: regression tests
6851
6852 2009-10-06  Jean-Louis Martineau <martineau@zmanda.com>
6853         * installcheck/amraw.pl: Use File::Path::mkpath.
6854
6855 2009-10-05  Jean-Louis Martineau <martineau@zmanda.com>
6856         * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
6857         * application-src/amraw.pl: New application.
6858         * installcheck/Makefile.am (client_tests): Add amraw.
6859         * installcheck/amraw.pl: Check amraw functionnality.
6860         * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
6861         * man/xml-source/amanda-applications.7.xml: Add amraw.8.
6862         * man/xml-source/amanda.8.xml: Add amraw.8.
6863         * man/xml-source/amraw.8.xml: New man page for amraw application.
6864         * perl/Amanda/Constants.pm.in: Add DD.
6865
6866 2009-10-05  Paul C. Mantz <pcmantz@zmanda.com>
6867         * server-src/reporter.c: exit code 0 with no output format
6868         specified, fixed default output destination
6869
6870 2009-10-02  Jean-Louis Martineau <martineau@zmanda.com>
6871         * common-src/debug.c (msg_timestamp): Print time in human readable
6872                                               format.
6873
6874 2009-10-01  Dustin J. Mitchell <dustin@zmanda.com>
6875         * device-src/ndmp-device.c:  remove some includes, remove recycle and
6876           erase, streaming desired, close the tape service on finish(), rewind
6877           less, and be more careful about setting errors exactly once
6878         * man/xml-source/amanda-devices.7.xml: document the device
6879
6880 2009-10-01  Paul C. Mantz <pcmantz@zmanda.com>
6881         * server-src/reporter.c: no report made unless destination
6882         argument given
6883
6884 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
6885         * application-src/amgtar.c (build_re_table, add_type_table,
6886                                     add_list_table): Remove function.
6887         * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
6888         * client-src/client_util.c (build_re_table, add_type_table,
6889                                    add_list_table): Add function.
6890         * client-src/client_util.h (build_re_table, add_type_table,
6891                                     add_list_table): Add prototype.
6892         * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
6893                 Add declaration.
6894         * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
6895                 Remove declaration.
6896         * client-src/sendsize.c: Rename 'struct regex_s' to
6897                                         'struct regex_scale_s'.
6898         * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
6899                                        properties.
6900
6901 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
6902         * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
6903                                                           name.
6904
6905 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
6906         * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
6907                                     command.
6908         * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
6909
6910 2009-09-30  Dustin J. Mitchell <dustin@zmanda.com>
6911         * server-src/dumper.c: runs setuid root
6912         * common-src/local-security.c: drop root privs
6913         * common-src/rsh-security.c: drop root privs
6914         * common-src/ssh-security.c: drop root privs
6915
6916 2009-09-29  Dustin J. Mitchell <dustin@zmanda.com>
6917         * amandad-src/amandad.h common-src/amanda.h: move constants
6918           to amanda.h
6919         * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
6920           inform the OpenBSD pthread library about high-numbered fd's created
6921           by amandad
6922         * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
6923           client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
6924           use openbsd_fd_infom
6925
6926 2009-09-28  Dustin J. Mitchell <dustin@zmanda.com>
6927         * common-src/util.h: fix comment
6928         * server-src/planner.c: planner runs setuid, so tell check_running_as
6929
6930 2009-09-28  Nikolas Coukouma <atrus@zmanda.com>
6931         * device-src/s3.c: fix day of the week in Date header
6932
6933 2009-09-25  Dustin J. Mitchell <dustin@zmanda.com>
6934         * common-src/amflock.c: set the return value
6935         * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
6936         * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
6937         * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
6938           handle configurations where no tape device is specified better
6939         * server-src/amtape.pl: handle the case where loaded_in == 0
6940
6941 2009-09-25  Nikolas Coukouma <atrus@zmanda.com>
6942         * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
6943
6944 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
6945         * man/xml-source/amanda-devices.7.xml: fix typo
6946
6947 2009-09-24  Paul C. Mantz <pcmantz@zmanda.com>
6948         * perl/Amanda/Report.pm: added accessor functions
6949         * installcheck/Amanda_Report.pl: tests
6950
6951 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
6952         * device-src/property.c: remove old property instance
6953
6954 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
6955         * man/xml-source/amanda-devices.7.xml: update property documentation
6956           and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
6957         * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
6958           device-src/property.c device-src/property.h device-src/device.c
6959           man/xml-source/amanda-changers.7.xml: rename property
6960         * device-src/tape-device.c: accept old and new property names
6961         * installcheck/Amanda_Device.pl: tests
6962
6963 2009-09-10  Jean-Louis Martineau <martineau@zmanda.com>
6964         * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
6965           DIRECTORY properties on restore
6966
6967 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
6968         * installcheck/Amanda_Device.pl: fix skip count
6969
6970 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
6971         * common-src/util.c common-src/util.h: allow to drop root privs
6972           entirely
6973         * common-src/pipespawn.c: drop root
6974         * amandad-src/amandad.c: check effective userid
6975         * common-src/krb5-security.c: check effective userid
6976         * server-src/amcheck.c: check effective userid
6977
6978 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
6979         * device-src/s3-device.c: handle EOT correctly
6980         * installcheck/Amanda_Device.pl: check for it
6981
6982 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
6983         * changer-src/chg-glue.pl common-src/amgetconf.pl
6984           common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
6985           device-src/amtapetype.pl installcheck/Amanda_Config.pl
6986           installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
6987           perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
6988           restore-src/amfetchdump.c server-src/amadmin.c
6989           server-src/amcheck-device.pl server-src/amcheck.c
6990           server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
6991           server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
6992           server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
6993           server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
6994           server-src/driver.c server-src/dumper.c server-src/planner.c
6995           server-src/reporter.c server-src/taper.pl: change "config_overwrite"
6996           to "config_override"
6997
6998 2009-09-05  Dustin J. Mitchell <dustin@zmanda.com>
6999         * server-src/amvault.pl: use destination volume filenums in amvault
7000
7001 2009-09-04  Dustin J. Mitchell <dustin@zmanda.com>
7002         * common-src/util.c: setuid(0) initially, so that we can release
7003           and acquire root privs
7004
7005 2009-09-03  Jean-Louis Martineau <martineau@zmanda.com>
7006         * device-src/ndmp-device.c: Include "ndmp-proxy.h".
7007
7008 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
7009         * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
7010           binary communication protocol
7011         * common-src/ipc-binary-test.c: tests for same
7012         * common-src/ndmp-protocol.h: removed
7013         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
7014           with ndmp-proxy, including protocol
7015         * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
7016         * common-src/Makefile.am: rename/add files
7017         * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
7018           ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
7019           use new protocol
7020
7021 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
7022         * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
7023
7024 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
7025         * device-src/ndmp-device.c: remove spurious #include of stream.c
7026
7027 2009-09-02  Jean-Louis Martineau <martineau@zmanda.com>
7028         * common-src/debug.c: Improve debugging.
7029         * restore-src/restore.h (rst_flags_t): Add header_to_fd.
7030         * restore-src/amidxtaped.c: set header_to_fd to 1.
7031         * restore-src/restore.c: Write header to header_to_fd.
7032         * restore-src/amfetchdump.c: Add --header-fd and --header-file
7033                                      arguments.
7034         * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
7035                                             --header-file argument.
7036
7037 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
7038         * perl/Amanda/Header.swg: remove spurious references to cmdline.h
7039
7040 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
7041         * ndmp-src/Makefile.am: fix dumb typos
7042
7043 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com
7044         * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
7045
7046 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
7047         * man/entities/global.entities.in man/xml-source/amadmin.8.xml
7048           man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
7049           man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
7050           man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
7051           man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
7052           man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
7053           man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
7054           man/xml-source/amvault.8.xml: use entities to represent config
7055           overwrites consistently
7056
7057 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
7058         * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
7059           cmdline.h in a client-only package
7060         * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
7061         * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
7062           tests
7063
7064 2009-08-31 Dan Locks <dwlocks@zmanda.com>
7065         * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
7066           %files for server.
7067
7068 2009-08-31  Jean-Louis Martineau <martineau@zmanda.com>
7069         * config/amanda/dumpers.m4: Give only a warning if user specified path
7070                                     is not correct for gtar and star.
7071
7072 2009-08-28  Dustin J. Mitchell <dustin@zmanda.com>
7073         * perl/Amanda/Device.pod: be explicit: finish_file is not for read
7074           mode
7075
7076 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
7077         * xfer-src/filter-process.c: fixed write warnings which were
7078           breaking Ubuntu builds
7079
7080 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
7081         * perl/Amanda/Logfile.swg: added four previously omitted program
7082         types
7083         * installcheck/Amanda_Logfile.pl: regression tests for the program
7084         types
7085
7086 2009-08-26  Jean-Louis Martineau <martineau@zmanda.com>
7087         * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
7088         * configure.in: Use AMANDA_PROG_STAR.
7089
7090 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7091         * config/amanda/components.m4: Fix --with-amrecover=yes
7092
7093 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7094         * ndmp-src/ndmp-protocol.h: Remove file.
7095         * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
7096         * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
7097
7098 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7099         * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
7100         * configure.in: Use AMANDA_NDMP_DEVICE.
7101         * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
7102                                  andndmp_proxy_debug_level.
7103         * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
7104                                  and CNF_NDMP_PROXY_DEBUG_LEVEL
7105         * common-src/ndmp-protocol.h: Define protocol between amanda and
7106                                       ndmp-proxy.
7107         * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
7108                              connect_to_ndmp_proxy): New functions.
7109         * common-src/util.h: Add prototype for new functions.
7110         * device-src/Makefile.am: Build ndmp-device.
7111         * device-src/device.c: Use ndmp-device.
7112         * device-src/ndmp-device.c: New ndmp device.
7113         * device-src/tape-device.c: Small fix.
7114         * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
7115         * perl/Amanda/Config.swg: Export new CNF_* constants.
7116         * perl/Amanda/Ndmp.swg: New module for ndmp function.
7117         * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
7118         * perl/Amanda/Util.swg: New finish_application function.
7119         * perl/Makefile.am: Build Amanda::Ndmp
7120         * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
7121           stop_ndmp_proxy and finish_application.
7122
7123 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7124         * man/xml-source/amfetchdump.8.xml: Document -h option.
7125         * restore-src/amfetchdump.c: Document -h option, pass the server
7126                                      feature set to search_tapes.
7127
7128 2009-08-24  Paul C. Mantz <pcmantz@zmanda.com>
7129         * perl/Amanda/Report.pm: Module for abstracting amreport data
7130         * perl/Makefile.am: compile the module
7131         * installcheck/Amanda_Report.pl: test for Amanda::Report
7132         * installcheck/Makefile.am: add the test to installcheck
7133
7134 2009-08-21  Dustin J. Mitchell <dustin@zmanda.com>
7135         * man/xml-source/amgtar.8.xml: changes suggested by Christopher
7136           <chrismcc@pricegrabber.com>
7137
7138 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7139         * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
7140         * ndmp-src/Makefile.am: Link with libamanda
7141         * ndmp-src/ndmos_glib.h: Use strtoll.
7142
7143 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7144         * ndmp-src/*: Import of ndmjob + ndmp-proxy.
7145         * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
7146         * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
7147         * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
7148         * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
7149         * Makefile.am: Build ndmp-src.
7150
7151 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7152         * common-src/ipc-binary.c: New protocol
7153         * common-src/ipc-binary.h: New protocol header
7154         * common-src/Makefile.am: Compile it.
7155
7156 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7157         * man/xml-source/amanda-changers.7.xml: Typo.
7158
7159 2009-08-20  Dustin J. Mitchell <dustin@zmanda.com>
7160         * man/xml-source/amanda-devices.7.xml: tweak
7161         * perl/Amanda/Changer.pm: fix configuration to also include device
7162           alias configuration
7163         * perl/Amanda/Device.pod: deprecate $dev->configure()
7164         * man/xml-source/amanda-changers.7.xml: better documentation
7165           of device configuration via changers
7166
7167 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
7168         * restore-src/Makefile.am restore-src/amrestore.c: remove
7169         * common-src/fileheader.c common-src/fileheader.h: add
7170           summarize_header
7171         * common-src/match.c: fix match_level bugs
7172         * installcheck/Amanda_Header.pl: test matches_dumpspecs
7173         * server-src/Makefile.am server-src/amrestore.pl: new perl version
7174         * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
7175           on to the next dumpfile
7176         * man/xml-source/amrestore.8.xml: update docs
7177         * perl/Amanda/Cmdline.pod: typo
7178         * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
7179           matches_dumpspec
7180         * installcheck/Amanda_Util.pl: test sanitise_filename
7181         * perl/Amanda/Util.pod: add sanitise_filename
7182
7183 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
7184         * xfer-src/filter-process.c: new xfer element
7185         * xfer-src/xfer-element.h: declare it
7186         * perl/Amanda/Xfer.swg: SWIG it
7187         * perl/Amanda/Xfer.pod: doc it
7188         * xfer-src/Makefile.am: build it
7189         * installcheck/Amanda_Xfer.pl: test it
7190
7191 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
7192         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
7193           to start(), and make the get_source method "low-level"
7194         * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
7195           installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
7196           device-src/amtapetype.pl: don't use get_source
7197         * perl/Amanda/MainLoop.pod: documentation tweak
7198
7199 2009-08-17  Dustin J. Mitchell <dustin@zmanda.com>
7200         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
7201           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
7202           perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
7203           release()
7204         * server-src/amcheck-device.pl: fix stupid bug
7205
7206 2009-08-14 Dan Locks <dwlocks@zmanda.com>
7207         * example/Makefile.am: split example into server and client
7208           installperms statements.
7209
7210 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
7211         * server-src/amlabel.pl: handle error in Amanda::Changer->new
7212
7213 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
7214         * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
7215         * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
7216           add a 'multi' dumpcache and refactor Dumpcache.pm
7217         * installcheck/Installcheck/Run.pm: better diagnostics, better access
7218           to stderr from successful runs
7219
7220 2009-08-12  Dustin J. Mitchell <dustin@zmanda.com>
7221         * installcheck/taper.pl: add a check for taper startup err
7222         * server-src/taper.pl: properly send a startup err instead of die()ing
7223         * perl/Amanda/IPC/LineProtocol.pm: fix typos
7224
7225 2009-08-05  Dustin J. Mitchell <dustin@zmanda.com>
7226         * man/xml-source/amdevcheck.8.xml: manpage tweaks
7227
7228 2009-08-05 Dan Locks <dwlocks@zmanda.com>
7229         * Thanks to Jim Barber for pointing out these bugs.
7230         * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
7231           packaging/deb/amanda-backup-server.postinst: replace all instances
7232           of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
7233         * packaging/deb/control: add build-depends for libglib2.0-dev
7234
7235 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7236         * installcheck/amcheck.pl: fix typo
7237
7238 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7239         * installcheck/amcheck.pl: put options before args for old getopts
7240         * installcheck/Makefile.am: only run amcheck check on full install
7241
7242 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7243         * installcheck/Makefile.am installcheck/amcheck.pl: new tests
7244         * server-src/amcheck.c: fix usage message
7245
7246 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7247         * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
7248
7249 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7250         * server-src/amcheck.c: initialize success properly
7251         * installcheck/mock/mtx.pl: another workaround for bad perl parser
7252
7253 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7254         * installcheck/amlabel.pl: update tests for new messages
7255         * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
7256           rewrite amlabel in perl to use new changer API
7257         * man/xml-source/amlabel.8.xml: overhaul manpage
7258         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
7259
7260 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7261         * server-src/amlabel.c server-src/amcheck.c: remove include of
7262           taperscan.h
7263
7264 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7265         * server-src/Makefile.am server-src/amcheck-device.pl
7266           server-src/amcheck.c: break out device-checking into a perl script
7267           invoked from amcheck
7268         * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
7269           script
7270         * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
7271           volumes explicitly marked as blank (timestamp="X")
7272         * server-src/taperscan.c server-src/taperscan.h: remove
7273
7274 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7275         * device-src/device.h: remove some comments that are now redundant
7276         * perl/Amanda/Device.pod: put primary Device documentation here,
7277           centralizing what used to be in the header file and on the wiki
7278
7279 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7280         * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
7281           confusing
7282
7283 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
7284         * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
7285
7286 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
7287         * device-src/tape-posix.c: use g_debug instead of dbprintf
7288
7289 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
7290         * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
7291           more than once in a scan object's lifetime
7292         * man/xml-source/amanda-taperscan.7.xml: document this
7293
7294 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
7295         * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
7296           rewrite amtape in perl
7297         * NEWS: describe changes
7298         * man/xml-source/amtape.8.xml: document behavior
7299         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
7300           perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
7301           perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
7302           user_msg_fn
7303         * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
7304           tests to match new behavior
7305
7306 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
7307         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
7308           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
7309           perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
7310           except_slots, to allow slot scanning
7311         * installcheck/Amanda_Changer_compat.pl
7312           installcheck/Amanda_Changer_disk.pl
7313           installcheck/Amanda_Changer_rait.pl
7314           installcheck/Amanda_Changer_robot.pl: test each implementation
7315
7316 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
7317         * perl/Makefile.am perl/Amanda/Changer/robot.pm:
7318           new changer
7319         * example/amanda.conf.in: adjust to correspond to new changers
7320         * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
7321         * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
7322         * man/xml-source/amanda-changers.7.xml: documentation for new changer
7323         * perl/Amanda/Changer.pm: POD tweak
7324
7325 2009-07-31 Dan Locks <dwlocks@zmanda.com>
7326         * packaging/deb/control, packaging/rpm/amanda.spec: add native
7327           package names to conflict list
7328
7329 2009-07-30 Dan Locks <dwlocks@zmanda.com>
7330         * example/Makefile.am: separates client from server example,
7331           label, and template files.
7332
7333 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
7334         * device-src/Makefile.am device-src/xfer-source-taper.c
7335           device-src/xfer-device.h: new xfer element
7336         * device-src/xfer-source-device.c: typos
7337         * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
7338         * perl/Amanda/XferServer.swg: SWIG it
7339         * perl/Amanda/Xfer.pod: docs
7340         * installcheck/Amanda_Xfer_serveronly.pl: test it
7341
7342 2009-07-30  Jean-Louis Martineau <martineau@zmanda.com>
7343         * application-src/amsuntar.pl: Fix open of fd3.
7344
7345 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
7346         * device-src/xfer-dest-taper.c: open disk cache twice instead of
7347           incorrectly relying on dup(); use a local variable to stop the
7348           disk cacher for sure at the end of each part
7349
7350 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
7351         * perl/Amanda/Changer.pm: add an inventory() method
7352         * perl/Amanda/Changer/disk.pm: implement
7353         * perl/Amanda/Changer/rait.pm: implement
7354         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
7355           installcheck/Amanda_Changer_disk.pl
7356           installcheck/Amanda_Changer_rait.pl: test
7357
7358 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
7359         * perl/Amanda/Changer.pm: do not release() reservations automatically
7360           when they go out of scope
7361         * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
7362           installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
7363           installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
7364           installcheck/Amanda_Changer_single.pl: don't depend on auto-release
7365
7366 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
7367         * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
7368           shuffle vtapes instead of linking, and support 'nobarcode'
7369         * installcheck/mock_mtx.pl: test it
7370
7371 2009-07-28  Nikolas Coukouma <atrus@zmanda.com>
7372         * installcheck/Installcheck.pm: Add a function for including Test::More
7373           messages in debug logs (and document it). Move mkpath($TMP) into an
7374           INIT block.
7375         * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
7376           installcheck/Amanda_Changer_disk.pl,
7377           installcheck/Amanda_Changer_null.pl,
7378           installcheck/Amanda_Changer_rait.pl,
7379           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
7380           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
7381           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
7382           installcheck/Amanda_IPC_LineProtocol.pl,
7383           installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
7384           installcheck/Amanda_Taper_Scan_traditional.pl,
7385           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
7386           installcheck/Amanda_Xfer_serveronly.pl,
7387           installcheck/amrmtape.pl, installcheck/amtape.pl,
7388           installcheck/taper.pl: use Installcheck::log_test_output()
7389
7390 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
7391         * perl/Amanda/Changer.pm: add a get_boolean_property helper method
7392
7393 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
7394         * config/amanda/defaults.m4: remove --with-changer-device
7395         * common-src/conffile.c: make NULL the default
7396         * example/amanda.conf.in: remove reference to the default
7397         * NEWS: note that option is no longer available
7398
7399 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
7400         * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
7401           variables, and just syntax-check everything
7402         * amar-src/Makefile.am application-src/Makefile.am
7403           changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
7404           device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
7405           adjust makefiles to match
7406         * perl/Amanda/Changer/rait.pm: fix some warnings
7407
7408 2009-07-24  Jean-Louis Martineau <martineau@zmanda.com>
7409         * amandad-src/amandad.c: Fix fd allocation.
7410
7411 2009-07-21 Dan Locks <dwlocks@zmanda.com>
7412         * example/Makefile.am: add missing trailing slash
7413
7414 2009-07-18  Dustin J. Mitchell <dustin@zmanda.com>
7415         * installcheck/taper.pl: one more check for the taper's DONE
7416
7417 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
7418         * installcheck/taper.pl: add a check for the taper's DONE
7419
7420 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
7421         * server-src/xfer-source-holding.c: fix a race condition with
7422           self->dest_taper
7423
7424 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
7425         * server-src/Makefile.am: fix to distribute taper.pl
7426
7427 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
7428         * installcheck/Amanda_Taper_Scribe.pl: fix test
7429
7430 2009-07-17  Nikolas Coukouma <atrus@zmanda.com>
7431         * installcheck/taper.pl: remove cruft
7432         * server-src/Makefile.am: remove cruft
7433         * server-src/taper.pl: fix copyright statement
7434
7435 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
7436         * server-src/taper.pl: new taper (in perl)
7437         * installcheck/taper.pl: update tests
7438         * server-src/Makefile.am server-src/taper-disk-port-source.c
7439           server-src/taper-disk-port-source.h server-src/taper-file-source.c
7440           server-src/taper-file-source.h server-src/taper-mem-port-source.c
7441           server-src/taper-mem-port-source.h server-src/taper-port-source.c
7442           server-src/taper-port-source.h server-src/taper-source-test.c
7443           server-src/taper-source.c server-src/taper-source.h
7444           server-src/taper.c: deleted
7445
7446 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
7447         * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
7448         * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
7449
7450 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
7451         * server-src/diskfile.c: add missing _()
7452
7453 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
7454         * man/Makefile.am man/xml-source/amanda.8.xml
7455           man/xml-source/amanda-compatibility.7.xml: add new manpage describing
7456           inter-version compatibility
7457         * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
7458
7459 2009-07-16  Jean-Louis Martineau <martineau@zmanda.com>
7460         * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
7461
7462 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
7463         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
7464           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
7465           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
7466           remove $res->{'next_slot'} in favor of $chg->load(relative_slot
7467           => 'next', slot => $slot)
7468         * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
7469           server-src/amvault.pl: use new form
7470         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
7471           installcheck/Amanda_Changer_disk.pl
7472           installcheck/Amanda_Changer_rait.pl: test it
7473
7474 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
7475         * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
7476         * NEWS: describe removed keyword
7477         * installcheck/Amanda_Config.pl: don't test for it anymore
7478
7479 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
7480         * perl/Amanda/Changer.pm: new with_locked_state method to help
7481           subclasses access a locked statefile
7482         * installcheck/Amanda_Changer.pl: test new method
7483         * perl/Amanda/Changer/disk.pm: use new method
7484
7485 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
7486         * common-src/amflock.h common-src/amflock.c: new fcntl-based
7487           file locking support
7488         * common-src/amflock-test.c: test them
7489         * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
7490         * installcheck/Amanda_Util.pl: test that too
7491
7492 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
7493         * gnulib/regenerate/regenerate: add ftruncate and lseek modules
7494         * config/config.rpath config/gnulib/* gnulib/*: new modules
7495
7496 2009-07-14  Dustin J. Mitchell <dustin@zmanda.com>
7497         * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
7498         * installcheck/Amanda_DB_Catalog.pl: test same
7499
7500 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
7501         * server-src/driverio.c: Print strerror if update of infofile failed.
7502
7503 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
7504         * config/automake/scripts.am: Fix *.nouselib creation.
7505
7506 2009-07-13  Dustin J. Mitchell <dustin@zmanda.com>
7507         * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
7508         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
7509           perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
7510           implement
7511         * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
7512           installcheck/Amanda_Changer_compat.pl
7513           installcheck/Amanda_Changer_disk.pl
7514           installcheck/Amanda_Changer_null.pl
7515           installcheck/Amanda_Changer_rait.pl
7516           installcheck/Amanda_Changer_single.pl
7517           server-src/amvault.pl: use new key
7518
7519 2009-07-13  Jean-Louis Martineau <martineau@zmanda.com>
7520         * application-src/amsamba.pl: Fix parsing domain in amandapass.
7521
7522 2009-07-11  Dustin J. Mitchell <dustin@zmanda.com>
7523         * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
7524
7525 2009-07-10  Nikolas Coukouma <atrus@zmanda.com>
7526         * device-src/s3-device.c: fix calls to erase() before start()
7527         * installcheck/data/aws-bundle.crt: use a larger certificate bundle
7528         * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
7529           with custom certificate bundle, test erase() before start(),
7530           try to do more with an invalid certificate bundle
7531
7532 2009-07-10  Dustin J. Mitchell <dustin@zmanda.com>
7533         * configure.in: don't generate all of the example/ files here
7534         * example/Makefile.am: generate them here
7535         * example/chg-mcutil.conf.in: removed
7536         * example/config.site: removed
7537
7538 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7539         * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
7540           instead of 'current', as required by previous change
7541
7542 2009-07-09  Alan Hodgson <ahodgson@simkin.ca>
7543         * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
7544         * man/xml-source/amgtar.8.xml: document them
7545
7546 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7547         * common-src/util.c common-src/util.h: add quote_string_always
7548         * common-src/conffile.c: use it to quote strings on output from config
7549
7550 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7551         * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
7552           VERSION_MAJOR, _MINOR, etc.
7553         * common-src/version.h: remove everything but version_info
7554         * client-src/versionsuffix.c client-src/Makefile.am: remove
7555           versionsuffix app
7556         * configure.in: remove versuff.c
7557         * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
7558           USE_VERSION_SUFFIXES
7559         * other source files: change version() to VERSION, remove
7560           versionsuffix() calls, remove unnecessary #include "version.h",
7561           and remove other uses of suffixes
7562
7563 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7564         * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
7565          of 'current', so the vtape root works as a device
7566         * man/xml-source/amanda-changers.7.xml: document
7567
7568 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7569         * amandad-src/amandad.c: conditionalize UID checks
7570
7571 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7572         * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
7573           prefer 'application' and 'script' to 'application-tool' and
7574           'script-tool', but accept both
7575         * common-src/amgetconf.pl: accept both
7576         * installcheck/Installcheck/Config.pm: add_text()
7577         * installcheck/Amanda_Config.pl: test changes
7578         * installcheck/amgetconf.pl: test changes
7579         * man/xml-source/amanda-client.conf.5.xml: document
7580         * man/xml-source/amanda.conf.5.xml: document
7581
7582 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
7583         * AUTHORS: update, add notes about contribution licensing
7584
7585 2009-07-06  Dustin J. Mitchell <dustin@zmanda.com>
7586         * changer-src/chg-glue.pl: unref the device, in hopes it will
7587           close the open file descriptor so that tape devices can be used
7588           from the process that invoked chg-glue
7589
7590 2009-07-03  Dustin J. Mitchell <dustin@zmanda.com>
7591         * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
7592
7593 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
7594         * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
7595
7596 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
7597         * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
7598           perl/Makefile.am: add Perl implementation of the traditional taperscan
7599           algorithm
7600         * installcheck/Amanda_Taper_Scan.pl
7601           installcheck/Amanda_Taper_Scan_traditional.pl
7602           installcheck/Makefile.am: test
7603         * perl/Amanda/Changer/disk.pm: test support tweak
7604         * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
7605           with a full description of the traditional algo
7606         * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
7607
7608 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
7609         * perl/Amanda/MainLoop.swg: add synchronized()
7610         * perl/Amanda/MainLoop.pod: document it
7611         * installcheck/Amanda_MainLoop.pl: test it
7612         * perl/Amanda/Changer/compat.pm: and use it
7613
7614 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
7615         * device-src/s3.c, installcheck/Amanda_Device.pl:
7616           Don't allow dots in bucket names, for compatability with
7617           libcurl built against NSS.
7618
7619 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
7620         * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
7621           Test using a certificate bundle with the S3 device
7622
7623 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
7624         * common-src/conffile.c: New ORDER keyword in script section.
7625         * common-src/conffile.h: New ORDER keyword in script section.
7626         * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
7627         * perl/Amanda/Config.swg: Bing ORDER keyword.
7628         * application-src/amlog-script.pl: Add --text parameter.
7629         * installcheck/pp-scripts.pl: Check execution order.
7630
7631 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
7632         * restore-src/amfetchdump.c, restore-src/amrestore.c,
7633           restore-src/restore.c: Add debugging.
7634
7635 2009-06-22  Jean-Louis Martineau <martineau@zmanda.com>
7636         * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
7637
7638 2009-06-19 Dan Locks <dwlocks@zmanda.com>
7639         * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
7640           changes to packages.
7641
7642 2009-06-19 Dan Locks <dwlocks@zmanda.com>
7643         * packaging/deb/server/control, packaging/deb/client/control: update
7644           depends to list libcurl3 or 4.
7645
7646 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
7647         * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
7648           explicit about maintaining tape order with a stable sort
7649         * perl/Amanda/Tapelist.pod: document it
7650         * man/xml-source/tapelist.5.xml: manpages too
7651         * installcheck/Amanda_Tapelist.pl: test it
7652         * installcheck/Makefile.am: sort alphabetically
7653
7654 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
7655         * perl/Amanda/Util.swg: expose get_fs_usage in perl
7656         * installcheck/Amanda_Util.pl: test it
7657         * perl/Amanda/Util.pod: document it
7658
7659 2009-06-19  Jean-Louis Martineau <martineau@zmanda.com>
7660         * server-src/reporter.c: Use the filenum from the PART line.
7661                                  Keep the filenum of the first part.
7662
7663 2009-06-19  Nikolas Coukouma <atrus@zmanda.com>
7664         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
7665           application-src/amlog-script.pl, application-src/ampgsql.pl,
7666           application-src/amsamba.pl, application-src/amsuntar.pl,
7667           application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
7668           application-src/script-email.pl, changer-src/chg-glue.pl,
7669           common-src/amaespipe.sh, common-src/amcryptsimple.pl,
7670           common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
7671           common-src/event-test.c, common-src/glib-util.c,
7672           common-src/glib-util.h, common-src/queueing-test.c,
7673           common-src/queueing.c, common-src/queueing.h,
7674           common-src/quoting-test.c, common-src/semaphore-test.c,
7675           common-src/semaphore.c, common-src/semaphore.h,
7676           common-src/simpleprng.c, common-src/simpleprng.h,
7677           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
7678           common-src/testutils.c, common-src/testutils.h,
7679           config/automake/scripts.am, config/automake/vars.am,
7680           config/macro-archive/docbook-dtd.m4,
7681           config/macro-archive/docbook-xslt-min.m4,
7682           config/macro-archive/docbook-xslt.m4,
7683           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
7684           device-src/amtapetype.pl, device-src/device-queueing.c,
7685           device-src/device-queueing.h, device-src/device.c,
7686           device-src/device.h, device-src/null-device.c, device-src/property.c,
7687           device-src/property.h, device-src/rait-device.c,
7688           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
7689           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
7690           device-src/tape-device.c, device-src/tape-device.h,
7691           device-src/tape-ops.h, device-src/tape-posix.c,
7692           device-src/tape-uware.c, device-src/tape-xenix.c,
7693           device-src/vfs-device.c, device-src/vfs-test.c,
7694           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
7695           device-src/xfer-device.h, device-src/xfer-source-device.c,
7696           installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
7697           installcheck/Amanda_Changer_compat.pl,
7698           installcheck/Amanda_Changer_disk.pl,
7699           installcheck/Amanda_Changer_null.pl,
7700           installcheck/Amanda_Changer_rait.pl,
7701           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
7702           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
7703           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
7704           installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
7705           installcheck/Amanda_Holding.pl,
7706           installcheck/Amanda_IPC_LineProtocol.pl,
7707           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
7708           installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
7709           installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
7710           installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
7711           installcheck/Installcheck/Application.pm,
7712           installcheck/Installcheck/Changer.pm,
7713           installcheck/Installcheck/Config.pm,
7714           installcheck/Installcheck/Dumpcache.pm,
7715           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
7716           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
7717           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
7718           installcheck/amdump.pl, installcheck/amfetchdump.pl,
7719           installcheck/amgetconf.pl, installcheck/amgtar.pl,
7720           installcheck/ampgsql.pl, installcheck/amreport.pl,
7721           installcheck/amrmtape.pl, installcheck/amservice.pl,
7722           installcheck/amstatus.pl, installcheck/amtape.pl,
7723           installcheck/amtapetype.pl, installcheck/bigint.pl,
7724           installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
7725           installcheck/pp-scripts.pl, installcheck/taper.pl,
7726           perl/Amanda/Application.pod, perl/Amanda/Application.swg,
7727           perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
7728           perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
7729           perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
7730           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
7731           perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
7732           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
7733           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
7734           perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
7735           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
7736           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
7737           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
7738           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
7739           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
7740           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
7741           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
7742           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
7743           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
7744           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
7745           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
7746           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
7747           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
7748           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
7749           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
7750           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
7751           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
7752           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
7753           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
7754           server-src/amcheckdump.pl, server-src/amcleanup.pl,
7755           server-src/amrmtape.pl, server-src/amserverconfig.pl,
7756           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
7757           server-src/taper-disk-port-source.c,
7758           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
7759           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
7760           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
7761           server-src/taper-port-source.h, server-src/taper-source.c,
7762           server-src/taper-source.h, server-src/taperscan.c,
7763           server-src/taperscan.h, server-src/xfer-server.h,
7764           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
7765           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
7766           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
7767           xfer-src/source-pattern.c, xfer-src/source-random.c,
7768           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
7769           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
7770           xfer-src/xmsg.c, xfer-src/xmsg.h:
7771           update/correct copyright notice years
7772
7773 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
7774         * config/automake/scripts.am: support scripts with subdirs
7775
7776 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
7777         * installcheck/mock/mtx.pl: new "mock" mtx for testing
7778         * installcheck/mock_mtx.pl: test the test mtx
7779         * installcheck/Installcheck/Mock.pm: support for using mtx
7780         * installcheck/Installcheck/Run.pm: don't apply sbindir if there
7781           are any slashes in the app name
7782         * installcheck/Makefile.am: new files
7783
7784 2009-06-16  Jean-Louis Martineau <martineau@zmanda.com>
7785         * server-src/planner.c: Fix for bump from level 9 to 10.
7786
7787 2009-06-13  Dustin J. Mitchell <dustin@zmanda.com>
7788         * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
7789           calls to chg-compat's info() (tests the fix committed 2009-06-01)
7790
7791 2009-06-12  Dustin J. Mitchell <dustin@zmanda.com>
7792         * config/amanda/flags.m4: fix --enable-werror macro
7793
7794 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
7795         * server-src/planner.c: Print how tape_length is computed.
7796
7797 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
7798         * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
7799         * man/xml-source/amanda-client.conf.5.xml: Typo.
7800         * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
7801
7802 2009-06-11  Nikolas Coukouma <atrus@zmanda.com>
7803         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
7804           common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
7805           common-src/queueing.h, common-src/semaphore-test.c,
7806           common-src/semaphore.c, common-src/semaphore.h,
7807           config/automake/scripts.am, config/automake/vars.am,
7808           device-src/device-queueing.c, device-src/device-queueing.h,
7809           device-src/device.c, device-src/device.h, device-src/null-device.c,
7810           device-src/property.c, device-src/property.h,
7811           device-src/rait-device.c, device-src/s3-device.c,
7812           device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
7813           device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
7814           device-src/tape-device.h, device-src/tape-ops.h,
7815           device-src/tape-posix.c, device-src/tape-uware.c,
7816           device-src/tape-xenix.c, device-src/vfs-device.c,
7817           device-src/vfs-test.c, device-src/xfer-dest-device.c,
7818           device-src/xfer-dest-taper.c, device-src/xfer-device.h,
7819           device-src/xfer-source-device.c, perl/Amanda/Application.pod,
7820           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
7821           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
7822           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
7823           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
7824           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
7825           perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
7826           perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
7827           perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
7828           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
7829           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
7830           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
7831           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
7832           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
7833           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
7834           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
7835           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
7836           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
7837           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
7838           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
7839           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
7840           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
7841           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
7842           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
7843           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
7844           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
7845           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
7846           perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
7847           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
7848           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
7849           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
7850           server-src/taper-port-source.h, server-src/taper-source.c,
7851           server-src/taper-source.h, server-src/xfer-server.h,
7852           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
7853           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
7854           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
7855           xfer-src/source-pattern.c, xfer-src/source-random.c,
7856           xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
7857           xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
7858           relincense LGPL files under the GPL
7859
7860 2009-06-10  Paul C. Mantz <pcmantz@zmanda.com>
7861         * perl/Amanda/Application.pod: moved from .swg file
7862         * perl/Amanda/Application.swg: removed pod documentation
7863         * perl/Amanda/Archive.pod: moved from .swg file
7864         * perl/Amanda/Archive.swg: removed pod documentation
7865         * perl/Amanda/Cmdline.pod: moved from .swg file
7866         * perl/Amanda/Cmdline.swg: removed pod documentation
7867         * perl/Amanda/Config.pod: moved from .swg file
7868         * perl/Amanda/Config.swg: removed pod documentation
7869         * perl/Amanda/Debug.pod: moved from .swg file
7870         * perl/Amanda/Debug.swg: removed pod documentation
7871         * perl/Amanda/Device.pod: moved from .swg file
7872         * perl/Amanda/Device.swg: removed pod documentation
7873         * perl/Amanda/Disklist.pod: moved from .swg file
7874         * perl/Amanda/Disklist.swg: removed pod documentation
7875         * perl/Amanda/Header.pod: moved from .swg file
7876         * perl/Amanda/Header.swg: removed pod documentation
7877         * perl/Amanda/Logfile.pod: moved from .swg file
7878         * perl/Amanda/Logfile.swg: removed pod documentation
7879         * perl/Amanda/MainLoop.pod: moved from .swg file
7880         * perl/Amanda/MainLoop.swg: removed pod documentation
7881         * perl/Amanda/Tapelist.pod: moved from .swg file
7882         * perl/Amanda/Tapelist.swg: removed pod documentation
7883         * perl/Amanda/Tests.pod: moved from .swg file
7884         * perl/Amanda/Tests.swg: removed pod documentation
7885         * perl/Amanda/Util.pod: moved from .swg file
7886         * perl/Amanda/Util.swg: removed pod documentation
7887         * perl/Amanda/Xfer.pod: moved from .swg file
7888         * perl/Amanda/Xfer.swg: removed pod documentation
7889         * perl/Amanda/XferServer.pod: moved from .swg file
7890         * perl/Amanda/XferServer.swg: removed pod documentation
7891         * perl/Makefile.am: added pod files to tar dist
7892
7893 2009-06-05  Nikolas Coukouma <atrus@zmanda.com>
7894         * installcheck/Amanda_Device.pl: test device named just "s3:"
7895
7896 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
7897         * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
7898           Olsen <herolsen@alumni.upenn.edu>
7899
7900 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
7901         * config/amanda/dumpers.m4: fix quoting for shell portability
7902
7903 2009-06-02  Nikolas Coukouma <atrus@zmanda.com>
7904         * device-src/s3.c: retry S3 uploads on DNS failure
7905
7906 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7907         * installcheck/Installcheck/Config.pm: add remove_param
7908         * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
7909
7910 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7911         * perl/Amanda/Header.swg: add :constant tag
7912         * server-src/amvault.pl: use it
7913
7914 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7915         * device-src/s3-device.c: start delete at file 1
7916
7917 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7918         * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
7919
7920 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7921         * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
7922           message before existing; fixes problems on OS X
7923
7924 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
7925         * server-src/amindexd.c: fix sscanf.
7926
7927 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
7928         * server-src/reporter.c: Print only the first 100 lines in FAiL and
7929                                  STRANGE detail section.
7930
7931 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
7932         * common-src/match.c: Match UNC name diskname.
7933         * man/xml-source/amanda.8.xml: Document UNC matcher.
7934
7935 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
7936         * client-src/client_util.c: Improve error reporting.
7937         * client-src/sendsize.c: Typo
7938         * client-src/selfcheck.c: Execute application with --calcsize even if
7939                                   it not the first estimate.
7940         * application-src/amgtar.c: Check calcsize binary.
7941         * application-src/amstar.c: Check calcsize binary.
7942         * server-src/planner.c: log sendsize error as warning if a server
7943                                 estimate is available.
7944
7945 2009-05-26  Jean-Louis Martineau <martineau@zmanda.com>
7946         * application-src/amgtar.c: Set MAX_LEVEL to 399.
7947         * common-src/amanda.h: Set DUMP_LEVELS to 400.
7948         * client-src/amandates.h: Remove DUMP_LEVELS.
7949         * server-src/infofile.h: Remove DUMP_LEVELS
7950         * server-src/amtrmidx.c: Fix for level with more than one digit.
7951         * server-src/amindexd.c, server-src/find.c
7952           server-src/reporter.c: Use DUMP_LEVELS.
7953
7954 2009-05-25  Dustin J. Mitchell <dustin@zmanda.com>
7955         * device-src/xfer-dest-taper.c: make the pointers, not the objects,
7956           volatile
7957
7958 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
7959         * common-src/fileheader.c: use %zu for a size_t argument.
7960
7961 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
7962         * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
7963         * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
7964         * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
7965
7966 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
7967         * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
7968         * perl/Amanda/Util.swg: add split_quoted_strings
7969         * common-src/util.c: handle NULL string correctly
7970         * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
7971           installcheck/Makefile.am: tests for all
7972
7973 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
7974         * installcheck/amservice.pl: call $testconfig->write();
7975
7976 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
7977         * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
7978           size heuristic; handle the case where extra slabs are still in memory
7979           when rewinding a disk-cached part; add 'volatile' and make memory
7980           access safer; use a cache directory, not file
7981         * device-src/xfer-device.h: use a cache directory, not file
7982         * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
7983         * perl/Amanda/Xfer.swg: use cache directory
7984         * perl/Amanda/XferServer.swg: use cache directory
7985
7986 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7987         * common-src/fileheader.c: use %zd for a size_t argument
7988
7989 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7990         * common-src/fileheader.c: don't automatically call dump_fileheader_t
7991           in build_header
7992         * server-src/dumper.c server-src/holding.c server-src/taper.c
7993           server-src/chunker.c: add debug messages as necessary
7994
7995 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7996         * device-src/amdevcheck.pl: move from server-src/
7997         * device-src/Makefile.am server-src/Makefile.am: move script
7998
7999 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8000         * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
8001         * installcheck/Amanda_Changer_compat.pl: test it
8002
8003 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8004         * amandad-src/Makefile.am application-src/Makefile.am
8005           oldrecover-src/Makefile.am recover-src/Makefile.am
8006           restore-src/Makefile.am: remove LIB_EXTENSION
8007         * config/amanda/defaults.m4 config/amanda/devprefix.m4
8008           config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
8009           config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
8010           config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
8011           config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
8012           AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
8013           compilers!)
8014
8015 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
8016         * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
8017
8018 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
8019         * client-src/sendbackup.c: Compatibity with 2.4.2 server.
8020
8021 2009-05-22  Dustin J. Mitchell <dustin@zmanda.com>
8022         * device-src/vfs-device.c: close the tapelabel file after reading it
8023
8024 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
8025         * server-src/planner.c: Fix for 'estimate calcsize server' with older
8026                                 client.
8027
8028 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
8029         * common-src/queueing.c: set queue_fd->errmsg.
8030         * restore-src/restore.c: report queue_fd.errmsg
8031         * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
8032           Check validation status before reporting status.
8033
8034
8035 2009-05-21  Dustin J. Mitchell <dustin@zmanda.com>
8036         * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
8037
8038 2009-05-20  Jean-Louis Martineau <martineau@zmanda.com>
8039         * restore-src/restore.c: Report error.
8040
8041 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8042         * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
8043           is true; same for tapedev
8044
8045 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8046         * server-src/changer.c: revert a change (from 2009-02-20) which caused
8047           taperscan to not do a sequential scan if stage one fails
8048
8049 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8050         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8051           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
8052           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
8053           add a fast_search info key
8054         * installcheck/Amanda_Changer_compat.pl
8055           installcheck/Amanda_Changer_disk.pl
8056           installcheck/Amanda_Changer_null.pl
8057           installcheck/Amanda_Changer_rait.pl
8058           installcheck/Amanda_Changer_single.pl: test it
8059         * changer-src/chg-glue.pl: and use it to reflect searchability to old
8060           changer API users
8061
8062 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8063         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8064           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
8065           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
8066           changers return full devices, not just device names, and
8067           configure those devices based on device_property parameters
8068           specified in 'changer' configuration sections
8069         * changer-src/chg-glue.pl: return the device_name from the device
8070           (thereby losing the config info)
8071         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
8072           add changer properties and device_properties
8073         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8074           installcheck/Amanda_Changer_disk.pl
8075           installcheck/Amanda_Changer_null.pl
8076           installcheck/Amanda_Changer_rait.pl
8077           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
8078           installcheck/amrmtape.pl: test changer changes
8079         * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
8080           device manually
8081
8082 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
8083         * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
8084         * installcheck/Amanda_MainLoop.pl: ..so don't test it
8085
8086 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
8087         * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
8088           in many cases
8089
8090 2009-05-19  Jean-Louis Martineau <martineau@zmanda.com>
8091         * common-src/conffile.c: Add reapply_config_overwrites.
8092         * common-src/conffile.h: Add prototype of reapply_config_overwrites.
8093         * perl/Amanda/Config.swg: Add reapply_config_overwrites.
8094         * recover-src/amrecover.c: Call reapply_config_overwrites.
8095
8096 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
8097         * perl/Amanda/MainLoop.swg: new high-level call_after,
8098           call_on_child_termination, async_read, async_write; POD for new functions; and
8099           description of good async style
8100         * installcheck/Amanda_MainLoop.pl: test new functions
8101         * perl/amglue/filehandles.swg: use SvIOK
8102
8103 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
8104         * perl/Makefile.am: add -Werror on gcc
8105
8106 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
8107         * server-src/driver.c: Fix crash in amflush.
8108
8109 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8110         * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
8111           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8112           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
8113           perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
8114           perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
8115
8116 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8117         * installcheck/Installcheck.pm:always create $Installcheck::TMP;
8118           package returns 1
8119         * installcheck/Installcheck/Run.pm: export run_expect
8120         * installcheck/amarchiver.pl: quote a path
8121
8122 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8123         * perl/Amanda/Changer/compat.pm: qualify one last debug message
8124
8125 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8126         * perl/Amanda/XferServer.swg: include xfer-server.h
8127
8128 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8129         * common-src/debug.c common-src/debug.h: refactor set_logerr
8130           and erroutput_type into a more flexible amanda_log_handler system
8131         * server-src/logfile.c server-src/logfile.h: provide
8132           amanda_log_trace_log
8133         * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
8134         * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
8135         * amandad-src/amandad.c application-src/amgtar.c
8136           application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
8137           client-src/sendbackup.c client-src/sendsize.c
8138           restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
8139           server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
8140           server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
8141           server-src/chunker.c server-src/driver.c server-src/dumper.c
8142           server-src/planner.c server-src/reporter.c server-src/taper.c: use new
8143           system
8144
8145 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
8146         * common-src/debug.c: Fix memory leak.
8147
8148 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
8149         * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
8150           refactoring
8151         * installcheck/Amanda_Changer_rait.pl: update tests to expect it
8152
8153 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
8154         * perl/Amanda/Device.swg: parse string values for properties
8155         * installcheck/Amanda_Device.pl: test
8156
8157 2009-05-12  Jean-Louis Martineau <martineau@zmanda.com>
8158         * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
8159
8160 2009-05-08  Dustin J. Mitchell <dustin@zmanda.com>
8161         * perl/Amanda/Logfile.swg: add log_add
8162         * installcheck/Amanda_Logfile.pl: test it
8163
8164 2009-05-08  Jean-Louis Martineau <martineau@zmanda.com>
8165         * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
8166
8167 2009-05-07  Chris Hoogendyk <hoogendyk@bio.umass.edu>
8168         * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
8169           "service"
8170
8171 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
8172         * server-src/changer.c: remove unused variable
8173
8174 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
8175             Jean-Louis Martineau <martineau@zmanda.com>
8176         * common-src/debug.c: do not use a mutex in debug_printf
8177         * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
8178           do not call debug_printf after fork()
8179
8180 2009-05-06  Dustin J. Mitchell <dustin@zmanda.com>
8181         * server-src/taper.c: check for division by zero and don't print 'nan'
8182           for kbps
8183         * installcheck/taper.pl: don't expect 'nan'
8184
8185 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
8186         * server-src/amrmtape.pl: try loading disklist before erasing,
8187           before amadmin tries (and possibly fails)
8188
8189 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
8190         * man/xml-source/amdevcheck.8.xml: Document exit code.
8191         * server-src/amdevcheck.pl: change exit code.
8192
8193 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
8194         * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
8195           taper
8196         * installcheck/Installcheck/Config.pm: cleanup
8197         * installcheck/Installcheck/Run.pm: cleanup
8198
8199 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
8200         * server-src/taper-mem-port-source.c
8201           server-src/taper-disk-port-source.c: continue reading from the port
8202           after the cache is exhausted, instead of terminating the part abruptly
8203           (which can lead to insertion of spurious zeros into the dumpfile);
8204           also remove some unnecessary assertions (g_return_val_if_fail)
8205         * server-src/taper-file-source.c: use correct unit on part size;
8206           correctly calculate estimated number of parts
8207         * server-src/taper-port-source.c: replace assertion with 'if'
8208
8209 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
8210         * server-src/amdevcheck.pl: Add '--label' option.
8211         * man/xml-source/amdevcheck.8.xml: Document '--label' option.
8212
8213 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
8214         * application-src/ampgsql.pl: accept gnutar-path option;
8215           use absolute path when calling unlink()
8216
8217 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
8218         * server-src/taper.c: do not include a partial part in the size
8219           calculation
8220
8221 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
8222         * server-src/driver.c: Fix deadlock.
8223
8224 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
8225         * application-src/amgtar.c, application-src/amstar.c: Validate if
8226           binary not available.
8227
8228 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
8229         * application-src/amstar.c: Compile pattern once.
8230                                     Remove a superfluous '\n'.
8231
8232 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
8233         * application-src/amstar.c: Handle hard link.
8234
8235 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
8236         * server-src/changer.c: s/execve/execv
8237
8238 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
8239         * server-src/changer.c: Pass command override to chg-glue.
8240         * changer-src/chg-glue.pl: Parse command override.
8241
8242 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
8243         * server-src/amadmin.c: Fix error reporting in find subcommand.
8244
8245 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
8246         * recover-src/amrecover.h: Change prototype.
8247         * recover-src/extract_list.c: merge_path, abort if cd_* failed.
8248         * recover-src/set_commands.c: Many functions return 0 or 1.
8249
8250 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
8251         * application-src/amsuntar.pl: Fix redirection in validate command.
8252
8253 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
8254         * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
8255           man/xml-source/amflush.8.xml,
8256           man/xml-source/amrestore.8.xml: Fix order of -o argument.
8257         * restore-src/amfetchdump.c, restore-src/amrestore.c,
8258           server-src/amcheck.c,
8259           server-src/amflush.c: Fix order of -o argument in usage function.
8260
8261 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
8262         * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
8263                                        expression section.
8264
8265 2009-04-28  Nikolas Coukouma <atrus@zmanda.com>
8266         * application-src/ampgsql.pl: remove checks for PG-DATADIR
8267
8268 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
8269         * application-src/ampgsql.pl: lowercase property names when accessing them
8270
8271 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
8272         * application-src/ampgsql.pl: fix debug printing of property names,
8273           add parent directory checks to selfcheck command,
8274           check psql binary path, fix whitespace
8275         * perl/Amanda/Application.swg: update usage docs
8276         * installcheck/Installcheck/Application.pm: fix formatting tags
8277           remove 'level' argument from selfcheck command
8278         * installcheck/ampgsql.pl: test selfcheck command a bit
8279
8280 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
8281         * server-src/amcheck.c: Remove "Usage of fully qualified hostname
8282           recommended for Client" warning.
8283
8284 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
8285         * application-src/amsamba.pl: Use device if specified.
8286
8287 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
8288         * client-src/sendbackup.c: Fix dbprintf statements.
8289
8290 2009-04-24  Jean-Louis Martineau <martineau@zmanda.com>
8291         * application-src/amsuntar.pl: Add LANG property.
8292         * man/xml-source/amsuntar.8.xml: Document LANG property.
8293
8294 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
8295         * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
8296           add strange regex for UTF-8, estimate fail only if an output match
8297           an error regex or if an output match nothing.
8298
8299 2009-04-23  Dustin J. Mitchell <dustin@zmanda.com>
8300         * server-src/amcheckdump.pl: request tapes manually when using
8301           Amanda::Changer::single
8302
8303 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
8304         * application-src/amsuntar.pl: Fix validate command.
8305
8306 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
8307         * server-src/amcheckdump.pl: Wait for an input before reading tape.
8308
8309 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
8310         * application-src/amsamba.pl: Parse username ending with '%'.
8311
8312 2009-04-22  Sam Couter <sam@couter.id.au>
8313         * changer-src/chg-glue.pl: return a helpful error message when
8314           Amanda::Changer->new() fails
8315
8316 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
8317         * server-src/amstatus.pl: Print percentage done when writing to tape.
8318
8319 2009-04-21  Dustin J. Mitchell <dustin@zmanda.com>
8320         * server-src/Makefile.am server-src/xfer-server.h
8321           server-src/xfer-source-holding.c: new module reading from holding
8322           files
8323         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
8324           perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
8325           Amanda::Xfer::Source::Holding
8326         * device-src/xfer-dest-taper.c: make class macros public; ignore
8327           cache_inform when part_size == 0
8328         * device-src/xfer-device.h: xfer-dest-taper class macros
8329         * xfer-src/amxfer.h: include element-glue.h
8330         * installcheck/Amanda_Xfer_serveronly.pl: updated tests
8331
8332 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
8333         * server-src/diskfile.c: Typo.
8334
8335 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
8336         * server-src/diskfile.c: Print ", quoting may not be correct".
8337
8338 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
8339         * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
8340           property to 'tape:' driver.
8341         * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
8342           property, set is_eof to FLASE where needed.
8343         * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
8344         * device-src/tape-aix.c, device-src/tape-uware.c,
8345           device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
8346           for FSF_AFTER_FILEMARK.
8347         * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
8348           property.
8349         * xfer-src/dest-null.c: Remove bogus assert.
8350         * device-src/amtapetype.pl: New -p option to discover driver properties,
8351           it can find value for the 'FSF_AFTER_FILEMARK' property.
8352         * man/xml-source/amtapetype.8.xml: Document -p options
8353
8354 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
8355         * client-src/sendsize.c: Typo
8356         * server-src/planner.c: Don't log failed estimate message.
8357
8358 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
8359         * device-src/tape-device.c: handle EROFS in open.
8360
8361 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
8362         * changer-src/chg-zd-mtx.sh: Improve error message.
8363
8364 2009-04-20  Dustin J. Mitchell <dustin@zmanda.com>
8365         * device-src/tape-device.c: improve error messages on reading/writing
8366
8367 2009-04-17  Nikolas Coukouma <atrus@zmanda.com>
8368         * device-src/device.c: fix error message for unparsable property
8369         * installcheck/Amanda_Device.pl: test error message
8370
8371 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
8372         * server-src/cmdline.c: host, disk and timestamp argument are not regex
8373
8374 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
8375         * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
8376
8377 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
8378         * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
8379                                        properties.
8380         * man/xml-source/amsuntar.8.xml: Document them.
8381
8382 2009-04-16  Dustin J. Mitchell <dustin@zmanda.com>
8383         * perl/Amanda/MainLoop.swg: get call_later order right, more useful
8384           sub names
8385         * installcheck/Amanda_MainLoop.pl: tests for same
8386
8387 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
8388         * server-src/amcheckdump.pl: Fix three typos.
8389
8390 2009-04-16  Nikolas Coukouma <atrus@zmanda.com>
8391         * server-src/amcheckdump.pl: Print per-image status messages,
8392           with detailed error info
8393
8394 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
8395         * application-src/amsamba.pl: Fix parsing of username...
8396
8397 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
8398         * server-src/amcheckdump.pl: Validate image if all part are available.
8399
8400 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
8401         * client-src/sendsize.c: Don't report "can't estimate level" error.
8402
8403 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
8404         * server-src/taperscan.c: Make find_brand_new_tape_label return an
8405           error message instead of printing it to stderr.  Make scan_read_label
8406           use the error message from find_brand_new_tape_label.
8407
8408 2009-04-15  Dustin J. Mitchell <dustin@zmanda.com>
8409         * restore-src/amfetchdump.c: keep the order of tapes within a
8410           particular run of Amanda
8411
8412 2009-04-15  Nikolas Coukouma <atrus@zmanda.com>
8413         * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
8414           and more pleasant to debug.
8415         * installcheck/Amanda_Changer.pl,
8416           installcheck/Amanda_Changer_compat.pl,
8417           installcheck/Amanda_Changer_disk.pl,
8418           installcheck/Amanda_Changer_null.pl,
8419           installcheck/Amanda_Changer_rait.pl,
8420           installcheck/Amanda_Changer_single.pl,
8421           perl/Amanda/Changer.pm,
8422           perl/Amanda/Changer/compat.pm,
8423           perl/Amanda/Changer/disk.pm,
8424           perl/Amanda/Changer/null.pm,
8425           perl/Amanda/Changer/rait.pm,
8426           perl/Amanda/Changer/single.pm,
8427           perl/Amanda/MainLoop.swg,
8428           server-src/amrmtape.pl,
8429           server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
8430
8431 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
8432         * application-src/amsamba.pl: Default amandapass file is
8433                                       CONFIG_DIR/amandapass.
8434
8435 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
8436         * common-src/conffile.c: Fix inheriting properties.
8437         * installcheck/Amanda_Config.pl: Test it.
8438
8439 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
8440         * amandad-src/amandad.c: Improve error message.
8441
8442 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
8443         * server-src/amstatus.pl: Remove spurious debug message.
8444
8445 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
8446             Satya Ganga <gsat@zmanda.com>
8447         * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
8448
8449 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
8450             Dustin J. Mitchell <dustin@zmanda.com>
8451         Bug found by Gene Heskett.
8452         * server-src/planner.c: Set dp before using it.
8453
8454 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
8455         * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
8456                                       Allow '\' in diskname and amandapass.
8457         * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
8458
8459 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
8460         * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
8461                                        Parse hard link in index.
8462         * server-src/amstatus.pl: Fix amstatus for partial chunker.
8463         * installcheck/amstatus.pl: Test it.
8464         * installcheck/Installcheck/Run.pm: export an $exit_code variable.
8465
8466 2009-04-10  Dustin J. Mitchell <dustin@zmanda.com>
8467         * common-src/conffile.c: fix handling of double-backslash in quoted
8468           strings
8469
8470 2009-04-09  Ray Tracer <RayTracer@irc.freenode.net>
8471         * application-src/amgtar.c: add missing 'break'
8472
8473 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
8474         * common-src/conffile.c: store properties in lower-case
8475         * perl/Amanda/Config.swg: document data formats for config values
8476         * installcheck/Amanda_Config.pl: test case-sensitivity
8477
8478 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
8479         * device-src/rait-device.c: add rait_device_new_from_children
8480         * device-src/device.h: prototype
8481         * perl/Amanda/Device.swg: wrap into perl
8482         * installcheck/Amanda_Device.pl: test
8483
8484 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
8485         * device-src/tape-device.c: fix typo to get device_name right
8486
8487 2009-04-08  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
8488         * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
8489
8490 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
8491         * common-src/fileheader.c: fix early return if PROGRAM not given
8492         * perl/Amanda/Disklist.swg: do not free the C disklist
8493         * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
8494           functionality similar to server-src/holding.[ch]
8495         * server-src/holding.h: clarify comments
8496         * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
8497           installcheck/Makefile.am: tests
8498
8499 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
8500         * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
8501
8502 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
8503         * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
8504
8505 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
8506         * device-src/xfer-dest-taper.c: new xfer element to handle splitting
8507           dumpfiles over multiple volumes, with retry of failed split parts
8508         * device-src/Makefile.am: new file
8509         * device-src/xfer-device.h: new prototype
8510         * installcheck/Amanda_Xfer_serveronly.pl: new tests
8511         * installcheck/Installcheck/Run.pm: increase default vtape size
8512         * perl/Amanda/Xfer.swg: POD for new element
8513         * perl/Amanda/XferDevice.swg: wrap new element
8514         * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
8515
8516 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
8517         * client-drc/sendbackup.c: Init result.
8518
8519 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
8520         * server-src/taper-source.c (default_taper_source_seek_to_part_start):
8521           returns FALSE on not splitted dump.
8522         * server-src/driverio.c: info.last_level should not be set on error
8523                          if level >= info.last_level.
8524         * server-src/driver.c: Rename update_failed_dump_to_tape to
8525           update_failed_dump.
8526           Call update_failed_dump on failed dump to holding disk.
8527         * application-src/amgtar.c: Don't update statefile if the backup failed.
8528         * client-drc/sendbackup.c: Don't update amandates if backup failed.
8529
8530 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
8531         * man/xml-source/amanda-changers.7.xml: Document changerfile for
8532                                                 chg-disk.
8533
8534 2009-04-03  Dustin J. Mitchell <dustin@zmanda.com>
8535         * perl/Amanda/Changer/compat.pm: always configure devices while
8536           scanning
8537         * server-src/amcheckdump.pl: configure devices returned from the
8538           changer
8539
8540 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
8541         * application-src/amsamba.pl: Allow empty username.
8542         * man/xml-source/amsamba.8.xml: Document empty username and password.
8543
8544 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
8545         * common-src/security-util.c: Fix isdigit use.
8546
8547 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
8548         * common-src/conffile.c: New client_port option.
8549         * common-src/conffile.h: New client_port option.
8550         * man/xml-source/amanda-auth.7.xml,
8551           man/xml-source/amanda-client.conf.5.xml,
8552           man/xml-source/amanda.conf.5.xml: New client_port option.
8553         * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
8554         * common-src/bsd-security.c,
8555           common-src/bsdtcp-security.c,
8556           common-src/bsdudp-security.c: Use client_port option.
8557         * common-src/security-util.c: New find_port_for_service function.
8558         * common-src/security-util.h: Prototype for find_port_for_service.
8559         * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
8560         * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
8561         * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
8562         * server-src/amadmin.c (disklist_one): Print client_port.
8563         * server-src/amcheck.c: Fix remote_errors;
8564         * server-src/diskfile.h (disk_t): Add client_port.
8565         * server-src/diskfile.c: Set client_port.
8566         * server-src/driverio.c: Send client_port to dumper.
8567         * server-src/dumper.c: Parse client_port.
8568         * server-src/server_util.c: return client_port.
8569
8570 2009-04-03  Nikolas Coukouma <atrus@zmanda.com>
8571         * device-src/s3-device.c, installcheck/Amanda_Device.pl:
8572           don't require location-compatible name for ignored value
8573
8574 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
8575         * application-src/amsamba.pl: Allow empty password.
8576         * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
8577         * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
8578
8579 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
8580         * server-src/amstatus.pl: prefix error message with "backup failed:"
8581           if a dump to holding disk failed.
8582
8583 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
8584         * server-src/amstatus.pl: Print a taper status.
8585         * server-src/taper.c: Quote TAPE-ERROR reply.
8586
8587 2009-04-02  Dustin J. Mitchell <dustin@zmanda.com>
8588         * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
8589
8590 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
8591         * application-src/amsamba.pl: Typo.
8592
8593 2009-04-01  Dustin J. Mitchell <dustin@zmanda.com>
8594         * device-src/s3-device.c: always send errors from setup_handle
8595
8596 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
8597         * device-src/s3-device.c: don't clobber errors from setup_handle
8598
8599 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
8600         * NEWS: Note change to Amazon S3, add ampgsql
8601
8602 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
8603         * server-src/amcheck.c: Set l on error path.
8604
8605 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
8606         * device-src/s3.c: don't send empty location constraint,
8607           allocate error messages, fix constraint check in case of wildcard
8608         * installcheck/Amanda_Device.pl: actually test location constraints
8609
8610 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
8611         * application-src/ampgsql.pl: add newline to end of index entry
8612
8613 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
8614         * application-src/amsamba.pl: Set $self->{mesgout} before calling
8615                                       method that use it.
8616
8617 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
8618         * application-src/Makefile.am: Remove amgtar_perl.
8619         * application-src/amgtar_perl.pl: Remove file.
8620
8621 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
8622         * man/xml-source/amsamba.8.xml: Document amandapass file location.
8623
8624 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
8625         * application-src/amsamba.pl: allow relative AMANDAPASS property.
8626         * man/xml-source/amsamba.8.xml: Document amandapass file location.
8627         * ReleaseNotes: amsamba
8628
8629 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
8630         * server-src/amcheck.c: exit(1) if match_disklist() return an error.
8631         * server-src/planner.c: Better logging if match_disklist() return an
8632                                 error.
8633
8634 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
8635         * server-src/planner.c: Use new one_est_t,
8636                                 print warning for server guessed estimate.
8637
8638 2009-03-29 Dan Locks <dwlocks@zmanda.com>
8639         * packaging/rpm/amanda.spec: change a number of %if conditionals to
8640           macros which expand if they are defined.
8641
8642 2009-03-29  Nikolas Coukouma <atrus@zmanda.com>
8643         * man/xml-source/amanda-devices.7.xml: add more notes
8644
8645 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
8646         * device-src/s3.c, installcheck/Amanda_Device.pl:
8647           ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
8648           pass others as-is
8649
8650 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
8651         * installcheck/Amanda_Util.pl: fix warning
8652         * perl/Amanda/Util.swg: fix typos
8653
8654 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
8655         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
8656           use a different dummy entry
8657
8658 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
8659         * recover-src/extract_list.c: Add --level argument to application.
8660
8661 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
8662         * application-src/amsuntar.pl: Check for 'symbolic link' in index.
8663
8664 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
8665         * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
8666
8667 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
8668         * installcheck/Amanda_Device.pl: fix test counts
8669         * installcheck/Amanda_Util.pl: fix shadow variable warning
8670
8671 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
8672         * device-src/s3.c: ignore empty s3_user_token
8673         * installcheck/Amanda_Device.pl: test empty s3_user_token
8674
8675 2009-03-26  Dustin J. Mitchell <dustin@zmanda.com>
8676         * man/xml-source/amanda.conf.5.xml: document new estimate changes made
8677           2009-02-04
8678
8679 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
8680         * server-src/planner.c: Remove logging of guessed estimate.
8681
8682 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
8683         * client-src/sendsize.c: Typo.
8684
8685 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
8686         * application-src/ampgsql.pl: Add command_validate.
8687         * application-src/amgtar_perl.pl, application-src/amsamba.pl,
8688           application-src/amsuntar.pl: Sanity check for command_validate.
8689         * perl/Amanda/Application.swg: Add a default_validate function.
8690         * perl/Amanda/Script_App.pm: Execute defulat_validate if
8691                                      command_validate is not defined.
8692
8693 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
8694         * perl/Amanda/Changer.pm: add a 'cmp' operator for
8695           Amanda::Changer::Error objects, to make testing easier
8696
8697 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
8698         * perl/Amanda/Changer.pm: add Amanda::Changer::Error
8699           class to give more detail in changer errors
8700         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8701           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
8702           perl/Amanda/Changer/single.pm: use it
8703         * changer-src/chg-glue.pl: handle new errors
8704         * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
8705           (chg_err_like) utility function
8706         * installcheck/Amanda_Changer.pl
8707           installcheck/Amanda_Changer_compat.pl
8708           installcheck/Amanda_Changer_disk.pl
8709           installcheck/Amanda_Changer_null.pl
8710           installcheck/Amanda_Changer_rait.pl
8711           installcheck/Amanda_Changer_single.pl: change tests
8712
8713 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
8714         * perl/Amanda/Changer.pm: remove unused import() and export()
8715
8716 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
8717         * device-src/s3.c: fix segfault in s3_make_bucket with location
8718           constraint
8719
8720 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
8721         * perl/Amanda/Util.swg: add full_read and full_write
8722         * installcheck/Amanda_Util.pl: test 'em
8723
8724 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
8725         * application-src/amsuntar.pl: Generate valid index stream.
8726
8727 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
8728         * man/xml-source/amanda-applications.7.xml,
8729           man/xml-source/amanda.8.xml: add missing references to applications
8730
8731 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
8732         * application-src/ampgsql.pl: older versions of perl don't like
8733           mixing functions and export tags
8734
8735 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
8736         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
8737           generate more-complete index, improve debugging and error handling
8738
8739 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8740         * common-src/conffile.c: Fix line counting, Remove check for plugin.
8741         * server-src/diskfile.c: Add check for plugin.
8742
8743 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8744         * server-src/planner.c: Default server estimate not larger than half
8745                                 a tape. log a warning.
8746
8747 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8748         * application-src/amsamba.pl: Fix typo and check if smbclient is set.
8749
8750 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8751         * application-src/amgtar.c, application-src/amstar.c:
8752           Do sanity check if required arguments are not provided.
8753
8754 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
8755         * AUTHORS: remove "active" status if not committed in over 2 years
8756         * ChangeLog: clean up some messiness
8757         * contrib/changelog_parse.pl: simple parser for ChangeLog
8758
8759 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8760         * application-src/amgtar.c: Add NO-UNQUOTE to restore.
8761
8762 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8763         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8764           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
8765           recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
8766         * application-src/amgtar.c: add NO-UNQUOTE property.
8767         * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
8768
8769 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
8770         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
8771           fix ampgsql installchecks
8772
8773 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8774         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8775           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
8776           recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
8777
8778 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8779         * application-src/amgtar.c, application-src/amstar.c,
8780           client-src/client_util.c, client-src/client_util.h,
8781           client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
8782           client-src/sendbackup.c, client-src/sendsize.c,
8783           common-src/conffile.c, common-src/conffile.h,
8784           common-src/util.c, oldrecover-src/extract_list.c,
8785           recover-src/extract_list.c,
8786           server-src/server_util.c: Use GPtrArray instead of my_argv[].
8787
8788 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8789         * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
8790           Document the fact that: The { must appear at the end of a line,
8791                                   and the } on its own line.
8792
8793 2009-03-21  Jean-Louis Martineau <martineau@zmanda.com>
8794         * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
8795
8796 2009-03-20  Jean-Louis Martineau <martineau@zmanda.com>
8797         * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
8798         * recover-src/amrecover.h: Add verbose to many prototype.
8799         * recover-src/extract_list.c: Allow to use path for many command.
8800         * recover-src/set_commands.c: Add verbose to many function.
8801         * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
8802
8803 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
8804         (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
8805         * common-src/Makefile.am: don't include genversion.h in distribution
8806           tarballs
8807
8808 2009-03-19  Jean-Louis Martineau <martineau@zmanda.com>
8809         * man/Makefile.am: Add .SECONDARY target.
8810
8811 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
8812         * man/xslt/expand-sambadoc.xsl:
8813         * man/entities/global.entities.in
8814           man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
8815           for 'SEE ALSO' sections
8816         * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
8817           symbol; tweak tapecycle description
8818
8819 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
8820         * xfer-src/Makefile.am: add -release to libamxfer
8821
8822 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
8823         * server-src/amrmtape.pl, installcheck/amrmtape.pl:
8824           re-label tapes if we --erase them and --keep-label is present
8825
8826 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8827         * installcheck/Amanda_Process.pl: Fix for OS return perl.
8828
8829 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8830         * perl/Amanda/Process.pm: Better match of argument.
8831                                   Match 'perl' to any process name.
8832
8833 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8834         * installcheck/Amanda_Process.pl: Check second argument if first
8835                                           argument start with a dash.
8836         * perl/Amanda/Process.pm: The process name is now returned, not perl.
8837
8838 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8839         * man/xml-source/amrmtape.8.xml: Fix.
8840         * perl/Amanda/Process.pm: Find the process name if it is a perl script.
8841         * server-src/amrmtape.pl: Check and create the "log" file if --erase.
8842
8843 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
8844         * application-src/ampgsql.pl: fix numerous bugs, improve debug info
8845
8846 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
8847         * application-src/amgtar.c: fix typo causing check-device to be
8848           interpreted incorrectly
8849
8850 2009-03-17  Dustin J. Mitchell <dustin@zmanda.com>
8851         * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
8852           implementation of the info() method
8853         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8854           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
8855           perl/Amanda/Changer/single.pm: use them
8856         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
8857           test the results
8858
8859 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
8860         * server-src/amlabel.c: give correct exit status on failure
8861
8862 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
8863         * server-src/amstatus.pl: dump in "writing to tape" mode should also
8864                                   be included in the "dumped" summary.
8865
8866 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
8867         * server-src/find.c: Fix listing of partial dump in holding disk.
8868
8869 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
8870         * installcheck/amreport.pl: New file.
8871
8872 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
8873         * common-src/columnar.c: New defaults, allow precision to be set.
8874         * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
8875         * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
8876         * installcheck/Makefile.am: add amreport.
8877         * installcheck/amreport.pl: Check different value of columnspec.
8878         * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
8879
8880 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
8881         * server-src/planner.c: Log quoted qname.
8882
8883 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
8884         * device-src/amtapetype.pl: do not produce broken 'bytes' units
8885         * installcheck/amtapetype.pl: test changes
8886         * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
8887         * common-src/conffile.c: fix default for tapetype:length
8888
8889 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
8890         * common-src/amfeatures.c: improve error handling in
8891           am_string_to_feature, return NULL on error
8892         * amandad-src/amandad_util.c recover-src/amrecover.c
8893           server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
8894           server-src/driver.c server-src/dumper.c server-src/planner.c: always
8895           terminate the string passed to am_string_to_feature
8896
8897 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8898         * server-src/taper.c: return DONE if input file is partial.
8899
8900 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8901         * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
8902           value for boolean properties.
8903
8904 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8905         * server-src/amstatus.pl: Print "failed: process terminated while" for
8906                                   dead run. Change "wait for" for "waiting for".
8907
8908 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8909         * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
8910         * man/xml-source/amstar.8.xml: Document it.
8911
8912 2009-03-10  Dustin J. Mitchell <dustin@zmanda.com>
8913         * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
8914
8915 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
8916         * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
8917
8918 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
8919         * application-src/ampgsql.pl:
8920           set environment variables when running psql (from selfcheck)
8921
8922 2009-03-07  Nikolas Coukouma <atrus@zmanda.com>
8923         * application-src/ampgsql.pl: add selfcheck to ampgsql
8924
8925 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8926         * perl/Amanda/Changer/rait.pm: replace die() with a proper error
8927           return
8928
8929 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8930         * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
8931           config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
8932           configure.in: upgrade to libtool-2.2.4
8933
8934 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8935         * restore-src/restore.c: remove incorrect assertion
8936
8937 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8938         * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
8939           on a bad feature string
8940
8941 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8942         * Makefile.am: always build xfer-src, on client or server
8943         * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
8944           device-src/xfer-device.h device-src/xfer-dest-device.c
8945           device-src/xfer-source-device.c: move device-specific xfer elts to
8946           device-src
8947         * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
8948           generic glue
8949         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
8950           only import server-specific symbols if they are available
8951         * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
8952           installcheck/Amanda_Xfer_serveronly.pl: split into general and
8953           server-specific checks
8954
8955 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
8956         * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
8957           options so we don't print "mkdir ..." lines into our backup data
8958
8959 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>
8960         * installcheck/Amanda_Device.pl: only perform property tests when we
8961           have a working S3 device; and get test counts right
8962
8963 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
8964         * man/xml-source/amanda.conf.5.xml,
8965           man/xml-source/amanda-devices.7.xml,
8966           installcheck/Amanda_Config.pl,
8967           installcheck/Amanda_Device.pl,
8968           common-src/util.c,
8969           common-src/glib-util.c,
8970           common-src/conffile.c,
8971           common-src/conffile.h:
8972           be consistent in the various names for 'true' and 'false' we allow,
8973           specifically in device properties
8974
8975 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
8976         * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
8977           while backing up data dir
8978
8979 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
8980         * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
8981           make ampgsql use runtar (so it can access PostgreSQL's files)
8982
8983 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
8984         * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
8985         * installcheck/Amanda_Changer_rait.pl: test it
8986         * man/xml-source/amanda-changers.7.xml: document it
8987
8988 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
8989         * device-src/rait-device.c: fix failure when parity (last) child
8990           has failed
8991         * installcheck/Amanda_Device.pl: test the fix
8992
8993 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
8994         * changer-src/chg-glue.pl: add debugging
8995         * perl/Amanda/Changer/compat.pm: add debugging
8996
8997 2009-03-03  Nikolas Coukouma <atrus@zmanda.com>
8998         * application-src/ampgsql.pl: don't hang if .backup file never appears
8999
9000 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
9001         * example/amanda-client-postgresql.conf.in:
9002           update example and make it more complete
9003
9004 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
9005         * application-src/ampgsql.pl,
9006           man/xml-source/ampgsql.8.xml: cleanup old WAL files
9007
9008 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
9009         * installcheck/amrmtape.pl,
9010           server-src/amrmtape.pl: zero datestamp with --keep-label
9011
9012 2009-03-01  Nikolas Coukouma <atrus@zmanda.com>
9013         * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
9014
9015 2009-02-27  Jean-Louis Martineau <martineau@zmanda.com>
9016         * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
9017
9018 2009-02-27  Dustin J. Mitchell <dustin@zmanda.com>
9019         * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
9020
9021 2009-02-26  Dustin J. Mitchell <dustin@zmanda.com>
9022         * restore-src/restore.c: if the changer does not provide a device,
9023           use the configured tapedev
9024
9025 2009-02-26  Dan Locks <dwlocks@zmanda.com>
9026         * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
9027           rpm builds will be broken for a bit longer in trunk
9028
9029 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
9030         * application-src/amgtar_perl.pl,
9031           application-src/amlog-script.pl,
9032           application-src/ampgsql.pl,
9033           application-src/amsamba.pl,
9034           application-src/amsuntar.pl,
9035           application-src/amzfs-sendrecv.pl,
9036           application-src/amzfs-snapshot.pl,
9037           application-src/script-email.pl,
9038           perl/Amanda/Application.swg,
9039           perl/Amanda/Script.pm,
9040           perl/Amanda/Script_App.pm:
9041           load config-name/amanda-client.conf as well as amanda-client.conf
9042
9043 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
9044         * application-src/ampgsql.pl,
9045           installcheck/amgtar.pl,
9046           installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
9047
9048 2009-02-25  Nikolas Coukouma <atrus@zmanda.com>
9049         * application-src/amoracle.pl,
9050           application-src/ampgsql.pl,
9051           example/amanda-client-oracle.conf.in,
9052           example/amanda-client-postgresql.conf.in,
9053           installcheck/ampgsql.pl,
9054           man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
9055           in line with conventions
9056
9057 2009-02-24  Jean-Louis Martineau <martineau@zmanda.com>
9058         * amandad-src/amandad.c, application-src/amgtar.c,
9059           changer-src/scsi-changer-driver.c, client-src/client_util.c,
9060           common-src/conffile.c, device-src/s3-device.c,
9061           oldrecover-src/set_commands.c, recover-src/set_commands.c,
9062           server-src/amindexd.c, server-src/planner.c,
9063           server-src/reporter.c: Replace all occurences of index by strchr,
9064                                  Replace all occurences of rindex by strrchr.
9065
9066 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
9067         * device-src/s3.c: make s3_list_keys use its own buffer
9068
9069 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
9070         * device-src/s3.c: fix error buffer handling of overflow data
9071
9072 2009-02-24  Dustin J. Mitchell <dustin@zmanda.com>
9073         * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
9074           property
9075
9076 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
9077         * man/xml-source/ampgsql.8.xml,
9078           man/xml-source/amsamba.8.xml,
9079           man/xml-source/amstar.8.xml,
9080           man/xml-source/amsuntar.8.xml:
9081           document the mapping of configure options to default application
9082           property values
9083
9084 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
9085         * device-src/rait-device.c: actually *report* mismatched child
9086           labels/timestamps; correctly detect the 'first' device; and free old
9087           device label/time
9088
9089 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
9090         * server-src/driver.c: improve confusing out-of-tapes error message
9091
9092 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
9093         * server-src/changer.c: if changer_find is used to search for a
9094           specific tape, do not try a redundant manual scan after the
9095           search fails
9096
9097 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9098         * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
9099           directory to test dumps
9100
9101 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9102         * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
9103           installcheck/Amanda_Changer_disk.pl
9104           installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
9105           installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
9106           installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
9107           installcheck/Installcheck/Config.pm
9108           installcheck/Installcheck/Dumpcache.pm
9109           installcheck/Installcheck/Run.pm installcheck/Makefile.am
9110           installcheck/amarchiver.pl installcheck/amfetchdump.pl
9111           installcheck/amgetconf.pl installcheck/amgtar.pl
9112           installcheck/ampgsql.pl installcheck/amservice.pl
9113           installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
9114           subdirectory of AMANDA_TMPDIR for installcheck temporary files
9115
9116 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9117         * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
9118         * amar-src/amar-test.c common-src/amflock-test.c
9119           common-src/event-test.c common-src/queueing-test.c
9120           common-src/quoting-test.c common-src/semaphore-test.c
9121           device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
9122           drastically
9123
9124 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9125         * common-src/conffile.c: change the default changerfile to
9126           $CONFIG_DIR/changer
9127
9128 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9129         * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
9130         * device-src/device.c: support PROPERTY_COMMENT
9131         * installcheck/Amanda_Device.pl: test it
9132         * man/xml-source/amanda-devices.7.xml: document it
9133
9134 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
9135         * common-src/conffile.c: Add t, tb, tera, ... suffix.
9136         * man/xml-source/amanda.conf.5.xml: Document it.
9137
9138 2009-02-19  Nikolas Coukouma <atrus@zmanda.com>
9139         * example/amanda-client-postgresql.conf.in,
9140           example/Makefile.am,
9141           man/Makefile.am,
9142           man/xml-source/ampgsql.8.xml,
9143           configure.in,
9144           application-src/Makefile.am,
9145           application-src/ampgsql.pl,
9146           installcheck/Makefile.am,
9147           installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
9148         * installcheck/Installcheck/Application.pm:
9149           fix property names in case of underscores
9150         * installcheck/Installcheck/Run.pm:
9151           if application starts with /, don't assume it's in sbin
9152
9153 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9154         * perl/Amanda/Util.swg: move POD to the top of the file, refomat
9155
9156 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9157         * common-src/util.h common-src/util.c: remove unneeded needs_quotes
9158
9159 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9160         * installcheck/Amanda_Types.pl
9161           installcheck/Amanda_Header.pl: rename Amanda::Types to
9162           Amanda::Header, add to_string and from_string methods
9163         * common-src/fileheader.c: fix bug in returned size
9164         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
9165           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
9166           perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
9167           perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
9168           Amanda::Header
9169
9170 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9171         * common-src/Makefile.am common-src/queue.h: remove file
9172         * amandad-src/amandad.c common-src/alloc.c
9173           common-src/bsdtcp-security.c common-src/krb5-security.c
9174           common-src/local-security.c common-src/rsh-security.c
9175           common-src/security-util.c common-src/security-util.h
9176           common-src/ssh-security.c: remove includes and replace TAILQ with
9177           GSList
9178
9179 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
9180         * config/amanda/krb4-security.m4: Remove file
9181         * common-src/krb4-security.c: Remove file.
9182         * example/config.site, example/amanda.conf.in,
9183           client-src/client_util.c, amandad-src/amandad.c,
9184           man/xml-source/amanda-client.conf.5.xml,
9185           man/xml-source/amanda.conf.5.xml,
9186           man/xml-source/amgetconf.8.xml,
9187           configure.in, server-src/dumper.c,
9188           server-src/diskfile.c, perl/Amanda/Constants.pm.in,
9189           installcheck/Amanda_Config.pl, common-src/amfeatures.h,
9190           common-src/security.c, common-src/security.h,
9191           common-src/genversion.c, common-src/amgetconf.pl,
9192           common-src/conffile.c, common-src/Makefile.am,
9193           common-src/amfeatures.c: Remove krb4 support.
9194
9195 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9196         * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
9197
9198 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9199         * common-src/debug.h common-src/debug.c: add ability to supporess
9200           tracebacks
9201         * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
9202
9203 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9204         * perl/Makefile.am: actually install Amanda::Change::rait
9205
9206 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9207         * common-src/util.c: add missing 'const'
9208
9209 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9210         * common-src/util.c common-src/util.h device-src/rait-device.c
9211           perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
9212           expand_braced_alternates and collapse_braced_alternates out of
9213           rait-device.c and into util.c, and make them available from Perl
9214         * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
9215           perl/Makefile.am: new changers
9216         * installcheck/Amanda_Changer_null.pl
9217           installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
9218           changers
9219         * changer-src/Makefile.am changer-src/chg-null.sh
9220           changer-src/chg-rait.sh: remove old scripts
9221         * man/xml-source/amanda-changers.7.xml
9222           man/xml-source/amanda-devices.7.xml: update documentation
9223
9224 2009-02-18  John Hein <jhein@timing.com>
9225         * common-src/dgram.c: set the send buffer size when creating a new
9226           socket
9227
9228 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9229         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
9230           change PP_SCRIPT to SCRIPT, to match the name of the config param
9231         * server-src/diskfile.c installcheck/Amanda_Config.pl:
9232           use new symbols
9233
9234 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9235         * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
9236           and applications
9237
9238 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9239         * common-src/conffile.c common-src/conffile.h: use a simple
9240           identlist_t for pp_scripts
9241         * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
9242           server-src/server_util.c: use identlist_t's
9243
9244 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
9245         * perl/Amanda/Config.swg: perl bindings
9246
9247 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
9248         * common-src/conffile.c common-src/conffile.h: Change
9249           DUMPTYPE_APPLICATION to give a string val_t; remove the
9250           pointer-to-application val_t subtype; also fix many
9251           memory leaks and simplify memory management
9252         * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
9253           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
9254           server-src/planner.c: use new val_t result correctly
9255
9256 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
9257         * client-src/selfcheck.c: Do dle check without disk.
9258         * common-src/amxml.c: Accept a dle without a disk.
9259         * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
9260           application-src/amgtar_perl.pl,
9261           application-src/amsamba.pl, application-src/amstar.c,
9262           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
9263           application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
9264                                              a disk is not provided.
9265
9266 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
9267         patch by glowkrantz
9268         * application-src/amzfs-sendrecv.pl: Use compression ratio for
9269                                              compressed filesystem.
9270
9271 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
9272         * server-src/amdump.sh: Check if planner/driver are executable and
9273                                 log error.
9274
9275 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
9276         * restore-src/amfetchdump.c: remove unintended debugging messages
9277
9278 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
9279         * changer-src/chg-manual.sh: make messages clearer
9280         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
9281           _manual_scan
9282         * server-src/amcheckdump.pl: handle errors better
9283
9284 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
9285         * changer-src/chg-manual.sh: make messages clearer
9286         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
9287           _manual_scan
9288         * server-src/amcheckdump.pl: handle errors better
9289
9290 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
9291         * recover-src/extract_list.c: Set all_level with level_t.
9292
9293 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
9294         * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
9295           Jose Hales-Garcia <jose@stat.ucla.edu>
9296
9297 2009-02-12  Jean-Louis Martineau <martineau@zmanda.com>
9298         * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
9299         * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
9300                                     NONBLOCKING_OPEN property.
9301         * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
9302         * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
9303                                                property.
9304         * server-src/amdevcheck.pl: Call $device->configure(1).
9305
9306 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
9307         * changer-src/chg-rait.sh: get directory handling right (patch from
9308           Jim.pennino on wiki.zmanda.com)
9309         * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
9310           do_eject
9311         * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
9312           volume that's not currently reserved
9313         * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
9314           after cleaning or ejecting
9315         * installcheck/Amanda_Changer_compat.pl: updated tests
9316
9317 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
9318         * perl/Makefile.am: add a version number to libamglue
9319
9320 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
9321         * restore-src/restore.c: fix incorrect assertion
9322
9323 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
9324         * config/amanda/debugging.m4: fix --disable-syntax-checks
9325
9326 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
9327         * config/amanda/debugging.m4: add --disable-syntax-checks
9328         * config/automake/scripts.am: disable them
9329         * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
9330
9331 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
9332         * man/xml-source/amanda.conf.5.xml: remove TODO
9333
9334 2009-02-07  Dustin J. Mitchell <dustin@zmanda.com>
9335         * common-src/event.c: use built-in child watch source on FreeBSD
9336
9337 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
9338         * server-src/dumper.c: options is already unquoted.
9339         * common-src/util.c: argument should not be quoted when added to argv.
9340
9341 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
9342         * installcheck/Amanda_Changer_compat.pl: remove debugging code
9343
9344 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
9345         patch by Yoshihiro Ishikawa
9346         * recover-src/extract_list.c: Handle application-api.
9347
9348 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
9349         * installcheck/Amanda_Changer_compat.pl: support 'eject'
9350         * perl/Amanda/Changer.pm: change release/do_relase relationship
9351         * perl/Amanda/Changer/compat.pm: same
9352         * perl/Amanda/Changer/disk.pm: same
9353         * perl/Amanda/Changer/single.pm: same
9354
9355 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
9356         * common-src/conffile.h: Add ES_ES.
9357         * common-src/conffile.c: Handle ES_ES in switch.
9358         * server-src/amadmin.c: Handle ES_ES in switch.
9359         * client-src/sendsize.c: Works with many multiple estimate method.
9360         * server-src/planner.c: Works with many multiple estimate method.
9361
9362 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
9363         * application-src/amgtar.c, application-src/amgtar_perl.pl,
9364           application-src/amsamba.pl, application-src/amstar.c,
9365           application-src/amsuntar.pl,
9366           application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
9367         * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
9368         * client-src/client_util.h: New field to keep its value.
9369
9370 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
9371         * common-src/amfeatures.c,
9372           common-src/amfeatures.h: And fe_xml_level_server amfeature.
9373         * common-src/amxml.c: parse <server> tag in level tag.
9374         * server-src/planner.c: Send <server> tag,
9375                         Move estimate server calculation to its own function.
9376
9377 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
9378         * client-src/client_util.c, client-src/sendbackup-gnutar.c,
9379           client-src/sendbackup.c, client-src/sendbackup-dump.c,
9380           client-src/sendsize.c,
9381           client-src/selfcheck.c, recover-src/extract_list.c,
9382           common-src/amxml.c,
9383           common-src/amxml.h: Change Change dle->level for dle->levellist,
9384                               each element is a level_t struct.
9385
9386 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
9387         * amplot/amplot.awk: Set term to x11.
9388
9389 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
9390         * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
9391         * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
9392         * common-src/amxml.c: Parse multiple estimate value.
9393         * common-src/amxml.h: Change estimate for estimatelist in dle_t.
9394         * server-src/diskfile.h (xml_estimate): Protoype.
9395         * server-src/diskfile.c (xml_estimate): New function.
9396         * server-src/amcheck.c: Use xml_estimate.
9397         * server-src/planner.c: Use xml_estimate.
9398         * client-src/sendbackup.c, client-src/sendsize.c,
9399           client-src/selfcheck.c: Use first estimate in estimatelist.
9400
9401 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
9402         * common-src/conffile.c: Correctly copy pp_scriptlist.
9403
9404 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
9405         * server-src/amstatus.pl: Remove a bogus line.
9406
9407 2009-01-30  Dustin J. Mitchell <dustin@zmanda.com>
9408         * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
9409
9410 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
9411         * recover-src/amrecover.c: Always print error.
9412         * server-src/amindexd.c: read stderr of uncompress and sort process,
9413           put the result in a GPtrArray, send the complete array to amrecover.
9414
9415 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
9416         * common-src/conffile.c: Typo.
9417
9418 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
9419         * common-src/conffile.c, common-src/conffile.h,
9420           server-src/diskfile.h, server-src/amcheck.c,
9421           server-src/planner.c, server-src/amadmin.c,
9422           server-src/diskfile.c, perl/Amanda/Config.swg,
9423           installcheck/Amanda_Config.pl: Use a list of estimate.
9424
9425 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
9426         * common-src/conffile.c, common-src/conffile.h,
9427           server-src/amcheck.c, server-src/holding.c,
9428           server-src/driver.c, perl/Amanda/Config.swg,
9429           installcheck/Amanda_Config.pl: 'define' keyword is use only to define
9430           an holding disk, you must use 'holdisgdisk' without 'define' if you
9431           want to use it.
9432
9433 2009-01-29  Dustin J. Mitchell <dustin@zmanda.com>
9434         * config/config.guess config/config.sub: new updates from FSF
9435
9436 2009-01-29  Benjamin Lewis <bhlewis@purdue.edu>
9437         * autogen: fix quoting error
9438         * config/amanda/dumpers.m4:  use a hostname we're more confident
9439           doesn't exist
9440
9441 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
9442         * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
9443           perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
9444           perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
9445
9446 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
9447         * common-src/conffile.c: support "." as a config name, indicating
9448           "this directory"
9449         * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
9450           old-school changer shell scripts
9451         * man/xml-source/amanda.8.xml: docs
9452         * perl/Amanda/Config.swg: docs
9453
9454 2009-01-28  Nikolas Coukouma <atrus@zmanda.com>
9455         * installcheck/Makefile.am: do not run client software checks --without-client
9456
9457 2009-01-28  Jean-Louis Martineau <martineau@zmanda.com>
9458         * config/automake/scripts.am: Fix another get line numbers right when
9459           syntax-checking perl scripts
9460
9461 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
9462         * installcheck/Installcheck/Application.pm: make sure all data is read
9463         * installcheck/amgtar.pl: check if GNU tar is present,
9464           avoid using atime-preserve, make sure reported and actual size match
9465
9466 2009-01-27  Dustin J. Mitchell <dustin@zmanda.com>
9467         * installcheck/amgtar.pl: fix typo
9468
9469 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
9470         * installcheck/Installcheck/Application.pm: Add Installcheck::Application
9471           harness for running things via the Application API
9472         * installcheck/amgtar.pl: Add installchecks for amgtar
9473         * installcheck/Makefile.am: Add files to build and distribution
9474
9475 2009-01-26  Dustin J. Mitchell <dustin@zmanda.com>
9476         * config/automake/scripts.am: get line numbers right when
9477           syntax-checking perl scripts
9478
9479 2009-01-26 Satya Ganga <gsat@zmanda.com>
9480         * xml-source/amsuntar.8.xml : Update man page with RBAC info
9481         * application-src/amsuntar.pl : Adding support for estimate
9482
9483 2009-01-23  Dustin J. Mitchell <dustin@zmanda.com>
9484         * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
9485           used by the tape device
9486         * device-src/tape-device.c: enable appending, using F_NOOP when
9487           necessary to avoid writing a double filemark
9488         * installcheck/Amanda_Device.pl: new tests
9489
9490 2009-01-22  Dustin J. Mitchell <dustin@zmanda.com>
9491         * common-src/fileheader.c common-src/fileheader.h
9492           device-src/device.c device-src/device.h: make header-
9493           building more flexible, allowing varying sizes
9494         * device-src/s3-device.c: use the new flexibility to write only the
9495           header data necessary to S3
9496         * device-src/tape-device.c device-src/vfs-device.c
9497           restore-src/restore.c server-src/chunker.c server-src/dumper.c
9498           server-src/holding.c: use new function signatures, without changing
9499           functionality
9500
9501 2009-01-22  Jean-Louis Martineau <martineau@zmanda.com>
9502         * man/xml-source/amstar.8.xml: Typo.
9503
9504 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
9505         * server-src/driver.c: Add call to short_dump_state().
9506
9507 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
9508         * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
9509
9510 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>,
9511             Dustin J. Mitchell <dustin@zmanda.com>
9512         * common-src/fileheader.c: Remove strquotedstr function.
9513         * common-src/quoting-test.c: Test strquotedstr function.
9514         * common-src/util.c: Add prototype for strquotedstr function.
9515         * common-src/util.h: Add new strquotedstr function.
9516
9517 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
9518         * application-src/Makefile.am: Typo
9519
9520 2009-01-21  Dustin J. Mitchell <dustin@zmanda.com>
9521         Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
9522         * packaging/rpm/amanda.spec: detect and properly support suse11.1,
9523           with a temporary hack to support suse11, too
9524
9525 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
9526         * server-src/amstatus.pl: Fix use of %free and %qlen keys.
9527
9528 2009-01-20 Dan Locks <dwlocks@zmanda.com>
9529         * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
9530           libtermcap.so.2 for fedora, change tar requirement to %{tarver}
9531
9532 2009-01-20 Dan Locks <dwlocks@zmanda.com>
9533         * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
9534           install perl for the client package add "directory mode" to defattr
9535           statements where appropriate.
9536
9537 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
9538         * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
9539
9540 2009-01-19 Satya Ganga <gsat@zmanda.com>
9541         * application-src/amsuntar.pl : New amsuntar application
9542         * application-src/Makefile.am : Make file updates to include amsuntar
9543         * man/entities/global.entities.in : Add to gsat  to the name list
9544         * man/Makefile.am  man/xml-source/amsuntar.8.xml : add new man amsuntar man page
9545
9546 2009-01-19  Dustin J. Mitchell <dustin@zmanda.com>
9547         * device-src/vfs-device.c: remove bogus locking stubs that are
9548           making syscalls like close(-1); fix error handling in read_label
9549           if check_is_dir fails()
9550
9551 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
9552         * device-src/vfs-device.c: robust_open can return fd 0.
9553
9554 2009-01-19  Tom Robinson <tom.robinson@constantstream.com>
9555         * server-src/amoverview.pl: fix parsing of filenames containing colons
9556
9557 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
9558         * application-src/amzfs-sendrecv.pl: Handle incremental,
9559                                              new KEEP-SNAPSHOT property.
9560         * man/xml-source/amzfs-sendrecv.8.xml: Document it.
9561         * application-src/teecount.c: New program.
9562         * application-src/Makefile.am: Add teecount.
9563         * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
9564         * common-src/amanda.h: include "safe-read.h"
9565
9566 2009-01-17  Jean-Louis Martineau <martineau@zmanda.com>
9567         * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
9568                                   result.
9569
9570 2009-01-16 Dan Locks <dwlocks@zmanda.com>
9571         * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
9572
9573 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
9574         * packaging/rpm/amanda.spec: Fix for fedora 10.
9575
9576 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
9577         * device-src/vfs-device.c: don't cache the dir_handle, as
9578           such caching does not work on some network filesystems
9579
9580 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
9581         * man/xml-source/amanda.conf.5.xml: add documentation
9582           of inheritance for config sections
9583
9584 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
9585         * device-src/amtapetype.pl: add a 'config' parameter
9586         * man/xml-source/amtapetype.8.xml: documentation
9587         * installcheck/amtapetype.pl: test with a small vtape
9588
9589 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
9590         * server-src/driver.c: Use bitwise NOT for taper_state.
9591
9592 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
9593         * server-src/taper.c: Go to next tape if device_start_file fail.
9594         * device-src/tape-device.c: write a filemark when a file is finished.
9595         * device-src/tape-device.h (TapeDevice): Remove first_file.
9596
9597 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
9598         * client-src/sendbackup.c: Fix for no index with application.
9599         * application-src/amstar.c: Improve error reporting.
9600         * application-src/amgtar.c: Improve error reporting.
9601
9602 2009-01-14  Jean-Louis Martineau <martineau@zmanda.com>
9603         * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
9604         * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
9605
9606 2009-01-13  Dustin J. Mitchell <dustin@zmanda.com>
9607         * perl/Amanda/Paths.pm.in: add $localstatedir
9608         * server-src/amserverconfig.pl: remove extraneous /
9609
9610 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
9611         * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
9612                                             defining an holdingdisk.
9613         * common-src/conffile.c: Document it.
9614
9615 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
9616         * server-src/amcheck.c: Check fallback_splitsize is smaller than
9617                                 physmem_total().
9618         * server-src/taper-mem-port-source.c: Dont; check physmem_available.
9619
9620 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
9621         * server-src/server_util.c: New get_pending_cmd function.
9622         * server-src/server_util.h: get_pending_cmd prototype.
9623         * server-src/driver.c: Send message to dumper in ABORT command.
9624         * server-src/driverio.c: Send message to dumper in ABORT command.
9625         * server-src/dumper.c: Check for ABORT cmd.
9626         * server-src/reporter.c: Don't log duplicate
9627                                  'Not enough holding disk space' error
9628
9629 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
9630         * server-src/driver.c: Fix result_argv subscript.
9631
9632 2009-01-08  Jean-Louis Martineau <martineau@zmanda.com>
9633         * restore-src/amfetchdump.c: Write to stderr.
9634
9635 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>,
9636             Dustin J. Mitchell <dustin@zmanda.com>
9637         * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
9638           after it is use.
9639         * installcheck/Amanda_Device.pl: Add more tape check.
9640
9641 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
9642         * server-src/taper.c: Don't call changer_label() if a changer is not
9643                               in use.
9644
9645 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
9646         * server-src/driverio.c: Set *result_argv to NULL on EOF.
9647         * server-src/taper-mem-port-source.c: Set an error if the memory can't
9648           be allocated for the memory buffer.
9649
9650 2009-01-05  Dustin J. Mitchell <dustin@zmanda.com>
9651         * client-src/runtar.c: remove unnecessary check for existence of
9652           CLIENT_LOGIN
9653
9654 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
9655         * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
9656           perl/Amanda/Xfer.swg: Fix compiler warning.
9657
9658 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
9659         * config/automake/scripts.am: Remove 'use lib' line before doing check.
9660
9661 2008-12-22  Paul Yeatman <pyeatman@zmanda.com>
9662         * man/entities/global.entities.in: added author/email entity for me
9663         * man/xml-source/amanda-auth.7.xml: newly added man page
9664         * man/Makefile.am: added amanda-auth to section 7
9665         * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
9666         and added link to amanda-auth man page
9667         * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
9668         amanda-auth and added link to amanda-auth man page
9669
9670 2008-12-22  Nikolas Coukouma <atrus@zmanda.com>
9671         * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
9672
9673 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
9674         * device-src/s3.c: translate error code 0 to "None", not NULL
9675
9676 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
9677         * application-src/amgtar.c,
9678           application-src/amstar.c: Use sizeof(line) for argument to fgets.
9679
9680 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
9681         * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
9682                                            in section 5.
9683
9684 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
9685         * installcheck/Installcheck/Dumpcache.pm
9686           installcheck/Installcheck/Run.pm installcheck/amdump.pl
9687           installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
9688           it, and use it in amdump and pp-scripts
9689         * application-src/amlog-script.pl: don't pretend to be script-email
9690         * man/Makefile.am: amanda-archive-format should be section 5
9691         * man/xml-source/amanda-archive-format.5.xml: small tweaks
9692         * man/xml-source/amanda-changers.7.xml: fix authorship
9693         * man/xml-source/amanda.8.xml: add link to amvault(8)
9694         * man/xml-source/amvault.8.xml: enumerate limitations of this version
9695         * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
9696
9697 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
9698         * config/amanda/dirs.m4: add --with-amdatadir
9699         * example/Makefile.am: use it for examples and templates
9700         * perl/Amanda/Paths.pm.in: add $amdatadir
9701         * server-src/amserverconfig.pl: use it
9702         * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
9703           so that built packages still put examples and templates in
9704           /var/lib/amanda
9705
9706 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
9707         * application-src/amstar.c: Use fgets to read star output.
9708         * application-src/amgtar.c: Use fgets to read gtar output.
9709
9710 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>,
9711             Dustin J. Mitchell <dustin@zmanda.com>
9712         * common-src/util.c: Convert underscore in application and script
9713                              property name to dash.
9714         * device-src/property.c: Make underscore and dash equal in device
9715                                  property name.
9716         * installcheck/Amanda_Device.pl: Check device property name with
9717                                          mixed case and dash.
9718         * installcheck/pp-scripts.pl: Check property name with underscore.
9719
9720 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
9721         * server-src/reporter.c: Fix reporting of FLUSH.
9722
9723 2008-12-21  Dustin J. Mitchell <dustin@zmanda.com>
9724         * device-src/s3-device.c: use devpay if the user token property is
9725           given; otherwise, regular S3
9726         * installcheck/Amanda_Device.pl: adjust tests to correspond
9727
9728 2008-12-19  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
9729         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
9730           Reset read and write when retrying a failed request
9731
9732 2008-12-19  Dustin J. Mitchell <dustin@zmanda.com>
9733         * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
9734           to test the SSL_CA_INFO property
9735
9736 2008-12-19  Jean-Louis Martineau <martineau@zmanda.com>
9737         * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
9738
9739 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
9740         * common-src/security-util.c: Don't free 'rc'.
9741
9742 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
9743         * man/xml-source/amgtar.8.xml: Improve documentation of regex.
9744
9745 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
9746         * common-src/conffile.h (anonymous_value): New prototype.
9747         * common-src/conffile.c (anonymous_value): New function.
9748         * common-src/conffile.c: Use anonymous_value.
9749         * server-src/diskfile.c: Use anonymous_value.
9750
9751 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9752         * perl/Amanda/Script_App.pm: Fix infinite loop.
9753         * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
9754
9755 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9756         * server-src/planner.c: Run script only if todo is set.
9757
9758 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9759         * installcheck/amfetchdump.pl: chdir() before rmtree().
9760
9761 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9762         * installcheck/amarchiver.pl: chdir() before rmtree().
9763
9764 2008-12-17  Dustin J. Mitchell <dustin@zmanda.com>
9765         * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
9766         * installcheck/pp-scripts.pl: add atime-preserve property
9767
9768 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
9769         * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
9770           of amanda.css.
9771
9772 2008-12-16 Dan Locks <dwlocks@zmanda.com>
9773         * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
9774           "present but cannot be compiled" warning during debian packaging.
9775
9776 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
9777         * common-src/security-util.c: Don't close if it's not open.
9778
9779 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
9780         * application-src/Makefile.am: Add amlog-script.
9781         * application-src/amlog-script.pl: New scripts.
9782         * server-src/amcheck.c , server-src/planner.c,
9783           server-src/server_util.c, server-src/server_util.h,
9784           server-src/driver.c: Add level argument to run_server_scripts().
9785           The script is executed with that level argument.
9786         * installcheck/pp-scripts.pl: Check scripts.
9787         * installcheck/Makefile.am: Add pp-scripts.
9788
9789 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
9790         * man/Makefile.am man/xml-source/amanda-changers.7.xml
9791           man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
9792           man/xml-source/amanda.conf.5.xml: new documentation
9793         * perl/Amanda/Changer.pm: not finished yet!
9794         * perl/Amanda/Changer/compat.pm: fix error message
9795         * server-src/changer.c changer-src/chg-glue.pl:
9796           better error handling
9797
9798 2008-12-15  Jean-Louis Martineau <martineau@zmanda.com>
9799         * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
9800
9801 2008-12-15  Dustin J. Mitchell <dustin@zmanda.com>
9802         * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
9803         * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
9804           stringify bigints in is_deeply arguments
9805         * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
9806         * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
9807           BigIntCompat for perl-5.6 compatibility
9808
9809 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
9810         * perl/Makefile.am,
9811           perl/amglue/amglue.swg,
9812           perl/amglue/filehandles.swg: add typemap to convert perl file handles
9813           to int file descriptors
9814         * installcheck/Amanda_Device.pl: update usage
9815         * perl/Amanda/Device.swg,
9816           perl/Amanda/Archive.swg,
9817           perl/Amanda/MainLoop.swg: update docs, make typemap apply
9818
9819 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
9820         * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
9821           ability to test well with just DevPay credentials
9822
9823 2008-12-14  Dustin J. Mitchell <dustin@zmanda.com>
9824         * man/Makefile.am: change manpage build process
9825         * man/entities/global.entities.in: generate with config.status
9826         * man/xslt/html.xsl.in: new templates to handle authors
9827         * man/xslt/man.xsl.in: new templates to handle authors
9828         * man/xml-source/*.xml: change specification of authors
9829         * man/xml-source/amanda-applications.7.xml: add links to apps
9830         * man/xml-source/amanda-scripts.7.xml: add links to scripts
9831
9832 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9833         * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
9834                                             always be at the beginning of the line.
9835
9836 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9837         * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
9838
9839 2008-12-12  John Hein <jhein@timing.com>
9840         * server-src/amdump.sh: fix Open3 invocation to work on
9841           FreeBSD-4.x
9842
9843 2008-12-12  Nikolas Coukouma <atrus@zmanda.com>
9844         * device-src/s3-device.c,
9845           device-src/s3.c,
9846           device-src/s3.h,
9847           installcheck/Amanda_Device.pl,
9848           man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
9849
9850 2008-12-12  Dustin J. Mitchell <dustin@zmanda.com>
9851         * client-src/sendbackup-dump.c: fix previous commit to not use
9852           precompiler directives in the middle of a macro invocation
9853
9854 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9855         * NEWS, ReleaseNotes: Add amzfs-sendrecv.
9856         * client-src/sendbackup.c: Fix indexd test.
9857         * man/Makefile.am: Add amzfs-sendrecv.8.
9858         * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
9859         * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
9860         * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
9861         * man/xml-source/amzfs-sendrecv.8.xml: New man page.
9862         * application-src/amzfs-sendrecv.pl: New application.
9863         * application-src/amzfs-snapshot.pl: Fix to use
9864                                              Amanda::Application::Zfs
9865         * application-src/Makefile.am: Add amzfs-sendrecv.
9866         * perl/Amanda/Script_App.pm: Exit instead of die.
9867         * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
9868         * perl/Makefile.am: Add Amanda/Application and
9869                             Amanda/Application/Zfs.pm
9870
9871 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9872         * recover-src/extract_list.c: Wait to read at least one byte from the
9873                                       data stream before forking the child.
9874
9875 2008-12-12  Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
9876         * changer-src/chg-zd-mtx.sh: fix bashisms
9877         * client-src/sendbackup-dump.c: use -L on systems that support it
9878
9879 2008-12-11 Dan Locks <dwlocks@zmanda.com>
9880         * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
9881
9882 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
9883         * NEWS, ReleaseNotes: Add amsamba.
9884
9885 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
9886         * server-src/driver.c: Check start_t before doing a dump to tape.
9887
9888 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
9889         * installcheck/Makefile.am: distribute Dumpcache.pm
9890
9891 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
9892         * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
9893         * installcheck/Installcheck/Config.pm: add cleanup()
9894         * installcheck/Installcheck/Run.pm: call I::C::cleanup()
9895         * installcheck/Makefile.am: add _seupcache
9896         * installcheck/_setupcache.pl: set up the amdump cache first thing
9897         * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
9898           installcheck/amdump.pl installcheck/amfetchdump.pl
9899           installcheck/amrmtape.pl: use dumpcache
9900
9901 2008-12-10  Nikolas Coukouma <atrus@zmanda.com>
9902         * device-src/s3.c: Generate date header independently of locale
9903
9904 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
9905         * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
9906         * installcheck/Amanda_Disklist.pl: fix tests
9907
9908 2008-12-09  C R Ritson.
9909         * server-src/reporter.c: Add threshold to small and big estimate.
9910
9911 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
9912         * client-src/client_util.c: Parse RECOVER-MODE application support.
9913         * client-src/client_util.h (backup_support_option_t):
9914                                    Add smb_recover_mode.
9915         * client-src/sendsize.c: Fix size.
9916         * man/Makefile.am: Add amsamba.8.
9917         * man/xml-source/amsamba.8.xml: New man page.
9918         * man/xml-source/amanda-applications.7.xml: List amsamba.
9919         * man/xml-source/amanda.8.xml: List amsamba.
9920         * application-src/Makefile.am (CHECK_PERL): Add amsamba
9921         * application-src/amsamba.pl: New application.
9922         * recover-src/extract_list.c: Get support option from application
9923           and set --recover-mode if needed.
9924         * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
9925         * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
9926         * perl/Amanda/Paths.pm.in: Add $sysconfdir.
9927         * perl/Amanda/Util.swg: Add skip_quoted_string.
9928
9929 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
9930         * man/xml-source/amstar.8.xml: Typo.
9931
9932 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
9933         * man/xml-source/amanda.conf.5.xml: Fix plugin location.
9934
9935 2008-12-09  Nikolas Coukouma <atrus@zmanda.com>
9936         * installcheck/amrmtape.pl,
9937           man/xml-source/amrmtape.8.xml,
9938           server-src/amrmtape.pl: add --cleanup option to amrmtape
9939           alphabetize command-line options
9940
9941 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
9942         * perl/Amanda/Disklist.swg: return a value from
9943           read_disklist_internal
9944
9945 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
9946         * common-src/conffile.c common-src/conffile.h
9947           installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
9948           perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
9949           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
9950           server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
9951           DUMPTYPE_AUTH, with related changes to disk_t
9952
9953 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
9954         * perl/Makefile.am installcheck/Amanda_Disklist.pl
9955           perl/Amanda/Disklist.swg installcheck/Makefile.am:
9956           new module + tests
9957         * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
9958           parameter
9959         * common-src/conffile.h: tag host-related parameters
9960         * perl/Amanda/Config.swg: POD typo
9961         * server-src/diskfile.h: comments
9962
9963 2008-12-08  Nikolas Coukouma <atrus@zmanda.com>
9964         * installcheck/amrmtape.pl,
9965           man/xml-source/amrmtape.8.xml,
9966           server-src/amrmtape.pl: add --keep-label option to amrmtape
9967
9968 2008-12-07  Dustin J. Mitchell <dustin@zmanda.com>
9969         * server-src/Makefile.am server-src/amvault.pl: new, experimental
9970           script to copy data from secondary to tertiary volumes
9971         * common-src/fileheader.c: strip spurious ' ' from headers
9972         * man/Makefile.am man/xml-source/amvault.8.xml: docs
9973         * perl/Amanda/DB/Catalog.pm: add kbps calculation
9974         * perl/Amanda/Device.swg: add volume_header() method
9975
9976 2008-12-05  Dustin J. Mitchell <dustin@zmanda.com>
9977         * server-src/taper.c: remove dead code that can cause compiler errors
9978
9979 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
9980         * device-src/device.c,
9981           device-src/vfs-device.c,
9982           installcheck/Amanda_Device.pl: fix erase() for VFS device
9983         * server-src/amrmtape.pl: fix rollback, erase() call setup
9984
9985 2008-12-05  Jean-Louis Martineau <martineau@zmanda.com>
9986         * server-src/driverio.c: Send a message with NO-NEW-TAPE.
9987         * server-src/driver.c: Generate message for NO-NEW-TAPE, call
9988           start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
9989           for INPUT-ERROR and TAPE-ERROR
9990         * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
9991
9992 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
9993         * server-src/amrmtape.pl:
9994           man/xml-source/amrmtape.8.xml,
9995           installcheck/amrmtape.pl:  add --empty and --changer options for erasing media
9996
9997 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
9998         * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
9999           Add erase method to the device class
10000         * device-src/property.c, device-src/property.h:
10001           Add FULL_DELETION property so devices can indicate if they implement erase
10002         * xml-source/amanda-devices.7.xml: document FULL_DELETION property
10003         * device-src/null-device.c, device-src/rait-device.c:
10004           Indicate that these do not implement erase (via FULL_DELETION)
10005         * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
10006         * device-src/s3-device.c: Add delete_all_files helper.
10007           Return FALSE on error in one place.
10008         * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
10009         * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
10010           Don't usually retry when bucket is missing
10011
10012 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
10013         * device-src/device.c,
10014           device-src/s3-util.c,
10015           device-src/device.h,
10016           device-src/s3-util.h,
10017           device-src/null-device.c,
10018           device-src/s3-device.c,
10019           device-src/property.c,
10020           device-src/s3.c,
10021           device-src/tape-device.c,
10022           device-src/property.h,
10023           device-src/s3.h,
10024           device-src/vfs-device.c,
10025           device-src/rait-device.c: strip trailing whitespace
10026
10027 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
10028         * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
10029           the changer is not seekable (hack to make slotinfofile work)
10030
10031 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
10032         * changer-src/chg-glue.pl: add labelling support
10033         * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
10034           changers
10035         * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
10036           slots to labels on a best-information-available basis
10037
10038 2008-12-03  Nikolas Coukouma <atrus@zmanda.com>
10039         * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
10040           convert amrmtape to perl
10041         * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
10042         * man/xml-source/amrmtape.8.xml: document new long options
10043
10044 2008-12-03  Satya Ganga <gsat@zmanda.com>
10045         * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
10046           command instead of "eject" which is not supported on solaris.
10047
10048 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
10049         * man/xml-source/amanda.conf.5.xml: Provide default unit.
10050
10051 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
10052         * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
10053
10054 2008-12-01  Satya Ganga <gsat@zmanda.com>
10055         * server-src/amdevcheck.pl: add ability to print device properties
10056         * man/xml-source/amdevcheck.8.xml: new docs
10057         * installcheck/amdevcheck.pl: new tests
10058         * installcheck/Installcheck/Run.pm
10059           installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
10060
10061 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
10062         * device-src/s3.c: fix signedness
10063
10064 2008-12-01  Dustin J. Mitchell <dustin@zmanda.com>
10065         * common-src/util.c: fix mishandling of trailing backslash in
10066           unquote_string
10067
10068 2008-12-01  Jean-Louis Martineau <martineau@zmanda.com>
10069         * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
10070           packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
10071           configure.in: Change version to 2.6.2alpha.
10072
10073 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
10074         * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
10075           by adding some "null-op" read and write functions.
10076
10077 2008-11-27  Jean-Louis Martineau <martineau@zmanda.com>
10078         * server-src/amstatus.pl: Correctly parse degraded size.
10079
10080 2008-11-26  Jean-Louis Martineau <martineau@zmanda.com>
10081         * client-src/sendbackup.c: Set application in extraction command.
10082
10083 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
10084         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
10085         * ReleaseNotes: Release notes for 2.6.1b1.
10086         * NEWS: News for 2.6.1b1.
10087         * packaging/deb/rules, packaging/deb/buildpkg,
10088           packaging/rpm/buildpkg,
10089           packaging/rpm/amanda.spec: Change version to 2.6.1b1.
10090
10091 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
10092         * config/amanda/bsd-security.m4: Fix.
10093         * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
10094                                             default.
10095         * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
10096
10097 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
10098         * changer-src/Makefile.am changer-src/chg-glue.pl:
10099           add new c-to-perl glue script
10100         * server-src/changer.c: interface with new script
10101         * server-src/amtape.c man/xml-source/amtape.8.xml:
10102           remove 'slot last' and 'slot prev'
10103         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
10104           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
10105           new Changer API
10106         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
10107           installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
10108           installcheck/Makefile.am: tests for all of it
10109
10110 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
10111         * example/template.d/advanced.conf.in: don't imply that
10112           maxdumpsize is in bytes
10113
10114 2008-11-21  Nikolas Coukouma <atrus@zmanda.com>
10115         * device-src/s3.c: work around a bug in Amazon's HTTP implementation
10116           by avoiding HEAD requests.
10117
10118 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
10119         * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
10120                                                             argument is NULL.
10121         * restore-src/restore.c: Also check for F_EMPTY.
10122
10123 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
10124         * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
10125                                  that should terminate.
10126
10127 2008-11-21  Dustin J. Mitchell <dustin@zmanda.com>
10128         * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
10129                                  fail.
10130
10131 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
10132         * server-src/server_util.c: Skip one field in parsing INFO pid line.
10133
10134 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
10135         * oldrecover-src/extract_list.c: Use config.
10136         * server-src/dumper.c: Check dle_str for NULL.
10137
10138 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
10139         * server-src/amdump.sh: Run amreport if the 'log' file already exist.
10140
10141 2008-11-20  Urs Schurer <urs@sitb.de>
10142         * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
10143           in process_ls_dump
10144
10145 2008-11-19 Satya Ganga <gsat@zmanda.com>
10146         * example/inetd.conf.amandaserver.in: Add serverconfig file
10147         * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
10148
10149 2008-11-18 Dan Locks <dwlocks@zmanda.com>
10150         * packaging/rpm/amanda.spec: removed conditionals around
10151           perl(ExtUtils::Embed) so that buildrequires applies to all platforms
10152
10153 2008-11-18  Satya Ganga <gsat@zmanda.com>
10154         * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
10155
10156 2008-11-18  Jean-Louis Martineau <martineau@zmanda.com>
10157         * application-src/amstar.c: Free qdisk after the loop.
10158         * application-src/amgtar.c: Free qdisk after the loop.
10159
10160 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
10161         * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
10162
10163 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
10164         * server-src/taper.c: Fix formating.
10165
10166 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
10167         * server-src/amstatus.pl: Parse "taper: using label ..." line.
10168         * server-src/driver.c: Print tape size.
10169         * server-src/amtoc.pl: Fix for new log format.
10170         * server-src/reporter.c: Increase field width.
10171         * server-src/taper.c: Print number of kbytes written to each tape.
10172
10173 2008-11-14  Dustin J. Mitchell <dustin@zmanda.com>
10174         * device-src/s3-device.c: eliminate an extra buffer copy in the
10175           common case where the caller supplies a large enough buffer
10176         * device-src/s3.h: tweak a comment
10177
10178 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
10179         * server-src/holding.h: Improve comment.
10180         * server-src/reporter.c: Print holding disk size in displyaunit.
10181
10182 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
10183         * client-src/client_util.c: Get stderr of scripts and send it to
10184                                     server.
10185         * client-src/client_util.h: Add err in client_script_result_t.
10186         * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
10187         * client-src/sendsize.c: Fix.
10188         * server-src/planner.c: Get WARNING line from client.
10189         * server-src/reporter.c: Don't mark the dumper as FAILED if the
10190                                  planner FAILED.
10191         * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
10192         * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
10193
10194 2008-11-12  Dustin J. Mitchell <dustin@zmanda.com>
10195         * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
10196
10197 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
10198         * amandad-src/amandad.c: Check that something is ready to be read
10199                                  before calling errfd_recv.
10200
10201 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
10202         * changer-src/chg-manual.sh: fix typo
10203
10204 2008-11-11 Dan Locks <dwlocks@zmanda.com>
10205         * packaging/rpm/amanda.spec: add fedora 9 detection, add
10206           BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
10207           undetected instead of at all times
10208
10209 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
10210         * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
10211           active test scripts; add a DLE in the amfetchdump installcheck
10212
10213 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
10214         * config/macro-archive/ac_perl_module_version.m4: new macro
10215         * config/amanda/swig.m4: check for ExtUtils::Embed
10216
10217 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
10218         * installcheck/amarchiver.pl: quote $sbindir from regexp
10219           interpretation
10220
10221 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
10222         * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
10223                             to DISTCLEANFILES.
10224
10225 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
10226         * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
10227                                   amgtar application.
10228
10229 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
10230         * client-src/selfcheck.c: fix.
10231         * amandad-src/amandad.c: Read stderr of server and report it to server.
10232         * server-src/planner.c: Keep first line only.
10233
10234 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
10235         * amar-src/amarchiver.c: fix filesize printf conversion
10236
10237 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
10238         * client-src/sendbackup.c, client-src/selfcheck.c: Check return
10239                                                            value of pipe.
10240
10241 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
10242         * installcheck/Installcheck/Run.pm: change default DLEs
10243         * installcheck/amcheckdump.pl: add DLE explicitly
10244         * installcheck/amdevcheck.pl: add DLE explicitly
10245         * installcheck/amdump.pl: use the amgtar application in a dump
10246
10247 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
10248         * installcheck/Makefile.am: only test amfetchdump if it was built
10249         * installcheck/amfetchdump.pl: use arguments in the right order
10250
10251 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
10252         * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
10253         * man/Makefile.am man/xml-source/amarchiver.8.xml
10254           amar-src/Makefile.am amar-src/amarchiver.c: new application
10255         * installcheck/Makefile.am installcheck/amarchiver.pl: tests
10256
10257 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
10258         * installcheck/Installcheck/Run.pm: add Expect support
10259         * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
10260           installcheck, using Expect support
10261
10262 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
10263         * common-src/amgetconf.pl: don't setup_application() in dbclose
10264
10265 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
10266         * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
10267
10268 2008-11-08  Dustin J. Mitchell <dustin@zmanda.com>
10269         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
10270           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
10271           perl/Makefile.am: entirely new perl-based changer API
10272         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
10273           add changer subsections
10274         * man/xml-source/amanda.conf.5.xml: document them
10275         * server-src/amcheckdump.pl: use the new changer API
10276         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
10277           installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
10278           installcheck/Installcheck/Config.pm installcheck/Makefile.am
10279           installcheck/Amanda_Changer_Disk.pl: new/updated tests
10280
10281 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
10282         * application-src/amstar.c: fix.
10283
10284 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
10285         * perl/Amanda/Application.swg: Remove %init.
10286
10287 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
10288         * application-src/amgtar.c, application-src/amgtar_perl.pl,
10289           application-src/amstar.c: Write backup image to fd3 and index to fd4.
10290         * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
10291         * recover-src/extract_list.c: Add more check.
10292         * client-src/client_util.c (backup_support_option): Get stderr of
10293           application and put it in errarray,
10294         * client-src/client_util.h (backup_support_option): New prototype.
10295         * client-src/selfcheck.c, client-src/sendbackup.c,
10296           client-src/sendsize.c: Get stderr of application and send it to
10297                                  server.
10298         * server-src/dumper.c: Log the first error message.
10299         * server-src/planner.c: Log the first error message.
10300         * server-src/reporter.c: Don't print some error in report.
10301
10302 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
10303         * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
10304         * client-src/client_util.c (run_calcsize): New function.
10305         * client-src/client_util.h (run_calcsize): Prototype.
10306         * client-src/sendbackup.c: Update amandates.
10307         * client-src/sendsize.c: Handling of calcsize and multi-estimate.
10308         * client-src/selfcheck.c: Check calcsize for application.
10309         * application-src/amgtar_perl.pl, application-src/amstar.c,
10310         * application-src/amgtar.c: handling of calcsize and multi-estimate.
10311         * perl/Amanda/Script_App.pm: Add a check.
10312         * perl/Amanda/Application.swg: Add run_calcsize.
10313         * perl/Amanda/Application.pm: Delete
10314         * perl/Makefile.am: Built from Application.swg
10315         * client-src/calcsize.c: Handling of STAR program.
10316
10317 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
10318         * man/xml-source/amgtar.8.xml: Document new properties.
10319         * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
10320
10321 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
10322         * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
10323                                      exit with a status != 0.
10324         * server-src/amtape.c: Display changer error.
10325
10326 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
10327         * application-src/amgtar.c: Add exit-handling property.
10328
10329 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
10330         * application-src/amgtar.c: Add normal, ignore and strange property.
10331
10332 2008-11-04  Jean-Louis Martineau <martineau@zmanda.com>
10333         * server-src/amcheck.c: Check tape_splitsize < tape length.
10334
10335 2008-10-30  Dustin J. Mitchell <dustin@zmanda.com>
10336         * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
10337           add new sort key, 'w', for write_timestamp
10338         * server-src/amadmin.c: use it
10339         * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
10340           the oldest-written copy of a dump
10341
10342 2008-10-30  Jean-Louis Martineau <martineau@zmanda.com>
10343         * application-src/amgtar_perl.pl, application-src/amstar.c,
10344           application-src/amgtar.c: Implement validate command.
10345         * server-src/amcheckdump.pl: Execute the validate command of an
10346                                      application.
10347         * perl/Amanda/Script_App.pm (print_to_server): Add validate.
10348         * perl/Amanda/Application.pm (known_commands): Add validate.
10349         * common-src/security-util.c: Fix typo.
10350
10351 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
10352         * man/xml-source/amanda.conf.5.xml
10353           man/xml-source/amanda-devices.7.xml: improve device property
10354           documentation
10355
10356 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
10357         * man/xml-source/amanda.conf.5.xml: taperflush params can be
10358           greater than 100%
10359
10360 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
10361         * common-src/fileheader.c (dumpfile_free_data): New function.
10362         * common-src/fileheader.h (dumpfile_free_data): New prototype.
10363         * server-src/cmdline.c, server-src/dumper.c,
10364           server-src/planner.c, server-src/amadmin.c,
10365           server-src/amflush.c, server-src/holding.c,
10366           server-src/driver.c, server-src/find.c,
10367           server-src/taper-source.c, server-src/taper-file-source.c
10368           server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
10369
10370 2008-10-27  Dustin J. Mitchell <dustin@zmanda.com>
10371         * common-src/glib-util.c: check library version at runtime
10372
10373 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
10374         * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
10375
10376 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
10377         * installcheck/Amanda_Archive.pl: fix to also test for identity of
10378           $user_data on perls that recognize such things
10379
10380 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
10381         * amar-src/amar-test.c: don't ignore the return value of write()
10382
10383 2008-10-24  Nikolas Coukouma <atrus@zmanda.com>
10384             Jean-Louis Martineau <martineau@zmanda.com>
10385         * amar-src/amar.c: fix mis-aligned memory accesses
10386         * amar-src/amar-test.c: fix test_pipe
10387
10388 2008-10-24  Jean-Louis Martineau <martineau@zmanda.com>
10389         * perl/Amanda/Script_App.pm: New base module for script and application.
10390         * perl/Amanda/Script.pm: New base module for script.
10391         * perl/Amanda/Application.pm: New base module for application.
10392         * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
10393                                 Amanda::Application.
10394         * application-src/generic-dumper.pl: Remove file.
10395         * application-src/generic-script.pl: Remove file.
10396         * application-src/script-email.pl: Use Amanda::Script.
10397         * application-src/amgtar_perl.pl: Use Amanda::Application.
10398         * application-src/amzfs-snapshot.pl: Use Amanda::Script.
10399         * application-src/Makefile.am: Remove generic-*.pl files.
10400
10401 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
10402         * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
10403           libamar
10404         * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
10405
10406 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
10407         * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
10408           $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
10409           lint
10410         * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
10411
10412 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
10413         * amar-src/Makefile.am: add amar.h to noinst_HEADERS
10414
10415 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
10416         * configure.in Makefile.am amar-src/Makefile.am: new directory
10417         * amar-src/amar.c amar-src/amar.h: amanda archive library
10418         * amar-src/amar-test.c: tests for library
10419         * common-src/security-util.c common-src/security-util.h
10420           common-src/util.c common-src/util.h: move net_writev to
10421           util.c, rename to full_writev
10422         * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
10423           man/xml-source/amanda.8.xml: new manpage to describe the format
10424
10425 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
10426         * configure.in: add tests for more headers, plus some defines
10427           for the presence of Amanda's headers
10428         * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
10429           POSIX regex API and a GRegex (PCRE) call-compatability layer.
10430         * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
10431           Use callbacks to write and read data. Provide callbacks for
10432           memory buffers and files. The callbacks for files are currently
10433           Windows-specific.
10434         * device-src/s3-device.c: update to use new API
10435
10436 2008-10-20  Dustin J. Mitchell <dustin@zmanda.com>
10437         * perl/Makefile.am: remove spurious variables
10438
10439 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
10440         * changer-src/chg-multi.sh: Check permission on the statefile and its
10441                                     directory.
10442
10443 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
10444         * server-src/planner.c: Set i to 0.
10445
10446 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
10447         * server-src/amcheck.c, server-src/dumper.c
10448           server-src/planner.c: Don't send appliaciton-api request if the
10449                                 client doesn't use the xml protocol.
10450
10451 2008-10-15  Jean-Louis Martineau <martineau@zmanda.com>
10452         * server-src/reporter.c: print space instead of N/A, dumper stats are
10453                                  set to "FLUSH" if it is a flush.
10454
10455 2008-10-13  Dustin J. Mitchell <dustin@zmanda.com>
10456         * device-src/vfs-device.c: re-open the dir handle on every
10457           device start or read label
10458         * installcheck/Amanda_Device.pl: adjust tests to degrade the
10459           VFS device *after* it is started
10460
10461 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
10462         * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
10463
10464 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
10465         * installcheck/Makefile.am: revert previous commit.
10466         * config/automake/scripts.am: Check for a server perl module.
10467
10468 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
10469         * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
10470
10471 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
10472         * perl/Makefile.am: Don't check Amanda/Config files.
10473
10474 2008-10-11  Jean-Louis Martineau <martineau@zmanda.com>
10475         * perl/Makefile.am: Check file in top_srcdir if they are not
10476                             in top_builddir.
10477
10478 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
10479         * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
10480
10481 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
10482         * perl/Makefile.am: test for libConfig.so before doing check.
10483
10484 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
10485         * config/automake/scripts.am: Check perl scripts on compilation.
10486           Add -I... to 'make check' to access perl module in build tree.
10487           Add installcheck rules to check perl scripts with installed perl
10488           modules.
10489         * application-src/amstar_perl.pl: Remove file.
10490         * device-src/Makefile.am, application-src/Makefile.am,
10491           server-src/Makefile.am, installcheck/Makefile.am,
10492           common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
10493         * installcheck/Makefile.am:
10494           Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
10495         * perl/Makefile.am: Add rules to check all .pm files for check-local.
10496         * device-src/amtapetype.pl, server-src/amaddclient.pl,
10497           common-src/amgetconf.pl: Fix syntax errors.
10498
10499 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
10500         * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
10501           application-src/script-email.pl, application-src/amgtar_perl.pl:
10502             fix typos.
10503
10504 2008-10-10  Nick Smith <nick.smith@techop.ch>
10505         * application-src/amzfs-snapshot.pl: fix typos
10506
10507 2008-10-08  Dustin J. Mitchell <dustin@zmanda.com>
10508         * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
10509         * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
10510           after writing
10511         * server-src/amcheckdump.pl: don't read tapelist
10512         * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
10513
10514 2008-10-08  Nick Smith <nick.smith@techop.ch>
10515         * server-src/driver.c: set degr_mesg to NULL when not degraded
10516
10517 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
10518         * application-src/amzfs-snapshot.pl: Accept execute-where argument.
10519         * application-src/script-email.pl: Accept execute-where argument.
10520         * client-src/client_util.c: Send execute-where argument to script.
10521         * server-src/server_util.c: Send execute-where argument to script.
10522
10523 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
10524         * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
10525                                              properties.
10526         * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
10527
10528 2008-10-03  Dustin J. Mitchell <dustin@zmanda.com>
10529         * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
10530         * common-src/timestamp.c: add comment
10531
10532 2008-10-02  Dustin J. Mitchell <dustin@zmanda.com>
10533         * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
10534         * installcheck/Amanda_DB_Catalog.pl: test it
10535         * perl/Amanda/Logfile.swg: fix typo
10536
10537 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
10538         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
10539           Add new property, S3_SSL, to control the use of SSL/TLS when
10540           connecting to Amazon S3
10541         * man/xml-source/amanda-devices.7.xml:
10542           document S3_SSL and S3_BUCKET_LOCATION
10543
10544 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
10545         * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
10546
10547 2008-10-01  Dustin J. Mitchell <dustin@zmanda.com>
10548         * common-src/amanda.h common-src/conffile.c
10549           oldrecover-src/extract_list.c recover-src/extract_list.c
10550           server-src/amcheck.c server-src/amflush.c server-src/planner.c:
10551           use g_ascii_isspace, as we assume ASCII (for now) and isspace()
10552           is affected by locale and encoding settings.  Thanks to Michael
10553           Reuland for helping track this down.
10554
10555 2008-09-30  Jean-Louis Martineau <martineau@zmanda.com>
10556         * server-src/diskfile.h (xml_optionstr): New prototype.
10557         * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
10558         * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
10559         * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
10560         * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
10561         * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
10562         * server-src/dumper.c: Call clean_dle_str_for_client.
10563         * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
10564         * server-src/diskfile.c (clean_dle_str_for_client): New function.
10565         * restore-src/restore.c: Call clean_dle_str_for_client.
10566         * common-src/amxml.c: Fix parsing.
10567         * common-src/amanda.h (match_no_newline): Prototype.
10568         * common-src/match.c (match_no_newline): New function.
10569
10570 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
10571         * restore-src/restore.c: set data.flags for use by the changer_find
10572           callback
10573
10574 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
10575         * perl/Amanda/MainLoop.swg: add call_later()
10576         * installcheck/Amanda_MainLoop.pl: test it
10577
10578 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
10579         * device-src/rait-device.c: fix typos
10580
10581 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
10582         * common-src/semaphore.h: fix typo
10583         * device-src/rait-device.c: add a private threadpool-like
10584           implementation for old glibs, where GThreadPool is susceptible to
10585           deadlock
10586
10587 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
10588         * device-src/device.c device-src/device.h device-src/null-device.c
10589           device-src/property.c device-src/property.h device-src/rait-device.c
10590           device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
10591           device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
10592           device-src/tape-uware.c device-src/tape-xenix.c
10593           device-src/vfs-device.c: add a 'configure' method to the Device API;
10594           revamp device property handling to add source and surety and make
10595           implementation easier
10596         * device-src/rait-device.h device-src/rait-device.c: make RAIT device
10597           calculate block sized based on child devices, if they were configured
10598           explicitly.
10599         * man/xml-source/amanda-devices.7.xml: note that common properties are
10600           not implemented on all devices
10601         * common-src/glib-util.c common-src/glib-util.h: add helpers for
10602           case-insensitive hashes
10603         * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
10604           perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
10605           server-src/amlabel.c server-src/amtape.c server-src/taper.c
10606           server-src/taperscan.c: use new API
10607
10608 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
10609         * server-src/find.c: handle find_result->label == NULL
10610         * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
10611
10612 2008-09-26  Dustin J. Mitchell <dustin@zmanda.com>
10613         * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
10614
10615 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
10616         * server-src/driver.c: Parse dumpsize from taper result.
10617
10618 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
10619         * client-src/selfcheck.c: Set qdevice on common_exit path.
10620
10621 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
10622         * common-src/fileheader.c: fix headers_are_equal
10623
10624 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
10625         * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
10626         * device-src/device.c device-src/device.h: set blocksize in tape
10627           header
10628         * device-src/null-device.c device-src/s3-device.c
10629           device-src/tape-device.c device-src/vfs-device.c: set blocksize
10630           in headers when starting files
10631         * device-src/rait-device.c: duplicate headers for child devices, since
10632           they are no longer const
10633         * server-src/dumper.c: set blocksize on holding-disk files to
10634           DISK_BLOCK_BYTES
10635
10636 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
10637         * device-src/tape-device.c: mark device as non-appendable temporarily,
10638           since file numbers are incorrect when appending
10639         * installcheck/Amanda_Device.pl: handle non-appendable devices
10640
10641 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
10642         * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
10643           argument.
10644         * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
10645         * server-src/chunker.c: Get mesg from ABORT cmd and log it.
10646         * server-src/driver.c: Add the mesg argument to all dumper_cmd and
10647                                chunker_cmd.
10648
10649 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
10650         * server-src/planner.c: Set degr_mesg and send it to driver.
10651         * server-src/driverio.h (sched_t): Add degr_mesg field.
10652         * server-src/driver.c: Parse message if no degraded estimate.
10653
10654 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
10655         * common-src/conffile.c common-src/conffile.h: store a struct
10656           containing both filename and line number for each parameter, and use
10657           it when reporting errors and warnings
10658
10659 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
10660         * device-src/device.c: make 'unimplemented method' an assertion
10661
10662 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
10663         * device-src/s3.c: use max_keys, instead of maximum body size (which
10664           doesn't work) to limit the number of keys listed
10665
10666 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
10667         * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
10668         * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
10669         * server-src/taperscan.c: Check type != F_EMPTY.
10670         * server-src/taper.c: Call changer_label().
10671         * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
10672
10673 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
10674         * device-src/device.c: Don't g_value_unset a bzero value.
10675
10676 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
10677         * server-src/driver.c: Set result_argv=NULL, Fix typo.
10678
10679 2008-09-22  Dustin J. Mitchell <dustin@zmanda.com>
10680         * config/amanda/ps.m4: give up on runtime detection and just special-
10681           case the 'ps' arguments for various systems
10682         * perl/Amanda/Constants.pm.in: add $PS
10683         * perl/Amanda/Process.pm: use $PS
10684
10685 2008-09-19  Jean-Louis Martineau <martineau@zmanda.com>
10686         * server-src/reporter.c (addline): Done it constant time.
10687
10688 2008-09-19  Dustin J. Mitchell <dustin@zmanda.com>
10689         * common-src/Makefile.am common-src/quoting-test.c: new tests
10690         * common-src/token.c common-src/token.h: removed
10691         * common-src/util.c common-src/util.h: new home for quoting functions
10692         * configure.in: don't check for shquote
10693         * man/xml-source/amanda.conf.5.xml: info on quoting
10694         * perl/Amanda/Config/Server.pm: note about incompatibility
10695         * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
10696           server-src/driver.c server-src/driverio.c server-src/driverio.h
10697           server-src/dumper.c server-src/infofile.c server-src/server_util.c
10698           server-src/server_util.h server-src/taper-file-source.c
10699           server-src/taper-port-source.c server-src/taper.c: use new/updated
10700           quoting functions
10701
10702 2008-09-19  Nick Smith <nick.smith@techop.ch>
10703         * example/amanda.conf.in: fix incorrect execute_on examples
10704
10705 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
10706         * server-src/dumper.c: Call security_close_connection before
10707                                checking if pkt == NULL.
10708
10709 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
10710         Patch by Nick Smith
10711         * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
10712         * server-src/diskfile.c: Init xml_app.result to stralloc("").
10713
10714 2008-09-16 Dan Locks <dwlocks@zmanda.com>
10715         * packaging/rpm/amanda.spec:  Added detection of CentOS 4 and 5 as
10716           suggested by dswartz.  added graceful failure when Distro/version is
10717           not detected correctly
10718
10719 2008-09-15  Dustin J. Mitchell <dustin@zmanda.com>
10720         * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
10721
10722 2008-09-14  Dustin J. Mitchell <dustin@zmanda.com>
10723         * server-src/tapefile.c server-src/tapefile.h: add comments to
10724           tapelist
10725         * perl/Amanda/Tapelist.swg: perl tapelist parser, too
10726         * installcheck/Amanda_Tapelist.pl: tests
10727         * man/xml-source/tapelist.5.xml: docs
10728         * server-src/amlabel.c: no initial comments when labeling
10729         * server-src/taper.c: maintain comment when relabeling
10730
10731 2008-09-12  Jean-Louis Martineau <martineau@zmanda.com>
10732         * amandad-src/amandad.c: Fix typo: authetication -> authentication.
10733
10734 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
10735         * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
10736           Mike McConnell for spotting these
10737
10738 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
10739         * server-src/taper.c: improve handling of device errors in taper
10740
10741 2008-09-02  Jean-Louis Martineau <martineau@zmanda.com>
10742         * restore-src/amrestore.c: Load a default server config.
10743
10744 2008-08-29  Dustin J. Mitchell <dustin@zmanda.com>
10745         * autogen: revert glib's configure-time requirement for
10746           pkg-config-0.16
10747
10748 2008-08-28  Dustin J. Mitchell <dustin@zmanda.com>
10749         * device-src/tape-device.c: use the correct blocksize while reading
10750         * device-src/rait-device.c: fix typo
10751         * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
10752           the tape device
10753
10754 2008-08-28  Jean-Louis Martineau <martineau@zmanda.com>
10755         * server-src/dumper.c: Reset the MESG buffer for a new dump.
10756
10757 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
10758         * server-src/amcheck.c: make the check for tapelist result in a NOTE,
10759           not a failure
10760         * server-src/tapefile.c: make a missing tapelist equivalent to an
10761           empty one
10762
10763 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
10764         * config/amanda/types.m4: always include sys/types.h, if it exists,
10765           before trying other headers (fixes builds of FreeBSD-4.x); thanks
10766           to John Hein <jhein@timing.com>
10767         * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
10768           before event.h
10769
10770 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10771         * perl/amglue/bigint.c: add #include "stdint.h"
10772
10773 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10774         * config/amanda/ps.m4: search multiple ps invocations; thanks
10775           to John Hein <jhein@timing.com>
10776
10777 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
10778         * server-src/amadmin.ci (tape): Correctly print next tape to use.
10779         * server-src/tapefile.c (print_new_tapes): New function to print new
10780                                                    tapes.
10781         * server-src/tapefile.h (print_new_tapes): Prototype.
10782         * server-src/reporter.c: Correctly print next tape to use.
10783
10784 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10785         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
10786           add new 'define device' config section
10787         * perl/Makefile.am perl/Amanda/Config/Server.pm
10788           perl/Amanda/Config/Server/Devices.pm
10789           perl/Amanda/Config/Server/Grammar: ditto
10790         * device-src/device.c device-src/device.h: configure devices from
10791           device definitions, with better error handling
10792         * device-src/rait-device.c: handle child devices better
10793         * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
10794           installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
10795           installcheck/amgetconf.pl: new tests, modifications to work with the
10796           new system
10797         * man/xml-source/amanda-devices.7.xml
10798           man/xml-source/amanda.conf.5.xml: corresponding documentation updates
10799         * perl/Amanda/Changer.pm perl/Amanda/Device.swg
10800           restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
10801           server-src/amcheckdump.pl server-src/amdevcheck.pl
10802           server-src/amlabel.c server-src/amtape.c server-src/taper.c
10803           server-src/taperscan.c: remove calls to
10804           set_startup_properties_from_config
10805         * device-src/vfs-test.c: load config before trying to use a device
10806         * common-src/conffile.c: fix use of uninitialized variable
10807
10808 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10809         * changer-src/chg-disk.sh: replace == with =
10810         * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
10811
10812 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
10813         * server-src/reporter.c: Fix computation of compression ratio.
10814
10815 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
10816         * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
10817         * application-src/amgtar.c, application-src/amgtar_perl.pl:
10818           Ignore "Directory is new" and "Directory has been renamed".
10819
10820 2008-08-21  Jean-Louis Martineau <martineau@zmanda.com>
10821         * common-src/krb5-security.c: Fix security_seterror use.
10822
10823 2008-08-19  Dustin J. Mitchell <dustin@zmanda.com>
10824         * configure.in: check for getgrgid_r and getpwuid_r
10825         * common-src/security-util.c: conditionalize on checks
10826
10827 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10828         * common-src/version.h: remove #include of config.h
10829         * device-src/vfs-device.c: #include amanda.h first
10830
10831 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10832         * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
10833         * installcheck/Installcheck/Run.pm: report exit status
10834         * installcheck/Makefile.am installcheck/amtapetype.pl: new test
10835         * man/xml-source/amtapetype.8.xml: updated manpage
10836         * device-src/s3-device.c device-src/vfs-device.c
10837           device-src/tape-device.c: add compression property
10838         * perl/Amanda/Xfer.swg: add POD for the cancel() method
10839         * xfer-src/dest-device.c: add a default for max_memory
10840
10841 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10842         * common-src/conffile.c: make find_multiplier case-insensitive
10843         * device-src/device.c: reorder assertions
10844         * device-src/tape-device.c: don't set access_mode twice, but
10845           set in_file = FALSE in start
10846         * device-src/s3-device.c: fix property registration
10847         * perl/Amanda/MainLoop.swg: remove attach() from example
10848         * perl/Amanda/Xfer.swg: more detail in POD
10849         * xfer-src/source-pattern.c: operate byte-for-byte, like the random
10850           source, instead of using lots of memcpys and reallocs
10851         * xfer-src/source-random.c: remove redundant check
10852
10853 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10854         * configure.in Makefile.am tape-src/*: remove tape-src
10855         * changer-src/Makefile.am: don't link with libamtape
10856         * changer-src/chg-scsi.c: don't use libamtape
10857         * changer-src/scsi-changer-driver.c: don't use libamtape
10858         * config/amanda/tape.m4: fix comment
10859         * example/amanda.conf.in example/template.d/tapetypes: fix outdated
10860           comments
10861         * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
10862           remove amdd and ammt manpages
10863         * restore-src/Makefile.am: remove refs to tape-src/
10864         * server-src/Makefile.am: remove refs to tape-src/
10865
10866 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10867         * common-src/krb4-security.c common-src/krb5-security.c
10868           config/amanda/tape.m4 common-src/amanda.h: remove
10869           --with-maxtapeblocksize
10870         * common-src/conffile.c: deprecate file-pad
10871         * device-src/device-queueing.c device-src/device-queueing.h
10872           device-src/device.c device-src/device.h device-src/null-device.c
10873           device-src/property.c device-src/property.h device-src/rait-device.c
10874           device-src/s3-device.c device-src/tape-device.c
10875           device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
10876           server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
10877           xfer-src/source-device.c perl/Amanda/Device.swg: devices have
10878           {min,max,current} block sizes; remove the short_block parameter from
10879           device_write_block; fix property initialization; rename
10880           PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
10881         * device-src/rait-device.c: set child block sizes explicitly
10882         * installcheck/Amanda_Device.pl: tests; better S3 test count
10883           calculations
10884         * installcheck/Amanda_Xfer.pl: tests
10885         * man/xml-source/amanda-devices.7.xml: update block sizes
10886           documentation
10887         * man/xml-source/amanda.conf.5.xml: refer to block size properties
10888         * restore-src/amrestore.c: use set_restore_device_read_buffer_size
10889         * restore-src/restore.h restore-src/restore.c: add
10890           set_restore_device_read_buffer_size
10891
10892 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10893         * server-src/driver.c: handle taper_{input,tape}_error memory
10894           correctly, and add taper_tape_error to the trace log
10895
10896 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10897         * application-src/amzfs-snapshot.pl application-src/script-email.pl:
10898           remove unnecessary 'use Amanda::Device'
10899
10900 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10901         * common-src/amgetconf.pl: use filename-safe characters for $appname
10902         * installcheck/amgetconf.pl: test it
10903
10904 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10905         * man/entities/global.entities: add manpage refs
10906         * packaging/rpm/amanda_enterprise.spec
10907           packaging/rpm/amanda_enterprise_client.spec
10908           man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
10909           man/Makefile.am: add disklist(5), tapelist(5)
10910         * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
10911           man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
10912           man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
10913           man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
10914           man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
10915           man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
10916           - remove references to "output drivers" in favor of "device drivers"
10917           - add more inter-page references
10918           - fix typos
10919           - add client_login to amanda-client.conf(5)
10920           - reformat informaltables, which don't render well in HTML or nroff,
10921             into variablelists, with fixes for bad xml->man conversion
10922           - fix funky replacement entities in HTML output
10923         * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
10924         * perl/Amanda/Device.swg: fix typo
10925         * perl/Amanda/MainLoop.swg: add hints for writing async functions
10926         * perl/Amanda/Types.swg: fix bad POD
10927         * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
10928         * perl/Amanda/Xfer.swg: tweaks
10929         * server-src/taper.c: fix typo
10930         * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
10931           will no longer overwrite such tapes
10932
10933 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10934         * common-src/debug.c: lock debug logging on a per-line basis
10935
10936 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10937         * device-src/rait-device.c: parse RAIT names with internal {..}
10938         * installcheck/Amanda_Device.pl: light testing
10939
10940 2008-08-15  Dustin J. Mitchell <dustin@zmanda.com>
10941         * common-src/debug.c: include backtraces on fatal errors
10942         * config/amanda/debugging.m4: look for glibc's backtrace support
10943         * configure.in: ditto
10944
10945 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>
10946         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
10947           device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
10948           to date with function signatures
10949
10950 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>,
10951             Nikolas Coukouma <atrus@zmanda.com>
10952         * xfer-src/*: add support for asynchronous cancellation of transfers
10953           and use it for error-handling
10954         * perl/Amanda/Xfer.swg: reflect into perl
10955         * installcheck/Amanda_Xfer.pl: test cancellation
10956
10957 2008-08-12  Dustin J. Mitchell <dustin@zmanda.com>
10958         * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
10959         * man/Makefile.am: remove config.log after running config.status
10960
10961 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
10962         * common-src/conffile.c: cleaner fix for signed compared to unsigned
10963           errors on older versions of GCC.
10964
10965 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
10966         * common-src/Makefile.am: second fix
10967
10968 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
10969         * common-src/Makefile.am: don't syntax-check amgetconf, since
10970           it uses Amanda::* modules
10971
10972 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
10973         * server-src/amgetconf.pl, common-src/amgetconf.pl:
10974           Add --execute-where=client|server and --client options
10975           to make amgetconf query the client configuration
10976           instead. Move from server-src to common-src.
10977         * man/xml-source/amgetconf.8.xml: Document the new options.
10978         * installcheck/amgetconf.pl: Test the new options.
10979         * server-src/Makefile.am, common-src/Makefile.am:
10980           Updated Makefiles for move.
10981         * packaging/deb/amanda-enterprise-backup-client.install,
10982           packaging/sun-pkg/i386/client/prototype:
10983           Add amgetconf to client packages.
10984
10985 2008-08-04 Dan Locks <dwlocks@zmanda.com>
10986         * packaging/rpm/amanda.spec:  add %{tarver} macro and set the correct
10987           minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
10988
10989 2008-08-04  Dustin J. Mitchell <dustin@zmanda.com>
10990         * common-src/conffile.c: workaround gcc<4.1.0 problems with long
10991           constants, don't use G_MAXINT64 in precompiler expressions
10992
10993 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
10994         * server-src/amrmtape.sh: use shell redirection with shell functions
10995
10996 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
10997         * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
10998         * common-src/dgram.c: address family debugging
10999         * common-src/stream.c: address family debugging
11000
11001 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
11002         * common-src/amanda.h common-src/conffile.c common-src/conffile.h
11003           installcheck/Amanda_Config.pl perl/Amanda/Config.swg
11004           server-src/planner.c: replace am64 type with gint64; also replace
11005           some uses of off_t
11006
11007 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
11008         * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
11009           stringify consistently (no '+' prefixing positive numbers).
11010         * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
11011         * installcheck/bigint.pl, perl/amglue/bigint.c:
11012           Use Amanda::BigIntCompat everywhere we use bigint.
11013
11014 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
11015         * common-src/match.c: Correct array index to be within bounds
11016
11017 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
11018         * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
11019           AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
11020           appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
11021           (which causes errors).
11022
11023 2008-07-30  Dustin J. Mitchell <dustin@zmanda.com>
11024         * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
11025         * installcheck/amgetconf.pl: ditto
11026
11027 2008-07-29 Dan Locks <dwlocks@zmanda.com>
11028         * packaging/rpm/amanda.spec:  Merged fixes from enterprise .spec for
11029           parsing redhat-release for fedora versions correctly.
11030
11031 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
11032         * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
11033
11034 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
11035         * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
11036           Also check the returned ETag to make sure it matches the sent MD5 hash.
11037           Use simpler s3_base64_encode() instead of base64_encode().
11038           Correct the use of character classes in several regular expressions.
11039         * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
11040           s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
11041           as some constants. Move regexec_wrap() into this and rename it to
11042           s3_regexec_wrap().
11043         * device-src/Makefile.am: add s3-util.c and s3-util.h
11044
11045 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
11046         * installcheck/Installcheck/Config.pm: don't set default tapetype
11047           unless not set explicitly.
11048         * installcheck/Amanda_Config.pl: test changes
11049         * man/xml-source/amanda-client.conf.5.xml
11050           man/xml-source/amanda.conf.5.xml: encourage, but don't require,
11051           quoted identifiers
11052
11053 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
11054         * server-src/amserverconfig.pl: apply perltidy, factor some common
11055           code, and create the config dir and changer conf only after the check
11056           for mtx is performed
11057
11058 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
11059         * device-src/tests/semaphore-test.c: move function call out of
11060           variable initialization
11061
11062 2008-07-25 Dan Locks <dwlocks@zmanda.com>
11063         * packaging/deb/control: added alternative dependency of libssl0.9.8 for
11064           Ubuntu 8.x builds.  Added build dependencies for debhelper, fakeroot,
11065           libcurl-dev, libssl-dev.  Updated server and client dependency for curl
11066           to libcurl3
11067
11068 2008-07-18 Dan Locks <dwlocks@zmanda.com>
11069         *  configure.in:  add format-security to gcc compile flags
11070         *  server-src/amindexd.c,
11071            server-src/dumper.c,
11072            server-src/reporter.c,
11073            restore-src/restore.c,
11074            common-src/security-util.c,
11075            common-src/bsd-security.c:  replacemented unquoted strings in
11076            function arguments with "%s", arg.  jrfranks's suggestion, dustin provided
11077            syntax for the fix.
11078
11079 2008-07-17 Dan Locks <dwlocks@zmanda.com>
11080         * packaging/debian/amanda-enterprise-backup-*.install: added entries for
11081           applications and devices man pages.
11082
11083 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
11084         * man/Makefile.am: Add amzfs-snapshot.8
11085         * man/xml-source/amzfs-snapshot.8.xml: New man page.
11086         * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
11087         * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
11088         * application-src/amzfs-snapshot.pl: New script
11089         * application-src/Makefile.am: Add amzfs-snapshot
11090         * perl/Amanda/Util.swg: Add sanitise_filename.
11091
11092 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
11093         * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
11094
11095 2008-07-16  Jean-Louis Martineau <martineau@zmanda.com>
11096         * server-src/driver.c: Improve message in failure to dump in degraded
11097                                mode.
11098
11099 2008-07-16 Dan Locks <dwlocks@zmanda.com>
11100         * packaging/deb/control,
11101           packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
11102           build dependency for openssl and curl development files.
11103
11104 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
11105         * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
11106           specifying both IPv{4,6} does not work; remove IPv4
11107
11108 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
11109         * man/Makefile.am: Add new man pages.
11110         * man/xml-source/script-email.8.xml: New man page.
11111         * man/xml-source/amanda.8.xml: List new man pages.
11112         * man/xml-source/amanda-scripts.7.xml: New man page.
11113
11114 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
11115         * configure.in: generate (x)inetd files
11116         * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
11117           example/xinetd.amandaserver.in: give appropriate path for amandad,
11118           from configure (fixes builds on 64-bit machines)
11119 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
11120         * client-src/client_util.c: #include "glib-util.h"
11121         * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
11122         * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
11123         * device-src/rait-device.c: Remove g_ptr_array_foreach.
11124
11125 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
11126         * client-src/client_util.c: Read stdout of scripts.
11127         * client-src/client_util.h: New prototype for run_client_scripts,
11128                                     New client_script_result_t struct.
11129         * client-src/sendbackup.c: Send scripts properties to application.
11130         * client-src/sendsize.c: Send scripts properties to application.
11131         * client-src/selfcheck.c: Send scripts properties to application.
11132         * recover-src/extract_list.c: Send scripts properties to application.
11133         * common-src/amxml.h (script_t) Add field to keep result of script.
11134         * common-src/amxml.c: Set script->result to NULL.
11135
11136 2008-07-14 Dan Locks <dwlocks@zmanda.com>
11137         * packaging/rpm/amanda.spec: fix macro detection of fedora version
11138
11139 2008-07-14 Dan Locks <dwlocks@zmanda.com>
11140         * packaging/rpm/amanda.spec: fix distribution detection, add
11141         activate-devpay to server files list
11142
11143 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11144         * installcheck/Amanda_Changer.pl: set up and parse a config, now that
11145           Amanda::Changer needs one
11146
11147 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11148         * perl/Amanda/Changer.pm: set device properties when testing device
11149           labels in the changer
11150
11151 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
11152         * application-src/amgtar.c: Add a DIRECTORY property.
11153         * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
11154
11155 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11156         * changer-src/chg-lib.sh.in: remove bogus Log() invocations
11157
11158 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11159         * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
11160           to new manpages
11161
11162 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11163         * installcheck/Amanda_Device.pl: be more liberal in the flags that are
11164           accepted from S3's read_label; this will reduce false failures
11165
11166 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
11167         * client-src/client_util.c: Remove unused output_tool_property function.
11168         * client-src/client_util.h: Remove output_tool_property prototype.
11169         * man/xml-source/amanda-client.conf.5.xml: Add application and script
11170                                                    sections.
11171         * man/xml-source/amanda.conf.5.xml: Improve application and script
11172                                             sections.
11173         * device-src/device.c: Fix for new property_t.
11174         * server-src/diskfile.h: Change prototype for xml_application and
11175                                  xml_scripts.
11176         * server-src/diskfile.c: Add <priority> tag if client support it.
11177         * server-src/amindexd.c: Fix call to xml_application.
11178         * server-src/amcheck.c: Fix call to xml_application.
11179         * server-src/planner.c: Fix call to xml_application.
11180         * server-src/driverio.c: Fix call to xml_application.
11181         * server-src/server_util.c: Remove code to write property to stdin of
11182                                     script.
11183         * perl/Amanda/Config.swg: Fix for new property_t.
11184         * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
11185         * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
11186                                     function.
11187         * installcheck/Amanda_Config.pl: Fix for new property_t.
11188         * common-src/util.c: Remove unused output_tool_proplist fucntion,
11189                              Fix for new property_t.
11190         * common-src/util.h: Remove output_tool_proplist prototype.
11191         * common-src/amxml.c:Fix for new property_t, parse priority of property.
11192         * common-src/conffile.c: Parse priority of a property,
11193                           Add application and script to amanda-client.conf.
11194         * common-src/conffile.h: New property_t struct.
11195         * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
11196         * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
11197
11198 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
11199         * man/entities/global.entities: Add ENTITY email.jlm.
11200         * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
11201           amgtar.8 and amstar.8.
11202         * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
11203                                             at the begining of a line.
11204         * man/xml-source/amanda-applications.7.xml: New page.
11205         * man/xml-source/amgtar.8.xml: New page.
11206         * man/xml-source/amstar.8.xml: New page.
11207
11208 2008-07-09  Ian Turner <ian@zmanda.com>
11209         * device-src/device.h: Clarify documentation of device_read_label().
11210         * device-src/s3-device.c, device-src/tape-device.c,
11211           device-src/vfs-device.c (device_read_label): Always clear volume
11212           labels, even if device is in error.
11213         * device-src/rait-device.c: Ditto; also properly handle properties
11214           that change device labels.
11215
11216 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
11217         * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
11218           property (for setting location constraints).
11219
11220 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>
11221         * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
11222           when EOF occurs on writing
11223
11224 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>,
11225             Nikolas Coukouma <atrus@zmanda.com>,
11226             Ian Turner <ian@zmanda.com>,
11227             Jean-Louis Martineau <martineau@zmanda.com>
11228         Amanda has been analyzed with Klocwork source code analysis, the most
11229         accurate and comprehensive tool for finding critical programming
11230         errors and security vulnerabilities.
11231         * amandad-src/amandad.c changer-src/chg-scsi.c
11232           client-src/client_util.c client-src/selfcheck.c
11233           client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
11234           common-src/bsd-security.c common-src/fileheader.c
11235           common-src/local-security.c common-src/queueing.c
11236           common-src/security-util.c device-src/property.c
11237           device-src/rait-device.c device-src/tape-device.c
11238           device-src/vfs-device.c recover-src/set_commands.c
11239           restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
11240           server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
11241           server-src/changer.c server-src/chunker.c server-src/cmdline.c
11242           server-src/driver.c server-src/holding.c server-src/logfile.c
11243           server-src/reporter.c server-src/server_util.c
11244           server-src/taper-file-source.c: fix many issues identified
11245           by Klockwork, ranging in severity from stylistic to minor.
11246            - many memory leaks in error paths and application shutdown
11247            - better handling of incorrect commandline arguments
11248            - better resource management (file descriptors, etc.)
11249
11250 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
11251         * device-src/Makefile.am: conditionalize activate-devpay on
11252           WANT_S3_DEVICE
11253
11254 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
11255         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
11256           device-src/activate-devpay.c, device-src/Makefile.am:
11257           Allow both regular S3 and S3-with-DevPay to be used in
11258           the same installation. Remove WANT_DEVPAY macro.
11259         * device-src/s3-device.c: Added a flag, is_devpay, to the device
11260           and handled divergent cases. Removed useless device_error_set calls.
11261         * device-src/s3.c: Use DevPay authentication iff user_token is set.
11262           Replaced some if statements about non-NULL pointers with assertions.
11263         * config/amanda/s3-device.m4, device-src/Makefile.am:
11264           remove devpay flag and WANT_DEVPAY definition.
11265         * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
11266           other S3 tests.
11267
11268 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
11269         * device-src/s3.c: wait for bucket to appear after creation, treat
11270           missing bucket as temporary error, increase retries from 5 to 14
11271           (about 3min), explicitly handle HTTP verbs as libcurl expects.
11272         * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
11273           buckets taking too long to appear.
11274
11275 2008-07-06 Dan Locks <dwlocks@zmanda.com>
11276         * packaging/deb/amanda-backup-server.postrm
11277           packaging/deb/amanda-backup-client.postrm: removed unused
11278           code
11279         * packaging/deb/postrm: fixed typo in deluser command
11280         * packaging/deb/rules: added specific preinst and postrm scripts for
11281           client and server.
11282
11283 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
11284         * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
11285           new files for HTML output
11286         * man/xslt/man.xsl.in: substitute XSLT_VERS
11287         * man/xml-source/amanda-devices.7.xml: tweaks
11288         * man/xml-source/amanda.8.xml: tweaks
11289         * man/xml-source/amanda.conf.5.xml: tweaks
11290         * man/xml-source/amgetconf.8.xml: tweaks
11291         * man/xml-source/amtoc.8.xml: tweaks
11292
11293 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
11294         * common-src/genversion.c: correctly represent available amflock
11295           implementations
11296
11297 2008-07-03  Jean-Louis Martineau <martineau@zmanda.com>
11298         * perl/Amanda/Xfer.swg: #include "glib-util.h"
11299
11300 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
11301         * device-src/rait-device.c: don't use self->device_name in open_device
11302
11303 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
11304         * installcheck/amgetconf.pl: supply a plugin for scripts
11305
11306 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
11307         * server-src/diskfile.c: Check an application is set if
11308                                  program == "APPLICATION".
11309         * common-src/amxml.c: Check plugin is set for application and script.
11310         * common-src/conffile.c: Check plugin is set for application and script
11311
11312 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
11313         * server-src/amstatus.pl: Fix printing of config path on error.
11314
11315 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
11316         * installcheck/Amanda_Device.pl: test that start(READ) without first
11317           reading the label doesn't cause errors
11318         * device-src/s3-device.c: call s3_device_read_label directly
11319
11320 2008-07-02  Ian Turner <ian@zmanda.com>
11321         * man/xml-source/amanda.8.xml: Document how to override device
11322           properties.
11323
11324 2008-07-02  Ian Turner <ian@zmanda.com>
11325         Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
11326         to this patch.
11327         * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
11328           to start RAIT device in degraded mode.
11329         * device/device.c: Be a little more forgiving of NULL devices.
11330         * device-src/vfs-device.c: Fix a bug where vfs_device_start()
11331           would sometimes throw an erroneous assertion.
11332         * device-src/rait-device.c: Be much more robust in error handling;
11333           new feature to start a RAIT device in degraded mode.
11334         * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
11335
11336 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
11337         * common-src/amanda.h: remove unused #include <alloca.h>
11338
11339 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
11340         * device-src/tape-device.c: add "user" and "good" to feature flags
11341         * man/xml-source/amanda-devices.7.xml: document it
11342
11343 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
11344         * device-src/device.h: fix comments to reflect removal of
11345           autofinishing
11346         * device-src/tape-device.c: remove autofinishing
11347
11348 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
11349         * changer-src/chg-lib.sh.in: also handle bare tape dev names
11350
11351 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
11352         * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
11353         * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
11354           open the debug file
11355
11356 2008-06-30  Dustin J. Mitchell <dustin@zmanda.com>
11357         * common-src/match.c: fix multiple bugs in match_datestamp
11358
11359 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
11360         * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
11361           perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
11362           perl/Amanda/Device.swg perl/Amanda/Logfile.swg
11363           perl/Amanda/Util.swg: POD cleanup
11364         * perl/Makefile.am: new files, rules to make HTML
11365         * perl/amperl.css: CSS file for online POD
11366         * perl/make_html.pl: make online POD
11367
11368 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
11369         * installcheck/Makefile.am installcheck/amstatus.pl: new check
11370
11371 2008-06-27  Ian Turner <ian@zmanda.com>
11372         * server-src/taper.c: fix printing a NULL pointer in the error path
11373
11374 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
11375         * device-src/device.c: check for and fail on multiple
11376           short writes to the same file
11377         * device-src/null-device.c device-src/rait-device.c
11378           device-src/s3-device.c device-src/tape-device.c
11379           device-src/vfs-device.c: do not autofinish files
11380         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
11381           expect devices to autofinish anymore
11382         * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
11383         * device-src/device-queueing.c: comments
11384         * xfer-src/xfer-element.h: comments
11385
11386 2008-06-27  Nikolas Coukouma <atrus@zmanda.com>
11387         * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
11388           Add support for bucket location constraints
11389         * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
11390         * device-src/s3.c device-src/s3.h device-src/s3-device.c:
11391           Checks for libcurl and bucket name compatability with location constraints
11392         * device-src/s3.c: make s3_init() threadsafe,
11393           refactor regex compilation and calling,
11394           refactor perform_request() functions to construct URL later,
11395           use GString to tidy string generation
11396         * installcheck/Amanda_Device.pl: Add tests for location constraints
11397
11398 2008-06-27  Ian Turner <ian@zmanda.com>
11399         * device-src/rait-device.c: Fix a memory corruption issue on the last
11400           block of a file.
11401
11402 2008-06-27  Ian Turner <ian@zmanda.com>
11403         * device-src/rait-device.c: Fix a memory corruption issue on the last
11404           block of a file.
11405
11406 2008-06-27  Ian Turner <ian@zmanda.com>
11407         * device-src/rait-device.c: Track file numbers properly when child
11408           devices change them (that is, in rait_device_start_file() and
11409           rait_device_seek_file()).
11410         * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
11411
11412 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
11413         * device-src/s3-device.c (s3_device_read_label): Don't set
11414           volume_header if nothing is read.
11415
11416 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
11417         * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
11418
11419 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
11420         * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
11421         * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
11422           be busy or offline
11423
11424 2008-06-26  Jean-Louis Martineau <martineau@zmanda.com>
11425         * application-src/amstar.c: Use local start_time variable.
11426         * application-src/amgtar.c: Use local start_time variable.
11427         * common-src/clock.h: Remove times_zero and start_time extern.
11428         * common-src/clock.c: Remove times_zero.
11429
11430 2008-06-25  Jean-Louis Martineau <martineau@zmanda.com>
11431         * server-src/diskfile.c: Don't send encryption in xml req packet for
11432                                  server encryption.
11433
11434 2008-06-25  Dustin J. Mitchell <dustin@zmanda.com>
11435         * application-src/amgtar.c: revert --atime-preserve change
11436
11437 2008-06-22  Dustin J. Mitchell <dustin@zmanda.com>
11438         * application-src/amgtar.c: change --atime-preserve=system to
11439           --atime-preserve
11440
11441 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>
11442         * installcheck/amdump.pl: fix checks to refresh the test configuration
11443
11444 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
11445         * server-src/amdump.sh: correctly handle error exits from planner
11446         * server-src/planner.c: fail if planning fails
11447         * installcheck/amdump.pl: test changes
11448
11449 2008-06-20 Dan Locks <dwlocks@zmanda.com>
11450         * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
11451
11452 2008-06-20 Dan Locks <dwlocks@zmanda.com>
11453         * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
11454
11455 2008-06-20  Jean-Louis Martineau <martineau@zmanda.com>
11456         * client-src/client_util.c: Call check_access() only
11457                                     if getuid() == geteuid().
11458         * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
11459
11460 2008-06-19  Jean-Louis Martineau <martineau@zmanda.com>
11461         * server-src/amcleanup.pl: Correctly rename amdump files.
11462
11463 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
11464         * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
11465         * man/entities/global.entities: emails for dustin and ian
11466         * man/xml-source/amanda.8.xml: refer to new manpage
11467         * man/xml-source/amanda.conf.5.xml: refer to new manpage
11468         * man/xml-source/amrecover.8.xml: refer to new manpage
11469         * server-src/amcheck.c: fix message regarding WORM media
11470
11471 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
11472         * server-src/amgetconf.pl: fail on bad parameters or subsections, but
11473           not empty values or subsection lists
11474         * perl/Amanda/Config.swg: publish a list of subsections
11475         * installcheck/amgetconf.pl: test it
11476
11477 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
11478         * example/template.d/amanda-single-tape.conf.in
11479           example/template.d/amanda-harddisk.conf.in
11480           example/template.d/amanda-tape-changer.conf.in
11481           example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
11482           use application amgtar instead of program GNUTAR
11483
11484 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
11485         * config/amanda/net.m4: AC_SUBST port ranges; update comments
11486
11487 2008-06-19  Satya Ganga <gsat@zmanda.com>
11488         * example/template.d/amanda-single-tape.conf.in
11489           example/template.d/advanced.conf.in: update displayunit to "g" and
11490           remove chg-manual for single tape configurations.
11491
11492 2008-06-19  Ian Turner <ian@zmanda.com>
11493         * device-src/rait-device.c (rait_device_start): Check for consistent
11494           volume label on all child devices, fail with
11495           DEVICE_STATUS_DEVICE_ERROR otherwise.
11496         * installcheck/Amanda_Device.pl: Test for foregoing.
11497
11498 2008-06-19  Paddy Sreenivasan <paddy@zmanda.com>
11499         * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
11500
11501 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
11502         * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
11503         * config/automake/scripts.am: explain why
11504
11505 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
11506         * changer-src/chg-manual.sh: Make it interruptible.
11507
11508 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
11509         * application-src/amgtar.c: Remove check for amandates file.
11510
11511 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
11512         * common-src/amanda.h: Fix skip_quoted_string for "\\".
11513         * common-src/file.c: Fix debug_agets for "\\".
11514
11515 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
11516         * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
11517
11518 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
11519         * client-src/sendsize.c: Report error from application to server.
11520         * application-src/amgtar.c: Report exit status of tar.
11521
11522 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
11523         * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
11524           xfer-src/dest-device.c xfer-src/source-device.c: new elements
11525           Amanda::Xfer:{Dest,Source}::Device
11526         * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
11527         * installcheck/Amanda_Xfer.pl: tests for new elements
11528
11529 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
11530         * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
11531           and amgtar
11532         * installcheck/amservice.pl: put -f switches first
11533
11534 2008-06-15  Dustin J. Mitchell <dustin@zmanda.com>
11535         * installcheck/Amanda_Config.pl: test config overwrites
11536         * common-src/conffile.c: don't segfault applying config overwrites
11537           after config_init(0, NULL)
11538
11539 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
11540         * client-src/sendbackup.c: Run compression and encryption for
11541                                    application-api.
11542
11543 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
11544         * perl/Amanda/Util.swg: Expose get_original_cwd.
11545         * application-src/amgtar_perl.pl, application-src/amoracle.pl:
11546           chdir(get_original_cwd()) before restore.
11547
11548 2008-06-13  Dustin J. Mitchell <dustin@zmanda.com>
11549         * device-src/property.c device-src/property.h: remove tape properties
11550         * device-src/tape-device.c device-src/tape-device.h: add tape
11551           properties
11552
11553 2008-06-12 Dan Locks <dwlocks@zmanda.com>
11554         * packaging/rpm/amanda_enterprise.spec,
11555           packaging/rpm/amanda_enterprise_client.spec,
11556           packaging/deb/rules: install amgtar and amstar suid root
11557
11558 2008-06-12  Jean-Louis Martineau <martineau@zmanda.com>
11559         * client-src/selfcheck.c: Typo.
11560
11561 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
11562         * client-src/sendsize.c: Check MAX-LEVEL from application.
11563         * server-src/planner.c: Ask for estimate even if SERVER, estimate is
11564           valid if client return -1 and invelid if client return -2.
11565         * common-src/amfeatures.h: New fe_xml_estimate amfeature.
11566         * common-src/amxml.c: Parse <estimate> tag.
11567         * common-src/amxml.h (dle_t): New estimate field.
11568         * common-src/amfeatures.c: Set fe_xml_estimate.
11569
11570 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
11571         * client-src/client_util.c (application_property_add_to_argv):
11572                                    Add include and exclude.
11573         * client-src/client_util.h (application_property_add_to_argv):
11574                                    New prototype.
11575         * client-src/sendbackup.c, client-src/sendsize.c,
11576           client-src/selfcheck.c, recover-src/extract_list.c:
11577           Add bsu param to application_property_add_to_argv.
11578         * client-src/selfcheck.c: Check if application support includ/exclude.
11579         * application-src/amgtar_perl.pl: Don't support include/exclude.
11580         * application-src/amgtar.c: Support include-optional and
11581                                     exclude-optional.
11582         * common-src/amxml.c: Fix include/exclude parsing.
11583
11584 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
11585         * application-src/Makefile.am: Install amgtar and amstar suid root.
11586
11587 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
11588         * client-src/selfcheck.c: Print cmdline before execing the application.
11589         * application-src/generic-dumper.pl: Cleanup.
11590         * application-src/script-oracle.pl: Cleanup.
11591         * application-src/script-email.pl: Cleanup.
11592         * application-src/amgtar_perl.pl: Cleanup.
11593         * application-src/generic-script.pl: Cleanup.
11594         * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
11595         * perl/Amanda/Debug.swg: Typo.
11596
11597 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
11598         * common-src/Makefile.am: don't use $(builddir), fix comparison
11599         * installcheck/Makefile.am: don't use $(builddir)
11600
11601 2008-06-10  Ian Turner <ian@zmanda.com>
11602         * common-src/fileheader.c: Silence a compiler warning.
11603         * device-src/rait-device.c: ditto.
11604
11605 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
11606         * device-src/rait-device.c: hack around glib bug in versions <2.10.2
11607           using the precompiler macro instead of glib_check_version, which
11608           doesn't exist in every version of glib
11609
11610 2008-06-10 Dan Locks <dwlocks@zmanda.com>
11611         * packaging/rpm/amanda.spec:  Replaced individual SBINDIR/am... entries
11612           with SBINDIR/am* in %%files
11613
11614 2008-06-10  Jean-Louis Martineau <martineau@zmanda.com>
11615         * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
11616
11617 2008-06-09 Dan Locks <dwlocks@zmanda.com>
11618         * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
11619           cause the script to fail.
11620
11621 2008-06-09 Dan Locks <dwlocks@zmanda.com>
11622         * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
11623           use a single SBINDIR/am* entry in %files
11624
11625 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
11626         * common-src/fileheader.c: correctly free dle_str
11627         * device-src/device.c device-src/device.h: add volume_header Device
11628           attributes
11629         * device-src/rait-device.c device-src/s3-device.c
11630           device-src/tape-device.c device-src/vfs-device.c: populate
11631           volume_header
11632         * server-src/amlabel.c: use volume_header to detect a non-empty tape
11633           and require a force (-f) to overwrite it
11634         * server-src/taperscan.c: use volume_header to detect a non-empty tape
11635           and require 'amlabel -f' to overwrite it
11636         * device-src/tape-device.c device-src/vfs-device.c: fix read_label
11637           return values and remove useless chain-up calls
11638
11639 2008-06-09  Jean-Louis Martineau <martineau@zmanda.com>
11640         * server-src/amservice.c: Open input file in read mode, prepend
11641                                   get_original_cwd() to relative path.
11642         * installcheck/Makefile.am: Check amservice only on server.
11643
11644 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
11645         * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
11646
11647 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
11648         * man/xml-source/amanda.8.xml: add links to amservice
11649
11650 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
11651         * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
11652         * configure.in: don't call AC_SOCKADDR_STORAGE
11653
11654 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
11655         * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
11656
11657 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
11658         * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
11659           handling so that checks can load/unload vtapes "manually"
11660
11661 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
11662         * server-src/amdevcheck.pl: apply config_overwrites before printing
11663           config errors
11664
11665 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
11666         * application-src/amgtar_perl.pl application-src/amstar_perl.pl
11667           application-src/generic-dumper.pl application-src/generic-script.pl
11668           application-src/script-email.pl server-src/amgetconf.pl: add GPL
11669           notice
11670
11671 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
11672         * server-src/amservice.c: Exit with 1 if the connection fail.
11673         * man/xml-source/amservice.8.xml: Document exit code.
11674
11675 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
11676         * device-src/device.c: make device_set_error bulletproof to NULLs
11677         * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
11678           not defined
11679
11680 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
11681         * man/Makefile.am: Add amservice.8.
11682         * man/xml-source/amservice.8.xml: New man page for amservice.
11683         * server-src/amservice.c: New program to execute an amanda service
11684                                   on a client.
11685         * server-src/Makefile.am: Add amservice
11686         * installcheck/amservice.pl: New check for amservice program.
11687         * installcheck/Makefile.am: Add amservice
11688
11689 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
11690         * server-src/dumper.c: Don't quote dle_str.
11691         * common-src/fileheader.c: DLE= in header is like heredoc.
11692
11693 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
11694         * device-src/*: major overhaul:
11695           - add device_set_error to set error status and message for Device
11696           - every error return from a device API method sets error status
11697           - device_status_error is now threadsave
11698           - a device in an error state will not perform further operations
11699           - ensure Device attributes are set correctly by member functions
11700           - device_open never returns NULL, but may return a null device with
11701             error status set
11702           - clearly define $device_name="$device_type:$device_node"
11703           - send RAIT logging to the debug log
11704           - vfs, tape devices don't touch the device until read_label or start
11705           - on out-of-space in write, set is_eof, finish the file, and return
11706             FALSE
11707           - use accessor functions in Amanda::Device
11708           - move device-specific properties to live with their devices
11709           - change g_return_val_if_fail to g_assert or explicit checks
11710           - remove most default Device methods, as they were more confusing
11711             than helpful
11712           - misc. other cleanup
11713         * device-src/null-device.h device-src/rait-device.h
11714           device-src/s3-device.h device-src/vfs-device.h: removed to make most
11715           device class declarations local to the source file
11716         * perl/Amanda/Device.swg: new error handling
11717         * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
11718           server-src/amcheck.c server-src/amcheckdump.pl
11719           server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
11720           server-src/taperscan.c: use new device error-handling
11721         * server-src/taper-file-source.c server-src/taper-port-source.c
11722           server-src/taper-source.c: rename GObject constants (typo)
11723         * server-src/taper-source.h:
11724         * server-src/taper.c: handle opening devices better, log on EOM
11725         * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
11726           correctly
11727         * installcheck/amdevcheck.pl: volume-unlabeled message has changed
11728         * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
11729           classes
11730         * configure.in device-src/tests/: removed
11731         * device-src/vfs-test.c: moved from device-src/tests/
11732
11733 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
11734         * client-src/sendbackup.c: Don't write the uncompression program if
11735                                    it is not client compressed.
11736
11737 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11738         * server-src/taper.c: Log no-tape line.
11739
11740 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11741         * server-src/reporter.c: Improve formating.
11742
11743 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11744         * server-src/driver.c: start the degraded mode if it receive
11745                                NO-NEW-TAPE from taper.
11746
11747 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11748         * server-src/amcheckdump.pl: Check log fiels in directory if find_log
11749                                      find no log for the timestamps.
11750
11751 2008-06-05  Dustin J. Mitchell <dustin@zmanda.com>
11752         * common-src/conffile.c common-src/conffile.h: expose config_add_error
11753         * server-src/diskfile.c server-src/diskfile.h: use config_add_error
11754           to send diskfile errors to conffile's error-handling mechanism
11755         * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
11756           server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
11757           server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
11758           server-src/planner.c: parse disklist along with config
11759
11760 2008-06-04  Jean-Louis Martineau <martineau@zmanda.com>
11761         And Dustin J. Mitchell <dustin@zmanda.com>
11762         * man/xml-source/amanda-client.conf.5.xml: Document property.
11763         * installcheck/Amanda_Config.pl: Add test for client property.
11764         * common-src/conffile.c (client_var): Add CONF_PROPERTY.
11765
11766 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11767         * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
11768         * common-src/fileheader.c: Don't print NULL dle_str.
11769
11770 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11771         * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
11772                                    add fe_amrecover_dle_in_header.
11773         * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
11774         * recover-src/set_commands.c: Use fe_amindexd_DLE.
11775         * server-src/dumper.c: Set dle_str and add it to the header.
11776         * restore-src/restore.c: Remove dle_str is client doesn't have
11777                                  fe_amrecover_dle_in_header.
11778         * common-src/fileheader.c: Parse and set dle_str from header.
11779         * common-src/fileheader.h: Add dle_str in dumpfile_t.
11780
11781 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11782         * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
11783           man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
11784           man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
11785
11786 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11787         * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
11788                                                  subsec_name.
11789         * installcheck/amgetconf.pl: Fix and add more tests.
11790
11791 2008-06-03  Dustin J. Mitchell <dustin@zmanda.com>
11792         * common-src/amxml.c: give parse error on an empty "disk" element
11793         * server-src/diskfile.c: give parse error on an empty "disk" element
11794
11795 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11796         * common-src/security-util.c: Remove unneeded pointer cast.
11797         * common-src/stream.c: Fix compiler error.
11798
11799 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
11800         * installcheck/Installcheck/Config.pm: fix subsection inheritance
11801
11802 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
11803         * common-src/amanda.h, common-src/bsd-security.c,
11804           common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
11805           common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
11806           common-src/security-util.c, common-src/security-util.h,
11807           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
11808           common-src/stream.c, common-src/util.c, common-src/util.h,
11809           restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
11810           change all relevant functions to use it, to avoid aliasing violations
11811
11812 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11813         * common-src/conffile.c (lookup_keyword): Use temporary variable.
11814         * installcheck/Amanda_Config.pl:  Check insentivity of -/_ in amanda
11815                                           keyword.
11816         * installcheck/Installcheck/Config.pm: Adjust to make the subsection
11817                                                inheritance work.
11818
11819 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11820         * recover-src/extract_list.c: Send properties from dump_dle to
11821                                       application plugin.
11822
11823 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11824         * client-src/client_util.c: New *-RECOVER scripts.
11825         * application-src/script-email.pl: Add new *-RECOVER scripts.
11826         * application-src/generic-script.pl: Add new *-RECOVER scripts.
11827         * application-src/amstar.c: Fix.
11828         * application-src/amgtar.c: Fix.
11829         * recover-src/amrecover.c: Add a global dump_dle variable.
11830         * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
11831                                       scripts.
11832         * recover-src/amrecover.h: Add an extern dump_dle variable.
11833         * recover-src/set_commands.c: Send to amindexd the DLE command.
11834         * server-src/amindexd.c: Handle the DLE command.
11835         * server-src/server_util.c: Add *-RECOVER scripts, they can't be
11836                                     executed on server.
11837         * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
11838         * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
11839         * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
11840         * common-src/amxml.c: Add *-RECOVER scripts.
11841         * common-src/conffile.c: Add *-RECOVER scripts.
11842         * common-src/conffile.h: Add *-RECOVER scripts.
11843
11844 2008-05-29  Dustin J. Mitchell <dustin@zmanda.com>
11845         * common-src/conffile.c: make config insensitive to
11846           differences between '-' and '_'
11847         * man/xml-source/amanda-client.conf.5.xml
11848           man/xml-source/amanda.conf.5.xml
11849           man/xml-source/amgetconf.8.xml: document it
11850         * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
11851           tests
11852
11853 2008-05-29  Orion Poplawski <orion@cora.nwra.com>
11854         * server-src/chunker.c: fix buffer overrun
11855
11856 2008-05-29  Jean-Louis Martineau <martineau@zmanda.com>
11857         * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
11858
11859 2008-05-28  Dustin J. Mitchell <dustin@zmanda.com>
11860         * device-src/rait-device.c: rait-device returns correct size when
11861           blocksize is too small
11862
11863 2008-05-28  Jean-Louis Martineau <martineau@zmanda.com>
11864         * server-src/reporter.c: Fix ignoring pid line.
11865
11866 2008-05-27  Jean-Louis Martineau <martineau@zmanda.com>
11867         * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
11868         * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
11869
11870 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11871         * server-src/amstatus.pl: use lib '@amperldir@';
11872         * perl/Amanda/Process.pm: use Amanda::Constants;
11873
11874 2008-05-26  Dustin J. Mitchell <dustin@zmanda.com>
11875         * device-src/rait-device.c: temporarily remove the call to set the
11876           BLOCK_SIZE property on all RAIT children, as it fails with VFS
11877           devices
11878         * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
11879           correctly detect and handle child device failures
11880         * common-src/fileheader.c: fix parse_file_header to be threadsafe
11881
11882 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11883         * device-src/tape-aix.c, device-src/tape-xenix.c
11884           device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
11885         * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
11886         * device-src/property.c: Add broken_gmt_online property.
11887         * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
11888         * device-src/tape-device.c: Use broken_gmt_online property.
11889         * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
11890         * device-src/tape-ops.h (tape_is_ready): Change prototype.
11891
11892 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11893         * changer-src/chg-zd-mtx.sh: Fix logging.
11894
11895 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11896         * packaging/rpm/amanda.spec: Fix output message.
11897
11898 2008-05-25  Dustin J. Mitchell <dustin@zmanda.com>
11899         * common-src/Makefile.am common-src/simpleprng.c
11900           common-src/simpleprng.h: new simple PRNG module for
11901           reproducible use in tests (bitlength bug fixed).
11902         * xfer-src/dest-null.c: verify stream against PRNG
11903         * xfer-src/source-random.c: use PRNG to create stream
11904         * installcheck/Amanda_Xfer.pl: verify streams in xfers
11905         * perl/Amanda/Xfer.swg: use PRNG
11906         * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
11907           PRNG to test glue elements
11908
11909 2008-05-23  Dustin J. Mitchell <dustin@zmanda.com>
11910         * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
11911           reading from dying child
11912
11913 2008-05-22  Dustin J. Mitchell <dustin@zmanda.com>
11914         * xfer-src/xfer-test.c: don't try to write to a file in the
11915           source directory
11916
11917 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
11918         * perl/Amanda/Process.pm (load_ps_table): Fix split.
11919
11920 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
11921         * configure.in: Call AMANDA_PS_ARGUMENT
11922         * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
11923                                                     argument.
11924         * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
11925         * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
11926
11927 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
11928         * perl/Amanda/Process.pm: process_alive return '' if the process is
11929                                   dead.
11930         * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
11931         * installcheck/Makefile.am (server_tests): Add Amanda_Process.
11932
11933 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11934         * server-src/amstatus.pl: Add "failed: killed while" to some status if
11935                                   the driver process is dead.
11936         * perl/Amanda/Process.pm: New process_alive function.
11937
11938 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11939         * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
11940           server-src/amflush.c, server-src/driver.c, server-src/taper.c,
11941           restore-src/amidxtaped.c, restore-src/restore.c,
11942           restore-src/amfetchdump.c: Convert all pid_t to long before printing.
11943
11944 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11945         * man/xml-source/amcleanup.8.xml: Document new -p option.
11946         * server-src/logfile.c (program_str): Add many programs.
11947         * server-src/logfile.h (program_e): Add many programs.
11948         * server-src/dumper.c, server-src/planner.c,
11949           server-src/chunker.c, server-src/amflush.c,
11950           server-src/driver.c, server-src/taper.c,
11951           restore-src/amidxtaped.c, restore-src/restore.c,
11952           restore-src/amfetchdump.c,
11953           server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
11954         * server-src/server_util.c (run_amcleanup): New function to run
11955                                                     amcleanup.
11956         * server-src/server_util.c (get_master_process): New function get the
11957                                  name of the first pid line in a log file.
11958         * server-src/server_util.h (run_amcleanup): Prototype.
11959         * server-src/server_util.h (get_master_process): Prototype.
11960         * server-src/reporter.c: Ignore pid and pid-done lines.
11961         * server-src/amcleanup.pl: New amcleanup program written in perl.
11962         * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
11963                                   SCRIPTS_PERL.
11964         * server-src/amcleanup.sh: Old program removed.
11965         * perl/Amanda/Process.pm: New module to hanlde amanda process.
11966         * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
11967
11968 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11969         * server-src/driver.c: Fix quoting of diskname.
11970
11971 2008-05-20  Dustin J. Mitchell <dustin@zmanda.com>
11972         * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
11973           necessarily socklen_t used by getpeername et al.
11974         * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
11975           common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
11976           common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
11977           use the type instead of socklen_t
11978
11979 2008-05-20  Jean-Louis Martineau <martineau@zmanda.com>
11980             Dustin J. Mitchell <dustin@zmanda.com>
11981             John Franks <jrfranks@zmanda.com>
11982         * server-src/amstatus.pl: quote disknames in amstatus
11983         * server-src/Makefile.am: don't check amstatus (since it
11984           uses Amanda::* libs)
11985         * perl/Amanda/Util.swg: add (un)quote_string
11986         * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
11987
11988 2008-05-16  Jean-Louis Martineau <martineau@zmanda.com>
11989         * common-src/conffile.c: Fix conf_parserror use.
11990
11991 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
11992         * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
11993           XFA in server builds
11994
11995 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
11996         * common-src/conffile.c: Parse send-amreport-on.
11997         * common-src/conffile.h (send_amreport_t): New enum for possible value
11998                                                    of send-amreport-on.
11999         * server-src/reporter.c: Use send-amreport-on setting.
12000         * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
12001         * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
12002
12003 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
12004         * client-src/client_util.c (application_property_argv_size): New
12005           function to count the number of argument needed to store all
12006           properties of an application for + * a dle in an ARGV.
12007         * client-src/client_util.c (application_property_add_to_argv): New
12008           function to add all properties of an application for a dle to an ARGV.
12009         * client-src/client_util.h (application_property_argv_size,
12010                                   application_property_add_to_argv): Prototype.
12011         * client-src/sendbackup.c, client-src/sendsize.c,
12012           client-src/selfcheck.c: Use new functions to pass properties as
12013                                   argument to application plugin.
12014         * application-src/script-email.pl, application-src/amstar.c,
12015           application-src/generic-script.pl,
12016           application-src/amgtar.c: Get properties from command line.
12017         * server-src/server_util.c: Use new functions to pass properties as
12018                                     argument to pre/post script.
12019         * common-src/util.c (count_proplist): Callback function to count the
12020                                               number of values of a property.
12021         * common-src/util.c (proplist_add_to_argv): callback function to store a
12022                                         property and it's value in an ARGV.
12023         * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
12024         * common-src/conffile.c (property_argv_size): New function to count the
12025                                                       number of properties.
12026         * common-src/conffile.c (property_add_to_argv): New function to store a
12027                                         property and it's value in an ARGV.
12028         * common-src/conffile.h (property_argv_size,
12029                                  property_add_to_argv): Prototype.
12030
12031 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
12032         * xfer-src/Makefile.am: add element-glue.h to the distribution
12033         * xfer-src/element-glue.h: add 'extern'
12034         * xfer-src/xfer-test.c: fix test elements
12035         * xfer-src/xfer.c: don't use the sometimes-undefined constant
12036           G_MAXINT32
12037         * xfer-src/source-random.c: Only use 'prolong' for threads, not
12038           push/pull methods
12039         * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
12040           XMSG_INFO
12041
12042 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
12043         * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
12044           xfer-src/source-random.c xfer-src/xfer-test.c
12045           xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
12046           xfer-src/source-fd.c xfer-src/element-glue.h
12047           xfer-src/Makefile.am xfer-src/filter-xor.c
12048           xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
12049           of transfer mechansims and new algorithm for linking xfers, with
12050           expanded unit tests to exercise new glue elements
12051         * installcheck/Amanda_Xfer.pl: updated installchecks
12052         * common-src/semaphore.h: fix comment typo
12053         * common-src/testutils.c common-src/testutils.h: optionally skip
12054           timeouts (-t), and only show g_debug messages if -d is given
12055
12056 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
12057         * client-src/amhpfixdevs.sh client-src/Makefile.am
12058           client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
12059           permanently remove amsinixfixdevs and amhpfixdevs
12060
12061 2008-05-12  Jean-Louis Martineau <martineau@zmanda.com>
12062           Patch by Orion Poplawski
12063         * server-src/planner.c: Warn about overwrite of last level 1, and
12064           force backup of level 1 if overwrite on this run.
12065
12066 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
12067         * common-src/conffile.c: Define default tapetype.
12068
12069 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
12070         * device-src/tape-device.c (tape_validate_properties): New function to
12071           validate properties.
12072
12073 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
12074         * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
12075
12076 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
12077         * common-src/conffile.c: Check the tapetype is defined.
12078
12079 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
12080         * device-src/tape-device.c: Allow user to set "read_buffer_size"
12081                                     property.
12082         * restore-src/amrestore.c: Don't limit blocksize to
12083                                    --with-maxtapeblocksize.
12084         * common-src/conffile.c: Increase readblocksize to blocksize.
12085           blocksize and readblocksize can be bigger than
12086           --with-maxtapeblocksize.
12087
12088 2008-05-06  Jean-Louis Martineau <martineau@zmanda.com>
12089         * common-src/conffile.c: Add a 'mailer' config parameter.
12090         * common-src/conffile.h: Add CNF_MAILER.
12091         * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
12092           changer-src/chg-manual.sh, application-src/script-email.pl
12093           server-src/amcheck.c server-src/amgetconf.pl
12094           server-src/reporter.c: Use mailer from config.
12095         * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
12096         * config/amanda/progs.m4: Set DEFAULT_MAILER.
12097         * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
12098         * man/xml-source/amanda-client.conf.5.xml,
12099           man/xml-source/amanda.conf.5.xml,
12100           man/xml-source/amgetconf.8.xml: Update man pages.
12101
12102 2008-05-02 Dan Locks <dwlocks@zmanda.com>
12103         * packaging/rpm/amanda.spec:  Replace ${ with %{ where applicable.
12104
12105 2008-05-02 Dan Locks <dwlocks@zmanda.com>
12106         *  packaging/deb/amanda-enterprise-backup-server.postinst
12107            packaging/rpm/amanda_enterprise.spec:  Change .am_passphrase to a
12108            semi-random number in both packages.
12109
12110 2008-04-29  Dustin J. Mitchell <dustin@zmanda.com>
12111         * config/amanda/dirs.m4: note that --with-dumperdir is
12112           deprecated in ./configure --help
12113
12114
12115 2008-04-28  Jean-Louis Martineau <martineau@zmanda.com>
12116         * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
12117
12118 2008-04-28  Dustin J. Mitchell <dustin@zmanda.com>
12119         * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
12120           xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
12121           Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
12122         * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
12123           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
12124           reorganize detection of transfer completion, to handle cases where
12125           elements don't do any active processing
12126         * installcheck/Amanda_Xfer.pl: test it all
12127
12128 2008-04-24  Jean-Louis Martineau <martineau@zmanda.com>
12129         * server-src/reporter.c: Correctly print truncated quoted diskname.
12130
12131 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
12132         * installcheck/Amanda_MainLoop.pl common-src/event-test.c
12133           common-src/queueing-test.c: try to make tests more resilient
12134           to heavily-loaded, slow machines
12135
12136 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
12137         * common-src/security-util.c: Typo.
12138
12139 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
12140         * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
12141         * common-src/event.c: Check event is not dead before fire it.
12142
12143 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
12144         * server-src/planner.c: Fix vstrextend use.
12145
12146 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
12147         * common-src/event.c: use internal child_watch_source
12148           for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
12149           signals and are thus unreliable
12150
12151 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
12152         * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
12153           parsing of 'sec' and 'kb' from logfile messages
12154         * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
12155         * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
12156           for new module
12157
12158 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
12159         * common-src/event.c: on glib <2.4.0, use a simple polling
12160           child_watch_source; on more recent glib, use glib's own
12161           child_watch_source
12162
12163 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
12164         * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
12165           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
12166           xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
12167           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
12168           - flatten XferElement hierarchy to one level
12169           - change test element argument order
12170           - rename XMsg.src to Xmsg.elt
12171           - Improve memory management (refcounting, perl interface)
12172         * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
12173           perl/Amanda/MainLoop.swg perl/Makefile.am
12174           perl/amglue/amglue.h perl/amglue/source.c:
12175           - rewrite handling of amglue_Source for better refcounting
12176           - Amanda::MainLoop callbacks get the event source as 1st argument,
12177             and will be called even if the event source goes out of scope in
12178             perl
12179           - MainLoop.swg significantly rewritten to get refcounting right
12180         * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
12181           file descriptors)
12182         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
12183            checks
12184
12185 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
12186         * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
12187                                    on ioctl error.
12188         * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
12189                          possible errors are VOLUME_MISSING or DEVICE_BUSY.
12190
12191 2008-04-22  Kevin Zembower <kzembowe@jhuccp.org>
12192         * man/xml-source/amflush.8.xml: add amflush example
12193
12194 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
12195         * device-src/tape-device.c: Move all device access from
12196           tape_device_open_device to tape_device_read_label.
12197           tape_device_start read the label if it is not already read.
12198         * device-src/vfs-device.c (vfs_device_open_device): remove read of the
12199                                                             label.
12200
12201 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
12202         * device-src/tape-device.c (check_resetofs): Compilation fix if
12203                                                      NEED_RESETOFS is defined.
12204         * device-src/tape-posix.c: Handle no ENOMEDIUM.
12205
12206 2008-04-21  Dan Locks <dwlocks@zmanda.com>
12207         * packaging/deb/buildpkg: modified build script to create unsigned
12208           packages
12209
12210 2008-04-21  Jean-Louis Martineau <martineau@zmanda.com>
12211         * changer-src/chg-lib.sh.in (amdevcheck_status):
12212           Set amdevcheck_message.
12213         * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
12214           changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
12215           changer-src/chg-multi.sh: Output amdevcheck_message
12216         * device-src/device.c: Set errmsg and status.
12217           device_open always return a device, the status and errmsg are set.
12218         * device-src/device.h: Define DeviceStatusFlags.
12219         * device-src/null-device.c, device-src/s3-device.c,
12220           device-src/tape-device.c, device-src/vfs-device.c,
12221           device-src/rait-device.c: Set errmsg and status.
12222         * device-src/tape-posix.c: Return status for VOLUME_MISSING.
12223         * device-src/tape-ops.h: Remove TapeCheckResult.
12224         * server-src/taper-source.h (_TaperSource): Add errmsg.
12225         * server-src/taper-source.c: Set errmsg
12226         * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
12227           server-src/taperscan.c, restore-src/amrestore.c,
12228           restore-src/restore.c: Use status and errmsg of a device.
12229         * server-src/taper-disk-port-source.c: Set errmsg.
12230         * server-src/reporter.c: Fix parsing of taper PARTIAL line.
12231         * server-src/taper.c: Use errmsg for device and _TaperSource.
12232         * server-src/taper-file-source.c: Set errmsg.
12233         * server-src/amcheckdump.pl,
12234           server-src/amdevcheck.pl: Use status and errmsg from device.
12235         * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
12236         * perl/Amanda/Device.swg: New interface.
12237         * installcheck/Makefile.am: Don't print some commands.
12238         * installcheck/Amanda_Device.pl: Check new device api.
12239         * common-src/queueing.c: Use new queue_fd_t.
12240         * common-src/queueing.h (queue_fd_t): new struct.
12241         * common-src/amanda-sh-lib.sh.in: Fix bug.
12242         * common-src/queueing-test.c: Use queue_fd_t.
12243
12244 2008-04-21  Dustin J. Mitchell <dustin@zmanda.com>
12245         * installcheck/amgetconf.pl: properly quote filenames in
12246           regex, to avoid spurious failures when e.g., '+' appears
12247           in the filename
12248
12249 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
12250         * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
12251           Amanda::MainLoop, allowing asynchronous operation of
12252           changers
12253         * server-src/amcheckdump.pl: use new Amanda::Changer
12254           interface (synchronously, until we have Amanda::Xfer)
12255         * installcheck/Amanda_Changer.pl: test new interface
12256
12257 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
12258         * installcheck/Makefile.am: build $(full_tests) too
12259
12260 2008-04-18  Cyrille Bollu <Cyrille.Bollu@fedasil.be>
12261         * client-src/sendsize.c: use --numeric-owner during 'sendsize'
12262
12263 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
12264         * installcheck/Makefile.am: segregate installchecks that require
12265           both client and server components
12266
12267 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
12268         * common-src/debug.c: add Amanda version to debug logs
12269
12270 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
12271         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
12272           process type and context process attributes
12273         * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
12274           debug_init to set up debugging according to the process context, and
12275           log nothing in CONTEXT_SCRIPTUTIL
12276         * server-src/amgetconf.pl server-src/amdevcheck.pl:
12277           CONTEXT_SCRIPTUTIL
12278         * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
12279         * installcheck/Amanda_Debug.pl: add comment
12280
12281 2008-04-16  Dan Locks <dwlocks@zmanda.com>
12282         * Fixes to debian package reported by daniel_P
12283         * packaging/deb/preinst: remove spaces near ${amanda_group}
12284         * packaging/deb/amanda-backup-server.dirs
12285           packaging/deb/amanda-backup-client.dirs: added var/amanda and
12286           usr/share/lintian/overrides
12287         * packaging/deb/rules: added logic to find PERLSITELIB and append that
12288           to amanda-backup-server.install, removed broken brace expansion
12289         * packaging/deb/buildpkg: removed extraneous configure step
12290         * packaging/deb/amanda-backup-server.postinst: added check for correct
12291           permissions on /tmp/amanda
12292
12293 2008-04-16  Dan Locks <dwlocks@zmanda.com>
12294         * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
12295           from configure invocation.  no longer necessary.
12296
12297 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
12298         * device-src/s3.c config/amanda/s3-device.m4: test curl features
12299           at runtime, instead of compile time, and always use SSL if it
12300           is available.
12301
12302 2008-04-16  Jean-Louis Martineau <martineau@zmanda.com>
12303         * server-src/amadmin.c: Improve message.
12304         * man/xml-source/amanda.conf.5.xml: Fix man page.
12305         * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
12306
12307 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
12308         * config/amanda/dumpers.m4: continue searching for gnutar if we
12309           find a binary claiming to be gnu tar that is not.  This gets
12310           around serious breakage on Ubuntu, where star is installed as
12311           /bin/gnutar, but /bin/tar is actually GNU Tar.
12312
12313 2008-04-15  Dustin J. Mitchell <dustin@zmanda.com>
12314         * common-src/file.c(mk1dir): fix reversed conditional to handle
12315           a race condition
12316
12317 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
12318         * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
12319           msg_timestamp() to stderr.
12320
12321 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
12322         * server-src/dumper.c: Call error() only after set_logerror is done.
12323         * server-src/planner.c: Call error() only after set_logerror is done.
12324         * server-src/chunker.c: Report a better error message.
12325         * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
12326
12327 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
12328         * server-src/find.c (dumps_match_dumpspecs): New function to only keep
12329           dumps that match a dumpspecs, using it simplify amfetchdump.
12330         * server-src/find.h (dumps_match_dumpspecs): Prototype.
12331         * restore-src/amrestore.c: Add a first_restored_file to
12332           search_a_tape(), to allow restore ot stop after the first image.
12333         * restore-src/restore.c: Set first_restored_file, it was never set,
12334           it's needed to stop after the first image.
12335         * restore-src/restore.c (restore_from_tapelist): break if piping to
12336           stdout.
12337         * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
12338         * restore-src/amfetchdump.c: If -p, the keep only one dump.
12339         * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
12340         * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
12341         * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
12342         * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
12343         * installcheck/Amanda_Logfile.pl: Add many tests.
12344
12345 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
12346         * tape-src/tapetype.c: Initialize an default config.
12347
12348 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
12349         * common-src/util.c (connect_portrange, connect_port, bind_portrange):
12350           Return the latest errno reported.
12351
12352 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
12353         * common-src/conffile.c common-src/conffile.h
12354           perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
12355           new interface for config errors, re-introduce rawtapedev for
12356           deprectation purposes
12357         * installcheck/Installcheck/Config.pm: support test
12358           amanda-client.conf files
12359         * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
12360         * client-src/client_util.c client-src/client_util.h: add
12361           config_errors_to_error_string
12362         * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
12363           better, so users see client-side config errors
12364         * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
12365           changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
12366           client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
12367           application-src/amgtar.c recover-src/amrecover.c
12368           server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
12369           server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
12370           server-src/amtape.c server-src/amcheckdump.pl
12371           server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
12372           server-src/driver.c server-src/reporter.c server-src/taper.c
12373           server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
12374           server-src/amlabel.c installcheck/Amanda_Changer.pl
12375           installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
12376           installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
12377           restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
12378           error interface
12379
12380 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
12381         * server-src/diskfile.c: improve messages when client does not
12382           support required features
12383
12384 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
12385         * installcheck/Amanda_Config.pl common-src/conffile.c
12386           common-src/conffile.h: fix deprecation of keywords to
12387           actually issue a warning.  'netusage' is no longer
12388           deprecated.
12389
12390 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
12391         * common-src/event.c: use SA_RESTART for child_watch_source
12392
12393 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
12394         * perl/Amanda/MainLoop.swg perl/amglue/source.c
12395           installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
12396           GSources defined in event.c, using an extensible model
12397         * common-src/event.c: check whether child_watch_source's signal
12398           handler has been replaced, and issue a warning if it has.
12399
12400 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
12401         * common-src/queueing.c: fix condition (thanks to Jean-Louis
12402           Martineau)
12403
12404 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
12405         * common-src/Makefile.am common-src/queueing-test.c: new tests
12406         * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
12407         * common-src/queueing.c: fix two bugs:
12408           - spurious in-place memmove on every buffer copy
12409           - silent discard of a final packet if the consumer does not
12410             completely consume it
12411         * common-src/queueing.h: update comments
12412         * common-src/testutils.h: add header-protection macros
12413
12414 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
12415         * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
12416           for Amanda::Device
12417
12418 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
12419         * man/xml-source/amanda.conf.5.xml: fix typos
12420
12421 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
12422         * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
12423
12424 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
12425         * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
12426
12427 2008-04-01  Dustin J. Mitchell <dustin@zmanda.com>
12428         Suggested by Sunil Sawant <sunil@zmanda.com>
12429         * man/xml-source/amrecover.8.xml: suggest including a config in the
12430           amrecover command line
12431
12432 2008-04-01  John Franks <jfranks@zmanda.com>
12433         * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
12434           Patches to reapply after gnulib updates.
12435         * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
12436           gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
12437           gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
12438           gnulib/getaddrinfo.h:
12439           Remove restricted keywords from source files.
12440
12441 2008-04-01  Satya Ganga <gsat@zmanda.com>
12442         * example/template.d/amanda-S3.conf.in: S3 device should have
12443           "infinite" tape length
12444
12445 2008-03-31  John Franks <jfranks@zmanda.com>
12446         * common-src/stream.c
12447           Fix warning about ininitialized variables.
12448
12449 2008-03-31  John Franks <jfranks@zmanda.com>
12450         * oldrecover-src/Makefile.am xfer-src/Makefile.am
12451           recover-src/Makefile.am server-src/Makefile.am
12452           restore-src/Makefile.am:
12453           Fix build problems with multiply defined symbols.
12454
12455 2008-03-31  Dan Locks <dwlocks@zmanda.com>
12456         * packaging/deb/buildpkg
12457           packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
12458
12459 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
12460         * client-src/sendbackup-gnutar.c client-src/sendsize.c
12461           client-src/selfcheck.c: update amandates whenever possible, but only
12462           complain when it is really needed: when using calcsize, or when
12463           using GNUTAR and --without-gnutar-listdir.
12464         * client-src/amandates.c: Set errno before return of start_amandates
12465         * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
12466
12467 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
12468         * server-src/amgetconf.pl: Parse config after setup_applccation call.
12469
12470 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
12471         * server-src/amcheck.c: Check errno after full_read.
12472
12473 2008-03-31  Dan Locks <dwlocks@zmanda.com>
12474         * packaging/Makefile.am: add deb subdirectory.
12475
12476 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>
12477         * common-src/rsh-security.c common-src/ssh-security.c: improve error
12478           messages for resolve_hostname calls
12479
12480 2008-03-27  Dustin J. Mitchell <dustin@zmanda.com>
12481         * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
12482         * gnulib/regenerate/regenerate gnulib/Makefile.am
12483           config/gnulib/gnulib-cache.m4: add full-read, full-write modules
12484         * oldrecover-src/extract_list.c client-src/noop.c
12485           client-src/sendbackup-gnutar.c client-src/sendbackup.c
12486           client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
12487           application-src/amgtar.c recover-src/extract_list.c
12488           server-src/changer.c server-src/logfile.c server-src/amindexd.c
12489           server-src/amcheck.c server-src/dumper.c server-src/chunker.c
12490           server-src/taper-port-source.c server-src/driverio.c
12491           server-src/holding.c server-src/driver.c
12492           server-src/taper-file-source.c restore-src/restore.c
12493           common-src/security-util.c common-src/amanda.h
12494           tape-src/output-file.c: use gnulib full_read, full_write functions,
12495           which have slightly different error semantics than the corresponding
12496           Amanda functions.
12497
12498 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
12499         * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
12500
12501 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
12502         * device-src/activate-devpay.c (parse_commandline): Always return.
12503
12504 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
12505         * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
12506         * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
12507         * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
12508         * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
12509         * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
12510         * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
12511         * amandad-src/Makefile.am,
12512         * client-src/Makefile.am, device-src/Makefile.am,
12513           server-src/Makefile.am, server-src/server_util.c,
12514           tape-src/Makefile.am: Add library to many *_LIBADD.
12515         * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
12516           WANT_CYGWIN_COPY_PERL_DLL.
12517
12518 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
12519         * common-src/conffile.c: Fix typo and remove unused prefix.
12520
12521 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
12522         * server-src/reporter.c: Check difference between origsize and outsize
12523           to find if the image is compressed.
12524
12525 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
12526         Greg Troxel reported the bug and possible solution.
12527         * common-src/stream.c (stream_server): New family argument, it is used
12528                                                to create the socket.
12529         * common-src/stream.h (stream_server): New prototype.
12530         * server-src/chunker.c, server-src/taper.c: Call stream_server with
12531           family of 'localhost', it's the name dumper use to contact them.
12532         * restore-src/amidxtaped.c: Call stream_server with AF_INET.
12533         * common-src/bsd-security.c, common-src/security-util.c: Call
12534           stream_server with family of incoming packet.
12535
12536 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
12537         Davor Ocelic reported the problem.
12538         * application-src/Makefile.am: Use applicationexec_PROGRAMS and
12539           applicationexec_SCRIPTS to install executable.
12540
12541 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
12542         * common-src/security-util.c (show_stat_info): Use getpwuid_r
12543                                                        and getgrgid_r.
12544 2008-03-25  Dustin J. Mitchell <dustin@zmanda.com>
12545         * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
12546           peculiar linking of threading libraries.
12547
12548 2008-03-20  Dan Locks <dwlocks@zmanda.com>
12549         * packaging/deb/control: removed grep dependency
12550         * packaging/deb/amanda-backup-client.postinst
12551           packaging/deb/amanda-backup-server.postinst
12552           packaging/deb/amanda-backup-server.postrm
12553           packaging/deb/amanda-backup-client.postrm:  removed call to
12554           ldconfig to satisfy lintian
12555         * packaging/deb/amanda-backup-server.lintian
12556           packaging/deb/amanda-backup-client.lintian: sorted and added new
12557           overrides
12558         * packaging/deb/amanda-backup-client.dirs: removed var/amanda
12559
12560 2008-03-18  Dustin J. Mitchell <dustin@zmanda.com>
12561         * device-src/activate-devpay.c: fix type warning
12562
12563 2008-03-17  Jean-Louis Martineau <martineau@zmanda.com>
12564         * server-src/diskfile.c: Correctly check if two hosts map to the same
12565                                  name.
12566
12567 2008-03-15  Dustin J. Mitchell <dustin@zmanda.com>
12568         * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
12569           perl/amglue/source.c: rename mainloop.c to source.c to avoid
12570           conflicts with MainLoop.c on case-insensitive filesystems
12571
12572 2008-03-14  Dan Locks <dwlocks@zmanda.com>
12573         * Initial debian release: This package is based on Bdale Garbee's
12574           work as the official debian maintainer for amanda.
12575
12576 2008-03-14  Jean-Louis Martineau <martineau@zmanda.com>
12577         * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
12578                                             property.
12579         * server-src/server_util.c: Rename _proplist to _property.
12580         * server-src/diskfile.c: Rename _proplist to _property.
12581         * server-src/amadmin.c (disklist_one): Print property.
12582         * perl/Amanda/Config.swg: Add new constants to Amanda::Config
12583         * installcheck/Amanda_Config.pl: Test global property.
12584         * common-src/conffile.c: Add global and by dumptype property.
12585         * common-src/conffile.h: Add global and by dumptype property.
12586
12587 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
12588         * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
12589         * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
12590         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
12591           new module
12592         * common-src/event.h: fix typo in comment
12593
12594 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
12595         * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
12596           expects an int, not a char.
12597
12598 2008-03-13  Dan Locks <dwlocks@zmanda.com>
12599         * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
12600           it works with rpm versions earlier than 4.4
12601
12602 2008-03-13  Dustin J. Mitchell <dustin@zmanda.com>
12603         * device-src/device-queueing.c device-src/device-queueing.h
12604           server-src/taper-source.c server-src/taper-source.h
12605           server-src/taper-source-test.c server-src/taper.c
12606           common-src/queueing.c common-src/queueing.h: change ints in
12607           consumer/producer to (s)size_t
12608         * device-src/device.c device-src/device-queueing.c
12609           device-src/tests/semaphore-test.c device-src/tests/Makefile.am
12610           device-src/queueing.c device-src/semaphore.c
12611           device-src/device-queueing.h device-src/queueing.h
12612           device-src/Makefile.am device-src/semaphore.h
12613           device-src/property.h server-src/taper.c common-src/queueing.c
12614           common-src/queueing.h common-src/semaphore-test.c
12615           common-src/semaphore.c common-src/semaphore.h
12616           common-src/Makefile.am: move queueing and semaphore into
12617           common-src, along with their tests
12618         * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
12619           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
12620           xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
12621           xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
12622           xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
12623         * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
12624           xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
12625           xfer-src/Makefile.am xfer-src/xfer.h: support for sending
12626           and receiving XMsgs.
12627         * common-src/event.c common-src/event.h: add default_event_loop().
12628         * device-src/device.c server-src/taper-source-test.c common-src/util.c
12629           common-src/util.h common-src/glib-util.c common-src/glib-util.h:
12630           create new glib_init() to do g_type_init(), initialize threads, etc.
12631
12632 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
12633         * client-src/sendsize.c: Don't use sscanf for est->qamname because it
12634                                  can have a '%'.
12635         * server-src/diskfile.c: Clean the diskname before using it as a regex.
12636         * common-src/protocol.c: Fix bug if packet have a '%' character.
12637
12638 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
12639         * installcheck/Installcheck/Run.pm: Increase size of TAPE.
12640
12641 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
12642         * common-src/event.c: Use %jd to print a pid_t, since it may be
12643           larger on some platforms.
12644
12645 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
12646         * common-src/conffile.c: Fix solaris 8 cc warning.
12647
12648 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
12649         * client-src/sendbackup.c: Set stroptions to "".
12650
12651 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
12652         * common-src/event.c common-src/event.h common-src/event-test.c:
12653           add two new GSources: child_watch_source (sends events when a child
12654           dies) and fdsource (sends events when file descriptors match
12655           conditions).  Thanks to Jean-Louis Martineau for finding and fixing
12656           a race condition.
12657
12658 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
12659         * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
12660           documentation to reflect use of gnulib's git repository
12661
12662 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
12663         * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
12664                                     it is done automaticaly.
12665         * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
12666                                      conflict with make CLOBBER_MY_CONFIG.
12667
12668 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
12669         * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
12670                                     variable.
12671
12672 2008-03-12  Dan Locks <dwlocks@zmanda.com>
12673         * packaging/rpm/buildpkg: made the script quieter
12674
12675 2008-03-12  Dan Locks <dwlocks@zmanda.com>
12676         * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
12677           added --quiet to the configure invocation
12678
12679 2008-03-10  Jean-Louis Martineau <martineau@zmanda.com>
12680         * gnulib: Update to latest version, add getopt module.
12681
12682 2008-03-07  Jean-Louis Martineau <martineau@zmanda.com>
12683         * oldrecover-src/Makefile.am, example/Makefile.am,
12684           amandad-src/Makefile.am, recover-src/Makefile.am,
12685           restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
12686         * installcheck/Amanda_Config.pl: Check config_filename.
12687         * installcheck/Installcheck/Config.pm: Use local amandates and
12688                                                gnutar_listdir.
12689         * installcheck/Makefile.am: Take a copy of amanda-client.conf
12690         * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
12691         * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
12692         * config/automake/installperms.am: installperms.sh in top_builddir,
12693                                            DISTCLEANFILES += $(installperms_sh)
12694         * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
12695                        DISTCHECK_CONFIGURE_FLAGS.
12696         * common-src/Makefile.am: distclean-local: remove svn-info.h.
12697
12698 2008-03-07  Dan Locks <dwlocks@zmanda.com>
12699         * packaging/rpm/buildpkg:  Simplified usage of packaging script by
12700           creating a tarball from existing source.
12701
12702 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
12703         * installcheck/Installcheck/Run.pm: merge from application-api.
12704         * installcheck/Installcheck/Config.pm: merge from application-api.
12705
12706 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
12707         * merge application-api
12708
12709 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
12710         * common-src/Makefile.am: dest=$(amlibexecdir).
12711
12712 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
12713         * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
12714                                    Add chg-lib.sh.in to EXTRA_DIST.
12715         * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
12716                                   Add generic-dumper.pl to EXTRA_DIST.
12717         * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
12718                                   Add amanda-sh-lib.sh.in to EXTRA_DIST.
12719
12720 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12721         * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
12722         * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
12723
12724 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12725         * config/amanda/swig.m4: Check for *freebsd[123456]*
12726
12727 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12728         * changer-src/chg-scsi-chio.c: Compile fix.
12729         * changer-src/scsi-chio.c: Compile fix.
12730         * config/amanda/changer.m4: Check for linux/chio.h
12731
12732 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12733         * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
12734
12735 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
12736         * config/amanda/swig.m4: With many thanks to John E. Hein
12737           <jhein@timing.com>, fix the comment and make the change committed
12738           yesterday apply to all FreeBSD < 7.0.
12739
12740 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
12741         * config/amanda/summary.m4: quote all warning messages that will be
12742           included in heredocs, to avoid spurious interpretation of backquotes
12743
12744 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12745         * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
12746
12747 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12748         * restore-src/amidxtaped: Use default config if amrecover doesn't send
12749                         a config name.  (amoldrecover doesn't send a config).
12750         * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
12751           so desired_tape->numfiles == 0.
12752           If amidxtaped is launched directly from xinetd, then
12753           flags->pipe_to_fd == STDOUT_FILENO, but this test should only
12754           succeed for amrestore of amfetchdump.
12755
12756 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12757         * device-src/tape-device.c: Set d_self->is_eof to FALSE.
12758
12759 2008-03-04  Dustin J. Mitchell <dustin@zmanda.com>
12760         * perl/Makefile.am config/amanda/swig.m4: add a special case for
12761           FreeBSD-6.2: include -lpthread in the linking of each perl
12762           extension, because libgthread does not pull in libpthread as
12763           it does on other platforms.
12764
12765 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
12766         * common-src/security-util.c: getnameinfo return != 0 on error.
12767
12768 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
12769         * config/amanda/dumpers.m4: Typo.
12770
12771 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
12772         * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
12773           return value of 'pipe', declared with attribute warn_unused_result.
12774
12775 2008-02-29  Dustin J. Mitchell <dustin@zmanda.com>
12776         * common-src/amanda.h: add <stdint.h>
12777
12778 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
12779         * config/automake/installperms.am: --without-installperms now
12780           generates a shell-parsable list of desired permissions
12781         * Makefile.am: erase installperms.sh before beginning a 'make
12782           install'
12783         * oldrecover-src/Makefile.am client-src/Makefile.am
12784           recover-src/Makefile.am server-src/Makefile.am: give mode
12785           bits in octal
12786
12787 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
12788         Thanks to John E. Hein <jhein@timing.com> for identifying this problem
12789         * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
12790         * installcheck/Amanda_Config.pl: use a properly-sized constant to
12791           check parsing of large configuration values
12792
12793
12794 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
12795         * server-src/amindexd.c: Compute maxpart, call clean_dump.
12796         * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
12797         * server-src/disk_history.h (add_dump): New prototype,
12798                                                 add maxpart argument.
12799         * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
12800                                         previous part is not already added.
12801         * server-src/disk_history.c (clean_dump): New function to remove
12802                                         DUMP_ITEM if all part are not added.
12803         * common-src/tapelist.h (tapelist_t): Add partnum field.
12804         * common-src/tapelist.h (append_to_tapelist): New prototype,
12805                                                       add partnum argument.
12806         * common-src/tapelist.c (append_to_tapelist): New partnum argument.
12807         * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
12808
12809 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
12810         * common-src/security-util.c: Don't write unclaimed warning if we have
12811                                       an accept function.
12812
12813 2008-02-27  Dustin J. Mitchell <dustin@zmanda.com>
12814         * common-src/testutils.c common-src/testutils.h
12815           common-src/Makefile.am: add libtestutils.la
12816         * common-src/event-test.c common-src/amflock-test.c:
12817           use libtestutils.la
12818
12819 2008-02-27  Jean-Louis Martineau <martineau@zmanda.com>
12820         * server-src/find.c: Use sort_key in switch statement.
12821
12822 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
12823         * NEWS, ReleaseNotes: Document --with-amlibdir.
12824         * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
12825                                  --without-amlibexecdir,
12826                                  Set AMPERLLIB to $amlibdir/perl.
12827
12828 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
12829         * common-src/event-test.c: a more robust and effective test of
12830           EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
12831
12832 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
12833         * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
12834           add --with-amperldir, --without-amperldir, and install perl modules
12835           in Perl's installsitearch by default; thanks to Orion Poplawski
12836           <orion@cora.nwra.com> for help and suggestions.
12837
12838 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
12839         * client-src/getfsent.c: Don't fail if stat of mount point fail.
12840
12841 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
12842         * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
12843                              RUNNING_AS_DUMPUSER_PREFERRED.
12844
12845 2008-02-25  Jean-Louis Martineau <martineau@zmanda.com>
12846         * server-src/reporter.c: Report size of data on holding disk.
12847
12848 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
12849         * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
12850
12851 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
12852         * server-src/amcheck.c, server-src/dumper.c,
12853           server-src/planner.c: Call waitpid to cleanup defunct process.
12854
12855 2008-02-20  Dustin J. Mitchell <dustin@zmanda.com>
12856         * device-src/tape-posix.c: keep ioctl error message in
12857           debug log
12858
12859 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
12860         * device-src/device.c, device-src/null-device.c,
12861           device-src/s3.c, device-src/tape-device.c,
12862           device-src/queueing.h, device-src/s3.h,
12863           device-src/vfs-device.c, device-src/rait-device.c,
12864           server-src/taper-source-test.c, server-src/server_util.c,
12865           server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
12866           perl/amglue/integers.swg, restore-src/restore.c,
12867           common-src/glib-util.c: Fix solaris compiler warning.
12868
12869 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
12870         * common-src/util.c (quote_string): Quote single quote (').
12871         * server-src/find.c:Correctly compute length of diskname.
12872
12873 2008-02-15  Dustin J. Mitchell <dustin@zmanda.com>
12874         * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
12875           use AC_PROG_EGREP instead of the Amanda version
12876         * server-src/find.c: fix compiler warning on Solaris 8
12877
12878 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12879         * packaging/rpm/amanda.spec: Remove amverify*
12880
12881 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12882         * oldrecover-src/Makefile.am: Build all files in the build directory.
12883         * recover-src/Makefile.am: Build all files in the build directory.
12884         * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
12885         * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
12886           AC_OUTPUT create the common-src directory.
12887
12888 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12889         * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
12890         * file server-src/infofile.c: Use %jd to print intmax_t value.
12891         * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
12892
12893 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12894         * packaging/rpm/amanda.spec: Fix typo.
12895
12896 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12897         * server-src/amdump.sh: Don't use 'date -d', use sed.
12898
12899 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12900         * installcheck/Installcheck/Run.pm: run test dumps of a smaller
12901           directory, to avoid overflowing test tapes
12902
12903 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12904         * dumper-src/amstar.pl dumper-src/amgtar.pl
12905           device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
12906           server-src/amdevcheck.pl: add GPL header
12907
12908 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12909         * installcheck/Makefile.am installcheck/amdump.pl: add a check
12910           that runs 'amdump' directly, since that fails often
12911
12912 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12913         * common-src/event-test.c: make tests more robust to environmental
12914           variations, clean up forked children
12915
12916 2008-02-13  Dustin J. Mitchell <dustin@zmanda.com>
12917         * common-src/security-util.c
12918           common-src/security-util.h: don't cast pointers to
12919           integers for tcp_conn event id's
12920
12921 2008-02-13  Dan Locks <dwlocks@zmanda.com>
12922         * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
12923           build environment as well as if provided on rpmbuild commandline.
12924           Conditionalized this var to handle cross compiling on FC8.
12925
12926 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12927         * amandad-src/amandad.c: use sizeof() instead of strlen()
12928           in a constant expression
12929
12930 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12931         * amandad-src/amandad.c: initialize as->service
12932         * common-src/event.c common-src/event.h: new GMainLoop-based
12933           version of the event library, allowing GMainLoop-based and
12934           event-based processes to co-exist peacefully
12935
12936 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12937         * installcheck/amcheckdump.pl: fix typo
12938
12939 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
12940         * server-src/dumper.c: Fail if no header or no data.
12941
12942 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
12943         * server-src/amstatus.pl: Report failure if dumper succeed and
12944                                   chunker failed.
12945
12946 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
12947         * common-src/conffile.h (config_name, config_dir, config_filename):
12948                                  Remove extern declaration.
12949         * common-src/conffile.h (get_config_name, get_config_dir,
12950                                  get_config_filename): New prototype.
12951         * common-src/conffile.c (config_name, config_dir, config_filename):
12952                                  Declare static.
12953         * common-src/conffile.h (get_config_name, get_config_dir,
12954                                  get_config_filename): New functions.
12955         * perl/Amanda/Config.swg: Don't inline the functions.
12956         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
12957           client-src/sendsize.c, client-src/selfcheck.c,
12958           recover-src/amrecover.c, recover-src/extract_list.c,
12959           server-src/changer.c, server-src/amlogroll.c,
12960           server-src/amindexd.c, server-src/amcheck.c,
12961           server-src/dumper.c, server-src/planner.c,
12962           server-src/chunker.c, server-src/amadmin.c,
12963           server-src/amtape.c, server-src/amcleanupdisk.c,
12964           server-src/amflush.c, server-src/amtrmlog.c,
12965           server-src/driverio.c, server-src/driver.c,
12966           server-src/reporter.c, server-src/taper.c,
12967           server-src/amtrmidx.c, server-src/diskfile.c,
12968           server-src/amlabel.c,
12969           restore-src/amfetchdump.c: Use new functions.
12970
12971 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12972         * common-src/event-test.c common-src/Makefile.am: add checks
12973           for the event module
12974
12975 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12976         * server-src/dumper.c server-src/server_util.c
12977           server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
12978           common-src/file.c: Always call mkpdir without the 02000 bit set,
12979           as it is not needed and causes problems on MacOS X.
12980
12981 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
12982         * all source files: update GPL dates
12983         * perl/*: use LGPL instead of GPL
12984
12985 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
12986         * amandad-src/amandad.c: fix use of non-constant array size
12987
12988 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
12989         * amandad-src/amandad.c: add hack to avoid a race condition in
12990           sendbackup operation
12991         * common-src/security-util.c: issue debug log message when data
12992           tokens are dropped by the security API
12993
12994 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
12995         * recover-src/amrecover.c: Use tapedev from server if it is not set
12996                                    in amanda.client.conf
12997         * example/amanda-client.conf.in: Document it.
12998
12999 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
13000         * device-src/tape-device.c (tape_device_init): Init min_block_size
13001           and fixed_block_size to 32768.
13002
13003 2008-02-07  Dustin J. Mitchell <dustin@zmanda.com>
13004         * packaging/rpm/amanda_enterprise.spec man/Makefile.am
13005           man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
13006           man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
13007           server-src/amverify.sh server-src/Makefile.am: remove amverify*
13008         * server-src/amdevcheck.pl: tweak @ARGV parsing
13009         * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
13010           installcheck/amcheckdump.pl: significant rewrite to catch more errors
13011           and not loop for ever on some errors.
13012
13013 2008-02-01  Dustin J. Mitchell <dustin@zmanda.com>
13014         * server-src/amgetconf.pl installcheck/amgetconf.pl
13015           common-src/conffile.c: fix and test amgetconf to allow extra
13016           command-line arguments (undocumented), to allow -o options without a
13017           space, and to correctly return empty results for empty build
13018           variables
13019
13020 2008-02-01  Dan Locks <dwlocks@zmanda.com>
13021         * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
13022           for both client and server, removed amplot from client, added missing
13023           directory %{SYSCONFDIR}/amanda
13024
13025 2008-01-29  Dan Locks <dwlocks@zmanda.com>
13026         * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
13027           where amanda/amandates is concerned.  also added %{LOCALSTATEDIR} to
13028           the %files list.
13029
13030 2008-01-29  Dan Locks <dwlocks@zmanda.com>
13031         * man/xml-source/* added http://wiki.zmanda.com to the "see also"
13032           section
13033
13034 2008-01-29  Jean-Louis Martineau <martineau@zmanda.com>
13035         * client-src/sendbackup.c: Check for g_options.
13036         * client-src/sendsize.c: Check for g_options.
13037         * client-src/selfcheck.c: Check for g_options.
13038         * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
13039
13040 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13041         * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
13042
13043 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
13044         * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
13045           displayunit, and add a unit test to be sure.
13046
13047 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13048         * server-src/amstatus.pl: handle lowercase displayunit.
13049
13050 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
13051         * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
13052           for netinet/in.h and in_port_t, and define the latter if
13053           necessary.  Thanks to Craig Dewick <cdewick@lios.apana.org.au>
13054           for the suggestion.
13055
13056 2008-01-28  Paddy Sreenivasan <paddy@zmanda.com>
13057         * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
13058           status
13059
13060 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13061         * amandad-src/amandad.c: Send service stderr to amandad debug file,
13062           Wait for service termination and send error message to server.
13063
13064 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13065         * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
13066                                Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
13067
13068 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13069         * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
13070         * server-src/amcheckdump.pl: fix usage message
13071
13072 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13073         * configure.in config/amanda/userid.m4: add --with-single-userid
13074
13075 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13076         * server-src/amfreetapes.sh: remove unused script
13077
13078 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13079         * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
13080           for all amglue files where they are missing from glib headers
13081
13082 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13083         * installcheck/Makefile.am: condition installchecks on the selected
13084           components
13085
13086 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13087         * installcheck/Makefile.am Makefile.am: distribute
13088           installcheck/Installcheck scripts, make sure enough parameters
13089           are passed along to distcheck for it to succeed, and also clean
13090           up properly after tests are run.
13091
13092 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13093         * config/amanda/dumpers.m4: eliminate strange warning when
13094           --without-smbclient is given
13095
13096 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13097         * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
13098           installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
13099           installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
13100           installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
13101           installcheck/Installcheck/Config.pm
13102           installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
13103           installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
13104           accumulated tweaks and updates to installchecks
13105
13106 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13107         * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
13108           installcheck/Makefile.am: new tests for integer-handling
13109           SWIG support, including an installed module (Amanda::Test) that
13110           is not used except by this test.
13111
13112 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13113         * installcheck/Amanda_Types.pl
13114           installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
13115           installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
13116           installcheck/Installcheck installcheck/Installcheck/Run.pm
13117           installcheck/Installcheck/Config.pm installcheck/Makefile.am
13118           installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
13119           installcheck/amgetconf.pl: tweaks:
13120            - Move installcheck utilities to the Installcheck::* namespace
13121            - add Installcheck::Run to help with setting up amdump runs, and
13122              running applications in general
13123            - Add complete runs to amdevcheck, amcheckdump
13124            - Return a nonzero exit status from amgetconf when an invalid
13125              configuration parameter is specified.
13126
13127 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13128         * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
13129           new module (Tapelist) replaces old stub (Tapefile)
13130         * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
13131           module
13132         * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
13133           module
13134
13135 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13136         * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
13137           critical() and warning(), respectively
13138         * server-src/amgetconf.pl server-src/amcheckdump.pl
13139           server-src/amdevcheck.pl: use die()
13140         * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
13141           installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
13142           unit tests
13143
13144 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13145         * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
13146           server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
13147           Perl, and add the ability to list available build variables.
13148         * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
13149           config/amanda/bsd-security.m4 config/amanda/dumpers.m4
13150           config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
13151           config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
13152           config/amanda/bsdudp-security.m4 config/amanda/compress.m4
13153           config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
13154           of constants for use in Amanda::Constants
13155         * perl/Makefile.am perl/Amanda/Paths.pm.in
13156           perl/Amanda/Constants.pm.in: add new constants
13157         * perl/Amanda/Config.swg: add getconf_byname_strs
13158         * installcheck/amgetconf.pl: check new functionality
13159         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
13160           RUNNING_AS_ANY
13161
13162 2008-01-17  Jean-Louis Martineau <martineau@zmanda.com>
13163         * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
13164           configure.in: Set for release 2.6.1alpha.
13165
13166 2008-01-16  Dustin J. Mitchell <dustin@zmanda.com>
13167         * installcheck/Makefile.am: Require user to specify
13168           CLOBBER_MY_CONFIG=OK when running installchecks
13169
13170 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
13171         * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
13172
13173 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
13174         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
13175           client-src/sendsize.c, client-src/selfcheck.c,
13176           recover-src/extract_list.c, server-src/changer.c,
13177           server-src/amflush.c, server-src/driverio.c,
13178           common-src/pipespawn.c: Call safe_fd before exec*.
13179
13180 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
13181         * packaging/rpm/amanda.spec: Remove build_host.
13182
13183 2008-01-15  Dustin J. Mitchell <dustin@zmanda.com>
13184         * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
13185           perl/amglue/integers.swg: fix typos and compiler warnings
13186
13187 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
13188         * packaging/Makefile.am: New file.
13189         * packaging/README: New file.
13190         * packaging/rpm/buildpkg: New file.
13191         * packaging/rpm/amanda.spec: New file.
13192         * configure.in
13193         * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
13194         * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
13195                                          ${amlibexecdir}/application
13196         * Makefile.am (SUBDIRS): Add packaging.
13197         * amanda.spec: Remove file.
13198
13199 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
13200         * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
13201         * device-src/tape-device.c, device-src/tape-posix.c,
13202           device-src/vfs-device.c: include "util.h"
13203         * device-src/rait-device.c: fix compiler warning.
13204
13205 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
13206         * perl/amglue/bigint.c: fix the range-checking mechanics for large
13207           integers, since the precompiler seems to get confused by large
13208           constants.
13209
13210 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
13211         * config/amanda/krb5-security.m4: abort configure run if krb5
13212           is requested by libraries aren't found
13213
13214 2008-01-13  Dustin J. Mitchell <dustin@zmanda.com>
13215         * man/xml-source/amanda.conf.5.xml: use &#215; instead of &times;
13216
13217 2008-01-11  Paddy Sreenivasan <paddy@zmanda.com>
13218         * device-src/Makefile.am: Don't install queueing.h and device.h
13219
13220 2008-01-11  Dustin J. Mitchell <dustin@zmanda.com>
13221         * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
13222
13223 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
13224         * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
13225         * installcheck/amgetconf.pl: usetimestamps defaults to yes.
13226         * NEWS, ReleaseNotes: Notes about make installcheck.
13227
13228 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
13229         * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
13230         * ReleaseNotes: Ditto.
13231
13232 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
13233         * ReleaseNotes: Update for amanda-2.6.0
13234         * News: Update for amanda-2.6.0
13235         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
13236         * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
13237         * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}