Imported Upstream version 3.3.0
[debian/amanda] / ChangeLog
1 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2         * VERSION: 3.3.0
3
4 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
5         * configure.in: Move AMANDA_S3_DEVICE to do libcurl detection later.
6
7 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
8         * NEWS, ReleaseNotes: Update for 3.3.0 release.
9
10 2011-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11         * server-src/list_dir.c: fix add_dir_list_item.
12
13 2011-05-27 Dan Locks <dwlocks@zmanda.com>
14         *  packaging/rpm/amanda.spec.src: replace enable-as-needed rpm macro
15            with enable_as_needed.
16
17 2011-05-24 Dan Locks <dwlocks@zmanda.com>
18         *  packaging/deb/rules: use --enable-as-needed
19         *  packaging/rpm/amanda.spec.src: use --enable-as-needed except on
20            sles9, where ld does not have the --as-needed flag.
21
22 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
23         * installcheck/gnutar.pl: Fix gnutar pattern matching for gtar 1.25.
24
25 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
26         * application-src/ampgsql.pl: Parse and filter stdout/stderr of
27           commands.
28
29 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
30         * server-src/driverio.c: fix non-NULL terminated argument list in
31           vstralloc()
32
33 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
34         * Fix for default BSDTCP auth.
35
36 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
37         * amandad-src/amandad.c,
38           common-src/conffile.c: Change default auth to bsdtcp.
39         * NEWS, ReleaseNotes: Change default auth to bsdtcp.
40         * example/amanda-client.conf.in,
41           example/amanda.conf.in: Change default auth to bsdtcp.
42         * man/xml-source/amanda-auth.7.xml,
43           man/xml-source/amanda-client.conf.5.xml,
44           man/xml-source/amanda.conf.5.xml,
45           man/xml-source/amrecover.8.xml: Change default auth to bsdtcp.
46
47 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
48         * device-src/ndmp-device.c: s/NDMP4_/NDMP9_/g
49
50 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
51         * man/xml-source/amrecover.8.xml: Add an AUTH section.
52
53 2011-05-13  Jean-Louis Martineau <martineau@zmanda.com>
54         * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm,
55           perl/Amanda/Taper/Worker.pm: Remove uneeded '#! @PERL@' first line.
56
57 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
58         * server-src/amdump.pl: s/Catched/Caught/
59
60 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
61         * server-src/amdump.pl: Trap ctrl-c while backup is running, resume by
62           sending email and log rotation.
63
64 2011-05-10  Jean-Louis Martineau <martineau@zmanda.com>
65         * perl/Amanda/Taper/Scribe.pm: Call $device->finish() before
66           $device->read_label(), A device must be in ACCESS_NULL for read_label.
67
68 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
69         * common-src/conffile.c: Do not crash on unterminated quoted string.
70
71 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
72         * application-src/amzfs-sendrecv.pl: Implement restore.
73           Generate index with only '/'.
74         * perl/Amanda/Application/Zfs.pm: Add $self->{filesystem} on some
75           command, improve zfs_build_snapshotname.
76         * server-src/list_dir.c (add_dir_list_item): Check if same dump.
77
78 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
79         * common-src/local-security.c: Call initgroups before executing amandad
80
81 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
82         * server-src/driver.c: Do not count dup to tape when checking space
83           on holdingdisk.
84
85 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
86         * device-src/s3.c: Do not get "location" if bucket_location is not set.
87
88 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
89         * server-src/driver.c: Reply immediately a NO_NEW_TAPE if taper ask
90           REQUEST_NEW_TAPE after it is in TAPER_STATE_DONE.
91
92 2011-04-27  Jean-Louis Martineau <martineau@zmanda.com>
93         * perl/Amanda/Device.swg: Do not crash if an unknown device-property
94           is set.
95
96 2011-04-26  Jean-Louis Martineau <martineau@zmanda.com>
97         * device-src/s3-device.c: Add thread and new properties to identify
98           the device.
99         * device-src/s3.c: New properties to identify the device.
100         * device-src/s3.h: New s3_open prototype.
101         * man/xml-source/amanda-devices.7.xml: Document new properties.
102         * NEWS, ReleaseNotes: Document new features.
103
104 2011-04-20  Jean-Louis Martineau <martineau@zmanda.com>
105         * server-src/planner.c: Improve balancing if some dle have strategy
106           noinc or a smaller dumpcycle.
107
108 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
109         * server-src/amidxtaped.pl: Do the uncompress if client can't do it.
110
111 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
112         * perl/Amanda/Changer.pm: new changer error: empty.
113         * perl/Amanda/Changer/robot.pm: return empty slot.
114         * perl/Amanda/Taper/Scan/traditional.pm: Handle empty slot.
115
116 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
117         * perl/Amanda/Changer.pm: Check generated label and meta-label.
118
119 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
120         * man/xml-source/amlabel.8.xml: Improve doc.
121         * server-src/amlabel.pl: Remove spurious print.
122
123 2011-04-12  Jean-Louis Martineau <martineau@zmanda.com>
124         * server-src/amadmin.c: Do not free find result string.
125         * server-src/find.c: Use GStringChunk to store all find_dump string.
126
127 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
128         * configure.in: Use AMANDA_AS_NEEDED.
129         * config/amanda/as_needed.m4: Add --as-needed, set AS_NEEDED_FLAGS.
130         * client-src/Makefile.am, amandad-src/Makefile.am,
131           ndmp-src/Makefile.am, device-src/Makefile.am,
132           application-src/Makefile.am, xfer-src/Makefile.am,
133           server-src/Makefile.am, amar-src/Makefile.am,
134           common-src/Makefile.am: Add AS_NEEDED_FLAGS to many *_LDFLAGS.
135
136 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
137         * perl/Amanda/DB/Catalog.pm: Parse negative kb and orig-kb.
138         * perl/Amanda/Logfile.swg: Do not write negative orig-kb.
139
140 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
141         * man/xml-source/amanda-devices.7.xml: Typo.
142
143 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
144         * perl/Amanda/Interactivity.pm: Add documentation.
145
146 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
147         * server-src/driver.c: Fix Computation of data_lost on current and
148           next tape.
149
150 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
151         * NEWS, ReleaseNotes: Update for 3.3.0beta1.
152
153 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
154         * amplot/amplot.awk: Fix for new log format, fix small -t display,
155           fix 'set key' syntax.
156         * amplot/amplot.g: Fix 'set data' and 'plot' syntax.
157
158 2011-03-31  Jean-Louis Martineau <martineau@zmanda.com>
159         * VERSION: 3.3.0beta1
160
161 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
162         * installcheck/taper.pl: Fix installcheck for 'splitting not enabled'.
163
164 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
165         * VERSION: 3.3.0_beta1
166
167 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
168         * device-src/vfs-device.c: LEOM property default to TRUE.
169
170 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
171         * perl/Amanda/Taper/Scribe.pm: Log 'splitting not enabled' on write
172           failure.
173
174 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
175         * NEWS, ReleaseNotes: Update for 3.3.0
176
177 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
178         * common-src/conffile.c: Add client-name option to application and
179                                  script
180         * common-src/conffile.h: Add client-name option to application and
181                                  script
182         * perl/Amanda/Config.swg: Add APPLICATION_CLIENT_NAME and
183                                   PP_SCRIPT_CLIENT_NAME.
184         * common-src/amfeatures.c: Add fe_application_client_name and
185                                    fe_script_client_name.
186         * common-src/amfeatures.h: Add fe_application_client_name and
187                                    fe_script_client_name.
188         * common-src/amxml.c: Pares client_name
189         * common-src/amxml.h: Add application_client_nake in dle_t and
190                               client_name in script_t.
191         * server-src/diskfile.c: Put client-name in xml output.
192         * server-src/amcheck.c: Check client-name and fe_*_client_name.
193         * client-src/client_util.c (merge_properties, merge_dles_properties):
194                                     new function.
195         * client-src/client_util.h (merge_properties, merge_dles_properties):
196                                     new prototype.
197         * client-src/selfcheck.c, client-src/sendbackup.c,
198           client-src/sendsize.c: Call merge_dles_properties to merge properties
199         * man/xml-source/amanda-client.conf.5.xml,
200           man/xml-source/amanda.conf.5.xml: Document client-name.
201         * recover-src/extract_list.c: merge properties.
202         * NEWS: Add new features.
203
204 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
205         * application-src/amlog-script.pl: Remove warning of unused variable.
206
207 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
208         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
209           server-src/amidxtaped.pl, server-src/amrestore.pl: Use int().
210
211 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
212         * xfer-src/filter-process.c: Call g_critical if pipe() fail.
213
214 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
215         Change the Amanda:Xfer::Filter::Process api, it always create a pipe
216         for the process stderr, the callers must read from it. Callers can send
217         it to debug file, stderr or to amrecover.
218         * installcheck/Amanda_Xfer.pl: Change for new AXF::Process API.
219         * perl/Amanda/Xfer.pod: Document new AXF::Process API.
220         * perl/Amanda/Xfer.swg: Change for new AXF::Process API.
221         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
222           server-src/amrestore.pl: Use new AXF::Process API, send it to stderr
223           and debug file.
224         * server-src/amidxtaped.pl: Use new AXF::Process API, send it to debug
225           file and amrecover.
226         * xfer-src/filter-process.c: Remove log_stderr argument of
227           xfer_filter_process, add new get_err_fd method.
228         * xfer-src/xfer-element.h: Change xfer_filter_process prototype.
229
230 2011-03-27  Dustin J. Mitchell <dustin@mozilla.com>
231         * perl/Amanda/Util.swg: revert previous patch
232         * gnulib/Makefile.am gnulib/fsusage.h
233           gnulib/regenerate/fsusage-no-bool.patch gnulib/regenerate/regenerate:
234           patch fsusage.h to not use stdbool
235         * device-src/vfs-device.c: don't use 'false' and 'true' (from stdbool)
236
237 2011-03-26  Dustin J. Mitchell <dustin@mozilla.com>
238         * perl/Amanda/Util.swg: include fsusage.h early in the generated C
239           to avoid problems with SWIG #undefine-ing 'bool' on Mac OS X with
240           the system-installed Perl
241
242 2011-03-25  Jan Görig <jgorig@redhat.com>
243         * config/amanda/krb5-security.m4: fix linking against wrong libraries
244           on systems where krb5 directory is libdir and amanda is installed
245
246 2011-03-25  Jean-Louis Martineau <martineau@zmanda.com>
247         * server-src/driver.c: Fix iteration over a list it modify.
248
249 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
250         * application-src/amstar.c: read include_list and pass each line as
251           argument for restore operation.
252
253 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
254         * application-src/amgtar.c: Cast with off_t.
255         * application-src/amstar.c: Cast with off_t.
256
257 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
258         * application-src/amstar.c: Add ACL property.
259         * man/xml-source/amstar.8.xml: Document ACL property.
260
261 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
262         * config/amanda/dumpers.m4: Add AMANDA_PROG_SUNTAR, --with-suntar=??
263         * configure.in: Use AMANDA_PROG_SUNTAR.
264         * perl/Amanda/Constants.pm.in: Define $Amanda::Constants::SUNTAR
265         * application-src/amsuntar.pl: Use $Amanda::Constants::SUNTAR,
266                                        Add SUNTAR-PATH property.
267         * man/xml-source/amsuntar.8.xml: Document SUNTAR-PATH property.
268
269 2011-03-15  Jean-Louis Martineau <martineau@zmanda.com>
270         * server-src/find.c: Compute maxparts from the list of part.
271
272 2011-03-11  Jean-Louis Martineau <martineau@zmanda.com>
273         * perl/Amanda/Taper/Scribe.pm: If leom is supported by device,
274           then the dle can be split.
275         * perl/Amanda/Taper/Worker.pm: Send leom setting to
276           get_splitting_args_from_config.
277         * server-src/planner.c: dle can use more than one tape if allow-split
278           is set, this is to handle leom device where splitsize can be 0.
279
280 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
281         * perl/Amanda/Changer/disk.pm: Use -l to check symlink existance.
282
283 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
284         * server-src/amadmin.c: export quote host and disk name, import parse
285           quoted host and disk name.
286
287 2011-03-09  Jean-Louis Martineau <martineau@zmanda.com>
288         * ReleaseNotes, NEWS: Add changes for 3.2.2 and 3.3.0.
289
290 2011-03-08  Jean-Louis Martineau <martineau@zmanda.com>
291         * application-src/amsamba.pl: Use smbclient -TF for restore.
292
293 2011-03-07  Jean-Louis Martineau <martineau@zmanda.com>
294         * server-src/amtrmidx.c: Fix memory leak.
295
296 2011-03-02  Jean-Louis Martineau <martineau@zmanda.com>
297         * common-src/amservice.c; Moved from server-src/amservice.c
298         * server-src/amservice.c: Moved to server-src/amservice.c
299         * common-src/Makefile.am: Add amservice
300         * man/Makefile.am: Install amservice man page on client.
301         * server-src/Makefile.am: Remove amservice
302
303 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
304         * perl/Amanda/Changer.pm (make_new_tape_label): Fix if $tle is undef.
305         * perl/Amanda/ScanInventory.pm: Call _user_msg with label argument.
306         * perl/Amanda/Taper/Scan.pm: Document new user_msg_fn argument.
307         * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on various
308           tape error.
309         * perl/Amanda/Taper/Scribe.pm (_user_msg_fn): Call
310           scribe_notif_log_info with error message.
311         * perl/Amanda/Taper/Worker.pm: Log error in scribe_notif_new_tape.
312         * installcheck/Installcheck/Config.pm: Add taperscan definition.
313         * installcheck/taper.pl: Test new log.
314
315 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
316         * perl/Amanda/Header.swg: Remove bogus %module.
317
318 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
319         * common-src/amfeatures.c: Add fe_amrecover_receive_unfiltered.
320         * common-src/amfeatures.h: Add fe_amrecover_receive_unfiltered.
321         * perl/Amanda/Feature.pod: Add fe_amrecover_receive_unfiltered.
322         * perl/Amanda/Header.swg: Add get_dle method, handle dle_t.
323         * recover-src/extract_list.c: Pipe decompression or decyption.
324         * server-src/amidxtaped.pl: Do not decompress/decrypt if amrecover
325                                     can do it.
326
327 2011-02-14  Jean-Louis Martineau <martineau@zmanda.com>
328         * server-src/driver.c: flush even if flush threshold are not met if
329           it save tape space.
330
331 2011-02-03  Jean-Louis Martineau <martineau@zmanda.com>
332         * perl/Amanda/Taper/Scribe.pm: get_splitting_args_from_config() always
333           return 'allow_split', get_xfer_dest() take a allow_split param,
334           set $self->{'allow_split'}, Abort a dump on EOM if splitting is
335           not allowed.
336         * perl/Amanda/Taper/Worker.pm: Do not set can_cache_inform if splitting
337           is not allowed.
338         * installcheck/Amanda_Taper_Scribe.pl: Fix for previous change.
339         * installcheck/taper.pl: Test that dump are aborted on EOM.
340
341 2011-02-01  Jean-Louis Martineau <martineau@zmanda.com>
342         Patch by Jan Görig
343         * server-src/amrestore.pl: Allow to go to next file with -p.
344
345 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
346         * perl/Amanda/Logfile.swg: "%lld" do not works with perl-5.6.
347
348 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
349         * server-src/amdumpd.pl: Add CHECK command.
350         * client-src/amdump_client.pl: Add check command.
351         * man/xml-source/amdump_client.8.xml: Document check command.
352
353 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
354         * server-src/driver.c: Parse 'bytes' in reply.
355
356 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
357         * server-src/driver.c: Fix taperalog *FIT no going to second volume.
358
359 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
360         * perl/Amanda/Logfile.swg: print 'bytes' with 64 bits type.
361
362 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
363         * perl/Amanda/Logfile.swg: kb must be integer.
364
365 2011-01-24  Jean-Louis Martineau <martineau@zmanda.com>
366         * server-src/amcheckdump.pl: Do not quit the clerk if it is not defined
367
368 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
369         * server-src/amdumpd.pl: Execute "$sbindir/amdump"
370
371 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
372         * installcheck/Amanda_Config.pl: Check recovery-limit, dump-limit,
373           amdump-server, index-server, tape-server.
374         * installcheck/Makefile.am: Add amdump_client.
375         * installcheck/amdump_client.pl: Test new amdump_client program.
376
377 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
378         * client-src/Makefile.am: Add amdump_client.
379         * client-src/amdump_client.pl: New client program.
380         * common-src/conffile.c: Add amdump-server in client config file.
381         * common-src/conffile.h: Add CNF_AMDUMP_SERVER
382         * perl/Amanda/Config.swg: Add CNF_AMDUMP_SERVER
383         * man/Makefile.am: Add amdump_client.8.
384         * man/xml-source/amdump_client.8.xml: New man page for amdump_client.
385
386 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
387         * amandad-src/amandad.c: Add SERVICE_AMDUMPD, All service are active
388           by default for rsh, ssh and local auth.
389         * common-src/conffile.c: Add dump-limit dumptype option.
390         * common-src/conffile.h: Add dump-limit dumptype option.
391         * man/xml-source/amanda.conf.5.xml: Document new dump-limit option.
392         * common-src/local-security.c, common-src/rsh-security.c,
393           common-src/ssh-security.c: Do not add the service on the command line
394         * perl/Amanda/Config.swg: swig dump-limt
395         * server-src/Makefile.am: Add amdumpd perl script.
396         * server-src/amadmin.c (disklist_one): Print dump-limit.
397         * server-src/amdumpd.pl: New deamon script.
398         * server-src/amdump.pl: New --from-client option.
399         * server-src/diskfile.h: Add dump_limit in disk_t.
400         * server-src/diskfile.c: Set dump_limit.
401         * server-src/driver.c: New --from-client option.
402         * server-src/planner.c: New --from-client option.
403
404 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
405         * common-src/conffile.c: Rename *recovery_limit* *host_limit*,
406           add 'server' in a host-limit.
407         * common-src/conffile.h: Rename.
408         * common-src/local-security.c: Use
409           sec_get_authenticated_peer_name_gethostname.
410         * common-src/security-util.c:
411           New sec_get_authenticated_peer_name_gethostname function to return
412           gethostname.
413         * common-src/security-util.h: New prototype.
414         * man/xml-source/amanda.conf.5.xml: Document 'server' for
415           recovery-limit.
416         * perl/Amanda/Config.swg: Return $Amanda::Config::LIMIT_SAMEHOST
417           same-host, return $Amanda::Config::LIMIT_SERVER for server.
418         * server-src/amidxtaped.pl: Use $Amanda::Config::LIMIT_SAMEHOST and
419           $Amanda::Config::LIMIT_SERVER.
420         * server-src/amindexd.c: Use 'server' value.
421         * installcheck/Amanda_Config.pl: Fix for change.
422
423 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
424         * server-src/driver.c: Fix driver doing nothing if taper crash early.
425
426 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
427         * xfer-src/source-pattern.c: remove duplicate test
428
429 2011-01-20  Dustin J. Mitchell <dustin@mozilla.com>
430         * man/xml-source/amanda-interactivity.7.xml
431           man/xml-source/amanda-taperscan.7.xml
432           man/xml-source/amanda.conf.5.xml: copyediting
433         * perl/Amanda/Interactivity/tty_email.pm: fix POD to indicate
434           the nature of the class
435
436 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
437         * man/xml-source/amservice.8.xml: typo, </programlisting> must be at
438           the beginning of a line.
439
440 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
441         * server-src/amservice.c: Use full_write, check for error.
442
443 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
444         * server-src/diskfile.c: Do not report error if a dle is listed twice
445           in argument list.
446         * installcheck/amadmin.pl: Test it.
447
448 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
449         * server-src/amservice.c: Add -s option.
450         * man/xml-source/amservice.8.xml: Document -s option.
451
452 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
453         * installcheck/Amanda_Taper_Scan_lexical.pl,
454           installcheck/Amanda_Taper_Scan_oldest.pl: Fix for perl-5.6.
455
456 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
457         * common-src/conffile.c: Add interactivity and taperscan section.
458         * common-src/conffile.h: Add interactivity and taperscan section.
459         * perl/Amanda/Config.swg: Add interactivity and taperscan.
460         * example/amanda.conf.in: Add interactivity and taperscan example.
461         * man/Makefile.am: Add new amanda-interactivity.7
462         * man/xml-source/amanda-interactivity.7.xml: Document interactivity.
463         * man/xml-source/amanda-taperscan.7.xml: Document new taperscan.
464         * man/xml-source/amanda.8.xml: Add link to amanda-interactivity man
465                                        page.
466         * man/xml-source/amanda.conf.5.xml: Document interactivity and
467                                             taperscan section.
468         * perl/Amanda/Changer.pm (new): Take tapelist, labelstr, autolabel and
469           meta_autolabel arguments.
470         * perl/Amanda/Changer.pm (volume_is_labelable, make_new_meta_label, 
471           make_new_tape_label, have_inventory: New method.
472         * perl/Amanda/Interactive.pm: Renamed
473         * perl/Amanda/Interactive/stdin.pm: Renamed
474         * perl/Amanda/Interactivity.pm: Copy of Interactive.pm:
475         * perl/Amanda/Interactivity/stdin.pm: Copy of Interactive/stdin.pm.
476         * perl/Amanda/Interactivity/email.pm: New interactivity module.
477         * perl/Amanda/Interactivity/tty.pm: New interactivity module.
478         * perl/Amanda/Interactivity/tty_email.pm: New interactivity module.
479         * perl/Amanda/Recovery/Scan.pm: s/Interactive/Interactivity/.
480         * perl/Amanda/ScanInventory.pm: Base class for scan algorithm.
481         * perl/Amanda/Tapelist.swg (add_tapelabel): Do the add in order.
482         * perl/Amanda/Taper/Controller.pm: Use interactivity and taperscan.
483         * perl/Amanda/Taper/Scan.pm: Allow plugable module.
484         * perl/Amanda/Taper/Scan/lexical.pm: new scan algorithm.
485         * perl/Amanda/Taper/Scan/oldest.pm: new scan algorithm.
486         * perl/Makefile.am: Add new files.
487         * server-src/amcheck-device.pl: Use interactivity and taperscan.
488         * server-src/amcheckdump.pl: Use interactivity and taperscan.
489         * server-src/amfetchdump.pl: Use interactivity and taperscan.
490         * server-src/amidxtaped.pl: Use interactivity and taperscan.
491         * server-src/amtape.pl: Use interactivity and taperscan.
492         * server-src/amvault.pl: Use interactivity and taperscan.
493         * installcheck/Amanda_Changer.pl: Test new methods.
494         * installcheck/Amanda_Changer_compat.pl: Test have_inventory.
495         * installcheck/Amanda_Changer_disk.pl: Test have_inventory.
496         * installcheck/Amanda_Changer_multi.pl: Test have_inventory.
497         * installcheck/Amanda_Changer_ndmp.pl: Test have_inventory.
498         * installcheck/Amanda_Changer_null.pl: Test have_inventory.
499         * installcheck/Amanda_Changer_rait.pl: Test have_inventory.
500         * installcheck/Amanda_Changer_robot.pl: Test have_inventory.
501         * installcheck/Amanda_Config.pl: Test new interactivity and taperscan
502           section.
503         * installcheck/Amanda_Recovery_Scan.pl: s/Interactive/Interactivity/
504         * installcheck/Amanda_Tapelist.pl: test new add_tapelabel behavior.
505         * installcheck/Amanda_Taper_Scan_lexical.pl: Test new module.
506         * installcheck/Amanda_Taper_Scan_oldest.pl: Test new module.
507         * installcheck/Installcheck/Config.pm (add_interactivity,
508           add_taperscan): New methods.
509         * installcheck/Makefile.am: Add new files.
510
511 2011-01-17  Francis Galiegue <fgaliegue@gmail.com>
512         * xfer-src/element-glue.c: fix memory leak in read_and_push()
513
514 2011-01-16  Francis Galiegue <fgaliegue@gmail.com>
515         * xfer-src/element-glue.c xfer-src/filter-xor.c
516           xfer-src/xfer-element.c xfer-src/xfer-element.h: xfer: rename
517           xfer_element_drain* utility functions - Both functions are used to
518           pulling data from an upstream element, either buffers or reading a
519           file descriptor, until it is "empty". 
520
521 2011-01-14  Jean-Louis Martineau <martineau@zmanda.com>
522         * ndmp-src/amndma_tape_simulator.c: Use full_read.
523         * ndmp-src/ndma_tape.c: Use ndmchan_n_avail_record to guarantee space
524           for a record.
525         * ndmp-src/ndml_chan.c (ndmchan_n_avail_record): New function.
526         * ndmp-src/ndmlib.h  (ndmchan_n_avail_record): New prototype.
527
528 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
529         * xfer-src/source-pattern.c: xfer-src/source-pattern.c: externalize
530           pattern copying
531
532 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
533         * xfer-src/element-glue.c: xfer-src/element-glue.c: fix memory leak in
534           pull_buffer_impl()
535
536 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
537         * xfer-src/xfer-element.h: xfer: define XFER_NROPS() and
538           XFER_NTHREADS() macros
539         * xfer-src/dest-buffer.c xfer-src/dest-directtcp-connect.c
540           xfer-src/dest-directtcp-listen.c xfer-src/dest-fd.c
541           xfer-src/dest-null.c xfer-src/element-glue.c xfer-src/filter-process.c
542           xfer-src/filter-xor.c xfer-src/source-directtcp-connect.c
543           xfer-src/source-directtcp-listen.c xfer-src/source-fd.c
544           xfer-src/source-pattern.c xfer-src/source-random.c
545           xfer-src/xfer-test.c: use them
546
547 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
548         * common-src/match.c: match.c: rename ammtch_to_regex() into
549           amglob_to_regex()
550
551 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
552         * common-src/match.c: match.c: rename full_regex_from_expression() to
553           full_amglob_from_expression()
554
555 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
556         * server-src/planner.c: Change message of "timeout waiting for REP" to
557           "Some estimate timeout on %s, using server estimate if possible".
558
559 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
560         * man/xml-source/amanda-scripts.7.xml: Document script output property.
561
562 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
563         * common-src/match.c: match.c: rework regex generation from globs
564
565 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
566         * common-src/match.c: match.c: match_word(): change the way regex
567           begin and end are calculated/copied
568
569 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
570         * common-src/match.c: match.c: better handling of "separator only"
571           globs in match_word()
572
573 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
574         * common-src/match.c: match.c: move glob/disk backslash substitution
575           out of match_word()
576
577 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
578         * common-src/match.c: match.c: factorize regex construction from
579           expression
580
581 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
582         * common-src/match.c: match.c: factorize character escaping in
583           make_exact_*_expression()
584
585 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
586         * common-src/match.c: match.c: factorize regex matching
587         * common-src/match.h: make match and match_no_newline into
588           macros calling do_match
589
590 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
591         * common-src/match.c: match.c: factorize regex compile
592
593 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
594         * common-src/match.c: match.c: match_host(): use g_ascii_strdown() to
595           convert to lowercase
596
597 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
598         * common-src/match.c: match.c: fix '*' and '?' expansion in
599           match_word()
600
601 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
602         * common-src/match.c: match.c: define a macro to recognize regex
603           metacharacters
604
605 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
606         * common-src/match.c: match.c: match_host(): remove unneeded cast
607
608 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
609         * common-src/match.c: match.c: match_word(): rename "i" local variable
610           to "ret"
611
612 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
613         * common-src/match.c: match.c: match_word(): rename two local
614           variables. Rename r to dst, and w to src, in order to clarify their
615           roles.
616
617 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
618         * common-src/match.c: match.c: match_word(): remove unused assignment
619
620 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
621         * application-src/amgtar.c, application-src/amstar.c: Do not call
622           amname_to_dirname.
623
624 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
625         * common-src/bsd-security.c: Check input fd is a socket.
626
627 2011-01-07  Dustin J. Mitchell <dustin@mozilla.com>
628         * common-src/testutils.c: use %ju instead of %lu to print big numbers
629
630 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
631         * testutils.c: report time of execution for each test
632
633 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
634         * common-src/testutils.c: add -c <count> option to run tests more than
635           once
636
637 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
638         * testutils.c: create a run_one_test() function The way to run a test
639           is the same, whether we fork() or not. Make that a function.
640
641 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
642         * common-src/testutils.c: testutils.c: externalize test behaviour
643           variables
644
645 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
646         * common-src/amflock-test.c common-src/event-test.c
647           common-src/fileheader-test.c common-src/hexencode-test.c
648           common-src/ipc-binary-test.c common-src/match-test.c
649           common-src/quoting-test.c: Ensure all tests return gbooleans.  Most,
650           if not all, tests returned ints, and quite a few of them returned TRUE
651           or FALSE. While the effect is basically the same as a gboolean, make
652           all tests return a gboolean for coherency, since this is what
653           callinfork() expects anyway.
654         * common-src/testutils.c: Also enforce that callinfork() return that
655           type, which, in turn, allows the "success" local variable in
656           testutil_run_tests() to also be converted.
657
658 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
659         * common-src/testutils.c: convert ints to gbooleans where appropriate;
660           run_all, tu_debugging_enabled and ignore_timeouts are all used as
661           gbooleans in the code even though they are declared as ints. Convert
662           them to booleans, and also change declarations.
663
664 2011-01-05  Jean-Louis Martineau <martineau@zmanda.com>
665         * perl/Amanda/Xfer.pod: new offset and size arguments of xfer->start.
666         * perl/Amanda/Xfer.swg: Add xfer_element_set_size.
667
668 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
669         * device-src/xfer-source-recovery.c: Never send more than the number
670           of bytes requested.
671         * perl/Amanda/Xfer.swg (xfer_start): New offset and size arguments.
672         * xfer-src/xfer-element.c: Add set_size method.
673         * xfer-src/xfer-element.h (XferElement): Add size field.
674         * xfer-src/xfer-test.c: Add offset=0 and size=0 to xfer_start call.
675         * xfer-src/xfer.c (xfer_start): Add offset and size arguments. Call
676           xfer_element_set_size for the first element if size is set.
677         * xfer-src/xfer.h (xfer_start): New prototype.
678         * server-src/amfetchdump.pl, server-src/amidxtaped.pl,
679           server-src/amvault.pl: Call xfer->start() with offset and size
680           arguments.
681
682 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
683         * perl/Amanda/Logfile.swg: Print size in bytes for taper log.
684         * server-src/find.h (find_result_t): Add bytes.
685         * server-src/find.c: Parse 'bytes' in 'log' file.
686         * perl/Amanda/Report.pm: Parse 'bytes' in 'log' file.
687         * perl/Amanda/DB/Catalog.pm: Parse 'bytes' in 'log' file.
688         * server-src/amstatus.pl: Parse 'bytes' in 'amdump' log file.
689         * installcheck/Amanda_DB_Catalog.pl: Fix for log file format change.
690         * installcheck/taper.pl: Fix for log file format change.
691
692 2011-01-03  Jean-Louis Martineau <martineau@zmanda.com>
693         * example/template.d/advanced.conf.in: Remove dumpuser.
694         * server-src/amaddclient.pl: mkdir -p
695         * server-src/amserverconfig.pl: Print dumpuser, Print the
696           authorized_keys file location based on $amhomedir
697
698 2010-12-27 Dan Locks <dwlocks@zmanda.com>
699         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add missing
700            amservice entry to set perms at install time. Thanks to vpatton for
701            finding this.
702
703 2010-12-23  Dustin J. Mitchell <dustin@mozilla.com>
704         * client-src/client_util.c: improve error message when no includes
705           match on disk
706
707 2010-12-23  Jean-Louis Martineau <martineau@zmanda.com>
708         * perl/Amanda/Script_App.pm: Add FAILURE.
709
710 2010-12-21  Jean-Louis Martineau <martineau@zmanda.com>
711         * perl/Amanda/Taper/Scribe.pm: Use 'blocksize' to compute the
712           available space.
713
714 2010-12-20  Jean-Louis Martineau <martineau@zmanda.com>
715         * server-src/find.c: Fix parsing 'PARTIAL taper' line with no part.
716         * perl/Amanda/DB/Catalog.pm: Ditto
717
718 2010-12-16  Jean-Louis Martineau <martineau@zmanda.com>
719         * amar-src/amar.c: Don't fail on trailing NUL bytes.
720
721 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
722         * common-src/ssh-security.c: Use client_port.
723
724 2010-12-14  Daniel Néri <dne@mayonnaise.net>
725         * application-src/ampgsql.pl: Don't assume that gtar is configured to
726           use stdin/stdout as default archive.
727
728 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
729         * server-src/amidxtaped.pl: Don't crash if same-host doesn't match.
730
731 2010-12-13  Jean-Louis Martineau <martineau@zmanda.com>
732         * perl/Amanda/Interactive.pm: rename finished_cb to request_cb.
733         * installcheck/Amanda_Recovery_Scan.pl,
734           perl/Amanda/Interactive/stdin.pm,
735           perl/Amanda/Recovery/Scan.pm, server-src/amcheckdump.pl,
736           server-src/amfetchdump.pl, server-src/amidxtaped.pl,
737           server-src/amvault.pl: s/finished_cb/request_cb/
738
739 2010-12-12  Jean-Louis Martineau <martineau@zmanda.com>
740         * perl/Amanda/Changer/disk.pm: inventory must return the same as
741                                        read_label.
742         * server-src/amtape.pl: Fix for new inventory.
743         * installcheck/Amanda_Changer_disk.pl: Fix for new inventory.
744         * installcheck/Amanda_Changer_rait.pl: Fix for new inventory.
745
746 2010-12-11  Daniel Néri <dne@mayonnaise.net>
747         * application-src/ampgsql.pl: Don't assume that gtar is configured to
748           use stdin/stdout as default archive
749
750 2010-12-11  Daniel Néri <dne@mayonnaise.net>
751         * application-src/ampgsql.pl: Use diskname, not devicename, as prefix
752           when checking for properties. Now works as documented in the ampgsql
753           man page.
754
755 2010-12-10 Dan Locks <dwlocks@zmanda.com>
756         *  packaging/deb/control: move gnuplot to Suggests: and swap the order
757
758 2010-12-10  David Bogen <bogen@wisc.edu>
759         * server-src/amoverview.pl: fix amoverview's argument parsing
760
761 2010-12-10  Jean-Louis Martineau <martineau@zmanda.com>
762         * server-src/amcheck-device.pl: Fix possible hang if
763           Amanda::MainLoop::quit is called before Amanda::MainLoop::run.
764         * perl/Amanda/Changer.pm: Return the error.
765
766 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
767         * server-src/driver.c: Check if taper is flushing something before
768           moving a dle to directq.
769
770 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
771         * device-src/xfer-dest-taper-cacher.c: Print why the malloc failed.
772
773 2010-12-08  Dustin J. Mitchell <dustin@mozilla.com>
774         * common-src/glib-util.c common-src/glib-util.h: do not define
775           symbol g_slist_free_full, as it exists in glib-2.27 and higher;
776           use slist_free_full, and alias that to g_slist_free_full when
777           building against glib-2.28 or higher.
778         * client-src/client_util.c: make g_slist_free_full_gpointer into
779           a local, static function
780         * common-src/amxml.c common-src/conffile.c recover-src/extract_list.c
781           server-src/amadmin.c server-src/amflush.c server-src/cmdline.c
782           server-src/cmdline.h server-src/find.c server-src/holding.c
783           server-src/planner.c: rename function
784
785 2010-12-07 Dan Locks <dwlocks@zmanda.com>
786         *  packaging/rpm/amanda.spec.src: remove manual library requires and
787            set curl vs libcurl based on distro.
788
789 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
790         * common-src/util.c: s/HAVE_READLINE/HAVE_LIBREADLINE/
791         * config/amanda/readline.m4: s/HAVE_READLINE/HAVE_LIBREADLINE/
792
793 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
794         * config/amanda/readline.m4: Merge with latest AX_LIB_READLINE.
795         * common-src/util.h: Fix for latest AX_LIB_READLINE.
796
797 2010-12-06 Dan Locks <dwlocks@zmanda.com>
798         *  packaging/rpm/amanda.spec.src: remove libtermcap.so.2 requirement
799            for newer distros.
800
801 2010-12-06  Jean-Louis Martineau <martineau@zmanda.com>
802         * server-src/server_util.c (internal_server_estimate): Do not use
803           level 0 estimate if is not available.
804
805 2010-12-04  Jean-Louis Martineau <martineau@zmanda.com>
806         * server-src/dumper.c: Put them in AMANDA_DBGDIR/log.error
807
808 2010-12-03  Jean-Louis Martineau <martineau@zmanda.com>
809         * server-src/dumper.c: Put error message in separate files to
810           reduce the size of the log file.
811
812 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
813         * server-src/chunker.c, xfer-src/element-glue.c: Prefer IPV4 over IPV6.
814
815 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
816         * common-src/directtcp.h: DirectTCPAddr is a sockaddr_union.
817         * common-src/sockaddr-util.c (str_sockaddr_no_port): new function.
818         * common-src/sockaddr-util.h (str_sockaddr_no_port): New prototype.
819         * perl/amglue/directtcp.swg: Swig new DirectTCPAddr.
820         * server-src/dumper.c: Parse IPV6 in dataport_list.
821         * ndmp-src/ndmpconnobj.c, perl/Amanda/Device.swg,
822           perl/Amanda/Taper/Worker.pm, perl/Amanda/Xfer.swg,
823           server-src/chunker.c, xfer-src/dest-directtcp-connect.c,
824           xfer-src/element-glue.c, xfer-src/source-directtcp-connect.c,
825           xfer-src/source-directtcp-listen.c, xfer-src/xfer-element.h,
826           xfer-src/xfer-test.c: Use new DirectTCPAddr.
827
828 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
829         * common-src/conffile.c: Add pre-amcheck, post-amcheck, pre-estimate,
830           post-estimate, pre-backup and post-backup to execute-on of script.
831         * common-src/conffile.h: Add EXECUTE_ON_* constants.
832         * application-src/amlog-script.pl: Add new execute-on.
833         * common-src/amxml.c: Parse new execute-on.
834         * man/xml-source/amanda.conf.5.xml: Document them.
835         * perl/Amanda/Config.swg: Add new EXECUTE_ON_* constants.
836         * perl/Amanda/Script.pm: Add new execute-on.
837         * server-src/amcheck.c: Call run_server_global_scripts.
838         * server-src/diskfile.c (get_hostlist): Return the host list.
839         * server-src/diskfile.h (get_hostlist): Add prototype.
840         * server-src/driver.c: Call run_server_global_scripts.
841         * server-src/planner.c: Call run_server_global_scripts.
842         * server-src/server_util.c (run_server_global_scripts): New function.
843         * server-src/server_util.h (run_server_global_scripts): Prototype.
844
845 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
846         * server-src/server_util.c: Search scripts in APPLICATION_DIR,
847           CONFIG_DIR/<conf>/application and CONFIG_DIR/application.
848
849 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
850         * common-src/conffile.c: Add SINGLE-EXECUTION in scripts.
851         * common-src/conffile.h: Add pp_script_get_single_execution.
852         * installcheck/pp-scripts.pl: Test single-execution.
853         * man/xml-source/amanda.conf.5.xml: Document single-execution.
854         * perl/Amanda/Config.swg: Add PP_SCRIPT_SINGLE_EXECUTION.
855         * server-src/server_util.c: Add run_server_host_scripts,
856           rename run_server_scripts to run_server_dle_scripts.
857         * server-src/server_util.h: New prototype.
858         * server-src/amcheck.c, server-src/driver.c,
859           server-src/planner.c: Call new functions.
860
861 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
862         * installcheck/amreport.pl: Fix for previous patch.
863
864 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
865         * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
866           man/xml-source/amcheckdump.8.xml, man/xml-source/amdevcheck.8.xml,
867           man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
868           man/xml-source/amflush.8.xml, man/xml-source/amgetconf.8.xml,
869           man/xml-source/amlabel.8.xml, man/xml-source/amoverview.8.xml,
870           man/xml-source/amrecover.8.xml, man/xml-source/amreport.8.xml,
871           man/xml-source/amservice.8.xml, man/xml-source/amstatus.8.xml,
872           man/xml-source/amtape.8.xml: Fix synopsis.
873         * device-src/amdevcheck.pl, server-src/amadmin.c,
874           server-src/amcheckdump.pl, server-src/amlabel.pl,
875           server-src/amoverview.pl, server-src/amreport.pl,
876           server-src/amstatus.pl, server-src/amtape.pl: Fix usage.
877
878 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
879         * common-src/conffile.c: Print configuration option with '-'.
880         * installcheck/Amanda_Config.pl: Fix for '-'.
881
882 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
883         * perl/make_html.pl: make relative url in index.html.
884
885 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
886         * perl/make_html.pl: Add amanda version in html headers and footers.
887
888 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
889         * man/xslt/html.xsl.in: Include Amanda version in HTML headers.
890
891 2010-11-22  Jean-Louis Martineau <martineau@zmanda.com>
892         * device-src/Makefile.am: activate-devpay needs gnulib.
893
894 2010-11-18 Dan Locks <dwlocks@zmanda.com>
895         *  packaging/rpm/amanda.spec.src: quote both items in boolean
896            comparison to avoid type mismatch.
897
898 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
899         * common-src/conffile.c: Add CONFTYPE_NO_YES_ALL, change type for
900           autoflush.
901         * common-src/conffile.h: Add CONFTYPE_NO_YES_ALL.
902         * man/xml-source/amanda.conf.5.xml: New autoflush option.
903         * perl/Amanda/Config.swg: Add CONFTYPE_NO_YES_ALL.
904         * server-src/amcheck.c: Use new value of autoflush.
905         * server-src/planner.c: Use new value of autoflush.
906
907 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
908         * server-src/driver.c: Correctly handle INPUT-ERROR and TAPE-ERROR.
909
910 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
911         * device-src/xfer-dest-taper-cacher.c,
912           device-src/xfer-dest-taper-splitter.c: Cancel in correct order.
913           Other thread own self->state_mutex while it wait for self->ring* or
914           self->slab*
915
916 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
917         * device-src/xfer-dest-taper-cacher.c,
918           device-src/xfer-dest-taper-splitter.c: Always call device_finish_file
919           if device_start_file succeed.
920
921 2010-11-16 Dan Locks <dwlocks@zmanda.com>
922         *  packaging/rpm/amanda.spec.src: add rhel6 stanza to distro detection
923
924 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
925         * installcheck/Amanda_Changer_single.pl: Typo.
926         * server-src/amtape.pl: Typo.
927
928 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
929         * server-src/find.c: Keep the complete error message.
930
931 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
932         * perl/Amanda/Changer/disk.pm: new MOUNT, UMOUNT, UMOUNT-LOCKFILE and
933                                        UMOUNT-IDLE properties.
934         * man/xml-source/amanda-changers.7.xml: Add new chg-disk property.
935         * NEWS: Add new chg-disk property.
936
937 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
938         * perl/Amanda/Changer.pm: Add quit method.
939         * perl/Amanda/Changer/aggregate.pm: Add quit method.
940         * perl/Amanda/Changer/rait.pm: Add quit method.
941         * perl/Amanda/Recovery/Clerk.pm: Call scan quit method.
942         * perl/Amanda/Recovery/Scan.pm: Add quit method.
943         * perl/Amanda/Taper/Controller.pm: Call scan quit method.
944         * perl/Amanda/Taper/Scan.pm: Add quit method.
945         * perl/Amanda/Taper/Scribe.pm: finished_cb to Add scribe_notif_tape_done
946         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
947           server-src/amidxtaped.pl, server-src/amlabel.pl,
948           server-src/amrestore.pl, server-src/amrmtape.pl,
949           server-src/amtape.pl: Call scan/changer quit method.
950         * server-src/amvault.pl scribe_notif_tape_done with finished_cb.
951         * installcheck/Amanda_Changer.pl,
952           installcheck/Amanda_Changer_compat.pl,
953           installcheck/Amanda_Changer_disk.pl,
954           installcheck/Amanda_Changer_multi.pl,
955           installcheck/Amanda_Changer_ndmp.pl,
956           installcheck/Amanda_Changer_null.pl,
957           installcheck/Amanda_Changer_rait.pl,
958           installcheck/Amanda_Changer_robot.pl,
959           installcheck/Amanda_Changer_single.pl,
960           installcheck/Amanda_Recovery_Clerk.pl,
961           installcheck/Amanda_Recovery_Scan.pl,
962           installcheck/Amanda_Taper_Scan.pl,
963           installcheck/Amanda_Taper_Scan_traditional.pl,
964           installcheck/Amanda_Taper_Scribe.pl,
965           installcheck/amvault.pl: Add call to scan/changer quit method.
966
967 2010-11-12  Jean-Louis Martineau <martineau@zmanda.com>
968         * server-src/driverio.c: Don't update last_level/consecutive_runs if
969           the dump failed.
970
971 2010-11-11  Nikhil Bhupale <nikhilb@zmanda.com>
972         * server-src/amtape.pl: Remove call to set_label.
973         * server-src/amrestore.pl: Remove call to set_label.
974
975 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
976         * config/amanda/progs.m4(AMANDA_PROG_MOUNT, AMANDA_PROG_UMOUNT):
977           find mount and umount binaries
978         * configure.in: Use AMANDA_PROG_MOUNT and AMANDA_PROG_UMOUNT.
979         * perl/Amanda/Constants.pm.in: Define MOUNT and UMOUNT.
980
981 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
982         * device-src/tape-device.c: Accept LEOM property.
983
984 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
985         * perl/Amanda/Changer/robot.pm: Fix use of Amanda::Changer->make_error
986
987 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
988         * common-src/amflock.c (lock_wr, lock_rd, lock_locked): New function
989         * common-src/amflock.h: Add their prototype.
990         * perl/Amanda/Util.swg: Swig them.
991         * perl/Amanda/Util.pod: Docuemnt them.
992
993 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
994         * perl/Amanda/Changer.pm: Remove the changer cache.
995         * installcheck/Amanda_Taper_Scan_traditional.pl,
996           installcheck/Amanda_Changer_robot.pl,
997           installcheck/Amanda_Changer_ndmp.pl: Do not reset the changer cache.
998
999 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1000         * perl/Amanda/MainLoop.swg: Add finalize in define_step.
1001         * perl/Amanda/MainLoop.pod: Document finalize.
1002
1003 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1004         * application-src/amstar.c: Support 'exclude file' and 'exclude list'.
1005         * man/xml-source/amstar.8.xml: Document exclude limitation.
1006
1007 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
1008         * server-src/driver.c: Better handling of dump to tape.
1009           Set force_flush to 0 as soon as the runq is empty.
1010         * server-src/dumper.c: Improving debugging.
1011
1012 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
1013         * perl/Amanda/Report.pm: Report driver FAIL as FAILED (not missing).
1014         * perl/Amanda/Report/human.pm: Do not report driver error if there
1015                                        is a try.
1016
1017 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
1018         * man/xml-source/tapelist.5.xml: Document BARCODE and META.
1019
1020 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
1021         * server-src/amdump.pl: Execute subprocess with the config overwrite.
1022         * server-src/amvault.pl: Execute subprocess with the config overwrite.
1023
1024 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1025         * server-src/amreport.pl: Set date correctly for amvault run.
1026         * perl/Amanda/Report/human.pm: Fix warning.
1027
1028 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1029         * perl/Amanda/Changer/aggregate.pm: New changer.
1030         * man/xml-source/amanda-changers.7.xml: Document chg-aggregate.
1031         * perl/Makefile.am: Add it.
1032         * server-src/amtape.pl: Print better message if inventory is not
1033                                 implemented.
1034
1035 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1036         * perl/Amanda/Changer.pm: $o $c $m $b in autolabel.
1037         * perl/Amanda/Changer.pm: $o $c in meta-autolabel.
1038         * server-src/amlabel.pl: New --barcode option, <label> is no longer
1039           required, an autolabel can be generated.
1040         * server-src/find.c: Fix for quoted label.
1041         * man/xml-source/amanda.conf.5.xml: Document new autolable variable.
1042         * man/xml-source/amlabel.8.xml: Document new amlabel features.
1043         * installcheck/Amanda_Tapelist.pl: Test it.
1044         * installcheck/Installcheck/Run.pm (setup): Argument to set the number
1045                                                     of slot.
1046         * installcheck/amlabel.pl: Test it.
1047
1048 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1049         * server-src/tapefile.c: Add barcode intapelist.
1050         * server-src/tapefile.h: Add barcode intapelist.
1051         * perl/Amanda/Tapelist.swg: Add barcode intapelist.
1052         * perl/Amanda/Taper/Scribe.pm: Set the barcode.
1053         * server-src/amlabel.pl: Set the barcode.
1054         * installcheck/Amanda_Tapelist.pl: Test it.
1055         * installcheck/amlabel.pl: Test it.
1056
1057 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
1058         * perl/Amanda/Taper/Scan.pm (new): Take a tapelist argument, not a
1059                                            filename.
1060         * perl/Amanda/Taper/Scan.pm: Remove make_new_tape_label and
1061                                      make_new_meta_label methods.
1062         * perl/Amanda/Changer.pm (new): Take a tapelist argument.
1063         * perl/Amanda/Changer.pm: Add make_new_tape_label and
1064           make_new_meta_label methods to Amanda::Changer::Reservation.
1065         * installcheck/Amanda_Taper_Scan.pl,
1066           installcheck/Amanda_Taper_Scan_traditional.pl,
1067           installcheck/amdevcheck.pl, perl/Amanda/Taper/Controller.pm,
1068           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
1069           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
1070           server-src/amidxtaped.pl, server-src/amlabel.pl,
1071           server-src/amrestore.pl, server-src/amrmtape.pl,
1072           server-src/amtape.pl, server-src/amvault.pl,
1073           server-src/taper.pl: Change for new tapelist argument.
1074
1075 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
1076         * common-src/util.c (quote_string_maybe): Don't use match.
1077         * common-src/util.c (len_quote_string_maybe): New function.
1078         * common-src/util.h (len_quote_string): Define.
1079         * server-src/amadmin.c: Don't call find_dump twice.
1080         * server-src/find.c (search_logfile): Don't use regex.
1081         * server-src/find.c (print_find_result): Use len_quote_string.
1082
1083 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
1084         * common-src/conffile.c: debug-recovery default to 1.
1085         * man/xml-source/amanda.conf.5.xml: Document it.
1086
1087 2010-11-02  Nikhil Bhupale <nikhilb@zmanda.com>
1088         * server-src/amtape.pl: Remove call to set_label.
1089         * server-src/amcheck-device.pl: Remove call to set_label.
1090  
1091 2010-10-29  Dustin J. Mitchell <dustin@mozilla.com>
1092         * man/xml-source/amanda-changers.7.xml: improve chg-disk properties
1093           documentation
1094
1095 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
1096         * server-src/chunker.c: Close listening socket are accepted socket.
1097         * xfer-src/element-glue.c: Close listening socket are accepted socket.
1098
1099 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
1100         * server-src/amflush.c: Open 'amflush' log file in append mode.
1101
1102 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
1103         * server-src/amdump.pl: Open 'amdump' log file in append mode.
1104
1105 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
1106         * common-src/conffile.c: Fix quoting in recovery-limit output.
1107         * server-src/amadmin.c (disklist_one): Print recovery-limit.
1108
1109 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
1110         * client-src/client_util.c: Don't free script->result.
1111
1112 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
1113         * man/xml-source/amanda.conf.5.xml: What is a meta label.
1114
1115 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
1116         * server-src/dumper.c: Typo.
1117
1118 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1119         * common-src/conffile.c: New meta-autolabel.
1120         * common-src/conffile.h: CNF_META_AUTOLABEL.
1121         * perl/Amanda/Config.swg: CNF_META_AUTOLABEL.
1122         * man/xml-source/amanda.conf.5.xml: Document meta-autolabel
1123         * server-src/tapefile.c: Read/write meta-label to tapelist file
1124         * server-src/tapefile.h (struct tape_s): Add meta.
1125         * perl/Amanda/Tapelist.swg: Read/write meta-label to tapelist file
1126         * perl/Amanda/Changer.pm (get_meta_label, set_meta_label): New methods
1127           in A::Changer and A::Changer::Reservation.
1128         * perl/Amanda/Changer/disk.pm: Keep meta-label in state file.
1129         * perl/Amanda/Changer/disk.pm (get_meta_label, set_meta_label):
1130           New methods
1131         * perl/Amanda/Taper/Scan.pm (make_new_meta_label): New method.
1132         * perl/Amanda/Taper/Scribe.pm: get/set meta label.
1133         * server-src/amlabel.pl: New --meta and --assign option.
1134         * server-src/amtape.pl (inventory): Print meta-label.
1135         * man/xml-source/amlabel.8.xml: Document --meta and --assign options.
1136         * installcheck/Amanda_Tapelist.pl: Test tapelist with meta-label.
1137         * installcheck/amlabel.pl: Check meta.
1138
1139 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1140         * man/xml-source/amanda-changers.7.xml: Document new NUM-SLOT,
1141           AUTO-CREATE-SLOT and REMOVABLE chg-disk properties.
1142         * perl/Amanda/Changer.pm (get_boolean_property) Moved from A::Changer
1143           to A::Changer::Config.
1144         * perl/Amanda/Changer/disk.pm: New NUM-SLOT, AUTO-CREATE-SLOT and
1145           REMOVABLE properties. Use new get_boolean_property.
1146         * perl/Amanda/Changer/robot.pm: Use new get_boolean_property.
1147
1148 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1149         * common-src/fileheader.c (parse_file_header): Print buf.
1150         * patching file recover-src/extract_list.c: Read header in multiple
1151                                                     block.
1152
1153 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
1154         * perl/Amanda/Report/human.pm: Use chunker size to find big estimate.
1155         * installcheck/catalogs/bigestimate.cat: Fix.
1156
1157 2010-10-25  Jean-Louis Martineau <martineau@zmanda.com>
1158         * perl/Amanda/Taper/Worker.pm: Use 4*block_size for
1159           device_output_buffer_size if it is not set by the user.
1160         * server-src/amcheck-device.pl: Check device_output_buffer_size is at
1161           least 2*block_size.
1162
1163 2010-10-25 Dan Locks <dwlocks@zmanda.com>
1164         *  config/amanda/libs.m4: update AMANDA_CHECK_CURL to add runtime link
1165            flags for all solaris platforms, remove our AC_PATH_PROG for curl-config,
1166            and trust LIBCURL_CHECK_CONFIG (which is now fixed)
1167
1168 2010-10-25 Dan Locks <dwlocks@zmanda.com>
1169         *  packaging/rpm/amanda.spec.src: exclude sles9 from
1170            LDFLAGS=-Wl,--as-needed
1171
1172 2010-10-21 Dan Locks <dwlocks@zmanda.com>
1173
1174 2010-10-20  Jean-Louis Martineau <martineau@zmanda.com>
1175         * server-src/amtape.pl: Typo.
1176
1177 2010-10-19 Dan Locks <dwlocks@zmanda.com>
1178         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add
1179            -Wl,--as-needed to ./configure invocation in packages
1180
1181 2010-10-19  Jean-Louis Martineau <martineau@zmanda.com>
1182         * ReleaseNotes NEWS: amdump --no-taper option.
1183
1184 2010-10-19  Nikhil Bhupale <nikhilb@zmanda.com>
1185         * device-src/vfs-device.h device-src/vfs-device.c:
1186           add enforce_max_volume_usage
1187         * device-src/s3-device.c: Added support for MAX_VOLUME_USAGE and
1188           ENFORCE_MAX_VOLUME_USAGE
1189         * device-src/property.h device-src/property.c: Added property
1190           ENFORCE_MAX_VOLUME_USAGE
1191         * device-src/s3.h device-src/s3.c: Calculate total volume usage for
1192           s3 device
1193         * installcheck/Amanda_Device.pl: Test it
1194         * man/xml-source/amanda-devices.7.xml: Document it
1195
1196 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
1197         * application-src/ampgsql.pl: Give an error if client property
1198           pg-datadir is different than diskdevice. Use diskdevice if client
1199           property pg-datadir is not set.
1200
1201 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
1202         * common-src/security-util.c: Quote error message for invalid size.
1203
1204 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
1205         * common-src/conffile.c (read_size_byte/get_size_byte):
1206           CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes.
1207
1208 2010-10-14  Jean-Louis Martineau <martineau@zmanda.com>
1209         * server-src/amtape.pl (inventory): print current slot.
1210         * installcheck/amtape.pl: check it.
1211
1212 2010-10-14 Dan Locks <dwlocks@zmanda.com>
1213         *  packaging/deb/rules, packaging/deb/buildpkg,
1214            packaging/rpm/amanda.spec.src: remove port range limits for
1215            rpm and deb packages
1216
1217 2010-10-13  Jean-Louis Martineau <martineau@zmanda.com>
1218         * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied.
1219
1220 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
1221         * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'.
1222
1223 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1224         * ndmp-src/ndma_comm_session.c: add a g_debug message
1225         * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof
1226
1227 2010-10-12 Dan Locks <dwlocks@zmanda.com>
1228         *  config/amanda/progs.m4: add comment about sysloc- and locsys- path,
1229            make MTX a precious variable.
1230
1231 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
1232         * common-src/conffile.c: Set default netusage to 80000 kbps.
1233
1234 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1235         * perl/Amanda/Util.pod: fix typo
1236         * server-src/amserverconfig.pl: don't specify duplicate 'dumpuser'
1237           parameter in amserverconfig (it's also in advanced.conf); use
1238           get_fs_usage; include weird size requirements in error message
1239         * installcheck/amserverconfig.pl: test for this arrangement (used in
1240           the template + custom options case, I think)
1241
1242 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1243         * ndmp-src/amndmjob_main.c: remove exit on eof thread
1244         * ndmp-src/ndmjob_main.c: add it here, in the right place
1245
1246 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1247         * common-src/ssh-security.c: don't munge $SSH_CONNETION
1248
1249 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
1250         * config/amanda/swig.m4: add '.' to freebsd versions
1251         * perl/Makefile.am: spell it -pthread
1252
1253 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1254         * server-src/amvault.pl: add fake driver finish first
1255
1256 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1257         * server-src/amflush.c: write a "pid done" line when cancelling
1258         * server-src/amcleanup.pl: run amlogroll internally
1259
1260 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1261         * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before
1262           writing to a real volume
1263         * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too
1264
1265 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1266         * installcheck/amvault.pl: update the tests to use --autolabel=any
1267
1268 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
1269         * server-src/amvault.pl: --autolabel any, not --autolabel all
1270
1271 2010-10-08  Jean-Louis Martineau <martineau@zmanda.com>
1272         * device-src/s3-device.c: Don't give an error is ssl_ca_info is set
1273           and ssl is not used.
1274
1275 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
1276         * client-src/client_util.c: Use property_add_to_argv.
1277         * client-src/client_util.h (application_property_argv_size):
1278           Remove prototype.
1279         * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal
1280           for property hash.
1281         * common-src/conffile.c (property_add_to_argv): Remove function
1282         * common-src/conffile.h (property_add_to_argv): Remove prototype.
1283         * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal):
1284           Add function
1285         * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal):
1286           Add prototype.
1287         * common-src/util.c (proplist_add_to_argv, property_add_to_argv):
1288           Add function.
1289         * common-src/util.h (proplist_add_to_argv, property_add_to_argv):
1290           Add prototype.
1291         * perl/Amanda/Config.pod: Document amandaify_property_name.
1292         * perl/Amanda/Config.swg: Add amandaify_property_name.
1293         * perl/Amanda/Config/FoldingHash.pm: New class.
1294         * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm
1295         * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash.
1296         * recover-src/extract_list.c: Use property_add_to_argv
1297         * installcheck/Amanda_Config.pl: Check property case matching.
1298         * installcheck/Amanda_Config_FoldingHash.pl:
1299           Check Amanda::Config::FoldingHash.
1300         * installcheck/Makefile.am:
1301           Add installcheck/Amanda_Config_FoldingHash.pl
1302
1303 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
1304         * man/xml-source/amoverview.8.xml: fix typos in usage
1305         * server-src/amoverview.pl: config is mandatory; --config is not
1306
1307 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
1308         * server-src/planner.c: Log packet sent and received.
1309
1310 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
1311         * amandad-src/amandad.c: don't wait 5 seconds if the service has
1312           already exited
1313
1314 2010-10-06 Dan Locks <dwlocks@zmanda.com>
1315         *  config/amanda/libs.m4: update LIBCURL_CHECK_CONFIG help string,
1316            fix AC_PATH_PROG usage.
1317
1318 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
1319         * perl/Makefile.am: only run the threading test after install
1320
1321 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
1322         * VERSION: 3.3.0alpha
1323
1324 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
1325         * perl/Makefile.am: fix the FreeBSD threading test to actually fail
1326
1327 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
1328         * device-src/dvdrw-device.c: Always call parent_class->finish(dself).
1329         * device-src/ndmp-device.c: Always call close_tape_agent and
1330                                     close_connection.
1331         * device-src/null-device.c: Always set pself->access_mode to
1332                                     ACCESS_NULL.
1333         * device-src/rait-device.c: Always call child finish.
1334         * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL.
1335         * device-src/tape-device.c: Always close self->fd.
1336         * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL.
1337
1338 2010-10-06  Nandan Athawale <nandan.athawale@gmail.com>
1339         * device-src/s3.c: replaced deprecated functions g_strncasecmp
1340           and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp.
1341
1342 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
1343         * man/entities/global.entities.in: better formatting for config
1344           overrides
1345         * man/xml-source/amvault.8.xml: better synopsis formatting
1346         * server-src/amvault.pl: better synopsis formatting
1347
1348 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
1349         * perl/Amanda/Logfile.swg: don't produce negative durations
1350         * perl/Amanda/DB/Catalog.pm: but handle them when they occur
1351
1352 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1353         * perl/Amanda/Report/human.pm: Correctly print "Level:#".
1354
1355 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1356         * server-src/planner.c: Use last_level to compute the bump level.
1357
1358 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1359         * server-src/dumper.c: Fix memory allocation.
1360
1361 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
1362         * server-src/amidxtaped.pl: exact match for same-host, allow dumps
1363           that are not in the disklist
1364         * server-src/amindexd.c: fix trivially permissive same-host
1365
1366 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
1367         * common-src/amxml.c: set the correct fields (encryption or
1368           compression)
1369         * server-src/dumper.c: strdup strings so they are not gone after
1370           free_dle
1371
1372 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
1373         * perl/Amanda/Report.pm: fix autovivification bug
1374         * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of 
1375           undefined's
1376
1377 2010-10-04  Jean-Louis Martineau <martineau@zmanda.com>
1378         * server-src/amtape.pl: Add a 'return' for every usage() call.
1379           Add step in main.
1380
1381 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
1382         * man/xml-source/amvault.8.xml: mention that DLE splitting parameters
1383           are ignored by amvault
1384         * server-src/amvault.pl: use tapetype parameters for splitting
1385         * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight
1386           from Amanda::Config
1387
1388 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
1389         * packaging/deb/rules: remove misleading comment about automake-1.2
1390
1391 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
1392         * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask
1393           user to clear out 'tapedev' too
1394
1395 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
1396         * common-src/event.c: Set the priority of EV_TIME to 10.
1397
1398 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
1399         * perl/Amanda/Report/postscript.pm: print all dles that have a part
1400           on the volume.
1401         * installcheck/catalogs/spanned.cat: Check it.
1402
1403 2010-09-30  Dustin J. Mitchell <dustin@zmanda.com>
1404         * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1,
1405           too
1406
1407 2010-09-29  Dustin J. Mitchell <dustin@zmanda.com>
1408         * server-src/dumper.c: fix prints; use the correct disk_t fields
1409
1410 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
1411         * common-src/alloc.c: Remove a print to stderr.
1412
1413 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
1414         * NEWS, ReleaseNotes: Update.
1415
1416 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
1417         * installcheck/amvault.pl: fix tests for total size
1418
1419 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
1420         * common-src/util.c: remove debugging call
1421         * installcheck/Amanda_Util.pl: fix tests on perl-5.6
1422
1423 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
1424         * server-src/amvault.pl: print total size on --dry-run
1425
1426 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
1427         * installcheck/Amanda_Config.pl: fix test
1428
1429 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
1430         * NEWS: update NEWS about it
1431         * common-src/conffile.c common-src/conffile.h: add recovery-list
1432           parameters
1433         * man/xml-source/amanda.conf.5.xml: document them
1434         * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them
1435         * installcheck/Amanda_Config.pl: test them
1436         * server-src/amidxtaped.pl: check recovery limits
1437         * installcheck/amidxtaped.pl
1438           installcheck/Installcheck/ClientService.pm: test it
1439         * server-src/amindexd.c: check recovery limits
1440
1441 2010-09-28  Jean-Louis Martineau <martineau@zmanda.com>
1442         * recover-src/extract_list.c: Print number of bytes read.
1443
1444 2010-09-28 Dan Locks <dwlocks@zmanda.com>
1445         *  config/amanda/progs.m4: remove first instance of
1446            AMANDA_PROG_GNUPLOT
1447
1448 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
1449         * common-src/amanda.h common-src/alloc.c: add save_env_full
1450         * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services
1451
1452 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
1453         * common-src/amxml.c: Fix unallocating NULL g_hash.
1454         * server-src/chunker.c: Don't free cmdargs.
1455
1456 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
1457         * common-src/security-util.c: Fix pointer arithmetic.
1458
1459 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
1460         * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with
1461           descriptions of match expressions
1462         * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
1463           man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml
1464           man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml
1465           man/xml-source/amvault.8.xml: reference it
1466
1467 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
1468         * common-src/util.c common-src/util.h: support ##.## in braced
1469           alternates
1470         * installcheck/Amanda_Util.pl: test it
1471         * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml
1472           man/xml-source/amanda-devices.7.xml: document it
1473
1474 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
1475         * amandad-src/amandad.c, client-src/client_util.c,
1476           client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c,
1477           common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h,
1478           common-src/security-util.c, common-src/util.c,
1479           perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c,
1480           server-src/chunker.c, server-src/diskfile.c, server-src/driver.c,
1481           server-src/driverio.c, server-src/dumper.c, server-src/find.c,
1482           server-src/holding.c, server-src/planner.c, server-src/server_util.c,
1483           server-src/xfer-source-holding.c: Fix memory leak.
1484
1485 2010-09-25  Dustin J. Mitchell <dustin@zmanda.com>
1486         * common-src/alloc.c: remove amtable functions
1487         * common-src/amanda.h: remove prototypes
1488
1489 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
1490         * application-src/amstar.c: Check root can cd to the directory.
1491
1492 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
1493         * perl/Amanda/Report/human.pm: Correctly print new tapes to use.
1494         * installcheck/catalogs/filesystemstaped.cat: write the tapelist file
1495         * installcheck/amreport.pl: Test it.
1496
1497 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
1498         * NEWS: amvault and other new news
1499         * server-src/amvault.pl: support --dry-run
1500         * man/xml-source/amvault.8.xml: docs
1501         * installcheck/amvault.pl: tests
1502
1503 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
1504         * common-src/security.h: add get_authenticated_peer_name method
1505         * common-src/security-util.c common-src/security-util.h: add two
1506           implementations
1507         * common-src/sockaddr-util.c common-src/sockaddr-util.h: add
1508           str_to_sockaddr
1509         * amandad-src/amandad.c: log authenticated peer name
1510         * common-src/bsd-security.c common-src/bsdtcp-security.c
1511           common-src/bsdudp-security.c common-src/krb5-security.c
1512           common-src/local-security.c common-src/rsh-security.c
1513           common-src/ssh-security.c: implement get_authenticated_peer_name
1514         * common-src/util.h: fix comments
1515         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
1516           config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c
1517           gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add
1518           inet_pton module
1519         * man/xml-source/amanda-auth.7.xml: update manual to describe
1520           authenticated peer names
1521
1522 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
1523         * common-src/security-util.c: Check size before allocating.
1524
1525 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
1526         * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only
1527
1528 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
1529         * device-src/xfer-dest-taper-splitter.c (device_thread_write_part):
1530           Don't write more than the block size.
1531
1532 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
1533         * installcheck/amreport.pl: update checks to match amreport change
1534
1535 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
1536         * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add
1537           exports
1538         * server-src/amreport.pl: don't print anything in script mode when
1539           there is nothing to do
1540         * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault
1541         * server-src/amvault.pl: make dst-changer and src-timestamp into
1542           --options and add support for dumpspecs
1543         * man/xml-source/amvault.8.xml: document
1544         * installcheck/amvault.pl: test changes
1545         * installcheck/Amanda_Cmdline.pl: remove TODO
1546
1547 2010-09-22  Jean-Louis Martineau <martineau@zmanda.com>
1548         * server-src/driver.c (startaflush_tape): Use tape_length if the
1549           tape is not started.
1550
1551 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
1552         * man/xslt/html.xsl.in: include Amanda version in HTML footers
1553
1554 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
1555         * server-src/amvault.pl: add an INFO line for every source volume read
1556
1557 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
1558         * server-src/amvault.pl: add extra logging for amreport, and invoke
1559           amreport at the end of a run
1560         * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h:
1561           add P_AMVAULT
1562         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
1563           server-src/amreport.pl: handle amvault logs, too
1564
1565 2010-09-21  Orion Poplawski <orion@cora.nwra.com>
1566         * server-src/amoverview.pl: fix remaining uninitialized value warnings
1567
1568 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
1569         * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no
1570           successful parts on tape; comments and POD
1571
1572 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
1573         * installcheck/catalogs/amflush.cat
1574           installcheck/catalogs/bigestimate.cat
1575           installcheck/catalogs/doublefailure.cat
1576           installcheck/catalogs/fatal.cat
1577           installcheck/catalogs/filesystemstaped.cat
1578           installcheck/catalogs/flush-noorigsize.cat
1579           installcheck/catalogs/flush-origsize.cat
1580           installcheck/catalogs/longstrange.cat
1581           installcheck/catalogs/multi-taper.cat installcheck/catalogs/normal.cat
1582           installcheck/catalogs/plannerfail.cat
1583           installcheck/catalogs/resultsmissing.cat
1584           installcheck/catalogs/retried-nofinish.cat
1585           installcheck/catalogs/retried-strange.cat
1586           installcheck/catalogs/retried.cat
1587           installcheck/catalogs/shortstrange.cat
1588           installcheck/catalogs/skipped.cat installcheck/catalogs/spanned.cat
1589           installcheck/catalogs/strontium.cat installcheck/catalogs/taperr.cat:
1590           update expected reports to match updated amreport output
1591
1592 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
1593         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c:
1594           Don't print warning for 'holdingdisk auto' and directtcp data path.
1595
1596 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
1597         * application-src/amgtar.c: Add VERBOSE property,
1598           unlink include/exclude file if VERBOSE if NO.
1599         * man/xml-source/amgtar.8.xml: Document VERBOSE property.
1600
1601 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
1602         * perl/Makefile.am: make the thread check mandatory on FreeBSD
1603         * config/amanda/swig.m4: detect FreeBSD
1604
1605 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
1606         * perl/Amanda/Report/human.pm: change some strings, and make
1607           the statistics section more succinct; suggested by Jon LaBadie
1608
1609 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
1610         * server-src/amadmin.c: add 'dles' and 'hosts' subcommands
1611         * man/xml-source/amadmin.8.xml: document them
1612
1613 2010-09-20  Jean-Louis Martineau <martineau@zmanda.com>
1614         * perl/Amanda/Script_App.pm: Call _set_mesgout.
1615         * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout):
1616           Set $self->{mesgout}.
1617         * application-src/amraw.pl, application-src/amsamba.pl
1618           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
1619           Don't set $self->{mesgout}.
1620
1621 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
1622         * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming
1623
1624 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
1625         * server-src/find.c: only expect partnum/totalparts in taper log lines
1626         * installcheck/catalogs/bigdb.cat: tests
1627
1628 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
1629         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to
1630           XferSourceRecovery
1631
1632 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
1633         * perl/Amanda/Changer/disk.pm: but still return stringy slot names
1634
1635 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
1636         * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by
1637           'ghosts' on forums.zmanda.com
1638
1639 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
1640         * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in
1641           tape device
1642
1643 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
1644         * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server
1645           component
1646
1647 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
1648         * server-src/dumper.c: Send filter STDERR to log file, backup is
1649           marked as failed.
1650
1651 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
1652         * device-src/ndmp-device.c, device-src/tape-device.c,
1653         * device-src/vfs-device.c: Don't set the header if nothing is read.
1654         * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't
1655           exists
1656         * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device
1657           status and header.
1658         * installcheck/Amanda_Changer_multi.pl: Updated.
1659         * installcheck/amcheck-device.pl: Updated.
1660         * installcheck/amdevcheck.pl: Updated.
1661
1662 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
1663         * server-src/driver.c: start up correctly with --no-taper
1664         * server-src/driverio.c server-src/driverio.h: take no_taper as
1665           argument to startup_tape_process
1666
1667 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
1668         * perl/Amanda/DB/Catalog.pm: new methods to determine the type of
1669           a run
1670         * installcheck/Amanda_DB_Catalog.pl: test them
1671         * server-src/amvault.pl: 'latest' excludes amvault runs; add START
1672           amvault to identify such runs
1673         * installcheck/catalogs/bigdb.cat: add 'START planner' where missing
1674         * installcheck/amvault.pl: cleanup after tests
1675
1676 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
1677         * NEWS: mention improvements to amvault
1678         * server-src/amvault.pl: Add --autolabel=.. and --label-template=..
1679         * installcheck/amvault.pl: update tests
1680         * man/xml-source/amvault.8.xml: update manpage
1681
1682 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
1683         * server-src/amreport.pl: support more than one email address
1684         * installcheck/amreport.pl: change error message
1685
1686 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
1687         * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them
1688           in the tapelist file.
1689           Remove the "Will write new label `$LABEL' to new tape" message.
1690         * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist
1691            in the argument.
1692         * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file.
1693         * server-src/amvault.pl: Don't update the tapelist file.
1694         * installcheck/Amanda_Report.pl: Remove 'Will write ...' message.
1695           installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message.
1696           installcheck/taper.pl: Remove 'Will write ...' message.
1697
1698 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
1699         * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock.
1700         * perl/Amanda/Tapelist.pod: Document new API.
1701           perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm,
1702           perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm,
1703           perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl,
1704           server-src/amlabel.pl, server-src/amreport.pl,
1705           server-src/amrmtape.pl, server-src/amvault.pl: Use new API
1706         * installcheck/Amanda_Logfile.pl,
1707           installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl,
1708           installcheck/amrmtape.pl, installcheck/amtape.pl,
1709           installcheck/Amanda_Recovery_Clerk.pl: Fix for new API.
1710
1711 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
1712         * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd
1713         * xfer-src/xfer-element.c xfer-src/xfer-element.h: add
1714           xfer_element_swap_input_fd and xfer_element_swap_output_fd and
1715           use them to access input_fd and output_fd atomically
1716         * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle
1717           taking ownership of fd's even in pull_and_write and read_and_push
1718         * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c
1719           xfer-src/dest-fd.c: use xfer_element_swap_*_fd
1720
1721 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
1722         * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'.
1723         * installcheck/taper.pl: Fix for correct tape_num.
1724
1725 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
1726         * server-src/driver.c: Use many worker.
1727         * server-src/driverio.c: Init many worker.
1728         * server-src/driverio.h (TaperState): New taper state.
1729         * server-src/server_util.c: Add "TAKE-SCRIBE-FROM".
1730         * server-src/server_util.h: Add TAKE_SCRIBE_FROM.
1731
1732 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
1733         * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol.
1734         * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function.
1735         * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb.
1736           transfert the xfer to a new scribe.
1737         * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method.
1738         * perl/Amanda/Xfer.swg (xfer_set_callback): New method.
1739         * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command.
1740
1741 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
1742         * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup.
1743         * installcheck/Installcheck/Run.pm (setup): Take an argument to set
1744                                                     new vtapes.
1745         * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb.
1746         * installcheck/taper.pl: Fix and test for START_SCAN cmd.
1747         * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function.
1748         * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol.
1749         * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan,
1750           new perm_cb argument, new start_scan method.
1751         * perl/Amanda/Taper/Worker.pm (START_SCAN): New method,
1752           call perm_cb with new argument.
1753         * server-src/amvault.pl: Call start_scan and perm_cb with new argument.
1754         * server-src/driver.c: Send START_SCAN command to taper.
1755         * server-src/driverio.c (taper_cmd): Add START_SCAN.
1756         * server-src/server_util.c (cmdstr): add "START-SCAN".
1757         * server-src/server_util.h: Add START_SCAN.
1758
1759 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
1760         * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol.
1761         * perl/Amanda/Taper/Controller.pm,
1762         * perl/Amanda/Taper/Worker.pm: Use worker_name.
1763         * server-src/driverio.c (taper_cmd): Send worker_name to taper.
1764         * server-src/driver.c: New argument to taper_cmd.
1765         * server-src/amstatus.pl: Parse worker_name.
1766         * installcheck/catalogs/chunker-partial.cat,
1767           installcheck/catalogs/normal.cat,
1768           installcheck/catalogs/quoted.cat: Add worker_name.
1769         * installcheck/taper.pl: Add worker_name.
1770
1771 2010-09-14  Jean-Louis Martineau <martineau@zmanda.com>
1772         * server-src/taper.pl: Split in many files, add the worker.
1773         * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl
1774         * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl
1775         * perl/Amanda/Taper/Worker.pm: New class
1776         * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm.
1777
1778 2010-09-14  Dustin J. Mitchell <dustin@zmanda.com>
1779         * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description
1780
1781 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1782         * server-src/amflush.c: Don't include driverio.h
1783         * server-src/driver.c, server-src/driverio.c, server-src/driverio.h:
1784           Put all taper variables in a taper_t structure.
1785
1786 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1787         * installcheck/amreport.pl: Load the config instead of using amgetconf.
1788
1789 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1790         * installcheck/amreport.pl: Use full path to amgetconf.
1791
1792 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1793         * server-src/find.c: Parse log with taper lines mixed.
1794         * perl/Amanda/Report.pm: Parse log with taper lines mixed.
1795         * installcheck/Amanda_DB_Catalog.pl: Check it.
1796         * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat.
1797         * installcheck/amreport.pl: Check it;
1798         * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed.
1799
1800 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
1801         * man/xml-source/amoverview.8.xml: document long options
1802         * server-src/amoverview.pl: fix bugs, stop using perl formats, and
1803           give long options in the usage message
1804         * installcheck/catalogs/bigdb.cat: add disklist
1805         * installcheck/amoverview.pl: more thorough tests based on bigdb
1806
1807 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
1808         * man/xml-source/amdump.8.xml: document --no-taper
1809         * server-src/Makefile.am: rename amdump.sh -> .pl
1810         * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add
1811           --no-taper
1812         * server-src/driver.c: support --no-taper by not starting taper
1813         * server-src/planner.c: support --no-taper by not sending flushes
1814
1815 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1816         * server-src/find.c (find_dump): Don't print the
1817                                          'log files found for tape' warning.
1818         * server-src/amadmin.c: Call find_log to print the warning.
1819
1820 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1821         * server-src/amserverconfig.pl: Use $pw[0].
1822
1823 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
1824         * common-src/conffile.c: Add taper-parallel-write.
1825         * common-src/conffile.h: Add taper-parallel-write.
1826         * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write.
1827
1828 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
1829         * installcheck/Makefile.am installcheck/amflush.pl: new installcheck
1830
1831         * server-src/amflush.c: flush DLEs that aren't in the disklist anymore
1832         * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile,
1833           based on match_disklist
1834         * server-src/driver.c: load holding-disk pseudo-DLEs at startup
1835         * server-src/driverio.c: survive configuration-free DLEs
1836         * server-src/holding.c server-src/holding.h: search_holding_file no
1837           longer checks against disklist
1838         * server-src/planner.c: use match_dumpfile for holding-disk DLEs
1839
1840 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
1841         * installcheck/Amanda_Device.pl: use srcdir
1842         * installcheck/Installcheck.pm: set srcdir from env
1843         * installcheck/Installcheck/Catalogs.pm: use srcdir
1844         * installcheck/Makefile.am: set $srcdir for tests
1845
1846 2010-09-09  Lyndon Nerenberg <lyndon@orthanc.ca>
1847         * Makefile.am: fix to enable builds outside srcdir
1848
1849 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
1850         * server-src/amvault.pl: add --export
1851         * man/xml-source/amvault.8.xml: doc it
1852         * installcheck/amvault.pl: test it
1853
1854 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
1855         * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog
1856           hack
1857
1858 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
1859         * installcheck/Makefile.am: include
1860           installcheck/catalog/retried-strange.cat in distribution
1861
1862 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
1863         * installcheck/catalogs/retried-strange.cat: add a retried dump
1864           where the retry is strange
1865         * installcheck/amreport.pl: test it
1866         * perl/Amanda/Report/human.pm: fix the bug it reveals
1867
1868 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
1869         * gnulib/regenerate/regenerate: add 'environ' module
1870         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
1871           gnulib/Makefile.am config/gnulib/environ.m4: new module
1872
1873 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
1874         * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4
1875         * gnulib/regenerate/regenerate: change gnulib sha1
1876
1877 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
1878         * man/xml-source/amreport.8.xml: describe the format of the dump, with
1879           notes and details
1880
1881 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
1882         * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done
1883         * installcheck/Amanda_Taper_Scribe.pl: test it
1884
1885 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
1886         * application-src/ampgsql.pl: Send tar stderr to the server.
1887
1888 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
1889         * server-src/amserverconfig.pl: use RUNNING_AS_ANY and
1890                                         set dumpuser in amanda.conf.
1891
1892 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1893         * common-src/alloc.c: remove unnecessary declaration of 'environ'
1894
1895 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1896         * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes
1897         * installcheck/Amanda_Changer_robot.pl: test it
1898
1899 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1900         * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the
1901           ndmlib_mutex
1902
1903 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1904         * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see
1905           http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html
1906
1907 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1908         * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer
1909           slots, to save space
1910
1911 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1912         * perl/Amanda/Changer.pm: fix make_combined_error
1913         * perl/Amanda/Changer/robot.pm: correctly set up polling for device
1914           ready; use 'unknown', not 'device', as a reason; always return a
1915           changer error, not a string
1916
1917 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
1918         * device-src/tape-aix.c device-src/tape-uware.c
1919           device-src/tape-xenix.c: remove unmaintained, and apparently unused,
1920           implementations
1921         * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c
1922         * device-src/tape-device.h: remove
1923         * device-src/tape-ops.h: remove
1924
1925         * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore
1926         * device-src/Makefile.am: remove tape ops conditionals
1927
1928 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
1929         * configure.in: add check for unsetenv
1930
1931 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
1932         * installcheck/Makefile.am: add Installcheck::Catalog and the
1933           catalogs to the distribution
1934
1935 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1936         * installcheck/amserverconfig.pl: skip the correct number of tests
1937
1938 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1939         * installcheck/amserverconfig.pl: don't try running tape-changer if
1940           MTX is not installed
1941         * server-src/amserverconfig.pl: create $CONFIG_DIR if required.  This
1942           passes on my system and should pass on the Mac systems.
1943
1944 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1945         * config/.gitignore: don't ignore these files
1946         * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add
1947           ignored, but required, gnulib files
1948
1949 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1950         * NEWS: note removal of changers
1951         * changer-src/Makefile.am changer-src/chg-chio.pl
1952           changer-src/chg-chs.sh changer-src/chg-iomega.pl
1953           changer-src/chg-juke.sh changer-src/chg-mcutil.sh
1954           changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh
1955           changer-src/chg-rth.pl changer-src/chg-scsi-chio.c
1956           changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c
1957           changer-src/scsi-bsd.c changer-src/scsi-cam.c
1958           changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
1959           changer-src/scsi-defs.h changer-src/scsi-hpux.c
1960           changer-src/scsi-hpux_new.c changer-src/scsi-irix.c
1961           changer-src/scsi-linux.c changer-src/scsi-proto.c
1962           changer-src/scsi-solaris.c changer-src/sense.c: remove changers and
1963           system-specific SCSI code
1964         * config/amanda/changer.m4: remove unnecessary checks
1965         * config/amanda/progs.m4: remove checks for chio, chs, and mcutil
1966         * configure.in: remove changer invocations
1967
1968 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1969         * server-src/driverio.c: Don't write negative origsizes to the taper
1970
1971 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1972         * server-src/amcheck.c: drop root privs during the server check, so
1973           that access() will test the dumpuser's perms, not root's perms
1974
1975 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1976         * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir
1977         * installcheck/amtapetype.pl: spell it device-property
1978         * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long
1979           option
1980         * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of
1981           mkdir
1982
1983 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1984         * installcheck/Makefile.am: new tests
1985         * installcheck/amserverconfig.pl: run amserverconfig
1986         * installcheck/example.pl: test that templates parse properly
1987         * server-src/amserverconfig.pl: minor cleanup of old perl
1988
1989 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1990         * server-src/dumper.c changer-src/chg-scsi.c: use fseeko
1991         * config/.gitignore config/config.rpath config/gnulib/* gnulib/*:
1992           upgrade gnulib
1993         * gnulib/regenerate/no-error.patch: updated patch
1994         * gnulib/regenerate/regenerate: drop visibility module; specify new
1995           git hash
1996
1997 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1998         * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0
1999           to logfiles to check handling of those cases
2000         * perl/Amanda/Report.pm: fix (egregious) typo
2001         * perl/Amanda/Report/human.pm: handle compression better, handle
2002           printing non-contiguous levels
2003
2004 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2005         * application-src/ampgsql.pl: remove check for a directory that
2006           should not be readable to the amanda user
2007
2008 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2009         * application-src/amgtar.c application-src/ampgsql.pl
2010           recover-src/extract_list.c server-src/amcheckdump.pl: Use
2011           --ignore-zeros in all -t or -x invocations of gtar
2012
2013 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2014         * man/xml-source/amanda-auth.7.xml
2015           man/xml-source/amanda-changers.7.xml
2016           man/xml-source/amanda-client.conf.5.xml
2017           man/xml-source/amanda-compatibility.7.xml
2018           man/xml-source/amanda-devices.7.xml
2019           man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml
2020           man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove
2021           references to krb4 and to the pre-spanning days, and canonicalize
2022           all configuration parameters to use -, not _
2023         * common-src/conffile.c device-src/activate-devpay.c
2024           device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm
2025           perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c
2026           server-src/amreport.pl server-src/driver.c server-src/planner.c:
2027           canonicalize configuration parameter names in error messages to use -,
2028           not _
2029
2030 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
2031         * installcheck/Installcheck/Catalogs.pm: tool to install catalogs
2032           dynamically, rather than including them in __DATA__
2033         * installcheck/catalogs/*: new catalog files
2034         * installcheck/Amanda_DB_Catalog.pl
2035           installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl
2036           installcheck/amstatus.pl: use Installcheck::Catalog
2037         * perl/Amanda/Recovery/Planner.pm: check that parameters exist
2038
2039 2010-08-25 Dan Locks <dwlocks@zmanda.com>
2040         *  packaging/deb/control: Fix missing line break so dpkg can parse the
2041            control file
2042
2043 2010-08-23  Dustin J. Mitchell <dustin@zmanda.com>
2044         * server-src/amvault.pl: add --fulls-only option
2045         * man/xml-source/amvault.8.xml: document
2046
2047 2010-08-23 Dan Locks <dwlocks@zmanda.com>
2048         *  packaging/deb/control: add ca-certificates and procps
2049
2050 2010-08-21  Dustin J. Mitchell <dustin@zmanda.com>
2051         * common-src/fileheader.c: remove incorrect validations for
2052           CONT_FILENAME and APPLICATION
2053
2054 2010-08-20 Dan Locks <dwlocks@zmanda.com>
2055         *  The error fixed here was reported by ssgelm.
2056         *  packaging/common/substitute.pl: Use FULL_VERSION instead of
2057            VERSION.
2058         *  packaging/rpm/amanda.spec.src: renamed from amanda.spec, added
2059            %%VERSION%% macro for substitute.pl, fixed glib2 requires typo
2060         *  packaging/rpm/buildpkg: refactored into "do_thing" functions, added
2061            substitute.pl machinery.
2062
2063 2010-08-20 Dan Locks <dwlocks@zmanda.com>
2064         *  packaging/rpm/amanda.spec: add openSuSE 11 detection and
2065            buildrequires glib2-devel, as written by ssgelm
2066
2067 2010-08-13  Dustin J. Mitchell <dustin@zmanda.com>
2068         * config/amanda/debugging.m4: make the default for syntax-checks
2069           "disabled", add a warning when enabling
2070         * perl/Makefile.am config/automake/scripts.am: don't do any checks
2071           that require linking perl extension modules unless SYNTAX_CHECKS is
2072           set
2073         * installcheck/Makefile.am: always skip syntax checks
2074         * application-src/amlog-script.pl application-src/amraw.pl
2075           application-src/amsamba.pl application-src/amsuntar.pl
2076           application-src/amzfs-sendrecv.pl application-src/amzfs-snapshot.pl
2077           application-src/script-email.pl common-src/amgetconf.pl
2078           device-src/amdevcheck.pl device-src/amtapetype.pl
2079           installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_ndmp.pl
2080           installcheck/Amanda_Changer_null.pl
2081           installcheck/Amanda_Changer_rait.pl
2082           installcheck/Amanda_Changer_robot.pl
2083           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Cmdline.pl
2084           installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl
2085           installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl
2086           installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl
2087           installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl
2088           installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl
2089           installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl
2090           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
2091           installcheck/amadmin.pl installcheck/amarchiver.pl
2092           installcheck/amcheck-device.pl installcheck/amcheck.pl
2093           installcheck/amcheckdump.pl installcheck/amdevcheck.pl
2094           installcheck/amdump.pl installcheck/amgetconf.pl
2095           installcheck/amlabel.pl installcheck/amoverview.pl
2096           installcheck/amrmtape.pl installcheck/amservice.pl
2097           installcheck/amstatus.pl installcheck/amtape.pl
2098           installcheck/amtapetype.pl installcheck/amvault.pl
2099           installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl
2100           server-src/amcheckdump.pl server-src/amcleanup.pl
2101           server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add
2102           strict and/or warnings, and fix (trivial) resulting warnings
2103
2104 2010-08-13  Nikhil Bhupale <nikhilb@zmanda.com>
2105         * AUTHORS: add Nikhil
2106         * device-src/ndmp-device.c: add READ_BLOCK_SIZE support
2107         * installcheck/Amanda_Device.pl: test it
2108         * man/xml-source/amanda-devices.7.xml: document it
2109
2110 2010-08-11  Dustin J. Mitchell <dustin@zmanda.com>
2111         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly
2112         * installcheck/Amanda_Util.pl: test it
2113         * application-src/amsamba.pl: use it to parse amandapass
2114
2115 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
2116         * server-src/find.c: parse old SUCCESS lines properly
2117         * perl/Amanda/DB/Catalog.pm: same
2118         * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines
2119
2120 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
2121         * amandad-src/amandad.c: unset SUN_PERSONALITY on startup
2122         * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY
2123
2124 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
2125         * server-src/amlogroll.pl: ignore arguments after the first
2126
2127 2010-08-06  Dustin J. Mitchell <dustin@zmanda.com>
2128         * installcheck/amvault.pl: correct test count
2129         * perl/Amanda/Taper/Scribe.pm: fix nparts calculation
2130
2131 2010-08-06  Stephen Gelman <ssgelm@gmail.com>
2132         * AUTHORS: add Stephen
2133         * client-src/rundump.c client-src/runtar.c: unset
2134           SUN_PERSONALITY in runtar and rundump, to shut off
2135           Nexenta's tendency to magically run Sun binaries
2136
2137 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
2138         * server-src/amvault.pl: rewrite to use scribe, clerk
2139         * installcheck/amvault.pl: check results better
2140         * server-src/logfile.c server-src/logfile.h: add log_add_full
2141         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full
2142           and make_stats methods
2143         * perl/Amanda/MainLoop.pod: POD typos
2144         * perl/Amanda/Recovery/Planner.pm: add shift_dump method
2145         * perl/Amanda/Taper/Scan.pm: add POD, fix typos
2146         * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb
2147         * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile
2148
2149 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
2150         * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE
2151           property
2152
2153 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
2154         * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_*
2155         * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_*
2156         * installcheck/Amanda_Recovery_Clerk.pl
2157           installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl
2158           server-src/amfetchdump.pl server-src/amidxtaped.pl
2159           server-src/taper.pl: use renamed methods
2160
2161 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
2162         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename
2163           and a method to find the proper timestamp for the current log
2164         * installcheck/Amanda_Logfile.pl: test it
2165         * server-src/Makefile.am server-src/amlogroll.c
2166           server-src/amlogroll.pl: rewrite in perl
2167
2168 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
2169         * config/amanda/ipv6.m4: fix config messages to not use the
2170           autoconf-specific word "target"
2171
2172 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
2173         * man/xml-source/amanda.conf.5.xml: add more info about appropriate
2174           settings for autolabel
2175
2176 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
2177         * common-src/security.h: move comments from wiki, reorder functions
2178
2179 2010-08-03  Jean-Louis Martineau <martineau@zmanda.com>
2180         * server-src/amdump.sh: Check it own the log file.
2181
2182 2010-08-02  Jean-Louis Martineau <martineau@zmanda.com>
2183         * common-src/util.c (interruptible_accept): Set the read set and
2184           timeout before each select call.
2185
2186 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
2187         * server-src/amvault.pl: only run as dumpuser
2188
2189 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
2190         * man/xml-source/amanda-auth.7.xml: consistently use the same
2191           username in examples (thanks to Amar Takhar)
2192
2193 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
2194         * xfer-src/filter-process.c: handle fd's <= 2 correctly
2195
2196 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
2197         * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a
2198           copy of tcpm_recv_token.
2199         * common-src/security-util.c: New tcpm_recv_token without a timeout.
2200         * common-src/security-util.h: Add field to keep a buffer in tcp_conn.
2201
2202 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
2203         * perl/Amanda/Script_App.pm: Print restore message to STDERR.
2204
2205 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
2206         * config/amanda/progs.m4: require SWIG-1.3.39
2207         * (all .c files): #include amanda.h first
2208         * perl/amglue/amglue.swg: use %begin to include config.h first
2209
2210 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
2211         * device-src/amtapetype.pl: detect LEOM and add appropriate
2212           comments
2213         * device-src/xfer-dest-device.c device-src/xfer-device.h: add
2214           cancel_at_leom constructor arg
2215         * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
2216           installcheck/Amanda_Xfer.pl installcheck/amrestore.pl
2217           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg
2218           server-src/amvault.pl: pass new argument
2219
2220 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
2221         * device-src/tape-device.c device-src/tape-device.h: autodetect
2222           the LEOM property, and handle various operating systems' LEOM
2223           indications
2224         * device-src/tape-aix.c device-src/tape-posix.c
2225           device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to
2226           FALSE by default
2227
2228 2010-07-27  Jean-Louis Martineau <martineau@zmanda.com>
2229         * server-src/find.c (find_result_t): Add a write_timestamp.
2230         * server-src/find.h: Set the write_timestamp.
2231         * server-src/amcheckdump.pl: Use the write_timestamp.
2232         * server-src/amidxtaped.pl: write_timestamp is undef.
2233         * server-src/cmdline.h (dumpspec_t): Add a write_timestamp.
2234         * server-src/cmdline.c (dumpspec_new): New write_timestamp argument.
2235         * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp.
2236         * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp.
2237         * perl/Amanda/Cmdline.pod: Document write_timestamp.
2238         * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec
2239           write_timestamp.
2240         * installcheck/Amanda_Cmdline.pl: Fix and check new api.
2241         * installcheck/Amanda_DB_Catalog.pl: Fix and check new api.
2242         * installcheck/Amanda_Logfile.pl: Fix and check new api.
2243         * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api.
2244
2245 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
2246         * configure.in perl/amglue/Makefile.am: new Makefile for
2247           libamglue
2248         * perl/Makefile.am: use SUBDIRS to build libamglue before
2249           any SWIG modules, as automake does not get inter-library
2250           dependencies right at install time if the libraries are
2251           all built in the same directory
2252
2253 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
2254         * application-src/ampgsql.pl: also check PG-DATADIR
2255
2256 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
2257         * installcheck/Amanda_DB_Catalog.pl
2258           installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl
2259           installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio
2260           buffering when writing holding-file headers
2261
2262 2010-07-26  Jean-Louis Martineau <martineau@zmanda.com>
2263         * server-src/planner.c: Ignore the FORCE command if strategy is
2264           INCRONLY.
2265
2266 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
2267         * installcheck/Amanda_Xfer.pl: *real* correct number of tests for
2268           --without-server
2269
2270 2010-07-25  Dustin J. Mitchell <dustin@zmanda.com>
2271         * installcheck/Amanda_Xfer.pl: correct number of tests for
2272           --without-server
2273
2274 2010-07-25  Orion Poplawski <orion@cora.nwra.com>
2275         * server-src/amoverview.pl: fix host iteration and handle case of only
2276           one write_timestamp
2277
2278 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
2279         * device-src/vfs-device.c: announce LEOM one byte later
2280         * installcheck/Amanda_Xfer.pl: set device properties before starting
2281
2282 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
2283         * perl/Amanda/Changer/robot.pm: use correct device field volume_header
2284
2285 2010-07-23  Dustin J. Mitchell <dustin@zmanda.com>
2286         * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS
2287           timeout to 60s and set CURDATA=1 to use cached state
2288
2289 2010-07-23  Jean-Louis Martineau <martineau@zmanda.com>
2290         * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file.
2291         * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and
2292                                        devhandling reservation.
2293         * server-src/taper.pl: Write quit error meesage to debug file.
2294
2295 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
2296         * device-src/vfs-device.c device-src/vfs-device.h: add support for
2297           monitoring free space to generate LEOM before ENOSPC hits; set LEOM
2298           property to TRUE by default
2299         * installcheck/Amanda_Device.pl: test monitor_free_space prop
2300         * man/xml-source/amanda-devices.7.xml: document VFS device LEOM
2301           support and the MONITOR_FREE_SPACE property
2302
2303 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
2304         * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test
2305         * device-src/property.c device-src/property.h: remove FREE_SPACE
2306           property, QualifiedSize, and SizeAccuracy
2307         * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE
2308           support
2309         * man/xml-source/amanda-devices.7.xml: remove docs
2310         * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize
2311
2312 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
2313         * device-src/Makefile.am: add reference to new header file
2314
2315 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
2316         * device-src/xfer-dest-taper-cacher.c: remove support for
2317           cache_inform, simplify disk cache
2318         * device-src/xfer-dest-taper-splitter.c: add support for cache_inform,
2319           use it even when LEOM is available
2320         * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h
2321           device-src/xfer-device.h: move common methods to new header file; add
2322           instance_init
2323         * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use
2324           splitter for cache_inform
2325         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function
2326           signatures
2327         * perl/amglue/glib.swg: take any perl true or flase value to make
2328           a gboolean
2329
2330 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
2331         * server-src/diskfile.h (disk_t) Add allow_split and splitsize.
2332         * server-src/diskfile.c: Set allow_split and splitsize.
2333         * server-src/driver.c: Use allow_split and splitsize.
2334         * server-src/planner.c: Use allow_split and splitsize.
2335         * server-src/amadmin.c (disklist_one): Print allow_split.
2336
2337 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
2338         * server-src/taper.pl: Use ' to quote label in 'wrote label' line.
2339         * server-src/amstatus.pl: Parse it.
2340         * installcheck/amstatus.pl: Check it.
2341
2342 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
2343         * ndmp-src/Makefile.am: use += with BUILT_SOURCES
2344
2345 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
2346         * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h
2347           parameter that sets the initial host
2348         * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet
2349           with no net connection
2350
2351 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
2352         * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported
2353         * config/amanda/tape.m4: fix bugs causing tape support to always be
2354           built (symbols aren't defined in Snow Leopard)
2355         * device-src/device.c: fix bug
2356         * perl/Amanda/Device.swg: return undef for undefined properties,
2357           rather than crashing
2358         * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do
2359           not assume tape device is defined
2360
2361 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
2362         * config/macro-archive/ac_prog_swig.m4: fix swig version detection
2363           - swig-2.0.0 works fine
2364
2365 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
2366         * perl/Amanda/Tapelist.swg: better fix for temp filename
2367
2368 2010-07-15  Jean-Louis Martineau <martineau@zmanda.com>
2369         * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for
2370                                        incremental.
2371         * installcheck/amreport.pl: Test it.
2372
2373 2010-07-15  Satya Ganga  <gast@zmanda.com>
2374         * config/amanda/progs.m4: Use correct search path for mt binary.
2375
2376 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
2377         * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error
2378           messages better
2379
2380 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
2381         * configure.in config/amanda/shmem.m4: remove unnecessary config
2382           checks
2383
2384 2010-07-13  Dustin J. Mitchell <dustin@zmanda.com>
2385         * perl/Amanda/Report.pm: parse the planner's skipping a dump
2386         * perl/Amanda/Report/human.pm: present it correctly
2387         * installcheck/amreport.pl: adjust tests accordingly
2388
2389 2010-07-12  Nandan Athawale <nandan.athawale@gmail.com>
2390         * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper
2391           is set
2392
2393 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
2394         * server-src/amoverview.pl: fix variable references in evals
2395
2396 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
2397         * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck
2398           for amoverview
2399
2400 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
2401         * server-src/amoverview.pl: update to use Amanda::DB::Catalog
2402         * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys
2403         * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness
2404         * AUTHORS: add Orion
2405
2406 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
2407         * common-src/conffile.c: fix error message
2408
2409 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
2410         * example/amanda.conf.in example/template.d/advanced.conf.in
2411           example/template.d/amanda-S3.conf.in: replace label_new_tapes with
2412           autolabel
2413
2414 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
2415         * installcheck/Amanda_Xfer.pl: fix test counts under -without-server
2416
2417 2010-07-10  Dustin J. Mitchell <dustin@zmanda.com>
2418         * config/amanda/userid.m4: apply the default value for --with-group
2419           to the correct variable
2420
2421 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
2422         * server-src/amcheck.c: small bugfixes
2423         * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support
2424           LEOM configurations
2425         * server-src/taper.pl: use new args; log warnings with L_WARNING, not
2426           L_FAIL
2427         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test
2428           changes
2429
2430 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
2431         * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest
2432         * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter
2433         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class
2434           and renamed class
2435         * device-src/xfer-dest-taper-directtcp.c 
2436           device-src/xfer-dest-taper.c: move null cach_inform to parent class
2437         * device-src/xfer-device.h: prototypes
2438         * device-src/Makefile.am: new file
2439         * installcheck/Amanda_Device.pl: LEOM tests
2440         * installcheck/Amanda_Xfer.pl: tests for new taper dest
2441         * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher)
2442
2443 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
2444         * device-src/property.c device-src/property.h device-src/device.c: add
2445           LEOM property
2446         * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml
2447           man/xml-source/amanda.conf.5.xml: document it
2448         * installcheck/Amanda_Device.pl: test it
2449         * device-src/dvdrw-device.c device-src/ndmp-device.c
2450           device-src/null-device.c device-src/rait-device.c
2451           device-src/s3-device.c device-src/tape-device.c: set LEOM property
2452           appropriately
2453         * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support
2454           property, and allow it to be changed for testing
2455         * server-src/taper.pl: small bugfix
2456
2457 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
2458         * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump
2459
2460 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
2461         * perl/amglue/constants.swg: new SWIG precompiler magic to allow
2462           flexible handling of lists of constants
2463         * perl/Amanda/Config.pod: add section header
2464         * perl/Amanda/Config.swg: include all config param constants in the
2465           POD
2466
2467 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
2468         * installcheck/Amanda_Device.pl: erase each S3 volume after the tests
2469           are finished with it
2470
2471 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
2472         * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors
2473
2474 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
2475         * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial
2476           of use of a second tape due to user configuration; dump_cb adds
2477           the config_denial_message parameter
2478         * server-src/taper.pl: use new parameter
2479         * installcheck/Amanda_Taper_Scribe.pl: updated tests
2480
2481 2010-07-06  Orion Poplawski <orion@cora.nwra.com>
2482         * server-src/amoverview.pl: fix parsing for newer amadmin find output
2483
2484 2010-07-06  Dustin J. Mitchell <dustin@zmanda.com>
2485         * device-src/s3.c: fix typo (that I added, not Nandan)
2486
2487 2010-07-06  Nandan Athawale <nandan.athawale@gmail.com>
2488         * device-src/s3.c: use Amazon's HTTP response headers to calculate a
2489           time offset for the local clock, to automatically work around time
2490           skew
2491
2492 2010-06-29  Dustin J. Mitchell <dustin@zmanda.com>
2493         * installcheck/Makefile.am installcheck/chunker.pl: new check
2494         * perl/Amanda/Header.swg: bug fix
2495         * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for
2496           testing
2497
2498 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
2499         * server-src/driverio.c: fix format specifies
2500
2501 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
2502         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
2503           add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR,
2504           and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print
2505           deprecation warnings once per process; deprecate TAPE_SPLITSIZE,
2506           FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER
2507         * example/amanda.conf.in example/template.d/amanda-S3.conf.in
2508           example/template.d/amanda-harddisk.conf.in
2509           example/template.d/dumptypes: remove old params
2510         * installcheck/Amanda_Config.pl
2511           installcheck/Amanda_Taper_Scribe.pl
2512           installcheck/Installcheck/Dumpcache.pm
2513           installcheck/taper.pl: update tests
2514         * man/xml-source/amanda-compatibility.7.xml: document deprecations
2515           and what to do about them
2516         * man/xml-source/amanda.conf.5.xml: document deprecations and new
2517           params
2518         * perl/Amanda/Device.pod: add doc about size=0 for
2519           write_from_connection, fix typo
2520         * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config
2521         * server-src/diskfile.c server-src/diskfile.h: add dumptype->config
2522         * server-src/amcheck.c: checks for the new params
2523         * server-src/driverio.c server-src/taper.pl: add all config params to
2524           the driver/taper protocol
2525
2526 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
2527         * device-src/xfer-dest-taper-directtcp.c: round part size to a
2528           multiple of the block size
2529         * installcheck/Amanda_Xfer.pl: test it
2530
2531 2010-06-24  Dustin J. Mitchell <dustin@zmanda.com>
2532         * application-src/ampgsql.pl: use conditionals to skip useless
2533           selfcheck checks
2534
2535 2010-06-23  Dustin J. Mitchell <dustin@zmanda.com>
2536         * application-src/ampgsql.pl: conditionalize some checks on property
2537           being set
2538
2539 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
2540         * server-src/amfetchdump.pl: fix parsing levels and -p
2541
2542 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
2543         * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens
2544          and Marco Poli
2545
2546 2010-06-22  Jean-Louis Martineau <martineau@zmanda.com>
2547         * device-src/tape-device.c: Handle write returning 0 for LEOM.
2548
2549 2010-06-21  Dustin J. Mitchell <dustin@zmanda.com>
2550         * perl/Makefile.am: list libamglue in _SOURCES variables, too,
2551           so that dependencies are correct and parallel makes do not
2552           fail
2553
2554 2010-06-18  Jean-Louis Martineau <martineau@zmanda.com>
2555         * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline.
2556
2557 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
2558         * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS
2559
2560 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
2561         * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs
2562           to match new changer API
2563
2564 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
2565         * common-src/bsd-security.c common-src/bsdtcp-security.c
2566           common-src/bsdudp-security.c common-src/local-security.c
2567           common-src/security-util.c common-src/ssh-security.c: zero out new
2568           structures, and protect logtime messages from NULL dereferences
2569
2570 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
2571         * installcheck/Makefile.am: use chmod a-x instead of chmod -x
2572
2573 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
2574         * installcheck/Makefile.am: remove comment from Makefile rule
2575
2576 2010-06-16  Jean-Louis Martineau <martineau@zmanda.com>
2577         * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE.
2578
2579 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
2580         * installcheck/Makefile.am: add chmod -x for more recent Test::Harness
2581           implementations that are confused by executable tests
2582
2583 2010-06-15  Jean-Louis Martineau <martineau@zmanda.com>
2584         * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner'
2585           line should result in FAILED dump (not MISSING dump).
2586         * installcheck/amreport.pl: Test it.
2587
2588 2010-06-14  Dustin J. Mitchell <dustin@zmanda.com>
2589         * config/automake/installperms.am: add new special cases
2590
2591         * application-src/Makefile.am client-src/Makefile.am
2592           oldrecover-src/Makefile.am recover-src/Makefile.am
2593           server-src/Makefile.am: only use installperms for setuid executables
2594
2595 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
2596         * perl/Amanda/Report.pm: POD overhaul
2597
2598 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
2599         * perl/amglue/directtcp.swg: fix unterminated array
2600
2601 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2602         * config/amanda/net.m4: remove use of AS_HELP_STRING
2603
2604 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2605         * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles
2606         * common-src/fileheader.c: don't put partnum=1 on tape headers, etc.
2607
2608 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2609         * common-src/fileheader.c: fix inaccurate partnum in such headers
2610         * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with
2611           DUMPFILE headers
2612
2613 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2614         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix
2615           NDMOS_OPTION_NO_NDMPvX precompiler conditionals
2616
2617 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2618         * installcheck/Amanda_Device.pl: test the connect method
2619
2620 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2621         * ndmp-src/ndma_comm_dispatch.c: uncomment and update code
2622           to support NDMP_MOVER_CONNECT via ndmta.
2623
2624 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2625         * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c
2626           device-src/device.h: add a device_connect method
2627         * device-src/ndmp-device.c: implement it
2628         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add
2629           ndmp_connection_mover_connect
2630         * perl/Amanda/Xfer.pod: update documentation using the word
2631           "initiator"
2632
2633 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
2634         * device-src/s3-device.c: add S3_STORAGE_CLASS property
2635         * device-src/s3.c device-src/s3.h: add storage_class
2636         * installcheck/Amanda_Device.pl: set the property
2637         * man/xml-source/amanda-devices.7.xml: document it
2638
2639 2010-06-10  Dustin J. Mitchell <dustin@zmanda.com>
2640         * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes
2641           problems with amidxtaped: "Specified file list matches multiple
2642           dumps"
2643
2644 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
2645         * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags.
2646         * server-src/amreport.pl: Add STRANGE or MISSING to email subject.
2647         * installcheck/Amanda_Report.pl: Test new flags.
2648
2649 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
2650         * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of
2651           timestamps, each value is an array of try.
2652         * perl/Amanda/Report/human.pm: Use 'dumps'.
2653         * perl/Amanda/Report/postscript.pm: Use 'dumps'.
2654         * perl/Amanda/Report/xml.pm: Use 'dumps'.
2655         * contrib/amreport.rnc: Add 'dumps'
2656         * server-src/amreport.pl: Use 'dumps'
2657         * installcheck/amreport.pl: Check 'dumps'
2658         * installcheck/Amanda_Report.pl: Check 'dumps'
2659
2660 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
2661         * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check
2662           the data_path.
2663         * server-src/driver.c: Check FAILED result after PORT command.
2664         * server-src/driverio.c: Send data_path in taper PORT-WRITE command.
2665         * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the
2666           scribe check_data_path method.
2667         * installcheck/taper.pl: Test it.
2668
2669 2010-06-09 Dan Locks <dwlocks@zmanda.com>
2670         *  packaging/rpm/amanda.spec: remove Provides from main section,
2671            remove amanda-client from server provides section.
2672
2673 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
2674         * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl,
2675           installcheck/Amanda_Recovery_Planner.pl,
2676           installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl,
2677           installcheck/taper.pl, perl/Amanda/Report.pm,
2678           perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm,
2679           server-src/find.c, server-src/taper.pl: taper log a "config|error"
2680           keyword in the "ERROR no-tape" line.
2681
2682 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
2683         * common-src/conffile.c: Allow negative etimeout.
2684
2685 2010-06-08  Dustin J. Mitchell <dustin@zmanda.com>
2686         * ndmp-src/ndmp4_enum_strs.c: add missing enum
2687
2688 2010-06-07  Dustin J. Mitchell <dustin@zmanda.com>
2689         * ndmp-src/ndml_agent.c: add INADDR_NONE
2690         * ndmp-src/ndmos_glib.h: remove solaris-specific conditional
2691
2692 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
2693         * perl/Amanda/Device.swg: fix uninitialized variable
2694
2695 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
2696         * common-src/amfeatures.h: New fe_amindexd_quote_label.
2697         * common-src/amfeatures.c: fe_amindexd_quote_label.
2698         * perl/Amanda/Feature.pod: fe_amindexd_quote_label.
2699         * server-src/amindexd.c: Quote label if fe_amindexd_quote_label.
2700         * recover-src/amrecover.c: Add debugging statement.
2701         * recover-src/display_commands.c: Parse quoted label.
2702         * recover-src/extract_list.c: Parse quoted label.
2703
2704 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
2705         * xfer-src/xfer-element.h common-src/Makefile.am
2706           common-src/queueing-test.c common-src/queueing.c
2707           common-src/queueing.h: remove queueing support
2708         * installcheck/Amanda_Device.pl device-src/Makefile.am
2709           device-src/device-queueing.c device-src/device-queueing.h
2710           device-src/device.c device-src/device.h device-src/property.h: remove
2711           queue_fd, device_write_from_fd and device_read_to_fd
2712         * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd,
2713           write_from_fd, and read_to_fd; add test utilities to move random data
2714           onto and off of devices
2715
2716 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
2717         * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod
2718           perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm
2719           server-src/amfetchdump.pl server-src/amidxtaped.pl
2720           server-src/amrestore.pl xfer-src/filter-process.c
2721           xfer-src/xfer-element.h: add a log_stderr argument to
2722           Amanda::Xfer::Filter::Process
2723         * server-src/amcheckdump.pl: use the transfer architecture
2724
2725 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
2726         * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded"
2727           by "label '$label' not found" for old changer scripts.
2728
2729 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
2730         * server-src/find.c: zero-pad timestamps out to 14 digits for
2731           comparison
2732         * perl/Amanda/Recovery/Clerk.pm: same
2733
2734 2010-06-03 Dan Locks <dwlocks@zmanda.com>
2735         *  packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead.
2736
2737 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
2738         * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect
2739           redhat systems that change the wildcard default for include; and
2740           consider 1.15.91 >= 1.16
2741
2742 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
2743         * server-src/planner.c: Fix printf format.
2744
2745 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
2746         * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql
2747           restore process
2748
2749 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
2750         * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file.
2751         * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely.
2752         * installcheck/amrmtape.pl: Fix.
2753
2754 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
2755         * server-src/amcleanupdisk.c: Use CLR and SET.
2756         * server-src/planner.c: Use CLR, SET and ISSET.
2757           Don't update csize if level < 0.
2758
2759 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
2760         * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't
2761           exists.
2762
2763 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
2764         * common-src/security-util.c: Print a debug message every 10 minutes if
2765           something is transmitted.
2766         * common-src/security-util.h (tcp_conn): Add logstamp.
2767
2768 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
2769         * server-src/dumper.c: Drop root privilege before executing compression
2770           or encryption program.
2771
2772 2010-06-02  Dustin J. Mitchell <dustin@zmanda.com>
2773         * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly
2774           high-ascii characters in -t test
2775
2776 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2777         * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23.
2778
2779 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2780         * server-src/find.c(print_find_result): Quote label.
2781
2782 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
2783         * config/set_full_version: Add comments.
2784
2785 2010-05-28  Dustin J. Mitchell <dustin@zmanda.com>
2786         * installcheck/gnutar.pl: tests for gnutar globbing behavior
2787         * installcheck/Makefile.am: run them
2788
2789 2010-05-28 Dan Locks <dwlocks@zmanda.com>
2790         *  packaging/Makefile.am: include common in EXTRA_DIST
2791
2792 2010-05-28 Dan Locks <dwlocks@zmanda.com>
2793
2794 2010-05-27  Jean-Louis Martineau <martineau@zmanda.com>
2795         * server-src/find.c: Don't report taper line with filenum=0.
2796
2797 2010-05-27  Dustin J. Mitchell <dustin@zmanda.com>
2798         * installcheck/taper.pl: test for a new write after EOM without
2799           splitting
2800         * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
2801           this condition and switching to a new volume appropriately
2802
2803 2010-05-26  Dustin J. Mitchell <dustin@zmanda.com>
2804         * config/amanda/libs.m4: Allow user to specify glib config explicitly
2805
2806 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
2807         * perl/Makefile.am: add libamxfer as a dependency of libamglue
2808
2809 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
2810         * installcheck/amtapetype.pl: use force for subsequent runs
2811
2812 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
2813         * device-src/amtapetype.pl: close and re-open devices between tests
2814         * device-src/xfer-dest-device.c: fix memory leak
2815         * man/xml-source/amtapetype.8.xml: fix -f docs
2816
2817 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
2818         * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
2819           with level if NDMP9_ILLEGAL_STATE_ERR.
2820
2821 2010-05-21  Dustin J. Mitchell <dustin@zmanda.com>
2822         * device-src/amtapetype.pl: get the block_size property earlier
2823         * device-src/device.c: allow property_get after a DEVICE_ERROR
2824
2825 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
2826         * server-src/driver.c: Always report "taperflush criteria not met".
2827
2828 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
2829         * installcheck/Amanda_Changer.pl: test more configs
2830         * man/xml-source/amanda.conf.5.xml: point users to
2831           amanda-changers(7)
2832         * perl/Amanda/Changer.pm: support either tpchanger or
2833           tapedev in changer defs
2834
2835 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
2836         * config/amanda/progs.m4: always use rpcgen
2837         * ndmp-src/Makefile.am: always build rpc outputs
2838         * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h
2839           ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c
2840           ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h
2841           ndmp-src/ndmp9_xdr.c: remove from version control (and dist)
2842
2843 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
2844         * common-src/fileheader.c: don't print to stderr anymore
2845
2846 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
2847         * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products
2848           first, since they are not solaris-compatible
2849
2850 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
2851         * application-src/amsamba.pl: filter "Server not using user level ..."
2852
2853 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
2854         * server-src/amtape.pl (inventory): print barcode from unknown state.
2855
2856 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
2857         * perl/Amanda/Application.swg (default_validate): Use sysread.
2858
2859 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
2860         * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
2861           required
2862
2863 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
2864         * perl/Amanda/Changer/rait.pm: add debug message when child slot
2865           counts differ
2866
2867 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
2868         * config/amanda/net.m4: correct help messages
2869
2870 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
2871         * man/xml-source/amanda.conf.5.xml: fix typo
2872
2873 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
2874         * server-src/amfetchdump.pl: use syswrite so the filehandle gets
2875           properly flushed
2876
2877 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
2878         * perl/Amanda/Changer/ndmp.pm: add verbose property
2879         * installcheck/Amanda_Changer_ndmp.pl: use it
2880
2881 2010-05-14  Dustin J. Mitchell <dustin@zmanda.com>
2882         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
2883           window_offset to mover_get_state
2884         * device-src/ndmp-device.c: insert corresponding NULLs
2885
2886 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
2887         * server-src/amcheckdump.pl: Check subprocess exit status and print
2888           their stderr.
2889
2890 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
2891         * common-src/amcryptsimple.pl: Exit on error if gpg fail.
2892
2893 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
2894         * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
2895
2896 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
2897         * application-src/amgtar.c: fix exclude-file.
2898
2899 2010-05-12  Dustin J. Mitchell <dustin@zmanda.com>
2900         * installcheck/Amanda_Device.pl: add regression test
2901         * device-src/tape-device.c: set self->fd to -1 when closing; add
2902           better error messages
2903
2904 2010-05-11 Dan Locks <dwlocks@zmanda.com>
2905         *  packaging/common/substitute.pl: added.  contains much machinery not
2906            yet used in packaging. 
2907         *  packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
2908            %%DATE%% macros which are expanded by substitute.pl.
2909         *  packaging/deb/changelog: renamed to above
2910         *  packaging/deb/rules: fix stray configure option
2911         *  packaging/deb/buildpkg: adjust to use substitute.pl instead of
2912            figuring VERSION out directly.
2913
2914 2010-05-10  Jean-Louis Martineau <martineau@zmanda.com>
2915         * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
2916
2917 2010-05-07  Jean-Louis Martineau <martineau@zmanda.com>
2918         * common-src/security-util.c: Use global buffer for 
2919           security_stream_read_sync.
2920         * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
2921           returnned by security_stream_read_sync.
2922
2923 2010-05-07  Dustin J. Mitchell <dustin@zmanda.com>
2924         * device-src/rait-device.c: fix assertion failure when a child device
2925           gives an error
2926         * perl/Amanda/Changer/rait.pm: add support for braced drive specs
2927         * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
2928           for an eject operation
2929         * man/xml-source/amanda-changers.7.xml: document rait changer drive
2930           specifications
2931
2932 2010-05-06  Jean-Louis Martineau <martineau@zmanda.com>
2933         * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
2934           for restore, escape the non glob include and exclude.
2935         * client-src/client_util.h: Add include_list_glob and exclude_list_glob
2936           to backup_support_option_t.
2937         * client-src/client_util.c: Parse new support option.
2938         * man/xml-source/amgtar.8.xml: Ducument new properties.
2939         * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
2940           asis to amrecover.
2941
2942 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
2943         * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
2944           have a valid status
2945
2946 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
2947         * device-src/s3-device.c: fix several fatal flaws in the
2948           read_block implementation
2949
2950 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
2951         * perl/Amanda/Report/human.pm: don't assume parts are defined
2952
2953 2010-05-04  Dustin J. Mitchell <dustin@zmanda.com>
2954         * man/xml-source/amanda-devices.7.xml: add more regions
2955         * man/xml-source/amcheckdump.8.xml: remove duplicate section
2956
2957 2010-05-04  Jean-Louis Martineau <martineau@zmanda.com>
2958         * common-src/security-util.c: Free packet on close.
2959
2960 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
2961         * common-src/glib-util.c: reorgnize glib_init to be compatible with
2962           glib-2.24+
2963
2964 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
2965         * server-src/amlabel.pl: change the text to be less ambiguous
2966
2967 2010-05-03  Jean-Louis Martineau <martineau@zmanda.com>
2968         * server-src/disk_history.c: Keep all parts.
2969
2970 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
2971         * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
2972
2973 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
2974         * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
2975           recovery
2976         * device-src/ndmp-device.c: add extra assertion
2977         * device-src/xfer-dest-device.c: remove debug print
2978         * device-src/xfer-device.h device-src/xfer-source-recovery.c
2979           installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
2980           perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
2981         * perl/Amanda/Recovery/Clerk.pm: call use_device
2982
2983 2010-04-30  Dustin J. Mitchell <dustin@zmanda.com>
2984         * installcheck/Amanda_Changer_robot.pl: fix installchecks
2985           to pass after previous change
2986
2987 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
2988         * perl/Amanda/Changer/robot.pm: Default state file is in
2989                                         $localstatedir/amanda
2990         * man/xml-source/amanda-changers.7.xml: Document new location.
2991
2992 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
2993         * device-src/directtcp-connection.c: Typo.
2994
2995 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
2996         * server-src/amreport.pl: Print "FAIL" in email subject header if run
2997                                   failed.
2998         * installcheck/amreport.pl: Test it.
2999
3000 2010-04-27  Paul C. Mantz <pcmantz@zmanda.com>
3001         * perl/Amanda/Report/human.pm: better per-tape stat labels
3002         * installcheck/amreport.pl: updated tests
3003
3004 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
3005         * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
3006
3007 2010-04-27  Dustin J. Mitchell <dustin@zmanda.com>
3008         * server-src/planner.c: change degraded-mode messages to make more
3009           sense to the user
3010
3011 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
3012         * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
3013           changer have no inventory.
3014
3015 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
3016         * server-src/amreport.pl: print org & config in xml output
3017
3018 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
3019         * perl/Amanda/Recovery/Scan.pm: Use default change if message is
3020                                         $DEFAULT_CHANGER
3021         * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
3022                                     AMRECOVER_CHANGER
3023
3024 2010-04-26  Dustin J. Mitchell <dustin@zmanda.com>
3025         * perl/Amanda/Taper/Scribe.pm: give total time from
3026           dump start to dump end as total_duration
3027         * server-src/taper.pl: use total_duration
3028
3029 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
3030         * server-src/planner.c: Do not promote if no full estimate.
3031
3032 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
3033         * installcheck/Amanda_Report.pl: changed part to partnum
3034
3035 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
3036         * server-src/amcheckdump.pl: Check all process status.
3037
3038 2010-04-23  Paul C. Mantz <pcmantz@zmanda.com>
3039         * server-src/amreport.pl perl/Amanda/Report.pm
3040           perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
3041           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
3042           location of tape parts in Amanda::Report
3043         * installcheck/Amanda_Report.pl: installchecks
3044
3045 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
3046         * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
3047         * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
3048         * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
3049
3050 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
3051         * ndmp-src/ndml_nmb.c: Don't log successful halt.
3052         * server-src/dumper.c: Don't log no-op command.
3053
3054 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3055         * man/xml-source/amanda-devices.7.xml: more detail for
3056           STREAMING property
3057
3058 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3059         * device-src/xfer-dest-taper-splitter.c: fix assertion failure
3060           reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
3061
3062 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3063         * installcheck/Amanda_Header.pl: add checks for all fields
3064
3065 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
3066         * common-src/util.c: add debugging check to interruptible_accept
3067         * server-src/taper.pl: don't use IO::Socket, as it is badly broken
3068           and not thread-safe on Solaris 8
3069         * xfer-src/element-glue.c: add debugging checks
3070
3071 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
3072         * server-src/amcleanup.pl: Fix running command with system.
3073
3074 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
3075         * example/Makefile.am: fix 'make clean' to not erase source files.
3076
3077 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
3078         * config/amanda/progs.m4: check for, and reject, Solaris's
3079           SGU lex, which is badly broken
3080         * configure.in: use AMANDA_PROG_LEX
3081
3082 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
3083         * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
3084           Jean-Francois Malouin
3085
3086 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
3087         * perl/Amanda/Report/xml.pm: use bytes as data unit
3088
3089 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
3090         * perl/Amanda/Report/xml.pm: tries need to show all programs
3091
3092 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
3093         * perl/Amanda/Changer/ndmp.pm: $conn = undef
3094
3095 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
3096         * common-src/match-test.c: lots of new tests
3097         * common-src/match.c: fix comments, minor bugs in tar_to_regex and
3098           match_level
3099         * common-src/match.h: comments to describe each function
3100         * man/xml-source/amanda.8.xml: update expression docs
3101
3102 2010-04-21  Dustin J. Mitchell <dustin@zmanda.com>
3103         * server-src/amlabel.pl: add warning when the old label is in the
3104           tapelist
3105
3106 2010-04-20  Dustin J. Mitchell <dustin@zmanda.com>
3107         * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE
3108         * device-src/rait-device.c: fix bugs
3109
3110 2010-04-19  Jean-Louis Martineau <martineau@zmanda.com>
3111         * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
3112           seen a second time.
3113
3114 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
3115         * perl/Amanda/Config.swg: move val_t output typemap to a function
3116
3117 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
3118         * server-src/amadmin.c: show all custom compression/encryption options
3119           in amadmin disklist
3120         * man/xml-source/amanda.conf.5.xml: document undocumented params
3121
3122 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3123         * server-src/amcleanup.pl: don't fail when run with no args
3124
3125 2010-04-15  Paul C. Mantz <pcmantz@gmail.com>
3126         * perl/Amanda/Curinfo/Info.pm: fixed header parsing
3127         * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
3128         * installcheck/Amanda_Curinfo.pl: installchecks
3129
3130 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3131         * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
3132
3133 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3134         * device-src/xfer-dest-device.c: don't use queueing anymore; this
3135           removes the max_memory constructor argument
3136         * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype
3137           change
3138         * perl/Amanda/Xfer.pod: docs
3139         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
3140           installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl
3141           installcheck/amrestore.pl server-src/amvault.pl: change constructor
3142           invocation
3143
3144 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
3145         * common-src/util.c common-src/util.h: new interruptible_accept that
3146           uses a prolong function to stop waiting
3147         * common-src/stream.c: use interruptible_accept in stream_accept
3148         * xfer-src/element-glue.c: use interruptible_accept to allow
3149           directtcp_accept to be cancelled
3150         * installcheck/Amanda_Xfer.pl: test xfer cancellation
3151
3152 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
3153             Satya Ganga <gsat@zmanda.com>
3154         * application-src/amsamba.pl: Fix use of include/exclude list.
3155
3156 2010-04-14  Dustin J. Mitchell <dustin@zmanda.com>
3157         * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm
3158           server-src/taper.pl: rename dump_timestamp -> write_timestamp
3159
3160 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
3161         * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
3162
3163 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3164         * common-src/conffile.c common-src/conffile.h: make file-pad and
3165           tapebufs parameters errors
3166         * perl/Amanda/Config.swg: remove parameters
3167         * server-src/taper.pl: don't check tapebufs
3168         * installcheck/Amanda_Config.pl: adjust testing
3169         * man/xml-source/amanda-compatibility.7.xml: add deprecation
3170           note about amrecover_do_fsf and amrecover_check_label
3171
3172 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3173         * device-src/xfer-dest-taper-splitter.c
3174           device-src/xfer-dest-taper-directtcp.c: make sure duration is positive
3175
3176 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3177         * common-src/conffile.c: fix derived value for autolabel
3178
3179 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3180         * man/xml-source/amanda-applications.7.xml: info about properties
3181         * man/xml-source/amanda-devices.7.xml: info about properties
3182         * man/xml-source/amanda-scripts.7.xml: info about properties
3183         * man/xml-source/amzfs-snapshot.8.xml: fix typo
3184
3185 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
3186         * NEWS: add info about deprecations in 2.6.1
3187         * man/xml-source/amanda-compatibility.7.xml: update manpage to
3188           reflect info in NEWS
3189
3190 2010-04-13  Paul C. Mantz <pcmantz@zmanda.com>
3191         * server-src/amreport.pl: load holding disk before making report
3192         * perl/Amanda/Report/human.pm: report holding disk correctly
3193         * installcheck/amreport.pl: installcheck
3194
3195 2010-04-13  Jean-Louis Martineau <martineau@zmanda.com>
3196         * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
3197           Always log NOTIFY_DATA_HALTED.
3198
3199 2010-04-12  Dustin J. Mitchell <dustin@zmanda.com>
3200         * common-src/conffile.c: deprecate amrecover_do_fsf and
3201           amrecover_check_label
3202         * example/amanda.conf.in example/template.d/advanced.conf.in: remove
3203         * man/xml-source/amanda.conf.5.xml: indicate deprecation
3204         * NEWS: mention deprecation
3205
3206 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
3207         * perl/Amanda/Report/human.pm: typo.
3208
3209 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
3210         * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
3211         * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
3212         * perl/Amanda/Report/human.pm: Print taper error message.
3213         * server-src/find.c: Set current_label to "".
3214
3215 2010-04-08  Paul C. Mantz <pcmantz@zmanda.com>
3216         * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
3217           which search the logdir instead of the tapelist
3218         * perl/Amanda/Logfile.pod: documentation
3219         * server-src/amreport.pl: use find_latest_log insted of find_log
3220
3221 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
3222         * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
3223           eliminate reference loops created by use of %subs
3224         * perl/Amanda/MainLoop.pod: document it
3225         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
3226           installcheck/Amanda_Changer_disk.pl
3227           installcheck/Amanda_Changer_multi.pl
3228           installcheck/Amanda_Changer_ndmp.pl
3229           installcheck/Amanda_Changer_rait.pl
3230           installcheck/Amanda_Changer_robot.pl
3231           installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
3232           installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
3233           installcheck/Amanda_Recovery_Scan.pl
3234           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
3235           installcheck/amfetchdump.pl installcheck/amidxtaped.pl
3236           installcheck/amlabel.pl perl/Amanda/Changer.pm
3237           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
3238           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
3239           perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
3240           perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
3241           server-src/amcheck-device.pl server-src/amfetchdump.pl
3242           server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
3243           server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
3244
3245 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3246         * config/automake/scripts.am: comment double quote 'use lib'.
3247
3248 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3249         * application-src/amsamba.pl: Use tarmode.
3250
3251 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3252         * recover-src/amrecover.c: Print to debug what is sent to amindexd.
3253         * recover-src/uparse.y: Parse setdate correctly.
3254
3255 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
3256         * ndmp-src/ndma_comm_dispatch.c:
3257           Comment "Second add_dir entry is non-conforming".
3258
3259 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
3260         * server-src/planner.c: fix two bugs that caused planner to generate a
3261           bogus schedule; remove a redundant assignment
3262
3263 2010-04-07 Dan Locks <dwlocks@zmanda.com>
3264         *  packaging/rpm/amanda.spec: specify mandir explicitly to work around
3265            old autoconf
3266
3267 2010-04-07  Paul C. Mantz <pcmantz@zmanda.com>
3268         * server-src/amreport.pl perl/Amanda/Report.pm
3269         perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
3270         perl/Amanda/Report/xml.pm installcheck/amreport.pl
3271         installcheck/Amanda_Report.pl: taped segments called parts, not chunks
3272
3273
3274 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
3275         * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
3276
3277 2010-04-07  Dustin J. Mitchell <dustin@zmanda.com>
3278         * config/amanda/userid.m4: CHECK_USERID conditional
3279         * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
3280         * installcheck/Makefile.am: use it
3281
3282 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
3283         * server-src/amcheck.c: Don't exit on match_disklist error.
3284         * server-src/diskfile.c (match_disklist): Generate better message for
3285           strategy "skip" or ignore dle.
3286
3287 2010-04-06  Jean-Louis Martineau <martineau@zmanda.com>
3288         * recover-src/extract_list.c: Set restore_dir to NULL.
3289
3290 2010-04-06  Paul C. Mantz <pcmantz@zmanda.com>
3291         * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
3292         * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
3293           NDMP4_LOG_* messages for testing
3294
3295 2010-04-05  Jean-Louis Martineau <martineau@zmanda.com>
3296         * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
3297           property.
3298
3299 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3300         * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
3301         * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
3302           loading slot 'current'
3303         * installcheck/Amanda_Taper_Scan_traditional.pl: test it
3304
3305 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3306         * server-src/amidxtaped.pl: send changer error with MESSAGE
3307         * installcheck/amidxtaped.pl: test for it
3308
3309 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3310         * config/amanda/version.m4: be resilient to all but the first
3311           digit of the version number missing
3312
3313 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3314         * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
3315           reference loop in %subs (interim solution -- this arrangement
3316           leaks everywhere)
3317
3318 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3319         * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
3320           every Interface operation, so that objects are not unreffed
3321           during Perl's global cleanup.
3322
3323 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3324         * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
3325         * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
3326           search failure; check for failure before printing "slot N"
3327           prefix
3328         * server-src/amcheck-device.pl: implement new user_msg_fn key
3329           to print expected volume on failure
3330
3331 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3332         * perl/Amanda/Device.pod: document that finish() can be called even
3333           if start() was not, to release resources
3334         * device-src/ndmp-device.c: implement
3335         * device-src/tape-device.c: implement
3336         * perl/Amanda/Changer.pm: always finish() a device in $res->release()
3337
3338 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3339         * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
3340         * installcheck/Makefile.am: add util
3341
3342 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3343         * server-src/infofile.c: use %lld in scanning instead of %jd,
3344           since Solaris 8 doesn't have %j support; also fix handling
3345           of parse errors
3346
3347 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3348         * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
3349           DEVICE_STATUS_DEVICE_BUSY
3350
3351 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
3352         * perl/Amanda/Changer.pm: check $err->failed before returning reason
3353
3354 2010-04-02  Paul C. Mantz <pcmantz@zmanda.com>
3355         * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
3356         * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
3357         * installcheck/amreport.pl: installchecks
3358
3359 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
3360         * perl/Amanda/Util.pod: correct inaccurate claims in burp
3361
3362 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
3363         * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
3364           sizeof(gint)
3365
3366 2010-04-02  Jean-Louis Martineau <martineau@zmanda.com>
3367         * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
3368
3369 2010-04-01  Paul C. Mantz <pcmantz@gmail.com>
3370         * server-src/amreport.pl: accepts and ignores disk args in script mode
3371         * installcheck/amreport.pl: checks
3372
3373 2010-04-01  Jean-Louis Martineau <martineau@zmanda.com>
3374         * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
3375         * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
3376         * installcheck/amrecover.pl: Check 'localhost' hostname,
3377                                      remove '^' from expect regex
3378         * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
3379
3380 2010-04-01  Dustin J. Mitchell <dustin@zmanda.com>
3381         * application-src/ampgsql.pl: check permissions on archive dir, and
3382           fail selfcheck if they are not sufficient.  Also implement the
3383           wal-max-wait=0 that's already documented
3384         * man/xml-source/ampgsql.8.xml: document required permissions
3385
3386 2010-03-31  Dustin J. Mitchell <dustin@zmanda.com>
3387         * installcheck/amrecover.pl: fix diag()
3388
3389 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3390         * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
3391         * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
3392
3393 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3394         * config/set_full_version: fix.
3395         * config/amanda/config.m4: fix.
3396
3397 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3398         * config/amanda/config.m4: Use -a.
3399
3400 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3401         * config/set_full_version: Use -a.
3402
3403 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3404         * config/set_full_version: Use grep.
3405
3406 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3407         * config/Makefile.am: Add set_full_version to EXTRA_DIST.
3408         * config/set_full_version: Add the file.
3409
3410 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
3411         * config/set_full_version: New script to update FULL_VERSION from
3412                                    VERSION, svn and git
3413         * autogen: Execute config/set_full_version
3414         * Makefile.am: Add dependencies to execute set_full_version if VERSION
3415           change, and to re-run configure if FULL_VERSION change.
3416         * config/amanda/version.m4: Use FULL_VERSION.
3417         * packaging/deb/buildpkg: Use FULL_VERSION.
3418         * packaging/rpm/amanda.spec: Use FULL_VERSION.
3419         * packaging/rpm/buildpkg: Use FULL_VERSION.
3420
3421 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
3422         * installcheck/Installcheck/Run.pm: be selective in import from POSIX
3423         * server-src/amvault.pl: fix duplicate variable
3424
3425 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
3426         * Makefile.am: add VERSION to EXTRA_DIST
3427         * config/amanda/version.m4: use $srcdir/VERSION
3428
3429 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
3430         * VERSION: 3.2.0alpha.
3431         * configure.in: Call AMANDA_VERSION.
3432         * config/amanda/version.m4: Add AMANDA_VERSION.
3433         * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
3434
3435 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
3436         * server-src/driver.c: Retry direct to tape all aborted dump because
3437                                of missing holdingdisk space.
3438
3439 2010-03-29  Paul C. Mantz <pcmantz@zmanda.com>
3440         * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
3441
3442 2010-03-28  Dustin J. Mitchell <dustin@zmanda.com>
3443         * server-src/amvault.pl: update with Changer and Catalog API changes
3444
3445 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
3446         * installcheck/Makefile.am: don't run amrecover test under
3447           --without-restore
3448
3449 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
3450         * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
3451           errors, e.g., "file changed as we read it"
3452
3453 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
3454         * installcheck/amrecover.pl: fix stupid error in installcheck
3455
3456 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
3457         * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
3458           to force WAL file archives on ancient postgres versions
3459         * installcheck/ampgsql.pl: don't skip tests on ancient versions
3460
3461 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
3462         * common-src/Makefile.am common-src/match-test.c: test (some) match
3463           functions
3464         * common-src/match.c: add make_exact_disk_expression and
3465           make_exact_host_expression
3466         * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
3467         * installcheck/Makefile.am installcheck/amrecover.pl: new integration
3468           tests
3469         * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
3470           make_exact_.. functions
3471         * common-src/amanda.h common-src/match.h application-src/amgtar.c
3472           application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
3473           client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
3474           common-src/local-security.c common-src/util.c
3475           oldrecover-src/set_commands.c recover-src/set_commands.c
3476           server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
3477           server-src/find.c server-src/tapefile.c: move match.c prototypes from
3478           amanda.h to match.h
3479
3480 2010-03-25  Jean-Louis Martineau <martineau@zmanda.com>
3481         * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
3482                                 or amflush is running.
3483
3484 2010-03-25  Paul C. Mantz <pcmantz@zmanda.com>
3485         * server-src/amreport.pl: amreport exits w/o error if mailer fails
3486         * installchecks/amreport.pl: installcheck
3487
3488 2010-03-25  Dustin J. Mitchell <dustin@zmanda.com>
3489         * perl/Amanda/Changer/compat.pm: err on the side of caution when
3490           emulating except_slots in chg-compat, preventing an infinite
3491           loop
3492
3493 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
3494         * application-src/amsamba.pl: check open failure correctly,
3495                                       improve debugging message.
3496
3497 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
3498         * NEWS, ReleaseNotes: Change for 3.1.0
3499
3500 2010-03-23  Dustin J. Mitchell <dustin@zmanda.com>
3501         * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
3502           files to be archived during full backup, don't backup postmaster.pid
3503           or pg_xlog
3504         * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
3505           describing the operation
3506         * installcheck/ampgsql.pl: test restores more carefully, including
3507           an empty incremental
3508
3509 2010-03-22  Dustin J. Mitchell <dustin@zmanda.com>
3510         * common-src/amfeatures.c common-src/amfeatures.h
3511           perl/Amanda/Feature.pod: add a new feature to indicate that
3512           amrecover quotes disks right: fe_amrecover_correct_disk_quoting
3513         * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
3514           clean_regex
3515         * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
3516           recover-src/extract_list.c recover-src/set_commands.c
3517           server-src/diskfile.c: use it
3518         * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
3519         * installcheck/amidxtaped.pl: test that
3520
3521 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
3522         * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
3523
3524 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
3525         * recover-src/amrecover.c: Do add_config_override before loading the
3526                                    config.
3527
3528 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
3529         * server-src/driver.c: Continue flush on new tape if holdingdisk is
3530                                full.
3531
3532 2010-03-18  Paul C. Mantz <pcmantz@zmanda.com>
3533         * perl/Amanda/Report.pm: updated POD
3534
3535 2010-03-18  Dustin J. Mitchell <dustin@zmanda.com>
3536         * application-src/ampgsql.pl: add a die_cb in command_validate and
3537           command_selfcheck
3538
3539 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
3540         * server-src/amreport.pl: added new command line options
3541         * server-src/amdump.sh: updated usage of amreport
3542         * installchecks/amreport.pl: installchecks
3543         * man/xml-source/amreport.8.xml: usage doc update
3544         * NEWS: added info about rewrite
3545
3546 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
3547         * perl/Amanda/Report/human.pm: fixed premature disk truncation in
3548          dump summary
3549
3550 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
3551         * perl/Amanda/Tests.swg: add a simple threaded function
3552         * perl/Makefile.am: and invoke it from 'make check'
3553
3554 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
3555         * man/xml-source/amcryptsimple.8.xml: Fix formatting
3556
3557 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
3558         * man/xml-source/ampgsql.8.xml: Fix formatting.
3559
3560 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
3561         * common-src/debug.c: Set open_time in debug_setup_1.
3562
3563 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
3564         * man/xml-source/amsamba.8.xml: document include/exclude expressions
3565
3566 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
3567         * UPGRADING: add note about accidentally linking new versions against old
3568
3569 2010-03-15  Paul C. Mantz <pcmantz@zmanda.com>
3570         * perl/Amanda/Util.pod: added POD for slurp and burp
3571
3572 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
3573         * installcheck/amreport.pl: add tests for exit status for planner
3574           failure
3575
3576 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
3577         * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
3578           caller's responsibility
3579         * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
3580         * server-src/taper.pl: handle input errors directly
3581
3582 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
3583         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
3584           device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
3585           function
3586         * installcheck/Amanda_Device.pl: add lots of tape-positioning
3587           installcehcks
3588         * device-src/tape-device.c: fix positioning (adjust for funny bsf
3589           behavior only in tape_device_seek_file)
3590
3591 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
3592         * common-src/conffile.c: rename the default tapetype, since EXABYTE
3593           sounds like it might actually be useful, but it's only 2M
3594         * man/xml-source/amanda.conf.5.xml: remove default
3595         * server-src/amcheck.c: only check whether fallback_splitsize < tape
3596           length if splitting is enabled; check for a missing tapetype param
3597
3598 2010-03-14 Dan Locks <dwlocks@zmanda.com>
3599         *  configure.in: update to rc06.  NOTEST
3600
3601 2010-03-11 Dan Locks <dwlocks@zmanda.com>
3602         *  configure.in: update to rc05. 
3603
3604 2010-03-11  Paul C. Mantz <pcmantz@zmanda.com>
3605         * perl/Amanda/Report.pm: fixed order that messages are reported
3606
3607 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
3608         * perl/Amanda/Changer/null.pm: note that constructor will not fail
3609         * server-src/amidxtaped.pl: use chg-null if the changer constructor
3610           fails
3611
3612 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
3613         * perl/Amanda/Report.pm: count DLEs on the first tape
3614         * perl/Amanda/Report/postscript.pm: display total part count
3615         * installcheck/amreport.pl: changed output
3616
3617 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
3618         * config/amanda/progs.m4: add a define if LPR is found
3619         * server-src/amcheck.c: check it
3620
3621 2010-03-09  Paul C. Mantz <pcmantz@zmanda.com>
3622         * perl/Amanda/Report.pm: fixed caching of hostnames and dles
3623
3624 2010-03-09  Dustin J. Mitchell <dustin@zmanda.com>
3625         * man/xml-source/amanda-applications.7.xml: add brief example of
3626           setting properties for an application
3627
3628 2010-03-09  Paul C. Mantz
3629         * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
3630
3631 2010-03-08 Dan Locks <dwlocks@zmanda.com>
3632         *  packaging/deb/rules: add chmod lines for etc/amanda
3633         *  packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
3634            section, specify directories in 750 section to also be 750.
3635
3636 2010-03-08  Paul C. Mantz <pcmantz@zmanda.com>
3637         * perl/Amanda/Report.pm: record DLEs in seen order in the cache
3638         * installcheck/Amanda_Report.pm: installcheck fixes
3639
3640 2010-03-08 Dan Locks <dwlocks@zmanda.com>
3641         *  packaging/rpm/amanda.spec, packaging/deb/changelog: change version
3642            number to %%VERSION%%
3643         *  packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
3644            version from configure.in, substitute version in appropriate files
3645         *  packaging/README: correct list of packages, add note on debian
3646            package creation.
3647
3648 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3649         * installcheck/Installcheck/ClientService.pm: process error from fork
3650           correctly
3651
3652 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3653         * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
3654           cached dumps - it causes more problems than it solves
3655
3656 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3657         * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
3658           instead of %lf
3659
3660 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3661         * server-src/amfetchdump.pl: fix usage message
3662         * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
3663            default for mailto, as it is ignored
3664         * installcheck/Amanda_Report.pl installcheck/amreport.pl
3665           perl/Amanda/Report.pm perl/Amanda/Report/human.pm
3666           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
3667           server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
3668           add --help and --version, remove unused functions
3669         * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
3670
3671 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3672         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
3673           postscript output by filenum, not hostname/diskname
3674
3675 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3676         * installcheck/amreport.pl perl/Amanda/Report/human.pm
3677           perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
3678           dumpfile when calculating tape used
3679
3680 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3681         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
3682           print the on-medi size of a dumpfile, not its total size
3683
3684 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
3685         * installcheck/amreport.pl perl/Amanda/Report/human.pm
3686           perl/Amanda/Report/postscript.pm: remove rounding when orig and
3687           outsize are within 32k
3688
3689 2010-03-06  Dustin J. Mitchell <dustin@zmanda.com>
3690         * server-src/amreport.pl: don't use undef for stdout, stderr when
3691           invoking mail or lpr - some don't like to have their std streams
3692           closed
3693
3694 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
3695         * server-src/amreport.pl: fix use of relative path for -l argument.
3696
3697 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
3698         * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
3699         * installcheck/amreport.pl: check it.
3700
3701 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
3702         * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
3703           include conffile.h, not config.h.
3704
3705 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
3706         * config/amanda/version.m4: Allow 2 digits version.
3707
3708 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
3709         * packaging/deb/changelog, packaging/deb/rules,
3710           packaging/deb/buildpkg, packaging/rpm/buildpkg,
3711           packaging/rpm/amanda.spec,
3712           configure.in: Change version to 3.2alpha.
3713
3714 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>
3715         * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
3716           variables, and don't define them
3717         * perl/Amanda/Constants.pm.in: add LPR-related constants
3718         * installcheck/amreport.pl: lots of new tests, all hand-verified to
3719           pass for the C amreport as well, sometimes with minor differences
3720         * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
3721         * installcheck/mock/mail.pl: mock 'mail' for installchecks
3722         * installcheck/Makefile.am: new mocks
3723         * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
3724           support for amreport
3725         * server-src/Makefile.am server-src/amreport.pl
3726           server-src/amreport_new.pl server-src/reporter.c:
3727           make the perl amreport "live"
3728
3729 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>,
3730             Jean-Louis Martineau <martineau@zmanda.com>,
3731             Paul C. mantz <pcmantz@zmanda.com>
3732         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
3733           server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
3734           overhaul to perl reporting framework (collaborative effort of three
3735           developers)
3736
3737 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3738         * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
3739         * server-src/amreport_new.pl: Remove leading 0 on day date.
3740
3741 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3742         * perl/Amanda/Report.pm: Set $self->{hostname}.
3743         * perl/Amanda/Report/human.pm: Use $report->{hostname}.
3744
3745 2010-03-03  Paul C. mantz <pcmantz@zmanda.com>
3746         * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
3747
3748 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
3749         * perl/Amanda/Report.pm; added three-arg form of get_program_info()
3750         * perl/Amanda/Report/human.pm: usage of three-arg form
3751         * installcheck/Amanda_Report.pl: tests
3752
3753 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3754         * perl/Amanda/Report/human.pm: Remove coma.
3755
3756 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3757         * common-src/conffile.c: Correctly set autolabel from command line
3758                                  '-olabel_new_tapes=' options.
3759
3760 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3761         * server-src/amidxtaped.pl: Exit if receive ABORT message.
3762         * recover-src/extract_list.c: Send abort message on user request.
3763         * common-src/amfeatures.c: Add fe_amidxtaped_abort.
3764         * common-src/amfeatures.h: Add fe_amidxtaped_abort.
3765         * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
3766
3767 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3768         * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
3769
3770 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3771         * server-src/amflush.c: Delay creation of log file.
3772
3773 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
3774         * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
3775
3776 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
3777         * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
3778           tapelist loading
3779
3780 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
3781         * perl/Amanda/Report.pm: added tape_labels field for preserving tape
3782           order
3783         * perl/Amanda/Report/human.pm: use of tape_labels
3784         * installcheck/Amanda_report.pl: installcheck, cleanup
3785
3786 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
3787         * server-src/reporter.c: Set and check repdata.
3788
3789 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3790         * server-src/amcheck.c: adjust split-size warnings for more
3791           detail with less overall verbosity
3792
3793 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
3794         * server-src/reporter.c: Print FLUSH for failed flush.
3795
3796 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3797         * common-src/fileheader.c: fix typos
3798         * server-src/amfetchdump.pl: add support for decryption
3799         * server-src/amidxtaped.pl: same
3800         * server-src/amrestore.pl: same
3801
3802 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3803         * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
3804           perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
3805           perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
3806           perl/Amanda/Util.pod: fix bad POD formatting
3807         * perl/make_html.pl: fix perl warnings
3808
3809 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3810         * man/xml-source/amanda.conf.5.xml: add more detail about
3811           include/exclude
3812         * man/xml-source/amgtar.8.xml: and specific documentation of the
3813           patterns for amgtar
3814
3815 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3816         * perl/Amanda/Feature.pod: document known features
3817
3818 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3819         * perl/Amanda/Xfer.pod: no need to remove sources
3820         * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
3821
3822 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3823         * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
3824         * man/xml-source/amanda-changers.7.xml: no longer "in transition"
3825         * server-src/Makefile.am server-src/changer.c server-src/changer.h:
3826           remove changer.[ch]
3827         * server-src/amcheck.c: remove unused include
3828
3829 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
3830         * common-src/conffile.c: remove debug message
3831
3832 2010-03-01 Dan Locks <dwlocks@zmanda.com>
3833         *  packaging/rpm/amanda.spec: remove Provides: librestore
3834
3835 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
3836         * application-src/amgtar.c, application-src/amstar.c:
3837           new COMMAND-OPTIONS property.
3838         * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
3839           document new COMMAND-OPTIONS property.
3840
3841 2010-02-28  Jean-Louis Martineau <martineau@zmanda.com>
3842         * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
3843                             common-src/amfeatures.h is modified.
3844
3845 2010-02-27  Jean-Louis Martineau <martineau@zmanda.com>
3846         * ndmp-src/amndmjob_main.c: #include "config.h"
3847         * ndmp-src/ndma_cops_backreco.c: #include "util.h"
3848         * ndmp-src/ndmjob_main.c: #include "config.h"
3849
3850 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
3851         * installcheck/amidxtaped.pl: Fix for datapath eq "none".
3852
3853 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
3854         * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
3855         * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
3856         * perl/Amanda/Process.pm (set_master_process): New function.
3857         * server-src/amcleanup.pl: Use set_master_process.
3858
3859 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
3860         * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
3861                                       DATAPATH-OK.
3862         * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
3863                                     DATAPATH-OK.
3864         * installcheck/amidxtaped.pl: Test them.
3865
3866 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
3867         * installcheck/Installcheck/ClientService.pm: fix to wait for streams
3868           to empty and hit EOF after exit
3869         * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
3870           comment, and use -1 to signal no data EOF received
3871
3872 2010-02-26  Paul C. Mantz <pcmantz@zmanda.com>
3873         * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
3874           summary
3875
3876 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
3877         * installcheck/Amanda_Changer_robot.pl: log test output too
3878         * installcheck/Installcheck.pm: typo
3879         * perl/Amanda/Changer.pm: note about member variables
3880         * perl/Amanda/Changer/robot.pm: make debug callable during constructor
3881
3882 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
3883         * server-src/find.c: Compute dump_status and message.
3884         * server-src/find.c (print_find_result): Output dump_status and message.
3885         * server-src/find.c (search_logfile): Check if label is in tapelist.
3886         * server-src/find.h: Add dump_status and message to find_result_t.
3887         * perl/Amanda/Logfile.swg: Swig it.
3888         * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
3889         * installcheck/Amanda_DB_Catalog.pl: Test it.
3890         * installcheck/Amanda_Logfile.pl: Test it.
3891         * server-src/amcheckdump.pl: Use new search_logfile behaviour.
3892         * server-src/amindexd.c: Use dump_status.
3893         * server-src/amoverview.pl: Use new 'amadmin find' output.
3894         * server-src/disk_history.c: Remove code no longer needed.
3895         * server-src/tapefile.c (lookup_tapelabel): const the label argument.
3896         * server-src/tapefile.h (lookup_tapelabel): const the label argument.
3897
3898 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
3899         * common-src/conffile.c (set_config_overrides): new config override api.
3900         * common-src/conffile.h (set_config_overrides): New prototype.
3901         * perl/Amanda/Config.swg (set_config_overrides): Swigged.
3902         * changer-src/chg-glue.pl, common-src/amgetconf.pl,
3903         * common-src/file.c, device-src/amdevcheck.pl,
3904         * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
3905         * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
3906         * installcheck/amgetconf.pl, recover-src/amrecover.c,
3907         * server-src/amadmin.c, server-src/amcheck-device.pl,
3908         * server-src/amcheck.c, server-src/amcheckdump.pl,
3909         * server-src/amcleanup.pl, server-src/amfetchdump.pl,
3910         * server-src/amflush.c, server-src/amlabel.pl,
3911         * server-src/amlogroll.c, server-src/amreport_new.pl,
3912         * server-src/amrestore.pl, server-src/amrmtape.pl,
3913         * server-src/amservice.c, server-src/amtape.pl,
3914         * server-src/amtrmidx.c, server-src/amtrmlog.c,
3915         * server-src/amvault.pl, server-src/chunker.c,
3916         * server-src/driver.c, server-src/dumper.c,
3917         * server-src/planner.c, server-src/reporter.c,
3918         * server-src/taper.pl: Use new config override api.
3919
3920 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
3921         * server-src/amcheck.c: add warning if the config might generate >1000
3922           parts on a volume
3923
3924 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
3925         * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
3926           and use an appropriate prefix for debug messages
3927
3928 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
3929         * Makefile.am: remove restore-src from lint rule
3930         * configure.in: remove restore-src/Makefile
3931         * restore-src/: remove
3932         * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
3933
3934 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
3935         * Makefile.am: stop building restore-src
3936         * common-src/amfeatures.c: remove no-longer-supported
3937           fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
3938         * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
3939         * installcheck/Amanda_Util.pl: tests
3940         * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
3941
3942 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
3943         * installcheck/Installcheck/Dumpcache.pm: include more compressible
3944           data and clean up afterward
3945         * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
3946           better, and fix handling of failures to not loop forever
3947         * installcheck/amidxtaped.pl: test that compressed dumps come back at
3948           their orig_size; check for a holding device without a trailing ":0";
3949           send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
3950           and even missing FSF=; check failure on unrecognized command lines
3951
3952 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3953         * installcheck/amidxtaped.pl: installcheck improvements:
3954           create a "real" holding file; send a DATESTAMP= command
3955
3956 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3957         * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
3958         * installcheck/Amanda_Recovery_Planner.pl: test
3959
3960 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3961         * perl/Amanda/Xfer.swg: fix != override
3962         * installcheck/Amanda_Xfer.pl: test
3963         * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
3964         * perl/Amanda/MainLoop.pod: POD tweaks
3965         * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
3966           server-src/amfetchdump.pl: add directtcp_supported arg to
3967           xfer_src_cb; finish device when quitting clerk
3968         * perl/Amanda/Recovery/Scan.pm: add error handling
3969         * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
3970         * recover-src/extract_list.c: fix header debugging
3971
3972 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3973         * common-src/amanda.h installcheck/Installcheck/ClientService.pm
3974           perl/Amanda/Constants.pm.in: move stream constants to
3975           Amanda::Constants
3976         * perl/Makefile.am perl/Amanda/ClientService.pm: new package
3977         * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
3978
3979 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3980         * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
3981           tapespec marhsalling support
3982         * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
3983
3984 2010-02-23  Paul C. Mantz <pcmantz@zmanda.com>
3985         * perl/Amanda/Report/human.pm: fixed hostname truncation
3986
3987 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
3988         * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
3989           make fake holding files; don't try to load a dumpcache unless both
3990           server and client components are present
3991         * installcheck/Amanda_Xfer.pl: count tests right in skip
3992
3993 2010-02-19  Paul C. Mantz <pcmantz@zmanda.com>
3994         * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
3995           the end of a string in per-dump summary
3996
3997 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
3998         * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
3999           boolean
4000         * xfer-src/xfer.c: if any setup operation fails, skip the starts and
4001           return
4002         * device-src/xfer-dest-taper-directtcp.c
4003           device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
4004           xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
4005           xfer-src/xfer-test.c: change setup() methods to return a boolean
4006         * device-src/ndmp-device.c: clean up listen_addrs if not null
4007
4008 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
4009         * common-src/file.c (mkpdir): Fix.
4010
4011 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
4012         * common-src/file.c (mkpdir): Don't use access.
4013
4014 2010-02-18  Paul C. Mantz <pcmantz@zmanda.com>
4015         * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
4016
4017 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
4018         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
4019           with attendant API changes (constructor takes a device; sends
4020           XMSG_READY)
4021         * device-src/xfer-device.h: prototype changes
4022         * xfer-src/element-glue.c: remove debug message
4023         * perl/Amanda/Xfer.pod: docs
4024         * perl/Amanda/XferServer.swg: SWIG new parameters
4025         * perl/Amanda/Recovery/Clerk.pm: use new API
4026         * installcheck/Amanda_Xfer.pl: test
4027         * installcheck/Amanda_Recovery_Clerk.pl: test some more
4028         * installcheck/Installcheck/Dumpcache.pm: add code to determine
4029           the timestamps for a cached dump after loading it
4030
4031 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
4032         * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
4033           add a get_xfer_mechs method to xfer elements so that elements can
4034           dynamically specify their mech pairs
4035
4036 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
4037         * device-src/ndmp-device.c: check for fatal errors in directtcp
4038           methods
4039         * device-src/xfer-dest-taper-directtcp.c: track device_listen
4040           failures better
4041         * installcheck/Amanda_Xfer.pl: test setup cancellation
4042         * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
4043         * xfer-src/element-glue.c: always send XMSG_DONE, even on error
4044
4045 2010-02-17  Dustin J. Mitchell <dustin@zmanda.com>
4046         * device-src/ndmp-device.c: sanity-check file number
4047         * device-src/xfer-dest-taper-directtcp.c: same
4048         * device-src/xfer-dest-taper-splitter.c: same
4049
4050 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
4051         * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
4052
4053 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
4054         * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
4055           fields
4056
4057 2010-02-17  Jean-Louis Martineau <martineau@zmanda.com>
4058         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
4059           add config_init(0, NULL);
4060         * recover-src/extract_list.c: Typo.
4061
4062 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4063         * server-src/amadmin.c: Set a config for version subcommand.
4064
4065 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4066         * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
4067         * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
4068         * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
4069         * common-src/fileheader.h (dumpfile_t): Add orig_size.
4070         * common-src/timestamp.c (get_time_from_timestamp): New function to
4071           convert a char timestamp to time_t.
4072         * common-src/timestamp.h (get_time_from_timestamp): Prototype.
4073         * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
4074         * server-src/driver.c: Protoocl change to send orig_kb to taper.
4075         * server-src/driverio.c: Protoocl change to send orig_kb to taper.
4076         * server-src/find.c: Get orig_kb from log files.
4077         * server-src/find.h (find_result_t): add orig_kb.
4078         * server-src/holding.c (holding_set_origsize): New function to seti
4079           'ORIGSIZE' in an holding file.
4080         * server-src/holding.h (holding_set_origsize): Prototype.
4081         * server-src/infofile.c: '(char *)0' to NULL.
4082         * server-src/taper.pl: Parse orig-kb in protocol, log it.
4083         * perl/Amanda/DB/Catalog.pm: Set orig_kb.
4084         * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
4085         * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
4086         * installcheck/taper.pl: Fix for orig-kb in protocol.
4087
4088 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4089         * recover-src/extract_list.c: Fix crash for non application restore.
4090
4091 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
4092         * server-src/amcheckdump.pl: Less verbose, add --verbose option.
4093         * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
4094
4095 2010-02-15  Jean-Louis Martineau <martineau@zmanda.com>
4096         * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
4097
4098 2010-02-12  Jean-Louis Martineau <martineau@zmanda.com>
4099         * application-src/ampgsql.pl: Put stderr of tar in the debug file.
4100
4101 2010-02-12  Paul C. Mantz <pcmantz@zmanda.com>
4102         * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
4103           L_INFO lines
4104         * perl/Amanda/Report/human.pm: widen text field for tape usage
4105         * installcheck/Amanda_Report.pl: installchecks
4106
4107 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4108         * common-src/conffile.c: Assert if a config is not set.
4109         * common-src/amgetconf.pl, client-src/calcsize.c,
4110           client-src/client_util.c, client-src/killpgrp.c,
4111           client-src/rundump.c, client-src/runtar.c,
4112           installcheck/Amanda_Debug.pl: Set a default config.
4113
4114 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4115         * common-src/conffile.c: New debug_days option.
4116         * common-src/conffile.h: New debug_days option.
4117         * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
4118         * man/xml-source/amanda.conf.5.xml: Document debug_days option.
4119         * common-src/debug.c: Don't do unlink in debug_open.
4120         * common-src/Makefile.am: Fix for test program.
4121         * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
4122                                    Call Amanda::Util::finish_application.
4123         * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
4124         * perl/Amanda/Util.pod: Document.
4125         * common-src/file.c, client-src/getfsent.c,
4126           server-src/infofile.c: Call dbclose();
4127         * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
4128           device-src/amtapetype.pl, server-src/amcheckdump.pl,
4129           server-src/amcleanup.pl, server-src/amfetchdump.pl,
4130           server-src/amrestore.pl, server-src/amrmtape.pl,
4131           server-src/amvault.pl,
4132           server-src/taper.pl: Call Amanda::Util::finish_application.
4133
4134 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4135         * perl/Amanda/Taper/Scan/traditional.pm,
4136           perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
4137         * perl/Amanda/Recovery/Scan.pm: Fix doc.
4138         * server-src/amcheck-device.pl: New user_msg_fn.
4139         * server-src/amlabel.pl: New user_msg_fn.
4140         * server-src/amtape.pl: New user_msg_fn.
4141         * installcheck/amlabel.pl: Fix installcheck.
4142
4143 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
4144         * xfer-src/xfer.c xfer-src/xfer-element.h: add
4145           XFER_MECH_DIRECTTCP_CONNECT
4146         * xfer-src/source-directtcp-connect.c: element that uses it
4147         * xfer-src/dest-directtcp-listen.c: element that uses it
4148         * xfer-src/element-glue.c: glue for it
4149         * xfer-src/xfer-test.c: test it
4150         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
4151         * installcheck/Amanda_Xfer.pl: test it some more
4152         * xfer-src/Makefile.am: new files
4153         * xfer-src/dest-directtcp-connect.c: check addrs is not empty
4154         * perl/amglue/directtcp.swg: handle empty address lists better
4155
4156 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
4157         * installcheck/Makefile.am: don't run amidxtaped on
4158           --without-restore
4159         * installcheck/Installcheck/ClientService.pm
4160           installcheck/amidxtaped.pl: kill amidxtaped on timeout
4161         * restore-src/amidxtaped.c: don't call safe_fd after the
4162           app has already started - it closes fd's in use by
4163           system libraries for e.g., LDAP access
4164
4165 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
4166         * perl/Amanda/Application.swg: Add read_magic_block and
4167                                        write_magic_block.
4168         * perl/Amanda/Application.pod: Document them.
4169
4170 2010-02-10  Paul C. Mantz <pcmantz@gmail.com>
4171         * perl/Amanda/Report/human.pm: fixed columnspec code
4172
4173 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
4174         * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
4175         * server-src/amtape.pl: New user_msg_fn.
4176
4177 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
4178         * perl/Amanda/Changer.pm: Document undef state.
4179         * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
4180         * perl/Amanda/Changer/single.pm: Set state to undef.
4181         * perl/Amanda/Recovery/Scan.pm: Handle undef state.
4182
4183 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
4184         * server-src/taper.pl: Log no-tape error if no available tape.
4185
4186 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
4187         * installcheck/amidxtaped.pl: skip DirectTCP tests if
4188           --without-ndmp
4189
4190 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
4191         * restore-src/restore.c: fix double-free error
4192
4193 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
4194         * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
4195           tests
4196         * amandad-src/amandad.c: comments
4197         * common-src/amanda.h: comments
4198         * restore-src/amidxtaped.c: don't check security when invoked with
4199           'installcheck' as argv[1]
4200
4201 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
4202         * installcheck/Installcheck/ClientService.pm: utility to test
4203           client services (noop, sendbackup, etc.)
4204         * installcheck/Makefile.am installcheck/noop.pl: new test
4205         * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
4206
4207 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
4208         * restore-src/amidxtaped.c: Check from_amandad before
4209                                     fe_recover_splits.
4210
4211 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
4212         * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
4213
4214 2010-02-09  Paul C. Mantz <pcmantz@zmanda.com>
4215         * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
4216
4217 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
4218         * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
4219         * man/xml-source/amanda-client.conf.5.xml,
4220           man/xml-source/amanda.conf.5.xml: Use them.
4221
4222 2010-02-09 Dan Locks <dwlocks@zmanda.com>
4223         *  amar-src/Makefile.am: add installperms stanza
4224
4225 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
4226         * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
4227
4228 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
4229         * client-src/client_util.c: New AMFEATURES application support option,
4230           application_property_add_to_argv take a amfeatures argument.
4231         * client-src/client_util.h: New protoype.
4232         * client-src/selfcheck.c, client-src/sendbackup.c,
4233           client-src/sendsize.c,
4234           recover-src/extract_list.c: Pass the server amfeatures as argument
4235           to application_property_add_to_argv.
4236         * common-src/amfeatures.c: New fe_sendbackup_noop.
4237         * common-src/amfeatures.h: New fe_sendbackup_noop.
4238         * server-src/dumper.c: Ignore "sendbackup: no-op' message.
4239
4240 2010-02-08  Dustin J. Mitchell <dustin@zmanda.com>
4241         * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
4242           SWIG amfeatures
4243         * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
4244           tests
4245         * common-src/amfeatures.h: add SWIG conditionals
4246         * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
4247
4248 2010-02-06  Dustin J. Mitchell <dustin@zmanda.com>
4249         * perl/Amanda/Config.pod: document autolabel format
4250         * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
4251
4252 2010-02-06  Jean-Louis Martineau <martineau@zmanda.com>
4253         * common-src/conffile.c: Add autolabel config option.
4254         * common-src/conffile.h: Add autolabel config option.
4255         * man/xml-source/amanda.conf.5.xml: Document autolabel.
4256         * perl/Amanda/Config.swg: Swig autolabel.
4257         * perl/Amanda/Taper/Scan/traditional.pm,
4258           perl/Amanda/Taper/Scan.pm: Use autolabel.
4259         * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
4260           installcheck/Amanda_Taper_Scan_traditional.pl,
4261           installcheck/Installcheck/Dumpcache.pm,
4262           installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
4263           installcheck/amcheck.pl, installcheck/amdevcheck.pl,
4264           installcheck/amdump.pl, installcheck/pp-scripts.pl,
4265           installcheck/taper.pl: Fix to use autolabel.
4266
4267 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
4268         * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
4269         * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
4270         * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
4271         * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
4272         * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
4273         STATUS" pod header
4274
4275 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
4276         * perl/Amanda/Report/human.pm: made fixed appearance of per-level
4277           column in output_stats
4278
4279 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
4280         * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
4281
4282 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
4283         * perl/Makefile.am: Fix bad merge.
4284
4285 2010-02-03  Paul C. Mantz <pcmantz@zmanda.com>
4286         * perl/Amanda/Report/human.c: increased width of output_stats
4287           fields
4288
4289 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4290         * server-src/amadmin.c: Use %jd for gint.
4291
4292 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4293         * server-src/amadmin.c: Add 'estimate' command'.
4294         * man/xml-source/amadmin.8.xml: Document estimate command.
4295         * server-src/planner.c, server-src/server_util.c,
4296           server-src/server_util.h: Move internal_server_estimate and
4297           server_can_do_estimate from planner.c to server_util.c
4298
4299 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4300         * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
4301         * installcheck/Amanda_Recovery_Clerk.pl: Test it.
4302
4303 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4304         * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
4305
4306 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4307         * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
4308         * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
4309         * perl/Amanda/Changer/compat.pm: Print device_name.
4310         * perl/Amanda/Interactive.pm: Base class for interactivity.
4311         * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
4312         * perl/Amanda/Recovery/Scan.pm: Scan changers
4313         * perl/Makefile.am: Add Amanda/Interactive.pm,
4314           Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
4315         * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
4316         * server-src/amtape.pl: Use Amanda::Recovery::Scan.
4317
4318 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
4319         * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
4320         * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
4321         * installcheck/amdevcheck.pl: give an explicit device name, now that
4322           tapedev is not set
4323
4324 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
4325         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
4326           add debug_recovery
4327         * perl/Amanda/Recovery/Clerk.pm: use it
4328         * perl/Amanda/Recovery/Planner.pm: use it
4329
4330 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
4331         * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
4332
4333 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
4334         * device-src/Makefile.am device-src/xfer-device.h
4335           device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
4336           installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
4337           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
4338           Amanda::Taper::Source to Amanda::Recovery::Source
4339
4340 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
4341         * perl/Makefile.am: check all .pm files (some had been missed)
4342
4343 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
4344         * perl/Amanda/Changer.pm: fix bogus POD
4345
4346 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4347         * application-src/amsamba.pl: Fix parsing of unc if disk is noti
4348                                       defined.
4349
4350 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
4351         * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
4352
4353 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
4354         * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
4355
4356 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
4357         * server-src/amfetchdump.pl: only output a filename with a partnum
4358           when -n was given
4359
4360 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
4361         * device-src/ndmp-device.c: fix failure to check for fatal errors, use
4362           signed 'delta'
4363         * device-src/tape-device.c: rewind correctly, even to the current file
4364         * device-src/vfs-device.c: set in_file=FALSE on finish()
4365         * installcheck/Amanda_Device.pl: check reading file header twice
4366
4367 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
4368         * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
4369           installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
4370           installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
4371           installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
4372           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
4373           xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
4374           of xfer_state == XFER_DONE
4375
4376 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
4377         * man/xml-source/amanda-auth.7.xml: reduce circular references
4378
4379 2010-02-01  Dustin J. Mitchell <dustin@zmanda.com>
4380         * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
4381
4382 2010-01-31  Jean-Louis Martineau <martineau@zmanda.com>
4383         * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
4384
4385 2010-01-30  Jean-Louis Martineau <martineau@zmanda.com>
4386         * common-src/conffile.c: Allow multiple scripts on one line.
4387
4388 2010-01-29 Dan Locks <dwlocks@zmanda.com>
4389         *  packaging/rpm/amanda.spec: move manpages to
4390            defattr(644,root,root,..) section
4391
4392 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
4393         * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
4394         * installcheck/Amanda_DB_Catalog.pl: tests
4395         * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
4396         * installcheck/Amanda_Recovery_Planner.pl: tests
4397         * perl/Amanda/Recovery/Clerk.pm: recover from holding with
4398           Amanda::Xfer::Source::Holding when appropriate
4399         * installcheck/Amanda_Recovery_Clerk.pl: tests
4400         * server-src/amfetchdump.pl: give better messaging when recovering
4401           from holding, don't append partnum unless it's a multipart dump
4402         * installcheck/amfetchdump.pl: tests
4403
4404 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
4405         * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
4406           and -w options
4407         * restore-src/Makefile.am restore-src/amfetchdump.c: remove
4408         * server-src/Makefile.am server-src/amfetchdump.pl: new version
4409           of amfetchdump that uses Clerk and Planner
4410         * installcheck/amfetchdump.pl: updates to tests (change 'tape'
4411           to 'volume', no more -b, add quotes around labels
4412
4413 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
4414         * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
4415         * installcheck/Amanda_Recovery_Planner.pl
4416           installcheck/Makefile.am: tests
4417
4418 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
4419         * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
4420         * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
4421           tests
4422
4423 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
4424         * installcheck/Amanda_MainLoop.pl: a call_after test that is more
4425           stable when the system clock is stepping
4426         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
4427
4428 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
4429         * installcheck/Amanda_Logfile.pl: note about checks
4430         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
4431         * server-src/find.c server-src/find.h: add dynamic_disklit param
4432           to search_holding_disk
4433
4434 2010-01-28  Jean-Louis Martineau <martineau@zmanda.com>
4435         * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
4436         * installcheck/Amanda_Changer_multi.pl: Test it.
4437
4438 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
4439         * installcheck/amfetchdump.pl: don't use an END block for cleanup
4440
4441 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
4442         * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
4443         * installcheck/Amanda_DB_Catalog.pl: test it
4444         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
4445
4446 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
4447         * changer-src/chg-glue.pl: fix chg-glue to be more careful about
4448           releasing the device first
4449
4450 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
4451         * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
4452           cached dumps
4453         * installcheck/amfetchdump.pl: more/better tests
4454         * man/xml-source/amfetchdump.8.xml: formatting
4455
4456 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
4457         * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
4458           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
4459           fix typos
4460
4461 2010-01-27  Paul C. Mantz <pcmantz@zmanda.com>
4462         * perl/Amanda/Util.pm: added safe_overwrite_file
4463         * installcheck/Amanda_Util.pl: installcheck
4464
4465 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
4466         * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
4467
4468 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
4469         * perl/Amanda/Changer.pm: Document new inventory result.
4470         * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
4471           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
4472           perl/Amanda/Changer/robot.pm,
4473           perl/Amanda/Changer/single.pm: Generate new inventory result.
4474         * installcheck/Amanda_Changer_disk.pl,
4475           installcheck/Amanda_Changer_multi.pl,
4476           installcheck/Amanda_Changer_ndmp.pl,
4477           installcheck/Amanda_Changer_rait.pl,
4478           installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
4479         * server-src/amtape.pl: Use new inventory result.
4480
4481 2010-01-26  Paul C. Mantz <pcmantz@zmanda.com>
4482         * perl/Amanda/Util.swg: added slurp and burp subs
4483         * installcheck/Amanda_Util.pl: installcheck for slurp and burp
4484         * installcheck/Installcheck/Run.pm: use of slurp in production
4485
4486 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
4487         * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
4488         * perl/Amanda/Report/human.pm: Many improvements.
4489         * installcheck/Amanda_Report.pl: Fix for new data.
4490         * perl/Makefile.am: Check AmandaReport_DATA.
4491
4492 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
4493         * common-src/conffile.h: Add getconf_linenum.
4494         * perl/Amanda/Config.swg: Add getconf_linenum.
4495         * perl/Amanda/Config.pod: Document getconf_linenum.
4496         * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
4497           line without setting the other to ''.
4498
4499 2010-01-25  Dustin J. Mitchell <dustin@zmanda.com>
4500         * perl/amglue/bigint.c: call SPAGAIN after loading
4501           Math::BigInt, in case the stack base has moved
4502         * perl/amglue/integers.swg: don't place a bigint on
4503           the stack until the stack pointer has been restored
4504         * perl/Amanda/Header.swg: use static
4505
4506 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
4507         * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
4508           confuse old is_deeply implementations
4509
4510 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
4511         * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
4512           more carefully; add ability to query and sort dumps; use weak refs to
4513           break reference loops
4514         * installcheck/Amanda_DB_Catalog.pl: tests
4515         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
4516         * server-src/amvault.pl: update to match
4517         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
4518           match_disk, and match_datestamp, and document dumps_match_dumpspecs
4519
4520 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
4521         * device-src/ndmp-device.c, device-src/rait-device.c,
4522           device-src/s3-device.c, device-src/tape-device.c,
4523           device-src/vfs-device.c: Set volume_header with the written header
4524           when opened in write mode.
4525
4526 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
4527         * perl/Amanda/Report/human.pm: Many fix.
4528         * server-src/amreport_new.pl: Many fix.
4529
4530 2010-01-18  Jean-Louis Martineau <martineau@zmanda.com>
4531         * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
4532         * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
4533                                data path.
4534
4535 2010-01-19  Paul C. Mantz <pcmantz@zmanda.com>
4536         * installcheck/amreport.pl: made output checks ignore spacing
4537
4538 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
4539         * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
4540           close
4541
4542 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
4543         * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
4544           ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
4545
4546 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
4547         * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
4548
4549 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
4550         * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
4551           that the scribe can cancel a transfer in an error situation
4552         * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
4553         * server-src/taper.pl: git it an xfer
4554
4555 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
4556         * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
4557           and return NDMP_DEVICE_BUSY_ERR on a collision
4558         * device-src/ndmp-device.c: close the tape agent before switching
4559           connections, and before closing a device, to avoid
4560           NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
4561           tape agent, as the mover may already be active
4562
4563 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
4564         * restore-src/restore.c: add another htonl invocation for ipv4 address
4565
4566 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
4567         * perl/Amanda/Xfer.pod: fix POD typo
4568
4569 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
4570         * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
4571
4572 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
4573         * perl/Amanda/Changer/compat.pm: allow multiline responses
4574         * installcheck/Amanda_Changer_compat.pl: test
4575
4576 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
4577         * installcheck/Amanda_Curinfo.pl: remove spurious diag()
4578
4579 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
4580         * gnulib/regenerate/regenerate: add regex module, for Mac OS X
4581           compatibility; no change in gnulib version
4582         * config/gnulib/* gnulib/*: resulting gnulib updates
4583
4584 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
4585         * man/xml-source/amreport.8.xml: fix typo in manpage
4586
4587 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
4588         * perl/Amanda/Changer.pm: $chg->load always read ther label.
4589         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
4590         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
4591         * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
4592         * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
4593         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
4594         * server-src/amlabel.pl, server-src/amrestore.pl,
4595         * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
4596
4597 2010-01-15  Paul C. Mantz <pcmantz@zmanda.com>
4598         * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
4599           5.6 compatibility
4600
4601 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
4602         * installcheck/Amanda_Changer_robot.pl: Typo.
4603
4604 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
4605         * amandad-src/amandad.c: iread errfd and close it on termination.
4606
4607 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
4608         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
4609           update '1-4=' syntax to mark slot as being in unknown state.
4610         * man/xml-source/amanda-changers.7.xml: Document new syntax.
4611         * installcheck/Amanda_Changer_multi.pl: Test new syntax.
4612         * installcheck/Amanda_Changer_robot.pl: Test new syntax.
4613
4614 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
4615         * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
4616                                                   skip disk.
4617         * server-src/diskfile.c (disable_skip_disk): New function to set todo
4618                                                      to 0 for skip disk.
4619         * server-src/diskfile.h (disable_skip_disk): Add prototype.
4620         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
4621           server-src/reporter.c: Call disable_skip_disk.
4622
4623 2010-01-14  Jean-Louis Martineau <martineau@zmanda.com>
4624         * perl/Makefile.am: typo.
4625
4626 2010-01-14  Paul C. Mantz <pcmantz@zmanda.com>
4627         * server-src/amreport_new.pl: amreport rewrite in perl
4628         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
4629           perl/Amanda/Report/xml.pm: factored out output formats and
4630           added legacy format
4631         * perl/Makefile.am server-src/Makefile.am: makefile changes
4632         * contrib/amreport.rnc: amreport xml spec in RelaxNG
4633
4634 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4635         * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
4636           make device_listen and device_accept callable anywhere; be explicit
4637           about conn refcount from accept
4638         * device-src/ndmp-device.c: don't call device_use_connection, as
4639           that method requires ACCESS_NULL
4640         * restore-src/restore.c: fix typo
4641
4642 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4643         * server-src/taper.pl: fix taper writing status too quickly
4644
4645 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4646         * client-src/client_util.c: fix to send the --direct-tcp and
4647           --data-path arguments to applications
4648         * client-src/sendbackup.c: add a bit of debugging to sendbackup
4649
4650 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4651         * restore-src/restore.c: add missing htonl to restore.c for ipv4
4652           address; fix typo
4653
4654 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4655         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
4656           messages, including a fancy connection ID to help debug problems
4657           using the wrong NDMP connection at the wrong time
4658
4659 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4660         * device-src/ndmp-device.c: work around record_size bug in ndmjob
4661
4662 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4663         * installcheck/amfetchdump.pl: check restored files more closely
4664
4665 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4666         * installcheck/taper.pl: taper installcheck to run multiple dumps
4667           on a spanned NDMP device
4668
4669 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4670         * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache 
4671         * installcheck/Installcheck/Mock.pm: add a way to revive it for
4672           recovery tests
4673         * installcheck/amfetchdump.pl: use it
4674
4675 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4676         * device-src/ndmp-device.c: correctly handle devices while they are
4677           coming online after a load
4678
4679 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4680         * ndmp-src/scsiconst.h: fix typo in constant name
4681
4682 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4683         * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
4684           'blank', mark them as unknown
4685
4686 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4687         * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
4688           with several
4689
4690 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4691         * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
4692
4693 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4694         * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
4695           MEDIUM
4696
4697 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4698         * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
4699
4700 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
4701         * device-src/ndmp-device.c: fix dangling reference
4702
4703 2010-01-11  Dustin J. Mitchell <dustin@zmanda.com>
4704         * common-src/Makefile.am common-src/fileheader-test.c: new test
4705         * common-src/fileheader.c common-src/fileheader.h: validate a lot
4706           of inputs; use g_debug; handle compressed/comp_suffix and
4707           encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
4708           bug in parsing empty heredoc
4709         * device-src/amtapetype.pl: add 'program' to header
4710         * installcheck/Amanda_Xfer.pl: add 'program' to header
4711         * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
4712           and document interrelationships of fields
4713
4714 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
4715         * perl/Makefile.am: don't build useless static versions of perl libs
4716
4717 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
4718         * device-src/xfer-source-taper.c: make element cancellation work
4719
4720 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
4721         * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
4722           identity
4723
4724 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
4725         * common-src/simpleprng.c common-src/simpleprng.h: add a method to
4726           extract the current seed from the PRNG state
4727         * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
4728         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
4729
4730 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
4731         * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
4732           Text::Diff
4733
4734 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
4735         * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
4736         * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
4737         * installcheck/Amanda_Curinfo.pl: installcheck
4738         * perl/Makefile.am installcheck/Makefile.am: makefile additions
4739
4740 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
4741         * ndmp-src/ndma_tape.c: halt on media error
4742         * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
4743           ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
4744           NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
4745         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
4746           NDMP9_MOVER_HALT_MEDIA_ERROR
4747
4748 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
4749         * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
4750
4751 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
4752         * perl/Amanda/NDMP.pod: fix %}.
4753
4754 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
4755         * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
4756
4757 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
4758         * perl/Amanda/NDMP.pod: typo
4759         * perl/Amanda/NDMP.swg: actually include POD
4760
4761 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
4762         * device-src/device.c device-src/device.h: remove conn argument from
4763           read_to_connection and write_from_connection; check for ACCESS_NULL
4764         * device-src/ndmp-device.c: remove conn argument, call use_connection
4765           from accept_impl
4766         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
4767           perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
4768           device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
4769           call use_connection at the appropriate time
4770
4771 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
4772         * device-src/ndmp-device.c: add an eject() implementation
4773
4774 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4775         * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
4776           ndmjob does not output logging info to stdout during installchecks
4777
4778 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4779         * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
4780           initialized
4781
4782 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4783         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
4784           pattern and the identifiers that supported it
4785         * device-src/ndmp-device.c: don't worry about idents
4786         * perl/Amanda/Changer/ndmp.pm: don't worry about idents
4787         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
4788         * installcheck/Amanda_NDMP.pl: change tests
4789
4790 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4791         * device-src/device.c device-src/device.h: change can_use_connection
4792           to the imperative use_connection
4793         * device-src/ndmp-device.c: implement use_connection
4794         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
4795           device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
4796           add a use_device method, start_part no longer needs a device
4797         * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
4798           perl/Amanda/XferServer.swg: SWIG it 
4799         * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
4800         * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
4801
4802 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4803         * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
4804           on WANT_NDMP
4805
4806 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4807         * perl/amglue/directtcp.swg: initialize the other struct in_addr by
4808           member name, too (see 2009-12-29)
4809
4810 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4811         * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
4812         * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
4813         * installcheck/mock/chg-ndmjob.pl: remove
4814         * installcheck/Amanda_Changer_ndmp.pl: new test
4815         * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
4816           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
4817           installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
4818           tests via I::Mock
4819         * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
4820           time, process sense data correctly, use correct element addresses
4821           for MOVE MEDIUM
4822
4823 2010-01-04  Jean-Louis Martineau <martineau@zmanda.com>
4824         * common-src/bsd-security.c, common-src/bsdtcp-security.c,
4825           common-src/bsdudp-security.c: Check service != NULL.
4826
4827 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
4828         * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
4829           ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
4830           ndmp-src/ndmos_common.c ndmp-src/Makefile.am
4831           ndmp-src/ndma_robot_simulator.c: add robot simulator
4832         * ndmp-src/ndmos_glib.h: use robot simulator
4833         * ndmp-src/scsiconst.h: fix typo
4834
4835 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
4836         * ndmp-src/ndma_tape.c: remove ndmta_belay
4837         * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
4838           NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
4839
4840 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
4841         * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
4842           scan
4843
4844 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
4845         * perl/amglue/directtcp.swg: initialize struct in_addr by member name
4846
4847 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
4848         * installcheck/Makefile.am: sort tests
4849         * installcheck/=setupcache.pl: rename _setupcache so it sorts first
4850
4851 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
4852         * perl/Amanda/Config.swg: fix return type for config_init
4853         * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
4854
4855 2009-12-24  Charles Curley <charlescurley@charlescurley.com>
4856         * README: rewrite
4857
4858 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4859         * device-src/s3-device.c: don't set the throttling properties unless
4860           they are nonzero
4861
4862 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4863         * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
4864
4865 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4866         * perl/Amanda/Changer/ndmp.pm: set device authentication properties
4867         * perl/Makefile.am: actually include ndmp.pm
4868         * perl/Amanda/Device.pod: doc extended property_get
4869         * man/xml-source/amanda-changers.7.xml: document properties
4870
4871 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4872         * common-src/fileheader.c: try to generate parsable headers
4873         * perl/Amanda/Header.swg: add default values
4874         * server-src/amrestore.pl: fix typo
4875         * installcheck/amrestore.pl: ndmp-device test (not using directtcp
4876           yet)
4877
4878 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4879         * device-src/s3.c: recent versions of curl switched from #define
4880           to enum, so #ifdef no longer works; test specific versions
4881           instead
4882
4883 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4884         * ndmp-src/ndma_ctrl_robot.c: show error messages
4885
4886 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
4887         * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
4888
4889 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
4890         * device-src/s3.c: remove debugging info
4891
4892 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
4893         * device-src/s3.c: only including throttling code if the precompiler
4894           symbols are present
4895
4896 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
4897         * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
4898         * installcheck/Amanda_Device.pl: test it
4899
4900 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
4901         * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
4902           source generated with rpcgen contains constructs that cause
4903           warnings for which earlier gcc's have no -Wno-xxx option
4904         * configure.in: revert disabled warnings
4905
4906 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
4907         * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
4908
4909 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
4910         * device-src/s3.c device-src/s3.h: add max send and receive speeds
4911         * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
4912           PROPERTY_MAX_RECV_SPEED
4913         * man/xml-source/amanda-devices.7.xml: document
4914
4915 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4916         * ndmp-src/Makefile.am configure.in: conditionalize warnings which
4917           are not present on all gcc version
4918         * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
4919           ndmp-src/ndmjob_main_util.c: fix warnings
4920         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
4921           long long constant should end in 'ull'
4922
4923 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4924         * installcheck/Amanda_NDMP.pl: add auth parameter here too
4925
4926 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4927         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
4928           parameter with four options
4929         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
4930         * device-src/ndmp-device.c: add NDMP_AUTH property
4931         * man/xml-source/amanda-devices.7.xml: doc it
4932         * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
4933         * man/xml-source/amanda-changers.7.xml: doc it
4934
4935 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4936         * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
4937         * ndmp-src/*.c: fix warnings, mostly sign differences
4938
4939 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4940         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
4941           return value to ndmp_connection_tape_mtio
4942         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
4943         * installcheck/Amanda_NDMP.pl: test it
4944         * installcheck/Makefile.am: actually run Amanda_NDMP tests
4945         * device-src/ndmp-device.c: compatible change
4946
4947 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4948         * man/xml-source/amanda.8.xml: remove amdd
4949
4950 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4951
4952         * changer-src/Makefile.am changer-src/chg-rait.sh
4953           changer-src/chg-null.sh: restore deleted files
4954
4955 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4956         * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
4957
4958 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
4959         * autogen: do not use sed --in-place
4960
4961 2009-12-20  Dustin J. Mitchell <dustin@zmanda.com>
4962         * man/xml-source/amgetconf.8.xml: fix formatting error by putting
4963           <note> on its own line
4964
4965 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
4966         * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
4967
4968 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
4969         * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
4970         * man/xml-source/amanda-changers.7.xml: docs
4971         * perl/Amanda/Changer.pm: better error handling
4972         * perl/Amanda/Changer/robot.pm: changes for subclassing
4973
4974 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
4975         * server-src/driver.c: Don't call validate_optionstr for flush dles.
4976
4977 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
4978         * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
4979         * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
4980         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
4981         * installcheck/Amanda_Device.pl: add ndmp-only tests
4982         * installcheck/Amanda_Xfer.pl: add server-only tests
4983         * installcheck/Amanda_Device_ndmp.pl: remove
4984         * installcheck/Amanda_Xfer_serveronly.pl: remove
4985         * installcheck/Makefile.am: remove files
4986         * installcheck/taper.pl: conditionalize ndmp tests
4987         * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
4988
4989 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
4990         * server-src/amtrmidx.c: Check index entry will all dles using the
4991                                  same index directory.
4992
4993 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
4994         * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
4995           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
4996           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
4997           perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
4998           Split the 'inuse' code into 'driveinuse' and 'volinuse'.
4999         * installcheck/Amanda_Changer_compat.pl,
5000           installcheck/Amanda_Changer_disk.pl,
5001           installcheck/Amanda_Changer_multi.pl,
5002           installcheck/Amanda_Changer_rait.pl,
5003           installcheck/Amanda_Changer_robot.pl,
5004           installcheck/Amanda_Changer_single.pl:
5005           Use 'driveinuse' and 'volinuse'.
5006
5007 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5008         * common-src/conffile.c: etimeout must be positive.
5009         * common-src/protocol.c: Fix possible timeout of 0.
5010
5011 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5012         * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
5013           Add a few debugging output.
5014
5015 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5016         * server-src/amcheckdump.pl: Call $res->release() with a callback.
5017
5018 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
5019         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
5020           server-src/amrestore.pl,
5021           server-src/amvault.pl: Call $res->set_label after $dev->read_label.
5022
5023 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
5024         * installcheck/Amanda_Changer_robot.pl: fix installchecks
5025
5026 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
5027         * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
5028           subclass
5029
5030 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
5031         * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
5032           based on example/chg-multi.conf
5033
5034 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5035         * device-src/ndmp-device.c: use err_code, instead of err_msg, to
5036           detect an NDMPConnection error
5037
5038 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5039         * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
5040
5041 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
5042         * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
5043           drive if the pid is dead.
5044
5045 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
5046         * server-src/diskfile.c: Add validate_optionstr,  optionstr and
5047           xml_optionstr no longer do validation..
5048         * server-src/diskfile.h: Add validate_optionstr, change prototype for
5049           optionstr and xml_optionstr.
5050         * server-src/amadmin.c: Add missing case.
5051         * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
5052           Use validate_optionstr, Change for new *_optionstr prototype.
5053         * server-src/driver.c: Use validate_optionstr.
5054         * server-src/driverio.c: Change for new *_optionstr prototype.
5055         * installcheck/amdump.pl: Check planner error from validate_optionstr.
5056
5057 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5058         * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
5059           ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
5060           an error set instead of just returning an error from the constructor
5061         * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
5062         * perl/Amanda/NDMP.pod: docs for same
5063
5064 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5065         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
5066
5067 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
5068         * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
5069           when used in an outgoing typemap, due to stack stomping
5070         * perl/Amanda/Archive.swg perl/Amanda/Config.swg
5071           perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
5072           perl/amglue/integers.swg: exercise care as directed
5073
5074 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
5075         * recover-src/extract_list.c: Wait to parse the header before
5076           confirming destination directory. Unlink files only for GNUTAR
5077           and amgtar.
5078         * client-src/client_util.c: Parse RECOVER-PATH application support
5079                                     result.
5080         * client-src/client_util.h: Add recover_path_t.
5081
5082 2009-12-14  Dustin J. Mitchell <dustin@zmanda.com>
5083         * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
5084         * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
5085         * perl/Amanda/Changer/robot.pm: allow spaces between times and units
5086
5087 2009-12-14  Jean-Louis Martineau <martineau@zmanda.com>
5088         * server-src/amtape.pl: Call $res->set_label after reading a label.
5089
5090 2009-12-13  Dustin J. Mitchell <dustin@zmanda.com>
5091         * server-src/taper.pl: put header socket in blocking mode
5092
5093 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5094         * perl/Amanda/Process.pm: Remove unneded 'use'.
5095         * perl/Makefile.am: Build Amanda::Process on client.
5096
5097 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5098         * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
5099
5100 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5101         * perl/Amanda/Changer/multi.pm: New changer.
5102         * perl/Makefile.am: Build Amanda::Changer::multi
5103         * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
5104         * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
5105         * installcheck/Makefile.am: build and test Amanda_Changer_multi.
5106         * perl/Amanda/Util.swg: Add is_pid_alive.
5107         * perl/Amanda/Util.pod: Document is_pid_alive.
5108
5109 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5110         * server-src/amstatus.pl: Use wrong indice.
5111         * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
5112
5113 2009-12-11  Dustin J. Mitchell <dustin@zmanda.com>
5114         * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
5115         * server-src/driverio.c: do not send datapath to taper
5116         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
5117         * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
5118           changed on-tape format
5119         * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
5120         * ndmp-src/ndma_tape.c: fix typos
5121         * NEWS: document behavior changes
5122
5123 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
5124         * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
5125           server-src/driver.c server-src/driverio.c server-src/dumper.c
5126           server-src/taper.pl: Change protocol between chunker/taper and dumper:
5127           "PORT header_port  data_host:data_port", and dumper sends the header
5128           completely before sending the data
5129
5130 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5131         * ndmp-src/ndmpconnobj.c: fix uninitialized variable
5132
5133 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5134         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
5135           device-src/Makefile.am: new class
5136         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
5137         * installcheck/Amanda_Xfer_serveronly.pl: tests
5138         * perl/amglue/directtcp.swg: return undef for null addrs array
5139         * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
5140
5141 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5142         * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
5143         * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
5144         * installcheck/Amanda_Device_ndmp.pl: new tests
5145
5146 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
5147         * xfer-src/element-glue.c: element-glue shouldn't complain when the
5148           xfer's already been cancelled
5149
5150 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5151         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
5152           according to the spec (even though it's inconsistent)
5153
5154 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5155         * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
5156           offset+length = G_MAXUINT64
5157
5158 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5159         * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
5160           connection
5161
5162 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5163         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
5164           ndmp-src/ndmagents.h: make mover seek to correct block number
5165
5166 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
5167         * common-src/simpleprng.c: better error message from simpleprng on
5168           random number mismatch
5169         * common-src/simpleprng.h: simpleprng_state_t is now a real struct
5170         * xfer-src/dest-null.c: no need to give buffer offset anymore
5171
5172 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
5173         * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
5174         * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
5175           reading from a holding disk.
5176
5177 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
5178         * device-src/device.c, device-src/device.h:
5179           Add device_unaliassed_name function.
5180         * perl/Amanda/Device.swg: Add unaliassed_name function.
5181
5182 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
5183         * restore-src/restore.c: Fix read_to_connection argument.
5184
5185 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5186         * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
5187           unnecessary include
5188
5189 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5190         * common-src/directtcp.h: mention IP byte order
5191         * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
5192           perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
5193           lengths; directtcp_supported is a boolean class attribute instead of a
5194           method; listen takes a for_writing argument; SWIG directtcp methods
5195         * perl/Amanda/Device.pod: document LEOM handling, new methods
5196         * device-src/directtcp-connection.c: call parent's finalize
5197         * restore-src/restore.c: pass correct for_writing to listen
5198
5199 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5200         * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
5201         * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
5202
5203 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5204         * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
5205           new class to encapsulate all of the NDMP transactions without
5206           requiring weird precompiler macros
5207
5208 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5209         * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
5210           triggered by long filenames in buildbots
5211
5212 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5213         * xfer-src/element-glue.c: one more uninitialized variable
5214
5215 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
5216         * device-src/device.h, device-src/device.c,
5217           man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
5218           perl/Amanda/Device.swg: Add an eject method to the device-api.
5219         * device-src/tape-device.c, device-src/tape-ops.h,
5220           device-src/tape-posix.c, device-src/tape-uware.c,
5221           device-src/tape-aix.c,
5222           device-src/tape-xenix.c: Implement eject method.
5223         * perl/Amanda/Changer/robot.pm: Use new eject method.
5224
5225 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5226         * device-src/dvdrw-device.c: fix uninitialized variable, don't use
5227           G_DEFINE_DEVICE
5228
5229 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5230         * xfer-src/element-glue.c: fix uninitialized use of variable
5231
5232 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5233         * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
5234           XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
5235         * xfer-src/xfer-test.c: tests for same
5236         * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
5237           perl/Amanda/Xfer.swg: new class
5238         * xfer-src/source-directtcp-listen.c: bugfix
5239         * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
5240           xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
5241         * common-src/testutils.c: support for leak-checking
5242         * xfer-src/dest-buffer.c xfer-src/dest-null.c
5243           server-src/xfer-source-holding.c device-src/xfer-dest-device.c
5244           device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
5245           device-src/xfer-source-taper.c: use revised error-handling
5246         * perl/amglue/source.c: fix refcount problem
5247         * xfer-src/Makefile.am: new files
5248
5249 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
5250         * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
5251           installcheck/Makefile.am: new mock changer for ndmjob
5252         * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
5253           ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
5254           PEOM) support to the tape simulator
5255
5256 2009-12-07  Sam Couter <sam@couter.id.au>
5257         * AUTHORS: add Sam to AUTHORS
5258         * device-src/device.c device-src/Makefile.am
5259           device-src/dvdrw-device.c: new dvd-rw device
5260         * configure.in config/amanda/dvdrw-device.m4: config
5261           for it
5262         * device-src/vfs-device.c device-src/vfs-device.h: enable
5263           subclassing of VFS device
5264         * man/xml-source/amanda-devices.7.xml: documentation
5265         * server-src/amcheck-device.pl: add usage() sub
5266
5267 2009-12-07  Sam Couter <sam@couter.id.au>
5268         * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
5269                                           builds work
5270
5271 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
5272         * client-src/calcsize.c: fix check_running_as.
5273
5274 2009-12-06  Dustin J. Mitchell <dustin@zmanda.com>
5275         * client-src/client_util.c: revert previous change
5276
5277 2009-12-05  Sam Couter <sam@couter.id.au>
5278         * client-src/client_util.c: Free correct memory
5279
5280 2009-12-05  Dustin J. Mitchell <dustin@zmanda.com>
5281         * config/automake/scripts.am: remove unnecessary -T
5282         * perl/Amanda/BigIntCompat.pm: remove unused $stringify
5283
5284 2009-12-04  Jean-Louis Martineau <martineau@zmanda.com>
5285         * server-src/amcheck.c: Give error if pre-host-backup or
5286                                 post-host-backup are executed on client.
5287         * man/xml-source/amanda.conf.5.xml: Document it.
5288
5289 2009-12-03  Paul C. Mantz <pcmantz@zmanda.com>
5290         * server-src/tapefile.c server-src/tapefile.h
5291           perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
5292           added and swigged get_last_reusable_tape_label(). 
5293         
5294 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
5295         * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
5296                                                  error.
5297
5298 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
5299         * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
5300
5301 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5302         * perl/Amanda/Device.swg: #include "glib-util.h".
5303
5304 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5305         * common-src/conffile.c: Fix conf_init_data_path argument type.
5306         * common-src/debug.c: Use gpointer.
5307         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
5308           #include "util.h" for set_pname prototype.
5309         * ndmp-src/ndma_cops_backreco.c: Add prototype.
5310         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
5311           Rename version_info to ndmjob_version_info to avoid conflict.
5312
5313 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5314         * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
5315         * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
5316         * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
5317
5318 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5319         * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
5320
5321 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5322         * server-src/find.c: Fix for older log entry.
5323         * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
5324         * perl/Amanda/Logfile.pod: Add totalparts.
5325         * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
5326                                           find_result_t.
5327
5328 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5329         * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
5330
5331 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5332         * perl/Amanda/Changer/single.pm: Use except_slot,
5333                                          It is not fast searchable.
5334
5335 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5336         * server-src/find.h: Keep partnum and totalparts as int.
5337         * server-src/find.c: Compute totalparts if -1.
5338         * perl/Amanda/Logfile.swg: Change api.
5339         * restore-src/amfetchdump.c, restore-src/restore.c,
5340           server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
5341
5342 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
5343         * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
5344                                 Build amndmjob with modifier tape simulator.
5345         * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
5346         * ndmp-src/amndmjob_main.c: Main amndmjob program.
5347         * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
5348
5349 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
5350         * server-src/amstatus.pl: Small fix.
5351
5352 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
5353         * server-src/taper.pl: Fix quote_string use.
5354
5355 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
5356         * server-src/amstatus.pl: Display % done on port-write.
5357         * device-src/xfer-device.h: New get_part_bytes_written method in
5358                                     XferDestTaperClass.
5359         * device-src/xfer-dest-taper.c: new
5360                         xfer_dest_taper_get_part_bytes_written function.
5361         * device-src/xfer-dest-taper-splitter.c: New 
5362                         get_part_bytes_written_impl function.
5363         * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
5364         * perl/Amanda/XferServer.swg: swig
5365                                       xfer_dest_taper_get_part_bytes_written.
5366         * server-src/taper.pl: Update status file every 5 seconds.
5367         * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
5368
5369 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5370         * installcheck/Amanda_Holding.pl: add one more unary +
5371
5372 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5373         * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
5374           of => when the left-hand-side shouldn't be quoted
5375
5376 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5377         * installcheck/Amanda_Config.pl installcheck/taper.pl
5378           perl/Amanda/Config.swg server-src/amrestore.pl
5379           server-src/taper.pl: handle older perls' bad conversions
5380           from BigInt to integers or strings
5381
5382 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5383         * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
5384           use unary + before the arguments to sort, since perl-5.6's
5385           parser gets confused otherwise
5386
5387 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5388         * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
5389           to strings, since older perls' Test::More::is_deeply do not
5390           handle this well
5391
5392 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5393         * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
5394           from the constructor, since => quotes its left-hand side
5395         * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
5396           callbacks
5397
5398 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5399         * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
5400           expects the path to point to a directory, not a file
5401
5402 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
5403         * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
5404           perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
5405           constant with a hash of constants.
5406
5407 2009-11-26  Jean-Louis Martineau <martineau@zmanda.com>
5408         * application-src/*.pl: Remove $action from all function arguments.
5409         * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
5410         * perl/Amanda/Application/Zfs.pm: Remove $action from all function
5411                                           arguments.
5412         * perl/Amanda/Script_App.pm: Set $self->{action}.
5413
5414 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
5415         * restore-src/restore.c: Always do data_path exchange.
5416
5417 2009-11-25  Dustin J. Mitchell <dustin@zmanda.com>
5418         * client-src/calcsize.c: fix check_running_as
5419
5420 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
5421         Patch by Dustin J. Mitchell <dustin@zmanda.com>
5422         * server-src/amcheckdump.pl: Fix hang in MainLoop.
5423
5424 2009-11-24  Jean-Louis Martineau <martineau@zmanda.com>
5425         * server-src/amindexd.c: Reduce logging.
5426
5427 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
5428         * perl/amglue/amglue.swg: Remove %begin section, we don't want to
5429                                   require swig 1.3.39.
5430
5431 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
5432         * device-src/s3-device.c: First include "amanda.h".
5433         * perl/Amanda/Cmdline.swg: include "amanda.h".
5434         * perl/amglue/amglue.h: include "../config/config.h"
5435         * perl/amglue/amglue.swg: %begin include ../config/config.h"
5436
5437 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
5438         * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
5439
5440 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
5441         * common-src/stream.c common-src/util.c: use g_debug instead
5442           of dbprintf
5443
5444 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
5445         * Revert to previous gnulib, keep fseeko, ftello.
5446
5447 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
5448         * ndmp-src/ndmjob_args.c: add "-o test-daemon"
5449         * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
5450           when stdin closes
5451         * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
5452         * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
5453           automatically kill the daemon when the test finishes
5454
5455 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
5456         * common-src/amanda.h: Remove define of _LARGE_FILES.
5457         * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
5458
5459 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
5460         * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
5461           callback_sv, and hang onto the src through the callback invocation
5462
5463 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
5464         * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
5465
5466 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
5467         * gnulib/*, config/gnulib/*: Update gnulib
5468                                      Use getopt-gnu instead of getopt
5469                                      Add fseeko and ftello
5470                                      Remove visibility
5471
5472 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
5473         * config/amanda/progs.m4: require swig-1.3.32, as previous versions
5474           don't handle empty C strings correctly
5475
5476 2009-11-13  Dustin J. Mitchell <dustin@zmanda.com>
5477         * perl/Amanda/Device.pod perl/Amanda/Device.swg
5478           device-src/device.c device-src/device.h: add is_eom
5479         * device-src/rait-device.c
5480           device-src/s3-device.c device-src/tape-device.c
5481           device-src/vfs-device.c device-src/null-device.c: set is_eom
5482           and is_eof correctl
5483         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
5484           add an eom attribute to XMsgs
5485         * device-src/xfer-dest-taper-splitter.c: set the attribute
5486         * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
5487
5488 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
5489         * application-src/amgtar.c, application-src/amstar.c: Print restore
5490           and validate command with debug_executing.
5491         * common-src/util.c: New debug_executing function.
5492         * common-src/util.h: New debug_executing prototype.
5493
5494 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5495         * restore-src/amfetchdump.c: Small memory leak.
5496         * restore-src/restore.c, restore-src/restore.h: Many change to fix
5497           what was broken in previous patch.
5498
5499 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5500         * application-src/amgtar.c,
5501           application-src/amstar.c: Fix if none of --disk or --device is set.
5502
5503 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5504         * server-src/tapefile.c: Fix if list_new_tapes return NULL.
5505
5506 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5507         * server-src/amcheck.c, server-src/driver.c,
5508           server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
5509
5510 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5511         * application-src/amgtar.c, application-src/ampgsql.pl,
5512         * application-src/amraw.pl, application-src/amsamba.pl,
5513         * application-src/amstar.c, application-src/amsuntar.pl,
5514         * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
5515           They can get either --disk or --device or both.
5516
5517 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5518         * server-src/tapefile.c: New list_new_tapes function.
5519         * server-src/tapefile.h: Prototype for list_new_tapes function.
5520         * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
5521
5522 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5523         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
5524           ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
5525
5526 2009-11-18  Dustin J. Mitchell <dustin@zmanda.com>
5527         * device-src/directtcp-target.c
5528           device-src/directtcp-target.h: Removed files.
5529         * device-src/device.c,
5530           device-src/device.h: New device directtcp api.
5531         * device-src/directtcp-connection.c,
5532           device-src/directtcp-connection.h: directtcp_connection and
5533           directtcp_connection_socket object.
5534         * device-src/Makefile.am: Remove directtcp-target.*
5535                                   Add directtcp-connection.*
5536         * restore-src/restore.c,
5537           restore-src/restore.h: Fix for new device directtcp api.
5538
5539 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5540         * server-src/chunker.c: Fix checking result of full_write.
5541
5542 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
5543         * server-src/dumper.c,
5544           common-src/security-util.c: Correctly report write error.
5545
5546 2009-11-13 Dan Locks <dwlocks@zmanda.com>
5547         *  packaging/deb/control: update to use shlibs:Depends and
5548            perl:Depends
5549         *  packaging/deb/rules: tweak build dirs for clarity, update shlibs
5550            invocation, remove unneeded debhelper commands.
5551         *  packaging/deb/amanda-backup-server.substvars, 
5552            packaging/deb/amanda-backup-client.substvars: delete. These files
5553            are generated at build time
5554
5555 2009-11-13 Dan Locks <dwlocks@zmanda.com>
5556         *  packaging/deb/buildpkg: delete unused functions, detect and add 
5557            distro/release tag to version number changelog prior to build
5558
5559 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
5560         * recover-src/extract_list.c: Enable DATA-PATH.
5561         * restore-src/restore.c: Enable DATA-PATH.
5562         * restore-src/restore.h: Enable DATA-PATH.
5563         * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
5564         * common-src/amfeatures.h: Add fe_amidxtaped_datapath
5565         * common-src/conffile.c: Improve error message.
5566         * device-src/directtcp-target.h: Improve comment.
5567
5568 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
5569         * client-src/client_util.c, common-src/util.c,
5570           server-src/changer.c: Fix memory leak.
5571
5572 2009-11-11  Jean-Louis Martineau <martineau@zmanda.com>
5573         * ndmp-src/ndma_tape.c: Fix crash.
5574
5575 2009-11-09  Dustin J. Mitchell <dustin@zmanda.com>
5576         * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
5577           in the header are set by the caller
5578         * server-src/taper.pl: set them
5579         * installcheck/taper.pl: test that on-device headers are correct
5580
5581 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
5582         * restore-src/restore.c: Handle directtcp device.
5583         * restore-src/restore.h: Handle directtcp device.
5584         * device-src/directtcp-target.h (read_to_connection): Fix comment.
5585
5586 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
5587         * device-src/directtcp-target.c (directtcp_target_listen,
5588           directtcp_target_accept): don't assert for !self->in_file or
5589                                     self->access_mode == ACCESS_NULL.
5590
5591 2009-11-06  Dustin J. Mitchell <dustin@zmanda.com>
5592         * AUTHORS: add Ben Slusky
5593         * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
5594           to UMD license, with Ben's permission
5595
5596 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
5597         * client-src/sendbackup-dump.c, client-src/sendsize.c:
5598           Fix compiler error if VXDUMP or VDUMP is defined.
5599
5600 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
5601         * client-src/client_util.c: close FILE instead of fd.
5602         * client-src/selfcheck.c: fix fd leak with app_stderr.
5603
5604 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
5605         * client-src/client_util.c (merge_property, merge_properties):
5606                                                  New functions.
5607         * client-src/client_util.h: New prototypes.
5608         * common-src/conffile.c (amandaify_property_name): New function.
5609         * common-src/conffile.h (amandaify_property_name): New prototypes.
5610         * recover-src/extract_list.c: Call merge_properties, it merge property
5611           from amanda header with property set in amrecover.
5612           Report the directory property if set.
5613         * recover-src/set_commands.c: Call amandaify_property_name.
5614
5615 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
5616         * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
5617           to be un-paused before starting to cache a part
5618         * xfer-src/dest-null.c: add additional debugging info
5619
5620 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
5621         * device-src/Makefile.am device-src/directtcp-target.c
5622           device-src/directtcp-target.h: add new DirectTCPTarget interface, for
5623           use by devices supporting DirectTCP
5624
5625 2009-11-03  Paul C. Mantz  <pcmantz@zmanda.com>
5626         * perl/Amanda/Report.pm: added state flags
5627         * instalcheck/Amanda_Report.pl: tests
5628
5629 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
5630         * common-src/testutils.c: fix uninitialized variable, only run one
5631           test in non-fork mode
5632
5633 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
5634
5635         * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
5636           'first_device' and calculate slab size immediately instead of waiting
5637           for start_part
5638         * device-src/xfer-device.h: first_device parameter
5639         * perl/Amanda/XferServer.swg: swig
5640         * perl/Amanda/Xfer.pod: docs
5641         * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
5642         * perl/Amanda/Taper/Scribe.pm: send first_device properly
5643
5644 2009-10-30  Satya Ganga <gsat@zmanda.com>
5645         * application-src/amsuntar.pl: Validate include and exclude lists
5646           before using them at restore time.
5647
5648 2009-10-30  Dustin J. Mitchell <dustin@zmanda.com>
5649         * common-src/testutils.c: do not fork if -n is given (aids debugging)
5650
5651 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
5652         * perl/Amanda/Changer/robot.pm: add barcodes to reservations
5653         * perl/Amanda/Changer.pm: document
5654         * installcheck/Amanda_Changer_robot.pl: test
5655
5656 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
5657         * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
5658
5659 2009-10-29  Satya Ganga <gsat@zmanda.com>
5660         * application-src/amgtar.c,application-src/amstar.c: Correct validation 
5661           of directory property for existence and access.
5662
5663 2009-10-29  Satya Ganga <gsat@zmanda.com>
5664         * application-src/amsamba.pl: In command line use correct
5665                                         application property names
5666
5667 2009-10-29  Jean-Louis Martineau <martineau@zmanda.com>
5668         * client-src/sendsize.c: Fix error reporting.
5669
5670 2009-10-29  Satya Ganga <gsat@zmanda.com>
5671         * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific 
5672                                  environment for NDMP
5673
5674 2009-10-28  Jean-Louis Martineau <martineau@zmanda.com>
5675         * common-src/conffile.c (free_property_t): not static.
5676         * common-src/conffile.h (free_property_t): not static.
5677         * recover-src/amrecover.c, recover-src/amrecover.h,
5678           recover-src/help.c, recover-src/set_commands.c,
5679           recover-src/uparse.y,
5680           recover-src/uscan.l: New setproperty and listproperty commands.
5681         * man/xml-source/amrecover.8.xml: Document setproperty and
5682                                           listproperty commands.
5683
5684 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
5685         * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
5686
5687 2009-10-27  Dustin J. Mitchell <dustin@zmanda.com>
5688         * common-src/Makefile.am common-src/directtcp.h: new file to
5689           handle common directtcp-related code
5690         * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
5691           DirectTCPAddr
5692         * xfer-src/Makefile.am
5693           xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
5694         * xfer-src/source-directtcp-listen.c: new source element
5695           implementing it
5696         * xfer-src/element-glue.c: stubs - no glue yet for the new mech
5697         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
5698           perl/Makefile.am: SWIG new element
5699
5700 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
5701         * client-src/client_util.c: Add data-path and directtcp argument to
5702                                     application
5703         * client-src/selfcheck.c: Check application support the requested
5704                                   data-path
5705         * client-src/sendsize.c: Check application support the requested
5706                                  data-path
5707         * common-src/amfeatures.h: Add fe_xml_data_path and
5708                                    fe_xml_directtcp_list.
5709         * common-src/amfeatures.c: Add fe_xml_data_path and
5710                                    fe_xml_directtcp_list.
5711         * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
5712         * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
5713         * server-src/amcheck.c: Check client accpet datapath and directtcp tag
5714                                 in xml.
5715         * server-src/diskfile.c: Add datapath and directtcp tag
5716         * server-src/diskfile.h (disk_t): Add directtcp_list.
5717         * server-src/driver.c: Set dp->directtcp_list.
5718
5719 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
5720         * application-src/amgtar.c, application-src/ampgsql.pl,
5721           application-src/amraw.pl, application-src/amsamba.pl,
5722           application-src/amstar.c, application-src/amsuntar.pl,
5723           application-src/amzfs-sendrecv.pl: Handle directory, include-list
5724                         and exclude-list inrestore command.
5725         * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
5726           man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
5727           man/xml-source/amstar.8.xml,
5728           man/xml-source/amsuntar.8.xml: Document them.
5729         * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
5730
5731 2009-10-23  Jean-Louis Martineau <martineau@zmanda.com>
5732         * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
5733         * client-src/client_util.h (backup_support_option_t): Add data_path_set
5734         * common-src/conffile.h: (data_path_t): Change for bit value.
5735
5736 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
5737         * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
5738           now always called with the slab_mutex held; both invocations of
5739           the function guarantee this.
5740
5741 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
5742         * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
5743         * installcheck/Installcheck.pm: close SOCK after using it
5744         * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
5745
5746 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
5747         * perl/Amanda/Config.swg: Swig data_path_from_string.
5748         * server-src/diskfile.c: Add dirrecti-tcp property to application.
5749         * server-src/diskfile.h (disk_s): Add directtcp.
5750         * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
5751         * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
5752         * server-src/server_util.h: Add DIRECTTCP_PORT.
5753         * server-src/taper.pl: Reply with DIRECTTCP-PORT.
5754
5755 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
5756         * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
5757
5758 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
5759         * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
5760         * common-src/conffile.c: Add DATA-PATH config.
5761         * common-src/conffile.h: Add DATA-PATH config.
5762         * installcheck/taper.pl: Add AMANDA data-path.
5763         * perl/Amanda/Config.swg: Add DATA-PATH config.
5764         * server-src/amadmin.c (disklist_one): print data-path.
5765         * server-src/diskfile.c: Add dp argument to xml_application.
5766         * server-src/diskfile.h: New prototype for xml_application.
5767         * server-src/amcheck.c: Use new xml_application.
5768         * server-src/amindexd.c: Use new xml_application.
5769         * server-src/driverio.c: Send data-path to the dumper and taper,
5770                                  Use new xml_application.
5771         * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
5772         * server-src/planner.c: Use new xml_application.
5773         * server-src/taper.pl: Parse data-path in PORT-WRITE command.
5774
5775 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
5776         * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
5777           ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
5778           ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
5779                 Add '-o tape-tcp=HOST:PORT' option.
5780
5781 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
5782         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
5783           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
5784           ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
5785         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
5786           common-src/Makefile.am: remove ndmp-proxy.*
5787         * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
5788           common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
5789         * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
5790         * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
5791           module
5792
5793 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
5794         * perl/Amanda/Taper/Scribe.pm: get a device before starting
5795           the xfer
5796
5797 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
5798         * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
5799
5800 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
5801         * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
5802           libndmlib.la
5803         * ndmp-src/ndml_conn.c: remove calls to libndmjob function
5804         * device-src/Makefile.am: compile without strict prototypes
5805         * device-src/ndmp-device.c: build against libndmlib, speaking
5806           NDMP natively to the NDMP server instead of via the proxy
5807         * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
5808
5809 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
5810         * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
5811           device-src/xfer-dest-taper.c device-src/xfer-device.h: make
5812           XferDestTaper an abstract base class, with XferDestTaperSplitter its
5813           only subclass (for now)
5814         * perl/Amanda/Xfer.swg: SWIG it
5815         * perl/Amanda/XferServer.swg: SWIG it
5816         * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
5817         * perl/Amanda/Taper/Scribe.pm: use subclass
5818
5819 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
5820         * installcheck/Installcheck.pm: $0 in double quote "$0".
5821
5822 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
5823         * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
5824         * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
5825         * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
5826         * installcheck/amadmin.pl: Remove set_pname call.
5827
5828 2009-10-20  Paul C. Mantz <pcmantz@zmanda.com>
5829         * server-src/amrmtape.pl: added config override option
5830         * installcheck/amrmtape.pl: regression test
5831
5832 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
5833         * device-src/xfer-dest-taper.c: add detailed debugging
5834         * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
5835         * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
5836         * server-src/taper.pl: pass debugging flags around
5837
5838 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
5839         * xfer-src/dest-buffer.c: fix Solaris cc compile errors
5840
5841 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
5842         * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
5843           new element
5844         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
5845         * installcheck/Amanda_Xfer.pl: tests
5846         * xfer-src/source-pattern.c: fix typo
5847
5848 2009-10-19  Paul C. Mantz <pcmantz@zmanda.com>
5849         * perl/Amanda/Report.pm: error handling for logfile reading.
5850         * perl/Amanda/Logfile.pod: documentation of open_logfile error
5851         behavior
5852
5853 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
5854         * installcheck/Makefile.am (full_tests): Add amadmin.
5855         * installcheck/amadmin.pl: Check diskname matching argument.
5856
5857 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
5858         * common-src/match.c: Fix match_word function.
5859
5860 2009-10-16 Dan Locks <dwlocks@zmanda.com>
5861         *  example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
5862            replace IPv6 with IPv4
5863
5864 2009-10-16  Nikolas Coukouma <atrus@zmanda.com>
5865         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
5866           application-src/amlog-script.pl, application-src/ampgsql.pl,
5867           application-src/amraw.pl, application-src/amsamba.pl,
5868           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
5869           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
5870           changer-src/chg-glue.pl, common-src/amaespipe.sh,
5871           common-src/amcryptsimple.pl, common-src/amgetconf.pl,
5872           common-src/amgpgcrypt.pl, common-src/event-test.c,
5873           common-src/glib-util.c, common-src/glib-util.h,
5874           common-src/hexencode-test.c, common-src/ipc-binary.c,
5875           common-src/ipc-binary.h, common-src/queueing-test.c,
5876           common-src/queueing.c, common-src/queueing.h,
5877           common-src/quoting-test.c, common-src/semaphore-test.c,
5878           common-src/semaphore.c, common-src/semaphore.h,
5879           common-src/simpleprng.c, common-src/simpleprng.h,
5880           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
5881           common-src/testutils.c, common-src/testutils.h,
5882           config/automake/scripts.am, config/automake/vars.am,
5883           config/macro-archive/docbook-dtd.m4,
5884           config/macro-archive/docbook-xslt-min.m4,
5885           config/macro-archive/docbook-xslt.m4,
5886           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
5887           device-src/amtapetype.pl, device-src/device-queueing.c,
5888           device-src/device-queueing.h, device-src/device.c,
5889           device-src/device.h, device-src/ndmp-device.c,
5890           device-src/null-device.c, device-src/property.c,
5891           device-src/property.h, device-src/rait-device.c,
5892           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
5893           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
5894           device-src/tape-device.c, device-src/tape-device.h,
5895           device-src/tape-ops.h, device-src/tape-posix.c,
5896           device-src/tape-uware.c, device-src/tape-xenix.c,
5897           device-src/vfs-device.c, device-src/vfs-test.c,
5898           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
5899           device-src/xfer-device.h, device-src/xfer-source-device.c,
5900           device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
5901           installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
5902           installcheck/Amanda_Changer_disk.pl,
5903           installcheck/Amanda_Changer_null.pl,
5904           installcheck/Amanda_Changer_rait.pl,
5905           installcheck/Amanda_Changer_robot.pl,
5906           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
5907           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
5908           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
5909           installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
5910           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
5911           installcheck/Amanda_IPC_Binary.pl,
5912           installcheck/Amanda_IPC_LineProtocol.pl,
5913           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
5914           installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
5915           installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
5916           installcheck/Amanda_Taper_Scan.pl,
5917           installcheck/Amanda_Taper_Scan_traditional.pl,
5918           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
5919           installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
5920           installcheck/Installcheck.pm,
5921           installcheck/Installcheck/Application.pm,
5922           installcheck/Installcheck/Changer.pm,
5923           installcheck/Installcheck/Config.pm,
5924           installcheck/Installcheck/Dumpcache.pm,
5925           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
5926           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
5927           installcheck/amcheck-device.pl, installcheck/amcheck.pl,
5928           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
5929           installcheck/amdump.pl, installcheck/amfetchdump.pl,
5930           installcheck/amgetconf.pl, installcheck/amgtar.pl,
5931           installcheck/amlabel.pl, installcheck/ampgsql.pl,
5932           installcheck/amraw.pl, installcheck/amreport.pl,
5933           installcheck/amrestore.pl, installcheck/amrmtape.pl,
5934           installcheck/amservice.pl, installcheck/amstatus.pl,
5935           installcheck/amtape.pl, installcheck/amtapetype.pl,
5936           installcheck/bigint.pl, installcheck/mock/mtx.pl,
5937           installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
5938           installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
5939           packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
5940           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
5941           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
5942           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
5943           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
5944           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
5945           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
5946           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
5947           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
5948           perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
5949           perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
5950           perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
5951           perl/Amanda/Header.pod, perl/Amanda/Header.swg,
5952           perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
5953           perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
5954           perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
5955           perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
5956           perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
5957           perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
5958           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
5959           perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
5960           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
5961           perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
5962           perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
5963           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
5964           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
5965           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
5966           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
5967           perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
5968           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
5969           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
5970           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
5971           server-src/amcleanup.pl, server-src/amlabel.pl,
5972           server-src/amrestore.pl, server-src/amrmtape.pl,
5973           server-src/amserverconfig.pl, server-src/amtape.pl,
5974           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
5975           server-src/taper.pl, server-src/xfer-server.h,
5976           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
5977           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
5978           xfer-src/element-glue.h, xfer-src/filter-process.c,
5979           xfer-src/filter-xor.c, xfer-src/source-fd.c,
5980           xfer-src/source-pattern.c, xfer-src/source-random.c,
5981           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
5982           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
5983           xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
5984
5985 2009-10-16  Dustin J. Mitchell <dustin@zmanda.com>
5986         * common-src/hexencode-test.c: avoid compiler warnings and a potential
5987           crash on test failure
5988
5989 2009-10-16  Jean-Louis Martineau <martineau@zmanda.com>
5990         * application-src/amsamba.pl: fix restore.
5991
5992 2009-10-15  Nikolas Coukouma <atrus@zmanda.com>
5993         * application-src/ampgsql.pl, common-src/Makefile.am,
5994           common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
5995           installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
5996           perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
5997           perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
5998           and decoding functions into C. SWIG, document, and test them. Also add
5999           exception-generating typemap for GErrors.
6000
6001 2009-10-14  Nikolas Coukouma <atrus@zmanda.com>
6002         * perl/Amanda/Changer.pm: forgot to import function
6003
6004 2009-10-14  Jean-Louis Martineau <martineau@zmanda.com>
6005             Dustin J. Mitchell <dustin@zmanda.com>
6006         * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
6007         * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
6008         * device-src/ndmp-device.c: Keep track if a device is openned, don't
6009           close the connection to the proxy in ndmp_device_finish().
6010         * installcheck/Amanda_Device_ndmp.pl: More check.
6011         * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
6012         * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
6013         * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
6014
6015 2009-10-13  Nikolas Coukouma <atrus@zmanda.com>
6016         * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
6017           installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
6018           and test it
6019         * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
6020           use string_to_boolean
6021         * perl/Amanda/MainLoop.pod: correct spelling
6022
6023 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
6024         Revert previous patch.
6025
6026 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
6027         * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
6028         * common-src/conffile.c: Add data_path
6029         * common-src/conffile.h: Add data-path
6030         * common-src/ndmp-proxy.c: Improve.
6031         * common-src/ndmp-proxy.h: Improve.
6032         * device-src/device.c (device_start_dump, device_finish_dump
6033                                device_write_from_data_path) New method.
6034         * device-src/device.h (device_start_dump, device_finish_dump
6035                                device_write_from_data_path) New method.
6036         * device-src/ndmp-device.c: Improve
6037         * device-src/xfer-dest-taper.c: data-path
6038         * device-src/xfer-device.h: data-path
6039         * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
6040         * ndmp-src/ndma_comm_proxy.c: Improve.
6041         * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
6042         * ndmp-src/ndmjob_main.c: Open debug file.
6043         * ndmp-src/ndml_log.c: Check for deliver..
6044         * perl/Amanda/Config.swg: Add data-path
6045         * perl/Amanda/Device.swg: Add new device api
6046         * perl/Amanda/Taper/Scribe.pm: data-path
6047         * perl/Amanda/XferServer.swg: data-path
6048         * server-src/amadmin.c: print data-path
6049         * server-src/amcheck.c: data-path and xml_application change
6050         * server-src/amindexd.c: xml_application change
6051         * server-src/diskfile.c: new xml_application
6052         * server-src/diskfile.h: xml_application prototype change.
6053         * server-src/driver.c: data-path
6054         * server-src/driverio.c: data-path
6055         * server-src/driverio.h (taper_device): new global variable.
6056         * server-src/dumper.c: data-path
6057         * server-src/planner.c: xml_application change
6058         * server-src/taper.pl: data-path
6059
6060 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6061         * perl/Amanda/IPC/Binary.pod: finish docs
6062
6063 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6064         * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
6065         * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
6066           ipc-binary
6067         * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
6068         * perl/Amanda/IPC/Binary.pod: stub documentation
6069         * perl/Amanda/IPC/LineProtocol.pm: whitespace
6070
6071 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6072         * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
6073           ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
6074           <atrus@zmanda.com>
6075
6076 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
6077         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
6078           pass parameters
6079         * device-src/ndmp-device.c: bugfixes; open and close the conneciton
6080           for each service request, to avoid deadlocking the proxy
6081         * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
6082           ndmjob tape simulator
6083         * installcheck/Installcheck/Mock.pm: add run_ndmjob
6084         * installcheck/Makefile.am: new checks
6085         * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
6086         * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
6087         * ndmp-src/ndmjob.h: p_port
6088         * ndmp-src/ndmjob_args.c: add -p PORT
6089         * ndmp-src/ndmjob_main.c: use -p PORT
6090         * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
6091           connection
6092
6093 2009-10-07 Dan Locks <dwlocks@zmanda.com>
6094         *  packaging/deb/control: add mailx|bsd-mailx (also missing
6095            |gnuplot-nox)
6096
6097 2009-10-07  Jean-Louis Martineau <martineau@zmanda.com>
6098         * server-src/diskfile.c: Fix initialization of xml_app.result.
6099
6100 2009-10-06  Dustin J. Mitchell <dustin@zmanda.com>
6101         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
6102           remove ndmp-proxy-log-file and ndmp-proxy-debug-level
6103         * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
6104         * common-src/ipc-binary.h: don't recommend static allocation
6105         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
6106           demand; it will shut down when all of the connections are closed
6107         * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
6108         * installcheck/Installcheck.pm: add get_unused_port()
6109         * installcheck/Makefile.am: new check
6110         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
6111           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
6112           ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
6113           ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
6114           proxy into a different executable, and reference count the connections
6115           to it
6116         * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
6117         * perl/Amanda/NDMP.pod: add POD
6118         * server-src/amlabel.pl server-src/amcheck-device.pl: remove
6119           ndmp_stop_proxy()
6120
6121 2009-10-06  Paul C. Mantz <pcmantz@zmanda.com>
6122         * perl/Amanda/Reporter.pm: added log handling of amdump and
6123         amflush
6124         * installcheck/Amanda_Report.pl: regression tests
6125
6126 2009-10-06  Jean-Louis Martineau <martineau@zmanda.com>
6127         * installcheck/amraw.pl: Use File::Path::mkpath.
6128
6129 2009-10-05  Jean-Louis Martineau <martineau@zmanda.com>
6130         * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
6131         * application-src/amraw.pl: New application.
6132         * installcheck/Makefile.am (client_tests): Add amraw.
6133         * installcheck/amraw.pl: Check amraw functionnality.
6134         * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
6135         * man/xml-source/amanda-applications.7.xml: Add amraw.8.
6136         * man/xml-source/amanda.8.xml: Add amraw.8.
6137         * man/xml-source/amraw.8.xml: New man page for amraw application.
6138         * perl/Amanda/Constants.pm.in: Add DD.
6139
6140 2009-10-05  Paul C. Mantz <pcmantz@zmanda.com>
6141         * server-src/reporter.c: exit code 0 with no output format
6142         specified, fixed default output destination
6143
6144 2009-10-02  Jean-Louis Martineau <martineau@zmanda.com>
6145         * common-src/debug.c (msg_timestamp): Print time in human readable
6146                                               format.
6147
6148 2009-10-01  Dustin J. Mitchell <dustin@zmanda.com>
6149         * device-src/ndmp-device.c:  remove some includes, remove recycle and
6150           erase, streaming desired, close the tape service on finish(), rewind
6151           less, and be more careful about setting errors exactly once
6152         * man/xml-source/amanda-devices.7.xml: document the device
6153
6154 2009-10-01  Paul C. Mantz <pcmantz@zmanda.com>
6155         * server-src/reporter.c: no report made unless destination
6156         argument given
6157
6158 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
6159         * application-src/amgtar.c (build_re_table, add_type_table,
6160                                     add_list_table): Remove function.
6161         * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
6162         * client-src/client_util.c (build_re_table, add_type_table,
6163                                    add_list_table): Add function.
6164         * client-src/client_util.h (build_re_table, add_type_table,
6165                                     add_list_table): Add prototype.
6166         * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
6167                 Add declaration.
6168         * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
6169                 Remove declaration.
6170         * client-src/sendsize.c: Rename 'struct regex_s' to
6171                                         'struct regex_scale_s'.
6172         * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
6173                                        properties.
6174
6175 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
6176         * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
6177                                                           name.
6178
6179 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
6180         * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
6181                                     command.
6182         * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
6183
6184 2009-09-30  Dustin J. Mitchell <dustin@zmanda.com>
6185         * server-src/dumper.c: runs setuid root
6186         * common-src/local-security.c: drop root privs
6187         * common-src/rsh-security.c: drop root privs
6188         * common-src/ssh-security.c: drop root privs
6189
6190 2009-09-29  Dustin J. Mitchell <dustin@zmanda.com>
6191         * amandad-src/amandad.h common-src/amanda.h: move constants
6192           to amanda.h
6193         * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
6194           inform the OpenBSD pthread library about high-numbered fd's created
6195           by amandad
6196         * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
6197           client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
6198           use openbsd_fd_infom
6199
6200 2009-09-28  Dustin J. Mitchell <dustin@zmanda.com>
6201         * common-src/util.h: fix comment
6202         * server-src/planner.c: planner runs setuid, so tell check_running_as
6203
6204 2009-09-28  Nikolas Coukouma <atrus@zmanda.com>
6205         * device-src/s3.c: fix day of the week in Date header
6206
6207 2009-09-25  Dustin J. Mitchell <dustin@zmanda.com>
6208         * common-src/amflock.c: set the return value
6209         * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
6210         * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
6211         * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
6212           handle configurations where no tape device is specified better
6213         * server-src/amtape.pl: handle the case where loaded_in == 0
6214
6215 2009-09-25  Nikolas Coukouma <atrus@zmanda.com>
6216         * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
6217
6218 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
6219         * man/xml-source/amanda-devices.7.xml: fix typo
6220
6221 2009-09-24  Paul C. Mantz <pcmantz@zmanda.com>
6222         * perl/Amanda/Report.pm: added accessor functions
6223         * installcheck/Amanda_Report.pl: tests
6224
6225 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
6226         * device-src/property.c: remove old property instance
6227
6228 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
6229         * man/xml-source/amanda-devices.7.xml: update property documentation
6230           and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
6231         * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
6232           device-src/property.c device-src/property.h device-src/device.c
6233           man/xml-source/amanda-changers.7.xml: rename property
6234         * device-src/tape-device.c: accept old and new property names
6235         * installcheck/Amanda_Device.pl: tests
6236
6237 2009-09-10  Jean-Louis Martineau <martineau@zmanda.com>
6238         * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
6239           DIRECTORY properties on restore
6240
6241 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
6242         * installcheck/Amanda_Device.pl: fix skip count
6243
6244 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
6245         * common-src/util.c common-src/util.h: allow to drop root privs
6246           entirely
6247         * common-src/pipespawn.c: drop root
6248         * amandad-src/amandad.c: check effective userid
6249         * common-src/krb5-security.c: check effective userid
6250         * server-src/amcheck.c: check effective userid
6251
6252 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
6253         * device-src/s3-device.c: handle EOT correctly
6254         * installcheck/Amanda_Device.pl: check for it
6255
6256 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
6257         * changer-src/chg-glue.pl common-src/amgetconf.pl
6258           common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
6259           device-src/amtapetype.pl installcheck/Amanda_Config.pl
6260           installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
6261           perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
6262           restore-src/amfetchdump.c server-src/amadmin.c
6263           server-src/amcheck-device.pl server-src/amcheck.c
6264           server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
6265           server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
6266           server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
6267           server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
6268           server-src/driver.c server-src/dumper.c server-src/planner.c
6269           server-src/reporter.c server-src/taper.pl: change "config_overwrite"
6270           to "config_override"
6271
6272 2009-09-05  Dustin J. Mitchell <dustin@zmanda.com>
6273         * server-src/amvault.pl: use destination volume filenums in amvault
6274
6275 2009-09-04  Dustin J. Mitchell <dustin@zmanda.com>
6276         * common-src/util.c: setuid(0) initially, so that we can release
6277           and acquire root privs
6278
6279 2009-09-03  Jean-Louis Martineau <martineau@zmanda.com>
6280         * device-src/ndmp-device.c: Include "ndmp-proxy.h".
6281
6282 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
6283         * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
6284           binary communication protocol
6285         * common-src/ipc-binary-test.c: tests for same
6286         * common-src/ndmp-protocol.h: removed
6287         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
6288           with ndmp-proxy, including protocol
6289         * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
6290         * common-src/Makefile.am: rename/add files
6291         * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
6292           ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
6293           use new protocol
6294
6295 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
6296         * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
6297
6298 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
6299         * device-src/ndmp-device.c: remove spurious #include of stream.c
6300
6301 2009-09-02  Jean-Louis Martineau <martineau@zmanda.com>
6302         * common-src/debug.c: Improve debugging.
6303         * restore-src/restore.h (rst_flags_t): Add header_to_fd.
6304         * restore-src/amidxtaped.c: set header_to_fd to 1.
6305         * restore-src/restore.c: Write header to header_to_fd.
6306         * restore-src/amfetchdump.c: Add --header-fd and --header-file
6307                                      arguments.
6308         * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
6309                                             --header-file argument.
6310
6311 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
6312         * perl/Amanda/Header.swg: remove spurious references to cmdline.h
6313
6314 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
6315         * ndmp-src/Makefile.am: fix dumb typos
6316
6317 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com
6318         * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
6319
6320 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
6321         * man/entities/global.entities.in man/xml-source/amadmin.8.xml
6322           man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
6323           man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
6324           man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
6325           man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
6326           man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
6327           man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
6328           man/xml-source/amvault.8.xml: use entities to represent config
6329           overwrites consistently
6330
6331 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
6332         * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
6333           cmdline.h in a client-only package
6334         * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
6335         * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
6336           tests
6337
6338 2009-08-31 Dan Locks <dwlocks@zmanda.com>
6339         * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
6340           %files for server.
6341
6342 2009-08-31  Jean-Louis Martineau <martineau@zmanda.com>
6343         * config/amanda/dumpers.m4: Give only a warning if user specified path
6344                                     is not correct for gtar and star.
6345
6346 2009-08-28  Dustin J. Mitchell <dustin@zmanda.com>
6347         * perl/Amanda/Device.pod: be explicit: finish_file is not for read
6348           mode
6349
6350 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
6351         * xfer-src/filter-process.c: fixed write warnings which were
6352           breaking Ubuntu builds
6353
6354 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
6355         * perl/Amanda/Logfile.swg: added four previously omitted program
6356         types
6357         * installcheck/Amanda_Logfile.pl: regression tests for the program
6358         types
6359
6360 2009-08-26  Jean-Louis Martineau <martineau@zmanda.com>
6361         * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
6362         * configure.in: Use AMANDA_PROG_STAR.
6363
6364 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
6365         * config/amanda/components.m4: Fix --with-amrecover=yes
6366
6367 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
6368         * ndmp-src/ndmp-protocol.h: Remove file.
6369         * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
6370         * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
6371
6372 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
6373         * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
6374         * configure.in: Use AMANDA_NDMP_DEVICE.
6375         * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
6376                                  andndmp_proxy_debug_level.
6377         * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
6378                                  and CNF_NDMP_PROXY_DEBUG_LEVEL
6379         * common-src/ndmp-protocol.h: Define protocol between amanda and
6380                                       ndmp-proxy.
6381         * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
6382                              connect_to_ndmp_proxy): New functions.
6383         * common-src/util.h: Add prototype for new functions.
6384         * device-src/Makefile.am: Build ndmp-device.
6385         * device-src/device.c: Use ndmp-device.
6386         * device-src/ndmp-device.c: New ndmp device.
6387         * device-src/tape-device.c: Small fix.
6388         * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
6389         * perl/Amanda/Config.swg: Export new CNF_* constants.
6390         * perl/Amanda/Ndmp.swg: New module for ndmp function.
6391         * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
6392         * perl/Amanda/Util.swg: New finish_application function.
6393         * perl/Makefile.am: Build Amanda::Ndmp
6394         * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
6395           stop_ndmp_proxy and finish_application.
6396
6397 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
6398         * man/xml-source/amfetchdump.8.xml: Document -h option.
6399         * restore-src/amfetchdump.c: Document -h option, pass the server
6400                                      feature set to search_tapes.
6401
6402 2009-08-24  Paul C. Mantz <pcmantz@zmanda.com>
6403         * perl/Amanda/Report.pm: Module for abstracting amreport data
6404         * perl/Makefile.am: compile the module
6405         * installcheck/Amanda_Report.pl: test for Amanda::Report
6406         * installcheck/Makefile.am: add the test to installcheck
6407
6408 2009-08-21  Dustin J. Mitchell <dustin@zmanda.com>
6409         * man/xml-source/amgtar.8.xml: changes suggested by Christopher
6410           <chrismcc@pricegrabber.com>
6411
6412 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
6413         * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
6414         * ndmp-src/Makefile.am: Link with libamanda
6415         * ndmp-src/ndmos_glib.h: Use strtoll.
6416
6417 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
6418         * ndmp-src/*: Import of ndmjob + ndmp-proxy.
6419         * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
6420         * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
6421         * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
6422         * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
6423         * Makefile.am: Build ndmp-src.
6424
6425 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
6426         * common-src/ipc-binary.c: New protocol
6427         * common-src/ipc-binary.h: New protocol header
6428         * common-src/Makefile.am: Compile it.
6429
6430 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
6431         * man/xml-source/amanda-changers.7.xml: Typo.
6432
6433 2009-08-20  Dustin J. Mitchell <dustin@zmanda.com>
6434         * man/xml-source/amanda-devices.7.xml: tweak
6435         * perl/Amanda/Changer.pm: fix configuration to also include device
6436           alias configuration
6437         * perl/Amanda/Device.pod: deprecate $dev->configure()
6438         * man/xml-source/amanda-changers.7.xml: better documentation
6439           of device configuration via changers
6440
6441 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
6442         * restore-src/Makefile.am restore-src/amrestore.c: remove
6443         * common-src/fileheader.c common-src/fileheader.h: add
6444           summarize_header
6445         * common-src/match.c: fix match_level bugs
6446         * installcheck/Amanda_Header.pl: test matches_dumpspecs
6447         * server-src/Makefile.am server-src/amrestore.pl: new perl version
6448         * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
6449           on to the next dumpfile
6450         * man/xml-source/amrestore.8.xml: update docs
6451         * perl/Amanda/Cmdline.pod: typo
6452         * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
6453           matches_dumpspec
6454         * installcheck/Amanda_Util.pl: test sanitise_filename
6455         * perl/Amanda/Util.pod: add sanitise_filename
6456
6457 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
6458         * xfer-src/filter-process.c: new xfer element
6459         * xfer-src/xfer-element.h: declare it
6460         * perl/Amanda/Xfer.swg: SWIG it
6461         * perl/Amanda/Xfer.pod: doc it
6462         * xfer-src/Makefile.am: build it
6463         * installcheck/Amanda_Xfer.pl: test it
6464
6465 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
6466         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
6467           to start(), and make the get_source method "low-level"
6468         * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
6469           installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
6470           device-src/amtapetype.pl: don't use get_source
6471         * perl/Amanda/MainLoop.pod: documentation tweak
6472
6473 2009-08-17  Dustin J. Mitchell <dustin@zmanda.com>
6474         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
6475           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
6476           perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
6477           release()
6478         * server-src/amcheck-device.pl: fix stupid bug
6479
6480 2009-08-14 Dan Locks <dwlocks@zmanda.com>
6481         * example/Makefile.am: split example into server and client
6482           installperms statements.
6483
6484 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
6485         * server-src/amlabel.pl: handle error in Amanda::Changer->new
6486
6487 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
6488         * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
6489         * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
6490           add a 'multi' dumpcache and refactor Dumpcache.pm
6491         * installcheck/Installcheck/Run.pm: better diagnostics, better access
6492           to stderr from successful runs
6493
6494 2009-08-12  Dustin J. Mitchell <dustin@zmanda.com>
6495         * installcheck/taper.pl: add a check for taper startup err
6496         * server-src/taper.pl: properly send a startup err instead of die()ing
6497         * perl/Amanda/IPC/LineProtocol.pm: fix typos
6498
6499 2009-08-05  Dustin J. Mitchell <dustin@zmanda.com>
6500         * man/xml-source/amdevcheck.8.xml: manpage tweaks
6501
6502 2009-08-05 Dan Locks <dwlocks@zmanda.com>
6503         * Thanks to Jim Barber for pointing out these bugs.
6504         * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
6505           packaging/deb/amanda-backup-server.postinst: replace all instances
6506           of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
6507         * packaging/deb/control: add build-depends for libglib2.0-dev
6508
6509 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6510         * installcheck/amcheck.pl: fix typo
6511
6512 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6513         * installcheck/amcheck.pl: put options before args for old getopts
6514         * installcheck/Makefile.am: only run amcheck check on full install
6515
6516 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6517         * installcheck/Makefile.am installcheck/amcheck.pl: new tests
6518         * server-src/amcheck.c: fix usage message
6519
6520 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6521         * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
6522
6523 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6524         * server-src/amcheck.c: initialize success properly
6525         * installcheck/mock/mtx.pl: another workaround for bad perl parser
6526
6527 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6528         * installcheck/amlabel.pl: update tests for new messages
6529         * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
6530           rewrite amlabel in perl to use new changer API
6531         * man/xml-source/amlabel.8.xml: overhaul manpage
6532         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
6533
6534 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6535         * server-src/amlabel.c server-src/amcheck.c: remove include of
6536           taperscan.h
6537
6538 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6539         * server-src/Makefile.am server-src/amcheck-device.pl
6540           server-src/amcheck.c: break out device-checking into a perl script
6541           invoked from amcheck
6542         * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
6543           script
6544         * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
6545           volumes explicitly marked as blank (timestamp="X")
6546         * server-src/taperscan.c server-src/taperscan.h: remove
6547
6548 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6549         * device-src/device.h: remove some comments that are now redundant
6550         * perl/Amanda/Device.pod: put primary Device documentation here,
6551           centralizing what used to be in the header file and on the wiki
6552
6553 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6554         * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
6555           confusing
6556
6557 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
6558         * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
6559
6560 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
6561         * device-src/tape-posix.c: use g_debug instead of dbprintf
6562
6563 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
6564         * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
6565           more than once in a scan object's lifetime
6566         * man/xml-source/amanda-taperscan.7.xml: document this
6567
6568 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
6569         * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
6570           rewrite amtape in perl
6571         * NEWS: describe changes
6572         * man/xml-source/amtape.8.xml: document behavior
6573         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6574           perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
6575           perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
6576           user_msg_fn
6577         * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
6578           tests to match new behavior
6579
6580 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
6581         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6582           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
6583           perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
6584           except_slots, to allow slot scanning
6585         * installcheck/Amanda_Changer_compat.pl
6586           installcheck/Amanda_Changer_disk.pl
6587           installcheck/Amanda_Changer_rait.pl
6588           installcheck/Amanda_Changer_robot.pl: test each implementation
6589
6590 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
6591         * perl/Makefile.am perl/Amanda/Changer/robot.pm:
6592           new changer
6593         * example/amanda.conf.in: adjust to correspond to new changers
6594         * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
6595         * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
6596         * man/xml-source/amanda-changers.7.xml: documentation for new changer
6597         * perl/Amanda/Changer.pm: POD tweak
6598
6599 2009-07-31 Dan Locks <dwlocks@zmanda.com>
6600         * packaging/deb/control, packaging/rpm/amanda.spec: add native
6601           package names to conflict list
6602
6603 2009-07-30 Dan Locks <dwlocks@zmanda.com>
6604         * example/Makefile.am: separates client from server example,
6605           label, and template files.
6606
6607 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
6608         * device-src/Makefile.am device-src/xfer-source-taper.c
6609           device-src/xfer-device.h: new xfer element
6610         * device-src/xfer-source-device.c: typos
6611         * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
6612         * perl/Amanda/XferServer.swg: SWIG it
6613         * perl/Amanda/Xfer.pod: docs
6614         * installcheck/Amanda_Xfer_serveronly.pl: test it
6615
6616 2009-07-30  Jean-Louis Martineau <martineau@zmanda.com>
6617         * application-src/amsuntar.pl: Fix open of fd3.
6618
6619 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
6620         * device-src/xfer-dest-taper.c: open disk cache twice instead of
6621           incorrectly relying on dup(); use a local variable to stop the
6622           disk cacher for sure at the end of each part
6623
6624 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
6625         * perl/Amanda/Changer.pm: add an inventory() method
6626         * perl/Amanda/Changer/disk.pm: implement
6627         * perl/Amanda/Changer/rait.pm: implement
6628         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
6629           installcheck/Amanda_Changer_disk.pl
6630           installcheck/Amanda_Changer_rait.pl: test
6631
6632 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
6633         * perl/Amanda/Changer.pm: do not release() reservations automatically
6634           when they go out of scope
6635         * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
6636           installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
6637           installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
6638           installcheck/Amanda_Changer_single.pl: don't depend on auto-release
6639
6640 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
6641         * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
6642           shuffle vtapes instead of linking, and support 'nobarcode'
6643         * installcheck/mock_mtx.pl: test it
6644
6645 2009-07-28  Nikolas Coukouma <atrus@zmanda.com>
6646         * installcheck/Installcheck.pm: Add a function for including Test::More
6647           messages in debug logs (and document it). Move mkpath($TMP) into an
6648           INIT block.
6649         * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
6650           installcheck/Amanda_Changer_disk.pl,
6651           installcheck/Amanda_Changer_null.pl,
6652           installcheck/Amanda_Changer_rait.pl,
6653           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
6654           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
6655           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
6656           installcheck/Amanda_IPC_LineProtocol.pl,
6657           installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
6658           installcheck/Amanda_Taper_Scan_traditional.pl,
6659           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
6660           installcheck/Amanda_Xfer_serveronly.pl,
6661           installcheck/amrmtape.pl, installcheck/amtape.pl,
6662           installcheck/taper.pl: use Installcheck::log_test_output()
6663
6664 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
6665         * perl/Amanda/Changer.pm: add a get_boolean_property helper method
6666
6667 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
6668         * config/amanda/defaults.m4: remove --with-changer-device
6669         * common-src/conffile.c: make NULL the default
6670         * example/amanda.conf.in: remove reference to the default
6671         * NEWS: note that option is no longer available
6672
6673 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
6674         * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
6675           variables, and just syntax-check everything
6676         * amar-src/Makefile.am application-src/Makefile.am
6677           changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
6678           device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
6679           adjust makefiles to match
6680         * perl/Amanda/Changer/rait.pm: fix some warnings
6681
6682 2009-07-24  Jean-Louis Martineau <martineau@zmanda.com>
6683         * amandad-src/amandad.c: Fix fd allocation.
6684
6685 2009-07-21 Dan Locks <dwlocks@zmanda.com>
6686         * example/Makefile.am: add missing trailing slash
6687
6688 2009-07-18  Dustin J. Mitchell <dustin@zmanda.com>
6689         * installcheck/taper.pl: one more check for the taper's DONE
6690
6691 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
6692         * installcheck/taper.pl: add a check for the taper's DONE
6693
6694 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
6695         * server-src/xfer-source-holding.c: fix a race condition with
6696           self->dest_taper
6697
6698 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
6699         * server-src/Makefile.am: fix to distribute taper.pl
6700
6701 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
6702         * installcheck/Amanda_Taper_Scribe.pl: fix test
6703
6704 2009-07-17  Nikolas Coukouma <atrus@zmanda.com>
6705         * installcheck/taper.pl: remove cruft
6706         * server-src/Makefile.am: remove cruft
6707         * server-src/taper.pl: fix copyright statement
6708
6709 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
6710         * server-src/taper.pl: new taper (in perl)
6711         * installcheck/taper.pl: update tests
6712         * server-src/Makefile.am server-src/taper-disk-port-source.c
6713           server-src/taper-disk-port-source.h server-src/taper-file-source.c
6714           server-src/taper-file-source.h server-src/taper-mem-port-source.c
6715           server-src/taper-mem-port-source.h server-src/taper-port-source.c
6716           server-src/taper-port-source.h server-src/taper-source-test.c
6717           server-src/taper-source.c server-src/taper-source.h
6718           server-src/taper.c: deleted
6719
6720 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
6721         * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
6722         * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
6723
6724 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
6725         * server-src/diskfile.c: add missing _()
6726
6727 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
6728         * man/Makefile.am man/xml-source/amanda.8.xml
6729           man/xml-source/amanda-compatibility.7.xml: add new manpage describing
6730           inter-version compatibility
6731         * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
6732
6733 2009-07-16  Jean-Louis Martineau <martineau@zmanda.com>
6734         * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
6735
6736 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
6737         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6738           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
6739           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
6740           remove $res->{'next_slot'} in favor of $chg->load(relative_slot
6741           => 'next', slot => $slot)
6742         * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
6743           server-src/amvault.pl: use new form
6744         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
6745           installcheck/Amanda_Changer_disk.pl
6746           installcheck/Amanda_Changer_rait.pl: test it
6747
6748 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
6749         * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
6750         * NEWS: describe removed keyword
6751         * installcheck/Amanda_Config.pl: don't test for it anymore
6752
6753 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
6754         * perl/Amanda/Changer.pm: new with_locked_state method to help
6755           subclasses access a locked statefile
6756         * installcheck/Amanda_Changer.pl: test new method
6757         * perl/Amanda/Changer/disk.pm: use new method
6758
6759 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
6760         * common-src/amflock.h common-src/amflock.c: new fcntl-based
6761           file locking support
6762         * common-src/amflock-test.c: test them
6763         * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
6764         * installcheck/Amanda_Util.pl: test that too
6765
6766 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
6767         * gnulib/regenerate/regenerate: add ftruncate and lseek modules
6768         * config/config.rpath config/gnulib/* gnulib/*: new modules
6769
6770 2009-07-14  Dustin J. Mitchell <dustin@zmanda.com>
6771         * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
6772         * installcheck/Amanda_DB_Catalog.pl: test same
6773
6774 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
6775         * server-src/driverio.c: Print strerror if update of infofile failed.
6776
6777 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
6778         * config/automake/scripts.am: Fix *.nouselib creation.
6779
6780 2009-07-13  Dustin J. Mitchell <dustin@zmanda.com>
6781         * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
6782         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
6783           perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
6784           implement
6785         * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
6786           installcheck/Amanda_Changer_compat.pl
6787           installcheck/Amanda_Changer_disk.pl
6788           installcheck/Amanda_Changer_null.pl
6789           installcheck/Amanda_Changer_rait.pl
6790           installcheck/Amanda_Changer_single.pl
6791           server-src/amvault.pl: use new key
6792
6793 2009-07-13  Jean-Louis Martineau <martineau@zmanda.com>
6794         * application-src/amsamba.pl: Fix parsing domain in amandapass.
6795
6796 2009-07-11  Dustin J. Mitchell <dustin@zmanda.com>
6797         * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
6798
6799 2009-07-10  Nikolas Coukouma <atrus@zmanda.com>
6800         * device-src/s3-device.c: fix calls to erase() before start()
6801         * installcheck/data/aws-bundle.crt: use a larger certificate bundle
6802         * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
6803           with custom certificate bundle, test erase() before start(),
6804           try to do more with an invalid certificate bundle
6805
6806 2009-07-10  Dustin J. Mitchell <dustin@zmanda.com>
6807         * configure.in: don't generate all of the example/ files here
6808         * example/Makefile.am: generate them here
6809         * example/chg-mcutil.conf.in: removed
6810         * example/config.site: removed
6811
6812 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6813         * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
6814           instead of 'current', as required by previous change
6815
6816 2009-07-09  Alan Hodgson <ahodgson@simkin.ca>
6817         * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
6818         * man/xml-source/amgtar.8.xml: document them
6819
6820 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6821         * common-src/util.c common-src/util.h: add quote_string_always
6822         * common-src/conffile.c: use it to quote strings on output from config
6823
6824 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6825         * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
6826           VERSION_MAJOR, _MINOR, etc.
6827         * common-src/version.h: remove everything but version_info
6828         * client-src/versionsuffix.c client-src/Makefile.am: remove
6829           versionsuffix app
6830         * configure.in: remove versuff.c
6831         * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
6832           USE_VERSION_SUFFIXES
6833         * other source files: change version() to VERSION, remove
6834           versionsuffix() calls, remove unnecessary #include "version.h",
6835           and remove other uses of suffixes
6836
6837 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6838         * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
6839          of 'current', so the vtape root works as a device
6840         * man/xml-source/amanda-changers.7.xml: document
6841
6842 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6843         * amandad-src/amandad.c: conditionalize UID checks
6844
6845 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6846         * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
6847           prefer 'application' and 'script' to 'application-tool' and
6848           'script-tool', but accept both
6849         * common-src/amgetconf.pl: accept both
6850         * installcheck/Installcheck/Config.pm: add_text()
6851         * installcheck/Amanda_Config.pl: test changes
6852         * installcheck/amgetconf.pl: test changes
6853         * man/xml-source/amanda-client.conf.5.xml: document
6854         * man/xml-source/amanda.conf.5.xml: document
6855
6856 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
6857         * AUTHORS: update, add notes about contribution licensing
6858
6859 2009-07-06  Dustin J. Mitchell <dustin@zmanda.com>
6860         * changer-src/chg-glue.pl: unref the device, in hopes it will
6861           close the open file descriptor so that tape devices can be used
6862           from the process that invoked chg-glue
6863
6864 2009-07-03  Dustin J. Mitchell <dustin@zmanda.com>
6865         * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
6866
6867 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
6868         * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
6869
6870 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
6871         * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
6872           perl/Makefile.am: add Perl implementation of the traditional taperscan
6873           algorithm
6874         * installcheck/Amanda_Taper_Scan.pl
6875           installcheck/Amanda_Taper_Scan_traditional.pl
6876           installcheck/Makefile.am: test
6877         * perl/Amanda/Changer/disk.pm: test support tweak
6878         * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
6879           with a full description of the traditional algo
6880         * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
6881
6882 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
6883         * perl/Amanda/MainLoop.swg: add synchronized()
6884         * perl/Amanda/MainLoop.pod: document it
6885         * installcheck/Amanda_MainLoop.pl: test it
6886         * perl/Amanda/Changer/compat.pm: and use it
6887
6888 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
6889         * device-src/s3.c, installcheck/Amanda_Device.pl:
6890           Don't allow dots in bucket names, for compatability with
6891           libcurl built against NSS.
6892
6893 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
6894         * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
6895           Test using a certificate bundle with the S3 device
6896
6897 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
6898         * common-src/conffile.c: New ORDER keyword in script section.
6899         * common-src/conffile.h: New ORDER keyword in script section.
6900         * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
6901         * perl/Amanda/Config.swg: Bing ORDER keyword.
6902         * application-src/amlog-script.pl: Add --text parameter.
6903         * installcheck/pp-scripts.pl: Check execution order.
6904
6905 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
6906         * restore-src/amfetchdump.c, restore-src/amrestore.c,
6907           restore-src/restore.c: Add debugging.
6908
6909 2009-06-22  Jean-Louis Martineau <martineau@zmanda.com>
6910         * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
6911
6912 2009-06-19 Dan Locks <dwlocks@zmanda.com>
6913         * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
6914           changes to packages.
6915
6916 2009-06-19 Dan Locks <dwlocks@zmanda.com>
6917         * packaging/deb/server/control, packaging/deb/client/control: update
6918           depends to list libcurl3 or 4.
6919
6920 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
6921         * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
6922           explicit about maintaining tape order with a stable sort
6923         * perl/Amanda/Tapelist.pod: document it
6924         * man/xml-source/tapelist.5.xml: manpages too
6925         * installcheck/Amanda_Tapelist.pl: test it
6926         * installcheck/Makefile.am: sort alphabetically
6927
6928 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
6929         * perl/Amanda/Util.swg: expose get_fs_usage in perl
6930         * installcheck/Amanda_Util.pl: test it
6931         * perl/Amanda/Util.pod: document it
6932
6933 2009-06-19  Jean-Louis Martineau <martineau@zmanda.com>
6934         * server-src/reporter.c: Use the filenum from the PART line.
6935                                  Keep the filenum of the first part.
6936
6937 2009-06-19  Nikolas Coukouma <atrus@zmanda.com>
6938         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
6939           application-src/amlog-script.pl, application-src/ampgsql.pl,
6940           application-src/amsamba.pl, application-src/amsuntar.pl,
6941           application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
6942           application-src/script-email.pl, changer-src/chg-glue.pl,
6943           common-src/amaespipe.sh, common-src/amcryptsimple.pl,
6944           common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
6945           common-src/event-test.c, common-src/glib-util.c,
6946           common-src/glib-util.h, common-src/queueing-test.c,
6947           common-src/queueing.c, common-src/queueing.h,
6948           common-src/quoting-test.c, common-src/semaphore-test.c,
6949           common-src/semaphore.c, common-src/semaphore.h,
6950           common-src/simpleprng.c, common-src/simpleprng.h,
6951           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
6952           common-src/testutils.c, common-src/testutils.h,
6953           config/automake/scripts.am, config/automake/vars.am,
6954           config/macro-archive/docbook-dtd.m4,
6955           config/macro-archive/docbook-xslt-min.m4,
6956           config/macro-archive/docbook-xslt.m4,
6957           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
6958           device-src/amtapetype.pl, device-src/device-queueing.c,
6959           device-src/device-queueing.h, device-src/device.c,
6960           device-src/device.h, device-src/null-device.c, device-src/property.c,
6961           device-src/property.h, device-src/rait-device.c,
6962           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
6963           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
6964           device-src/tape-device.c, device-src/tape-device.h,
6965           device-src/tape-ops.h, device-src/tape-posix.c,
6966           device-src/tape-uware.c, device-src/tape-xenix.c,
6967           device-src/vfs-device.c, device-src/vfs-test.c,
6968           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
6969           device-src/xfer-device.h, device-src/xfer-source-device.c,
6970           installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
6971           installcheck/Amanda_Changer_compat.pl,
6972           installcheck/Amanda_Changer_disk.pl,
6973           installcheck/Amanda_Changer_null.pl,
6974           installcheck/Amanda_Changer_rait.pl,
6975           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
6976           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
6977           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
6978           installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
6979           installcheck/Amanda_Holding.pl,
6980           installcheck/Amanda_IPC_LineProtocol.pl,
6981           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
6982           installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
6983           installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
6984           installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
6985           installcheck/Installcheck/Application.pm,
6986           installcheck/Installcheck/Changer.pm,
6987           installcheck/Installcheck/Config.pm,
6988           installcheck/Installcheck/Dumpcache.pm,
6989           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
6990           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
6991           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
6992           installcheck/amdump.pl, installcheck/amfetchdump.pl,
6993           installcheck/amgetconf.pl, installcheck/amgtar.pl,
6994           installcheck/ampgsql.pl, installcheck/amreport.pl,
6995           installcheck/amrmtape.pl, installcheck/amservice.pl,
6996           installcheck/amstatus.pl, installcheck/amtape.pl,
6997           installcheck/amtapetype.pl, installcheck/bigint.pl,
6998           installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
6999           installcheck/pp-scripts.pl, installcheck/taper.pl,
7000           perl/Amanda/Application.pod, perl/Amanda/Application.swg,
7001           perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
7002           perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
7003           perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
7004           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
7005           perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
7006           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
7007           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
7008           perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
7009           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
7010           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
7011           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
7012           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
7013           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
7014           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
7015           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
7016           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
7017           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
7018           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
7019           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
7020           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
7021           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
7022           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
7023           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
7024           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
7025           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
7026           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
7027           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
7028           server-src/amcheckdump.pl, server-src/amcleanup.pl,
7029           server-src/amrmtape.pl, server-src/amserverconfig.pl,
7030           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
7031           server-src/taper-disk-port-source.c,
7032           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
7033           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
7034           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
7035           server-src/taper-port-source.h, server-src/taper-source.c,
7036           server-src/taper-source.h, server-src/taperscan.c,
7037           server-src/taperscan.h, server-src/xfer-server.h,
7038           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
7039           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
7040           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
7041           xfer-src/source-pattern.c, xfer-src/source-random.c,
7042           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
7043           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
7044           xfer-src/xmsg.c, xfer-src/xmsg.h:
7045           update/correct copyright notice years
7046
7047 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
7048         * config/automake/scripts.am: support scripts with subdirs
7049
7050 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
7051         * installcheck/mock/mtx.pl: new "mock" mtx for testing
7052         * installcheck/mock_mtx.pl: test the test mtx
7053         * installcheck/Installcheck/Mock.pm: support for using mtx
7054         * installcheck/Installcheck/Run.pm: don't apply sbindir if there
7055           are any slashes in the app name
7056         * installcheck/Makefile.am: new files
7057
7058 2009-06-16  Jean-Louis Martineau <martineau@zmanda.com>
7059         * server-src/planner.c: Fix for bump from level 9 to 10.
7060
7061 2009-06-13  Dustin J. Mitchell <dustin@zmanda.com>
7062         * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
7063           calls to chg-compat's info() (tests the fix committed 2009-06-01)
7064
7065 2009-06-12  Dustin J. Mitchell <dustin@zmanda.com>
7066         * config/amanda/flags.m4: fix --enable-werror macro
7067
7068 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
7069         * server-src/planner.c: Print how tape_length is computed.
7070
7071 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
7072         * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
7073         * man/xml-source/amanda-client.conf.5.xml: Typo.
7074         * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
7075
7076 2009-06-11  Nikolas Coukouma <atrus@zmanda.com>
7077         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
7078           common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
7079           common-src/queueing.h, common-src/semaphore-test.c,
7080           common-src/semaphore.c, common-src/semaphore.h,
7081           config/automake/scripts.am, config/automake/vars.am,
7082           device-src/device-queueing.c, device-src/device-queueing.h,
7083           device-src/device.c, device-src/device.h, device-src/null-device.c,
7084           device-src/property.c, device-src/property.h,
7085           device-src/rait-device.c, device-src/s3-device.c,
7086           device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
7087           device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
7088           device-src/tape-device.h, device-src/tape-ops.h,
7089           device-src/tape-posix.c, device-src/tape-uware.c,
7090           device-src/tape-xenix.c, device-src/vfs-device.c,
7091           device-src/vfs-test.c, device-src/xfer-dest-device.c,
7092           device-src/xfer-dest-taper.c, device-src/xfer-device.h,
7093           device-src/xfer-source-device.c, perl/Amanda/Application.pod,
7094           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
7095           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
7096           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
7097           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
7098           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
7099           perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
7100           perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
7101           perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
7102           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
7103           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
7104           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
7105           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
7106           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
7107           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
7108           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
7109           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
7110           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
7111           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
7112           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
7113           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
7114           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
7115           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
7116           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
7117           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
7118           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
7119           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
7120           perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
7121           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
7122           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
7123           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
7124           server-src/taper-port-source.h, server-src/taper-source.c,
7125           server-src/taper-source.h, server-src/xfer-server.h,
7126           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
7127           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
7128           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
7129           xfer-src/source-pattern.c, xfer-src/source-random.c,
7130           xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
7131           xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
7132           relincense LGPL files under the GPL
7133
7134 2009-06-10  Paul C. Mantz <pcmantz@zmanda.com>
7135         * perl/Amanda/Application.pod: moved from .swg file
7136         * perl/Amanda/Application.swg: removed pod documentation
7137         * perl/Amanda/Archive.pod: moved from .swg file
7138         * perl/Amanda/Archive.swg: removed pod documentation
7139         * perl/Amanda/Cmdline.pod: moved from .swg file
7140         * perl/Amanda/Cmdline.swg: removed pod documentation
7141         * perl/Amanda/Config.pod: moved from .swg file
7142         * perl/Amanda/Config.swg: removed pod documentation
7143         * perl/Amanda/Debug.pod: moved from .swg file
7144         * perl/Amanda/Debug.swg: removed pod documentation
7145         * perl/Amanda/Device.pod: moved from .swg file
7146         * perl/Amanda/Device.swg: removed pod documentation
7147         * perl/Amanda/Disklist.pod: moved from .swg file
7148         * perl/Amanda/Disklist.swg: removed pod documentation
7149         * perl/Amanda/Header.pod: moved from .swg file
7150         * perl/Amanda/Header.swg: removed pod documentation
7151         * perl/Amanda/Logfile.pod: moved from .swg file
7152         * perl/Amanda/Logfile.swg: removed pod documentation
7153         * perl/Amanda/MainLoop.pod: moved from .swg file
7154         * perl/Amanda/MainLoop.swg: removed pod documentation
7155         * perl/Amanda/Tapelist.pod: moved from .swg file
7156         * perl/Amanda/Tapelist.swg: removed pod documentation
7157         * perl/Amanda/Tests.pod: moved from .swg file
7158         * perl/Amanda/Tests.swg: removed pod documentation
7159         * perl/Amanda/Util.pod: moved from .swg file
7160         * perl/Amanda/Util.swg: removed pod documentation
7161         * perl/Amanda/Xfer.pod: moved from .swg file
7162         * perl/Amanda/Xfer.swg: removed pod documentation
7163         * perl/Amanda/XferServer.pod: moved from .swg file
7164         * perl/Amanda/XferServer.swg: removed pod documentation
7165         * perl/Makefile.am: added pod files to tar dist
7166
7167 2009-06-05  Nikolas Coukouma <atrus@zmanda.com>
7168         * installcheck/Amanda_Device.pl: test device named just "s3:"
7169
7170 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
7171         * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
7172           Olsen <herolsen@alumni.upenn.edu>
7173
7174 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
7175         * config/amanda/dumpers.m4: fix quoting for shell portability
7176
7177 2009-06-02  Nikolas Coukouma <atrus@zmanda.com>
7178         * device-src/s3.c: retry S3 uploads on DNS failure
7179
7180 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7181         * installcheck/Installcheck/Config.pm: add remove_param
7182         * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
7183
7184 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7185         * perl/Amanda/Header.swg: add :constant tag
7186         * server-src/amvault.pl: use it
7187
7188 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7189         * device-src/s3-device.c: start delete at file 1
7190
7191 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7192         * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
7193
7194 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
7195         * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
7196           message before existing; fixes problems on OS X
7197
7198 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
7199         * server-src/amindexd.c: fix sscanf.
7200
7201 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
7202         * server-src/reporter.c: Print only the first 100 lines in FAiL and
7203                                  STRANGE detail section.
7204
7205 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
7206         * common-src/match.c: Match UNC name diskname.
7207         * man/xml-source/amanda.8.xml: Document UNC matcher.
7208
7209 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
7210         * client-src/client_util.c: Improve error reporting.
7211         * client-src/sendsize.c: Typo
7212         * client-src/selfcheck.c: Execute application with --calcsize even if
7213                                   it not the first estimate.
7214         * application-src/amgtar.c: Check calcsize binary.
7215         * application-src/amstar.c: Check calcsize binary.
7216         * server-src/planner.c: log sendsize error as warning if a server
7217                                 estimate is available.
7218
7219 2009-05-26  Jean-Louis Martineau <martineau@zmanda.com>
7220         * application-src/amgtar.c: Set MAX_LEVEL to 399.
7221         * common-src/amanda.h: Set DUMP_LEVELS to 400.
7222         * client-src/amandates.h: Remove DUMP_LEVELS.
7223         * server-src/infofile.h: Remove DUMP_LEVELS
7224         * server-src/amtrmidx.c: Fix for level with more than one digit.
7225         * server-src/amindexd.c, server-src/find.c
7226           server-src/reporter.c: Use DUMP_LEVELS.
7227
7228 2009-05-25  Dustin J. Mitchell <dustin@zmanda.com>
7229         * device-src/xfer-dest-taper.c: make the pointers, not the objects,
7230           volatile
7231
7232 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
7233         * common-src/fileheader.c: use %zu for a size_t argument.
7234
7235 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
7236         * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
7237         * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
7238         * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
7239
7240 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
7241         * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
7242         * perl/Amanda/Util.swg: add split_quoted_strings
7243         * common-src/util.c: handle NULL string correctly
7244         * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
7245           installcheck/Makefile.am: tests for all
7246
7247 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
7248         * installcheck/amservice.pl: call $testconfig->write();
7249
7250 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
7251         * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
7252           size heuristic; handle the case where extra slabs are still in memory
7253           when rewinding a disk-cached part; add 'volatile' and make memory
7254           access safer; use a cache directory, not file
7255         * device-src/xfer-device.h: use a cache directory, not file
7256         * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
7257         * perl/Amanda/Xfer.swg: use cache directory
7258         * perl/Amanda/XferServer.swg: use cache directory
7259
7260 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7261         * common-src/fileheader.c: use %zd for a size_t argument
7262
7263 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7264         * common-src/fileheader.c: don't automatically call dump_fileheader_t
7265           in build_header
7266         * server-src/dumper.c server-src/holding.c server-src/taper.c
7267           server-src/chunker.c: add debug messages as necessary
7268
7269 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7270         * device-src/amdevcheck.pl: move from server-src/
7271         * device-src/Makefile.am server-src/Makefile.am: move script
7272
7273 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7274         * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
7275         * installcheck/Amanda_Changer_compat.pl: test it
7276
7277 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
7278         * amandad-src/Makefile.am application-src/Makefile.am
7279           oldrecover-src/Makefile.am recover-src/Makefile.am
7280           restore-src/Makefile.am: remove LIB_EXTENSION
7281         * config/amanda/defaults.m4 config/amanda/devprefix.m4
7282           config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
7283           config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
7284           config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
7285           config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
7286           AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
7287           compilers!)
7288
7289 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
7290         * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
7291
7292 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
7293         * client-src/sendbackup.c: Compatibity with 2.4.2 server.
7294
7295 2009-05-22  Dustin J. Mitchell <dustin@zmanda.com>
7296         * device-src/vfs-device.c: close the tapelabel file after reading it
7297
7298 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
7299         * server-src/planner.c: Fix for 'estimate calcsize server' with older
7300                                 client.
7301
7302 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
7303         * common-src/queueing.c: set queue_fd->errmsg.
7304         * restore-src/restore.c: report queue_fd.errmsg
7305         * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
7306           Check validation status before reporting status.
7307
7308
7309 2009-05-21  Dustin J. Mitchell <dustin@zmanda.com>
7310         * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
7311
7312 2009-05-20  Jean-Louis Martineau <martineau@zmanda.com>
7313         * restore-src/restore.c: Report error.
7314
7315 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
7316         * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
7317           is true; same for tapedev
7318
7319 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
7320         * server-src/changer.c: revert a change (from 2009-02-20) which caused
7321           taperscan to not do a sequential scan if stage one fails
7322
7323 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
7324         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
7325           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
7326           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
7327           add a fast_search info key
7328         * installcheck/Amanda_Changer_compat.pl
7329           installcheck/Amanda_Changer_disk.pl
7330           installcheck/Amanda_Changer_null.pl
7331           installcheck/Amanda_Changer_rait.pl
7332           installcheck/Amanda_Changer_single.pl: test it
7333         * changer-src/chg-glue.pl: and use it to reflect searchability to old
7334           changer API users
7335
7336 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
7337         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
7338           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
7339           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
7340           changers return full devices, not just device names, and
7341           configure those devices based on device_property parameters
7342           specified in 'changer' configuration sections
7343         * changer-src/chg-glue.pl: return the device_name from the device
7344           (thereby losing the config info)
7345         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
7346           add changer properties and device_properties
7347         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
7348           installcheck/Amanda_Changer_disk.pl
7349           installcheck/Amanda_Changer_null.pl
7350           installcheck/Amanda_Changer_rait.pl
7351           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
7352           installcheck/amrmtape.pl: test changer changes
7353         * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
7354           device manually
7355
7356 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
7357         * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
7358         * installcheck/Amanda_MainLoop.pl: ..so don't test it
7359
7360 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
7361         * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
7362           in many cases
7363
7364 2009-05-19  Jean-Louis Martineau <martineau@zmanda.com>
7365         * common-src/conffile.c: Add reapply_config_overwrites.
7366         * common-src/conffile.h: Add prototype of reapply_config_overwrites.
7367         * perl/Amanda/Config.swg: Add reapply_config_overwrites.
7368         * recover-src/amrecover.c: Call reapply_config_overwrites.
7369
7370 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
7371         * perl/Amanda/MainLoop.swg: new high-level call_after,
7372           call_on_child_termination, async_read, async_write; POD for new functions; and
7373           description of good async style
7374         * installcheck/Amanda_MainLoop.pl: test new functions
7375         * perl/amglue/filehandles.swg: use SvIOK
7376
7377 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
7378         * perl/Makefile.am: add -Werror on gcc
7379
7380 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
7381         * server-src/driver.c: Fix crash in amflush.
7382
7383 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
7384         * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
7385           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
7386           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
7387           perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
7388           perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
7389
7390 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
7391         * installcheck/Installcheck.pm:always create $Installcheck::TMP;
7392           package returns 1
7393         * installcheck/Installcheck/Run.pm: export run_expect
7394         * installcheck/amarchiver.pl: quote a path
7395
7396 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
7397         * perl/Amanda/Changer/compat.pm: qualify one last debug message
7398
7399 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
7400         * perl/Amanda/XferServer.swg: include xfer-server.h
7401
7402 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
7403         * common-src/debug.c common-src/debug.h: refactor set_logerr
7404           and erroutput_type into a more flexible amanda_log_handler system
7405         * server-src/logfile.c server-src/logfile.h: provide
7406           amanda_log_trace_log
7407         * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
7408         * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
7409         * amandad-src/amandad.c application-src/amgtar.c
7410           application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
7411           client-src/sendbackup.c client-src/sendsize.c
7412           restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
7413           server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
7414           server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
7415           server-src/chunker.c server-src/driver.c server-src/dumper.c
7416           server-src/planner.c server-src/reporter.c server-src/taper.c: use new
7417           system
7418
7419 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
7420         * common-src/debug.c: Fix memory leak.
7421
7422 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
7423         * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
7424           refactoring
7425         * installcheck/Amanda_Changer_rait.pl: update tests to expect it
7426
7427 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
7428         * perl/Amanda/Device.swg: parse string values for properties
7429         * installcheck/Amanda_Device.pl: test
7430
7431 2009-05-12  Jean-Louis Martineau <martineau@zmanda.com>
7432         * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
7433
7434 2009-05-08  Dustin J. Mitchell <dustin@zmanda.com>
7435         * perl/Amanda/Logfile.swg: add log_add
7436         * installcheck/Amanda_Logfile.pl: test it
7437
7438 2009-05-08  Jean-Louis Martineau <martineau@zmanda.com>
7439         * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
7440
7441 2009-05-07  Chris Hoogendyk <hoogendyk@bio.umass.edu>
7442         * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
7443           "service"
7444
7445 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
7446         * server-src/changer.c: remove unused variable
7447
7448 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
7449             Jean-Louis Martineau <martineau@zmanda.com>
7450         * common-src/debug.c: do not use a mutex in debug_printf
7451         * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
7452           do not call debug_printf after fork()
7453
7454 2009-05-06  Dustin J. Mitchell <dustin@zmanda.com>
7455         * server-src/taper.c: check for division by zero and don't print 'nan'
7456           for kbps
7457         * installcheck/taper.pl: don't expect 'nan'
7458
7459 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
7460         * server-src/amrmtape.pl: try loading disklist before erasing,
7461           before amadmin tries (and possibly fails)
7462
7463 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
7464         * man/xml-source/amdevcheck.8.xml: Document exit code.
7465         * server-src/amdevcheck.pl: change exit code.
7466
7467 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
7468         * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
7469           taper
7470         * installcheck/Installcheck/Config.pm: cleanup
7471         * installcheck/Installcheck/Run.pm: cleanup
7472
7473 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
7474         * server-src/taper-mem-port-source.c
7475           server-src/taper-disk-port-source.c: continue reading from the port
7476           after the cache is exhausted, instead of terminating the part abruptly
7477           (which can lead to insertion of spurious zeros into the dumpfile);
7478           also remove some unnecessary assertions (g_return_val_if_fail)
7479         * server-src/taper-file-source.c: use correct unit on part size;
7480           correctly calculate estimated number of parts
7481         * server-src/taper-port-source.c: replace assertion with 'if'
7482
7483 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
7484         * server-src/amdevcheck.pl: Add '--label' option.
7485         * man/xml-source/amdevcheck.8.xml: Document '--label' option.
7486
7487 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
7488         * application-src/ampgsql.pl: accept gnutar-path option;
7489           use absolute path when calling unlink()
7490
7491 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
7492         * server-src/taper.c: do not include a partial part in the size
7493           calculation
7494
7495 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
7496         * server-src/driver.c: Fix deadlock.
7497
7498 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
7499         * application-src/amgtar.c, application-src/amstar.c: Validate if
7500           binary not available.
7501
7502 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
7503         * application-src/amstar.c: Compile pattern once.
7504                                     Remove a superfluous '\n'.
7505
7506 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
7507         * application-src/amstar.c: Handle hard link.
7508
7509 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
7510         * server-src/changer.c: s/execve/execv
7511
7512 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
7513         * server-src/changer.c: Pass command override to chg-glue.
7514         * changer-src/chg-glue.pl: Parse command override.
7515
7516 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
7517         * server-src/amadmin.c: Fix error reporting in find subcommand.
7518
7519 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
7520         * recover-src/amrecover.h: Change prototype.
7521         * recover-src/extract_list.c: merge_path, abort if cd_* failed.
7522         * recover-src/set_commands.c: Many functions return 0 or 1.
7523
7524 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
7525         * application-src/amsuntar.pl: Fix redirection in validate command.
7526
7527 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
7528         * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
7529           man/xml-source/amflush.8.xml,
7530           man/xml-source/amrestore.8.xml: Fix order of -o argument.
7531         * restore-src/amfetchdump.c, restore-src/amrestore.c,
7532           server-src/amcheck.c,
7533           server-src/amflush.c: Fix order of -o argument in usage function.
7534
7535 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
7536         * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
7537                                        expression section.
7538
7539 2009-04-28  Nikolas Coukouma <atrus@zmanda.com>
7540         * application-src/ampgsql.pl: remove checks for PG-DATADIR
7541
7542 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
7543         * application-src/ampgsql.pl: lowercase property names when accessing them
7544
7545 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
7546         * application-src/ampgsql.pl: fix debug printing of property names,
7547           add parent directory checks to selfcheck command,
7548           check psql binary path, fix whitespace
7549         * perl/Amanda/Application.swg: update usage docs
7550         * installcheck/Installcheck/Application.pm: fix formatting tags
7551           remove 'level' argument from selfcheck command
7552         * installcheck/ampgsql.pl: test selfcheck command a bit
7553
7554 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
7555         * server-src/amcheck.c: Remove "Usage of fully qualified hostname
7556           recommended for Client" warning.
7557
7558 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
7559         * application-src/amsamba.pl: Use device if specified.
7560
7561 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
7562         * client-src/sendbackup.c: Fix dbprintf statements.
7563
7564 2009-04-24  Jean-Louis Martineau <martineau@zmanda.com>
7565         * application-src/amsuntar.pl: Add LANG property.
7566         * man/xml-source/amsuntar.8.xml: Document LANG property.
7567
7568 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
7569         * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
7570           add strange regex for UTF-8, estimate fail only if an output match
7571           an error regex or if an output match nothing.
7572
7573 2009-04-23  Dustin J. Mitchell <dustin@zmanda.com>
7574         * server-src/amcheckdump.pl: request tapes manually when using
7575           Amanda::Changer::single
7576
7577 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
7578         * application-src/amsuntar.pl: Fix validate command.
7579
7580 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
7581         * server-src/amcheckdump.pl: Wait for an input before reading tape.
7582
7583 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
7584         * application-src/amsamba.pl: Parse username ending with '%'.
7585
7586 2009-04-22  Sam Couter <sam@couter.id.au>
7587         * changer-src/chg-glue.pl: return a helpful error message when
7588           Amanda::Changer->new() fails
7589
7590 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
7591         * server-src/amstatus.pl: Print percentage done when writing to tape.
7592
7593 2009-04-21  Dustin J. Mitchell <dustin@zmanda.com>
7594         * server-src/Makefile.am server-src/xfer-server.h
7595           server-src/xfer-source-holding.c: new module reading from holding
7596           files
7597         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
7598           perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
7599           Amanda::Xfer::Source::Holding
7600         * device-src/xfer-dest-taper.c: make class macros public; ignore
7601           cache_inform when part_size == 0
7602         * device-src/xfer-device.h: xfer-dest-taper class macros
7603         * xfer-src/amxfer.h: include element-glue.h
7604         * installcheck/Amanda_Xfer_serveronly.pl: updated tests
7605
7606 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
7607         * server-src/diskfile.c: Typo.
7608
7609 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
7610         * server-src/diskfile.c: Print ", quoting may not be correct".
7611
7612 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
7613         * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
7614           property to 'tape:' driver.
7615         * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
7616           property, set is_eof to FLASE where needed.
7617         * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
7618         * device-src/tape-aix.c, device-src/tape-uware.c,
7619           device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
7620           for FSF_AFTER_FILEMARK.
7621         * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
7622           property.
7623         * xfer-src/dest-null.c: Remove bogus assert.
7624         * device-src/amtapetype.pl: New -p option to discover driver properties,
7625           it can find value for the 'FSF_AFTER_FILEMARK' property.
7626         * man/xml-source/amtapetype.8.xml: Document -p options
7627
7628 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
7629         * client-src/sendsize.c: Typo
7630         * server-src/planner.c: Don't log failed estimate message.
7631
7632 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
7633         * device-src/tape-device.c: handle EROFS in open.
7634
7635 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
7636         * changer-src/chg-zd-mtx.sh: Improve error message.
7637
7638 2009-04-20  Dustin J. Mitchell <dustin@zmanda.com>
7639         * device-src/tape-device.c: improve error messages on reading/writing
7640
7641 2009-04-17  Nikolas Coukouma <atrus@zmanda.com>
7642         * device-src/device.c: fix error message for unparsable property
7643         * installcheck/Amanda_Device.pl: test error message
7644
7645 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
7646         * server-src/cmdline.c: host, disk and timestamp argument are not regex
7647
7648 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
7649         * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
7650
7651 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
7652         * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
7653                                        properties.
7654         * man/xml-source/amsuntar.8.xml: Document them.
7655
7656 2009-04-16  Dustin J. Mitchell <dustin@zmanda.com>
7657         * perl/Amanda/MainLoop.swg: get call_later order right, more useful
7658           sub names
7659         * installcheck/Amanda_MainLoop.pl: tests for same
7660
7661 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
7662         * server-src/amcheckdump.pl: Fix three typos.
7663
7664 2009-04-16  Nikolas Coukouma <atrus@zmanda.com>
7665         * server-src/amcheckdump.pl: Print per-image status messages,
7666           with detailed error info
7667
7668 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
7669         * application-src/amsamba.pl: Fix parsing of username...
7670
7671 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
7672         * server-src/amcheckdump.pl: Validate image if all part are available.
7673
7674 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
7675         * client-src/sendsize.c: Don't report "can't estimate level" error.
7676
7677 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
7678         * server-src/taperscan.c: Make find_brand_new_tape_label return an
7679           error message instead of printing it to stderr.  Make scan_read_label
7680           use the error message from find_brand_new_tape_label.
7681
7682 2009-04-15  Dustin J. Mitchell <dustin@zmanda.com>
7683         * restore-src/amfetchdump.c: keep the order of tapes within a
7684           particular run of Amanda
7685
7686 2009-04-15  Nikolas Coukouma <atrus@zmanda.com>
7687         * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
7688           and more pleasant to debug.
7689         * installcheck/Amanda_Changer.pl,
7690           installcheck/Amanda_Changer_compat.pl,
7691           installcheck/Amanda_Changer_disk.pl,
7692           installcheck/Amanda_Changer_null.pl,
7693           installcheck/Amanda_Changer_rait.pl,
7694           installcheck/Amanda_Changer_single.pl,
7695           perl/Amanda/Changer.pm,
7696           perl/Amanda/Changer/compat.pm,
7697           perl/Amanda/Changer/disk.pm,
7698           perl/Amanda/Changer/null.pm,
7699           perl/Amanda/Changer/rait.pm,
7700           perl/Amanda/Changer/single.pm,
7701           perl/Amanda/MainLoop.swg,
7702           server-src/amrmtape.pl,
7703           server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
7704
7705 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
7706         * application-src/amsamba.pl: Default amandapass file is
7707                                       CONFIG_DIR/amandapass.
7708
7709 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
7710         * common-src/conffile.c: Fix inheriting properties.
7711         * installcheck/Amanda_Config.pl: Test it.
7712
7713 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
7714         * amandad-src/amandad.c: Improve error message.
7715
7716 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
7717         * server-src/amstatus.pl: Remove spurious debug message.
7718
7719 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
7720             Satya Ganga <gsat@zmanda.com>
7721         * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
7722
7723 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
7724             Dustin J. Mitchell <dustin@zmanda.com>
7725         Bug found by Gene Heskett.
7726         * server-src/planner.c: Set dp before using it.
7727
7728 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
7729         * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
7730                                       Allow '\' in diskname and amandapass.
7731         * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
7732
7733 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
7734         * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
7735                                        Parse hard link in index.
7736         * server-src/amstatus.pl: Fix amstatus for partial chunker.
7737         * installcheck/amstatus.pl: Test it.
7738         * installcheck/Installcheck/Run.pm: export an $exit_code variable.
7739
7740 2009-04-10  Dustin J. Mitchell <dustin@zmanda.com>
7741         * common-src/conffile.c: fix handling of double-backslash in quoted
7742           strings
7743
7744 2009-04-09  Ray Tracer <RayTracer@irc.freenode.net>
7745         * application-src/amgtar.c: add missing 'break'
7746
7747 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
7748         * common-src/conffile.c: store properties in lower-case
7749         * perl/Amanda/Config.swg: document data formats for config values
7750         * installcheck/Amanda_Config.pl: test case-sensitivity
7751
7752 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
7753         * device-src/rait-device.c: add rait_device_new_from_children
7754         * device-src/device.h: prototype
7755         * perl/Amanda/Device.swg: wrap into perl
7756         * installcheck/Amanda_Device.pl: test
7757
7758 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
7759         * device-src/tape-device.c: fix typo to get device_name right
7760
7761 2009-04-08  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
7762         * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
7763
7764 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
7765         * common-src/fileheader.c: fix early return if PROGRAM not given
7766         * perl/Amanda/Disklist.swg: do not free the C disklist
7767         * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
7768           functionality similar to server-src/holding.[ch]
7769         * server-src/holding.h: clarify comments
7770         * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
7771           installcheck/Makefile.am: tests
7772
7773 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
7774         * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
7775
7776 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
7777         * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
7778
7779 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
7780         * device-src/xfer-dest-taper.c: new xfer element to handle splitting
7781           dumpfiles over multiple volumes, with retry of failed split parts
7782         * device-src/Makefile.am: new file
7783         * device-src/xfer-device.h: new prototype
7784         * installcheck/Amanda_Xfer_serveronly.pl: new tests
7785         * installcheck/Installcheck/Run.pm: increase default vtape size
7786         * perl/Amanda/Xfer.swg: POD for new element
7787         * perl/Amanda/XferDevice.swg: wrap new element
7788         * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
7789
7790 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
7791         * client-drc/sendbackup.c: Init result.
7792
7793 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
7794         * server-src/taper-source.c (default_taper_source_seek_to_part_start):
7795           returns FALSE on not splitted dump.
7796         * server-src/driverio.c: info.last_level should not be set on error
7797                          if level >= info.last_level.
7798         * server-src/driver.c: Rename update_failed_dump_to_tape to
7799           update_failed_dump.
7800           Call update_failed_dump on failed dump to holding disk.
7801         * application-src/amgtar.c: Don't update statefile if the backup failed.
7802         * client-drc/sendbackup.c: Don't update amandates if backup failed.
7803
7804 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
7805         * man/xml-source/amanda-changers.7.xml: Document changerfile for
7806                                                 chg-disk.
7807
7808 2009-04-03  Dustin J. Mitchell <dustin@zmanda.com>
7809         * perl/Amanda/Changer/compat.pm: always configure devices while
7810           scanning
7811         * server-src/amcheckdump.pl: configure devices returned from the
7812           changer
7813
7814 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
7815         * application-src/amsamba.pl: Allow empty username.
7816         * man/xml-source/amsamba.8.xml: Document empty username and password.
7817
7818 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
7819         * common-src/security-util.c: Fix isdigit use.
7820
7821 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
7822         * common-src/conffile.c: New client_port option.
7823         * common-src/conffile.h: New client_port option.
7824         * man/xml-source/amanda-auth.7.xml,
7825           man/xml-source/amanda-client.conf.5.xml,
7826           man/xml-source/amanda.conf.5.xml: New client_port option.
7827         * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
7828         * common-src/bsd-security.c,
7829           common-src/bsdtcp-security.c,
7830           common-src/bsdudp-security.c: Use client_port option.
7831         * common-src/security-util.c: New find_port_for_service function.
7832         * common-src/security-util.h: Prototype for find_port_for_service.
7833         * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
7834         * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
7835         * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
7836         * server-src/amadmin.c (disklist_one): Print client_port.
7837         * server-src/amcheck.c: Fix remote_errors;
7838         * server-src/diskfile.h (disk_t): Add client_port.
7839         * server-src/diskfile.c: Set client_port.
7840         * server-src/driverio.c: Send client_port to dumper.
7841         * server-src/dumper.c: Parse client_port.
7842         * server-src/server_util.c: return client_port.
7843
7844 2009-04-03  Nikolas Coukouma <atrus@zmanda.com>
7845         * device-src/s3-device.c, installcheck/Amanda_Device.pl:
7846           don't require location-compatible name for ignored value
7847
7848 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
7849         * application-src/amsamba.pl: Allow empty password.
7850         * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
7851         * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
7852
7853 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
7854         * server-src/amstatus.pl: prefix error message with "backup failed:"
7855           if a dump to holding disk failed.
7856
7857 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
7858         * server-src/amstatus.pl: Print a taper status.
7859         * server-src/taper.c: Quote TAPE-ERROR reply.
7860
7861 2009-04-02  Dustin J. Mitchell <dustin@zmanda.com>
7862         * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
7863
7864 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
7865         * application-src/amsamba.pl: Typo.
7866
7867 2009-04-01  Dustin J. Mitchell <dustin@zmanda.com>
7868         * device-src/s3-device.c: always send errors from setup_handle
7869
7870 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
7871         * device-src/s3-device.c: don't clobber errors from setup_handle
7872
7873 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
7874         * NEWS: Note change to Amazon S3, add ampgsql
7875
7876 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
7877         * server-src/amcheck.c: Set l on error path.
7878
7879 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
7880         * device-src/s3.c: don't send empty location constraint,
7881           allocate error messages, fix constraint check in case of wildcard
7882         * installcheck/Amanda_Device.pl: actually test location constraints
7883
7884 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
7885         * application-src/ampgsql.pl: add newline to end of index entry
7886
7887 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
7888         * application-src/amsamba.pl: Set $self->{mesgout} before calling
7889                                       method that use it.
7890
7891 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
7892         * application-src/Makefile.am: Remove amgtar_perl.
7893         * application-src/amgtar_perl.pl: Remove file.
7894
7895 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
7896         * man/xml-source/amsamba.8.xml: Document amandapass file location.
7897
7898 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
7899         * application-src/amsamba.pl: allow relative AMANDAPASS property.
7900         * man/xml-source/amsamba.8.xml: Document amandapass file location.
7901         * ReleaseNotes: amsamba
7902
7903 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
7904         * server-src/amcheck.c: exit(1) if match_disklist() return an error.
7905         * server-src/planner.c: Better logging if match_disklist() return an
7906                                 error.
7907
7908 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
7909         * server-src/planner.c: Use new one_est_t,
7910                                 print warning for server guessed estimate.
7911
7912 2009-03-29 Dan Locks <dwlocks@zmanda.com>
7913         * packaging/rpm/amanda.spec: change a number of %if conditionals to
7914           macros which expand if they are defined.
7915
7916 2009-03-29  Nikolas Coukouma <atrus@zmanda.com>
7917         * man/xml-source/amanda-devices.7.xml: add more notes
7918
7919 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
7920         * device-src/s3.c, installcheck/Amanda_Device.pl:
7921           ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
7922           pass others as-is
7923
7924 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
7925         * installcheck/Amanda_Util.pl: fix warning
7926         * perl/Amanda/Util.swg: fix typos
7927
7928 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
7929         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
7930           use a different dummy entry
7931
7932 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
7933         * recover-src/extract_list.c: Add --level argument to application.
7934
7935 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
7936         * application-src/amsuntar.pl: Check for 'symbolic link' in index.
7937
7938 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
7939         * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
7940
7941 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
7942         * installcheck/Amanda_Device.pl: fix test counts
7943         * installcheck/Amanda_Util.pl: fix shadow variable warning
7944
7945 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
7946         * device-src/s3.c: ignore empty s3_user_token
7947         * installcheck/Amanda_Device.pl: test empty s3_user_token
7948
7949 2009-03-26  Dustin J. Mitchell <dustin@zmanda.com>
7950         * man/xml-source/amanda.conf.5.xml: document new estimate changes made
7951           2009-02-04
7952
7953 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
7954         * server-src/planner.c: Remove logging of guessed estimate.
7955
7956 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
7957         * client-src/sendsize.c: Typo.
7958
7959 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
7960         * application-src/ampgsql.pl: Add command_validate.
7961         * application-src/amgtar_perl.pl, application-src/amsamba.pl,
7962           application-src/amsuntar.pl: Sanity check for command_validate.
7963         * perl/Amanda/Application.swg: Add a default_validate function.
7964         * perl/Amanda/Script_App.pm: Execute defulat_validate if
7965                                      command_validate is not defined.
7966
7967 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7968         * perl/Amanda/Changer.pm: add a 'cmp' operator for
7969           Amanda::Changer::Error objects, to make testing easier
7970
7971 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7972         * perl/Amanda/Changer.pm: add Amanda::Changer::Error
7973           class to give more detail in changer errors
7974         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
7975           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
7976           perl/Amanda/Changer/single.pm: use it
7977         * changer-src/chg-glue.pl: handle new errors
7978         * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
7979           (chg_err_like) utility function
7980         * installcheck/Amanda_Changer.pl
7981           installcheck/Amanda_Changer_compat.pl
7982           installcheck/Amanda_Changer_disk.pl
7983           installcheck/Amanda_Changer_null.pl
7984           installcheck/Amanda_Changer_rait.pl
7985           installcheck/Amanda_Changer_single.pl: change tests
7986
7987 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7988         * perl/Amanda/Changer.pm: remove unused import() and export()
7989
7990 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7991         * device-src/s3.c: fix segfault in s3_make_bucket with location
7992           constraint
7993
7994 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7995         * perl/Amanda/Util.swg: add full_read and full_write
7996         * installcheck/Amanda_Util.pl: test 'em
7997
7998 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
7999         * application-src/amsuntar.pl: Generate valid index stream.
8000
8001 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
8002         * man/xml-source/amanda-applications.7.xml,
8003           man/xml-source/amanda.8.xml: add missing references to applications
8004
8005 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
8006         * application-src/ampgsql.pl: older versions of perl don't like
8007           mixing functions and export tags
8008
8009 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
8010         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
8011           generate more-complete index, improve debugging and error handling
8012
8013 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8014         * common-src/conffile.c: Fix line counting, Remove check for plugin.
8015         * server-src/diskfile.c: Add check for plugin.
8016
8017 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8018         * server-src/planner.c: Default server estimate not larger than half
8019                                 a tape. log a warning.
8020
8021 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8022         * application-src/amsamba.pl: Fix typo and check if smbclient is set.
8023
8024 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
8025         * application-src/amgtar.c, application-src/amstar.c:
8026           Do sanity check if required arguments are not provided.
8027
8028 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
8029         * AUTHORS: remove "active" status if not committed in over 2 years
8030         * ChangeLog: clean up some messiness
8031         * contrib/changelog_parse.pl: simple parser for ChangeLog
8032
8033 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8034         * application-src/amgtar.c: Add NO-UNQUOTE to restore.
8035
8036 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8037         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8038           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
8039           recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
8040         * application-src/amgtar.c: add NO-UNQUOTE property.
8041         * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
8042
8043 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
8044         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
8045           fix ampgsql installchecks
8046
8047 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8048         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8049           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
8050           recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
8051
8052 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8053         * application-src/amgtar.c, application-src/amstar.c,
8054           client-src/client_util.c, client-src/client_util.h,
8055           client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
8056           client-src/sendbackup.c, client-src/sendsize.c,
8057           common-src/conffile.c, common-src/conffile.h,
8058           common-src/util.c, oldrecover-src/extract_list.c,
8059           recover-src/extract_list.c,
8060           server-src/server_util.c: Use GPtrArray instead of my_argv[].
8061
8062 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
8063         * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
8064           Document the fact that: The { must appear at the end of a line,
8065                                   and the } on its own line.
8066
8067 2009-03-21  Jean-Louis Martineau <martineau@zmanda.com>
8068         * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
8069
8070 2009-03-20  Jean-Louis Martineau <martineau@zmanda.com>
8071         * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
8072         * recover-src/amrecover.h: Add verbose to many prototype.
8073         * recover-src/extract_list.c: Allow to use path for many command.
8074         * recover-src/set_commands.c: Add verbose to many function.
8075         * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
8076
8077 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
8078         (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
8079         * common-src/Makefile.am: don't include genversion.h in distribution
8080           tarballs
8081
8082 2009-03-19  Jean-Louis Martineau <martineau@zmanda.com>
8083         * man/Makefile.am: Add .SECONDARY target.
8084
8085 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
8086         * man/xslt/expand-sambadoc.xsl:
8087         * man/entities/global.entities.in
8088           man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
8089           for 'SEE ALSO' sections
8090         * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
8091           symbol; tweak tapecycle description
8092
8093 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
8094         * xfer-src/Makefile.am: add -release to libamxfer
8095
8096 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
8097         * server-src/amrmtape.pl, installcheck/amrmtape.pl:
8098           re-label tapes if we --erase them and --keep-label is present
8099
8100 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8101         * installcheck/Amanda_Process.pl: Fix for OS return perl.
8102
8103 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8104         * perl/Amanda/Process.pm: Better match of argument.
8105                                   Match 'perl' to any process name.
8106
8107 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8108         * installcheck/Amanda_Process.pl: Check second argument if first
8109                                           argument start with a dash.
8110         * perl/Amanda/Process.pm: The process name is now returned, not perl.
8111
8112 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
8113         * man/xml-source/amrmtape.8.xml: Fix.
8114         * perl/Amanda/Process.pm: Find the process name if it is a perl script.
8115         * server-src/amrmtape.pl: Check and create the "log" file if --erase.
8116
8117 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
8118         * application-src/ampgsql.pl: fix numerous bugs, improve debug info
8119
8120 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
8121         * application-src/amgtar.c: fix typo causing check-device to be
8122           interpreted incorrectly
8123
8124 2009-03-17  Dustin J. Mitchell <dustin@zmanda.com>
8125         * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
8126           implementation of the info() method
8127         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8128           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
8129           perl/Amanda/Changer/single.pm: use them
8130         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
8131           test the results
8132
8133 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
8134         * server-src/amlabel.c: give correct exit status on failure
8135
8136 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
8137         * server-src/amstatus.pl: dump in "writing to tape" mode should also
8138                                   be included in the "dumped" summary.
8139
8140 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
8141         * server-src/find.c: Fix listing of partial dump in holding disk.
8142
8143 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
8144         * installcheck/amreport.pl: New file.
8145
8146 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
8147         * common-src/columnar.c: New defaults, allow precision to be set.
8148         * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
8149         * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
8150         * installcheck/Makefile.am: add amreport.
8151         * installcheck/amreport.pl: Check different value of columnspec.
8152         * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
8153
8154 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
8155         * server-src/planner.c: Log quoted qname.
8156
8157 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
8158         * device-src/amtapetype.pl: do not produce broken 'bytes' units
8159         * installcheck/amtapetype.pl: test changes
8160         * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
8161         * common-src/conffile.c: fix default for tapetype:length
8162
8163 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
8164         * common-src/amfeatures.c: improve error handling in
8165           am_string_to_feature, return NULL on error
8166         * amandad-src/amandad_util.c recover-src/amrecover.c
8167           server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
8168           server-src/driver.c server-src/dumper.c server-src/planner.c: always
8169           terminate the string passed to am_string_to_feature
8170
8171 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8172         * server-src/taper.c: return DONE if input file is partial.
8173
8174 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8175         * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
8176           value for boolean properties.
8177
8178 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8179         * server-src/amstatus.pl: Print "failed: process terminated while" for
8180                                   dead run. Change "wait for" for "waiting for".
8181
8182 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
8183         * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
8184         * man/xml-source/amstar.8.xml: Document it.
8185
8186 2009-03-10  Dustin J. Mitchell <dustin@zmanda.com>
8187         * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
8188
8189 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
8190         * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
8191
8192 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
8193         * application-src/ampgsql.pl:
8194           set environment variables when running psql (from selfcheck)
8195
8196 2009-03-07  Nikolas Coukouma <atrus@zmanda.com>
8197         * application-src/ampgsql.pl: add selfcheck to ampgsql
8198
8199 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8200         * perl/Amanda/Changer/rait.pm: replace die() with a proper error
8201           return
8202
8203 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8204         * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
8205           config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
8206           configure.in: upgrade to libtool-2.2.4
8207
8208 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8209         * restore-src/restore.c: remove incorrect assertion
8210
8211 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8212         * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
8213           on a bad feature string
8214
8215 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
8216         * Makefile.am: always build xfer-src, on client or server
8217         * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
8218           device-src/xfer-device.h device-src/xfer-dest-device.c
8219           device-src/xfer-source-device.c: move device-specific xfer elts to
8220           device-src
8221         * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
8222           generic glue
8223         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
8224           only import server-specific symbols if they are available
8225         * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
8226           installcheck/Amanda_Xfer_serveronly.pl: split into general and
8227           server-specific checks
8228
8229 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
8230         * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
8231           options so we don't print "mkdir ..." lines into our backup data
8232
8233 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>
8234         * installcheck/Amanda_Device.pl: only perform property tests when we
8235           have a working S3 device; and get test counts right
8236
8237 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
8238         * man/xml-source/amanda.conf.5.xml,
8239           man/xml-source/amanda-devices.7.xml,
8240           installcheck/Amanda_Config.pl,
8241           installcheck/Amanda_Device.pl,
8242           common-src/util.c,
8243           common-src/glib-util.c,
8244           common-src/conffile.c,
8245           common-src/conffile.h:
8246           be consistent in the various names for 'true' and 'false' we allow,
8247           specifically in device properties
8248
8249 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
8250         * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
8251           while backing up data dir
8252
8253 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
8254         * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
8255           make ampgsql use runtar (so it can access PostgreSQL's files)
8256
8257 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
8258         * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
8259         * installcheck/Amanda_Changer_rait.pl: test it
8260         * man/xml-source/amanda-changers.7.xml: document it
8261
8262 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
8263         * device-src/rait-device.c: fix failure when parity (last) child
8264           has failed
8265         * installcheck/Amanda_Device.pl: test the fix
8266
8267 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
8268         * changer-src/chg-glue.pl: add debugging
8269         * perl/Amanda/Changer/compat.pm: add debugging
8270
8271 2009-03-03  Nikolas Coukouma <atrus@zmanda.com>
8272         * application-src/ampgsql.pl: don't hang if .backup file never appears
8273
8274 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
8275         * example/amanda-client-postgresql.conf.in:
8276           update example and make it more complete
8277
8278 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
8279         * application-src/ampgsql.pl,
8280           man/xml-source/ampgsql.8.xml: cleanup old WAL files
8281
8282 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
8283         * installcheck/amrmtape.pl,
8284           server-src/amrmtape.pl: zero datestamp with --keep-label
8285
8286 2009-03-01  Nikolas Coukouma <atrus@zmanda.com>
8287         * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
8288
8289 2009-02-27  Jean-Louis Martineau <martineau@zmanda.com>
8290         * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
8291
8292 2009-02-27  Dustin J. Mitchell <dustin@zmanda.com>
8293         * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
8294
8295 2009-02-26  Dustin J. Mitchell <dustin@zmanda.com>
8296         * restore-src/restore.c: if the changer does not provide a device,
8297           use the configured tapedev
8298
8299 2009-02-26  Dan Locks <dwlocks@zmanda.com>
8300         * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
8301           rpm builds will be broken for a bit longer in trunk
8302
8303 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
8304         * application-src/amgtar_perl.pl,
8305           application-src/amlog-script.pl,
8306           application-src/ampgsql.pl,
8307           application-src/amsamba.pl,
8308           application-src/amsuntar.pl,
8309           application-src/amzfs-sendrecv.pl,
8310           application-src/amzfs-snapshot.pl,
8311           application-src/script-email.pl,
8312           perl/Amanda/Application.swg,
8313           perl/Amanda/Script.pm,
8314           perl/Amanda/Script_App.pm:
8315           load config-name/amanda-client.conf as well as amanda-client.conf
8316
8317 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
8318         * application-src/ampgsql.pl,
8319           installcheck/amgtar.pl,
8320           installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
8321
8322 2009-02-25  Nikolas Coukouma <atrus@zmanda.com>
8323         * application-src/amoracle.pl,
8324           application-src/ampgsql.pl,
8325           example/amanda-client-oracle.conf.in,
8326           example/amanda-client-postgresql.conf.in,
8327           installcheck/ampgsql.pl,
8328           man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
8329           in line with conventions
8330
8331 2009-02-24  Jean-Louis Martineau <martineau@zmanda.com>
8332         * amandad-src/amandad.c, application-src/amgtar.c,
8333           changer-src/scsi-changer-driver.c, client-src/client_util.c,
8334           common-src/conffile.c, device-src/s3-device.c,
8335           oldrecover-src/set_commands.c, recover-src/set_commands.c,
8336           server-src/amindexd.c, server-src/planner.c,
8337           server-src/reporter.c: Replace all occurences of index by strchr,
8338                                  Replace all occurences of rindex by strrchr.
8339
8340 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
8341         * device-src/s3.c: make s3_list_keys use its own buffer
8342
8343 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
8344         * device-src/s3.c: fix error buffer handling of overflow data
8345
8346 2009-02-24  Dustin J. Mitchell <dustin@zmanda.com>
8347         * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
8348           property
8349
8350 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
8351         * man/xml-source/ampgsql.8.xml,
8352           man/xml-source/amsamba.8.xml,
8353           man/xml-source/amstar.8.xml,
8354           man/xml-source/amsuntar.8.xml:
8355           document the mapping of configure options to default application
8356           property values
8357
8358 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
8359         * device-src/rait-device.c: actually *report* mismatched child
8360           labels/timestamps; correctly detect the 'first' device; and free old
8361           device label/time
8362
8363 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
8364         * server-src/driver.c: improve confusing out-of-tapes error message
8365
8366 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
8367         * server-src/changer.c: if changer_find is used to search for a
8368           specific tape, do not try a redundant manual scan after the
8369           search fails
8370
8371 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
8372         * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
8373           directory to test dumps
8374
8375 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
8376         * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
8377           installcheck/Amanda_Changer_disk.pl
8378           installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
8379           installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
8380           installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
8381           installcheck/Installcheck/Config.pm
8382           installcheck/Installcheck/Dumpcache.pm
8383           installcheck/Installcheck/Run.pm installcheck/Makefile.am
8384           installcheck/amarchiver.pl installcheck/amfetchdump.pl
8385           installcheck/amgetconf.pl installcheck/amgtar.pl
8386           installcheck/ampgsql.pl installcheck/amservice.pl
8387           installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
8388           subdirectory of AMANDA_TMPDIR for installcheck temporary files
8389
8390 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
8391         * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
8392         * amar-src/amar-test.c common-src/amflock-test.c
8393           common-src/event-test.c common-src/queueing-test.c
8394           common-src/quoting-test.c common-src/semaphore-test.c
8395           device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
8396           drastically
8397
8398 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
8399         * common-src/conffile.c: change the default changerfile to
8400           $CONFIG_DIR/changer
8401
8402 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
8403         * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
8404         * device-src/device.c: support PROPERTY_COMMENT
8405         * installcheck/Amanda_Device.pl: test it
8406         * man/xml-source/amanda-devices.7.xml: document it
8407
8408 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
8409         * common-src/conffile.c: Add t, tb, tera, ... suffix.
8410         * man/xml-source/amanda.conf.5.xml: Document it.
8411
8412 2009-02-19  Nikolas Coukouma <atrus@zmanda.com>
8413         * example/amanda-client-postgresql.conf.in,
8414           example/Makefile.am,
8415           man/Makefile.am,
8416           man/xml-source/ampgsql.8.xml,
8417           configure.in,
8418           application-src/Makefile.am,
8419           application-src/ampgsql.pl,
8420           installcheck/Makefile.am,
8421           installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
8422         * installcheck/Installcheck/Application.pm:
8423           fix property names in case of underscores
8424         * installcheck/Installcheck/Run.pm:
8425           if application starts with /, don't assume it's in sbin
8426
8427 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
8428         * perl/Amanda/Util.swg: move POD to the top of the file, refomat
8429
8430 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
8431         * common-src/util.h common-src/util.c: remove unneeded needs_quotes
8432
8433 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
8434         * installcheck/Amanda_Types.pl
8435           installcheck/Amanda_Header.pl: rename Amanda::Types to
8436           Amanda::Header, add to_string and from_string methods
8437         * common-src/fileheader.c: fix bug in returned size
8438         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
8439           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
8440           perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
8441           perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
8442           Amanda::Header
8443
8444 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
8445         * common-src/Makefile.am common-src/queue.h: remove file
8446         * amandad-src/amandad.c common-src/alloc.c
8447           common-src/bsdtcp-security.c common-src/krb5-security.c
8448           common-src/local-security.c common-src/rsh-security.c
8449           common-src/security-util.c common-src/security-util.h
8450           common-src/ssh-security.c: remove includes and replace TAILQ with
8451           GSList
8452
8453 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
8454         * config/amanda/krb4-security.m4: Remove file
8455         * common-src/krb4-security.c: Remove file.
8456         * example/config.site, example/amanda.conf.in,
8457           client-src/client_util.c, amandad-src/amandad.c,
8458           man/xml-source/amanda-client.conf.5.xml,
8459           man/xml-source/amanda.conf.5.xml,
8460           man/xml-source/amgetconf.8.xml,
8461           configure.in, server-src/dumper.c,
8462           server-src/diskfile.c, perl/Amanda/Constants.pm.in,
8463           installcheck/Amanda_Config.pl, common-src/amfeatures.h,
8464           common-src/security.c, common-src/security.h,
8465           common-src/genversion.c, common-src/amgetconf.pl,
8466           common-src/conffile.c, common-src/Makefile.am,
8467           common-src/amfeatures.c: Remove krb4 support.
8468
8469 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8470         * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
8471
8472 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8473         * common-src/debug.h common-src/debug.c: add ability to supporess
8474           tracebacks
8475         * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
8476
8477 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8478         * perl/Makefile.am: actually install Amanda::Change::rait
8479
8480 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8481         * common-src/util.c: add missing 'const'
8482
8483 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8484         * common-src/util.c common-src/util.h device-src/rait-device.c
8485           perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
8486           expand_braced_alternates and collapse_braced_alternates out of
8487           rait-device.c and into util.c, and make them available from Perl
8488         * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
8489           perl/Makefile.am: new changers
8490         * installcheck/Amanda_Changer_null.pl
8491           installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
8492           changers
8493         * changer-src/Makefile.am changer-src/chg-null.sh
8494           changer-src/chg-rait.sh: remove old scripts
8495         * man/xml-source/amanda-changers.7.xml
8496           man/xml-source/amanda-devices.7.xml: update documentation
8497
8498 2009-02-18  John Hein <jhein@timing.com>
8499         * common-src/dgram.c: set the send buffer size when creating a new
8500           socket
8501
8502 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8503         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
8504           change PP_SCRIPT to SCRIPT, to match the name of the config param
8505         * server-src/diskfile.c installcheck/Amanda_Config.pl:
8506           use new symbols
8507
8508 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8509         * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
8510           and applications
8511
8512 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8513         * common-src/conffile.c common-src/conffile.h: use a simple
8514           identlist_t for pp_scripts
8515         * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
8516           server-src/server_util.c: use identlist_t's
8517
8518 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
8519         * perl/Amanda/Config.swg: perl bindings
8520
8521 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
8522         * common-src/conffile.c common-src/conffile.h: Change
8523           DUMPTYPE_APPLICATION to give a string val_t; remove the
8524           pointer-to-application val_t subtype; also fix many
8525           memory leaks and simplify memory management
8526         * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
8527           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
8528           server-src/planner.c: use new val_t result correctly
8529
8530 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
8531         * client-src/selfcheck.c: Do dle check without disk.
8532         * common-src/amxml.c: Accept a dle without a disk.
8533         * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
8534           application-src/amgtar_perl.pl,
8535           application-src/amsamba.pl, application-src/amstar.c,
8536           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
8537           application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
8538                                              a disk is not provided.
8539
8540 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
8541         patch by glowkrantz
8542         * application-src/amzfs-sendrecv.pl: Use compression ratio for
8543                                              compressed filesystem.
8544
8545 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
8546         * server-src/amdump.sh: Check if planner/driver are executable and
8547                                 log error.
8548
8549 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
8550         * restore-src/amfetchdump.c: remove unintended debugging messages
8551
8552 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
8553         * changer-src/chg-manual.sh: make messages clearer
8554         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
8555           _manual_scan
8556         * server-src/amcheckdump.pl: handle errors better
8557
8558 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
8559         * changer-src/chg-manual.sh: make messages clearer
8560         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
8561           _manual_scan
8562         * server-src/amcheckdump.pl: handle errors better
8563
8564 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
8565         * recover-src/extract_list.c: Set all_level with level_t.
8566
8567 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
8568         * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
8569           Jose Hales-Garcia <jose@stat.ucla.edu>
8570
8571 2009-02-12  Jean-Louis Martineau <martineau@zmanda.com>
8572         * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
8573         * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
8574                                     NONBLOCKING_OPEN property.
8575         * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
8576         * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
8577                                                property.
8578         * server-src/amdevcheck.pl: Call $device->configure(1).
8579
8580 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
8581         * changer-src/chg-rait.sh: get directory handling right (patch from
8582           Jim.pennino on wiki.zmanda.com)
8583         * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
8584           do_eject
8585         * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
8586           volume that's not currently reserved
8587         * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
8588           after cleaning or ejecting
8589         * installcheck/Amanda_Changer_compat.pl: updated tests
8590
8591 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
8592         * perl/Makefile.am: add a version number to libamglue
8593
8594 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
8595         * restore-src/restore.c: fix incorrect assertion
8596
8597 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
8598         * config/amanda/debugging.m4: fix --disable-syntax-checks
8599
8600 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
8601         * config/amanda/debugging.m4: add --disable-syntax-checks
8602         * config/automake/scripts.am: disable them
8603         * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
8604
8605 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
8606         * man/xml-source/amanda.conf.5.xml: remove TODO
8607
8608 2009-02-07  Dustin J. Mitchell <dustin@zmanda.com>
8609         * common-src/event.c: use built-in child watch source on FreeBSD
8610
8611 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
8612         * server-src/dumper.c: options is already unquoted.
8613         * common-src/util.c: argument should not be quoted when added to argv.
8614
8615 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
8616         * installcheck/Amanda_Changer_compat.pl: remove debugging code
8617
8618 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
8619         patch by Yoshihiro Ishikawa
8620         * recover-src/extract_list.c: Handle application-api.
8621
8622 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
8623         * installcheck/Amanda_Changer_compat.pl: support 'eject'
8624         * perl/Amanda/Changer.pm: change release/do_relase relationship
8625         * perl/Amanda/Changer/compat.pm: same
8626         * perl/Amanda/Changer/disk.pm: same
8627         * perl/Amanda/Changer/single.pm: same
8628
8629 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
8630         * common-src/conffile.h: Add ES_ES.
8631         * common-src/conffile.c: Handle ES_ES in switch.
8632         * server-src/amadmin.c: Handle ES_ES in switch.
8633         * client-src/sendsize.c: Works with many multiple estimate method.
8634         * server-src/planner.c: Works with many multiple estimate method.
8635
8636 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
8637         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8638           application-src/amsamba.pl, application-src/amstar.c,
8639           application-src/amsuntar.pl,
8640           application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
8641         * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
8642         * client-src/client_util.h: New field to keep its value.
8643
8644 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
8645         * common-src/amfeatures.c,
8646           common-src/amfeatures.h: And fe_xml_level_server amfeature.
8647         * common-src/amxml.c: parse <server> tag in level tag.
8648         * server-src/planner.c: Send <server> tag,
8649                         Move estimate server calculation to its own function.
8650
8651 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
8652         * client-src/client_util.c, client-src/sendbackup-gnutar.c,
8653           client-src/sendbackup.c, client-src/sendbackup-dump.c,
8654           client-src/sendsize.c,
8655           client-src/selfcheck.c, recover-src/extract_list.c,
8656           common-src/amxml.c,
8657           common-src/amxml.h: Change Change dle->level for dle->levellist,
8658                               each element is a level_t struct.
8659
8660 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
8661         * amplot/amplot.awk: Set term to x11.
8662
8663 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
8664         * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
8665         * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
8666         * common-src/amxml.c: Parse multiple estimate value.
8667         * common-src/amxml.h: Change estimate for estimatelist in dle_t.
8668         * server-src/diskfile.h (xml_estimate): Protoype.
8669         * server-src/diskfile.c (xml_estimate): New function.
8670         * server-src/amcheck.c: Use xml_estimate.
8671         * server-src/planner.c: Use xml_estimate.
8672         * client-src/sendbackup.c, client-src/sendsize.c,
8673           client-src/selfcheck.c: Use first estimate in estimatelist.
8674
8675 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
8676         * common-src/conffile.c: Correctly copy pp_scriptlist.
8677
8678 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
8679         * server-src/amstatus.pl: Remove a bogus line.
8680
8681 2009-01-30  Dustin J. Mitchell <dustin@zmanda.com>
8682         * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
8683
8684 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
8685         * recover-src/amrecover.c: Always print error.
8686         * server-src/amindexd.c: read stderr of uncompress and sort process,
8687           put the result in a GPtrArray, send the complete array to amrecover.
8688
8689 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
8690         * common-src/conffile.c: Typo.
8691
8692 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
8693         * common-src/conffile.c, common-src/conffile.h,
8694           server-src/diskfile.h, server-src/amcheck.c,
8695           server-src/planner.c, server-src/amadmin.c,
8696           server-src/diskfile.c, perl/Amanda/Config.swg,
8697           installcheck/Amanda_Config.pl: Use a list of estimate.
8698
8699 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
8700         * common-src/conffile.c, common-src/conffile.h,
8701           server-src/amcheck.c, server-src/holding.c,
8702           server-src/driver.c, perl/Amanda/Config.swg,
8703           installcheck/Amanda_Config.pl: 'define' keyword is use only to define
8704           an holding disk, you must use 'holdisgdisk' without 'define' if you
8705           want to use it.
8706
8707 2009-01-29  Dustin J. Mitchell <dustin@zmanda.com>
8708         * config/config.guess config/config.sub: new updates from FSF
8709
8710 2009-01-29  Benjamin Lewis <bhlewis@purdue.edu>
8711         * autogen: fix quoting error
8712         * config/amanda/dumpers.m4:  use a hostname we're more confident
8713           doesn't exist
8714
8715 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
8716         * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
8717           perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
8718           perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
8719
8720 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
8721         * common-src/conffile.c: support "." as a config name, indicating
8722           "this directory"
8723         * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
8724           old-school changer shell scripts
8725         * man/xml-source/amanda.8.xml: docs
8726         * perl/Amanda/Config.swg: docs
8727
8728 2009-01-28  Nikolas Coukouma <atrus@zmanda.com>
8729         * installcheck/Makefile.am: do not run client software checks --without-client
8730
8731 2009-01-28  Jean-Louis Martineau <martineau@zmanda.com>
8732         * config/automake/scripts.am: Fix another get line numbers right when
8733           syntax-checking perl scripts
8734
8735 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
8736         * installcheck/Installcheck/Application.pm: make sure all data is read
8737         * installcheck/amgtar.pl: check if GNU tar is present,
8738           avoid using atime-preserve, make sure reported and actual size match
8739
8740 2009-01-27  Dustin J. Mitchell <dustin@zmanda.com>
8741         * installcheck/amgtar.pl: fix typo
8742
8743 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
8744         * installcheck/Installcheck/Application.pm: Add Installcheck::Application
8745           harness for running things via the Application API
8746         * installcheck/amgtar.pl: Add installchecks for amgtar
8747         * installcheck/Makefile.am: Add files to build and distribution
8748
8749 2009-01-26  Dustin J. Mitchell <dustin@zmanda.com>
8750         * config/automake/scripts.am: get line numbers right when
8751           syntax-checking perl scripts
8752
8753 2009-01-26 Satya Ganga <gsat@zmanda.com>
8754         * xml-source/amsuntar.8.xml : Update man page with RBAC info
8755         * application-src/amsuntar.pl : Adding support for estimate
8756
8757 2009-01-23  Dustin J. Mitchell <dustin@zmanda.com>
8758         * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
8759           used by the tape device
8760         * device-src/tape-device.c: enable appending, using F_NOOP when
8761           necessary to avoid writing a double filemark
8762         * installcheck/Amanda_Device.pl: new tests
8763
8764 2009-01-22  Dustin J. Mitchell <dustin@zmanda.com>
8765         * common-src/fileheader.c common-src/fileheader.h
8766           device-src/device.c device-src/device.h: make header-
8767           building more flexible, allowing varying sizes
8768         * device-src/s3-device.c: use the new flexibility to write only the
8769           header data necessary to S3
8770         * device-src/tape-device.c device-src/vfs-device.c
8771           restore-src/restore.c server-src/chunker.c server-src/dumper.c
8772           server-src/holding.c: use new function signatures, without changing
8773           functionality
8774
8775 2009-01-22  Jean-Louis Martineau <martineau@zmanda.com>
8776         * man/xml-source/amstar.8.xml: Typo.
8777
8778 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
8779         * server-src/driver.c: Add call to short_dump_state().
8780
8781 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
8782         * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
8783
8784 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>,
8785             Dustin J. Mitchell <dustin@zmanda.com>
8786         * common-src/fileheader.c: Remove strquotedstr function.
8787         * common-src/quoting-test.c: Test strquotedstr function.
8788         * common-src/util.c: Add prototype for strquotedstr function.
8789         * common-src/util.h: Add new strquotedstr function.
8790
8791 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
8792         * application-src/Makefile.am: Typo
8793
8794 2009-01-21  Dustin J. Mitchell <dustin@zmanda.com>
8795         Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
8796         * packaging/rpm/amanda.spec: detect and properly support suse11.1,
8797           with a temporary hack to support suse11, too
8798
8799 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
8800         * server-src/amstatus.pl: Fix use of %free and %qlen keys.
8801
8802 2009-01-20 Dan Locks <dwlocks@zmanda.com>
8803         * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
8804           libtermcap.so.2 for fedora, change tar requirement to %{tarver}
8805
8806 2009-01-20 Dan Locks <dwlocks@zmanda.com>
8807         * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
8808           install perl for the client package add "directory mode" to defattr
8809           statements where appropriate.
8810
8811 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
8812         * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
8813
8814 2009-01-19 Satya Ganga <gsat@zmanda.com>
8815         * application-src/amsuntar.pl : New amsuntar application
8816         * application-src/Makefile.am : Make file updates to include amsuntar
8817         * man/entities/global.entities.in : Add to gsat  to the name list
8818         * man/Makefile.am  man/xml-source/amsuntar.8.xml : add new man amsuntar man page
8819
8820 2009-01-19  Dustin J. Mitchell <dustin@zmanda.com>
8821         * device-src/vfs-device.c: remove bogus locking stubs that are
8822           making syscalls like close(-1); fix error handling in read_label
8823           if check_is_dir fails()
8824
8825 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
8826         * device-src/vfs-device.c: robust_open can return fd 0.
8827
8828 2009-01-19  Tom Robinson <tom.robinson@constantstream.com>
8829         * server-src/amoverview.pl: fix parsing of filenames containing colons
8830
8831 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
8832         * application-src/amzfs-sendrecv.pl: Handle incremental,
8833                                              new KEEP-SNAPSHOT property.
8834         * man/xml-source/amzfs-sendrecv.8.xml: Document it.
8835         * application-src/teecount.c: New program.
8836         * application-src/Makefile.am: Add teecount.
8837         * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
8838         * common-src/amanda.h: include "safe-read.h"
8839
8840 2009-01-17  Jean-Louis Martineau <martineau@zmanda.com>
8841         * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
8842                                   result.
8843
8844 2009-01-16 Dan Locks <dwlocks@zmanda.com>
8845         * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
8846
8847 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
8848         * packaging/rpm/amanda.spec: Fix for fedora 10.
8849
8850 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
8851         * device-src/vfs-device.c: don't cache the dir_handle, as
8852           such caching does not work on some network filesystems
8853
8854 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
8855         * man/xml-source/amanda.conf.5.xml: add documentation
8856           of inheritance for config sections
8857
8858 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
8859         * device-src/amtapetype.pl: add a 'config' parameter
8860         * man/xml-source/amtapetype.8.xml: documentation
8861         * installcheck/amtapetype.pl: test with a small vtape
8862
8863 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
8864         * server-src/driver.c: Use bitwise NOT for taper_state.
8865
8866 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
8867         * server-src/taper.c: Go to next tape if device_start_file fail.
8868         * device-src/tape-device.c: write a filemark when a file is finished.
8869         * device-src/tape-device.h (TapeDevice): Remove first_file.
8870
8871 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
8872         * client-src/sendbackup.c: Fix for no index with application.
8873         * application-src/amstar.c: Improve error reporting.
8874         * application-src/amgtar.c: Improve error reporting.
8875
8876 2009-01-14  Jean-Louis Martineau <martineau@zmanda.com>
8877         * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
8878         * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
8879
8880 2009-01-13  Dustin J. Mitchell <dustin@zmanda.com>
8881         * perl/Amanda/Paths.pm.in: add $localstatedir
8882         * server-src/amserverconfig.pl: remove extraneous /
8883
8884 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
8885         * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
8886                                             defining an holdingdisk.
8887         * common-src/conffile.c: Document it.
8888
8889 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
8890         * server-src/amcheck.c: Check fallback_splitsize is smaller than
8891                                 physmem_total().
8892         * server-src/taper-mem-port-source.c: Dont; check physmem_available.
8893
8894 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
8895         * server-src/server_util.c: New get_pending_cmd function.
8896         * server-src/server_util.h: get_pending_cmd prototype.
8897         * server-src/driver.c: Send message to dumper in ABORT command.
8898         * server-src/driverio.c: Send message to dumper in ABORT command.
8899         * server-src/dumper.c: Check for ABORT cmd.
8900         * server-src/reporter.c: Don't log duplicate
8901                                  'Not enough holding disk space' error
8902
8903 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
8904         * server-src/driver.c: Fix result_argv subscript.
8905
8906 2009-01-08  Jean-Louis Martineau <martineau@zmanda.com>
8907         * restore-src/amfetchdump.c: Write to stderr.
8908
8909 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>,
8910             Dustin J. Mitchell <dustin@zmanda.com>
8911         * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
8912           after it is use.
8913         * installcheck/Amanda_Device.pl: Add more tape check.
8914
8915 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
8916         * server-src/taper.c: Don't call changer_label() if a changer is not
8917                               in use.
8918
8919 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
8920         * server-src/driverio.c: Set *result_argv to NULL on EOF.
8921         * server-src/taper-mem-port-source.c: Set an error if the memory can't
8922           be allocated for the memory buffer.
8923
8924 2009-01-05  Dustin J. Mitchell <dustin@zmanda.com>
8925         * client-src/runtar.c: remove unnecessary check for existence of
8926           CLIENT_LOGIN
8927
8928 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
8929         * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
8930           perl/Amanda/Xfer.swg: Fix compiler warning.
8931
8932 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
8933         * config/automake/scripts.am: Remove 'use lib' line before doing check.
8934
8935 2008-12-22  Paul Yeatman <pyeatman@zmanda.com>
8936         * man/entities/global.entities.in: added author/email entity for me
8937         * man/xml-source/amanda-auth.7.xml: newly added man page
8938         * man/Makefile.am: added amanda-auth to section 7
8939         * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
8940         and added link to amanda-auth man page
8941         * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
8942         amanda-auth and added link to amanda-auth man page
8943
8944 2008-12-22  Nikolas Coukouma <atrus@zmanda.com>
8945         * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
8946
8947 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
8948         * device-src/s3.c: translate error code 0 to "None", not NULL
8949
8950 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
8951         * application-src/amgtar.c,
8952           application-src/amstar.c: Use sizeof(line) for argument to fgets.
8953
8954 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
8955         * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
8956                                            in section 5.
8957
8958 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
8959         * installcheck/Installcheck/Dumpcache.pm
8960           installcheck/Installcheck/Run.pm installcheck/amdump.pl
8961           installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
8962           it, and use it in amdump and pp-scripts
8963         * application-src/amlog-script.pl: don't pretend to be script-email
8964         * man/Makefile.am: amanda-archive-format should be section 5
8965         * man/xml-source/amanda-archive-format.5.xml: small tweaks
8966         * man/xml-source/amanda-changers.7.xml: fix authorship
8967         * man/xml-source/amanda.8.xml: add link to amvault(8)
8968         * man/xml-source/amvault.8.xml: enumerate limitations of this version
8969         * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
8970
8971 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
8972         * config/amanda/dirs.m4: add --with-amdatadir
8973         * example/Makefile.am: use it for examples and templates
8974         * perl/Amanda/Paths.pm.in: add $amdatadir
8975         * server-src/amserverconfig.pl: use it
8976         * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
8977           so that built packages still put examples and templates in
8978           /var/lib/amanda
8979
8980 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
8981         * application-src/amstar.c: Use fgets to read star output.
8982         * application-src/amgtar.c: Use fgets to read gtar output.
8983
8984 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>,
8985             Dustin J. Mitchell <dustin@zmanda.com>
8986         * common-src/util.c: Convert underscore in application and script
8987                              property name to dash.
8988         * device-src/property.c: Make underscore and dash equal in device
8989                                  property name.
8990         * installcheck/Amanda_Device.pl: Check device property name with
8991                                          mixed case and dash.
8992         * installcheck/pp-scripts.pl: Check property name with underscore.
8993
8994 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
8995         * server-src/reporter.c: Fix reporting of FLUSH.
8996
8997 2008-12-21  Dustin J. Mitchell <dustin@zmanda.com>
8998         * device-src/s3-device.c: use devpay if the user token property is
8999           given; otherwise, regular S3
9000         * installcheck/Amanda_Device.pl: adjust tests to correspond
9001
9002 2008-12-19  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
9003         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
9004           Reset read and write when retrying a failed request
9005
9006 2008-12-19  Dustin J. Mitchell <dustin@zmanda.com>
9007         * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
9008           to test the SSL_CA_INFO property
9009
9010 2008-12-19  Jean-Louis Martineau <martineau@zmanda.com>
9011         * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
9012
9013 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
9014         * common-src/security-util.c: Don't free 'rc'.
9015
9016 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
9017         * man/xml-source/amgtar.8.xml: Improve documentation of regex.
9018
9019 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
9020         * common-src/conffile.h (anonymous_value): New prototype.
9021         * common-src/conffile.c (anonymous_value): New function.
9022         * common-src/conffile.c: Use anonymous_value.
9023         * server-src/diskfile.c: Use anonymous_value.
9024
9025 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9026         * perl/Amanda/Script_App.pm: Fix infinite loop.
9027         * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
9028
9029 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9030         * server-src/planner.c: Run script only if todo is set.
9031
9032 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9033         * installcheck/amfetchdump.pl: chdir() before rmtree().
9034
9035 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
9036         * installcheck/amarchiver.pl: chdir() before rmtree().
9037
9038 2008-12-17  Dustin J. Mitchell <dustin@zmanda.com>
9039         * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
9040         * installcheck/pp-scripts.pl: add atime-preserve property
9041
9042 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
9043         * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
9044           of amanda.css.
9045
9046 2008-12-16 Dan Locks <dwlocks@zmanda.com>
9047         * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
9048           "present but cannot be compiled" warning during debian packaging.
9049
9050 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
9051         * common-src/security-util.c: Don't close if it's not open.
9052
9053 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
9054         * application-src/Makefile.am: Add amlog-script.
9055         * application-src/amlog-script.pl: New scripts.
9056         * server-src/amcheck.c , server-src/planner.c,
9057           server-src/server_util.c, server-src/server_util.h,
9058           server-src/driver.c: Add level argument to run_server_scripts().
9059           The script is executed with that level argument.
9060         * installcheck/pp-scripts.pl: Check scripts.
9061         * installcheck/Makefile.am: Add pp-scripts.
9062
9063 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
9064         * man/Makefile.am man/xml-source/amanda-changers.7.xml
9065           man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
9066           man/xml-source/amanda.conf.5.xml: new documentation
9067         * perl/Amanda/Changer.pm: not finished yet!
9068         * perl/Amanda/Changer/compat.pm: fix error message
9069         * server-src/changer.c changer-src/chg-glue.pl:
9070           better error handling
9071
9072 2008-12-15  Jean-Louis Martineau <martineau@zmanda.com>
9073         * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
9074
9075 2008-12-15  Dustin J. Mitchell <dustin@zmanda.com>
9076         * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
9077         * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
9078           stringify bigints in is_deeply arguments
9079         * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
9080         * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
9081           BigIntCompat for perl-5.6 compatibility
9082
9083 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
9084         * perl/Makefile.am,
9085           perl/amglue/amglue.swg,
9086           perl/amglue/filehandles.swg: add typemap to convert perl file handles
9087           to int file descriptors
9088         * installcheck/Amanda_Device.pl: update usage
9089         * perl/Amanda/Device.swg,
9090           perl/Amanda/Archive.swg,
9091           perl/Amanda/MainLoop.swg: update docs, make typemap apply
9092
9093 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
9094         * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
9095           ability to test well with just DevPay credentials
9096
9097 2008-12-14  Dustin J. Mitchell <dustin@zmanda.com>
9098         * man/Makefile.am: change manpage build process
9099         * man/entities/global.entities.in: generate with config.status
9100         * man/xslt/html.xsl.in: new templates to handle authors
9101         * man/xslt/man.xsl.in: new templates to handle authors
9102         * man/xml-source/*.xml: change specification of authors
9103         * man/xml-source/amanda-applications.7.xml: add links to apps
9104         * man/xml-source/amanda-scripts.7.xml: add links to scripts
9105
9106 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9107         * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
9108                                             always be at the beginning of the line.
9109
9110 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9111         * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
9112
9113 2008-12-12  John Hein <jhein@timing.com>
9114         * server-src/amdump.sh: fix Open3 invocation to work on
9115           FreeBSD-4.x
9116
9117 2008-12-12  Nikolas Coukouma <atrus@zmanda.com>
9118         * device-src/s3-device.c,
9119           device-src/s3.c,
9120           device-src/s3.h,
9121           installcheck/Amanda_Device.pl,
9122           man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
9123
9124 2008-12-12  Dustin J. Mitchell <dustin@zmanda.com>
9125         * client-src/sendbackup-dump.c: fix previous commit to not use
9126           precompiler directives in the middle of a macro invocation
9127
9128 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9129         * NEWS, ReleaseNotes: Add amzfs-sendrecv.
9130         * client-src/sendbackup.c: Fix indexd test.
9131         * man/Makefile.am: Add amzfs-sendrecv.8.
9132         * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
9133         * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
9134         * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
9135         * man/xml-source/amzfs-sendrecv.8.xml: New man page.
9136         * application-src/amzfs-sendrecv.pl: New application.
9137         * application-src/amzfs-snapshot.pl: Fix to use
9138                                              Amanda::Application::Zfs
9139         * application-src/Makefile.am: Add amzfs-sendrecv.
9140         * perl/Amanda/Script_App.pm: Exit instead of die.
9141         * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
9142         * perl/Makefile.am: Add Amanda/Application and
9143                             Amanda/Application/Zfs.pm
9144
9145 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
9146         * recover-src/extract_list.c: Wait to read at least one byte from the
9147                                       data stream before forking the child.
9148
9149 2008-12-12  Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
9150         * changer-src/chg-zd-mtx.sh: fix bashisms
9151         * client-src/sendbackup-dump.c: use -L on systems that support it
9152
9153 2008-12-11 Dan Locks <dwlocks@zmanda.com>
9154         * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
9155
9156 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
9157         * NEWS, ReleaseNotes: Add amsamba.
9158
9159 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
9160         * server-src/driver.c: Check start_t before doing a dump to tape.
9161
9162 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
9163         * installcheck/Makefile.am: distribute Dumpcache.pm
9164
9165 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
9166         * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
9167         * installcheck/Installcheck/Config.pm: add cleanup()
9168         * installcheck/Installcheck/Run.pm: call I::C::cleanup()
9169         * installcheck/Makefile.am: add _seupcache
9170         * installcheck/_setupcache.pl: set up the amdump cache first thing
9171         * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
9172           installcheck/amdump.pl installcheck/amfetchdump.pl
9173           installcheck/amrmtape.pl: use dumpcache
9174
9175 2008-12-10  Nikolas Coukouma <atrus@zmanda.com>
9176         * device-src/s3.c: Generate date header independently of locale
9177
9178 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
9179         * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
9180         * installcheck/Amanda_Disklist.pl: fix tests
9181
9182 2008-12-09  C R Ritson.
9183         * server-src/reporter.c: Add threshold to small and big estimate.
9184
9185 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
9186         * client-src/client_util.c: Parse RECOVER-MODE application support.
9187         * client-src/client_util.h (backup_support_option_t):
9188                                    Add smb_recover_mode.
9189         * client-src/sendsize.c: Fix size.
9190         * man/Makefile.am: Add amsamba.8.
9191         * man/xml-source/amsamba.8.xml: New man page.
9192         * man/xml-source/amanda-applications.7.xml: List amsamba.
9193         * man/xml-source/amanda.8.xml: List amsamba.
9194         * application-src/Makefile.am (CHECK_PERL): Add amsamba
9195         * application-src/amsamba.pl: New application.
9196         * recover-src/extract_list.c: Get support option from application
9197           and set --recover-mode if needed.
9198         * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
9199         * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
9200         * perl/Amanda/Paths.pm.in: Add $sysconfdir.
9201         * perl/Amanda/Util.swg: Add skip_quoted_string.
9202
9203 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
9204         * man/xml-source/amstar.8.xml: Typo.
9205
9206 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
9207         * man/xml-source/amanda.conf.5.xml: Fix plugin location.
9208
9209 2008-12-09  Nikolas Coukouma <atrus@zmanda.com>
9210         * installcheck/amrmtape.pl,
9211           man/xml-source/amrmtape.8.xml,
9212           server-src/amrmtape.pl: add --cleanup option to amrmtape
9213           alphabetize command-line options
9214
9215 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
9216         * perl/Amanda/Disklist.swg: return a value from
9217           read_disklist_internal
9218
9219 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
9220         * common-src/conffile.c common-src/conffile.h
9221           installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
9222           perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
9223           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
9224           server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
9225           DUMPTYPE_AUTH, with related changes to disk_t
9226
9227 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
9228         * perl/Makefile.am installcheck/Amanda_Disklist.pl
9229           perl/Amanda/Disklist.swg installcheck/Makefile.am:
9230           new module + tests
9231         * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
9232           parameter
9233         * common-src/conffile.h: tag host-related parameters
9234         * perl/Amanda/Config.swg: POD typo
9235         * server-src/diskfile.h: comments
9236
9237 2008-12-08  Nikolas Coukouma <atrus@zmanda.com>
9238         * installcheck/amrmtape.pl,
9239           man/xml-source/amrmtape.8.xml,
9240           server-src/amrmtape.pl: add --keep-label option to amrmtape
9241
9242 2008-12-07  Dustin J. Mitchell <dustin@zmanda.com>
9243         * server-src/Makefile.am server-src/amvault.pl: new, experimental
9244           script to copy data from secondary to tertiary volumes
9245         * common-src/fileheader.c: strip spurious ' ' from headers
9246         * man/Makefile.am man/xml-source/amvault.8.xml: docs
9247         * perl/Amanda/DB/Catalog.pm: add kbps calculation
9248         * perl/Amanda/Device.swg: add volume_header() method
9249
9250 2008-12-05  Dustin J. Mitchell <dustin@zmanda.com>
9251         * server-src/taper.c: remove dead code that can cause compiler errors
9252
9253 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
9254         * device-src/device.c,
9255           device-src/vfs-device.c,
9256           installcheck/Amanda_Device.pl: fix erase() for VFS device
9257         * server-src/amrmtape.pl: fix rollback, erase() call setup
9258
9259 2008-12-05  Jean-Louis Martineau <martineau@zmanda.com>
9260         * server-src/driverio.c: Send a message with NO-NEW-TAPE.
9261         * server-src/driver.c: Generate message for NO-NEW-TAPE, call
9262           start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
9263           for INPUT-ERROR and TAPE-ERROR
9264         * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
9265
9266 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
9267         * server-src/amrmtape.pl:
9268           man/xml-source/amrmtape.8.xml,
9269           installcheck/amrmtape.pl:  add --empty and --changer options for erasing media
9270
9271 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
9272         * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
9273           Add erase method to the device class
9274         * device-src/property.c, device-src/property.h:
9275           Add FULL_DELETION property so devices can indicate if they implement erase
9276         * xml-source/amanda-devices.7.xml: document FULL_DELETION property
9277         * device-src/null-device.c, device-src/rait-device.c:
9278           Indicate that these do not implement erase (via FULL_DELETION)
9279         * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
9280         * device-src/s3-device.c: Add delete_all_files helper.
9281           Return FALSE on error in one place.
9282         * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
9283         * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
9284           Don't usually retry when bucket is missing
9285
9286 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
9287         * device-src/device.c,
9288           device-src/s3-util.c,
9289           device-src/device.h,
9290           device-src/s3-util.h,
9291           device-src/null-device.c,
9292           device-src/s3-device.c,
9293           device-src/property.c,
9294           device-src/s3.c,
9295           device-src/tape-device.c,
9296           device-src/property.h,
9297           device-src/s3.h,
9298           device-src/vfs-device.c,
9299           device-src/rait-device.c: strip trailing whitespace
9300
9301 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
9302         * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
9303           the changer is not seekable (hack to make slotinfofile work)
9304
9305 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
9306         * changer-src/chg-glue.pl: add labelling support
9307         * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
9308           changers
9309         * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
9310           slots to labels on a best-information-available basis
9311
9312 2008-12-03  Nikolas Coukouma <atrus@zmanda.com>
9313         * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
9314           convert amrmtape to perl
9315         * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
9316         * man/xml-source/amrmtape.8.xml: document new long options
9317
9318 2008-12-03  Satya Ganga <gsat@zmanda.com>
9319         * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
9320           command instead of "eject" which is not supported on solaris.
9321
9322 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
9323         * man/xml-source/amanda.conf.5.xml: Provide default unit.
9324
9325 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
9326         * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
9327
9328 2008-12-01  Satya Ganga <gsat@zmanda.com>
9329         * server-src/amdevcheck.pl: add ability to print device properties
9330         * man/xml-source/amdevcheck.8.xml: new docs
9331         * installcheck/amdevcheck.pl: new tests
9332         * installcheck/Installcheck/Run.pm
9333           installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
9334
9335 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
9336         * device-src/s3.c: fix signedness
9337
9338 2008-12-01  Dustin J. Mitchell <dustin@zmanda.com>
9339         * common-src/util.c: fix mishandling of trailing backslash in
9340           unquote_string
9341
9342 2008-12-01  Jean-Louis Martineau <martineau@zmanda.com>
9343         * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
9344           packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
9345           configure.in: Change version to 2.6.2alpha.
9346
9347 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
9348         * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
9349           by adding some "null-op" read and write functions.
9350
9351 2008-11-27  Jean-Louis Martineau <martineau@zmanda.com>
9352         * server-src/amstatus.pl: Correctly parse degraded size.
9353
9354 2008-11-26  Jean-Louis Martineau <martineau@zmanda.com>
9355         * client-src/sendbackup.c: Set application in extraction command.
9356
9357 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
9358         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
9359         * ReleaseNotes: Release notes for 2.6.1b1.
9360         * NEWS: News for 2.6.1b1.
9361         * packaging/deb/rules, packaging/deb/buildpkg,
9362           packaging/rpm/buildpkg,
9363           packaging/rpm/amanda.spec: Change version to 2.6.1b1.
9364
9365 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
9366         * config/amanda/bsd-security.m4: Fix.
9367         * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
9368                                             default.
9369         * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
9370
9371 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
9372         * changer-src/Makefile.am changer-src/chg-glue.pl:
9373           add new c-to-perl glue script
9374         * server-src/changer.c: interface with new script
9375         * server-src/amtape.c man/xml-source/amtape.8.xml:
9376           remove 'slot last' and 'slot prev'
9377         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
9378           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
9379           new Changer API
9380         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
9381           installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
9382           installcheck/Makefile.am: tests for all of it
9383
9384 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
9385         * example/template.d/advanced.conf.in: don't imply that
9386           maxdumpsize is in bytes
9387
9388 2008-11-21  Nikolas Coukouma <atrus@zmanda.com>
9389         * device-src/s3.c: work around a bug in Amazon's HTTP implementation
9390           by avoiding HEAD requests.
9391
9392 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
9393         * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
9394                                                             argument is NULL.
9395         * restore-src/restore.c: Also check for F_EMPTY.
9396
9397 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
9398         * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
9399                                  that should terminate.
9400
9401 2008-11-21  Dustin J. Mitchell <dustin@zmanda.com>
9402         * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
9403                                  fail.
9404
9405 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
9406         * server-src/server_util.c: Skip one field in parsing INFO pid line.
9407
9408 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
9409         * oldrecover-src/extract_list.c: Use config.
9410         * server-src/dumper.c: Check dle_str for NULL.
9411
9412 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
9413         * server-src/amdump.sh: Run amreport if the 'log' file already exist.
9414
9415 2008-11-20  Urs Schurer <urs@sitb.de>
9416         * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
9417           in process_ls_dump
9418
9419 2008-11-19 Satya Ganga <gsat@zmanda.com>
9420         * example/inetd.conf.amandaserver.in: Add serverconfig file
9421         * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
9422
9423 2008-11-18 Dan Locks <dwlocks@zmanda.com>
9424         * packaging/rpm/amanda.spec: removed conditionals around
9425           perl(ExtUtils::Embed) so that buildrequires applies to all platforms
9426
9427 2008-11-18  Satya Ganga <gsat@zmanda.com>
9428         * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
9429
9430 2008-11-18  Jean-Louis Martineau <martineau@zmanda.com>
9431         * application-src/amstar.c: Free qdisk after the loop.
9432         * application-src/amgtar.c: Free qdisk after the loop.
9433
9434 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
9435         * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
9436
9437 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
9438         * server-src/taper.c: Fix formating.
9439
9440 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
9441         * server-src/amstatus.pl: Parse "taper: using label ..." line.
9442         * server-src/driver.c: Print tape size.
9443         * server-src/amtoc.pl: Fix for new log format.
9444         * server-src/reporter.c: Increase field width.
9445         * server-src/taper.c: Print number of kbytes written to each tape.
9446
9447 2008-11-14  Dustin J. Mitchell <dustin@zmanda.com>
9448         * device-src/s3-device.c: eliminate an extra buffer copy in the
9449           common case where the caller supplies a large enough buffer
9450         * device-src/s3.h: tweak a comment
9451
9452 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
9453         * server-src/holding.h: Improve comment.
9454         * server-src/reporter.c: Print holding disk size in displyaunit.
9455
9456 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
9457         * client-src/client_util.c: Get stderr of scripts and send it to
9458                                     server.
9459         * client-src/client_util.h: Add err in client_script_result_t.
9460         * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
9461         * client-src/sendsize.c: Fix.
9462         * server-src/planner.c: Get WARNING line from client.
9463         * server-src/reporter.c: Don't mark the dumper as FAILED if the
9464                                  planner FAILED.
9465         * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
9466         * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
9467
9468 2008-11-12  Dustin J. Mitchell <dustin@zmanda.com>
9469         * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
9470
9471 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
9472         * amandad-src/amandad.c: Check that something is ready to be read
9473                                  before calling errfd_recv.
9474
9475 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
9476         * changer-src/chg-manual.sh: fix typo
9477
9478 2008-11-11 Dan Locks <dwlocks@zmanda.com>
9479         * packaging/rpm/amanda.spec: add fedora 9 detection, add
9480           BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
9481           undetected instead of at all times
9482
9483 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
9484         * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
9485           active test scripts; add a DLE in the amfetchdump installcheck
9486
9487 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
9488         * config/macro-archive/ac_perl_module_version.m4: new macro
9489         * config/amanda/swig.m4: check for ExtUtils::Embed
9490
9491 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
9492         * installcheck/amarchiver.pl: quote $sbindir from regexp
9493           interpretation
9494
9495 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
9496         * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
9497                             to DISTCLEANFILES.
9498
9499 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
9500         * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
9501                                   amgtar application.
9502
9503 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
9504         * client-src/selfcheck.c: fix.
9505         * amandad-src/amandad.c: Read stderr of server and report it to server.
9506         * server-src/planner.c: Keep first line only.
9507
9508 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
9509         * amar-src/amarchiver.c: fix filesize printf conversion
9510
9511 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
9512         * client-src/sendbackup.c, client-src/selfcheck.c: Check return
9513                                                            value of pipe.
9514
9515 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
9516         * installcheck/Installcheck/Run.pm: change default DLEs
9517         * installcheck/amcheckdump.pl: add DLE explicitly
9518         * installcheck/amdevcheck.pl: add DLE explicitly
9519         * installcheck/amdump.pl: use the amgtar application in a dump
9520
9521 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
9522         * installcheck/Makefile.am: only test amfetchdump if it was built
9523         * installcheck/amfetchdump.pl: use arguments in the right order
9524
9525 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
9526         * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
9527         * man/Makefile.am man/xml-source/amarchiver.8.xml
9528           amar-src/Makefile.am amar-src/amarchiver.c: new application
9529         * installcheck/Makefile.am installcheck/amarchiver.pl: tests
9530
9531 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
9532         * installcheck/Installcheck/Run.pm: add Expect support
9533         * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
9534           installcheck, using Expect support
9535
9536 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
9537         * common-src/amgetconf.pl: don't setup_application() in dbclose
9538
9539 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
9540         * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
9541
9542 2008-11-08  Dustin J. Mitchell <dustin@zmanda.com>
9543         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
9544           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
9545           perl/Makefile.am: entirely new perl-based changer API
9546         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
9547           add changer subsections
9548         * man/xml-source/amanda.conf.5.xml: document them
9549         * server-src/amcheckdump.pl: use the new changer API
9550         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
9551           installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
9552           installcheck/Installcheck/Config.pm installcheck/Makefile.am
9553           installcheck/Amanda_Changer_Disk.pl: new/updated tests
9554
9555 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
9556         * application-src/amstar.c: fix.
9557
9558 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
9559         * perl/Amanda/Application.swg: Remove %init.
9560
9561 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
9562         * application-src/amgtar.c, application-src/amgtar_perl.pl,
9563           application-src/amstar.c: Write backup image to fd3 and index to fd4.
9564         * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
9565         * recover-src/extract_list.c: Add more check.
9566         * client-src/client_util.c (backup_support_option): Get stderr of
9567           application and put it in errarray,
9568         * client-src/client_util.h (backup_support_option): New prototype.
9569         * client-src/selfcheck.c, client-src/sendbackup.c,
9570           client-src/sendsize.c: Get stderr of application and send it to
9571                                  server.
9572         * server-src/dumper.c: Log the first error message.
9573         * server-src/planner.c: Log the first error message.
9574         * server-src/reporter.c: Don't print some error in report.
9575
9576 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
9577         * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
9578         * client-src/client_util.c (run_calcsize): New function.
9579         * client-src/client_util.h (run_calcsize): Prototype.
9580         * client-src/sendbackup.c: Update amandates.
9581         * client-src/sendsize.c: Handling of calcsize and multi-estimate.
9582         * client-src/selfcheck.c: Check calcsize for application.
9583         * application-src/amgtar_perl.pl, application-src/amstar.c,
9584         * application-src/amgtar.c: handling of calcsize and multi-estimate.
9585         * perl/Amanda/Script_App.pm: Add a check.
9586         * perl/Amanda/Application.swg: Add run_calcsize.
9587         * perl/Amanda/Application.pm: Delete
9588         * perl/Makefile.am: Built from Application.swg
9589         * client-src/calcsize.c: Handling of STAR program.
9590
9591 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
9592         * man/xml-source/amgtar.8.xml: Document new properties.
9593         * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
9594
9595 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
9596         * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
9597                                      exit with a status != 0.
9598         * server-src/amtape.c: Display changer error.
9599
9600 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
9601         * application-src/amgtar.c: Add exit-handling property.
9602
9603 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
9604         * application-src/amgtar.c: Add normal, ignore and strange property.
9605
9606 2008-11-04  Jean-Louis Martineau <martineau@zmanda.com>
9607         * server-src/amcheck.c: Check tape_splitsize < tape length.
9608
9609 2008-10-30  Dustin J. Mitchell <dustin@zmanda.com>
9610         * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
9611           add new sort key, 'w', for write_timestamp
9612         * server-src/amadmin.c: use it
9613         * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
9614           the oldest-written copy of a dump
9615
9616 2008-10-30  Jean-Louis Martineau <martineau@zmanda.com>
9617         * application-src/amgtar_perl.pl, application-src/amstar.c,
9618           application-src/amgtar.c: Implement validate command.
9619         * server-src/amcheckdump.pl: Execute the validate command of an
9620                                      application.
9621         * perl/Amanda/Script_App.pm (print_to_server): Add validate.
9622         * perl/Amanda/Application.pm (known_commands): Add validate.
9623         * common-src/security-util.c: Fix typo.
9624
9625 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
9626         * man/xml-source/amanda.conf.5.xml
9627           man/xml-source/amanda-devices.7.xml: improve device property
9628           documentation
9629
9630 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
9631         * man/xml-source/amanda.conf.5.xml: taperflush params can be
9632           greater than 100%
9633
9634 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
9635         * common-src/fileheader.c (dumpfile_free_data): New function.
9636         * common-src/fileheader.h (dumpfile_free_data): New prototype.
9637         * server-src/cmdline.c, server-src/dumper.c,
9638           server-src/planner.c, server-src/amadmin.c,
9639           server-src/amflush.c, server-src/holding.c,
9640           server-src/driver.c, server-src/find.c,
9641           server-src/taper-source.c, server-src/taper-file-source.c
9642           server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
9643
9644 2008-10-27  Dustin J. Mitchell <dustin@zmanda.com>
9645         * common-src/glib-util.c: check library version at runtime
9646
9647 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
9648         * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
9649
9650 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
9651         * installcheck/Amanda_Archive.pl: fix to also test for identity of
9652           $user_data on perls that recognize such things
9653
9654 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
9655         * amar-src/amar-test.c: don't ignore the return value of write()
9656
9657 2008-10-24  Nikolas Coukouma <atrus@zmanda.com>
9658             Jean-Louis Martineau <martineau@zmanda.com>
9659         * amar-src/amar.c: fix mis-aligned memory accesses
9660         * amar-src/amar-test.c: fix test_pipe
9661
9662 2008-10-24  Jean-Louis Martineau <martineau@zmanda.com>
9663         * perl/Amanda/Script_App.pm: New base module for script and application.
9664         * perl/Amanda/Script.pm: New base module for script.
9665         * perl/Amanda/Application.pm: New base module for application.
9666         * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
9667                                 Amanda::Application.
9668         * application-src/generic-dumper.pl: Remove file.
9669         * application-src/generic-script.pl: Remove file.
9670         * application-src/script-email.pl: Use Amanda::Script.
9671         * application-src/amgtar_perl.pl: Use Amanda::Application.
9672         * application-src/amzfs-snapshot.pl: Use Amanda::Script.
9673         * application-src/Makefile.am: Remove generic-*.pl files.
9674
9675 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
9676         * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
9677           libamar
9678         * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
9679
9680 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
9681         * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
9682           $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
9683           lint
9684         * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
9685
9686 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
9687         * amar-src/Makefile.am: add amar.h to noinst_HEADERS
9688
9689 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
9690         * configure.in Makefile.am amar-src/Makefile.am: new directory
9691         * amar-src/amar.c amar-src/amar.h: amanda archive library
9692         * amar-src/amar-test.c: tests for library
9693         * common-src/security-util.c common-src/security-util.h
9694           common-src/util.c common-src/util.h: move net_writev to
9695           util.c, rename to full_writev
9696         * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
9697           man/xml-source/amanda.8.xml: new manpage to describe the format
9698
9699 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
9700         * configure.in: add tests for more headers, plus some defines
9701           for the presence of Amanda's headers
9702         * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
9703           POSIX regex API and a GRegex (PCRE) call-compatability layer.
9704         * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
9705           Use callbacks to write and read data. Provide callbacks for
9706           memory buffers and files. The callbacks for files are currently
9707           Windows-specific.
9708         * device-src/s3-device.c: update to use new API
9709
9710 2008-10-20  Dustin J. Mitchell <dustin@zmanda.com>
9711         * perl/Makefile.am: remove spurious variables
9712
9713 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
9714         * changer-src/chg-multi.sh: Check permission on the statefile and its
9715                                     directory.
9716
9717 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
9718         * server-src/planner.c: Set i to 0.
9719
9720 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
9721         * server-src/amcheck.c, server-src/dumper.c
9722           server-src/planner.c: Don't send appliaciton-api request if the
9723                                 client doesn't use the xml protocol.
9724
9725 2008-10-15  Jean-Louis Martineau <martineau@zmanda.com>
9726         * server-src/reporter.c: print space instead of N/A, dumper stats are
9727                                  set to "FLUSH" if it is a flush.
9728
9729 2008-10-13  Dustin J. Mitchell <dustin@zmanda.com>
9730         * device-src/vfs-device.c: re-open the dir handle on every
9731           device start or read label
9732         * installcheck/Amanda_Device.pl: adjust tests to degrade the
9733           VFS device *after* it is started
9734
9735 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
9736         * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
9737
9738 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
9739         * installcheck/Makefile.am: revert previous commit.
9740         * config/automake/scripts.am: Check for a server perl module.
9741
9742 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
9743         * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
9744
9745 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
9746         * perl/Makefile.am: Don't check Amanda/Config files.
9747
9748 2008-10-11  Jean-Louis Martineau <martineau@zmanda.com>
9749         * perl/Makefile.am: Check file in top_srcdir if they are not
9750                             in top_builddir.
9751
9752 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
9753         * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
9754
9755 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
9756         * perl/Makefile.am: test for libConfig.so before doing check.
9757
9758 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
9759         * config/automake/scripts.am: Check perl scripts on compilation.
9760           Add -I... to 'make check' to access perl module in build tree.
9761           Add installcheck rules to check perl scripts with installed perl
9762           modules.
9763         * application-src/amstar_perl.pl: Remove file.
9764         * device-src/Makefile.am, application-src/Makefile.am,
9765           server-src/Makefile.am, installcheck/Makefile.am,
9766           common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
9767         * installcheck/Makefile.am:
9768           Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
9769         * perl/Makefile.am: Add rules to check all .pm files for check-local.
9770         * device-src/amtapetype.pl, server-src/amaddclient.pl,
9771           common-src/amgetconf.pl: Fix syntax errors.
9772
9773 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
9774         * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
9775           application-src/script-email.pl, application-src/amgtar_perl.pl:
9776             fix typos.
9777
9778 2008-10-10  Nick Smith <nick.smith@techop.ch>
9779         * application-src/amzfs-snapshot.pl: fix typos
9780
9781 2008-10-08  Dustin J. Mitchell <dustin@zmanda.com>
9782         * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
9783         * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
9784           after writing
9785         * server-src/amcheckdump.pl: don't read tapelist
9786         * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
9787
9788 2008-10-08  Nick Smith <nick.smith@techop.ch>
9789         * server-src/driver.c: set degr_mesg to NULL when not degraded
9790
9791 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
9792         * application-src/amzfs-snapshot.pl: Accept execute-where argument.
9793         * application-src/script-email.pl: Accept execute-where argument.
9794         * client-src/client_util.c: Send execute-where argument to script.
9795         * server-src/server_util.c: Send execute-where argument to script.
9796
9797 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
9798         * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
9799                                              properties.
9800         * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
9801
9802 2008-10-03  Dustin J. Mitchell <dustin@zmanda.com>
9803         * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
9804         * common-src/timestamp.c: add comment
9805
9806 2008-10-02  Dustin J. Mitchell <dustin@zmanda.com>
9807         * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
9808         * installcheck/Amanda_DB_Catalog.pl: test it
9809         * perl/Amanda/Logfile.swg: fix typo
9810
9811 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
9812         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
9813           Add new property, S3_SSL, to control the use of SSL/TLS when
9814           connecting to Amazon S3
9815         * man/xml-source/amanda-devices.7.xml:
9816           document S3_SSL and S3_BUCKET_LOCATION
9817
9818 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
9819         * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
9820
9821 2008-10-01  Dustin J. Mitchell <dustin@zmanda.com>
9822         * common-src/amanda.h common-src/conffile.c
9823           oldrecover-src/extract_list.c recover-src/extract_list.c
9824           server-src/amcheck.c server-src/amflush.c server-src/planner.c:
9825           use g_ascii_isspace, as we assume ASCII (for now) and isspace()
9826           is affected by locale and encoding settings.  Thanks to Michael
9827           Reuland for helping track this down.
9828
9829 2008-09-30  Jean-Louis Martineau <martineau@zmanda.com>
9830         * server-src/diskfile.h (xml_optionstr): New prototype.
9831         * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
9832         * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
9833         * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
9834         * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
9835         * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
9836         * server-src/dumper.c: Call clean_dle_str_for_client.
9837         * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
9838         * server-src/diskfile.c (clean_dle_str_for_client): New function.
9839         * restore-src/restore.c: Call clean_dle_str_for_client.
9840         * common-src/amxml.c: Fix parsing.
9841         * common-src/amanda.h (match_no_newline): Prototype.
9842         * common-src/match.c (match_no_newline): New function.
9843
9844 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
9845         * restore-src/restore.c: set data.flags for use by the changer_find
9846           callback
9847
9848 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
9849         * perl/Amanda/MainLoop.swg: add call_later()
9850         * installcheck/Amanda_MainLoop.pl: test it
9851
9852 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
9853         * device-src/rait-device.c: fix typos
9854
9855 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
9856         * common-src/semaphore.h: fix typo
9857         * device-src/rait-device.c: add a private threadpool-like
9858           implementation for old glibs, where GThreadPool is susceptible to
9859           deadlock
9860
9861 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
9862         * device-src/device.c device-src/device.h device-src/null-device.c
9863           device-src/property.c device-src/property.h device-src/rait-device.c
9864           device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
9865           device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
9866           device-src/tape-uware.c device-src/tape-xenix.c
9867           device-src/vfs-device.c: add a 'configure' method to the Device API;
9868           revamp device property handling to add source and surety and make
9869           implementation easier
9870         * device-src/rait-device.h device-src/rait-device.c: make RAIT device
9871           calculate block sized based on child devices, if they were configured
9872           explicitly.
9873         * man/xml-source/amanda-devices.7.xml: note that common properties are
9874           not implemented on all devices
9875         * common-src/glib-util.c common-src/glib-util.h: add helpers for
9876           case-insensitive hashes
9877         * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
9878           perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
9879           server-src/amlabel.c server-src/amtape.c server-src/taper.c
9880           server-src/taperscan.c: use new API
9881
9882 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
9883         * server-src/find.c: handle find_result->label == NULL
9884         * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
9885
9886 2008-09-26  Dustin J. Mitchell <dustin@zmanda.com>
9887         * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
9888
9889 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
9890         * server-src/driver.c: Parse dumpsize from taper result.
9891
9892 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
9893         * client-src/selfcheck.c: Set qdevice on common_exit path.
9894
9895 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
9896         * common-src/fileheader.c: fix headers_are_equal
9897
9898 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
9899         * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
9900         * device-src/device.c device-src/device.h: set blocksize in tape
9901           header
9902         * device-src/null-device.c device-src/s3-device.c
9903           device-src/tape-device.c device-src/vfs-device.c: set blocksize
9904           in headers when starting files
9905         * device-src/rait-device.c: duplicate headers for child devices, since
9906           they are no longer const
9907         * server-src/dumper.c: set blocksize on holding-disk files to
9908           DISK_BLOCK_BYTES
9909
9910 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
9911         * device-src/tape-device.c: mark device as non-appendable temporarily,
9912           since file numbers are incorrect when appending
9913         * installcheck/Amanda_Device.pl: handle non-appendable devices
9914
9915 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
9916         * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
9917           argument.
9918         * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
9919         * server-src/chunker.c: Get mesg from ABORT cmd and log it.
9920         * server-src/driver.c: Add the mesg argument to all dumper_cmd and
9921                                chunker_cmd.
9922
9923 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
9924         * server-src/planner.c: Set degr_mesg and send it to driver.
9925         * server-src/driverio.h (sched_t): Add degr_mesg field.
9926         * server-src/driver.c: Parse message if no degraded estimate.
9927
9928 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
9929         * common-src/conffile.c common-src/conffile.h: store a struct
9930           containing both filename and line number for each parameter, and use
9931           it when reporting errors and warnings
9932
9933 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
9934         * device-src/device.c: make 'unimplemented method' an assertion
9935
9936 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
9937         * device-src/s3.c: use max_keys, instead of maximum body size (which
9938           doesn't work) to limit the number of keys listed
9939
9940 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
9941         * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
9942         * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
9943         * server-src/taperscan.c: Check type != F_EMPTY.
9944         * server-src/taper.c: Call changer_label().
9945         * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
9946
9947 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
9948         * device-src/device.c: Don't g_value_unset a bzero value.
9949
9950 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
9951         * server-src/driver.c: Set result_argv=NULL, Fix typo.
9952
9953 2008-09-22  Dustin J. Mitchell <dustin@zmanda.com>
9954         * config/amanda/ps.m4: give up on runtime detection and just special-
9955           case the 'ps' arguments for various systems
9956         * perl/Amanda/Constants.pm.in: add $PS
9957         * perl/Amanda/Process.pm: use $PS
9958
9959 2008-09-19  Jean-Louis Martineau <martineau@zmanda.com>
9960         * server-src/reporter.c (addline): Done it constant time.
9961
9962 2008-09-19  Dustin J. Mitchell <dustin@zmanda.com>
9963         * common-src/Makefile.am common-src/quoting-test.c: new tests
9964         * common-src/token.c common-src/token.h: removed
9965         * common-src/util.c common-src/util.h: new home for quoting functions
9966         * configure.in: don't check for shquote
9967         * man/xml-source/amanda.conf.5.xml: info on quoting
9968         * perl/Amanda/Config/Server.pm: note about incompatibility
9969         * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
9970           server-src/driver.c server-src/driverio.c server-src/driverio.h
9971           server-src/dumper.c server-src/infofile.c server-src/server_util.c
9972           server-src/server_util.h server-src/taper-file-source.c
9973           server-src/taper-port-source.c server-src/taper.c: use new/updated
9974           quoting functions
9975
9976 2008-09-19  Nick Smith <nick.smith@techop.ch>
9977         * example/amanda.conf.in: fix incorrect execute_on examples
9978
9979 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
9980         * server-src/dumper.c: Call security_close_connection before
9981                                checking if pkt == NULL.
9982
9983 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
9984         Patch by Nick Smith
9985         * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
9986         * server-src/diskfile.c: Init xml_app.result to stralloc("").
9987
9988 2008-09-16 Dan Locks <dwlocks@zmanda.com>
9989         * packaging/rpm/amanda.spec:  Added detection of CentOS 4 and 5 as
9990           suggested by dswartz.  added graceful failure when Distro/version is
9991           not detected correctly
9992
9993 2008-09-15  Dustin J. Mitchell <dustin@zmanda.com>
9994         * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
9995
9996 2008-09-14  Dustin J. Mitchell <dustin@zmanda.com>
9997         * server-src/tapefile.c server-src/tapefile.h: add comments to
9998           tapelist
9999         * perl/Amanda/Tapelist.swg: perl tapelist parser, too
10000         * installcheck/Amanda_Tapelist.pl: tests
10001         * man/xml-source/tapelist.5.xml: docs
10002         * server-src/amlabel.c: no initial comments when labeling
10003         * server-src/taper.c: maintain comment when relabeling
10004
10005 2008-09-12  Jean-Louis Martineau <martineau@zmanda.com>
10006         * amandad-src/amandad.c: Fix typo: authetication -> authentication.
10007
10008 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
10009         * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
10010           Mike McConnell for spotting these
10011
10012 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
10013         * server-src/taper.c: improve handling of device errors in taper
10014
10015 2008-09-02  Jean-Louis Martineau <martineau@zmanda.com>
10016         * restore-src/amrestore.c: Load a default server config.
10017
10018 2008-08-29  Dustin J. Mitchell <dustin@zmanda.com>
10019         * autogen: revert glib's configure-time requirement for
10020           pkg-config-0.16
10021
10022 2008-08-28  Dustin J. Mitchell <dustin@zmanda.com>
10023         * device-src/tape-device.c: use the correct blocksize while reading
10024         * device-src/rait-device.c: fix typo
10025         * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
10026           the tape device
10027
10028 2008-08-28  Jean-Louis Martineau <martineau@zmanda.com>
10029         * server-src/dumper.c: Reset the MESG buffer for a new dump.
10030
10031 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
10032         * server-src/amcheck.c: make the check for tapelist result in a NOTE,
10033           not a failure
10034         * server-src/tapefile.c: make a missing tapelist equivalent to an
10035           empty one
10036
10037 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
10038         * config/amanda/types.m4: always include sys/types.h, if it exists,
10039           before trying other headers (fixes builds of FreeBSD-4.x); thanks
10040           to John Hein <jhein@timing.com>
10041         * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
10042           before event.h
10043
10044 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10045         * perl/amglue/bigint.c: add #include "stdint.h"
10046
10047 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10048         * config/amanda/ps.m4: search multiple ps invocations; thanks
10049           to John Hein <jhein@timing.com>
10050
10051 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
10052         * server-src/amadmin.ci (tape): Correctly print next tape to use.
10053         * server-src/tapefile.c (print_new_tapes): New function to print new
10054                                                    tapes.
10055         * server-src/tapefile.h (print_new_tapes): Prototype.
10056         * server-src/reporter.c: Correctly print next tape to use.
10057
10058 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10059         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
10060           add new 'define device' config section
10061         * perl/Makefile.am perl/Amanda/Config/Server.pm
10062           perl/Amanda/Config/Server/Devices.pm
10063           perl/Amanda/Config/Server/Grammar: ditto
10064         * device-src/device.c device-src/device.h: configure devices from
10065           device definitions, with better error handling
10066         * device-src/rait-device.c: handle child devices better
10067         * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
10068           installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
10069           installcheck/amgetconf.pl: new tests, modifications to work with the
10070           new system
10071         * man/xml-source/amanda-devices.7.xml
10072           man/xml-source/amanda.conf.5.xml: corresponding documentation updates
10073         * perl/Amanda/Changer.pm perl/Amanda/Device.swg
10074           restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
10075           server-src/amcheckdump.pl server-src/amdevcheck.pl
10076           server-src/amlabel.c server-src/amtape.c server-src/taper.c
10077           server-src/taperscan.c: remove calls to
10078           set_startup_properties_from_config
10079         * device-src/vfs-test.c: load config before trying to use a device
10080         * common-src/conffile.c: fix use of uninitialized variable
10081
10082 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
10083         * changer-src/chg-disk.sh: replace == with =
10084         * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
10085
10086 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
10087         * server-src/reporter.c: Fix computation of compression ratio.
10088
10089 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
10090         * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
10091         * application-src/amgtar.c, application-src/amgtar_perl.pl:
10092           Ignore "Directory is new" and "Directory has been renamed".
10093
10094 2008-08-21  Jean-Louis Martineau <martineau@zmanda.com>
10095         * common-src/krb5-security.c: Fix security_seterror use.
10096
10097 2008-08-19  Dustin J. Mitchell <dustin@zmanda.com>
10098         * configure.in: check for getgrgid_r and getpwuid_r
10099         * common-src/security-util.c: conditionalize on checks
10100
10101 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10102         * common-src/version.h: remove #include of config.h
10103         * device-src/vfs-device.c: #include amanda.h first
10104
10105 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10106         * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
10107         * installcheck/Installcheck/Run.pm: report exit status
10108         * installcheck/Makefile.am installcheck/amtapetype.pl: new test
10109         * man/xml-source/amtapetype.8.xml: updated manpage
10110         * device-src/s3-device.c device-src/vfs-device.c
10111           device-src/tape-device.c: add compression property
10112         * perl/Amanda/Xfer.swg: add POD for the cancel() method
10113         * xfer-src/dest-device.c: add a default for max_memory
10114
10115 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10116         * common-src/conffile.c: make find_multiplier case-insensitive
10117         * device-src/device.c: reorder assertions
10118         * device-src/tape-device.c: don't set access_mode twice, but
10119           set in_file = FALSE in start
10120         * device-src/s3-device.c: fix property registration
10121         * perl/Amanda/MainLoop.swg: remove attach() from example
10122         * perl/Amanda/Xfer.swg: more detail in POD
10123         * xfer-src/source-pattern.c: operate byte-for-byte, like the random
10124           source, instead of using lots of memcpys and reallocs
10125         * xfer-src/source-random.c: remove redundant check
10126
10127 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10128         * configure.in Makefile.am tape-src/*: remove tape-src
10129         * changer-src/Makefile.am: don't link with libamtape
10130         * changer-src/chg-scsi.c: don't use libamtape
10131         * changer-src/scsi-changer-driver.c: don't use libamtape
10132         * config/amanda/tape.m4: fix comment
10133         * example/amanda.conf.in example/template.d/tapetypes: fix outdated
10134           comments
10135         * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
10136           remove amdd and ammt manpages
10137         * restore-src/Makefile.am: remove refs to tape-src/
10138         * server-src/Makefile.am: remove refs to tape-src/
10139
10140 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
10141         * common-src/krb4-security.c common-src/krb5-security.c
10142           config/amanda/tape.m4 common-src/amanda.h: remove
10143           --with-maxtapeblocksize
10144         * common-src/conffile.c: deprecate file-pad
10145         * device-src/device-queueing.c device-src/device-queueing.h
10146           device-src/device.c device-src/device.h device-src/null-device.c
10147           device-src/property.c device-src/property.h device-src/rait-device.c
10148           device-src/s3-device.c device-src/tape-device.c
10149           device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
10150           server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
10151           xfer-src/source-device.c perl/Amanda/Device.swg: devices have
10152           {min,max,current} block sizes; remove the short_block parameter from
10153           device_write_block; fix property initialization; rename
10154           PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
10155         * device-src/rait-device.c: set child block sizes explicitly
10156         * installcheck/Amanda_Device.pl: tests; better S3 test count
10157           calculations
10158         * installcheck/Amanda_Xfer.pl: tests
10159         * man/xml-source/amanda-devices.7.xml: update block sizes
10160           documentation
10161         * man/xml-source/amanda.conf.5.xml: refer to block size properties
10162         * restore-src/amrestore.c: use set_restore_device_read_buffer_size
10163         * restore-src/restore.h restore-src/restore.c: add
10164           set_restore_device_read_buffer_size
10165
10166 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10167         * server-src/driver.c: handle taper_{input,tape}_error memory
10168           correctly, and add taper_tape_error to the trace log
10169
10170 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10171         * application-src/amzfs-snapshot.pl application-src/script-email.pl:
10172           remove unnecessary 'use Amanda::Device'
10173
10174 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10175         * common-src/amgetconf.pl: use filename-safe characters for $appname
10176         * installcheck/amgetconf.pl: test it
10177
10178 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10179         * man/entities/global.entities: add manpage refs
10180         * packaging/rpm/amanda_enterprise.spec
10181           packaging/rpm/amanda_enterprise_client.spec
10182           man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
10183           man/Makefile.am: add disklist(5), tapelist(5)
10184         * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
10185           man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
10186           man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
10187           man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
10188           man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
10189           man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
10190           - remove references to "output drivers" in favor of "device drivers"
10191           - add more inter-page references
10192           - fix typos
10193           - add client_login to amanda-client.conf(5)
10194           - reformat informaltables, which don't render well in HTML or nroff,
10195             into variablelists, with fixes for bad xml->man conversion
10196           - fix funky replacement entities in HTML output
10197         * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
10198         * perl/Amanda/Device.swg: fix typo
10199         * perl/Amanda/MainLoop.swg: add hints for writing async functions
10200         * perl/Amanda/Types.swg: fix bad POD
10201         * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
10202         * perl/Amanda/Xfer.swg: tweaks
10203         * server-src/taper.c: fix typo
10204         * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
10205           will no longer overwrite such tapes
10206
10207 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10208         * common-src/debug.c: lock debug logging on a per-line basis
10209
10210 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
10211         * device-src/rait-device.c: parse RAIT names with internal {..}
10212         * installcheck/Amanda_Device.pl: light testing
10213
10214 2008-08-15  Dustin J. Mitchell <dustin@zmanda.com>
10215         * common-src/debug.c: include backtraces on fatal errors
10216         * config/amanda/debugging.m4: look for glibc's backtrace support
10217         * configure.in: ditto
10218
10219 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>
10220         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
10221           device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
10222           to date with function signatures
10223
10224 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>,
10225             Nikolas Coukouma <atrus@zmanda.com>
10226         * xfer-src/*: add support for asynchronous cancellation of transfers
10227           and use it for error-handling
10228         * perl/Amanda/Xfer.swg: reflect into perl
10229         * installcheck/Amanda_Xfer.pl: test cancellation
10230
10231 2008-08-12  Dustin J. Mitchell <dustin@zmanda.com>
10232         * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
10233         * man/Makefile.am: remove config.log after running config.status
10234
10235 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
10236         * common-src/conffile.c: cleaner fix for signed compared to unsigned
10237           errors on older versions of GCC.
10238
10239 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
10240         * common-src/Makefile.am: second fix
10241
10242 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
10243         * common-src/Makefile.am: don't syntax-check amgetconf, since
10244           it uses Amanda::* modules
10245
10246 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
10247         * server-src/amgetconf.pl, common-src/amgetconf.pl:
10248           Add --execute-where=client|server and --client options
10249           to make amgetconf query the client configuration
10250           instead. Move from server-src to common-src.
10251         * man/xml-source/amgetconf.8.xml: Document the new options.
10252         * installcheck/amgetconf.pl: Test the new options.
10253         * server-src/Makefile.am, common-src/Makefile.am:
10254           Updated Makefiles for move.
10255         * packaging/deb/amanda-enterprise-backup-client.install,
10256           packaging/sun-pkg/i386/client/prototype:
10257           Add amgetconf to client packages.
10258
10259 2008-08-04 Dan Locks <dwlocks@zmanda.com>
10260         * packaging/rpm/amanda.spec:  add %{tarver} macro and set the correct
10261           minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
10262
10263 2008-08-04  Dustin J. Mitchell <dustin@zmanda.com>
10264         * common-src/conffile.c: workaround gcc<4.1.0 problems with long
10265           constants, don't use G_MAXINT64 in precompiler expressions
10266
10267 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
10268         * server-src/amrmtape.sh: use shell redirection with shell functions
10269
10270 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
10271         * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
10272         * common-src/dgram.c: address family debugging
10273         * common-src/stream.c: address family debugging
10274
10275 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
10276         * common-src/amanda.h common-src/conffile.c common-src/conffile.h
10277           installcheck/Amanda_Config.pl perl/Amanda/Config.swg
10278           server-src/planner.c: replace am64 type with gint64; also replace
10279           some uses of off_t
10280
10281 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
10282         * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
10283           stringify consistently (no '+' prefixing positive numbers).
10284         * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
10285         * installcheck/bigint.pl, perl/amglue/bigint.c:
10286           Use Amanda::BigIntCompat everywhere we use bigint.
10287
10288 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
10289         * common-src/match.c: Correct array index to be within bounds
10290
10291 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
10292         * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
10293           AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
10294           appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
10295           (which causes errors).
10296
10297 2008-07-30  Dustin J. Mitchell <dustin@zmanda.com>
10298         * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
10299         * installcheck/amgetconf.pl: ditto
10300
10301 2008-07-29 Dan Locks <dwlocks@zmanda.com>
10302         * packaging/rpm/amanda.spec:  Merged fixes from enterprise .spec for
10303           parsing redhat-release for fedora versions correctly.
10304
10305 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
10306         * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
10307
10308 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
10309         * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
10310           Also check the returned ETag to make sure it matches the sent MD5 hash.
10311           Use simpler s3_base64_encode() instead of base64_encode().
10312           Correct the use of character classes in several regular expressions.
10313         * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
10314           s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
10315           as some constants. Move regexec_wrap() into this and rename it to
10316           s3_regexec_wrap().
10317         * device-src/Makefile.am: add s3-util.c and s3-util.h
10318
10319 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
10320         * installcheck/Installcheck/Config.pm: don't set default tapetype
10321           unless not set explicitly.
10322         * installcheck/Amanda_Config.pl: test changes
10323         * man/xml-source/amanda-client.conf.5.xml
10324           man/xml-source/amanda.conf.5.xml: encourage, but don't require,
10325           quoted identifiers
10326
10327 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
10328         * server-src/amserverconfig.pl: apply perltidy, factor some common
10329           code, and create the config dir and changer conf only after the check
10330           for mtx is performed
10331
10332 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
10333         * device-src/tests/semaphore-test.c: move function call out of
10334           variable initialization
10335
10336 2008-07-25 Dan Locks <dwlocks@zmanda.com>
10337         * packaging/deb/control: added alternative dependency of libssl0.9.8 for
10338           Ubuntu 8.x builds.  Added build dependencies for debhelper, fakeroot,
10339           libcurl-dev, libssl-dev.  Updated server and client dependency for curl
10340           to libcurl3
10341
10342 2008-07-18 Dan Locks <dwlocks@zmanda.com>
10343         *  configure.in:  add format-security to gcc compile flags
10344         *  server-src/amindexd.c,
10345            server-src/dumper.c,
10346            server-src/reporter.c,
10347            restore-src/restore.c,
10348            common-src/security-util.c,
10349            common-src/bsd-security.c:  replacemented unquoted strings in
10350            function arguments with "%s", arg.  jrfranks's suggestion, dustin provided
10351            syntax for the fix.
10352
10353 2008-07-17 Dan Locks <dwlocks@zmanda.com>
10354         * packaging/debian/amanda-enterprise-backup-*.install: added entries for
10355           applications and devices man pages.
10356
10357 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
10358         * man/Makefile.am: Add amzfs-snapshot.8
10359         * man/xml-source/amzfs-snapshot.8.xml: New man page.
10360         * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
10361         * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
10362         * application-src/amzfs-snapshot.pl: New script
10363         * application-src/Makefile.am: Add amzfs-snapshot
10364         * perl/Amanda/Util.swg: Add sanitise_filename.
10365
10366 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
10367         * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
10368
10369 2008-07-16  Jean-Louis Martineau <martineau@zmanda.com>
10370         * server-src/driver.c: Improve message in failure to dump in degraded
10371                                mode.
10372
10373 2008-07-16 Dan Locks <dwlocks@zmanda.com>
10374         * packaging/deb/control,
10375           packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
10376           build dependency for openssl and curl development files.
10377
10378 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
10379         * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
10380           specifying both IPv{4,6} does not work; remove IPv4
10381
10382 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
10383         * man/Makefile.am: Add new man pages.
10384         * man/xml-source/script-email.8.xml: New man page.
10385         * man/xml-source/amanda.8.xml: List new man pages.
10386         * man/xml-source/amanda-scripts.7.xml: New man page.
10387
10388 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
10389         * configure.in: generate (x)inetd files
10390         * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
10391           example/xinetd.amandaserver.in: give appropriate path for amandad,
10392           from configure (fixes builds on 64-bit machines)
10393 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
10394         * client-src/client_util.c: #include "glib-util.h"
10395         * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
10396         * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
10397         * device-src/rait-device.c: Remove g_ptr_array_foreach.
10398
10399 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
10400         * client-src/client_util.c: Read stdout of scripts.
10401         * client-src/client_util.h: New prototype for run_client_scripts,
10402                                     New client_script_result_t struct.
10403         * client-src/sendbackup.c: Send scripts properties to application.
10404         * client-src/sendsize.c: Send scripts properties to application.
10405         * client-src/selfcheck.c: Send scripts properties to application.
10406         * recover-src/extract_list.c: Send scripts properties to application.
10407         * common-src/amxml.h (script_t) Add field to keep result of script.
10408         * common-src/amxml.c: Set script->result to NULL.
10409
10410 2008-07-14 Dan Locks <dwlocks@zmanda.com>
10411         * packaging/rpm/amanda.spec: fix macro detection of fedora version
10412
10413 2008-07-14 Dan Locks <dwlocks@zmanda.com>
10414         * packaging/rpm/amanda.spec: fix distribution detection, add
10415         activate-devpay to server files list
10416
10417 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
10418         * installcheck/Amanda_Changer.pl: set up and parse a config, now that
10419           Amanda::Changer needs one
10420
10421 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
10422         * perl/Amanda/Changer.pm: set device properties when testing device
10423           labels in the changer
10424
10425 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
10426         * application-src/amgtar.c: Add a DIRECTORY property.
10427         * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
10428
10429 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
10430         * changer-src/chg-lib.sh.in: remove bogus Log() invocations
10431
10432 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
10433         * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
10434           to new manpages
10435
10436 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
10437         * installcheck/Amanda_Device.pl: be more liberal in the flags that are
10438           accepted from S3's read_label; this will reduce false failures
10439
10440 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
10441         * client-src/client_util.c: Remove unused output_tool_property function.
10442         * client-src/client_util.h: Remove output_tool_property prototype.
10443         * man/xml-source/amanda-client.conf.5.xml: Add application and script
10444                                                    sections.
10445         * man/xml-source/amanda.conf.5.xml: Improve application and script
10446                                             sections.
10447         * device-src/device.c: Fix for new property_t.
10448         * server-src/diskfile.h: Change prototype for xml_application and
10449                                  xml_scripts.
10450         * server-src/diskfile.c: Add <priority> tag if client support it.
10451         * server-src/amindexd.c: Fix call to xml_application.
10452         * server-src/amcheck.c: Fix call to xml_application.
10453         * server-src/planner.c: Fix call to xml_application.
10454         * server-src/driverio.c: Fix call to xml_application.
10455         * server-src/server_util.c: Remove code to write property to stdin of
10456                                     script.
10457         * perl/Amanda/Config.swg: Fix for new property_t.
10458         * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
10459         * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
10460                                     function.
10461         * installcheck/Amanda_Config.pl: Fix for new property_t.
10462         * common-src/util.c: Remove unused output_tool_proplist fucntion,
10463                              Fix for new property_t.
10464         * common-src/util.h: Remove output_tool_proplist prototype.
10465         * common-src/amxml.c:Fix for new property_t, parse priority of property.
10466         * common-src/conffile.c: Parse priority of a property,
10467                           Add application and script to amanda-client.conf.
10468         * common-src/conffile.h: New property_t struct.
10469         * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
10470         * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
10471
10472 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
10473         * man/entities/global.entities: Add ENTITY email.jlm.
10474         * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
10475           amgtar.8 and amstar.8.
10476         * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
10477                                             at the begining of a line.
10478         * man/xml-source/amanda-applications.7.xml: New page.
10479         * man/xml-source/amgtar.8.xml: New page.
10480         * man/xml-source/amstar.8.xml: New page.
10481
10482 2008-07-09  Ian Turner <ian@zmanda.com>
10483         * device-src/device.h: Clarify documentation of device_read_label().
10484         * device-src/s3-device.c, device-src/tape-device.c,
10485           device-src/vfs-device.c (device_read_label): Always clear volume
10486           labels, even if device is in error.
10487         * device-src/rait-device.c: Ditto; also properly handle properties
10488           that change device labels.
10489
10490 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
10491         * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
10492           property (for setting location constraints).
10493
10494 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>
10495         * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
10496           when EOF occurs on writing
10497
10498 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>,
10499             Nikolas Coukouma <atrus@zmanda.com>,
10500             Ian Turner <ian@zmanda.com>,
10501             Jean-Louis Martineau <martineau@zmanda.com>
10502         Amanda has been analyzed with Klocwork source code analysis, the most
10503         accurate and comprehensive tool for finding critical programming
10504         errors and security vulnerabilities.
10505         * amandad-src/amandad.c changer-src/chg-scsi.c
10506           client-src/client_util.c client-src/selfcheck.c
10507           client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
10508           common-src/bsd-security.c common-src/fileheader.c
10509           common-src/local-security.c common-src/queueing.c
10510           common-src/security-util.c device-src/property.c
10511           device-src/rait-device.c device-src/tape-device.c
10512           device-src/vfs-device.c recover-src/set_commands.c
10513           restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
10514           server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
10515           server-src/changer.c server-src/chunker.c server-src/cmdline.c
10516           server-src/driver.c server-src/holding.c server-src/logfile.c
10517           server-src/reporter.c server-src/server_util.c
10518           server-src/taper-file-source.c: fix many issues identified
10519           by Klockwork, ranging in severity from stylistic to minor.
10520            - many memory leaks in error paths and application shutdown
10521            - better handling of incorrect commandline arguments
10522            - better resource management (file descriptors, etc.)
10523
10524 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
10525         * device-src/Makefile.am: conditionalize activate-devpay on
10526           WANT_S3_DEVICE
10527
10528 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
10529         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
10530           device-src/activate-devpay.c, device-src/Makefile.am:
10531           Allow both regular S3 and S3-with-DevPay to be used in
10532           the same installation. Remove WANT_DEVPAY macro.
10533         * device-src/s3-device.c: Added a flag, is_devpay, to the device
10534           and handled divergent cases. Removed useless device_error_set calls.
10535         * device-src/s3.c: Use DevPay authentication iff user_token is set.
10536           Replaced some if statements about non-NULL pointers with assertions.
10537         * config/amanda/s3-device.m4, device-src/Makefile.am:
10538           remove devpay flag and WANT_DEVPAY definition.
10539         * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
10540           other S3 tests.
10541
10542 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
10543         * device-src/s3.c: wait for bucket to appear after creation, treat
10544           missing bucket as temporary error, increase retries from 5 to 14
10545           (about 3min), explicitly handle HTTP verbs as libcurl expects.
10546         * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
10547           buckets taking too long to appear.
10548
10549 2008-07-06 Dan Locks <dwlocks@zmanda.com>
10550         * packaging/deb/amanda-backup-server.postrm
10551           packaging/deb/amanda-backup-client.postrm: removed unused
10552           code
10553         * packaging/deb/postrm: fixed typo in deluser command
10554         * packaging/deb/rules: added specific preinst and postrm scripts for
10555           client and server.
10556
10557 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
10558         * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
10559           new files for HTML output
10560         * man/xslt/man.xsl.in: substitute XSLT_VERS
10561         * man/xml-source/amanda-devices.7.xml: tweaks
10562         * man/xml-source/amanda.8.xml: tweaks
10563         * man/xml-source/amanda.conf.5.xml: tweaks
10564         * man/xml-source/amgetconf.8.xml: tweaks
10565         * man/xml-source/amtoc.8.xml: tweaks
10566
10567 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
10568         * common-src/genversion.c: correctly represent available amflock
10569           implementations
10570
10571 2008-07-03  Jean-Louis Martineau <martineau@zmanda.com>
10572         * perl/Amanda/Xfer.swg: #include "glib-util.h"
10573
10574 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
10575         * device-src/rait-device.c: don't use self->device_name in open_device
10576
10577 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
10578         * installcheck/amgetconf.pl: supply a plugin for scripts
10579
10580 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
10581         * server-src/diskfile.c: Check an application is set if
10582                                  program == "APPLICATION".
10583         * common-src/amxml.c: Check plugin is set for application and script.
10584         * common-src/conffile.c: Check plugin is set for application and script
10585
10586 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
10587         * server-src/amstatus.pl: Fix printing of config path on error.
10588
10589 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
10590         * installcheck/Amanda_Device.pl: test that start(READ) without first
10591           reading the label doesn't cause errors
10592         * device-src/s3-device.c: call s3_device_read_label directly
10593
10594 2008-07-02  Ian Turner <ian@zmanda.com>
10595         * man/xml-source/amanda.8.xml: Document how to override device
10596           properties.
10597
10598 2008-07-02  Ian Turner <ian@zmanda.com>
10599         Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
10600         to this patch.
10601         * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
10602           to start RAIT device in degraded mode.
10603         * device/device.c: Be a little more forgiving of NULL devices.
10604         * device-src/vfs-device.c: Fix a bug where vfs_device_start()
10605           would sometimes throw an erroneous assertion.
10606         * device-src/rait-device.c: Be much more robust in error handling;
10607           new feature to start a RAIT device in degraded mode.
10608         * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
10609
10610 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
10611         * common-src/amanda.h: remove unused #include <alloca.h>
10612
10613 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
10614         * device-src/tape-device.c: add "user" and "good" to feature flags
10615         * man/xml-source/amanda-devices.7.xml: document it
10616
10617 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
10618         * device-src/device.h: fix comments to reflect removal of
10619           autofinishing
10620         * device-src/tape-device.c: remove autofinishing
10621
10622 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
10623         * changer-src/chg-lib.sh.in: also handle bare tape dev names
10624
10625 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
10626         * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
10627         * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
10628           open the debug file
10629
10630 2008-06-30  Dustin J. Mitchell <dustin@zmanda.com>
10631         * common-src/match.c: fix multiple bugs in match_datestamp
10632
10633 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
10634         * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
10635           perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
10636           perl/Amanda/Device.swg perl/Amanda/Logfile.swg
10637           perl/Amanda/Util.swg: POD cleanup
10638         * perl/Makefile.am: new files, rules to make HTML
10639         * perl/amperl.css: CSS file for online POD
10640         * perl/make_html.pl: make online POD
10641
10642 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
10643         * installcheck/Makefile.am installcheck/amstatus.pl: new check
10644
10645 2008-06-27  Ian Turner <ian@zmanda.com>
10646         * server-src/taper.c: fix printing a NULL pointer in the error path
10647
10648 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
10649         * device-src/device.c: check for and fail on multiple
10650           short writes to the same file
10651         * device-src/null-device.c device-src/rait-device.c
10652           device-src/s3-device.c device-src/tape-device.c
10653           device-src/vfs-device.c: do not autofinish files
10654         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
10655           expect devices to autofinish anymore
10656         * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
10657         * device-src/device-queueing.c: comments
10658         * xfer-src/xfer-element.h: comments
10659
10660 2008-06-27  Nikolas Coukouma <atrus@zmanda.com>
10661         * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
10662           Add support for bucket location constraints
10663         * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
10664         * device-src/s3.c device-src/s3.h device-src/s3-device.c:
10665           Checks for libcurl and bucket name compatability with location constraints
10666         * device-src/s3.c: make s3_init() threadsafe,
10667           refactor regex compilation and calling,
10668           refactor perform_request() functions to construct URL later,
10669           use GString to tidy string generation
10670         * installcheck/Amanda_Device.pl: Add tests for location constraints
10671
10672 2008-06-27  Ian Turner <ian@zmanda.com>
10673         * device-src/rait-device.c: Fix a memory corruption issue on the last
10674           block of a file.
10675
10676 2008-06-27  Ian Turner <ian@zmanda.com>
10677         * device-src/rait-device.c: Fix a memory corruption issue on the last
10678           block of a file.
10679
10680 2008-06-27  Ian Turner <ian@zmanda.com>
10681         * device-src/rait-device.c: Track file numbers properly when child
10682           devices change them (that is, in rait_device_start_file() and
10683           rait_device_seek_file()).
10684         * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
10685
10686 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
10687         * device-src/s3-device.c (s3_device_read_label): Don't set
10688           volume_header if nothing is read.
10689
10690 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
10691         * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
10692
10693 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
10694         * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
10695         * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
10696           be busy or offline
10697
10698 2008-06-26  Jean-Louis Martineau <martineau@zmanda.com>
10699         * application-src/amstar.c: Use local start_time variable.
10700         * application-src/amgtar.c: Use local start_time variable.
10701         * common-src/clock.h: Remove times_zero and start_time extern.
10702         * common-src/clock.c: Remove times_zero.
10703
10704 2008-06-25  Jean-Louis Martineau <martineau@zmanda.com>
10705         * server-src/diskfile.c: Don't send encryption in xml req packet for
10706                                  server encryption.
10707
10708 2008-06-25  Dustin J. Mitchell <dustin@zmanda.com>
10709         * application-src/amgtar.c: revert --atime-preserve change
10710
10711 2008-06-22  Dustin J. Mitchell <dustin@zmanda.com>
10712         * application-src/amgtar.c: change --atime-preserve=system to
10713           --atime-preserve
10714
10715 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>
10716         * installcheck/amdump.pl: fix checks to refresh the test configuration
10717
10718 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
10719         * server-src/amdump.sh: correctly handle error exits from planner
10720         * server-src/planner.c: fail if planning fails
10721         * installcheck/amdump.pl: test changes
10722
10723 2008-06-20 Dan Locks <dwlocks@zmanda.com>
10724         * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
10725
10726 2008-06-20 Dan Locks <dwlocks@zmanda.com>
10727         * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
10728
10729 2008-06-20  Jean-Louis Martineau <martineau@zmanda.com>
10730         * client-src/client_util.c: Call check_access() only
10731                                     if getuid() == geteuid().
10732         * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
10733
10734 2008-06-19  Jean-Louis Martineau <martineau@zmanda.com>
10735         * server-src/amcleanup.pl: Correctly rename amdump files.
10736
10737 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
10738         * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
10739         * man/entities/global.entities: emails for dustin and ian
10740         * man/xml-source/amanda.8.xml: refer to new manpage
10741         * man/xml-source/amanda.conf.5.xml: refer to new manpage
10742         * man/xml-source/amrecover.8.xml: refer to new manpage
10743         * server-src/amcheck.c: fix message regarding WORM media
10744
10745 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
10746         * server-src/amgetconf.pl: fail on bad parameters or subsections, but
10747           not empty values or subsection lists
10748         * perl/Amanda/Config.swg: publish a list of subsections
10749         * installcheck/amgetconf.pl: test it
10750
10751 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
10752         * example/template.d/amanda-single-tape.conf.in
10753           example/template.d/amanda-harddisk.conf.in
10754           example/template.d/amanda-tape-changer.conf.in
10755           example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
10756           use application amgtar instead of program GNUTAR
10757
10758 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
10759         * config/amanda/net.m4: AC_SUBST port ranges; update comments
10760
10761 2008-06-19  Satya Ganga <gsat@zmanda.com>
10762         * example/template.d/amanda-single-tape.conf.in
10763           example/template.d/advanced.conf.in: update displayunit to "g" and
10764           remove chg-manual for single tape configurations.
10765
10766 2008-06-19  Ian Turner <ian@zmanda.com>
10767         * device-src/rait-device.c (rait_device_start): Check for consistent
10768           volume label on all child devices, fail with
10769           DEVICE_STATUS_DEVICE_ERROR otherwise.
10770         * installcheck/Amanda_Device.pl: Test for foregoing.
10771
10772 2008-06-19  Paddy Sreenivasan <paddy@zmanda.com>
10773         * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
10774
10775 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
10776         * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
10777         * config/automake/scripts.am: explain why
10778
10779 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
10780         * changer-src/chg-manual.sh: Make it interruptible.
10781
10782 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
10783         * application-src/amgtar.c: Remove check for amandates file.
10784
10785 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
10786         * common-src/amanda.h: Fix skip_quoted_string for "\\".
10787         * common-src/file.c: Fix debug_agets for "\\".
10788
10789 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
10790         * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
10791
10792 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
10793         * client-src/sendsize.c: Report error from application to server.
10794         * application-src/amgtar.c: Report exit status of tar.
10795
10796 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
10797         * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
10798           xfer-src/dest-device.c xfer-src/source-device.c: new elements
10799           Amanda::Xfer:{Dest,Source}::Device
10800         * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
10801         * installcheck/Amanda_Xfer.pl: tests for new elements
10802
10803 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
10804         * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
10805           and amgtar
10806         * installcheck/amservice.pl: put -f switches first
10807
10808 2008-06-15  Dustin J. Mitchell <dustin@zmanda.com>
10809         * installcheck/Amanda_Config.pl: test config overwrites
10810         * common-src/conffile.c: don't segfault applying config overwrites
10811           after config_init(0, NULL)
10812
10813 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
10814         * client-src/sendbackup.c: Run compression and encryption for
10815                                    application-api.
10816
10817 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
10818         * perl/Amanda/Util.swg: Expose get_original_cwd.
10819         * application-src/amgtar_perl.pl, application-src/amoracle.pl:
10820           chdir(get_original_cwd()) before restore.
10821
10822 2008-06-13  Dustin J. Mitchell <dustin@zmanda.com>
10823         * device-src/property.c device-src/property.h: remove tape properties
10824         * device-src/tape-device.c device-src/tape-device.h: add tape
10825           properties
10826
10827 2008-06-12 Dan Locks <dwlocks@zmanda.com>
10828         * packaging/rpm/amanda_enterprise.spec,
10829           packaging/rpm/amanda_enterprise_client.spec,
10830           packaging/deb/rules: install amgtar and amstar suid root
10831
10832 2008-06-12  Jean-Louis Martineau <martineau@zmanda.com>
10833         * client-src/selfcheck.c: Typo.
10834
10835 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
10836         * client-src/sendsize.c: Check MAX-LEVEL from application.
10837         * server-src/planner.c: Ask for estimate even if SERVER, estimate is
10838           valid if client return -1 and invelid if client return -2.
10839         * common-src/amfeatures.h: New fe_xml_estimate amfeature.
10840         * common-src/amxml.c: Parse <estimate> tag.
10841         * common-src/amxml.h (dle_t): New estimate field.
10842         * common-src/amfeatures.c: Set fe_xml_estimate.
10843
10844 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
10845         * client-src/client_util.c (application_property_add_to_argv):
10846                                    Add include and exclude.
10847         * client-src/client_util.h (application_property_add_to_argv):
10848                                    New prototype.
10849         * client-src/sendbackup.c, client-src/sendsize.c,
10850           client-src/selfcheck.c, recover-src/extract_list.c:
10851           Add bsu param to application_property_add_to_argv.
10852         * client-src/selfcheck.c: Check if application support includ/exclude.
10853         * application-src/amgtar_perl.pl: Don't support include/exclude.
10854         * application-src/amgtar.c: Support include-optional and
10855                                     exclude-optional.
10856         * common-src/amxml.c: Fix include/exclude parsing.
10857
10858 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
10859         * application-src/Makefile.am: Install amgtar and amstar suid root.
10860
10861 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
10862         * client-src/selfcheck.c: Print cmdline before execing the application.
10863         * application-src/generic-dumper.pl: Cleanup.
10864         * application-src/script-oracle.pl: Cleanup.
10865         * application-src/script-email.pl: Cleanup.
10866         * application-src/amgtar_perl.pl: Cleanup.
10867         * application-src/generic-script.pl: Cleanup.
10868         * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
10869         * perl/Amanda/Debug.swg: Typo.
10870
10871 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
10872         * common-src/Makefile.am: don't use $(builddir), fix comparison
10873         * installcheck/Makefile.am: don't use $(builddir)
10874
10875 2008-06-10  Ian Turner <ian@zmanda.com>
10876         * common-src/fileheader.c: Silence a compiler warning.
10877         * device-src/rait-device.c: ditto.
10878
10879 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
10880         * device-src/rait-device.c: hack around glib bug in versions <2.10.2
10881           using the precompiler macro instead of glib_check_version, which
10882           doesn't exist in every version of glib
10883
10884 2008-06-10 Dan Locks <dwlocks@zmanda.com>
10885         * packaging/rpm/amanda.spec:  Replaced individual SBINDIR/am... entries
10886           with SBINDIR/am* in %%files
10887
10888 2008-06-10  Jean-Louis Martineau <martineau@zmanda.com>
10889         * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
10890
10891 2008-06-09 Dan Locks <dwlocks@zmanda.com>
10892         * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
10893           cause the script to fail.
10894
10895 2008-06-09 Dan Locks <dwlocks@zmanda.com>
10896         * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
10897           use a single SBINDIR/am* entry in %files
10898
10899 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
10900         * common-src/fileheader.c: correctly free dle_str
10901         * device-src/device.c device-src/device.h: add volume_header Device
10902           attributes
10903         * device-src/rait-device.c device-src/s3-device.c
10904           device-src/tape-device.c device-src/vfs-device.c: populate
10905           volume_header
10906         * server-src/amlabel.c: use volume_header to detect a non-empty tape
10907           and require a force (-f) to overwrite it
10908         * server-src/taperscan.c: use volume_header to detect a non-empty tape
10909           and require 'amlabel -f' to overwrite it
10910         * device-src/tape-device.c device-src/vfs-device.c: fix read_label
10911           return values and remove useless chain-up calls
10912
10913 2008-06-09  Jean-Louis Martineau <martineau@zmanda.com>
10914         * server-src/amservice.c: Open input file in read mode, prepend
10915                                   get_original_cwd() to relative path.
10916         * installcheck/Makefile.am: Check amservice only on server.
10917
10918 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
10919         * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
10920
10921 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
10922         * man/xml-source/amanda.8.xml: add links to amservice
10923
10924 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
10925         * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
10926         * configure.in: don't call AC_SOCKADDR_STORAGE
10927
10928 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
10929         * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
10930
10931 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
10932         * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
10933           handling so that checks can load/unload vtapes "manually"
10934
10935 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
10936         * server-src/amdevcheck.pl: apply config_overwrites before printing
10937           config errors
10938
10939 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
10940         * application-src/amgtar_perl.pl application-src/amstar_perl.pl
10941           application-src/generic-dumper.pl application-src/generic-script.pl
10942           application-src/script-email.pl server-src/amgetconf.pl: add GPL
10943           notice
10944
10945 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
10946         * server-src/amservice.c: Exit with 1 if the connection fail.
10947         * man/xml-source/amservice.8.xml: Document exit code.
10948
10949 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
10950         * device-src/device.c: make device_set_error bulletproof to NULLs
10951         * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
10952           not defined
10953
10954 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
10955         * man/Makefile.am: Add amservice.8.
10956         * man/xml-source/amservice.8.xml: New man page for amservice.
10957         * server-src/amservice.c: New program to execute an amanda service
10958                                   on a client.
10959         * server-src/Makefile.am: Add amservice
10960         * installcheck/amservice.pl: New check for amservice program.
10961         * installcheck/Makefile.am: Add amservice
10962
10963 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
10964         * server-src/dumper.c: Don't quote dle_str.
10965         * common-src/fileheader.c: DLE= in header is like heredoc.
10966
10967 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
10968         * device-src/*: major overhaul:
10969           - add device_set_error to set error status and message for Device
10970           - every error return from a device API method sets error status
10971           - device_status_error is now threadsave
10972           - a device in an error state will not perform further operations
10973           - ensure Device attributes are set correctly by member functions
10974           - device_open never returns NULL, but may return a null device with
10975             error status set
10976           - clearly define $device_name="$device_type:$device_node"
10977           - send RAIT logging to the debug log
10978           - vfs, tape devices don't touch the device until read_label or start
10979           - on out-of-space in write, set is_eof, finish the file, and return
10980             FALSE
10981           - use accessor functions in Amanda::Device
10982           - move device-specific properties to live with their devices
10983           - change g_return_val_if_fail to g_assert or explicit checks
10984           - remove most default Device methods, as they were more confusing
10985             than helpful
10986           - misc. other cleanup
10987         * device-src/null-device.h device-src/rait-device.h
10988           device-src/s3-device.h device-src/vfs-device.h: removed to make most
10989           device class declarations local to the source file
10990         * perl/Amanda/Device.swg: new error handling
10991         * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
10992           server-src/amcheck.c server-src/amcheckdump.pl
10993           server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
10994           server-src/taperscan.c: use new device error-handling
10995         * server-src/taper-file-source.c server-src/taper-port-source.c
10996           server-src/taper-source.c: rename GObject constants (typo)
10997         * server-src/taper-source.h:
10998         * server-src/taper.c: handle opening devices better, log on EOM
10999         * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
11000           correctly
11001         * installcheck/amdevcheck.pl: volume-unlabeled message has changed
11002         * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
11003           classes
11004         * configure.in device-src/tests/: removed
11005         * device-src/vfs-test.c: moved from device-src/tests/
11006
11007 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
11008         * client-src/sendbackup.c: Don't write the uncompression program if
11009                                    it is not client compressed.
11010
11011 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11012         * server-src/taper.c: Log no-tape line.
11013
11014 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11015         * server-src/reporter.c: Improve formating.
11016
11017 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11018         * server-src/driver.c: start the degraded mode if it receive
11019                                NO-NEW-TAPE from taper.
11020
11021 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
11022         * server-src/amcheckdump.pl: Check log fiels in directory if find_log
11023                                      find no log for the timestamps.
11024
11025 2008-06-05  Dustin J. Mitchell <dustin@zmanda.com>
11026         * common-src/conffile.c common-src/conffile.h: expose config_add_error
11027         * server-src/diskfile.c server-src/diskfile.h: use config_add_error
11028           to send diskfile errors to conffile's error-handling mechanism
11029         * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
11030           server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
11031           server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
11032           server-src/planner.c: parse disklist along with config
11033
11034 2008-06-04  Jean-Louis Martineau <martineau@zmanda.com>
11035         And Dustin J. Mitchell <dustin@zmanda.com>
11036         * man/xml-source/amanda-client.conf.5.xml: Document property.
11037         * installcheck/Amanda_Config.pl: Add test for client property.
11038         * common-src/conffile.c (client_var): Add CONF_PROPERTY.
11039
11040 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11041         * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
11042         * common-src/fileheader.c: Don't print NULL dle_str.
11043
11044 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11045         * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
11046                                    add fe_amrecover_dle_in_header.
11047         * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
11048         * recover-src/set_commands.c: Use fe_amindexd_DLE.
11049         * server-src/dumper.c: Set dle_str and add it to the header.
11050         * restore-src/restore.c: Remove dle_str is client doesn't have
11051                                  fe_amrecover_dle_in_header.
11052         * common-src/fileheader.c: Parse and set dle_str from header.
11053         * common-src/fileheader.h: Add dle_str in dumpfile_t.
11054
11055 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11056         * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
11057           man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
11058           man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
11059
11060 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
11061         * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
11062                                                  subsec_name.
11063         * installcheck/amgetconf.pl: Fix and add more tests.
11064
11065 2008-06-03  Dustin J. Mitchell <dustin@zmanda.com>
11066         * common-src/amxml.c: give parse error on an empty "disk" element
11067         * server-src/diskfile.c: give parse error on an empty "disk" element
11068
11069 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11070         * common-src/security-util.c: Remove unneeded pointer cast.
11071         * common-src/stream.c: Fix compiler error.
11072
11073 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
11074         * installcheck/Installcheck/Config.pm: fix subsection inheritance
11075
11076 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
11077         * common-src/amanda.h, common-src/bsd-security.c,
11078           common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
11079           common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
11080           common-src/security-util.c, common-src/security-util.h,
11081           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
11082           common-src/stream.c, common-src/util.c, common-src/util.h,
11083           restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
11084           change all relevant functions to use it, to avoid aliasing violations
11085
11086 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11087         * common-src/conffile.c (lookup_keyword): Use temporary variable.
11088         * installcheck/Amanda_Config.pl:  Check insentivity of -/_ in amanda
11089                                           keyword.
11090         * installcheck/Installcheck/Config.pm: Adjust to make the subsection
11091                                                inheritance work.
11092
11093 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11094         * recover-src/extract_list.c: Send properties from dump_dle to
11095                                       application plugin.
11096
11097 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
11098         * client-src/client_util.c: New *-RECOVER scripts.
11099         * application-src/script-email.pl: Add new *-RECOVER scripts.
11100         * application-src/generic-script.pl: Add new *-RECOVER scripts.
11101         * application-src/amstar.c: Fix.
11102         * application-src/amgtar.c: Fix.
11103         * recover-src/amrecover.c: Add a global dump_dle variable.
11104         * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
11105                                       scripts.
11106         * recover-src/amrecover.h: Add an extern dump_dle variable.
11107         * recover-src/set_commands.c: Send to amindexd the DLE command.
11108         * server-src/amindexd.c: Handle the DLE command.
11109         * server-src/server_util.c: Add *-RECOVER scripts, they can't be
11110                                     executed on server.
11111         * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
11112         * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
11113         * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
11114         * common-src/amxml.c: Add *-RECOVER scripts.
11115         * common-src/conffile.c: Add *-RECOVER scripts.
11116         * common-src/conffile.h: Add *-RECOVER scripts.
11117
11118 2008-05-29  Dustin J. Mitchell <dustin@zmanda.com>
11119         * common-src/conffile.c: make config insensitive to
11120           differences between '-' and '_'
11121         * man/xml-source/amanda-client.conf.5.xml
11122           man/xml-source/amanda.conf.5.xml
11123           man/xml-source/amgetconf.8.xml: document it
11124         * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
11125           tests
11126
11127 2008-05-29  Orion Poplawski <orion@cora.nwra.com>
11128         * server-src/chunker.c: fix buffer overrun
11129
11130 2008-05-29  Jean-Louis Martineau <martineau@zmanda.com>
11131         * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
11132
11133 2008-05-28  Dustin J. Mitchell <dustin@zmanda.com>
11134         * device-src/rait-device.c: rait-device returns correct size when
11135           blocksize is too small
11136
11137 2008-05-28  Jean-Louis Martineau <martineau@zmanda.com>
11138         * server-src/reporter.c: Fix ignoring pid line.
11139
11140 2008-05-27  Jean-Louis Martineau <martineau@zmanda.com>
11141         * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
11142         * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
11143
11144 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11145         * server-src/amstatus.pl: use lib '@amperldir@';
11146         * perl/Amanda/Process.pm: use Amanda::Constants;
11147
11148 2008-05-26  Dustin J. Mitchell <dustin@zmanda.com>
11149         * device-src/rait-device.c: temporarily remove the call to set the
11150           BLOCK_SIZE property on all RAIT children, as it fails with VFS
11151           devices
11152         * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
11153           correctly detect and handle child device failures
11154         * common-src/fileheader.c: fix parse_file_header to be threadsafe
11155
11156 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11157         * device-src/tape-aix.c, device-src/tape-xenix.c
11158           device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
11159         * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
11160         * device-src/property.c: Add broken_gmt_online property.
11161         * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
11162         * device-src/tape-device.c: Use broken_gmt_online property.
11163         * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
11164         * device-src/tape-ops.h (tape_is_ready): Change prototype.
11165
11166 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11167         * changer-src/chg-zd-mtx.sh: Fix logging.
11168
11169 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
11170         * packaging/rpm/amanda.spec: Fix output message.
11171
11172 2008-05-25  Dustin J. Mitchell <dustin@zmanda.com>
11173         * common-src/Makefile.am common-src/simpleprng.c
11174           common-src/simpleprng.h: new simple PRNG module for
11175           reproducible use in tests (bitlength bug fixed).
11176         * xfer-src/dest-null.c: verify stream against PRNG
11177         * xfer-src/source-random.c: use PRNG to create stream
11178         * installcheck/Amanda_Xfer.pl: verify streams in xfers
11179         * perl/Amanda/Xfer.swg: use PRNG
11180         * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
11181           PRNG to test glue elements
11182
11183 2008-05-23  Dustin J. Mitchell <dustin@zmanda.com>
11184         * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
11185           reading from dying child
11186
11187 2008-05-22  Dustin J. Mitchell <dustin@zmanda.com>
11188         * xfer-src/xfer-test.c: don't try to write to a file in the
11189           source directory
11190
11191 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
11192         * perl/Amanda/Process.pm (load_ps_table): Fix split.
11193
11194 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
11195         * configure.in: Call AMANDA_PS_ARGUMENT
11196         * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
11197                                                     argument.
11198         * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
11199         * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
11200
11201 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
11202         * perl/Amanda/Process.pm: process_alive return '' if the process is
11203                                   dead.
11204         * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
11205         * installcheck/Makefile.am (server_tests): Add Amanda_Process.
11206
11207 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11208         * server-src/amstatus.pl: Add "failed: killed while" to some status if
11209                                   the driver process is dead.
11210         * perl/Amanda/Process.pm: New process_alive function.
11211
11212 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11213         * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
11214           server-src/amflush.c, server-src/driver.c, server-src/taper.c,
11215           restore-src/amidxtaped.c, restore-src/restore.c,
11216           restore-src/amfetchdump.c: Convert all pid_t to long before printing.
11217
11218 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11219         * man/xml-source/amcleanup.8.xml: Document new -p option.
11220         * server-src/logfile.c (program_str): Add many programs.
11221         * server-src/logfile.h (program_e): Add many programs.
11222         * server-src/dumper.c, server-src/planner.c,
11223           server-src/chunker.c, server-src/amflush.c,
11224           server-src/driver.c, server-src/taper.c,
11225           restore-src/amidxtaped.c, restore-src/restore.c,
11226           restore-src/amfetchdump.c,
11227           server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
11228         * server-src/server_util.c (run_amcleanup): New function to run
11229                                                     amcleanup.
11230         * server-src/server_util.c (get_master_process): New function get the
11231                                  name of the first pid line in a log file.
11232         * server-src/server_util.h (run_amcleanup): Prototype.
11233         * server-src/server_util.h (get_master_process): Prototype.
11234         * server-src/reporter.c: Ignore pid and pid-done lines.
11235         * server-src/amcleanup.pl: New amcleanup program written in perl.
11236         * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
11237                                   SCRIPTS_PERL.
11238         * server-src/amcleanup.sh: Old program removed.
11239         * perl/Amanda/Process.pm: New module to hanlde amanda process.
11240         * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
11241
11242 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
11243         * server-src/driver.c: Fix quoting of diskname.
11244
11245 2008-05-20  Dustin J. Mitchell <dustin@zmanda.com>
11246         * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
11247           necessarily socklen_t used by getpeername et al.
11248         * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
11249           common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
11250           common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
11251           use the type instead of socklen_t
11252
11253 2008-05-20  Jean-Louis Martineau <martineau@zmanda.com>
11254             Dustin J. Mitchell <dustin@zmanda.com>
11255             John Franks <jrfranks@zmanda.com>
11256         * server-src/amstatus.pl: quote disknames in amstatus
11257         * server-src/Makefile.am: don't check amstatus (since it
11258           uses Amanda::* libs)
11259         * perl/Amanda/Util.swg: add (un)quote_string
11260         * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
11261
11262 2008-05-16  Jean-Louis Martineau <martineau@zmanda.com>
11263         * common-src/conffile.c: Fix conf_parserror use.
11264
11265 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
11266         * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
11267           XFA in server builds
11268
11269 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
11270         * common-src/conffile.c: Parse send-amreport-on.
11271         * common-src/conffile.h (send_amreport_t): New enum for possible value
11272                                                    of send-amreport-on.
11273         * server-src/reporter.c: Use send-amreport-on setting.
11274         * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
11275         * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
11276
11277 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
11278         * client-src/client_util.c (application_property_argv_size): New
11279           function to count the number of argument needed to store all
11280           properties of an application for + * a dle in an ARGV.
11281         * client-src/client_util.c (application_property_add_to_argv): New
11282           function to add all properties of an application for a dle to an ARGV.
11283         * client-src/client_util.h (application_property_argv_size,
11284                                   application_property_add_to_argv): Prototype.
11285         * client-src/sendbackup.c, client-src/sendsize.c,
11286           client-src/selfcheck.c: Use new functions to pass properties as
11287                                   argument to application plugin.
11288         * application-src/script-email.pl, application-src/amstar.c,
11289           application-src/generic-script.pl,
11290           application-src/amgtar.c: Get properties from command line.
11291         * server-src/server_util.c: Use new functions to pass properties as
11292                                     argument to pre/post script.
11293         * common-src/util.c (count_proplist): Callback function to count the
11294                                               number of values of a property.
11295         * common-src/util.c (proplist_add_to_argv): callback function to store a
11296                                         property and it's value in an ARGV.
11297         * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
11298         * common-src/conffile.c (property_argv_size): New function to count the
11299                                                       number of properties.
11300         * common-src/conffile.c (property_add_to_argv): New function to store a
11301                                         property and it's value in an ARGV.
11302         * common-src/conffile.h (property_argv_size,
11303                                  property_add_to_argv): Prototype.
11304
11305 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
11306         * xfer-src/Makefile.am: add element-glue.h to the distribution
11307         * xfer-src/element-glue.h: add 'extern'
11308         * xfer-src/xfer-test.c: fix test elements
11309         * xfer-src/xfer.c: don't use the sometimes-undefined constant
11310           G_MAXINT32
11311         * xfer-src/source-random.c: Only use 'prolong' for threads, not
11312           push/pull methods
11313         * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
11314           XMSG_INFO
11315
11316 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
11317         * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
11318           xfer-src/source-random.c xfer-src/xfer-test.c
11319           xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
11320           xfer-src/source-fd.c xfer-src/element-glue.h
11321           xfer-src/Makefile.am xfer-src/filter-xor.c
11322           xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
11323           of transfer mechansims and new algorithm for linking xfers, with
11324           expanded unit tests to exercise new glue elements
11325         * installcheck/Amanda_Xfer.pl: updated installchecks
11326         * common-src/semaphore.h: fix comment typo
11327         * common-src/testutils.c common-src/testutils.h: optionally skip
11328           timeouts (-t), and only show g_debug messages if -d is given
11329
11330 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
11331         * client-src/amhpfixdevs.sh client-src/Makefile.am
11332           client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
11333           permanently remove amsinixfixdevs and amhpfixdevs
11334
11335 2008-05-12  Jean-Louis Martineau <martineau@zmanda.com>
11336           Patch by Orion Poplawski
11337         * server-src/planner.c: Warn about overwrite of last level 1, and
11338           force backup of level 1 if overwrite on this run.
11339
11340 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
11341         * common-src/conffile.c: Define default tapetype.
11342
11343 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
11344         * device-src/tape-device.c (tape_validate_properties): New function to
11345           validate properties.
11346
11347 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
11348         * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
11349
11350 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
11351         * common-src/conffile.c: Check the tapetype is defined.
11352
11353 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
11354         * device-src/tape-device.c: Allow user to set "read_buffer_size"
11355                                     property.
11356         * restore-src/amrestore.c: Don't limit blocksize to
11357                                    --with-maxtapeblocksize.
11358         * common-src/conffile.c: Increase readblocksize to blocksize.
11359           blocksize and readblocksize can be bigger than
11360           --with-maxtapeblocksize.
11361
11362 2008-05-06  Jean-Louis Martineau <martineau@zmanda.com>
11363         * common-src/conffile.c: Add a 'mailer' config parameter.
11364         * common-src/conffile.h: Add CNF_MAILER.
11365         * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
11366           changer-src/chg-manual.sh, application-src/script-email.pl
11367           server-src/amcheck.c server-src/amgetconf.pl
11368           server-src/reporter.c: Use mailer from config.
11369         * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
11370         * config/amanda/progs.m4: Set DEFAULT_MAILER.
11371         * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
11372         * man/xml-source/amanda-client.conf.5.xml,
11373           man/xml-source/amanda.conf.5.xml,
11374           man/xml-source/amgetconf.8.xml: Update man pages.
11375
11376 2008-05-02 Dan Locks <dwlocks@zmanda.com>
11377         * packaging/rpm/amanda.spec:  Replace ${ with %{ where applicable.
11378
11379 2008-05-02 Dan Locks <dwlocks@zmanda.com>
11380         *  packaging/deb/amanda-enterprise-backup-server.postinst
11381            packaging/rpm/amanda_enterprise.spec:  Change .am_passphrase to a
11382            semi-random number in both packages.
11383
11384 2008-04-29  Dustin J. Mitchell <dustin@zmanda.com>
11385         * config/amanda/dirs.m4: note that --with-dumperdir is
11386           deprecated in ./configure --help
11387
11388
11389 2008-04-28  Jean-Louis Martineau <martineau@zmanda.com>
11390         * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
11391
11392 2008-04-28  Dustin J. Mitchell <dustin@zmanda.com>
11393         * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
11394           xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
11395           Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
11396         * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
11397           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
11398           reorganize detection of transfer completion, to handle cases where
11399           elements don't do any active processing
11400         * installcheck/Amanda_Xfer.pl: test it all
11401
11402 2008-04-24  Jean-Louis Martineau <martineau@zmanda.com>
11403         * server-src/reporter.c: Correctly print truncated quoted diskname.
11404
11405 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
11406         * installcheck/Amanda_MainLoop.pl common-src/event-test.c
11407           common-src/queueing-test.c: try to make tests more resilient
11408           to heavily-loaded, slow machines
11409
11410 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
11411         * common-src/security-util.c: Typo.
11412
11413 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
11414         * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
11415         * common-src/event.c: Check event is not dead before fire it.
11416
11417 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
11418         * server-src/planner.c: Fix vstrextend use.
11419
11420 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
11421         * common-src/event.c: use internal child_watch_source
11422           for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
11423           signals and are thus unreliable
11424
11425 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
11426         * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
11427           parsing of 'sec' and 'kb' from logfile messages
11428         * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
11429         * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
11430           for new module
11431
11432 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
11433         * common-src/event.c: on glib <2.4.0, use a simple polling
11434           child_watch_source; on more recent glib, use glib's own
11435           child_watch_source
11436
11437 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
11438         * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
11439           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
11440           xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
11441           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
11442           - flatten XferElement hierarchy to one level
11443           - change test element argument order
11444           - rename XMsg.src to Xmsg.elt
11445           - Improve memory management (refcounting, perl interface)
11446         * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
11447           perl/Amanda/MainLoop.swg perl/Makefile.am
11448           perl/amglue/amglue.h perl/amglue/source.c:
11449           - rewrite handling of amglue_Source for better refcounting
11450           - Amanda::MainLoop callbacks get the event source as 1st argument,
11451             and will be called even if the event source goes out of scope in
11452             perl
11453           - MainLoop.swg significantly rewritten to get refcounting right
11454         * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
11455           file descriptors)
11456         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
11457            checks
11458
11459 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
11460         * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
11461                                    on ioctl error.
11462         * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
11463                          possible errors are VOLUME_MISSING or DEVICE_BUSY.
11464
11465 2008-04-22  Kevin Zembower <kzembowe@jhuccp.org>
11466         * man/xml-source/amflush.8.xml: add amflush example
11467
11468 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
11469         * device-src/tape-device.c: Move all device access from
11470           tape_device_open_device to tape_device_read_label.
11471           tape_device_start read the label if it is not already read.
11472         * device-src/vfs-device.c (vfs_device_open_device): remove read of the
11473                                                             label.
11474
11475 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
11476         * device-src/tape-device.c (check_resetofs): Compilation fix if
11477                                                      NEED_RESETOFS is defined.
11478         * device-src/tape-posix.c: Handle no ENOMEDIUM.
11479
11480 2008-04-21  Dan Locks <dwlocks@zmanda.com>
11481         * packaging/deb/buildpkg: modified build script to create unsigned
11482           packages
11483
11484 2008-04-21  Jean-Louis Martineau <martineau@zmanda.com>
11485         * changer-src/chg-lib.sh.in (amdevcheck_status):
11486           Set amdevcheck_message.
11487         * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
11488           changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
11489           changer-src/chg-multi.sh: Output amdevcheck_message
11490         * device-src/device.c: Set errmsg and status.
11491           device_open always return a device, the status and errmsg are set.
11492         * device-src/device.h: Define DeviceStatusFlags.
11493         * device-src/null-device.c, device-src/s3-device.c,
11494           device-src/tape-device.c, device-src/vfs-device.c,
11495           device-src/rait-device.c: Set errmsg and status.
11496         * device-src/tape-posix.c: Return status for VOLUME_MISSING.
11497         * device-src/tape-ops.h: Remove TapeCheckResult.
11498         * server-src/taper-source.h (_TaperSource): Add errmsg.
11499         * server-src/taper-source.c: Set errmsg
11500         * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
11501           server-src/taperscan.c, restore-src/amrestore.c,
11502           restore-src/restore.c: Use status and errmsg of a device.
11503         * server-src/taper-disk-port-source.c: Set errmsg.
11504         * server-src/reporter.c: Fix parsing of taper PARTIAL line.
11505         * server-src/taper.c: Use errmsg for device and _TaperSource.
11506         * server-src/taper-file-source.c: Set errmsg.
11507         * server-src/amcheckdump.pl,
11508           server-src/amdevcheck.pl: Use status and errmsg from device.
11509         * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
11510         * perl/Amanda/Device.swg: New interface.
11511         * installcheck/Makefile.am: Don't print some commands.
11512         * installcheck/Amanda_Device.pl: Check new device api.
11513         * common-src/queueing.c: Use new queue_fd_t.
11514         * common-src/queueing.h (queue_fd_t): new struct.
11515         * common-src/amanda-sh-lib.sh.in: Fix bug.
11516         * common-src/queueing-test.c: Use queue_fd_t.
11517
11518 2008-04-21  Dustin J. Mitchell <dustin@zmanda.com>
11519         * installcheck/amgetconf.pl: properly quote filenames in
11520           regex, to avoid spurious failures when e.g., '+' appears
11521           in the filename
11522
11523 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
11524         * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
11525           Amanda::MainLoop, allowing asynchronous operation of
11526           changers
11527         * server-src/amcheckdump.pl: use new Amanda::Changer
11528           interface (synchronously, until we have Amanda::Xfer)
11529         * installcheck/Amanda_Changer.pl: test new interface
11530
11531 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
11532         * installcheck/Makefile.am: build $(full_tests) too
11533
11534 2008-04-18  Cyrille Bollu <Cyrille.Bollu@fedasil.be>
11535         * client-src/sendsize.c: use --numeric-owner during 'sendsize'
11536
11537 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
11538         * installcheck/Makefile.am: segregate installchecks that require
11539           both client and server components
11540
11541 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
11542         * common-src/debug.c: add Amanda version to debug logs
11543
11544 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
11545         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
11546           process type and context process attributes
11547         * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
11548           debug_init to set up debugging according to the process context, and
11549           log nothing in CONTEXT_SCRIPTUTIL
11550         * server-src/amgetconf.pl server-src/amdevcheck.pl:
11551           CONTEXT_SCRIPTUTIL
11552         * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
11553         * installcheck/Amanda_Debug.pl: add comment
11554
11555 2008-04-16  Dan Locks <dwlocks@zmanda.com>
11556         * Fixes to debian package reported by daniel_P
11557         * packaging/deb/preinst: remove spaces near ${amanda_group}
11558         * packaging/deb/amanda-backup-server.dirs
11559           packaging/deb/amanda-backup-client.dirs: added var/amanda and
11560           usr/share/lintian/overrides
11561         * packaging/deb/rules: added logic to find PERLSITELIB and append that
11562           to amanda-backup-server.install, removed broken brace expansion
11563         * packaging/deb/buildpkg: removed extraneous configure step
11564         * packaging/deb/amanda-backup-server.postinst: added check for correct
11565           permissions on /tmp/amanda
11566
11567 2008-04-16  Dan Locks <dwlocks@zmanda.com>
11568         * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
11569           from configure invocation.  no longer necessary.
11570
11571 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
11572         * device-src/s3.c config/amanda/s3-device.m4: test curl features
11573           at runtime, instead of compile time, and always use SSL if it
11574           is available.
11575
11576 2008-04-16  Jean-Louis Martineau <martineau@zmanda.com>
11577         * server-src/amadmin.c: Improve message.
11578         * man/xml-source/amanda.conf.5.xml: Fix man page.
11579         * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
11580
11581 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
11582         * config/amanda/dumpers.m4: continue searching for gnutar if we
11583           find a binary claiming to be gnu tar that is not.  This gets
11584           around serious breakage on Ubuntu, where star is installed as
11585           /bin/gnutar, but /bin/tar is actually GNU Tar.
11586
11587 2008-04-15  Dustin J. Mitchell <dustin@zmanda.com>
11588         * common-src/file.c(mk1dir): fix reversed conditional to handle
11589           a race condition
11590
11591 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
11592         * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
11593           msg_timestamp() to stderr.
11594
11595 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
11596         * server-src/dumper.c: Call error() only after set_logerror is done.
11597         * server-src/planner.c: Call error() only after set_logerror is done.
11598         * server-src/chunker.c: Report a better error message.
11599         * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
11600
11601 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
11602         * server-src/find.c (dumps_match_dumpspecs): New function to only keep
11603           dumps that match a dumpspecs, using it simplify amfetchdump.
11604         * server-src/find.h (dumps_match_dumpspecs): Prototype.
11605         * restore-src/amrestore.c: Add a first_restored_file to
11606           search_a_tape(), to allow restore ot stop after the first image.
11607         * restore-src/restore.c: Set first_restored_file, it was never set,
11608           it's needed to stop after the first image.
11609         * restore-src/restore.c (restore_from_tapelist): break if piping to
11610           stdout.
11611         * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
11612         * restore-src/amfetchdump.c: If -p, the keep only one dump.
11613         * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
11614         * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
11615         * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
11616         * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
11617         * installcheck/Amanda_Logfile.pl: Add many tests.
11618
11619 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
11620         * tape-src/tapetype.c: Initialize an default config.
11621
11622 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
11623         * common-src/util.c (connect_portrange, connect_port, bind_portrange):
11624           Return the latest errno reported.
11625
11626 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
11627         * common-src/conffile.c common-src/conffile.h
11628           perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
11629           new interface for config errors, re-introduce rawtapedev for
11630           deprectation purposes
11631         * installcheck/Installcheck/Config.pm: support test
11632           amanda-client.conf files
11633         * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
11634         * client-src/client_util.c client-src/client_util.h: add
11635           config_errors_to_error_string
11636         * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
11637           better, so users see client-side config errors
11638         * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
11639           changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
11640           client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
11641           application-src/amgtar.c recover-src/amrecover.c
11642           server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
11643           server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
11644           server-src/amtape.c server-src/amcheckdump.pl
11645           server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
11646           server-src/driver.c server-src/reporter.c server-src/taper.c
11647           server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
11648           server-src/amlabel.c installcheck/Amanda_Changer.pl
11649           installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
11650           installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
11651           restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
11652           error interface
11653
11654 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
11655         * server-src/diskfile.c: improve messages when client does not
11656           support required features
11657
11658 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
11659         * installcheck/Amanda_Config.pl common-src/conffile.c
11660           common-src/conffile.h: fix deprecation of keywords to
11661           actually issue a warning.  'netusage' is no longer
11662           deprecated.
11663
11664 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
11665         * common-src/event.c: use SA_RESTART for child_watch_source
11666
11667 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
11668         * perl/Amanda/MainLoop.swg perl/amglue/source.c
11669           installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
11670           GSources defined in event.c, using an extensible model
11671         * common-src/event.c: check whether child_watch_source's signal
11672           handler has been replaced, and issue a warning if it has.
11673
11674 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
11675         * common-src/queueing.c: fix condition (thanks to Jean-Louis
11676           Martineau)
11677
11678 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
11679         * common-src/Makefile.am common-src/queueing-test.c: new tests
11680         * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
11681         * common-src/queueing.c: fix two bugs:
11682           - spurious in-place memmove on every buffer copy
11683           - silent discard of a final packet if the consumer does not
11684             completely consume it
11685         * common-src/queueing.h: update comments
11686         * common-src/testutils.h: add header-protection macros
11687
11688 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
11689         * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
11690           for Amanda::Device
11691
11692 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
11693         * man/xml-source/amanda.conf.5.xml: fix typos
11694
11695 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
11696         * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
11697
11698 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
11699         * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
11700
11701 2008-04-01  Dustin J. Mitchell <dustin@zmanda.com>
11702         Suggested by Sunil Sawant <sunil@zmanda.com>
11703         * man/xml-source/amrecover.8.xml: suggest including a config in the
11704           amrecover command line
11705
11706 2008-04-01  John Franks <jfranks@zmanda.com>
11707         * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
11708           Patches to reapply after gnulib updates.
11709         * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
11710           gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
11711           gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
11712           gnulib/getaddrinfo.h:
11713           Remove restricted keywords from source files.
11714
11715 2008-04-01  Satya Ganga <gsat@zmanda.com>
11716         * example/template.d/amanda-S3.conf.in: S3 device should have
11717           "infinite" tape length
11718
11719 2008-03-31  John Franks <jfranks@zmanda.com>
11720         * common-src/stream.c
11721           Fix warning about ininitialized variables.
11722
11723 2008-03-31  John Franks <jfranks@zmanda.com>
11724         * oldrecover-src/Makefile.am xfer-src/Makefile.am
11725           recover-src/Makefile.am server-src/Makefile.am
11726           restore-src/Makefile.am:
11727           Fix build problems with multiply defined symbols.
11728
11729 2008-03-31  Dan Locks <dwlocks@zmanda.com>
11730         * packaging/deb/buildpkg
11731           packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
11732
11733 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
11734         * client-src/sendbackup-gnutar.c client-src/sendsize.c
11735           client-src/selfcheck.c: update amandates whenever possible, but only
11736           complain when it is really needed: when using calcsize, or when
11737           using GNUTAR and --without-gnutar-listdir.
11738         * client-src/amandates.c: Set errno before return of start_amandates
11739         * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
11740
11741 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
11742         * server-src/amgetconf.pl: Parse config after setup_applccation call.
11743
11744 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
11745         * server-src/amcheck.c: Check errno after full_read.
11746
11747 2008-03-31  Dan Locks <dwlocks@zmanda.com>
11748         * packaging/Makefile.am: add deb subdirectory.
11749
11750 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>
11751         * common-src/rsh-security.c common-src/ssh-security.c: improve error
11752           messages for resolve_hostname calls
11753
11754 2008-03-27  Dustin J. Mitchell <dustin@zmanda.com>
11755         * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
11756         * gnulib/regenerate/regenerate gnulib/Makefile.am
11757           config/gnulib/gnulib-cache.m4: add full-read, full-write modules
11758         * oldrecover-src/extract_list.c client-src/noop.c
11759           client-src/sendbackup-gnutar.c client-src/sendbackup.c
11760           client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
11761           application-src/amgtar.c recover-src/extract_list.c
11762           server-src/changer.c server-src/logfile.c server-src/amindexd.c
11763           server-src/amcheck.c server-src/dumper.c server-src/chunker.c
11764           server-src/taper-port-source.c server-src/driverio.c
11765           server-src/holding.c server-src/driver.c
11766           server-src/taper-file-source.c restore-src/restore.c
11767           common-src/security-util.c common-src/amanda.h
11768           tape-src/output-file.c: use gnulib full_read, full_write functions,
11769           which have slightly different error semantics than the corresponding
11770           Amanda functions.
11771
11772 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
11773         * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
11774
11775 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
11776         * device-src/activate-devpay.c (parse_commandline): Always return.
11777
11778 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
11779         * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
11780         * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
11781         * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
11782         * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
11783         * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
11784         * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
11785         * amandad-src/Makefile.am,
11786         * client-src/Makefile.am, device-src/Makefile.am,
11787           server-src/Makefile.am, server-src/server_util.c,
11788           tape-src/Makefile.am: Add library to many *_LIBADD.
11789         * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
11790           WANT_CYGWIN_COPY_PERL_DLL.
11791
11792 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
11793         * common-src/conffile.c: Fix typo and remove unused prefix.
11794
11795 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
11796         * server-src/reporter.c: Check difference between origsize and outsize
11797           to find if the image is compressed.
11798
11799 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
11800         Greg Troxel reported the bug and possible solution.
11801         * common-src/stream.c (stream_server): New family argument, it is used
11802                                                to create the socket.
11803         * common-src/stream.h (stream_server): New prototype.
11804         * server-src/chunker.c, server-src/taper.c: Call stream_server with
11805           family of 'localhost', it's the name dumper use to contact them.
11806         * restore-src/amidxtaped.c: Call stream_server with AF_INET.
11807         * common-src/bsd-security.c, common-src/security-util.c: Call
11808           stream_server with family of incoming packet.
11809
11810 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
11811         Davor Ocelic reported the problem.
11812         * application-src/Makefile.am: Use applicationexec_PROGRAMS and
11813           applicationexec_SCRIPTS to install executable.
11814
11815 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
11816         * common-src/security-util.c (show_stat_info): Use getpwuid_r
11817                                                        and getgrgid_r.
11818 2008-03-25  Dustin J. Mitchell <dustin@zmanda.com>
11819         * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
11820           peculiar linking of threading libraries.
11821
11822 2008-03-20  Dan Locks <dwlocks@zmanda.com>
11823         * packaging/deb/control: removed grep dependency
11824         * packaging/deb/amanda-backup-client.postinst
11825           packaging/deb/amanda-backup-server.postinst
11826           packaging/deb/amanda-backup-server.postrm
11827           packaging/deb/amanda-backup-client.postrm:  removed call to
11828           ldconfig to satisfy lintian
11829         * packaging/deb/amanda-backup-server.lintian
11830           packaging/deb/amanda-backup-client.lintian: sorted and added new
11831           overrides
11832         * packaging/deb/amanda-backup-client.dirs: removed var/amanda
11833
11834 2008-03-18  Dustin J. Mitchell <dustin@zmanda.com>
11835         * device-src/activate-devpay.c: fix type warning
11836
11837 2008-03-17  Jean-Louis Martineau <martineau@zmanda.com>
11838         * server-src/diskfile.c: Correctly check if two hosts map to the same
11839                                  name.
11840
11841 2008-03-15  Dustin J. Mitchell <dustin@zmanda.com>
11842         * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
11843           perl/amglue/source.c: rename mainloop.c to source.c to avoid
11844           conflicts with MainLoop.c on case-insensitive filesystems
11845
11846 2008-03-14  Dan Locks <dwlocks@zmanda.com>
11847         * Initial debian release: This package is based on Bdale Garbee's
11848           work as the official debian maintainer for amanda.
11849
11850 2008-03-14  Jean-Louis Martineau <martineau@zmanda.com>
11851         * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
11852                                             property.
11853         * server-src/server_util.c: Rename _proplist to _property.
11854         * server-src/diskfile.c: Rename _proplist to _property.
11855         * server-src/amadmin.c (disklist_one): Print property.
11856         * perl/Amanda/Config.swg: Add new constants to Amanda::Config
11857         * installcheck/Amanda_Config.pl: Test global property.
11858         * common-src/conffile.c: Add global and by dumptype property.
11859         * common-src/conffile.h: Add global and by dumptype property.
11860
11861 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
11862         * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
11863         * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
11864         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
11865           new module
11866         * common-src/event.h: fix typo in comment
11867
11868 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
11869         * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
11870           expects an int, not a char.
11871
11872 2008-03-13  Dan Locks <dwlocks@zmanda.com>
11873         * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
11874           it works with rpm versions earlier than 4.4
11875
11876 2008-03-13  Dustin J. Mitchell <dustin@zmanda.com>
11877         * device-src/device-queueing.c device-src/device-queueing.h
11878           server-src/taper-source.c server-src/taper-source.h
11879           server-src/taper-source-test.c server-src/taper.c
11880           common-src/queueing.c common-src/queueing.h: change ints in
11881           consumer/producer to (s)size_t
11882         * device-src/device.c device-src/device-queueing.c
11883           device-src/tests/semaphore-test.c device-src/tests/Makefile.am
11884           device-src/queueing.c device-src/semaphore.c
11885           device-src/device-queueing.h device-src/queueing.h
11886           device-src/Makefile.am device-src/semaphore.h
11887           device-src/property.h server-src/taper.c common-src/queueing.c
11888           common-src/queueing.h common-src/semaphore-test.c
11889           common-src/semaphore.c common-src/semaphore.h
11890           common-src/Makefile.am: move queueing and semaphore into
11891           common-src, along with their tests
11892         * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
11893           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
11894           xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
11895           xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
11896           xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
11897         * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
11898           xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
11899           xfer-src/Makefile.am xfer-src/xfer.h: support for sending
11900           and receiving XMsgs.
11901         * common-src/event.c common-src/event.h: add default_event_loop().
11902         * device-src/device.c server-src/taper-source-test.c common-src/util.c
11903           common-src/util.h common-src/glib-util.c common-src/glib-util.h:
11904           create new glib_init() to do g_type_init(), initialize threads, etc.
11905
11906 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
11907         * client-src/sendsize.c: Don't use sscanf for est->qamname because it
11908                                  can have a '%'.
11909         * server-src/diskfile.c: Clean the diskname before using it as a regex.
11910         * common-src/protocol.c: Fix bug if packet have a '%' character.
11911
11912 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
11913         * installcheck/Installcheck/Run.pm: Increase size of TAPE.
11914
11915 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
11916         * common-src/event.c: Use %jd to print a pid_t, since it may be
11917           larger on some platforms.
11918
11919 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
11920         * common-src/conffile.c: Fix solaris 8 cc warning.
11921
11922 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
11923         * client-src/sendbackup.c: Set stroptions to "".
11924
11925 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
11926         * common-src/event.c common-src/event.h common-src/event-test.c:
11927           add two new GSources: child_watch_source (sends events when a child
11928           dies) and fdsource (sends events when file descriptors match
11929           conditions).  Thanks to Jean-Louis Martineau for finding and fixing
11930           a race condition.
11931
11932 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
11933         * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
11934           documentation to reflect use of gnulib's git repository
11935
11936 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
11937         * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
11938                                     it is done automaticaly.
11939         * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
11940                                      conflict with make CLOBBER_MY_CONFIG.
11941
11942 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
11943         * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
11944                                     variable.
11945
11946 2008-03-12  Dan Locks <dwlocks@zmanda.com>
11947         * packaging/rpm/buildpkg: made the script quieter
11948
11949 2008-03-12  Dan Locks <dwlocks@zmanda.com>
11950         * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
11951           added --quiet to the configure invocation
11952
11953 2008-03-10  Jean-Louis Martineau <martineau@zmanda.com>
11954         * gnulib: Update to latest version, add getopt module.
11955
11956 2008-03-07  Jean-Louis Martineau <martineau@zmanda.com>
11957         * oldrecover-src/Makefile.am, example/Makefile.am,
11958           amandad-src/Makefile.am, recover-src/Makefile.am,
11959           restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
11960         * installcheck/Amanda_Config.pl: Check config_filename.
11961         * installcheck/Installcheck/Config.pm: Use local amandates and
11962                                                gnutar_listdir.
11963         * installcheck/Makefile.am: Take a copy of amanda-client.conf
11964         * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
11965         * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
11966         * config/automake/installperms.am: installperms.sh in top_builddir,
11967                                            DISTCLEANFILES += $(installperms_sh)
11968         * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
11969                        DISTCHECK_CONFIGURE_FLAGS.
11970         * common-src/Makefile.am: distclean-local: remove svn-info.h.
11971
11972 2008-03-07  Dan Locks <dwlocks@zmanda.com>
11973         * packaging/rpm/buildpkg:  Simplified usage of packaging script by
11974           creating a tarball from existing source.
11975
11976 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11977         * installcheck/Installcheck/Run.pm: merge from application-api.
11978         * installcheck/Installcheck/Config.pm: merge from application-api.
11979
11980 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11981         * merge application-api
11982
11983 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11984         * common-src/Makefile.am: dest=$(amlibexecdir).
11985
11986 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11987         * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
11988                                    Add chg-lib.sh.in to EXTRA_DIST.
11989         * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
11990                                   Add generic-dumper.pl to EXTRA_DIST.
11991         * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
11992                                   Add amanda-sh-lib.sh.in to EXTRA_DIST.
11993
11994 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11995         * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
11996         * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
11997
11998 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11999         * config/amanda/swig.m4: Check for *freebsd[123456]*
12000
12001 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12002         * changer-src/chg-scsi-chio.c: Compile fix.
12003         * changer-src/scsi-chio.c: Compile fix.
12004         * config/amanda/changer.m4: Check for linux/chio.h
12005
12006 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12007         * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
12008
12009 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
12010         * config/amanda/swig.m4: With many thanks to John E. Hein
12011           <jhein@timing.com>, fix the comment and make the change committed
12012           yesterday apply to all FreeBSD < 7.0.
12013
12014 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
12015         * config/amanda/summary.m4: quote all warning messages that will be
12016           included in heredocs, to avoid spurious interpretation of backquotes
12017
12018 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12019         * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
12020
12021 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12022         * restore-src/amidxtaped: Use default config if amrecover doesn't send
12023                         a config name.  (amoldrecover doesn't send a config).
12024         * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
12025           so desired_tape->numfiles == 0.
12026           If amidxtaped is launched directly from xinetd, then
12027           flags->pipe_to_fd == STDOUT_FILENO, but this test should only
12028           succeed for amrestore of amfetchdump.
12029
12030 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
12031         * device-src/tape-device.c: Set d_self->is_eof to FALSE.
12032
12033 2008-03-04  Dustin J. Mitchell <dustin@zmanda.com>
12034         * perl/Makefile.am config/amanda/swig.m4: add a special case for
12035           FreeBSD-6.2: include -lpthread in the linking of each perl
12036           extension, because libgthread does not pull in libpthread as
12037           it does on other platforms.
12038
12039 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
12040         * common-src/security-util.c: getnameinfo return != 0 on error.
12041
12042 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
12043         * config/amanda/dumpers.m4: Typo.
12044
12045 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
12046         * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
12047           return value of 'pipe', declared with attribute warn_unused_result.
12048
12049 2008-02-29  Dustin J. Mitchell <dustin@zmanda.com>
12050         * common-src/amanda.h: add <stdint.h>
12051
12052 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
12053         * config/automake/installperms.am: --without-installperms now
12054           generates a shell-parsable list of desired permissions
12055         * Makefile.am: erase installperms.sh before beginning a 'make
12056           install'
12057         * oldrecover-src/Makefile.am client-src/Makefile.am
12058           recover-src/Makefile.am server-src/Makefile.am: give mode
12059           bits in octal
12060
12061 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
12062         Thanks to John E. Hein <jhein@timing.com> for identifying this problem
12063         * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
12064         * installcheck/Amanda_Config.pl: use a properly-sized constant to
12065           check parsing of large configuration values
12066
12067
12068 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
12069         * server-src/amindexd.c: Compute maxpart, call clean_dump.
12070         * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
12071         * server-src/disk_history.h (add_dump): New prototype,
12072                                                 add maxpart argument.
12073         * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
12074                                         previous part is not already added.
12075         * server-src/disk_history.c (clean_dump): New function to remove
12076                                         DUMP_ITEM if all part are not added.
12077         * common-src/tapelist.h (tapelist_t): Add partnum field.
12078         * common-src/tapelist.h (append_to_tapelist): New prototype,
12079                                                       add partnum argument.
12080         * common-src/tapelist.c (append_to_tapelist): New partnum argument.
12081         * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
12082
12083 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
12084         * common-src/security-util.c: Don't write unclaimed warning if we have
12085                                       an accept function.
12086
12087 2008-02-27  Dustin J. Mitchell <dustin@zmanda.com>
12088         * common-src/testutils.c common-src/testutils.h
12089           common-src/Makefile.am: add libtestutils.la
12090         * common-src/event-test.c common-src/amflock-test.c:
12091           use libtestutils.la
12092
12093 2008-02-27  Jean-Louis Martineau <martineau@zmanda.com>
12094         * server-src/find.c: Use sort_key in switch statement.
12095
12096 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
12097         * NEWS, ReleaseNotes: Document --with-amlibdir.
12098         * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
12099                                  --without-amlibexecdir,
12100                                  Set AMPERLLIB to $amlibdir/perl.
12101
12102 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
12103         * common-src/event-test.c: a more robust and effective test of
12104           EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
12105
12106 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
12107         * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
12108           add --with-amperldir, --without-amperldir, and install perl modules
12109           in Perl's installsitearch by default; thanks to Orion Poplawski
12110           <orion@cora.nwra.com> for help and suggestions.
12111
12112 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
12113         * client-src/getfsent.c: Don't fail if stat of mount point fail.
12114
12115 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
12116         * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
12117                              RUNNING_AS_DUMPUSER_PREFERRED.
12118
12119 2008-02-25  Jean-Louis Martineau <martineau@zmanda.com>
12120         * server-src/reporter.c: Report size of data on holding disk.
12121
12122 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
12123         * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
12124
12125 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
12126         * server-src/amcheck.c, server-src/dumper.c,
12127           server-src/planner.c: Call waitpid to cleanup defunct process.
12128
12129 2008-02-20  Dustin J. Mitchell <dustin@zmanda.com>
12130         * device-src/tape-posix.c: keep ioctl error message in
12131           debug log
12132
12133 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
12134         * device-src/device.c, device-src/null-device.c,
12135           device-src/s3.c, device-src/tape-device.c,
12136           device-src/queueing.h, device-src/s3.h,
12137           device-src/vfs-device.c, device-src/rait-device.c,
12138           server-src/taper-source-test.c, server-src/server_util.c,
12139           server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
12140           perl/amglue/integers.swg, restore-src/restore.c,
12141           common-src/glib-util.c: Fix solaris compiler warning.
12142
12143 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
12144         * common-src/util.c (quote_string): Quote single quote (').
12145         * server-src/find.c:Correctly compute length of diskname.
12146
12147 2008-02-15  Dustin J. Mitchell <dustin@zmanda.com>
12148         * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
12149           use AC_PROG_EGREP instead of the Amanda version
12150         * server-src/find.c: fix compiler warning on Solaris 8
12151
12152 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12153         * packaging/rpm/amanda.spec: Remove amverify*
12154
12155 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12156         * oldrecover-src/Makefile.am: Build all files in the build directory.
12157         * recover-src/Makefile.am: Build all files in the build directory.
12158         * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
12159         * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
12160           AC_OUTPUT create the common-src directory.
12161
12162 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12163         * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
12164         * file server-src/infofile.c: Use %jd to print intmax_t value.
12165         * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
12166
12167 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12168         * packaging/rpm/amanda.spec: Fix typo.
12169
12170 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
12171         * server-src/amdump.sh: Don't use 'date -d', use sed.
12172
12173 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12174         * installcheck/Installcheck/Run.pm: run test dumps of a smaller
12175           directory, to avoid overflowing test tapes
12176
12177 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12178         * dumper-src/amstar.pl dumper-src/amgtar.pl
12179           device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
12180           server-src/amdevcheck.pl: add GPL header
12181
12182 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12183         * installcheck/Makefile.am installcheck/amdump.pl: add a check
12184           that runs 'amdump' directly, since that fails often
12185
12186 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
12187         * common-src/event-test.c: make tests more robust to environmental
12188           variations, clean up forked children
12189
12190 2008-02-13  Dustin J. Mitchell <dustin@zmanda.com>
12191         * common-src/security-util.c
12192           common-src/security-util.h: don't cast pointers to
12193           integers for tcp_conn event id's
12194
12195 2008-02-13  Dan Locks <dwlocks@zmanda.com>
12196         * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
12197           build environment as well as if provided on rpmbuild commandline.
12198           Conditionalized this var to handle cross compiling on FC8.
12199
12200 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12201         * amandad-src/amandad.c: use sizeof() instead of strlen()
12202           in a constant expression
12203
12204 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12205         * amandad-src/amandad.c: initialize as->service
12206         * common-src/event.c common-src/event.h: new GMainLoop-based
12207           version of the event library, allowing GMainLoop-based and
12208           event-based processes to co-exist peacefully
12209
12210 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12211         * installcheck/amcheckdump.pl: fix typo
12212
12213 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
12214         * server-src/dumper.c: Fail if no header or no data.
12215
12216 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
12217         * server-src/amstatus.pl: Report failure if dumper succeed and
12218                                   chunker failed.
12219
12220 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
12221         * common-src/conffile.h (config_name, config_dir, config_filename):
12222                                  Remove extern declaration.
12223         * common-src/conffile.h (get_config_name, get_config_dir,
12224                                  get_config_filename): New prototype.
12225         * common-src/conffile.c (config_name, config_dir, config_filename):
12226                                  Declare static.
12227         * common-src/conffile.h (get_config_name, get_config_dir,
12228                                  get_config_filename): New functions.
12229         * perl/Amanda/Config.swg: Don't inline the functions.
12230         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
12231           client-src/sendsize.c, client-src/selfcheck.c,
12232           recover-src/amrecover.c, recover-src/extract_list.c,
12233           server-src/changer.c, server-src/amlogroll.c,
12234           server-src/amindexd.c, server-src/amcheck.c,
12235           server-src/dumper.c, server-src/planner.c,
12236           server-src/chunker.c, server-src/amadmin.c,
12237           server-src/amtape.c, server-src/amcleanupdisk.c,
12238           server-src/amflush.c, server-src/amtrmlog.c,
12239           server-src/driverio.c, server-src/driver.c,
12240           server-src/reporter.c, server-src/taper.c,
12241           server-src/amtrmidx.c, server-src/diskfile.c,
12242           server-src/amlabel.c,
12243           restore-src/amfetchdump.c: Use new functions.
12244
12245 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12246         * common-src/event-test.c common-src/Makefile.am: add checks
12247           for the event module
12248
12249 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
12250         * server-src/dumper.c server-src/server_util.c
12251           server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
12252           common-src/file.c: Always call mkpdir without the 02000 bit set,
12253           as it is not needed and causes problems on MacOS X.
12254
12255 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
12256         * all source files: update GPL dates
12257         * perl/*: use LGPL instead of GPL
12258
12259 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
12260         * amandad-src/amandad.c: fix use of non-constant array size
12261
12262 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
12263         * amandad-src/amandad.c: add hack to avoid a race condition in
12264           sendbackup operation
12265         * common-src/security-util.c: issue debug log message when data
12266           tokens are dropped by the security API
12267
12268 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
12269         * recover-src/amrecover.c: Use tapedev from server if it is not set
12270                                    in amanda.client.conf
12271         * example/amanda-client.conf.in: Document it.
12272
12273 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
12274         * device-src/tape-device.c (tape_device_init): Init min_block_size
12275           and fixed_block_size to 32768.
12276
12277 2008-02-07  Dustin J. Mitchell <dustin@zmanda.com>
12278         * packaging/rpm/amanda_enterprise.spec man/Makefile.am
12279           man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
12280           man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
12281           server-src/amverify.sh server-src/Makefile.am: remove amverify*
12282         * server-src/amdevcheck.pl: tweak @ARGV parsing
12283         * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
12284           installcheck/amcheckdump.pl: significant rewrite to catch more errors
12285           and not loop for ever on some errors.
12286
12287 2008-02-01  Dustin J. Mitchell <dustin@zmanda.com>
12288         * server-src/amgetconf.pl installcheck/amgetconf.pl
12289           common-src/conffile.c: fix and test amgetconf to allow extra
12290           command-line arguments (undocumented), to allow -o options without a
12291           space, and to correctly return empty results for empty build
12292           variables
12293
12294 2008-02-01  Dan Locks <dwlocks@zmanda.com>
12295         * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
12296           for both client and server, removed amplot from client, added missing
12297           directory %{SYSCONFDIR}/amanda
12298
12299 2008-01-29  Dan Locks <dwlocks@zmanda.com>
12300         * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
12301           where amanda/amandates is concerned.  also added %{LOCALSTATEDIR} to
12302           the %files list.
12303
12304 2008-01-29  Dan Locks <dwlocks@zmanda.com>
12305         * man/xml-source/* added http://wiki.zmanda.com to the "see also"
12306           section
12307
12308 2008-01-29  Jean-Louis Martineau <martineau@zmanda.com>
12309         * client-src/sendbackup.c: Check for g_options.
12310         * client-src/sendsize.c: Check for g_options.
12311         * client-src/selfcheck.c: Check for g_options.
12312         * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
12313
12314 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
12315         * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
12316
12317 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
12318         * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
12319           displayunit, and add a unit test to be sure.
12320
12321 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
12322         * server-src/amstatus.pl: handle lowercase displayunit.
12323
12324 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
12325         * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
12326           for netinet/in.h and in_port_t, and define the latter if
12327           necessary.  Thanks to Craig Dewick <cdewick@lios.apana.org.au>
12328           for the suggestion.
12329
12330 2008-01-28  Paddy Sreenivasan <paddy@zmanda.com>
12331         * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
12332           status
12333
12334 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
12335         * amandad-src/amandad.c: Send service stderr to amandad debug file,
12336           Wait for service termination and send error message to server.
12337
12338 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
12339         * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
12340                                Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
12341
12342 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12343         * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
12344         * server-src/amcheckdump.pl: fix usage message
12345
12346 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12347         * configure.in config/amanda/userid.m4: add --with-single-userid
12348
12349 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12350         * server-src/amfreetapes.sh: remove unused script
12351
12352 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12353         * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
12354           for all amglue files where they are missing from glib headers
12355
12356 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12357         * installcheck/Makefile.am: condition installchecks on the selected
12358           components
12359
12360 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12361         * installcheck/Makefile.am Makefile.am: distribute
12362           installcheck/Installcheck scripts, make sure enough parameters
12363           are passed along to distcheck for it to succeed, and also clean
12364           up properly after tests are run.
12365
12366 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
12367         * config/amanda/dumpers.m4: eliminate strange warning when
12368           --without-smbclient is given
12369
12370 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
12371         * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
12372           installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
12373           installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
12374           installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
12375           installcheck/Installcheck/Config.pm
12376           installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
12377           installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
12378           accumulated tweaks and updates to installchecks
12379
12380 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
12381         * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
12382           installcheck/Makefile.am: new tests for integer-handling
12383           SWIG support, including an installed module (Amanda::Test) that
12384           is not used except by this test.
12385
12386 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
12387         * installcheck/Amanda_Types.pl
12388           installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
12389           installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
12390           installcheck/Installcheck installcheck/Installcheck/Run.pm
12391           installcheck/Installcheck/Config.pm installcheck/Makefile.am
12392           installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
12393           installcheck/amgetconf.pl: tweaks:
12394            - Move installcheck utilities to the Installcheck::* namespace
12395            - add Installcheck::Run to help with setting up amdump runs, and
12396              running applications in general
12397            - Add complete runs to amdevcheck, amcheckdump
12398            - Return a nonzero exit status from amgetconf when an invalid
12399              configuration parameter is specified.
12400
12401 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
12402         * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
12403           new module (Tapelist) replaces old stub (Tapefile)
12404         * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
12405           module
12406         * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
12407           module
12408
12409 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
12410         * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
12411           critical() and warning(), respectively
12412         * server-src/amgetconf.pl server-src/amcheckdump.pl
12413           server-src/amdevcheck.pl: use die()
12414         * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
12415           installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
12416           unit tests
12417
12418 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
12419         * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
12420           server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
12421           Perl, and add the ability to list available build variables.
12422         * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
12423           config/amanda/bsd-security.m4 config/amanda/dumpers.m4
12424           config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
12425           config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
12426           config/amanda/bsdudp-security.m4 config/amanda/compress.m4
12427           config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
12428           of constants for use in Amanda::Constants
12429         * perl/Makefile.am perl/Amanda/Paths.pm.in
12430           perl/Amanda/Constants.pm.in: add new constants
12431         * perl/Amanda/Config.swg: add getconf_byname_strs
12432         * installcheck/amgetconf.pl: check new functionality
12433         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
12434           RUNNING_AS_ANY
12435
12436 2008-01-17  Jean-Louis Martineau <martineau@zmanda.com>
12437         * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
12438           configure.in: Set for release 2.6.1alpha.
12439
12440 2008-01-16  Dustin J. Mitchell <dustin@zmanda.com>
12441         * installcheck/Makefile.am: Require user to specify
12442           CLOBBER_MY_CONFIG=OK when running installchecks
12443
12444 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
12445         * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
12446
12447 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
12448         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
12449           client-src/sendsize.c, client-src/selfcheck.c,
12450           recover-src/extract_list.c, server-src/changer.c,
12451           server-src/amflush.c, server-src/driverio.c,
12452           common-src/pipespawn.c: Call safe_fd before exec*.
12453
12454 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
12455         * packaging/rpm/amanda.spec: Remove build_host.
12456
12457 2008-01-15  Dustin J. Mitchell <dustin@zmanda.com>
12458         * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
12459           perl/amglue/integers.swg: fix typos and compiler warnings
12460
12461 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
12462         * packaging/Makefile.am: New file.
12463         * packaging/README: New file.
12464         * packaging/rpm/buildpkg: New file.
12465         * packaging/rpm/amanda.spec: New file.
12466         * configure.in
12467         * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
12468         * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
12469                                          ${amlibexecdir}/application
12470         * Makefile.am (SUBDIRS): Add packaging.
12471         * amanda.spec: Remove file.
12472
12473 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
12474         * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
12475         * device-src/tape-device.c, device-src/tape-posix.c,
12476           device-src/vfs-device.c: include "util.h"
12477         * device-src/rait-device.c: fix compiler warning.
12478
12479 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
12480         * perl/amglue/bigint.c: fix the range-checking mechanics for large
12481           integers, since the precompiler seems to get confused by large
12482           constants.
12483
12484 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
12485         * config/amanda/krb5-security.m4: abort configure run if krb5
12486           is requested by libraries aren't found
12487
12488 2008-01-13  Dustin J. Mitchell <dustin@zmanda.com>
12489         * man/xml-source/amanda.conf.5.xml: use &#215; instead of &times;
12490
12491 2008-01-11  Paddy Sreenivasan <paddy@zmanda.com>
12492         * device-src/Makefile.am: Don't install queueing.h and device.h
12493
12494 2008-01-11  Dustin J. Mitchell <dustin@zmanda.com>
12495         * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
12496
12497 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
12498         * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
12499         * installcheck/amgetconf.pl: usetimestamps defaults to yes.
12500         * NEWS, ReleaseNotes: Notes about make installcheck.
12501
12502 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
12503         * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
12504         * ReleaseNotes: Ditto.
12505
12506 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
12507         * ReleaseNotes: Update for amanda-2.6.0
12508         * News: Update for amanda-2.6.0
12509         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
12510         * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
12511         * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}