Imported Upstream version 3.2.1
[debian/amanda] / ChangeLog
1 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
2         * VERSION: 3.2.1
3
4 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
5         * common-src/ssh-security.c: Use client_port.
6
7 2010-12-14  Daniel Néri <dne@mayonnaise.net>
8         * application-src/ampgsql.pl: Don't assume that gtar is configured to
9           use stdin/stdout as default archive.
10
11 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
12         * server-src/amidxtaped.pl: Don't crash if same-host doesn't match.
13
14 2010-12-12  Jean-Louis Martineau <martineau@zmanda.com>
15         * perl/Amanda/Changer/disk.pm: inventory must return the same as
16                                        read_label.
17         * server-src/amtape.pl: Fix for new inventory.
18         * installcheck/Amanda_Changer_disk.pl: Fix for new inventory.
19         * installcheck/Amanda_Changer_rait.pl: Fix for new inventory.
20
21 2010-12-11  Daniel Néri <dne@mayonnaise.net>
22         * application-src/ampgsql.pl: Don't assume that gtar is configured to
23           use stdin/stdout as default archive.
24
25 2010-12-12  Daniel Néri <dne@mayonnaise.net>
26         * application-src/ampgsql.pl: Use diskname, not devicename, as prefix
27           when checking for properties. Now works as documented in the ampgsql
28           man page.
29
30 2010-12-10  David Bogen <bogen@wisc.edu>
31         * server-src/amoverview.pl: fix amoverview's argument parsing
32
33 2010-12-10  Jean-Louis Martineau <martineau@zmanda.com>
34         * server-src/amcheck-device.pl: Fix possible hang if
35           Amanda::MainLoop::quit is called before Amanda::MainLoop::run.
36         * perl/Amanda/Changer.pm: Return the error.
37
38 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
39         * server-src/driver.c: Check if taper is flushing something before
40           moving a dle to directq.
41
42 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
43         * device-src/xfer-dest-taper-cacher.c: Print why the malloc failed.
44
45 2010-12-08  Dustin J. Mitchell <dustin@zmanda.com>
46         * common-src/glib-util.c common-src/glib-util.h: do not define
47           symbol g_slist_free_full, as it exists in glib-2.27 and higher;
48           use slist_free_full, and alias that to g_slist_free_full when
49           building against glib-2.28 or higher.
50         * client-src/client_util.c: make g_slist_free_full_gpointer into
51           a local, static function
52         * common-src/amxml.c common-src/conffile.c recover-src/extract_list.c
53           server-src/amadmin.c server-src/amflush.c server-src/cmdline.c
54           server-src/cmdline.h server-src/find.c server-src/holding.c
55           server-src/planner.c: rename function
56
57 2010-12-08  Jean-Louis Martineau <martineau@zmanda.com>
58         * ReleaseNotes, NEWS: Add changes for 3.2.1
59
60 2010-12-07 Dan Locks <dwlocks@zmanda.com>
61         *  packaging/rpm/amanda.spec.src: remove manual library requires and
62            set curl vs libcurl based on distro.
63
64 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
65         * common-src/util.c: s/HAVE_READLINE/HAVE_LIBREADLINE/
66         * config/amanda/readline.m4: s/HAVE_READLINE/HAVE_LIBREADLINE/
67
68 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
69         * config/amanda/readline.m4: Merge with latest AX_LIB_READLINE.
70         * common-src/util.h: Fix for latest AX_LIB_READLINE.
71
72 2010-12-06 Dan Locks <dwlocks@zmanda.com>
73         *  packaging/rpm/amanda.spec.src: remove libtermcap.so.2 requirement
74            for newer distros.
75
76 2010-12-06  Jean-Louis Martineau <martineau@zmanda.com>
77         * server-src/server_util.c (internal_server_estimate): Do not use
78           level 0 estimate if is not available.
79
80 2010-12-04  Jean-Louis Martineau <martineau@zmanda.com>
81         * server-src/dumper.c: Put them in AMANDA_DBGDIR/log.error
82
83 2010-12-03  Jean-Louis Martineau <martineau@zmanda.com>
84         * server-src/dumper.c: Put error message in separate files to
85           reduce the size of the log file.
86
87 2010-11-29  Jean-Louis Martineau <martineau@zmanda.com>
88         * man/xml-source/amlabel.8.xml: Typo.
89
90 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
91         * installcheck/amreport.pl: Fix for previous patch.
92
93 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
94         * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
95           man/xml-source/amcheckdump.8.xml, man/xml-source/amdevcheck.8.xml,
96           man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
97           man/xml-source/amflush.8.xml, man/xml-source/amgetconf.8.xml,
98           man/xml-source/amlabel.8.xml, man/xml-source/amoverview.8.xml,
99           man/xml-source/amrecover.8.xml, man/xml-source/amreport.8.xml,
100           man/xml-source/amservice.8.xml, man/xml-source/amstatus.8.xml,
101           man/xml-source/amtape.8.xml: Fix synopsis.
102         * device-src/amdevcheck.pl, server-src/amadmin.c,
103           server-src/amcheckdump.pl, server-src/amlabel.pl,
104           server-src/amoverview.pl, server-src/amreport.pl,
105           server-src/amstatus.pl, server-src/amtape.pl: Fix usage.
106
107 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
108         * common-src/conffile.c: Print configuration option with '-'.
109         * installcheck/Amanda_Config.pl: Fix for '-'.
110
111 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
112         * perl/make_html.pl: make relative url in index.html.
113
114 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
115         * perl/make_html.pl: Add amanda version in html headers and footers.
116
117 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
118         * man/xslt/html.xsl.in: Include Amanda version in HTML headers.
119
120 2010-11-22  Jean-Louis Martineau <martineau@zmanda.com>
121         * device-src/Makefile.am: activate-devpay needs gnulib.
122
123 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
124         * server-src/driver.c: Correctly handle INPUT-ERROR and TAPE-ERROR.
125
126 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
127         * device-src/xfer-dest-taper-cacher.c,
128           device-src/xfer-dest-taper-splitter.c: Cancel in correct order.
129           Other thread own self->state_mutex while it wait for self->ring* or
130           self->slab*
131
132 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
133         * device-src/xfer-dest-taper-cacher.c,
134           device-src/xfer-dest-taper-splitter.c: Always call device_finish_file
135           if device_start_file succeed.
136
137 2010-11-16 Dan Locks <dwlocks@zmanda.com>
138         *  packaging/rpm/amanda.spec.src: add rhel6 stanza to distro detection
139
140 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
141         * server-src/find.c: Keep the complete error message.
142
143 2010-11-12  Jean-Louis Martineau <martineau@zmanda.com>
144         * server-src/driverio.c: Don't update last_level/consecutive_runs if
145           the dump failed.
146
147 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
148         * device-src/tape-device.c: Accept LEOM property.
149
150 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
151         * perl/Amanda/Changer/robot.pm: Fix use of Amanda::Changer->make_error
152
153 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
154         * server-src/driver.c: Better handling of dump to tape.
155           Set force_flush to 0 as soon as the runq is empty.
156         * server-src/dumper.c: Improving debugging.
157
158 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
159         * perl/Amanda/Report.pm: Report driver FAIL as FAILED (not missing).
160         * perl/Amanda/Report/human.pm: Do not report driver error if there
161                                        is a try.
162
163 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
164         * man/xml-source/tapelist.5.xml: Document BARCODE.
165
166 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
167         * server-src/amdump.pl: Execute subprocess with the config overwrite.
168         * server-src/amvault.pl: Execute subprocess with the config overwrite.
169
170 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
171         * server-src/amreport.pl: Set date correctly for amvault run.
172         * perl/Amanda/Report/human.pm: Fix warning.
173
174 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
175         * server-src/tapefile.c: Add barcode in tapelist.
176         * server-src/tapefile.h: Add barcode in tapelist.
177         * perl/Amanda/Tapelist.swg: Add barcode in tapelist.
178         * perl/Amanda/Taper/Scribe.pm: Set the barcode.
179         * server-src/amlabel.pl: Set the barcode.
180         * installcheck/Amanda_Tapelist.pl: Test it.
181         * installcheck/amlabel.pl: Test it.
182
183 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
184         * common-src/util.c (quote_string_maybe): Don't use match.
185         * common-src/util.c (len_quote_string_maybe): New function.
186         * common-src/util.h (len_quote_string): Define.
187         * server-src/amadmin.c: Don't call find_dump twice.
188         * server-src/find.c (search_logfile): Don't use regex.
189         * server-src/find.c (print_find_result): Use len_quote_string.
190
191 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
192         * common-src/conffile.c: debug-recovery default to 1.
193         * man/xml-source/amanda.conf.5.xml: Document it.
194
195 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
196         * server-src/chunker.c: Close listening socket are accepted socket.
197         * xfer-src/element-glue.c: Close listening socket are accepted socket.
198
199 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
200         * server-src/amflush.c: Open 'amflush' log file in append mode.
201
202 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
203         * server-src/amdump.pl: Open 'amdump' log file in append mode.
204
205 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
206         * common-src/conffile.c: Fix quoting in recovery-limit output.
207         * server-src/amadmin.c (disklist_one): Print recovery-limit.
208
209 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
210         * client-src/client_util.c: Don't free script->result.
211
212 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
213         * server-src/dumper.c: Typo.
214
215 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
216         * common-src/fileheader.c (parse_file_header): Print buf.
217         * patching file recover-src/extract_list.c: Read header in multiple
218                                                     block.
219
220 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
221         * perl/Amanda/Report/human.pm: Use chunker size to find big estimate.
222         * installcheck/catalogs/bigestimate.cat: Fix.
223
224 2010-10-25  Jean-Louis Martineau <martineau@zmanda.com>
225         * perl/Amanda/Taper/Worker.pm: Use 4*block_size for
226           device_output_buffer_size if it is not set by the user.
227         * server-src/amcheck-device.pl: Check device_output_buffer_size is at
228           least 2*block_size.
229
230 2010-10-25 Dan Locks <dwlocks@zmanda.com>
231         *  config/amanda/libs.m4: update AMANDA_CHECK_CURL to add runtime link
232            flags for all solaris platforms, remove our AC_PATH_PROG for curl-config,
233            and trust LIBCURL_CHECK_CONFIG (which is now fixed)
234
235 2010-10-25 Dan Locks <dwlocks@zmanda.com>
236         *  packaging/rpm/amanda.spec.src: exclude sles9 from
237            LDFLAGS=-Wl,--as-needed
238
239 2010-10-21 Dan Locks <dwlocks@zmanda.com>
240
241 2010-10-20  Jean-Louis Martineau <martineau@zmanda.com>
242         * server-src/amtape.pl: Typo.
243
244 2010-10-19 Dan Locks <dwlocks@zmanda.com>
245         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add
246            -Wl,--as-needed to ./configure invocation in packages
247
248 2010-10-19  Jean-Louis Martineau <martineau@zmanda.com>
249         * ReleaseNotes NEWS: amdump --no-taper option.
250
251 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
252         * VERSION: 3.2.0
253
254 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
255         * application-src/ampgsql.pl: Give an error if client property
256           pg-datadir is different than diskdevice. Use diskdevice if client
257           property pg-datadir is not set.
258
259 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
260         * common-src/security-util.c: Quote error message for invalid size.
261
262 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
263         * common-src/conffile.c (read_size_byte/get_size_byte):
264           CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes.
265
266 2010-10-14 Dan Locks <dwlocks@zmanda.com>
267         *  packaging/deb/rules, packaging/deb/buildpkg,
268            packaging/rpm/amanda.spec.src: remove port range limits for
269            rpm and deb packages
270
271 2010-10-13  Jean-Louis Martineau <martineau@zmanda.com>
272         * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied.
273
274 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
275         * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'.
276
277 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
278         * ndmp-src/ndma_comm_session.c: add a g_debug message
279         * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof
280
281 2010-10-12 Dan Locks <dwlocks@zmanda.com>
282         *  config/amanda/progs.m4: add comment about sysloc- and locsys- path,
283            make MTX a precious variable.
284
285 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
286         * ndmp-src/amndmjob_main.c: remove exit on eof thread
287         * ndmp-src/ndmjob_main.c: add it here, in the right place
288
289 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
290         * common-src/ssh-security.c: don't munge $SSH_CONNETION
291
292 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
293         * config/amanda/swig.m4: add '.' to freebsd versions
294         * perl/Makefile.am: spell it -pthread
295
296 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
297         * server-src/amvault.pl: add fake driver finish first
298
299 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
300         * server-src/amflush.c: write a "pid done" line when cancelling
301         * server-src/amcleanup.pl: run amlogroll internally
302
303 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
304         * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before
305           writing to a real volume
306         * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too
307
308 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
309         * server-src/amvault.pl: --autolabel any, not --autolabel all
310         * installcheck/amvault.pl: update the tests to use --autolabel=any
311
312 2010-10-08  Jean-Louis Martineau <martineau@zmanda.com>
313         * device-src/s3-device.c: Don't give an error is ssl_ca_info is set
314           and ssl is not used.
315
316 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
317         * client-src/client_util.c: Use property_add_to_argv.
318         * client-src/client_util.h (application_property_argv_size):
319           Remove prototype.
320         * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal
321           for property hash.
322         * common-src/conffile.c (property_add_to_argv): Remove function
323         * common-src/conffile.h (property_add_to_argv): Remove prototype.
324         * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal):
325           Add function
326         * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal):
327           Add prototype.
328         * common-src/util.c (proplist_add_to_argv, property_add_to_argv):
329           Add function.
330         * common-src/util.h (proplist_add_to_argv, property_add_to_argv):
331           Add prototype.
332         * perl/Amanda/Config.pod: Document amandaify_property_name.
333         * perl/Amanda/Config.swg: Add amandaify_property_name.
334         * perl/Amanda/Config/FoldingHash.pm: New class.
335         * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm
336         * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash.
337         * recover-src/extract_list.c: Use property_add_to_argv
338         * installcheck/Amanda_Config.pl: Check property case matching.
339         * installcheck/Amanda_Config_FoldingHash.pl:
340           Check Amanda::Config::FoldingHash.
341         * installcheck/Makefile.am:
342           Add installcheck/Amanda_Config_FoldingHash.pl
343
344 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
345         * server-src/planner.c: Log packet sent and received.
346
347 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
348         * VERSION: 3.2.0beta3
349
350 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
351         * perl/Makefile.am: only run the threading test after install
352
353 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
354         * VERSION: 3.2.0beta2
355
356 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
357         * perl/Makefile.am: fix the FreeBSD threading test to actually fail
358
359 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
360         * device-src/dvdrw-device.c: Always call parent_class->finish(dself).
361         * device-src/ndmp-device.c: Always call close_tape_agent and
362                                     close_connection.
363         * device-src/null-device.c: Always set pself->access_mode to
364                                     ACCESS_NULL.
365         * device-src/rait-device.c: Always call child finish.
366         * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL.
367         * device-src/tape-device.c: Always close self->fd.
368         * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL.
369
370 2010-10-06  Nandan Athawale <nandan.athawale@gmail.com>
371         * device-src/s3.c: replaced deprecated functions g_strncasecmp
372           and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp.
373
374 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
375         * man/entities/global.entities.in: better formatting for config
376           overrides
377         * man/xml-source/amvault.8.xml: better synopsis formatting
378         * server-src/amvault.pl: better synopsis formatting
379
380 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
381         * perl/Amanda/Logfile.swg: don't produce negative durations
382         * perl/Amanda/DB/Catalog.pm: but handle them when they occur
383
384 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
385         * perl/Amanda/Report/human.pm: Correctly print "Level:#".
386
387 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
388         * server-src/planner.c: Use last_level to compute the bump level.
389
390 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
391         * server-src/dumper.c: Fix memory allocation.
392
393 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
394         * server-src/amidxtaped.pl: exact match for same-host, allow dumps
395           that are not in the disklist
396         * server-src/amindexd.c: fix trivially permissive same-host
397
398 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
399         * common-src/amxml.c: set the correct fields (encryption or
400           compression)
401         * server-src/dumper.c: strdup strings so they are not gone after
402           free_dle
403
404 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
405         * perl/Amanda/Report.pm: fix autovivification bug
406         * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of 
407           undefined's
408
409 2010-10-04  Jean-Louis Martineau <martineau@zmanda.com>
410         * server-src/amtape.pl: Add a 'return' for every usage() call.
411           Add step in main.
412
413 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
414         * man/xml-source/amvault.8.xml: mention that DLE splitting parameters
415           are ignored by amvault
416         * server-src/amvault.pl: use tapetype parameters for splitting
417         * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight
418           from Amanda::Config
419
420 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
421         * packaging/deb/rules: remove misleading comment about automake-1.2
422
423 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
424         * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask
425           user to clear out 'tapedev' too
426
427 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
428         * common-src/event.c: Set the priority of EV_TIME to 10.
429
430 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
431         * perl/Amanda/Report/postscript.pm: print all dles that have a part
432           on the volume.
433         * installcheck/catalogs/spanned.cat: Check it.
434
435 2010-09-30  Dustin J. Mitchell <dustin@zmanda.com>
436         * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1,
437           too
438
439 2010-09-29  Dustin J. Mitchell <dustin@zmanda.com>
440         * server-src/dumper.c: fix prints; use the correct disk_t fields
441
442 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
443         * common-src/alloc.c: Remove a print to stderr.
444
445 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
446         * NEWS, ReleaseNotes: Update.
447
448 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
449         * installcheck/amvault.pl: fix tests for total size
450
451 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
452         * common-src/util.c: remove debugging call
453         * installcheck/Amanda_Util.pl: fix tests on perl-5.6
454
455 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
456         * server-src/amvault.pl: print total size on --dry-run
457
458 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
459         * installcheck/Amanda_Config.pl: fix test
460
461 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
462         * NEWS: update NEWS about it
463         * common-src/conffile.c common-src/conffile.h: add recovery-list
464           parameters
465         * man/xml-source/amanda.conf.5.xml: document them
466         * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them
467         * installcheck/Amanda_Config.pl: test them
468         * server-src/amidxtaped.pl: check recovery limits
469         * installcheck/amidxtaped.pl
470           installcheck/Installcheck/ClientService.pm: test it
471         * server-src/amindexd.c: check recovery limits
472
473 2010-09-28  Jean-Louis Martineau <martineau@zmanda.com>
474         * recover-src/extract_list.c: Print number of bytes read.
475
476 2010-09-28 Dan Locks <dwlocks@zmanda.com>
477         *  config/amanda/progs.m4: remove first instance of
478            AMANDA_PROG_GNUPLOT
479
480 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
481         * common-src/amanda.h common-src/alloc.c: add save_env_full
482         * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services
483
484 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
485         * common-src/amxml.c: Fix unallocating NULL g_hash.
486         * server-src/chunker.c: Don't free cmdargs.
487
488 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
489         * common-src/security-util.c: Fix pointer arithmetic.
490
491 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
492         * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with
493           descriptions of match expressions
494         * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
495           man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml
496           man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml
497           man/xml-source/amvault.8.xml: reference it
498
499 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
500         * common-src/util.c common-src/util.h: support ##.## in braced
501           alternates
502         * installcheck/Amanda_Util.pl: test it
503         * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml
504           man/xml-source/amanda-devices.7.xml: document it
505
506 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
507         * amandad-src/amandad.c, client-src/client_util.c,
508           client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c,
509           common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h,
510           common-src/security-util.c, common-src/util.c,
511           perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c,
512           server-src/chunker.c, server-src/diskfile.c, server-src/driver.c,
513           server-src/driverio.c, server-src/dumper.c, server-src/find.c,
514           server-src/holding.c, server-src/planner.c, server-src/server_util.c,
515           server-src/xfer-source-holding.c: Fix memory leak.
516
517 2010-09-25  Dustin J. Mitchell <dustin@zmanda.com>
518         * common-src/alloc.c: remove amtable functions
519         * common-src/amanda.h: remove prototypes
520
521 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
522         * application-src/amstar.c: Check root can cd to the directory.
523
524 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
525         * perl/Amanda/Report/human.pm: Correctly print new tapes to use.
526         * installcheck/catalogs/filesystemstaped.cat: write the tapelist file
527         * installcheck/amreport.pl: Test it.
528
529 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
530         * NEWS: amvault and other new news
531         * server-src/amvault.pl: support --dry-run
532         * man/xml-source/amvault.8.xml: docs
533         * installcheck/amvault.pl: tests
534
535 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
536         * common-src/security.h: add get_authenticated_peer_name method
537         * common-src/security-util.c common-src/security-util.h: add two
538           implementations
539         * common-src/sockaddr-util.c common-src/sockaddr-util.h: add
540           str_to_sockaddr
541         * amandad-src/amandad.c: log authenticated peer name
542         * common-src/bsd-security.c common-src/bsdtcp-security.c
543           common-src/bsdudp-security.c common-src/krb5-security.c
544           common-src/local-security.c common-src/rsh-security.c
545           common-src/ssh-security.c: implement get_authenticated_peer_name
546         * common-src/util.h: fix comments
547         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
548           config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c
549           gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add
550           inet_pton module
551         * man/xml-source/amanda-auth.7.xml: update manual to describe
552           authenticated peer names
553
554 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
555         * common-src/security-util.c: Check size before allocating.
556
557 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
558         * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only
559
560 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
561         * device-src/xfer-dest-taper-splitter.c (device_thread_write_part):
562           Don't write more than the block size.
563
564 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
565         * installcheck/amreport.pl: update checks to match amreport change
566
567 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
568         * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add
569           exports
570         * server-src/amreport.pl: don't print anything in script mode when
571           there is nothing to do
572         * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault
573         * server-src/amvault.pl: make dst-changer and src-timestamp into
574           --options and add support for dumpspecs
575         * man/xml-source/amvault.8.xml: document
576         * installcheck/amvault.pl: test changes
577         * installcheck/Amanda_Cmdline.pl: remove TODO
578
579 2010-09-22  Jean-Louis Martineau <martineau@zmanda.com>
580         * server-src/driver.c (startaflush_tape): Use tape_length if the
581           tape is not started.
582
583 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
584         * man/xslt/html.xsl.in: include Amanda version in HTML footers
585
586 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
587         * server-src/amvault.pl: add an INFO line for every source volume read
588
589 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
590         * server-src/amvault.pl: add extra logging for amreport, and invoke
591           amreport at the end of a run
592         * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h:
593           add P_AMVAULT
594         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
595           server-src/amreport.pl: handle amvault logs, too
596
597 2010-09-21  Orion Poplawski <orion@cora.nwra.com>
598         * server-src/amoverview.pl: fix remaining uninitialized value warnings
599
600 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
601         * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no
602           successful parts on tape; comments and POD
603
604 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
605         * installcheck/catalogs/amflush.cat
606           installcheck/catalogs/bigestimate.cat
607           installcheck/catalogs/doublefailure.cat
608           installcheck/catalogs/fatal.cat
609           installcheck/catalogs/filesystemstaped.cat
610           installcheck/catalogs/flush-noorigsize.cat
611           installcheck/catalogs/flush-origsize.cat
612           installcheck/catalogs/longstrange.cat
613           installcheck/catalogs/multi-taper.cat installcheck/catalogs/normal.cat
614           installcheck/catalogs/plannerfail.cat
615           installcheck/catalogs/resultsmissing.cat
616           installcheck/catalogs/retried-nofinish.cat
617           installcheck/catalogs/retried-strange.cat
618           installcheck/catalogs/retried.cat
619           installcheck/catalogs/shortstrange.cat
620           installcheck/catalogs/skipped.cat installcheck/catalogs/spanned.cat
621           installcheck/catalogs/strontium.cat installcheck/catalogs/taperr.cat:
622           update expected reports to match updated amreport output
623
624 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
625         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c:
626           Don't print warning for 'holdingdisk auto' and directtcp data path.
627
628 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
629         * application-src/amgtar.c: Add VERBOSE property,
630           unlink include/exclude file if VERBOSE if NO.
631         * man/xml-source/amgtar.8.xml: Document VERBOSE property.
632
633 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
634         * perl/Makefile.am: make the thread check mandatory on FreeBSD
635         * config/amanda/swig.m4: detect FreeBSD
636
637 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
638         * perl/Amanda/Report/human.pm: change some strings, and make
639           the statistics section more succinct; suggested by Jon LaBadie
640
641 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
642         * server-src/amadmin.c: add 'dles' and 'hosts' subcommands
643         * man/xml-source/amadmin.8.xml: document them
644
645 2010-09-20  Jean-Louis Martineau <martineau@zmanda.com>
646         * perl/Amanda/Script_App.pm: Call _set_mesgout.
647         * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout):
648           Set $self->{mesgout}.
649         * application-src/amraw.pl, application-src/amsamba.pl
650           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
651           Don't set $self->{mesgout}.
652
653 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
654         * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming
655
656 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
657         * server-src/find.c: only expect partnum/totalparts in taper log lines
658         * installcheck/catalogs/bigdb.cat: tests
659
660 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
661         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to
662           XferSourceRecovery
663
664 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
665         * perl/Amanda/Changer/disk.pm: but still return stringy slot names
666
667 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
668         * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by
669           'ghosts' on forums.zmanda.com
670
671 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
672         * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in
673           tape device
674
675 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
676         * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server
677           component
678
679 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
680         * server-src/dumper.c: Send filter STDERR to log file, backup is
681           marked as failed.
682
683 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
684         * device-src/ndmp-device.c, device-src/tape-device.c,
685         * device-src/vfs-device.c: Don't set the header if nothing is read.
686         * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't
687           exists
688         * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device
689           status and header.
690         * installcheck/Amanda_Changer_multi.pl: Updated.
691         * installcheck/amcheck-device.pl: Updated.
692         * installcheck/amdevcheck.pl: Updated.
693
694 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
695         * server-src/driver.c: start up correctly with --no-taper
696         * server-src/driverio.c server-src/driverio.h: take no_taper as
697           argument to startup_tape_process
698
699 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
700         * perl/Amanda/DB/Catalog.pm: new methods to determine the type of
701           a run
702         * installcheck/Amanda_DB_Catalog.pl: test them
703         * server-src/amvault.pl: 'latest' excludes amvault runs; add START
704           amvault to identify such runs
705         * installcheck/catalogs/bigdb.cat: add 'START planner' where missing
706         * installcheck/amvault.pl: cleanup after tests
707
708 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
709         * NEWS: mention improvements to amvault
710         * server-src/amvault.pl: Add --autolabel=.. and --label-template=..
711         * installcheck/amvault.pl: update tests
712         * man/xml-source/amvault.8.xml: update manpage
713
714 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
715         * server-src/amreport.pl: support more than one email address
716         * installcheck/amreport.pl: change error message
717
718 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
719         * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them
720           in the tapelist file.
721           Remove the "Will write new label `$LABEL' to new tape" message.
722         * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist
723            in the argument.
724         * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file.
725         * server-src/amvault.pl: Don't update the tapelist file.
726         * installcheck/Amanda_Report.pl: Remove 'Will write ...' message.
727           installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message.
728           installcheck/taper.pl: Remove 'Will write ...' message.
729
730 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
731         * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock.
732         * perl/Amanda/Tapelist.pod: Document new API.
733           perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm,
734           perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm,
735           perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl,
736           server-src/amlabel.pl, server-src/amreport.pl,
737           server-src/amrmtape.pl, server-src/amvault.pl: Use new API
738         * installcheck/Amanda_Logfile.pl,
739           installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl,
740           installcheck/amrmtape.pl, installcheck/amtape.pl,
741           installcheck/Amanda_Recovery_Clerk.pl: Fix for new API.
742
743 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
744         * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd
745         * xfer-src/xfer-element.c xfer-src/xfer-element.h: add
746           xfer_element_swap_input_fd and xfer_element_swap_output_fd and
747           use them to access input_fd and output_fd atomically
748         * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle
749           taking ownership of fd's even in pull_and_write and read_and_push
750         * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c
751           xfer-src/dest-fd.c: use xfer_element_swap_*_fd
752
753 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
754         * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'.
755         * installcheck/taper.pl: Fix for correct tape_num.
756
757 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
758         * server-src/driver.c: Use many worker.
759         * server-src/driverio.c: Init many worker.
760         * server-src/driverio.h (TaperState): New taper state.
761         * server-src/server_util.c: Add "TAKE-SCRIBE-FROM".
762         * server-src/server_util.h: Add TAKE_SCRIBE_FROM.
763
764 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
765         * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol.
766         * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function.
767         * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb.
768           transfert the xfer to a new scribe.
769         * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method.
770         * perl/Amanda/Xfer.swg (xfer_set_callback): New method.
771         * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command.
772
773 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
774         * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup.
775         * installcheck/Installcheck/Run.pm (setup): Take an argument to set
776                                                     new vtapes.
777         * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb.
778         * installcheck/taper.pl: Fix and test for START_SCAN cmd.
779         * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function.
780         * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol.
781         * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan,
782           new perm_cb argument, new start_scan method.
783         * perl/Amanda/Taper/Worker.pm (START_SCAN): New method,
784           call perm_cb with new argument.
785         * server-src/amvault.pl: Call start_scan and perm_cb with new argument.
786         * server-src/driver.c: Send START_SCAN command to taper.
787         * server-src/driverio.c (taper_cmd): Add START_SCAN.
788         * server-src/server_util.c (cmdstr): add "START-SCAN".
789         * server-src/server_util.h: Add START_SCAN.
790
791 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
792         * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol.
793         * perl/Amanda/Taper/Controller.pm,
794         * perl/Amanda/Taper/Worker.pm: Use worker_name.
795         * server-src/driverio.c (taper_cmd): Send worker_name to taper.
796         * server-src/driver.c: New argument to taper_cmd.
797         * server-src/amstatus.pl: Parse worker_name.
798         * installcheck/catalogs/chunker-partial.cat,
799           installcheck/catalogs/normal.cat,
800           installcheck/catalogs/quoted.cat: Add worker_name.
801         * installcheck/taper.pl: Add worker_name.
802
803 2010-09-14  Jean-Louis Martineau <martineau@zmanda.com>
804         * server-src/taper.pl: Split in many files, add the worker.
805         * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl
806         * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl
807         * perl/Amanda/Taper/Worker.pm: New class
808         * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm.
809
810 2010-09-14  Dustin J. Mitchell <dustin@zmanda.com>
811         * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description
812
813 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
814         * server-src/amflush.c: Don't include driverio.h
815         * server-src/driver.c, server-src/driverio.c, server-src/driverio.h:
816           Put all taper variables in a taper_t structure.
817
818 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
819         * installcheck/amreport.pl: Load the config instead of using amgetconf.
820
821 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
822         * installcheck/amreport.pl: Use full path to amgetconf.
823
824 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
825         * server-src/find.c: Parse log with taper lines mixed.
826         * perl/Amanda/Report.pm: Parse log with taper lines mixed.
827         * installcheck/Amanda_DB_Catalog.pl: Check it.
828         * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat.
829         * installcheck/amreport.pl: Check it;
830         * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed.
831
832 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
833         * man/xml-source/amoverview.8.xml: document long options
834         * server-src/amoverview.pl: fix bugs, stop using perl formats, and
835           give long options in the usage message
836         * installcheck/catalogs/bigdb.cat: add disklist
837         * installcheck/amoverview.pl: more thorough tests based on bigdb
838
839 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
840         * man/xml-source/amdump.8.xml: document --no-taper
841         * server-src/Makefile.am: rename amdump.sh -> .pl
842         * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add
843           --no-taper
844         * server-src/driver.c: support --no-taper by not starting taper
845         * server-src/planner.c: support --no-taper by not sending flushes
846
847 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
848         * server-src/find.c (find_dump): Don't print the
849                                          'log files found for tape' warning.
850         * server-src/amadmin.c: Call find_log to print the warning.
851
852 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
853         * server-src/amserverconfig.pl: Use $pw[0].
854
855 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
856         * common-src/conffile.c: Add taper-parallel-write.
857         * common-src/conffile.h: Add taper-parallel-write.
858         * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write.
859
860 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
861         * installcheck/Makefile.am installcheck/amflush.pl: new installcheck
862
863         * server-src/amflush.c: flush DLEs that aren't in the disklist anymore
864         * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile,
865           based on match_disklist
866         * server-src/driver.c: load holding-disk pseudo-DLEs at startup
867         * server-src/driverio.c: survive configuration-free DLEs
868         * server-src/holding.c server-src/holding.h: search_holding_file no
869           longer checks against disklist
870         * server-src/planner.c: use match_dumpfile for holding-disk DLEs
871
872 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
873         * installcheck/Amanda_Device.pl: use srcdir
874         * installcheck/Installcheck.pm: set srcdir from env
875         * installcheck/Installcheck/Catalogs.pm: use srcdir
876         * installcheck/Makefile.am: set $srcdir for tests
877
878 2010-09-09  Lyndon Nerenberg <lyndon@orthanc.ca>
879         * Makefile.am: fix to enable builds outside srcdir
880
881 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
882         * server-src/amvault.pl: add --export
883         * man/xml-source/amvault.8.xml: doc it
884         * installcheck/amvault.pl: test it
885
886 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
887         * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog
888           hack
889
890 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
891         * installcheck/Makefile.am: include
892           installcheck/catalog/retried-strange.cat in distribution
893
894 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
895         * installcheck/catalogs/retried-strange.cat: add a retried dump
896           where the retry is strange
897         * installcheck/amreport.pl: test it
898         * perl/Amanda/Report/human.pm: fix the bug it reveals
899
900 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
901         * gnulib/regenerate/regenerate: add 'environ' module
902         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
903           gnulib/Makefile.am config/gnulib/environ.m4: new module
904
905 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
906         * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4
907         * gnulib/regenerate/regenerate: change gnulib sha1
908
909 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
910         * man/xml-source/amreport.8.xml: describe the format of the dump, with
911           notes and details
912
913 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
914         * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done
915         * installcheck/Amanda_Taper_Scribe.pl: test it
916
917 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
918         * application-src/ampgsql.pl: Send tar stderr to the server.
919
920 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
921         * server-src/amserverconfig.pl: use RUNNING_AS_ANY and
922                                         set dumpuser in amanda.conf.
923
924 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
925         * common-src/alloc.c: remove unnecessary declaration of 'environ'
926
927 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
928         * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes
929         * installcheck/Amanda_Changer_robot.pl: test it
930
931 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
932         * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the
933           ndmlib_mutex
934
935 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
936         * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see
937           http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html
938
939 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
940         * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer
941           slots, to save space
942
943 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
944         * perl/Amanda/Changer.pm: fix make_combined_error
945         * perl/Amanda/Changer/robot.pm: correctly set up polling for device
946           ready; use 'unknown', not 'device', as a reason; always return a
947           changer error, not a string
948
949 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
950         * device-src/tape-aix.c device-src/tape-uware.c
951           device-src/tape-xenix.c: remove unmaintained, and apparently unused,
952           implementations
953         * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c
954         * device-src/tape-device.h: remove
955         * device-src/tape-ops.h: remove
956
957         * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore
958         * device-src/Makefile.am: remove tape ops conditionals
959
960 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
961         * configure.in: add check for unsetenv
962
963 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
964         * installcheck/Makefile.am: add Installcheck::Catalog and the
965           catalogs to the distribution
966
967 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
968         * installcheck/amserverconfig.pl: skip the correct number of tests
969
970 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
971         * installcheck/amserverconfig.pl: don't try running tape-changer if
972           MTX is not installed
973         * server-src/amserverconfig.pl: create $CONFIG_DIR if required.  This
974           passes on my system and should pass on the Mac systems.
975
976 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
977         * config/.gitignore: don't ignore these files
978         * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add
979           ignored, but required, gnulib files
980
981 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
982         * NEWS: note removal of changers
983         * changer-src/Makefile.am changer-src/chg-chio.pl
984           changer-src/chg-chs.sh changer-src/chg-iomega.pl
985           changer-src/chg-juke.sh changer-src/chg-mcutil.sh
986           changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh
987           changer-src/chg-rth.pl changer-src/chg-scsi-chio.c
988           changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c
989           changer-src/scsi-bsd.c changer-src/scsi-cam.c
990           changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
991           changer-src/scsi-defs.h changer-src/scsi-hpux.c
992           changer-src/scsi-hpux_new.c changer-src/scsi-irix.c
993           changer-src/scsi-linux.c changer-src/scsi-proto.c
994           changer-src/scsi-solaris.c changer-src/sense.c: remove changers and
995           system-specific SCSI code
996         * config/amanda/changer.m4: remove unnecessary checks
997         * config/amanda/progs.m4: remove checks for chio, chs, and mcutil
998         * configure.in: remove changer invocations
999
1000 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1001         * server-src/driverio.c: Don't write negative origsizes to the taper
1002
1003 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1004         * server-src/amcheck.c: drop root privs during the server check, so
1005           that access() will test the dumpuser's perms, not root's perms
1006
1007 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1008         * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir
1009         * installcheck/amtapetype.pl: spell it device-property
1010         * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long
1011           option
1012         * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of
1013           mkdir
1014
1015 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1016         * installcheck/Makefile.am: new tests
1017         * installcheck/amserverconfig.pl: run amserverconfig
1018         * installcheck/example.pl: test that templates parse properly
1019         * server-src/amserverconfig.pl: minor cleanup of old perl
1020
1021 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1022         * server-src/dumper.c changer-src/chg-scsi.c: use fseeko
1023         * config/.gitignore config/config.rpath config/gnulib/* gnulib/*:
1024           upgrade gnulib
1025         * gnulib/regenerate/no-error.patch: updated patch
1026         * gnulib/regenerate/regenerate: drop visibility module; specify new
1027           git hash
1028
1029 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1030         * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0
1031           to logfiles to check handling of those cases
1032         * perl/Amanda/Report.pm: fix (egregious) typo
1033         * perl/Amanda/Report/human.pm: handle compression better, handle
1034           printing non-contiguous levels
1035
1036 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1037         * application-src/ampgsql.pl: remove check for a directory that
1038           should not be readable to the amanda user
1039
1040 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1041         * application-src/amgtar.c application-src/ampgsql.pl
1042           recover-src/extract_list.c server-src/amcheckdump.pl: Use
1043           --ignore-zeros in all -t or -x invocations of gtar
1044
1045 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1046         * man/xml-source/amanda-auth.7.xml
1047           man/xml-source/amanda-changers.7.xml
1048           man/xml-source/amanda-client.conf.5.xml
1049           man/xml-source/amanda-compatibility.7.xml
1050           man/xml-source/amanda-devices.7.xml
1051           man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml
1052           man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove
1053           references to krb4 and to the pre-spanning days, and canonicalize
1054           all configuration parameters to use -, not _
1055         * common-src/conffile.c device-src/activate-devpay.c
1056           device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm
1057           perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c
1058           server-src/amreport.pl server-src/driver.c server-src/planner.c:
1059           canonicalize configuration parameter names in error messages to use -,
1060           not _
1061
1062 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
1063         * installcheck/Installcheck/Catalogs.pm: tool to install catalogs
1064           dynamically, rather than including them in __DATA__
1065         * installcheck/catalogs/*: new catalog files
1066         * installcheck/Amanda_DB_Catalog.pl
1067           installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl
1068           installcheck/amstatus.pl: use Installcheck::Catalog
1069         * perl/Amanda/Recovery/Planner.pm: check that parameters exist
1070
1071 2010-08-25 Dan Locks <dwlocks@zmanda.com>
1072         *  packaging/deb/control: Fix missing line break so dpkg can parse the
1073            control file
1074
1075 2010-08-23  Dustin J. Mitchell <dustin@zmanda.com>
1076         * server-src/amvault.pl: add --fulls-only option
1077         * man/xml-source/amvault.8.xml: document
1078
1079 2010-08-23 Dan Locks <dwlocks@zmanda.com>
1080         *  packaging/deb/control: add ca-certificates and procps
1081
1082 2010-08-21  Dustin J. Mitchell <dustin@zmanda.com>
1083         * common-src/fileheader.c: remove incorrect validations for
1084           CONT_FILENAME and APPLICATION
1085
1086 2010-08-20 Dan Locks <dwlocks@zmanda.com>
1087         *  The error fixed here was reported by ssgelm.
1088         *  packaging/common/substitute.pl: Use FULL_VERSION instead of
1089            VERSION.
1090         *  packaging/rpm/amanda.spec.src: renamed from amanda.spec, added
1091            %%VERSION%% macro for substitute.pl, fixed glib2 requires typo
1092         *  packaging/rpm/buildpkg: refactored into "do_thing" functions, added
1093            substitute.pl machinery.
1094
1095 2010-08-20 Dan Locks <dwlocks@zmanda.com>
1096         *  packaging/rpm/amanda.spec: add openSuSE 11 detection and
1097            buildrequires glib2-devel, as written by ssgelm
1098
1099 2010-08-13  Dustin J. Mitchell <dustin@zmanda.com>
1100         * config/amanda/debugging.m4: make the default for syntax-checks
1101           "disabled", add a warning when enabling
1102         * perl/Makefile.am config/automake/scripts.am: don't do any checks
1103           that require linking perl extension modules unless SYNTAX_CHECKS is
1104           set
1105         * installcheck/Makefile.am: always skip syntax checks
1106         * application-src/amlog-script.pl application-src/amraw.pl
1107           application-src/amsamba.pl application-src/amsuntar.pl
1108           application-src/amzfs-sendrecv.pl application-src/amzfs-snapshot.pl
1109           application-src/script-email.pl common-src/amgetconf.pl
1110           device-src/amdevcheck.pl device-src/amtapetype.pl
1111           installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_ndmp.pl
1112           installcheck/Amanda_Changer_null.pl
1113           installcheck/Amanda_Changer_rait.pl
1114           installcheck/Amanda_Changer_robot.pl
1115           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Cmdline.pl
1116           installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl
1117           installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl
1118           installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl
1119           installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl
1120           installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl
1121           installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl
1122           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
1123           installcheck/amadmin.pl installcheck/amarchiver.pl
1124           installcheck/amcheck-device.pl installcheck/amcheck.pl
1125           installcheck/amcheckdump.pl installcheck/amdevcheck.pl
1126           installcheck/amdump.pl installcheck/amgetconf.pl
1127           installcheck/amlabel.pl installcheck/amoverview.pl
1128           installcheck/amrmtape.pl installcheck/amservice.pl
1129           installcheck/amstatus.pl installcheck/amtape.pl
1130           installcheck/amtapetype.pl installcheck/amvault.pl
1131           installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl
1132           server-src/amcheckdump.pl server-src/amcleanup.pl
1133           server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add
1134           strict and/or warnings, and fix (trivial) resulting warnings
1135
1136 2010-08-13  Nikhil Bhupale <nikhilb@zmanda.com>
1137         * AUTHORS: add Nikhil
1138         * device-src/ndmp-device.c: add READ_BLOCK_SIZE support
1139         * installcheck/Amanda_Device.pl: test it
1140         * man/xml-source/amanda-devices.7.xml: document it
1141
1142 2010-08-11  Dustin J. Mitchell <dustin@zmanda.com>
1143         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly
1144         * installcheck/Amanda_Util.pl: test it
1145         * application-src/amsamba.pl: use it to parse amandapass
1146
1147 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
1148         * server-src/find.c: parse old SUCCESS lines properly
1149         * perl/Amanda/DB/Catalog.pm: same
1150         * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines
1151
1152 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
1153         * amandad-src/amandad.c: unset SUN_PERSONALITY on startup
1154         * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY
1155
1156 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
1157         * server-src/amlogroll.pl: ignore arguments after the first
1158
1159 2010-08-06  Dustin J. Mitchell <dustin@zmanda.com>
1160         * installcheck/amvault.pl: correct test count
1161         * perl/Amanda/Taper/Scribe.pm: fix nparts calculation
1162
1163 2010-08-06  Stephen Gelman <ssgelm@gmail.com>
1164         * AUTHORS: add Stephen
1165         * client-src/rundump.c client-src/runtar.c: unset
1166           SUN_PERSONALITY in runtar and rundump, to shut off
1167           Nexenta's tendency to magically run Sun binaries
1168
1169 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
1170         * server-src/amvault.pl: rewrite to use scribe, clerk
1171         * installcheck/amvault.pl: check results better
1172         * server-src/logfile.c server-src/logfile.h: add log_add_full
1173         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full
1174           and make_stats methods
1175         * perl/Amanda/MainLoop.pod: POD typos
1176         * perl/Amanda/Recovery/Planner.pm: add shift_dump method
1177         * perl/Amanda/Taper/Scan.pm: add POD, fix typos
1178         * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb
1179         * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile
1180
1181 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
1182         * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE
1183           property
1184
1185 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
1186         * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_*
1187         * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_*
1188         * installcheck/Amanda_Recovery_Clerk.pl
1189           installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl
1190           server-src/amfetchdump.pl server-src/amidxtaped.pl
1191           server-src/taper.pl: use renamed methods
1192
1193 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
1194         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename
1195           and a method to find the proper timestamp for the current log
1196         * installcheck/Amanda_Logfile.pl: test it
1197         * server-src/Makefile.am server-src/amlogroll.c
1198           server-src/amlogroll.pl: rewrite in perl
1199
1200 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
1201         * config/amanda/ipv6.m4: fix config messages to not use the
1202           autoconf-specific word "target"
1203
1204 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
1205         * man/xml-source/amanda.conf.5.xml: add more info about appropriate
1206           settings for autolabel
1207
1208 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
1209         * common-src/security.h: move comments from wiki, reorder functions
1210
1211 2010-08-03  Jean-Louis Martineau <martineau@zmanda.com>
1212         * server-src/amdump.sh: Check it own the log file.
1213
1214 2010-08-02  Jean-Louis Martineau <martineau@zmanda.com>
1215         * common-src/util.c (interruptible_accept): Set the read set and
1216           timeout before each select call.
1217
1218 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
1219         * server-src/amvault.pl: only run as dumpuser
1220
1221 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
1222         * man/xml-source/amanda-auth.7.xml: consistently use the same
1223           username in examples (thanks to Amar Takhar)
1224
1225 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
1226         * xfer-src/filter-process.c: handle fd's <= 2 correctly
1227
1228 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
1229         * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a
1230           copy of tcpm_recv_token.
1231         * common-src/security-util.c: New tcpm_recv_token without a timeout.
1232         * common-src/security-util.h: Add field to keep a buffer in tcp_conn.
1233
1234 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
1235         * perl/Amanda/Script_App.pm: Print restore message to STDERR.
1236
1237 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
1238         * config/amanda/progs.m4: require SWIG-1.3.39
1239         * (all .c files): #include amanda.h first
1240         * perl/amglue/amglue.swg: use %begin to include config.h first
1241
1242 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
1243         * device-src/amtapetype.pl: detect LEOM and add appropriate
1244           comments
1245         * device-src/xfer-dest-device.c device-src/xfer-device.h: add
1246           cancel_at_leom constructor arg
1247         * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
1248           installcheck/Amanda_Xfer.pl installcheck/amrestore.pl
1249           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg
1250           server-src/amvault.pl: pass new argument
1251
1252 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
1253         * device-src/tape-device.c device-src/tape-device.h: autodetect
1254           the LEOM property, and handle various operating systems' LEOM
1255           indications
1256         * device-src/tape-aix.c device-src/tape-posix.c
1257           device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to
1258           FALSE by default
1259
1260 2010-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1261         * server-src/find.c (find_result_t): Add a write_timestamp.
1262         * server-src/find.h: Set the write_timestamp.
1263         * server-src/amcheckdump.pl: Use the write_timestamp.
1264         * server-src/amidxtaped.pl: write_timestamp is undef.
1265         * server-src/cmdline.h (dumpspec_t): Add a write_timestamp.
1266         * server-src/cmdline.c (dumpspec_new): New write_timestamp argument.
1267         * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp.
1268         * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp.
1269         * perl/Amanda/Cmdline.pod: Document write_timestamp.
1270         * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec
1271           write_timestamp.
1272         * installcheck/Amanda_Cmdline.pl: Fix and check new api.
1273         * installcheck/Amanda_DB_Catalog.pl: Fix and check new api.
1274         * installcheck/Amanda_Logfile.pl: Fix and check new api.
1275         * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api.
1276
1277 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
1278         * configure.in perl/amglue/Makefile.am: new Makefile for
1279           libamglue
1280         * perl/Makefile.am: use SUBDIRS to build libamglue before
1281           any SWIG modules, as automake does not get inter-library
1282           dependencies right at install time if the libraries are
1283           all built in the same directory
1284
1285 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
1286         * application-src/ampgsql.pl: also check PG-DATADIR
1287
1288 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
1289         * installcheck/Amanda_DB_Catalog.pl
1290           installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl
1291           installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio
1292           buffering when writing holding-file headers
1293
1294 2010-07-26  Jean-Louis Martineau <martineau@zmanda.com>
1295         * server-src/planner.c: Ignore the FORCE command if strategy is
1296           INCRONLY.
1297
1298 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
1299         * installcheck/Amanda_Xfer.pl: *real* correct number of tests for
1300           --without-server
1301
1302 2010-07-25  Dustin J. Mitchell <dustin@zmanda.com>
1303         * installcheck/Amanda_Xfer.pl: correct number of tests for
1304           --without-server
1305
1306 2010-07-25  Orion Poplawski <orion@cora.nwra.com>
1307         * server-src/amoverview.pl: fix host iteration and handle case of only
1308           one write_timestamp
1309
1310 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
1311         * device-src/vfs-device.c: announce LEOM one byte later
1312         * installcheck/Amanda_Xfer.pl: set device properties before starting
1313
1314 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
1315         * perl/Amanda/Changer/robot.pm: use correct device field volume_header
1316
1317 2010-07-23  Dustin J. Mitchell <dustin@zmanda.com>
1318         * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS
1319           timeout to 60s and set CURDATA=1 to use cached state
1320
1321 2010-07-23  Jean-Louis Martineau <martineau@zmanda.com>
1322         * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file.
1323         * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and
1324                                        devhandling reservation.
1325         * server-src/taper.pl: Write quit error meesage to debug file.
1326
1327 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1328         * device-src/vfs-device.c device-src/vfs-device.h: add support for
1329           monitoring free space to generate LEOM before ENOSPC hits; set LEOM
1330           property to TRUE by default
1331         * installcheck/Amanda_Device.pl: test monitor_free_space prop
1332         * man/xml-source/amanda-devices.7.xml: document VFS device LEOM
1333           support and the MONITOR_FREE_SPACE property
1334
1335 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1336         * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test
1337         * device-src/property.c device-src/property.h: remove FREE_SPACE
1338           property, QualifiedSize, and SizeAccuracy
1339         * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE
1340           support
1341         * man/xml-source/amanda-devices.7.xml: remove docs
1342         * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize
1343
1344 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1345         * device-src/Makefile.am: add reference to new header file
1346
1347 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1348         * device-src/xfer-dest-taper-cacher.c: remove support for
1349           cache_inform, simplify disk cache
1350         * device-src/xfer-dest-taper-splitter.c: add support for cache_inform,
1351           use it even when LEOM is available
1352         * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h
1353           device-src/xfer-device.h: move common methods to new header file; add
1354           instance_init
1355         * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use
1356           splitter for cache_inform
1357         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function
1358           signatures
1359         * perl/amglue/glib.swg: take any perl true or flase value to make
1360           a gboolean
1361
1362 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
1363         * server-src/diskfile.h (disk_t) Add allow_split and splitsize.
1364         * server-src/diskfile.c: Set allow_split and splitsize.
1365         * server-src/driver.c: Use allow_split and splitsize.
1366         * server-src/planner.c: Use allow_split and splitsize.
1367         * server-src/amadmin.c (disklist_one): Print allow_split.
1368
1369 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
1370         * server-src/taper.pl: Use ' to quote label in 'wrote label' line.
1371         * server-src/amstatus.pl: Parse it.
1372         * installcheck/amstatus.pl: Check it.
1373
1374 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1375         * ndmp-src/Makefile.am: use += with BUILT_SOURCES
1376
1377 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1378         * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h
1379           parameter that sets the initial host
1380         * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet
1381           with no net connection
1382
1383 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1384         * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported
1385         * config/amanda/tape.m4: fix bugs causing tape support to always be
1386           built (symbols aren't defined in Snow Leopard)
1387         * device-src/device.c: fix bug
1388         * perl/Amanda/Device.swg: return undef for undefined properties,
1389           rather than crashing
1390         * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do
1391           not assume tape device is defined
1392
1393 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1394         * config/macro-archive/ac_prog_swig.m4: fix swig version detection
1395           - swig-2.0.0 works fine
1396
1397 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1398         * perl/Amanda/Tapelist.swg: better fix for temp filename
1399
1400 2010-07-15  Jean-Louis Martineau <martineau@zmanda.com>
1401         * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for
1402                                        incremental.
1403         * installcheck/amreport.pl: Test it.
1404
1405 2010-07-15  Satya Ganga  <gast@zmanda.com>
1406         * config/amanda/progs.m4: Use correct search path for mt binary.
1407
1408 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
1409         * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error
1410           messages better
1411
1412 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
1413         * configure.in config/amanda/shmem.m4: remove unnecessary config
1414           checks
1415
1416 2010-07-13  Dustin J. Mitchell <dustin@zmanda.com>
1417         * perl/Amanda/Report.pm: parse the planner's skipping a dump
1418         * perl/Amanda/Report/human.pm: present it correctly
1419         * installcheck/amreport.pl: adjust tests accordingly
1420
1421 2010-07-12  Nandan Athawale <nandan.athawale@gmail.com>
1422         * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper
1423           is set
1424
1425 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
1426         * server-src/amoverview.pl: fix variable references in evals
1427
1428 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1429         * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck
1430           for amoverview
1431
1432 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
1433         * server-src/amoverview.pl: update to use Amanda::DB::Catalog
1434         * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys
1435         * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness
1436         * AUTHORS: add Orion
1437
1438 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1439         * common-src/conffile.c: fix error message
1440
1441 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1442         * example/amanda.conf.in example/template.d/advanced.conf.in
1443           example/template.d/amanda-S3.conf.in: replace label_new_tapes with
1444           autolabel
1445
1446 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1447         * installcheck/Amanda_Xfer.pl: fix test counts under -without-server
1448
1449 2010-07-10  Dustin J. Mitchell <dustin@zmanda.com>
1450         * config/amanda/userid.m4: apply the default value for --with-group
1451           to the correct variable
1452
1453 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1454         * server-src/amcheck.c: small bugfixes
1455         * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support
1456           LEOM configurations
1457         * server-src/taper.pl: use new args; log warnings with L_WARNING, not
1458           L_FAIL
1459         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test
1460           changes
1461
1462 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1463         * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest
1464         * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter
1465         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class
1466           and renamed class
1467         * device-src/xfer-dest-taper-directtcp.c 
1468           device-src/xfer-dest-taper.c: move null cach_inform to parent class
1469         * device-src/xfer-device.h: prototypes
1470         * device-src/Makefile.am: new file
1471         * installcheck/Amanda_Device.pl: LEOM tests
1472         * installcheck/Amanda_Xfer.pl: tests for new taper dest
1473         * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher)
1474
1475 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1476         * device-src/property.c device-src/property.h device-src/device.c: add
1477           LEOM property
1478         * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml
1479           man/xml-source/amanda.conf.5.xml: document it
1480         * installcheck/Amanda_Device.pl: test it
1481         * device-src/dvdrw-device.c device-src/ndmp-device.c
1482           device-src/null-device.c device-src/rait-device.c
1483           device-src/s3-device.c device-src/tape-device.c: set LEOM property
1484           appropriately
1485         * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support
1486           property, and allow it to be changed for testing
1487         * server-src/taper.pl: small bugfix
1488
1489 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1490         * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump
1491
1492 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1493         * perl/amglue/constants.swg: new SWIG precompiler magic to allow
1494           flexible handling of lists of constants
1495         * perl/Amanda/Config.pod: add section header
1496         * perl/Amanda/Config.swg: include all config param constants in the
1497           POD
1498
1499 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
1500         * installcheck/Amanda_Device.pl: erase each S3 volume after the tests
1501           are finished with it
1502
1503 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
1504         * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors
1505
1506 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
1507         * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial
1508           of use of a second tape due to user configuration; dump_cb adds
1509           the config_denial_message parameter
1510         * server-src/taper.pl: use new parameter
1511         * installcheck/Amanda_Taper_Scribe.pl: updated tests
1512
1513 2010-07-06  Orion Poplawski <orion@cora.nwra.com>
1514         * server-src/amoverview.pl: fix parsing for newer amadmin find output
1515
1516 2010-07-06  Dustin J. Mitchell <dustin@zmanda.com>
1517         * device-src/s3.c: fix typo (that I added, not Nandan)
1518
1519 2010-07-06  Nandan Athawale <nandan.athawale@gmail.com>
1520         * device-src/s3.c: use Amazon's HTTP response headers to calculate a
1521           time offset for the local clock, to automatically work around time
1522           skew
1523
1524 2010-06-29  Dustin J. Mitchell <dustin@zmanda.com>
1525         * installcheck/Makefile.am installcheck/chunker.pl: new check
1526         * perl/Amanda/Header.swg: bug fix
1527         * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for
1528           testing
1529
1530 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
1531         * server-src/driverio.c: fix format specifies
1532
1533 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
1534         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
1535           add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR,
1536           and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print
1537           deprecation warnings once per process; deprecate TAPE_SPLITSIZE,
1538           FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER
1539         * example/amanda.conf.in example/template.d/amanda-S3.conf.in
1540           example/template.d/amanda-harddisk.conf.in
1541           example/template.d/dumptypes: remove old params
1542         * installcheck/Amanda_Config.pl
1543           installcheck/Amanda_Taper_Scribe.pl
1544           installcheck/Installcheck/Dumpcache.pm
1545           installcheck/taper.pl: update tests
1546         * man/xml-source/amanda-compatibility.7.xml: document deprecations
1547           and what to do about them
1548         * man/xml-source/amanda.conf.5.xml: document deprecations and new
1549           params
1550         * perl/Amanda/Device.pod: add doc about size=0 for
1551           write_from_connection, fix typo
1552         * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config
1553         * server-src/diskfile.c server-src/diskfile.h: add dumptype->config
1554         * server-src/amcheck.c: checks for the new params
1555         * server-src/driverio.c server-src/taper.pl: add all config params to
1556           the driver/taper protocol
1557
1558 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
1559         * device-src/xfer-dest-taper-directtcp.c: round part size to a
1560           multiple of the block size
1561         * installcheck/Amanda_Xfer.pl: test it
1562
1563 2010-06-24  Dustin J. Mitchell <dustin@zmanda.com>
1564         * application-src/ampgsql.pl: use conditionals to skip useless
1565           selfcheck checks
1566
1567 2010-06-23  Dustin J. Mitchell <dustin@zmanda.com>
1568         * application-src/ampgsql.pl: conditionalize some checks on property
1569           being set
1570
1571 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
1572         * server-src/amfetchdump.pl: fix parsing levels and -p
1573
1574 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
1575         * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens
1576          and Marco Poli
1577
1578 2010-06-22  Jean-Louis Martineau <martineau@zmanda.com>
1579         * device-src/tape-device.c: Handle write returning 0 for LEOM.
1580
1581 2010-06-21  Dustin J. Mitchell <dustin@zmanda.com>
1582         * perl/Makefile.am: list libamglue in _SOURCES variables, too,
1583           so that dependencies are correct and parallel makes do not
1584           fail
1585
1586 2010-06-18  Jean-Louis Martineau <martineau@zmanda.com>
1587         * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline.
1588
1589 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
1590         * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS
1591
1592 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
1593         * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs
1594           to match new changer API
1595
1596 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
1597         * common-src/bsd-security.c common-src/bsdtcp-security.c
1598           common-src/bsdudp-security.c common-src/local-security.c
1599           common-src/security-util.c common-src/ssh-security.c: zero out new
1600           structures, and protect logtime messages from NULL dereferences
1601
1602 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
1603         * installcheck/Makefile.am: use chmod a-x instead of chmod -x
1604
1605 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
1606         * installcheck/Makefile.am: remove comment from Makefile rule
1607
1608 2010-06-16  Jean-Louis Martineau <martineau@zmanda.com>
1609         * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE.
1610
1611 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
1612         * installcheck/Makefile.am: add chmod -x for more recent Test::Harness
1613           implementations that are confused by executable tests
1614
1615 2010-06-15  Jean-Louis Martineau <martineau@zmanda.com>
1616         * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner'
1617           line should result in FAILED dump (not MISSING dump).
1618         * installcheck/amreport.pl: Test it.
1619
1620 2010-06-14  Dustin J. Mitchell <dustin@zmanda.com>
1621         * config/automake/installperms.am: add new special cases
1622
1623         * application-src/Makefile.am client-src/Makefile.am
1624           oldrecover-src/Makefile.am recover-src/Makefile.am
1625           server-src/Makefile.am: only use installperms for setuid executables
1626
1627 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
1628         * perl/Amanda/Report.pm: POD overhaul
1629
1630 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
1631         * perl/amglue/directtcp.swg: fix unterminated array
1632
1633 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1634         * config/amanda/net.m4: remove use of AS_HELP_STRING
1635
1636 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1637         * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles
1638         * common-src/fileheader.c: don't put partnum=1 on tape headers, etc.
1639
1640 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1641         * common-src/fileheader.c: fix inaccurate partnum in such headers
1642         * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with
1643           DUMPFILE headers
1644
1645 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1646         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix
1647           NDMOS_OPTION_NO_NDMPvX precompiler conditionals
1648
1649 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1650         * installcheck/Amanda_Device.pl: test the connect method
1651
1652 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1653         * ndmp-src/ndma_comm_dispatch.c: uncomment and update code
1654           to support NDMP_MOVER_CONNECT via ndmta.
1655
1656 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1657         * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c
1658           device-src/device.h: add a device_connect method
1659         * device-src/ndmp-device.c: implement it
1660         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add
1661           ndmp_connection_mover_connect
1662         * perl/Amanda/Xfer.pod: update documentation using the word
1663           "initiator"
1664
1665 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1666         * device-src/s3-device.c: add S3_STORAGE_CLASS property
1667         * device-src/s3.c device-src/s3.h: add storage_class
1668         * installcheck/Amanda_Device.pl: set the property
1669         * man/xml-source/amanda-devices.7.xml: document it
1670
1671 2010-06-10  Dustin J. Mitchell <dustin@zmanda.com>
1672         * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes
1673           problems with amidxtaped: "Specified file list matches multiple
1674           dumps"
1675
1676 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1677         * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags.
1678         * server-src/amreport.pl: Add STRANGE or MISSING to email subject.
1679         * installcheck/Amanda_Report.pl: Test new flags.
1680
1681 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1682         * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of
1683           timestamps, each value is an array of try.
1684         * perl/Amanda/Report/human.pm: Use 'dumps'.
1685         * perl/Amanda/Report/postscript.pm: Use 'dumps'.
1686         * perl/Amanda/Report/xml.pm: Use 'dumps'.
1687         * contrib/amreport.rnc: Add 'dumps'
1688         * server-src/amreport.pl: Use 'dumps'
1689         * installcheck/amreport.pl: Check 'dumps'
1690         * installcheck/Amanda_Report.pl: Check 'dumps'
1691
1692 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1693         * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check
1694           the data_path.
1695         * server-src/driver.c: Check FAILED result after PORT command.
1696         * server-src/driverio.c: Send data_path in taper PORT-WRITE command.
1697         * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the
1698           scribe check_data_path method.
1699         * installcheck/taper.pl: Test it.
1700
1701 2010-06-09 Dan Locks <dwlocks@zmanda.com>
1702         *  packaging/rpm/amanda.spec: remove Provides from main section,
1703            remove amanda-client from server provides section.
1704
1705 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1706         * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl,
1707           installcheck/Amanda_Recovery_Planner.pl,
1708           installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl,
1709           installcheck/taper.pl, perl/Amanda/Report.pm,
1710           perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm,
1711           server-src/find.c, server-src/taper.pl: taper log a "config|error"
1712           keyword in the "ERROR no-tape" line.
1713
1714 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1715         * common-src/conffile.c: Allow negative etimeout.
1716
1717 2010-06-08  Dustin J. Mitchell <dustin@zmanda.com>
1718         * ndmp-src/ndmp4_enum_strs.c: add missing enum
1719
1720 2010-06-07  Dustin J. Mitchell <dustin@zmanda.com>
1721         * ndmp-src/ndml_agent.c: add INADDR_NONE
1722         * ndmp-src/ndmos_glib.h: remove solaris-specific conditional
1723
1724 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
1725         * perl/Amanda/Device.swg: fix uninitialized variable
1726
1727 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
1728         * common-src/amfeatures.h: New fe_amindexd_quote_label.
1729         * common-src/amfeatures.c: fe_amindexd_quote_label.
1730         * perl/Amanda/Feature.pod: fe_amindexd_quote_label.
1731         * server-src/amindexd.c: Quote label if fe_amindexd_quote_label.
1732         * recover-src/amrecover.c: Add debugging statement.
1733         * recover-src/display_commands.c: Parse quoted label.
1734         * recover-src/extract_list.c: Parse quoted label.
1735
1736 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
1737         * xfer-src/xfer-element.h common-src/Makefile.am
1738           common-src/queueing-test.c common-src/queueing.c
1739           common-src/queueing.h: remove queueing support
1740         * installcheck/Amanda_Device.pl device-src/Makefile.am
1741           device-src/device-queueing.c device-src/device-queueing.h
1742           device-src/device.c device-src/device.h device-src/property.h: remove
1743           queue_fd, device_write_from_fd and device_read_to_fd
1744         * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd,
1745           write_from_fd, and read_to_fd; add test utilities to move random data
1746           onto and off of devices
1747
1748 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
1749         * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod
1750           perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm
1751           server-src/amfetchdump.pl server-src/amidxtaped.pl
1752           server-src/amrestore.pl xfer-src/filter-process.c
1753           xfer-src/xfer-element.h: add a log_stderr argument to
1754           Amanda::Xfer::Filter::Process
1755         * server-src/amcheckdump.pl: use the transfer architecture
1756
1757 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
1758         * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded"
1759           by "label '$label' not found" for old changer scripts.
1760
1761 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
1762         * server-src/find.c: zero-pad timestamps out to 14 digits for
1763           comparison
1764         * perl/Amanda/Recovery/Clerk.pm: same
1765
1766 2010-06-03 Dan Locks <dwlocks@zmanda.com>
1767         *  packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead.
1768
1769 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
1770         * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect
1771           redhat systems that change the wildcard default for include; and
1772           consider 1.15.91 >= 1.16
1773
1774 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1775         * server-src/planner.c: Fix printf format.
1776
1777 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
1778         * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql
1779           restore process
1780
1781 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1782         * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file.
1783         * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely.
1784         * installcheck/amrmtape.pl: Fix.
1785
1786 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1787         * server-src/amcleanupdisk.c: Use CLR and SET.
1788         * server-src/planner.c: Use CLR, SET and ISSET.
1789           Don't update csize if level < 0.
1790
1791 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1792         * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't
1793           exists.
1794
1795 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
1796         * common-src/security-util.c: Print a debug message every 10 minutes if
1797           something is transmitted.
1798         * common-src/security-util.h (tcp_conn): Add logstamp.
1799
1800 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
1801         * server-src/dumper.c: Drop root privilege before executing compression
1802           or encryption program.
1803
1804 2010-06-02  Dustin J. Mitchell <dustin@zmanda.com>
1805         * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly
1806           high-ascii characters in -t test
1807
1808 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1809         * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23.
1810
1811 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1812         * server-src/find.c(print_find_result): Quote label.
1813
1814 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1815         * config/set_full_version: Add comments.
1816
1817 2010-05-28  Dustin J. Mitchell <dustin@zmanda.com>
1818         * installcheck/gnutar.pl: tests for gnutar globbing behavior
1819         * installcheck/Makefile.am: run them
1820
1821 2010-05-28 Dan Locks <dwlocks@zmanda.com>
1822         *  packaging/Makefile.am: include common in EXTRA_DIST
1823
1824 2010-05-28 Dan Locks <dwlocks@zmanda.com>
1825
1826 2010-05-27  Jean-Louis Martineau <martineau@zmanda.com>
1827         * server-src/find.c: Don't report taper line with filenum=0.
1828
1829 2010-05-27  Dustin J. Mitchell <dustin@zmanda.com>
1830         * installcheck/taper.pl: test for a new write after EOM without
1831           splitting
1832         * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
1833           this condition and switching to a new volume appropriately
1834
1835 2010-05-26  Dustin J. Mitchell <dustin@zmanda.com>
1836         * config/amanda/libs.m4: Allow user to specify glib config explicitly
1837
1838 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
1839         * perl/Makefile.am: add libamxfer as a dependency of libamglue
1840
1841 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
1842         * installcheck/amtapetype.pl: use force for subsequent runs
1843
1844 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
1845         * device-src/amtapetype.pl: close and re-open devices between tests
1846         * device-src/xfer-dest-device.c: fix memory leak
1847         * man/xml-source/amtapetype.8.xml: fix -f docs
1848
1849 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
1850         * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
1851           with level if NDMP9_ILLEGAL_STATE_ERR.
1852
1853 2010-05-21  Dustin J. Mitchell <dustin@zmanda.com>
1854         * device-src/amtapetype.pl: get the block_size property earlier
1855         * device-src/device.c: allow property_get after a DEVICE_ERROR
1856
1857 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
1858         * server-src/driver.c: Always report "taperflush criteria not met".
1859
1860 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
1861         * installcheck/Amanda_Changer.pl: test more configs
1862         * man/xml-source/amanda.conf.5.xml: point users to
1863           amanda-changers(7)
1864         * perl/Amanda/Changer.pm: support either tpchanger or
1865           tapedev in changer defs
1866
1867 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
1868         * config/amanda/progs.m4: always use rpcgen
1869         * ndmp-src/Makefile.am: always build rpc outputs
1870         * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h
1871           ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c
1872           ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h
1873           ndmp-src/ndmp9_xdr.c: remove from version control (and dist)
1874
1875 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
1876         * common-src/fileheader.c: don't print to stderr anymore
1877
1878 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
1879         * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products
1880           first, since they are not solaris-compatible
1881
1882 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
1883         * application-src/amsamba.pl: filter "Server not using user level ..."
1884
1885 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
1886         * server-src/amtape.pl (inventory): print barcode from unknown state.
1887
1888 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
1889         * perl/Amanda/Application.swg (default_validate): Use sysread.
1890
1891 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1892         * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
1893           required
1894
1895 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1896         * perl/Amanda/Changer/rait.pm: add debug message when child slot
1897           counts differ
1898
1899 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1900         * config/amanda/net.m4: correct help messages
1901
1902 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1903         * man/xml-source/amanda.conf.5.xml: fix typo
1904
1905 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
1906         * server-src/amfetchdump.pl: use syswrite so the filehandle gets
1907           properly flushed
1908
1909 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
1910         * perl/Amanda/Changer/ndmp.pm: add verbose property
1911         * installcheck/Amanda_Changer_ndmp.pl: use it
1912
1913 2010-05-14  Dustin J. Mitchell <dustin@zmanda.com>
1914         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
1915           window_offset to mover_get_state
1916         * device-src/ndmp-device.c: insert corresponding NULLs
1917
1918 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1919         * server-src/amcheckdump.pl: Check subprocess exit status and print
1920           their stderr.
1921
1922 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1923         * common-src/amcryptsimple.pl: Exit on error if gpg fail.
1924
1925 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1926         * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
1927
1928 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1929         * application-src/amgtar.c: fix exclude-file.
1930
1931 2010-05-12  Dustin J. Mitchell <dustin@zmanda.com>
1932         * installcheck/Amanda_Device.pl: add regression test
1933         * device-src/tape-device.c: set self->fd to -1 when closing; add
1934           better error messages
1935
1936 2010-05-11 Dan Locks <dwlocks@zmanda.com>
1937         *  packaging/common/substitute.pl: added.  contains much machinery not
1938            yet used in packaging. 
1939         *  packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
1940            %%DATE%% macros which are expanded by substitute.pl.
1941         *  packaging/deb/changelog: renamed to above
1942         *  packaging/deb/rules: fix stray configure option
1943         *  packaging/deb/buildpkg: adjust to use substitute.pl instead of
1944            figuring VERSION out directly.
1945
1946 2010-05-10  Jean-Louis Martineau <martineau@zmanda.com>
1947         * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
1948
1949 2010-05-07  Jean-Louis Martineau <martineau@zmanda.com>
1950         * common-src/security-util.c: Use global buffer for 
1951           security_stream_read_sync.
1952         * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
1953           returnned by security_stream_read_sync.
1954
1955 2010-05-07  Dustin J. Mitchell <dustin@zmanda.com>
1956         * device-src/rait-device.c: fix assertion failure when a child device
1957           gives an error
1958         * perl/Amanda/Changer/rait.pm: add support for braced drive specs
1959         * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
1960           for an eject operation
1961         * man/xml-source/amanda-changers.7.xml: document rait changer drive
1962           specifications
1963
1964 2010-05-06  Jean-Louis Martineau <martineau@zmanda.com>
1965         * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
1966           for restore, escape the non glob include and exclude.
1967         * client-src/client_util.h: Add include_list_glob and exclude_list_glob
1968           to backup_support_option_t.
1969         * client-src/client_util.c: Parse new support option.
1970         * man/xml-source/amgtar.8.xml: Ducument new properties.
1971         * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
1972           asis to amrecover.
1973
1974 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
1975         * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
1976           have a valid status
1977
1978 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
1979         * device-src/s3-device.c: fix several fatal flaws in the
1980           read_block implementation
1981
1982 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
1983         * perl/Amanda/Report/human.pm: don't assume parts are defined
1984
1985 2010-05-04  Dustin J. Mitchell <dustin@zmanda.com>
1986         * man/xml-source/amanda-devices.7.xml: add more regions
1987         * man/xml-source/amcheckdump.8.xml: remove duplicate section
1988
1989 2010-05-04  Jean-Louis Martineau <martineau@zmanda.com>
1990         * common-src/security-util.c: Free packet on close.
1991
1992 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
1993         * common-src/glib-util.c: reorgnize glib_init to be compatible with
1994           glib-2.24+
1995
1996 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
1997         * server-src/amlabel.pl: change the text to be less ambiguous
1998
1999 2010-05-03  Jean-Louis Martineau <martineau@zmanda.com>
2000         * server-src/disk_history.c: Keep all parts.
2001
2002 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
2003         * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
2004
2005 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
2006         * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
2007           recovery
2008         * device-src/ndmp-device.c: add extra assertion
2009         * device-src/xfer-dest-device.c: remove debug print
2010         * device-src/xfer-device.h device-src/xfer-source-recovery.c
2011           installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
2012           perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
2013         * perl/Amanda/Recovery/Clerk.pm: call use_device
2014
2015 2010-04-30  Dustin J. Mitchell <dustin@zmanda.com>
2016         * installcheck/Amanda_Changer_robot.pl: fix installchecks
2017           to pass after previous change
2018
2019 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
2020         * perl/Amanda/Changer/robot.pm: Default state file is in
2021                                         $localstatedir/amanda
2022         * man/xml-source/amanda-changers.7.xml: Document new location.
2023
2024 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
2025         * device-src/directtcp-connection.c: Typo.
2026
2027 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
2028         * server-src/amreport.pl: Print "FAIL" in email subject header if run
2029                                   failed.
2030         * installcheck/amreport.pl: Test it.
2031
2032 2010-04-27  Paul C. Mantz <pcmantz@zmanda.com>
2033         * perl/Amanda/Report/human.pm: better per-tape stat labels
2034         * installcheck/amreport.pl: updated tests
2035
2036 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
2037         * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
2038
2039 2010-04-27  Dustin J. Mitchell <dustin@zmanda.com>
2040         * server-src/planner.c: change degraded-mode messages to make more
2041           sense to the user
2042
2043 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
2044         * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
2045           changer have no inventory.
2046
2047 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
2048         * server-src/amreport.pl: print org & config in xml output
2049
2050 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
2051         * perl/Amanda/Recovery/Scan.pm: Use default change if message is
2052                                         $DEFAULT_CHANGER
2053         * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
2054                                     AMRECOVER_CHANGER
2055
2056 2010-04-26  Dustin J. Mitchell <dustin@zmanda.com>
2057         * perl/Amanda/Taper/Scribe.pm: give total time from
2058           dump start to dump end as total_duration
2059         * server-src/taper.pl: use total_duration
2060
2061 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
2062         * server-src/planner.c: Do not promote if no full estimate.
2063
2064 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
2065         * installcheck/Amanda_Report.pl: changed part to partnum
2066
2067 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
2068         * server-src/amcheckdump.pl: Check all process status.
2069
2070 2010-04-23  Paul C. Mantz <pcmantz@zmanda.com>
2071         * server-src/amreport.pl perl/Amanda/Report.pm
2072           perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
2073           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
2074           location of tape parts in Amanda::Report
2075         * installcheck/Amanda_Report.pl: installchecks
2076
2077 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
2078         * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
2079         * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
2080         * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
2081
2082 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
2083         * ndmp-src/ndml_nmb.c: Don't log successful halt.
2084         * server-src/dumper.c: Don't log no-op command.
2085
2086 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
2087         * man/xml-source/amanda-devices.7.xml: more detail for
2088           STREAMING property
2089
2090 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
2091         * device-src/xfer-dest-taper-splitter.c: fix assertion failure
2092           reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
2093
2094 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
2095         * installcheck/Amanda_Header.pl: add checks for all fields
2096
2097 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
2098         * common-src/util.c: add debugging check to interruptible_accept
2099         * server-src/taper.pl: don't use IO::Socket, as it is badly broken
2100           and not thread-safe on Solaris 8
2101         * xfer-src/element-glue.c: add debugging checks
2102
2103 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
2104         * server-src/amcleanup.pl: Fix running command with system.
2105
2106 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
2107         * example/Makefile.am: fix 'make clean' to not erase source files.
2108
2109 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
2110         * config/amanda/progs.m4: check for, and reject, Solaris's
2111           SGU lex, which is badly broken
2112         * configure.in: use AMANDA_PROG_LEX
2113
2114 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
2115         * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
2116           Jean-Francois Malouin
2117
2118 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
2119         * perl/Amanda/Report/xml.pm: use bytes as data unit
2120
2121 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
2122         * perl/Amanda/Report/xml.pm: tries need to show all programs
2123
2124 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
2125         * perl/Amanda/Changer/ndmp.pm: $conn = undef
2126
2127 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
2128         * common-src/match-test.c: lots of new tests
2129         * common-src/match.c: fix comments, minor bugs in tar_to_regex and
2130           match_level
2131         * common-src/match.h: comments to describe each function
2132         * man/xml-source/amanda.8.xml: update expression docs
2133
2134 2010-04-21  Dustin J. Mitchell <dustin@zmanda.com>
2135         * server-src/amlabel.pl: add warning when the old label is in the
2136           tapelist
2137
2138 2010-04-20  Dustin J. Mitchell <dustin@zmanda.com>
2139         * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE
2140         * device-src/rait-device.c: fix bugs
2141
2142 2010-04-19  Jean-Louis Martineau <martineau@zmanda.com>
2143         * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
2144           seen a second time.
2145
2146 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
2147         * perl/Amanda/Config.swg: move val_t output typemap to a function
2148
2149 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
2150         * server-src/amadmin.c: show all custom compression/encryption options
2151           in amadmin disklist
2152         * man/xml-source/amanda.conf.5.xml: document undocumented params
2153
2154 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
2155         * server-src/amcleanup.pl: don't fail when run with no args
2156
2157 2010-04-15  Paul C. Mantz <pcmantz@gmail.com>
2158         * perl/Amanda/Curinfo/Info.pm: fixed header parsing
2159         * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
2160         * installcheck/Amanda_Curinfo.pl: installchecks
2161
2162 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
2163         * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
2164
2165 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
2166         * device-src/xfer-dest-device.c: don't use queueing anymore; this
2167           removes the max_memory constructor argument
2168         * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype
2169           change
2170         * perl/Amanda/Xfer.pod: docs
2171         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
2172           installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl
2173           installcheck/amrestore.pl server-src/amvault.pl: change constructor
2174           invocation
2175
2176 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
2177         * common-src/util.c common-src/util.h: new interruptible_accept that
2178           uses a prolong function to stop waiting
2179         * common-src/stream.c: use interruptible_accept in stream_accept
2180         * xfer-src/element-glue.c: use interruptible_accept to allow
2181           directtcp_accept to be cancelled
2182         * installcheck/Amanda_Xfer.pl: test xfer cancellation
2183
2184 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
2185             Satya Ganga <gsat@zmanda.com>
2186         * application-src/amsamba.pl: Fix use of include/exclude list.
2187
2188 2010-04-14  Dustin J. Mitchell <dustin@zmanda.com>
2189         * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm
2190           server-src/taper.pl: rename dump_timestamp -> write_timestamp
2191
2192 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
2193         * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
2194
2195 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
2196         * common-src/conffile.c common-src/conffile.h: make file-pad and
2197           tapebufs parameters errors
2198         * perl/Amanda/Config.swg: remove parameters
2199         * server-src/taper.pl: don't check tapebufs
2200         * installcheck/Amanda_Config.pl: adjust testing
2201         * man/xml-source/amanda-compatibility.7.xml: add deprecation
2202           note about amrecover_do_fsf and amrecover_check_label
2203
2204 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
2205         * device-src/xfer-dest-taper-splitter.c
2206           device-src/xfer-dest-taper-directtcp.c: make sure duration is positive
2207
2208 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
2209         * common-src/conffile.c: fix derived value for autolabel
2210
2211 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
2212         * man/xml-source/amanda-applications.7.xml: info about properties
2213         * man/xml-source/amanda-devices.7.xml: info about properties
2214         * man/xml-source/amanda-scripts.7.xml: info about properties
2215         * man/xml-source/amzfs-snapshot.8.xml: fix typo
2216
2217 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
2218         * NEWS: add info about deprecations in 2.6.1
2219         * man/xml-source/amanda-compatibility.7.xml: update manpage to
2220           reflect info in NEWS
2221
2222 2010-04-13  Paul C. Mantz <pcmantz@zmanda.com>
2223         * server-src/amreport.pl: load holding disk before making report
2224         * perl/Amanda/Report/human.pm: report holding disk correctly
2225         * installcheck/amreport.pl: installcheck
2226
2227 2010-04-13  Jean-Louis Martineau <martineau@zmanda.com>
2228         * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
2229           Always log NOTIFY_DATA_HALTED.
2230
2231 2010-04-12  Dustin J. Mitchell <dustin@zmanda.com>
2232         * common-src/conffile.c: deprecate amrecover_do_fsf and
2233           amrecover_check_label
2234         * example/amanda.conf.in example/template.d/advanced.conf.in: remove
2235         * man/xml-source/amanda.conf.5.xml: indicate deprecation
2236         * NEWS: mention deprecation
2237
2238 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
2239         * perl/Amanda/Report/human.pm: typo.
2240
2241 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
2242         * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
2243         * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
2244         * perl/Amanda/Report/human.pm: Print taper error message.
2245         * server-src/find.c: Set current_label to "".
2246
2247 2010-04-08  Paul C. Mantz <pcmantz@zmanda.com>
2248         * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
2249           which search the logdir instead of the tapelist
2250         * perl/Amanda/Logfile.pod: documentation
2251         * server-src/amreport.pl: use find_latest_log insted of find_log
2252
2253 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
2254         * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
2255           eliminate reference loops created by use of %subs
2256         * perl/Amanda/MainLoop.pod: document it
2257         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
2258           installcheck/Amanda_Changer_disk.pl
2259           installcheck/Amanda_Changer_multi.pl
2260           installcheck/Amanda_Changer_ndmp.pl
2261           installcheck/Amanda_Changer_rait.pl
2262           installcheck/Amanda_Changer_robot.pl
2263           installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
2264           installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
2265           installcheck/Amanda_Recovery_Scan.pl
2266           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
2267           installcheck/amfetchdump.pl installcheck/amidxtaped.pl
2268           installcheck/amlabel.pl perl/Amanda/Changer.pm
2269           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
2270           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
2271           perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
2272           perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
2273           server-src/amcheck-device.pl server-src/amfetchdump.pl
2274           server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
2275           server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
2276
2277 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2278         * config/automake/scripts.am: comment double quote 'use lib'.
2279
2280 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2281         * application-src/amsamba.pl: Use tarmode.
2282
2283 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2284         * recover-src/amrecover.c: Print to debug what is sent to amindexd.
2285         * recover-src/uparse.y: Parse setdate correctly.
2286
2287 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2288         * ndmp-src/ndma_comm_dispatch.c:
2289           Comment "Second add_dir entry is non-conforming".
2290
2291 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
2292         * server-src/planner.c: fix two bugs that caused planner to generate a
2293           bogus schedule; remove a redundant assignment
2294
2295 2010-04-07 Dan Locks <dwlocks@zmanda.com>
2296         *  packaging/rpm/amanda.spec: specify mandir explicitly to work around
2297            old autoconf
2298
2299 2010-04-07  Paul C. Mantz <pcmantz@zmanda.com>
2300         * server-src/amreport.pl perl/Amanda/Report.pm
2301         perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
2302         perl/Amanda/Report/xml.pm installcheck/amreport.pl
2303         installcheck/Amanda_Report.pl: taped segments called parts, not chunks
2304
2305
2306 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
2307         * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
2308
2309 2010-04-07  Dustin J. Mitchell <dustin@zmanda.com>
2310         * config/amanda/userid.m4: CHECK_USERID conditional
2311         * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
2312         * installcheck/Makefile.am: use it
2313
2314 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
2315         * server-src/amcheck.c: Don't exit on match_disklist error.
2316         * server-src/diskfile.c (match_disklist): Generate better message for
2317           strategy "skip" or ignore dle.
2318
2319 2010-04-06  Jean-Louis Martineau <martineau@zmanda.com>
2320         * recover-src/extract_list.c: Set restore_dir to NULL.
2321
2322 2010-04-06  Paul C. Mantz <pcmantz@zmanda.com>
2323         * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
2324         * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
2325           NDMP4_LOG_* messages for testing
2326
2327 2010-04-05  Jean-Louis Martineau <martineau@zmanda.com>
2328         * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
2329           property.
2330
2331 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2332         * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
2333         * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
2334           loading slot 'current'
2335         * installcheck/Amanda_Taper_Scan_traditional.pl: test it
2336
2337 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2338         * server-src/amidxtaped.pl: send changer error with MESSAGE
2339         * installcheck/amidxtaped.pl: test for it
2340
2341 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2342         * config/amanda/version.m4: be resilient to all but the first
2343           digit of the version number missing
2344
2345 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2346         * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
2347           reference loop in %subs (interim solution -- this arrangement
2348           leaks everywhere)
2349
2350 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2351         * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
2352           every Interface operation, so that objects are not unreffed
2353           during Perl's global cleanup.
2354
2355 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2356         * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
2357         * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
2358           search failure; check for failure before printing "slot N"
2359           prefix
2360         * server-src/amcheck-device.pl: implement new user_msg_fn key
2361           to print expected volume on failure
2362
2363 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2364         * perl/Amanda/Device.pod: document that finish() can be called even
2365           if start() was not, to release resources
2366         * device-src/ndmp-device.c: implement
2367         * device-src/tape-device.c: implement
2368         * perl/Amanda/Changer.pm: always finish() a device in $res->release()
2369
2370 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2371         * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
2372         * installcheck/Makefile.am: add util
2373
2374 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2375         * server-src/infofile.c: use %lld in scanning instead of %jd,
2376           since Solaris 8 doesn't have %j support; also fix handling
2377           of parse errors
2378
2379 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2380         * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
2381           DEVICE_STATUS_DEVICE_BUSY
2382
2383 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2384         * perl/Amanda/Changer.pm: check $err->failed before returning reason
2385
2386 2010-04-02  Paul C. Mantz <pcmantz@zmanda.com>
2387         * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
2388         * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
2389         * installcheck/amreport.pl: installchecks
2390
2391 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
2392         * perl/Amanda/Util.pod: correct inaccurate claims in burp
2393
2394 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
2395         * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
2396           sizeof(gint)
2397
2398 2010-04-02  Jean-Louis Martineau <martineau@zmanda.com>
2399         * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
2400
2401 2010-04-01  Paul C. Mantz <pcmantz@gmail.com>
2402         * server-src/amreport.pl: accepts and ignores disk args in script mode
2403         * installcheck/amreport.pl: checks
2404
2405 2010-04-01  Jean-Louis Martineau <martineau@zmanda.com>
2406         * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
2407         * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
2408         * installcheck/amrecover.pl: Check 'localhost' hostname,
2409                                      remove '^' from expect regex
2410         * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
2411
2412 2010-04-01  Dustin J. Mitchell <dustin@zmanda.com>
2413         * application-src/ampgsql.pl: check permissions on archive dir, and
2414           fail selfcheck if they are not sufficient.  Also implement the
2415           wal-max-wait=0 that's already documented
2416         * man/xml-source/ampgsql.8.xml: document required permissions
2417
2418 2010-03-31  Dustin J. Mitchell <dustin@zmanda.com>
2419         * installcheck/amrecover.pl: fix diag()
2420
2421 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2422         * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
2423         * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
2424
2425 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2426         * config/set_full_version: fix.
2427         * config/amanda/config.m4: fix.
2428
2429 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2430         * config/amanda/config.m4: Use -a.
2431
2432 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2433         * config/set_full_version: Use -a.
2434
2435 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2436         * config/set_full_version: Use grep.
2437
2438 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2439         * config/Makefile.am: Add set_full_version to EXTRA_DIST.
2440         * config/set_full_version: Add the file.
2441
2442 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2443         * config/set_full_version: New script to update FULL_VERSION from
2444                                    VERSION, svn and git
2445         * autogen: Execute config/set_full_version
2446         * Makefile.am: Add dependencies to execute set_full_version if VERSION
2447           change, and to re-run configure if FULL_VERSION change.
2448         * config/amanda/version.m4: Use FULL_VERSION.
2449         * packaging/deb/buildpkg: Use FULL_VERSION.
2450         * packaging/rpm/amanda.spec: Use FULL_VERSION.
2451         * packaging/rpm/buildpkg: Use FULL_VERSION.
2452
2453 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
2454         * installcheck/Installcheck/Run.pm: be selective in import from POSIX
2455         * server-src/amvault.pl: fix duplicate variable
2456
2457 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
2458         * Makefile.am: add VERSION to EXTRA_DIST
2459         * config/amanda/version.m4: use $srcdir/VERSION
2460
2461 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2462         * VERSION: 3.2.0alpha.
2463         * configure.in: Call AMANDA_VERSION.
2464         * config/amanda/version.m4: Add AMANDA_VERSION.
2465         * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
2466
2467 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2468         * server-src/driver.c: Retry direct to tape all aborted dump because
2469                                of missing holdingdisk space.
2470
2471 2010-03-29  Paul C. Mantz <pcmantz@zmanda.com>
2472         * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
2473
2474 2010-03-28  Dustin J. Mitchell <dustin@zmanda.com>
2475         * server-src/amvault.pl: update with Changer and Catalog API changes
2476
2477 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2478         * installcheck/Makefile.am: don't run amrecover test under
2479           --without-restore
2480
2481 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2482         * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
2483           errors, e.g., "file changed as we read it"
2484
2485 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2486         * installcheck/amrecover.pl: fix stupid error in installcheck
2487
2488 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2489         * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
2490           to force WAL file archives on ancient postgres versions
2491         * installcheck/ampgsql.pl: don't skip tests on ancient versions
2492
2493 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2494         * common-src/Makefile.am common-src/match-test.c: test (some) match
2495           functions
2496         * common-src/match.c: add make_exact_disk_expression and
2497           make_exact_host_expression
2498         * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
2499         * installcheck/Makefile.am installcheck/amrecover.pl: new integration
2500           tests
2501         * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
2502           make_exact_.. functions
2503         * common-src/amanda.h common-src/match.h application-src/amgtar.c
2504           application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
2505           client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
2506           common-src/local-security.c common-src/util.c
2507           oldrecover-src/set_commands.c recover-src/set_commands.c
2508           server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
2509           server-src/find.c server-src/tapefile.c: move match.c prototypes from
2510           amanda.h to match.h
2511
2512 2010-03-25  Jean-Louis Martineau <martineau@zmanda.com>
2513         * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
2514                                 or amflush is running.
2515
2516 2010-03-25  Paul C. Mantz <pcmantz@zmanda.com>
2517         * server-src/amreport.pl: amreport exits w/o error if mailer fails
2518         * installchecks/amreport.pl: installcheck
2519
2520 2010-03-25  Dustin J. Mitchell <dustin@zmanda.com>
2521         * perl/Amanda/Changer/compat.pm: err on the side of caution when
2522           emulating except_slots in chg-compat, preventing an infinite
2523           loop
2524
2525 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
2526         * application-src/amsamba.pl: check open failure correctly,
2527                                       improve debugging message.
2528
2529 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
2530         * NEWS, ReleaseNotes: Change for 3.1.0
2531
2532 2010-03-23  Dustin J. Mitchell <dustin@zmanda.com>
2533         * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
2534           files to be archived during full backup, don't backup postmaster.pid
2535           or pg_xlog
2536         * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
2537           describing the operation
2538         * installcheck/ampgsql.pl: test restores more carefully, including
2539           an empty incremental
2540
2541 2010-03-22  Dustin J. Mitchell <dustin@zmanda.com>
2542         * common-src/amfeatures.c common-src/amfeatures.h
2543           perl/Amanda/Feature.pod: add a new feature to indicate that
2544           amrecover quotes disks right: fe_amrecover_correct_disk_quoting
2545         * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
2546           clean_regex
2547         * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
2548           recover-src/extract_list.c recover-src/set_commands.c
2549           server-src/diskfile.c: use it
2550         * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
2551         * installcheck/amidxtaped.pl: test that
2552
2553 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
2554         * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
2555
2556 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
2557         * recover-src/amrecover.c: Do add_config_override before loading the
2558                                    config.
2559
2560 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
2561         * server-src/driver.c: Continue flush on new tape if holdingdisk is
2562                                full.
2563
2564 2010-03-18  Paul C. Mantz <pcmantz@zmanda.com>
2565         * perl/Amanda/Report.pm: updated POD
2566
2567 2010-03-18  Dustin J. Mitchell <dustin@zmanda.com>
2568         * application-src/ampgsql.pl: add a die_cb in command_validate and
2569           command_selfcheck
2570
2571 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
2572         * server-src/amreport.pl: added new command line options
2573         * server-src/amdump.sh: updated usage of amreport
2574         * installchecks/amreport.pl: installchecks
2575         * man/xml-source/amreport.8.xml: usage doc update
2576         * NEWS: added info about rewrite
2577
2578 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
2579         * perl/Amanda/Report/human.pm: fixed premature disk truncation in
2580          dump summary
2581
2582 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
2583         * perl/Amanda/Tests.swg: add a simple threaded function
2584         * perl/Makefile.am: and invoke it from 'make check'
2585
2586 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
2587         * man/xml-source/amcryptsimple.8.xml: Fix formatting
2588
2589 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
2590         * man/xml-source/ampgsql.8.xml: Fix formatting.
2591
2592 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
2593         * common-src/debug.c: Set open_time in debug_setup_1.
2594
2595 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2596         * man/xml-source/amsamba.8.xml: document include/exclude expressions
2597
2598 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2599         * UPGRADING: add note about accidentally linking new versions against old
2600
2601 2010-03-15  Paul C. Mantz <pcmantz@zmanda.com>
2602         * perl/Amanda/Util.pod: added POD for slurp and burp
2603
2604 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2605         * installcheck/amreport.pl: add tests for exit status for planner
2606           failure
2607
2608 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2609         * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
2610           caller's responsibility
2611         * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
2612         * server-src/taper.pl: handle input errors directly
2613
2614 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2615         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
2616           device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
2617           function
2618         * installcheck/Amanda_Device.pl: add lots of tape-positioning
2619           installcehcks
2620         * device-src/tape-device.c: fix positioning (adjust for funny bsf
2621           behavior only in tape_device_seek_file)
2622
2623 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2624         * common-src/conffile.c: rename the default tapetype, since EXABYTE
2625           sounds like it might actually be useful, but it's only 2M
2626         * man/xml-source/amanda.conf.5.xml: remove default
2627         * server-src/amcheck.c: only check whether fallback_splitsize < tape
2628           length if splitting is enabled; check for a missing tapetype param
2629
2630 2010-03-14 Dan Locks <dwlocks@zmanda.com>
2631         *  configure.in: update to rc06.  NOTEST
2632
2633 2010-03-11 Dan Locks <dwlocks@zmanda.com>
2634         *  configure.in: update to rc05. 
2635
2636 2010-03-11  Paul C. Mantz <pcmantz@zmanda.com>
2637         * perl/Amanda/Report.pm: fixed order that messages are reported
2638
2639 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
2640         * perl/Amanda/Changer/null.pm: note that constructor will not fail
2641         * server-src/amidxtaped.pl: use chg-null if the changer constructor
2642           fails
2643
2644 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
2645         * perl/Amanda/Report.pm: count DLEs on the first tape
2646         * perl/Amanda/Report/postscript.pm: display total part count
2647         * installcheck/amreport.pl: changed output
2648
2649 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
2650         * config/amanda/progs.m4: add a define if LPR is found
2651         * server-src/amcheck.c: check it
2652
2653 2010-03-09  Paul C. Mantz <pcmantz@zmanda.com>
2654         * perl/Amanda/Report.pm: fixed caching of hostnames and dles
2655
2656 2010-03-09  Dustin J. Mitchell <dustin@zmanda.com>
2657         * man/xml-source/amanda-applications.7.xml: add brief example of
2658           setting properties for an application
2659
2660 2010-03-09  Paul C. Mantz
2661         * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
2662
2663 2010-03-08 Dan Locks <dwlocks@zmanda.com>
2664         *  packaging/deb/rules: add chmod lines for etc/amanda
2665         *  packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
2666            section, specify directories in 750 section to also be 750.
2667
2668 2010-03-08  Paul C. Mantz <pcmantz@zmanda.com>
2669         * perl/Amanda/Report.pm: record DLEs in seen order in the cache
2670         * installcheck/Amanda_Report.pm: installcheck fixes
2671
2672 2010-03-08 Dan Locks <dwlocks@zmanda.com>
2673         *  packaging/rpm/amanda.spec, packaging/deb/changelog: change version
2674            number to %%VERSION%%
2675         *  packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
2676            version from configure.in, substitute version in appropriate files
2677         *  packaging/README: correct list of packages, add note on debian
2678            package creation.
2679
2680 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2681         * installcheck/Installcheck/ClientService.pm: process error from fork
2682           correctly
2683
2684 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2685         * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
2686           cached dumps - it causes more problems than it solves
2687
2688 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2689         * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
2690           instead of %lf
2691
2692 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2693         * server-src/amfetchdump.pl: fix usage message
2694         * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
2695            default for mailto, as it is ignored
2696         * installcheck/Amanda_Report.pl installcheck/amreport.pl
2697           perl/Amanda/Report.pm perl/Amanda/Report/human.pm
2698           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
2699           server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
2700           add --help and --version, remove unused functions
2701         * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
2702
2703 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2704         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
2705           postscript output by filenum, not hostname/diskname
2706
2707 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2708         * installcheck/amreport.pl perl/Amanda/Report/human.pm
2709           perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
2710           dumpfile when calculating tape used
2711
2712 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2713         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
2714           print the on-medi size of a dumpfile, not its total size
2715
2716 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2717         * installcheck/amreport.pl perl/Amanda/Report/human.pm
2718           perl/Amanda/Report/postscript.pm: remove rounding when orig and
2719           outsize are within 32k
2720
2721 2010-03-06  Dustin J. Mitchell <dustin@zmanda.com>
2722         * server-src/amreport.pl: don't use undef for stdout, stderr when
2723           invoking mail or lpr - some don't like to have their std streams
2724           closed
2725
2726 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
2727         * server-src/amreport.pl: fix use of relative path for -l argument.
2728
2729 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
2730         * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
2731         * installcheck/amreport.pl: check it.
2732
2733 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
2734         * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
2735           include conffile.h, not config.h.
2736
2737 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
2738         * config/amanda/version.m4: Allow 2 digits version.
2739
2740 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
2741         * packaging/deb/changelog, packaging/deb/rules,
2742           packaging/deb/buildpkg, packaging/rpm/buildpkg,
2743           packaging/rpm/amanda.spec,
2744           configure.in: Change version to 3.2alpha.
2745
2746 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>
2747         * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
2748           variables, and don't define them
2749         * perl/Amanda/Constants.pm.in: add LPR-related constants
2750         * installcheck/amreport.pl: lots of new tests, all hand-verified to
2751           pass for the C amreport as well, sometimes with minor differences
2752         * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
2753         * installcheck/mock/mail.pl: mock 'mail' for installchecks
2754         * installcheck/Makefile.am: new mocks
2755         * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
2756           support for amreport
2757         * server-src/Makefile.am server-src/amreport.pl
2758           server-src/amreport_new.pl server-src/reporter.c:
2759           make the perl amreport "live"
2760
2761 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>,
2762             Jean-Louis Martineau <martineau@zmanda.com>,
2763             Paul C. mantz <pcmantz@zmanda.com>
2764         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
2765           server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
2766           overhaul to perl reporting framework (collaborative effort of three
2767           developers)
2768
2769 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2770         * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
2771         * server-src/amreport_new.pl: Remove leading 0 on day date.
2772
2773 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2774         * perl/Amanda/Report.pm: Set $self->{hostname}.
2775         * perl/Amanda/Report/human.pm: Use $report->{hostname}.
2776
2777 2010-03-03  Paul C. mantz <pcmantz@zmanda.com>
2778         * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
2779
2780 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
2781         * perl/Amanda/Report.pm; added three-arg form of get_program_info()
2782         * perl/Amanda/Report/human.pm: usage of three-arg form
2783         * installcheck/Amanda_Report.pl: tests
2784
2785 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2786         * perl/Amanda/Report/human.pm: Remove coma.
2787
2788 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2789         * common-src/conffile.c: Correctly set autolabel from command line
2790                                  '-olabel_new_tapes=' options.
2791
2792 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2793         * server-src/amidxtaped.pl: Exit if receive ABORT message.
2794         * recover-src/extract_list.c: Send abort message on user request.
2795         * common-src/amfeatures.c: Add fe_amidxtaped_abort.
2796         * common-src/amfeatures.h: Add fe_amidxtaped_abort.
2797         * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
2798
2799 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2800         * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
2801
2802 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2803         * server-src/amflush.c: Delay creation of log file.
2804
2805 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2806         * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
2807
2808 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
2809         * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
2810           tapelist loading
2811
2812 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
2813         * perl/Amanda/Report.pm: added tape_labels field for preserving tape
2814           order
2815         * perl/Amanda/Report/human.pm: use of tape_labels
2816         * installcheck/Amanda_report.pl: installcheck, cleanup
2817
2818 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2819         * server-src/reporter.c: Set and check repdata.
2820
2821 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2822         * server-src/amcheck.c: adjust split-size warnings for more
2823           detail with less overall verbosity
2824
2825 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2826         * server-src/reporter.c: Print FLUSH for failed flush.
2827
2828 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2829         * common-src/fileheader.c: fix typos
2830         * server-src/amfetchdump.pl: add support for decryption
2831         * server-src/amidxtaped.pl: same
2832         * server-src/amrestore.pl: same
2833
2834 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2835         * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
2836           perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
2837           perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
2838           perl/Amanda/Util.pod: fix bad POD formatting
2839         * perl/make_html.pl: fix perl warnings
2840
2841 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2842         * man/xml-source/amanda.conf.5.xml: add more detail about
2843           include/exclude
2844         * man/xml-source/amgtar.8.xml: and specific documentation of the
2845           patterns for amgtar
2846
2847 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2848         * perl/Amanda/Feature.pod: document known features
2849
2850 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2851         * perl/Amanda/Xfer.pod: no need to remove sources
2852         * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
2853
2854 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2855         * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
2856         * man/xml-source/amanda-changers.7.xml: no longer "in transition"
2857         * server-src/Makefile.am server-src/changer.c server-src/changer.h:
2858           remove changer.[ch]
2859         * server-src/amcheck.c: remove unused include
2860
2861 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2862         * common-src/conffile.c: remove debug message
2863
2864 2010-03-01 Dan Locks <dwlocks@zmanda.com>
2865         *  packaging/rpm/amanda.spec: remove Provides: librestore
2866
2867 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2868         * application-src/amgtar.c, application-src/amstar.c:
2869           new COMMAND-OPTIONS property.
2870         * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
2871           document new COMMAND-OPTIONS property.
2872
2873 2010-02-28  Jean-Louis Martineau <martineau@zmanda.com>
2874         * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
2875                             common-src/amfeatures.h is modified.
2876
2877 2010-02-27  Jean-Louis Martineau <martineau@zmanda.com>
2878         * ndmp-src/amndmjob_main.c: #include "config.h"
2879         * ndmp-src/ndma_cops_backreco.c: #include "util.h"
2880         * ndmp-src/ndmjob_main.c: #include "config.h"
2881
2882 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2883         * installcheck/amidxtaped.pl: Fix for datapath eq "none".
2884
2885 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2886         * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
2887         * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
2888         * perl/Amanda/Process.pm (set_master_process): New function.
2889         * server-src/amcleanup.pl: Use set_master_process.
2890
2891 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2892         * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
2893                                       DATAPATH-OK.
2894         * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
2895                                     DATAPATH-OK.
2896         * installcheck/amidxtaped.pl: Test them.
2897
2898 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
2899         * installcheck/Installcheck/ClientService.pm: fix to wait for streams
2900           to empty and hit EOF after exit
2901         * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
2902           comment, and use -1 to signal no data EOF received
2903
2904 2010-02-26  Paul C. Mantz <pcmantz@zmanda.com>
2905         * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
2906           summary
2907
2908 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
2909         * installcheck/Amanda_Changer_robot.pl: log test output too
2910         * installcheck/Installcheck.pm: typo
2911         * perl/Amanda/Changer.pm: note about member variables
2912         * perl/Amanda/Changer/robot.pm: make debug callable during constructor
2913
2914 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2915         * server-src/find.c: Compute dump_status and message.
2916         * server-src/find.c (print_find_result): Output dump_status and message.
2917         * server-src/find.c (search_logfile): Check if label is in tapelist.
2918         * server-src/find.h: Add dump_status and message to find_result_t.
2919         * perl/Amanda/Logfile.swg: Swig it.
2920         * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
2921         * installcheck/Amanda_DB_Catalog.pl: Test it.
2922         * installcheck/Amanda_Logfile.pl: Test it.
2923         * server-src/amcheckdump.pl: Use new search_logfile behaviour.
2924         * server-src/amindexd.c: Use dump_status.
2925         * server-src/amoverview.pl: Use new 'amadmin find' output.
2926         * server-src/disk_history.c: Remove code no longer needed.
2927         * server-src/tapefile.c (lookup_tapelabel): const the label argument.
2928         * server-src/tapefile.h (lookup_tapelabel): const the label argument.
2929
2930 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2931         * common-src/conffile.c (set_config_overrides): new config override api.
2932         * common-src/conffile.h (set_config_overrides): New prototype.
2933         * perl/Amanda/Config.swg (set_config_overrides): Swigged.
2934         * changer-src/chg-glue.pl, common-src/amgetconf.pl,
2935         * common-src/file.c, device-src/amdevcheck.pl,
2936         * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
2937         * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
2938         * installcheck/amgetconf.pl, recover-src/amrecover.c,
2939         * server-src/amadmin.c, server-src/amcheck-device.pl,
2940         * server-src/amcheck.c, server-src/amcheckdump.pl,
2941         * server-src/amcleanup.pl, server-src/amfetchdump.pl,
2942         * server-src/amflush.c, server-src/amlabel.pl,
2943         * server-src/amlogroll.c, server-src/amreport_new.pl,
2944         * server-src/amrestore.pl, server-src/amrmtape.pl,
2945         * server-src/amservice.c, server-src/amtape.pl,
2946         * server-src/amtrmidx.c, server-src/amtrmlog.c,
2947         * server-src/amvault.pl, server-src/chunker.c,
2948         * server-src/driver.c, server-src/dumper.c,
2949         * server-src/planner.c, server-src/reporter.c,
2950         * server-src/taper.pl: Use new config override api.
2951
2952 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2953         * server-src/amcheck.c: add warning if the config might generate >1000
2954           parts on a volume
2955
2956 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2957         * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
2958           and use an appropriate prefix for debug messages
2959
2960 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2961         * Makefile.am: remove restore-src from lint rule
2962         * configure.in: remove restore-src/Makefile
2963         * restore-src/: remove
2964         * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
2965
2966 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2967         * Makefile.am: stop building restore-src
2968         * common-src/amfeatures.c: remove no-longer-supported
2969           fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
2970         * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
2971         * installcheck/Amanda_Util.pl: tests
2972         * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
2973
2974 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2975         * installcheck/Installcheck/Dumpcache.pm: include more compressible
2976           data and clean up afterward
2977         * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
2978           better, and fix handling of failures to not loop forever
2979         * installcheck/amidxtaped.pl: test that compressed dumps come back at
2980           their orig_size; check for a holding device without a trailing ":0";
2981           send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
2982           and even missing FSF=; check failure on unrecognized command lines
2983
2984 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2985         * installcheck/amidxtaped.pl: installcheck improvements:
2986           create a "real" holding file; send a DATESTAMP= command
2987
2988 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2989         * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
2990         * installcheck/Amanda_Recovery_Planner.pl: test
2991
2992 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2993         * perl/Amanda/Xfer.swg: fix != override
2994         * installcheck/Amanda_Xfer.pl: test
2995         * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
2996         * perl/Amanda/MainLoop.pod: POD tweaks
2997         * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
2998           server-src/amfetchdump.pl: add directtcp_supported arg to
2999           xfer_src_cb; finish device when quitting clerk
3000         * perl/Amanda/Recovery/Scan.pm: add error handling
3001         * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
3002         * recover-src/extract_list.c: fix header debugging
3003
3004 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3005         * common-src/amanda.h installcheck/Installcheck/ClientService.pm
3006           perl/Amanda/Constants.pm.in: move stream constants to
3007           Amanda::Constants
3008         * perl/Makefile.am perl/Amanda/ClientService.pm: new package
3009         * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
3010
3011 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
3012         * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
3013           tapespec marhsalling support
3014         * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
3015
3016 2010-02-23  Paul C. Mantz <pcmantz@zmanda.com>
3017         * perl/Amanda/Report/human.pm: fixed hostname truncation
3018
3019 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
3020         * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
3021           make fake holding files; don't try to load a dumpcache unless both
3022           server and client components are present
3023         * installcheck/Amanda_Xfer.pl: count tests right in skip
3024
3025 2010-02-19  Paul C. Mantz <pcmantz@zmanda.com>
3026         * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
3027           the end of a string in per-dump summary
3028
3029 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
3030         * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
3031           boolean
3032         * xfer-src/xfer.c: if any setup operation fails, skip the starts and
3033           return
3034         * device-src/xfer-dest-taper-directtcp.c
3035           device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
3036           xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
3037           xfer-src/xfer-test.c: change setup() methods to return a boolean
3038         * device-src/ndmp-device.c: clean up listen_addrs if not null
3039
3040 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
3041         * common-src/file.c (mkpdir): Fix.
3042
3043 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
3044         * common-src/file.c (mkpdir): Don't use access.
3045
3046 2010-02-18  Paul C. Mantz <pcmantz@zmanda.com>
3047         * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
3048
3049 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
3050         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
3051           with attendant API changes (constructor takes a device; sends
3052           XMSG_READY)
3053         * device-src/xfer-device.h: prototype changes
3054         * xfer-src/element-glue.c: remove debug message
3055         * perl/Amanda/Xfer.pod: docs
3056         * perl/Amanda/XferServer.swg: SWIG new parameters
3057         * perl/Amanda/Recovery/Clerk.pm: use new API
3058         * installcheck/Amanda_Xfer.pl: test
3059         * installcheck/Amanda_Recovery_Clerk.pl: test some more
3060         * installcheck/Installcheck/Dumpcache.pm: add code to determine
3061           the timestamps for a cached dump after loading it
3062
3063 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
3064         * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
3065           add a get_xfer_mechs method to xfer elements so that elements can
3066           dynamically specify their mech pairs
3067
3068 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
3069         * device-src/ndmp-device.c: check for fatal errors in directtcp
3070           methods
3071         * device-src/xfer-dest-taper-directtcp.c: track device_listen
3072           failures better
3073         * installcheck/Amanda_Xfer.pl: test setup cancellation
3074         * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
3075         * xfer-src/element-glue.c: always send XMSG_DONE, even on error
3076
3077 2010-02-17  Dustin J. Mitchell <dustin@zmanda.com>
3078         * device-src/ndmp-device.c: sanity-check file number
3079         * device-src/xfer-dest-taper-directtcp.c: same
3080         * device-src/xfer-dest-taper-splitter.c: same
3081
3082 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
3083         * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
3084
3085 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
3086         * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
3087           fields
3088
3089 2010-02-17  Jean-Louis Martineau <martineau@zmanda.com>
3090         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
3091           add config_init(0, NULL);
3092         * recover-src/extract_list.c: Typo.
3093
3094 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
3095         * server-src/amadmin.c: Set a config for version subcommand.
3096
3097 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
3098         * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
3099         * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
3100         * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
3101         * common-src/fileheader.h (dumpfile_t): Add orig_size.
3102         * common-src/timestamp.c (get_time_from_timestamp): New function to
3103           convert a char timestamp to time_t.
3104         * common-src/timestamp.h (get_time_from_timestamp): Prototype.
3105         * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
3106         * server-src/driver.c: Protoocl change to send orig_kb to taper.
3107         * server-src/driverio.c: Protoocl change to send orig_kb to taper.
3108         * server-src/find.c: Get orig_kb from log files.
3109         * server-src/find.h (find_result_t): add orig_kb.
3110         * server-src/holding.c (holding_set_origsize): New function to seti
3111           'ORIGSIZE' in an holding file.
3112         * server-src/holding.h (holding_set_origsize): Prototype.
3113         * server-src/infofile.c: '(char *)0' to NULL.
3114         * server-src/taper.pl: Parse orig-kb in protocol, log it.
3115         * perl/Amanda/DB/Catalog.pm: Set orig_kb.
3116         * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
3117         * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
3118         * installcheck/taper.pl: Fix for orig-kb in protocol.
3119
3120 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
3121         * recover-src/extract_list.c: Fix crash for non application restore.
3122
3123 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
3124         * server-src/amcheckdump.pl: Less verbose, add --verbose option.
3125         * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
3126
3127 2010-02-15  Jean-Louis Martineau <martineau@zmanda.com>
3128         * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
3129
3130 2010-02-12  Jean-Louis Martineau <martineau@zmanda.com>
3131         * application-src/ampgsql.pl: Put stderr of tar in the debug file.
3132
3133 2010-02-12  Paul C. Mantz <pcmantz@zmanda.com>
3134         * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
3135           L_INFO lines
3136         * perl/Amanda/Report/human.pm: widen text field for tape usage
3137         * installcheck/Amanda_Report.pl: installchecks
3138
3139 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
3140         * common-src/conffile.c: Assert if a config is not set.
3141         * common-src/amgetconf.pl, client-src/calcsize.c,
3142           client-src/client_util.c, client-src/killpgrp.c,
3143           client-src/rundump.c, client-src/runtar.c,
3144           installcheck/Amanda_Debug.pl: Set a default config.
3145
3146 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
3147         * common-src/conffile.c: New debug_days option.
3148         * common-src/conffile.h: New debug_days option.
3149         * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
3150         * man/xml-source/amanda.conf.5.xml: Document debug_days option.
3151         * common-src/debug.c: Don't do unlink in debug_open.
3152         * common-src/Makefile.am: Fix for test program.
3153         * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
3154                                    Call Amanda::Util::finish_application.
3155         * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
3156         * perl/Amanda/Util.pod: Document.
3157         * common-src/file.c, client-src/getfsent.c,
3158           server-src/infofile.c: Call dbclose();
3159         * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
3160           device-src/amtapetype.pl, server-src/amcheckdump.pl,
3161           server-src/amcleanup.pl, server-src/amfetchdump.pl,
3162           server-src/amrestore.pl, server-src/amrmtape.pl,
3163           server-src/amvault.pl,
3164           server-src/taper.pl: Call Amanda::Util::finish_application.
3165
3166 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
3167         * perl/Amanda/Taper/Scan/traditional.pm,
3168           perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
3169         * perl/Amanda/Recovery/Scan.pm: Fix doc.
3170         * server-src/amcheck-device.pl: New user_msg_fn.
3171         * server-src/amlabel.pl: New user_msg_fn.
3172         * server-src/amtape.pl: New user_msg_fn.
3173         * installcheck/amlabel.pl: Fix installcheck.
3174
3175 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
3176         * xfer-src/xfer.c xfer-src/xfer-element.h: add
3177           XFER_MECH_DIRECTTCP_CONNECT
3178         * xfer-src/source-directtcp-connect.c: element that uses it
3179         * xfer-src/dest-directtcp-listen.c: element that uses it
3180         * xfer-src/element-glue.c: glue for it
3181         * xfer-src/xfer-test.c: test it
3182         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
3183         * installcheck/Amanda_Xfer.pl: test it some more
3184         * xfer-src/Makefile.am: new files
3185         * xfer-src/dest-directtcp-connect.c: check addrs is not empty
3186         * perl/amglue/directtcp.swg: handle empty address lists better
3187
3188 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
3189         * installcheck/Makefile.am: don't run amidxtaped on
3190           --without-restore
3191         * installcheck/Installcheck/ClientService.pm
3192           installcheck/amidxtaped.pl: kill amidxtaped on timeout
3193         * restore-src/amidxtaped.c: don't call safe_fd after the
3194           app has already started - it closes fd's in use by
3195           system libraries for e.g., LDAP access
3196
3197 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
3198         * perl/Amanda/Application.swg: Add read_magic_block and
3199                                        write_magic_block.
3200         * perl/Amanda/Application.pod: Document them.
3201
3202 2010-02-10  Paul C. Mantz <pcmantz@gmail.com>
3203         * perl/Amanda/Report/human.pm: fixed columnspec code
3204
3205 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
3206         * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
3207         * server-src/amtape.pl: New user_msg_fn.
3208
3209 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
3210         * perl/Amanda/Changer.pm: Document undef state.
3211         * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
3212         * perl/Amanda/Changer/single.pm: Set state to undef.
3213         * perl/Amanda/Recovery/Scan.pm: Handle undef state.
3214
3215 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
3216         * server-src/taper.pl: Log no-tape error if no available tape.
3217
3218 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
3219         * installcheck/amidxtaped.pl: skip DirectTCP tests if
3220           --without-ndmp
3221
3222 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
3223         * restore-src/restore.c: fix double-free error
3224
3225 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
3226         * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
3227           tests
3228         * amandad-src/amandad.c: comments
3229         * common-src/amanda.h: comments
3230         * restore-src/amidxtaped.c: don't check security when invoked with
3231           'installcheck' as argv[1]
3232
3233 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
3234         * installcheck/Installcheck/ClientService.pm: utility to test
3235           client services (noop, sendbackup, etc.)
3236         * installcheck/Makefile.am installcheck/noop.pl: new test
3237         * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
3238
3239 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
3240         * restore-src/amidxtaped.c: Check from_amandad before
3241                                     fe_recover_splits.
3242
3243 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
3244         * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
3245
3246 2010-02-09  Paul C. Mantz <pcmantz@zmanda.com>
3247         * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
3248
3249 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
3250         * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
3251         * man/xml-source/amanda-client.conf.5.xml,
3252           man/xml-source/amanda.conf.5.xml: Use them.
3253
3254 2010-02-09 Dan Locks <dwlocks@zmanda.com>
3255         *  amar-src/Makefile.am: add installperms stanza
3256
3257 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
3258         * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
3259
3260 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
3261         * client-src/client_util.c: New AMFEATURES application support option,
3262           application_property_add_to_argv take a amfeatures argument.
3263         * client-src/client_util.h: New protoype.
3264         * client-src/selfcheck.c, client-src/sendbackup.c,
3265           client-src/sendsize.c,
3266           recover-src/extract_list.c: Pass the server amfeatures as argument
3267           to application_property_add_to_argv.
3268         * common-src/amfeatures.c: New fe_sendbackup_noop.
3269         * common-src/amfeatures.h: New fe_sendbackup_noop.
3270         * server-src/dumper.c: Ignore "sendbackup: no-op' message.
3271
3272 2010-02-08  Dustin J. Mitchell <dustin@zmanda.com>
3273         * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
3274           SWIG amfeatures
3275         * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
3276           tests
3277         * common-src/amfeatures.h: add SWIG conditionals
3278         * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
3279
3280 2010-02-06  Dustin J. Mitchell <dustin@zmanda.com>
3281         * perl/Amanda/Config.pod: document autolabel format
3282         * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
3283
3284 2010-02-06  Jean-Louis Martineau <martineau@zmanda.com>
3285         * common-src/conffile.c: Add autolabel config option.
3286         * common-src/conffile.h: Add autolabel config option.
3287         * man/xml-source/amanda.conf.5.xml: Document autolabel.
3288         * perl/Amanda/Config.swg: Swig autolabel.
3289         * perl/Amanda/Taper/Scan/traditional.pm,
3290           perl/Amanda/Taper/Scan.pm: Use autolabel.
3291         * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
3292           installcheck/Amanda_Taper_Scan_traditional.pl,
3293           installcheck/Installcheck/Dumpcache.pm,
3294           installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
3295           installcheck/amcheck.pl, installcheck/amdevcheck.pl,
3296           installcheck/amdump.pl, installcheck/pp-scripts.pl,
3297           installcheck/taper.pl: Fix to use autolabel.
3298
3299 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
3300         * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
3301         * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
3302         * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
3303         * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
3304         * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
3305         STATUS" pod header
3306
3307 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
3308         * perl/Amanda/Report/human.pm: made fixed appearance of per-level
3309           column in output_stats
3310
3311 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
3312         * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
3313
3314 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
3315         * perl/Makefile.am: Fix bad merge.
3316
3317 2010-02-03  Paul C. Mantz <pcmantz@zmanda.com>
3318         * perl/Amanda/Report/human.c: increased width of output_stats
3319           fields
3320
3321 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3322         * server-src/amadmin.c: Use %jd for gint.
3323
3324 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3325         * server-src/amadmin.c: Add 'estimate' command'.
3326         * man/xml-source/amadmin.8.xml: Document estimate command.
3327         * server-src/planner.c, server-src/server_util.c,
3328           server-src/server_util.h: Move internal_server_estimate and
3329           server_can_do_estimate from planner.c to server_util.c
3330
3331 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3332         * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
3333         * installcheck/Amanda_Recovery_Clerk.pl: Test it.
3334
3335 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3336         * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
3337
3338 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3339         * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
3340         * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
3341         * perl/Amanda/Changer/compat.pm: Print device_name.
3342         * perl/Amanda/Interactive.pm: Base class for interactivity.
3343         * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
3344         * perl/Amanda/Recovery/Scan.pm: Scan changers
3345         * perl/Makefile.am: Add Amanda/Interactive.pm,
3346           Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
3347         * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
3348         * server-src/amtape.pl: Use Amanda::Recovery::Scan.
3349
3350 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3351         * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
3352         * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
3353         * installcheck/amdevcheck.pl: give an explicit device name, now that
3354           tapedev is not set
3355
3356 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3357         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
3358           add debug_recovery
3359         * perl/Amanda/Recovery/Clerk.pm: use it
3360         * perl/Amanda/Recovery/Planner.pm: use it
3361
3362 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3363         * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
3364
3365 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3366         * device-src/Makefile.am device-src/xfer-device.h
3367           device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
3368           installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
3369           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
3370           Amanda::Taper::Source to Amanda::Recovery::Source
3371
3372 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3373         * perl/Makefile.am: check all .pm files (some had been missed)
3374
3375 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3376         * perl/Amanda/Changer.pm: fix bogus POD
3377
3378 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3379         * application-src/amsamba.pl: Fix parsing of unc if disk is noti
3380                                       defined.
3381
3382 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3383         * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
3384
3385 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3386         * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
3387
3388 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3389         * server-src/amfetchdump.pl: only output a filename with a partnum
3390           when -n was given
3391
3392 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3393         * device-src/ndmp-device.c: fix failure to check for fatal errors, use
3394           signed 'delta'
3395         * device-src/tape-device.c: rewind correctly, even to the current file
3396         * device-src/vfs-device.c: set in_file=FALSE on finish()
3397         * installcheck/Amanda_Device.pl: check reading file header twice
3398
3399 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3400         * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
3401           installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
3402           installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
3403           installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
3404           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
3405           xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
3406           of xfer_state == XFER_DONE
3407
3408 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3409         * man/xml-source/amanda-auth.7.xml: reduce circular references
3410
3411 2010-02-01  Dustin J. Mitchell <dustin@zmanda.com>
3412         * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
3413
3414 2010-01-31  Jean-Louis Martineau <martineau@zmanda.com>
3415         * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
3416
3417 2010-01-30  Jean-Louis Martineau <martineau@zmanda.com>
3418         * common-src/conffile.c: Allow multiple scripts on one line.
3419
3420 2010-01-29 Dan Locks <dwlocks@zmanda.com>
3421         *  packaging/rpm/amanda.spec: move manpages to
3422            defattr(644,root,root,..) section
3423
3424 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3425         * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
3426         * installcheck/Amanda_DB_Catalog.pl: tests
3427         * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
3428         * installcheck/Amanda_Recovery_Planner.pl: tests
3429         * perl/Amanda/Recovery/Clerk.pm: recover from holding with
3430           Amanda::Xfer::Source::Holding when appropriate
3431         * installcheck/Amanda_Recovery_Clerk.pl: tests
3432         * server-src/amfetchdump.pl: give better messaging when recovering
3433           from holding, don't append partnum unless it's a multipart dump
3434         * installcheck/amfetchdump.pl: tests
3435
3436 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3437         * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
3438           and -w options
3439         * restore-src/Makefile.am restore-src/amfetchdump.c: remove
3440         * server-src/Makefile.am server-src/amfetchdump.pl: new version
3441           of amfetchdump that uses Clerk and Planner
3442         * installcheck/amfetchdump.pl: updates to tests (change 'tape'
3443           to 'volume', no more -b, add quotes around labels
3444
3445 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3446         * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
3447         * installcheck/Amanda_Recovery_Planner.pl
3448           installcheck/Makefile.am: tests
3449
3450 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3451         * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
3452         * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
3453           tests
3454
3455 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3456         * installcheck/Amanda_MainLoop.pl: a call_after test that is more
3457           stable when the system clock is stepping
3458         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
3459
3460 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3461         * installcheck/Amanda_Logfile.pl: note about checks
3462         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
3463         * server-src/find.c server-src/find.h: add dynamic_disklit param
3464           to search_holding_disk
3465
3466 2010-01-28  Jean-Louis Martineau <martineau@zmanda.com>
3467         * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
3468         * installcheck/Amanda_Changer_multi.pl: Test it.
3469
3470 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3471         * installcheck/amfetchdump.pl: don't use an END block for cleanup
3472
3473 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3474         * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
3475         * installcheck/Amanda_DB_Catalog.pl: test it
3476         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
3477
3478 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3479         * changer-src/chg-glue.pl: fix chg-glue to be more careful about
3480           releasing the device first
3481
3482 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3483         * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
3484           cached dumps
3485         * installcheck/amfetchdump.pl: more/better tests
3486         * man/xml-source/amfetchdump.8.xml: formatting
3487
3488 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3489         * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
3490           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
3491           fix typos
3492
3493 2010-01-27  Paul C. Mantz <pcmantz@zmanda.com>
3494         * perl/Amanda/Util.pm: added safe_overwrite_file
3495         * installcheck/Amanda_Util.pl: installcheck
3496
3497 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
3498         * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
3499
3500 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
3501         * perl/Amanda/Changer.pm: Document new inventory result.
3502         * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
3503           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
3504           perl/Amanda/Changer/robot.pm,
3505           perl/Amanda/Changer/single.pm: Generate new inventory result.
3506         * installcheck/Amanda_Changer_disk.pl,
3507           installcheck/Amanda_Changer_multi.pl,
3508           installcheck/Amanda_Changer_ndmp.pl,
3509           installcheck/Amanda_Changer_rait.pl,
3510           installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
3511         * server-src/amtape.pl: Use new inventory result.
3512
3513 2010-01-26  Paul C. Mantz <pcmantz@zmanda.com>
3514         * perl/Amanda/Util.swg: added slurp and burp subs
3515         * installcheck/Amanda_Util.pl: installcheck for slurp and burp
3516         * installcheck/Installcheck/Run.pm: use of slurp in production
3517
3518 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
3519         * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
3520         * perl/Amanda/Report/human.pm: Many improvements.
3521         * installcheck/Amanda_Report.pl: Fix for new data.
3522         * perl/Makefile.am: Check AmandaReport_DATA.
3523
3524 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
3525         * common-src/conffile.h: Add getconf_linenum.
3526         * perl/Amanda/Config.swg: Add getconf_linenum.
3527         * perl/Amanda/Config.pod: Document getconf_linenum.
3528         * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
3529           line without setting the other to ''.
3530
3531 2010-01-25  Dustin J. Mitchell <dustin@zmanda.com>
3532         * perl/amglue/bigint.c: call SPAGAIN after loading
3533           Math::BigInt, in case the stack base has moved
3534         * perl/amglue/integers.swg: don't place a bigint on
3535           the stack until the stack pointer has been restored
3536         * perl/Amanda/Header.swg: use static
3537
3538 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
3539         * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
3540           confuse old is_deeply implementations
3541
3542 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
3543         * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
3544           more carefully; add ability to query and sort dumps; use weak refs to
3545           break reference loops
3546         * installcheck/Amanda_DB_Catalog.pl: tests
3547         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
3548         * server-src/amvault.pl: update to match
3549         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
3550           match_disk, and match_datestamp, and document dumps_match_dumpspecs
3551
3552 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
3553         * device-src/ndmp-device.c, device-src/rait-device.c,
3554           device-src/s3-device.c, device-src/tape-device.c,
3555           device-src/vfs-device.c: Set volume_header with the written header
3556           when opened in write mode.
3557
3558 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
3559         * perl/Amanda/Report/human.pm: Many fix.
3560         * server-src/amreport_new.pl: Many fix.
3561
3562 2010-01-18  Jean-Louis Martineau <martineau@zmanda.com>
3563         * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
3564         * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
3565                                data path.
3566
3567 2010-01-19  Paul C. Mantz <pcmantz@zmanda.com>
3568         * installcheck/amreport.pl: made output checks ignore spacing
3569
3570 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3571         * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
3572           close
3573
3574 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3575         * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
3576           ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
3577
3578 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3579         * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
3580
3581 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3582         * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
3583           that the scribe can cancel a transfer in an error situation
3584         * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
3585         * server-src/taper.pl: git it an xfer
3586
3587 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3588         * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
3589           and return NDMP_DEVICE_BUSY_ERR on a collision
3590         * device-src/ndmp-device.c: close the tape agent before switching
3591           connections, and before closing a device, to avoid
3592           NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
3593           tape agent, as the mover may already be active
3594
3595 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3596         * restore-src/restore.c: add another htonl invocation for ipv4 address
3597
3598 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3599         * perl/Amanda/Xfer.pod: fix POD typo
3600
3601 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
3602         * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
3603
3604 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3605         * perl/Amanda/Changer/compat.pm: allow multiline responses
3606         * installcheck/Amanda_Changer_compat.pl: test
3607
3608 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3609         * installcheck/Amanda_Curinfo.pl: remove spurious diag()
3610
3611 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3612         * gnulib/regenerate/regenerate: add regex module, for Mac OS X
3613           compatibility; no change in gnulib version
3614         * config/gnulib/* gnulib/*: resulting gnulib updates
3615
3616 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3617         * man/xml-source/amreport.8.xml: fix typo in manpage
3618
3619 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
3620         * perl/Amanda/Changer.pm: $chg->load always read ther label.
3621         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
3622         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
3623         * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
3624         * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
3625         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
3626         * server-src/amlabel.pl, server-src/amrestore.pl,
3627         * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
3628
3629 2010-01-15  Paul C. Mantz <pcmantz@zmanda.com>
3630         * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
3631           5.6 compatibility
3632
3633 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3634         * installcheck/Amanda_Changer_robot.pl: Typo.
3635
3636 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3637         * amandad-src/amandad.c: iread errfd and close it on termination.
3638
3639 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3640         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
3641           update '1-4=' syntax to mark slot as being in unknown state.
3642         * man/xml-source/amanda-changers.7.xml: Document new syntax.
3643         * installcheck/Amanda_Changer_multi.pl: Test new syntax.
3644         * installcheck/Amanda_Changer_robot.pl: Test new syntax.
3645
3646 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3647         * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
3648                                                   skip disk.
3649         * server-src/diskfile.c (disable_skip_disk): New function to set todo
3650                                                      to 0 for skip disk.
3651         * server-src/diskfile.h (disable_skip_disk): Add prototype.
3652         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
3653           server-src/reporter.c: Call disable_skip_disk.
3654
3655 2010-01-14  Jean-Louis Martineau <martineau@zmanda.com>
3656         * perl/Makefile.am: typo.
3657
3658 2010-01-14  Paul C. Mantz <pcmantz@zmanda.com>
3659         * server-src/amreport_new.pl: amreport rewrite in perl
3660         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
3661           perl/Amanda/Report/xml.pm: factored out output formats and
3662           added legacy format
3663         * perl/Makefile.am server-src/Makefile.am: makefile changes
3664         * contrib/amreport.rnc: amreport xml spec in RelaxNG
3665
3666 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3667         * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
3668           make device_listen and device_accept callable anywhere; be explicit
3669           about conn refcount from accept
3670         * device-src/ndmp-device.c: don't call device_use_connection, as
3671           that method requires ACCESS_NULL
3672         * restore-src/restore.c: fix typo
3673
3674 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3675         * server-src/taper.pl: fix taper writing status too quickly
3676
3677 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3678         * client-src/client_util.c: fix to send the --direct-tcp and
3679           --data-path arguments to applications
3680         * client-src/sendbackup.c: add a bit of debugging to sendbackup
3681
3682 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3683         * restore-src/restore.c: add missing htonl to restore.c for ipv4
3684           address; fix typo
3685
3686 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3687         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
3688           messages, including a fancy connection ID to help debug problems
3689           using the wrong NDMP connection at the wrong time
3690
3691 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3692         * device-src/ndmp-device.c: work around record_size bug in ndmjob
3693
3694 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3695         * installcheck/amfetchdump.pl: check restored files more closely
3696
3697 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3698         * installcheck/taper.pl: taper installcheck to run multiple dumps
3699           on a spanned NDMP device
3700
3701 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3702         * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache 
3703         * installcheck/Installcheck/Mock.pm: add a way to revive it for
3704           recovery tests
3705         * installcheck/amfetchdump.pl: use it
3706
3707 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3708         * device-src/ndmp-device.c: correctly handle devices while they are
3709           coming online after a load
3710
3711 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3712         * ndmp-src/scsiconst.h: fix typo in constant name
3713
3714 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3715         * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
3716           'blank', mark them as unknown
3717
3718 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3719         * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
3720           with several
3721
3722 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3723         * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
3724
3725 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3726         * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
3727           MEDIUM
3728
3729 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3730         * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
3731
3732 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3733         * device-src/ndmp-device.c: fix dangling reference
3734
3735 2010-01-11  Dustin J. Mitchell <dustin@zmanda.com>
3736         * common-src/Makefile.am common-src/fileheader-test.c: new test
3737         * common-src/fileheader.c common-src/fileheader.h: validate a lot
3738           of inputs; use g_debug; handle compressed/comp_suffix and
3739           encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
3740           bug in parsing empty heredoc
3741         * device-src/amtapetype.pl: add 'program' to header
3742         * installcheck/Amanda_Xfer.pl: add 'program' to header
3743         * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
3744           and document interrelationships of fields
3745
3746 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3747         * perl/Makefile.am: don't build useless static versions of perl libs
3748
3749 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3750         * device-src/xfer-source-taper.c: make element cancellation work
3751
3752 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3753         * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
3754           identity
3755
3756 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3757         * common-src/simpleprng.c common-src/simpleprng.h: add a method to
3758           extract the current seed from the PRNG state
3759         * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
3760         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
3761
3762 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
3763         * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
3764           Text::Diff
3765
3766 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
3767         * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
3768         * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
3769         * installcheck/Amanda_Curinfo.pl: installcheck
3770         * perl/Makefile.am installcheck/Makefile.am: makefile additions
3771
3772 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
3773         * ndmp-src/ndma_tape.c: halt on media error
3774         * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
3775           ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
3776           NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
3777         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
3778           NDMP9_MOVER_HALT_MEDIA_ERROR
3779
3780 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
3781         * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
3782
3783 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
3784         * perl/Amanda/NDMP.pod: fix %}.
3785
3786 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
3787         * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
3788
3789 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
3790         * perl/Amanda/NDMP.pod: typo
3791         * perl/Amanda/NDMP.swg: actually include POD
3792
3793 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
3794         * device-src/device.c device-src/device.h: remove conn argument from
3795           read_to_connection and write_from_connection; check for ACCESS_NULL
3796         * device-src/ndmp-device.c: remove conn argument, call use_connection
3797           from accept_impl
3798         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
3799           perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
3800           device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
3801           call use_connection at the appropriate time
3802
3803 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
3804         * device-src/ndmp-device.c: add an eject() implementation
3805
3806 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3807         * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
3808           ndmjob does not output logging info to stdout during installchecks
3809
3810 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3811         * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
3812           initialized
3813
3814 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3815         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
3816           pattern and the identifiers that supported it
3817         * device-src/ndmp-device.c: don't worry about idents
3818         * perl/Amanda/Changer/ndmp.pm: don't worry about idents
3819         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
3820         * installcheck/Amanda_NDMP.pl: change tests
3821
3822 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3823         * device-src/device.c device-src/device.h: change can_use_connection
3824           to the imperative use_connection
3825         * device-src/ndmp-device.c: implement use_connection
3826         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
3827           device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
3828           add a use_device method, start_part no longer needs a device
3829         * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
3830           perl/Amanda/XferServer.swg: SWIG it 
3831         * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
3832         * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
3833
3834 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3835         * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
3836           on WANT_NDMP
3837
3838 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3839         * perl/amglue/directtcp.swg: initialize the other struct in_addr by
3840           member name, too (see 2009-12-29)
3841
3842 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3843         * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
3844         * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
3845         * installcheck/mock/chg-ndmjob.pl: remove
3846         * installcheck/Amanda_Changer_ndmp.pl: new test
3847         * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
3848           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
3849           installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
3850           tests via I::Mock
3851         * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
3852           time, process sense data correctly, use correct element addresses
3853           for MOVE MEDIUM
3854
3855 2010-01-04  Jean-Louis Martineau <martineau@zmanda.com>
3856         * common-src/bsd-security.c, common-src/bsdtcp-security.c,
3857           common-src/bsdudp-security.c: Check service != NULL.
3858
3859 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3860         * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
3861           ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
3862           ndmp-src/ndmos_common.c ndmp-src/Makefile.am
3863           ndmp-src/ndma_robot_simulator.c: add robot simulator
3864         * ndmp-src/ndmos_glib.h: use robot simulator
3865         * ndmp-src/scsiconst.h: fix typo
3866
3867 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3868         * ndmp-src/ndma_tape.c: remove ndmta_belay
3869         * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
3870           NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
3871
3872 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3873         * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
3874           scan
3875
3876 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3877         * perl/amglue/directtcp.swg: initialize struct in_addr by member name
3878
3879 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3880         * installcheck/Makefile.am: sort tests
3881         * installcheck/=setupcache.pl: rename _setupcache so it sorts first
3882
3883 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3884         * perl/Amanda/Config.swg: fix return type for config_init
3885         * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
3886
3887 2009-12-24  Charles Curley <charlescurley@charlescurley.com>
3888         * README: rewrite
3889
3890 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3891         * device-src/s3-device.c: don't set the throttling properties unless
3892           they are nonzero
3893
3894 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3895         * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
3896
3897 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3898         * perl/Amanda/Changer/ndmp.pm: set device authentication properties
3899         * perl/Makefile.am: actually include ndmp.pm
3900         * perl/Amanda/Device.pod: doc extended property_get
3901         * man/xml-source/amanda-changers.7.xml: document properties
3902
3903 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3904         * common-src/fileheader.c: try to generate parsable headers
3905         * perl/Amanda/Header.swg: add default values
3906         * server-src/amrestore.pl: fix typo
3907         * installcheck/amrestore.pl: ndmp-device test (not using directtcp
3908           yet)
3909
3910 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3911         * device-src/s3.c: recent versions of curl switched from #define
3912           to enum, so #ifdef no longer works; test specific versions
3913           instead
3914
3915 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3916         * ndmp-src/ndma_ctrl_robot.c: show error messages
3917
3918 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3919         * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
3920
3921 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3922         * device-src/s3.c: remove debugging info
3923
3924 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3925         * device-src/s3.c: only including throttling code if the precompiler
3926           symbols are present
3927
3928 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3929         * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
3930         * installcheck/Amanda_Device.pl: test it
3931
3932 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3933         * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
3934           source generated with rpcgen contains constructs that cause
3935           warnings for which earlier gcc's have no -Wno-xxx option
3936         * configure.in: revert disabled warnings
3937
3938 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3939         * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
3940
3941 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3942         * device-src/s3.c device-src/s3.h: add max send and receive speeds
3943         * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
3944           PROPERTY_MAX_RECV_SPEED
3945         * man/xml-source/amanda-devices.7.xml: document
3946
3947 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3948         * ndmp-src/Makefile.am configure.in: conditionalize warnings which
3949           are not present on all gcc version
3950         * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
3951           ndmp-src/ndmjob_main_util.c: fix warnings
3952         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
3953           long long constant should end in 'ull'
3954
3955 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3956         * installcheck/Amanda_NDMP.pl: add auth parameter here too
3957
3958 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3959         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
3960           parameter with four options
3961         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
3962         * device-src/ndmp-device.c: add NDMP_AUTH property
3963         * man/xml-source/amanda-devices.7.xml: doc it
3964         * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
3965         * man/xml-source/amanda-changers.7.xml: doc it
3966
3967 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3968         * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
3969         * ndmp-src/*.c: fix warnings, mostly sign differences
3970
3971 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3972         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
3973           return value to ndmp_connection_tape_mtio
3974         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
3975         * installcheck/Amanda_NDMP.pl: test it
3976         * installcheck/Makefile.am: actually run Amanda_NDMP tests
3977         * device-src/ndmp-device.c: compatible change
3978
3979 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3980         * man/xml-source/amanda.8.xml: remove amdd
3981
3982 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3983
3984         * changer-src/Makefile.am changer-src/chg-rait.sh
3985           changer-src/chg-null.sh: restore deleted files
3986
3987 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3988         * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
3989
3990 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3991         * autogen: do not use sed --in-place
3992
3993 2009-12-20  Dustin J. Mitchell <dustin@zmanda.com>
3994         * man/xml-source/amgetconf.8.xml: fix formatting error by putting
3995           <note> on its own line
3996
3997 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
3998         * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
3999
4000 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
4001         * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
4002         * man/xml-source/amanda-changers.7.xml: docs
4003         * perl/Amanda/Changer.pm: better error handling
4004         * perl/Amanda/Changer/robot.pm: changes for subclassing
4005
4006 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
4007         * server-src/driver.c: Don't call validate_optionstr for flush dles.
4008
4009 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
4010         * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
4011         * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
4012         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
4013         * installcheck/Amanda_Device.pl: add ndmp-only tests
4014         * installcheck/Amanda_Xfer.pl: add server-only tests
4015         * installcheck/Amanda_Device_ndmp.pl: remove
4016         * installcheck/Amanda_Xfer_serveronly.pl: remove
4017         * installcheck/Makefile.am: remove files
4018         * installcheck/taper.pl: conditionalize ndmp tests
4019         * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
4020
4021 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
4022         * server-src/amtrmidx.c: Check index entry will all dles using the
4023                                  same index directory.
4024
4025 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
4026         * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
4027           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
4028           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
4029           perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
4030           Split the 'inuse' code into 'driveinuse' and 'volinuse'.
4031         * installcheck/Amanda_Changer_compat.pl,
4032           installcheck/Amanda_Changer_disk.pl,
4033           installcheck/Amanda_Changer_multi.pl,
4034           installcheck/Amanda_Changer_rait.pl,
4035           installcheck/Amanda_Changer_robot.pl,
4036           installcheck/Amanda_Changer_single.pl:
4037           Use 'driveinuse' and 'volinuse'.
4038
4039 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
4040         * common-src/conffile.c: etimeout must be positive.
4041         * common-src/protocol.c: Fix possible timeout of 0.
4042
4043 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
4044         * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
4045           Add a few debugging output.
4046
4047 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
4048         * server-src/amcheckdump.pl: Call $res->release() with a callback.
4049
4050 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
4051         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
4052           server-src/amrestore.pl,
4053           server-src/amvault.pl: Call $res->set_label after $dev->read_label.
4054
4055 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
4056         * installcheck/Amanda_Changer_robot.pl: fix installchecks
4057
4058 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
4059         * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
4060           subclass
4061
4062 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
4063         * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
4064           based on example/chg-multi.conf
4065
4066 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
4067         * device-src/ndmp-device.c: use err_code, instead of err_msg, to
4068           detect an NDMPConnection error
4069
4070 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
4071         * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
4072
4073 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
4074         * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
4075           drive if the pid is dead.
4076
4077 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
4078         * server-src/diskfile.c: Add validate_optionstr,  optionstr and
4079           xml_optionstr no longer do validation..
4080         * server-src/diskfile.h: Add validate_optionstr, change prototype for
4081           optionstr and xml_optionstr.
4082         * server-src/amadmin.c: Add missing case.
4083         * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
4084           Use validate_optionstr, Change for new *_optionstr prototype.
4085         * server-src/driver.c: Use validate_optionstr.
4086         * server-src/driverio.c: Change for new *_optionstr prototype.
4087         * installcheck/amdump.pl: Check planner error from validate_optionstr.
4088
4089 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
4090         * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
4091           ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
4092           an error set instead of just returning an error from the constructor
4093         * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
4094         * perl/Amanda/NDMP.pod: docs for same
4095
4096 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
4097         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
4098
4099 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
4100         * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
4101           when used in an outgoing typemap, due to stack stomping
4102         * perl/Amanda/Archive.swg perl/Amanda/Config.swg
4103           perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
4104           perl/amglue/integers.swg: exercise care as directed
4105
4106 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
4107         * recover-src/extract_list.c: Wait to parse the header before
4108           confirming destination directory. Unlink files only for GNUTAR
4109           and amgtar.
4110         * client-src/client_util.c: Parse RECOVER-PATH application support
4111                                     result.
4112         * client-src/client_util.h: Add recover_path_t.
4113
4114 2009-12-14  Dustin J. Mitchell <dustin@zmanda.com>
4115         * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
4116         * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
4117         * perl/Amanda/Changer/robot.pm: allow spaces between times and units
4118
4119 2009-12-14  Jean-Louis Martineau <martineau@zmanda.com>
4120         * server-src/amtape.pl: Call $res->set_label after reading a label.
4121
4122 2009-12-13  Dustin J. Mitchell <dustin@zmanda.com>
4123         * server-src/taper.pl: put header socket in blocking mode
4124
4125 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
4126         * perl/Amanda/Process.pm: Remove unneded 'use'.
4127         * perl/Makefile.am: Build Amanda::Process on client.
4128
4129 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
4130         * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
4131
4132 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
4133         * perl/Amanda/Changer/multi.pm: New changer.
4134         * perl/Makefile.am: Build Amanda::Changer::multi
4135         * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
4136         * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
4137         * installcheck/Makefile.am: build and test Amanda_Changer_multi.
4138         * perl/Amanda/Util.swg: Add is_pid_alive.
4139         * perl/Amanda/Util.pod: Document is_pid_alive.
4140
4141 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
4142         * server-src/amstatus.pl: Use wrong indice.
4143         * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
4144
4145 2009-12-11  Dustin J. Mitchell <dustin@zmanda.com>
4146         * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
4147         * server-src/driverio.c: do not send datapath to taper
4148         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
4149         * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
4150           changed on-tape format
4151         * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
4152         * ndmp-src/ndma_tape.c: fix typos
4153         * NEWS: document behavior changes
4154
4155 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
4156         * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
4157           server-src/driver.c server-src/driverio.c server-src/dumper.c
4158           server-src/taper.pl: Change protocol between chunker/taper and dumper:
4159           "PORT header_port  data_host:data_port", and dumper sends the header
4160           completely before sending the data
4161
4162 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
4163         * ndmp-src/ndmpconnobj.c: fix uninitialized variable
4164
4165 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
4166         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
4167           device-src/Makefile.am: new class
4168         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
4169         * installcheck/Amanda_Xfer_serveronly.pl: tests
4170         * perl/amglue/directtcp.swg: return undef for null addrs array
4171         * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
4172
4173 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
4174         * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
4175         * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
4176         * installcheck/Amanda_Device_ndmp.pl: new tests
4177
4178 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
4179         * xfer-src/element-glue.c: element-glue shouldn't complain when the
4180           xfer's already been cancelled
4181
4182 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
4183         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
4184           according to the spec (even though it's inconsistent)
4185
4186 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
4187         * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
4188           offset+length = G_MAXUINT64
4189
4190 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
4191         * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
4192           connection
4193
4194 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
4195         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
4196           ndmp-src/ndmagents.h: make mover seek to correct block number
4197
4198 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
4199         * common-src/simpleprng.c: better error message from simpleprng on
4200           random number mismatch
4201         * common-src/simpleprng.h: simpleprng_state_t is now a real struct
4202         * xfer-src/dest-null.c: no need to give buffer offset anymore
4203
4204 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
4205         * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
4206         * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
4207           reading from a holding disk.
4208
4209 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
4210         * device-src/device.c, device-src/device.h:
4211           Add device_unaliassed_name function.
4212         * perl/Amanda/Device.swg: Add unaliassed_name function.
4213
4214 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
4215         * restore-src/restore.c: Fix read_to_connection argument.
4216
4217 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4218         * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
4219           unnecessary include
4220
4221 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4222         * common-src/directtcp.h: mention IP byte order
4223         * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
4224           perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
4225           lengths; directtcp_supported is a boolean class attribute instead of a
4226           method; listen takes a for_writing argument; SWIG directtcp methods
4227         * perl/Amanda/Device.pod: document LEOM handling, new methods
4228         * device-src/directtcp-connection.c: call parent's finalize
4229         * restore-src/restore.c: pass correct for_writing to listen
4230
4231 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4232         * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
4233         * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
4234
4235 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4236         * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
4237           new class to encapsulate all of the NDMP transactions without
4238           requiring weird precompiler macros
4239
4240 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4241         * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
4242           triggered by long filenames in buildbots
4243
4244 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4245         * xfer-src/element-glue.c: one more uninitialized variable
4246
4247 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
4248         * device-src/device.h, device-src/device.c,
4249           man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
4250           perl/Amanda/Device.swg: Add an eject method to the device-api.
4251         * device-src/tape-device.c, device-src/tape-ops.h,
4252           device-src/tape-posix.c, device-src/tape-uware.c,
4253           device-src/tape-aix.c,
4254           device-src/tape-xenix.c: Implement eject method.
4255         * perl/Amanda/Changer/robot.pm: Use new eject method.
4256
4257 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4258         * device-src/dvdrw-device.c: fix uninitialized variable, don't use
4259           G_DEFINE_DEVICE
4260
4261 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4262         * xfer-src/element-glue.c: fix uninitialized use of variable
4263
4264 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4265         * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
4266           XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
4267         * xfer-src/xfer-test.c: tests for same
4268         * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
4269           perl/Amanda/Xfer.swg: new class
4270         * xfer-src/source-directtcp-listen.c: bugfix
4271         * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
4272           xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
4273         * common-src/testutils.c: support for leak-checking
4274         * xfer-src/dest-buffer.c xfer-src/dest-null.c
4275           server-src/xfer-source-holding.c device-src/xfer-dest-device.c
4276           device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
4277           device-src/xfer-source-taper.c: use revised error-handling
4278         * perl/amglue/source.c: fix refcount problem
4279         * xfer-src/Makefile.am: new files
4280
4281 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4282         * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
4283           installcheck/Makefile.am: new mock changer for ndmjob
4284         * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
4285           ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
4286           PEOM) support to the tape simulator
4287
4288 2009-12-07  Sam Couter <sam@couter.id.au>
4289         * AUTHORS: add Sam to AUTHORS
4290         * device-src/device.c device-src/Makefile.am
4291           device-src/dvdrw-device.c: new dvd-rw device
4292         * configure.in config/amanda/dvdrw-device.m4: config
4293           for it
4294         * device-src/vfs-device.c device-src/vfs-device.h: enable
4295           subclassing of VFS device
4296         * man/xml-source/amanda-devices.7.xml: documentation
4297         * server-src/amcheck-device.pl: add usage() sub
4298
4299 2009-12-07  Sam Couter <sam@couter.id.au>
4300         * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
4301                                           builds work
4302
4303 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
4304         * client-src/calcsize.c: fix check_running_as.
4305
4306 2009-12-06  Dustin J. Mitchell <dustin@zmanda.com>
4307         * client-src/client_util.c: revert previous change
4308
4309 2009-12-05  Sam Couter <sam@couter.id.au>
4310         * client-src/client_util.c: Free correct memory
4311
4312 2009-12-05  Dustin J. Mitchell <dustin@zmanda.com>
4313         * config/automake/scripts.am: remove unnecessary -T
4314         * perl/Amanda/BigIntCompat.pm: remove unused $stringify
4315
4316 2009-12-04  Jean-Louis Martineau <martineau@zmanda.com>
4317         * server-src/amcheck.c: Give error if pre-host-backup or
4318                                 post-host-backup are executed on client.
4319         * man/xml-source/amanda.conf.5.xml: Document it.
4320
4321 2009-12-03  Paul C. Mantz <pcmantz@zmanda.com>
4322         * server-src/tapefile.c server-src/tapefile.h
4323           perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
4324           added and swigged get_last_reusable_tape_label(). 
4325         
4326 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
4327         * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
4328                                                  error.
4329
4330 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
4331         * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
4332
4333 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4334         * perl/Amanda/Device.swg: #include "glib-util.h".
4335
4336 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4337         * common-src/conffile.c: Fix conf_init_data_path argument type.
4338         * common-src/debug.c: Use gpointer.
4339         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
4340           #include "util.h" for set_pname prototype.
4341         * ndmp-src/ndma_cops_backreco.c: Add prototype.
4342         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
4343           Rename version_info to ndmjob_version_info to avoid conflict.
4344
4345 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4346         * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
4347         * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
4348         * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
4349
4350 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4351         * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
4352
4353 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4354         * server-src/find.c: Fix for older log entry.
4355         * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
4356         * perl/Amanda/Logfile.pod: Add totalparts.
4357         * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
4358                                           find_result_t.
4359
4360 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4361         * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
4362
4363 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4364         * perl/Amanda/Changer/single.pm: Use except_slot,
4365                                          It is not fast searchable.
4366
4367 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4368         * server-src/find.h: Keep partnum and totalparts as int.
4369         * server-src/find.c: Compute totalparts if -1.
4370         * perl/Amanda/Logfile.swg: Change api.
4371         * restore-src/amfetchdump.c, restore-src/restore.c,
4372           server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
4373
4374 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4375         * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
4376                                 Build amndmjob with modifier tape simulator.
4377         * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
4378         * ndmp-src/amndmjob_main.c: Main amndmjob program.
4379         * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
4380
4381 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
4382         * server-src/amstatus.pl: Small fix.
4383
4384 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
4385         * server-src/taper.pl: Fix quote_string use.
4386
4387 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
4388         * server-src/amstatus.pl: Display % done on port-write.
4389         * device-src/xfer-device.h: New get_part_bytes_written method in
4390                                     XferDestTaperClass.
4391         * device-src/xfer-dest-taper.c: new
4392                         xfer_dest_taper_get_part_bytes_written function.
4393         * device-src/xfer-dest-taper-splitter.c: New 
4394                         get_part_bytes_written_impl function.
4395         * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
4396         * perl/Amanda/XferServer.swg: swig
4397                                       xfer_dest_taper_get_part_bytes_written.
4398         * server-src/taper.pl: Update status file every 5 seconds.
4399         * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
4400
4401 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4402         * installcheck/Amanda_Holding.pl: add one more unary +
4403
4404 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4405         * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
4406           of => when the left-hand-side shouldn't be quoted
4407
4408 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4409         * installcheck/Amanda_Config.pl installcheck/taper.pl
4410           perl/Amanda/Config.swg server-src/amrestore.pl
4411           server-src/taper.pl: handle older perls' bad conversions
4412           from BigInt to integers or strings
4413
4414 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4415         * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
4416           use unary + before the arguments to sort, since perl-5.6's
4417           parser gets confused otherwise
4418
4419 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4420         * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
4421           to strings, since older perls' Test::More::is_deeply do not
4422           handle this well
4423
4424 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4425         * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
4426           from the constructor, since => quotes its left-hand side
4427         * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
4428           callbacks
4429
4430 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4431         * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
4432           expects the path to point to a directory, not a file
4433
4434 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4435         * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
4436           perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
4437           constant with a hash of constants.
4438
4439 2009-11-26  Jean-Louis Martineau <martineau@zmanda.com>
4440         * application-src/*.pl: Remove $action from all function arguments.
4441         * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
4442         * perl/Amanda/Application/Zfs.pm: Remove $action from all function
4443                                           arguments.
4444         * perl/Amanda/Script_App.pm: Set $self->{action}.
4445
4446 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
4447         * restore-src/restore.c: Always do data_path exchange.
4448
4449 2009-11-25  Dustin J. Mitchell <dustin@zmanda.com>
4450         * client-src/calcsize.c: fix check_running_as
4451
4452 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
4453         Patch by Dustin J. Mitchell <dustin@zmanda.com>
4454         * server-src/amcheckdump.pl: Fix hang in MainLoop.
4455
4456 2009-11-24  Jean-Louis Martineau <martineau@zmanda.com>
4457         * server-src/amindexd.c: Reduce logging.
4458
4459 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
4460         * perl/amglue/amglue.swg: Remove %begin section, we don't want to
4461                                   require swig 1.3.39.
4462
4463 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
4464         * device-src/s3-device.c: First include "amanda.h".
4465         * perl/Amanda/Cmdline.swg: include "amanda.h".
4466         * perl/amglue/amglue.h: include "../config/config.h"
4467         * perl/amglue/amglue.swg: %begin include ../config/config.h"
4468
4469 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
4470         * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
4471
4472 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
4473         * common-src/stream.c common-src/util.c: use g_debug instead
4474           of dbprintf
4475
4476 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
4477         * Revert to previous gnulib, keep fseeko, ftello.
4478
4479 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
4480         * ndmp-src/ndmjob_args.c: add "-o test-daemon"
4481         * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
4482           when stdin closes
4483         * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
4484         * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
4485           automatically kill the daemon when the test finishes
4486
4487 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4488         * common-src/amanda.h: Remove define of _LARGE_FILES.
4489         * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
4490
4491 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
4492         * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
4493           callback_sv, and hang onto the src through the callback invocation
4494
4495 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4496         * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
4497
4498 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4499         * gnulib/*, config/gnulib/*: Update gnulib
4500                                      Use getopt-gnu instead of getopt
4501                                      Add fseeko and ftello
4502                                      Remove visibility
4503
4504 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
4505         * config/amanda/progs.m4: require swig-1.3.32, as previous versions
4506           don't handle empty C strings correctly
4507
4508 2009-11-13  Dustin J. Mitchell <dustin@zmanda.com>
4509         * perl/Amanda/Device.pod perl/Amanda/Device.swg
4510           device-src/device.c device-src/device.h: add is_eom
4511         * device-src/rait-device.c
4512           device-src/s3-device.c device-src/tape-device.c
4513           device-src/vfs-device.c device-src/null-device.c: set is_eom
4514           and is_eof correctl
4515         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
4516           add an eom attribute to XMsgs
4517         * device-src/xfer-dest-taper-splitter.c: set the attribute
4518         * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
4519
4520 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4521         * application-src/amgtar.c, application-src/amstar.c: Print restore
4522           and validate command with debug_executing.
4523         * common-src/util.c: New debug_executing function.
4524         * common-src/util.h: New debug_executing prototype.
4525
4526 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4527         * restore-src/amfetchdump.c: Small memory leak.
4528         * restore-src/restore.c, restore-src/restore.h: Many change to fix
4529           what was broken in previous patch.
4530
4531 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4532         * application-src/amgtar.c,
4533           application-src/amstar.c: Fix if none of --disk or --device is set.
4534
4535 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4536         * server-src/tapefile.c: Fix if list_new_tapes return NULL.
4537
4538 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4539         * server-src/amcheck.c, server-src/driver.c,
4540           server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
4541
4542 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4543         * application-src/amgtar.c, application-src/ampgsql.pl,
4544         * application-src/amraw.pl, application-src/amsamba.pl,
4545         * application-src/amstar.c, application-src/amsuntar.pl,
4546         * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
4547           They can get either --disk or --device or both.
4548
4549 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4550         * server-src/tapefile.c: New list_new_tapes function.
4551         * server-src/tapefile.h: Prototype for list_new_tapes function.
4552         * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
4553
4554 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4555         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
4556           ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
4557
4558 2009-11-18  Dustin J. Mitchell <dustin@zmanda.com>
4559         * device-src/directtcp-target.c
4560           device-src/directtcp-target.h: Removed files.
4561         * device-src/device.c,
4562           device-src/device.h: New device directtcp api.
4563         * device-src/directtcp-connection.c,
4564           device-src/directtcp-connection.h: directtcp_connection and
4565           directtcp_connection_socket object.
4566         * device-src/Makefile.am: Remove directtcp-target.*
4567                                   Add directtcp-connection.*
4568         * restore-src/restore.c,
4569           restore-src/restore.h: Fix for new device directtcp api.
4570
4571 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4572         * server-src/chunker.c: Fix checking result of full_write.
4573
4574 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4575         * server-src/dumper.c,
4576           common-src/security-util.c: Correctly report write error.
4577
4578 2009-11-13 Dan Locks <dwlocks@zmanda.com>
4579         *  packaging/deb/control: update to use shlibs:Depends and
4580            perl:Depends
4581         *  packaging/deb/rules: tweak build dirs for clarity, update shlibs
4582            invocation, remove unneeded debhelper commands.
4583         *  packaging/deb/amanda-backup-server.substvars, 
4584            packaging/deb/amanda-backup-client.substvars: delete. These files
4585            are generated at build time
4586
4587 2009-11-13 Dan Locks <dwlocks@zmanda.com>
4588         *  packaging/deb/buildpkg: delete unused functions, detect and add 
4589            distro/release tag to version number changelog prior to build
4590
4591 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
4592         * recover-src/extract_list.c: Enable DATA-PATH.
4593         * restore-src/restore.c: Enable DATA-PATH.
4594         * restore-src/restore.h: Enable DATA-PATH.
4595         * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
4596         * common-src/amfeatures.h: Add fe_amidxtaped_datapath
4597         * common-src/conffile.c: Improve error message.
4598         * device-src/directtcp-target.h: Improve comment.
4599
4600 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
4601         * client-src/client_util.c, common-src/util.c,
4602           server-src/changer.c: Fix memory leak.
4603
4604 2009-11-11  Jean-Louis Martineau <martineau@zmanda.com>
4605         * ndmp-src/ndma_tape.c: Fix crash.
4606
4607 2009-11-09  Dustin J. Mitchell <dustin@zmanda.com>
4608         * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
4609           in the header are set by the caller
4610         * server-src/taper.pl: set them
4611         * installcheck/taper.pl: test that on-device headers are correct
4612
4613 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
4614         * restore-src/restore.c: Handle directtcp device.
4615         * restore-src/restore.h: Handle directtcp device.
4616         * device-src/directtcp-target.h (read_to_connection): Fix comment.
4617
4618 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
4619         * device-src/directtcp-target.c (directtcp_target_listen,
4620           directtcp_target_accept): don't assert for !self->in_file or
4621                                     self->access_mode == ACCESS_NULL.
4622
4623 2009-11-06  Dustin J. Mitchell <dustin@zmanda.com>
4624         * AUTHORS: add Ben Slusky
4625         * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
4626           to UMD license, with Ben's permission
4627
4628 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
4629         * client-src/sendbackup-dump.c, client-src/sendsize.c:
4630           Fix compiler error if VXDUMP or VDUMP is defined.
4631
4632 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
4633         * client-src/client_util.c: close FILE instead of fd.
4634         * client-src/selfcheck.c: fix fd leak with app_stderr.
4635
4636 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
4637         * client-src/client_util.c (merge_property, merge_properties):
4638                                                  New functions.
4639         * client-src/client_util.h: New prototypes.
4640         * common-src/conffile.c (amandaify_property_name): New function.
4641         * common-src/conffile.h (amandaify_property_name): New prototypes.
4642         * recover-src/extract_list.c: Call merge_properties, it merge property
4643           from amanda header with property set in amrecover.
4644           Report the directory property if set.
4645         * recover-src/set_commands.c: Call amandaify_property_name.
4646
4647 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
4648         * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
4649           to be un-paused before starting to cache a part
4650         * xfer-src/dest-null.c: add additional debugging info
4651
4652 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
4653         * device-src/Makefile.am device-src/directtcp-target.c
4654           device-src/directtcp-target.h: add new DirectTCPTarget interface, for
4655           use by devices supporting DirectTCP
4656
4657 2009-11-03  Paul C. Mantz  <pcmantz@zmanda.com>
4658         * perl/Amanda/Report.pm: added state flags
4659         * instalcheck/Amanda_Report.pl: tests
4660
4661 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
4662         * common-src/testutils.c: fix uninitialized variable, only run one
4663           test in non-fork mode
4664
4665 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
4666
4667         * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
4668           'first_device' and calculate slab size immediately instead of waiting
4669           for start_part
4670         * device-src/xfer-device.h: first_device parameter
4671         * perl/Amanda/XferServer.swg: swig
4672         * perl/Amanda/Xfer.pod: docs
4673         * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
4674         * perl/Amanda/Taper/Scribe.pm: send first_device properly
4675
4676 2009-10-30  Satya Ganga <gsat@zmanda.com>
4677         * application-src/amsuntar.pl: Validate include and exclude lists
4678           before using them at restore time.
4679
4680 2009-10-30  Dustin J. Mitchell <dustin@zmanda.com>
4681         * common-src/testutils.c: do not fork if -n is given (aids debugging)
4682
4683 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
4684         * perl/Amanda/Changer/robot.pm: add barcodes to reservations
4685         * perl/Amanda/Changer.pm: document
4686         * installcheck/Amanda_Changer_robot.pl: test
4687
4688 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
4689         * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
4690
4691 2009-10-29  Satya Ganga <gsat@zmanda.com>
4692         * application-src/amgtar.c,application-src/amstar.c: Correct validation 
4693           of directory property for existence and access.
4694
4695 2009-10-29  Satya Ganga <gsat@zmanda.com>
4696         * application-src/amsamba.pl: In command line use correct
4697                                         application property names
4698
4699 2009-10-29  Jean-Louis Martineau <martineau@zmanda.com>
4700         * client-src/sendsize.c: Fix error reporting.
4701
4702 2009-10-29  Satya Ganga <gsat@zmanda.com>
4703         * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific 
4704                                  environment for NDMP
4705
4706 2009-10-28  Jean-Louis Martineau <martineau@zmanda.com>
4707         * common-src/conffile.c (free_property_t): not static.
4708         * common-src/conffile.h (free_property_t): not static.
4709         * recover-src/amrecover.c, recover-src/amrecover.h,
4710           recover-src/help.c, recover-src/set_commands.c,
4711           recover-src/uparse.y,
4712           recover-src/uscan.l: New setproperty and listproperty commands.
4713         * man/xml-source/amrecover.8.xml: Document setproperty and
4714                                           listproperty commands.
4715
4716 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
4717         * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
4718
4719 2009-10-27  Dustin J. Mitchell <dustin@zmanda.com>
4720         * common-src/Makefile.am common-src/directtcp.h: new file to
4721           handle common directtcp-related code
4722         * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
4723           DirectTCPAddr
4724         * xfer-src/Makefile.am
4725           xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
4726         * xfer-src/source-directtcp-listen.c: new source element
4727           implementing it
4728         * xfer-src/element-glue.c: stubs - no glue yet for the new mech
4729         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
4730           perl/Makefile.am: SWIG new element
4731
4732 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
4733         * client-src/client_util.c: Add data-path and directtcp argument to
4734                                     application
4735         * client-src/selfcheck.c: Check application support the requested
4736                                   data-path
4737         * client-src/sendsize.c: Check application support the requested
4738                                  data-path
4739         * common-src/amfeatures.h: Add fe_xml_data_path and
4740                                    fe_xml_directtcp_list.
4741         * common-src/amfeatures.c: Add fe_xml_data_path and
4742                                    fe_xml_directtcp_list.
4743         * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
4744         * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
4745         * server-src/amcheck.c: Check client accpet datapath and directtcp tag
4746                                 in xml.
4747         * server-src/diskfile.c: Add datapath and directtcp tag
4748         * server-src/diskfile.h (disk_t): Add directtcp_list.
4749         * server-src/driver.c: Set dp->directtcp_list.
4750
4751 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
4752         * application-src/amgtar.c, application-src/ampgsql.pl,
4753           application-src/amraw.pl, application-src/amsamba.pl,
4754           application-src/amstar.c, application-src/amsuntar.pl,
4755           application-src/amzfs-sendrecv.pl: Handle directory, include-list
4756                         and exclude-list inrestore command.
4757         * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
4758           man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
4759           man/xml-source/amstar.8.xml,
4760           man/xml-source/amsuntar.8.xml: Document them.
4761         * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
4762
4763 2009-10-23  Jean-Louis Martineau <martineau@zmanda.com>
4764         * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
4765         * client-src/client_util.h (backup_support_option_t): Add data_path_set
4766         * common-src/conffile.h: (data_path_t): Change for bit value.
4767
4768 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
4769         * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
4770           now always called with the slab_mutex held; both invocations of
4771           the function guarantee this.
4772
4773 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
4774         * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
4775         * installcheck/Installcheck.pm: close SOCK after using it
4776         * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
4777
4778 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
4779         * perl/Amanda/Config.swg: Swig data_path_from_string.
4780         * server-src/diskfile.c: Add dirrecti-tcp property to application.
4781         * server-src/diskfile.h (disk_s): Add directtcp.
4782         * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
4783         * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
4784         * server-src/server_util.h: Add DIRECTTCP_PORT.
4785         * server-src/taper.pl: Reply with DIRECTTCP-PORT.
4786
4787 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
4788         * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
4789
4790 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
4791         * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
4792         * common-src/conffile.c: Add DATA-PATH config.
4793         * common-src/conffile.h: Add DATA-PATH config.
4794         * installcheck/taper.pl: Add AMANDA data-path.
4795         * perl/Amanda/Config.swg: Add DATA-PATH config.
4796         * server-src/amadmin.c (disklist_one): print data-path.
4797         * server-src/diskfile.c: Add dp argument to xml_application.
4798         * server-src/diskfile.h: New prototype for xml_application.
4799         * server-src/amcheck.c: Use new xml_application.
4800         * server-src/amindexd.c: Use new xml_application.
4801         * server-src/driverio.c: Send data-path to the dumper and taper,
4802                                  Use new xml_application.
4803         * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
4804         * server-src/planner.c: Use new xml_application.
4805         * server-src/taper.pl: Parse data-path in PORT-WRITE command.
4806
4807 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
4808         * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
4809           ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
4810           ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
4811                 Add '-o tape-tcp=HOST:PORT' option.
4812
4813 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4814         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
4815           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
4816           ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
4817         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
4818           common-src/Makefile.am: remove ndmp-proxy.*
4819         * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
4820           common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
4821         * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
4822         * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
4823           module
4824
4825 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4826         * perl/Amanda/Taper/Scribe.pm: get a device before starting
4827           the xfer
4828
4829 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
4830         * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
4831
4832 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4833         * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
4834           libndmlib.la
4835         * ndmp-src/ndml_conn.c: remove calls to libndmjob function
4836         * device-src/Makefile.am: compile without strict prototypes
4837         * device-src/ndmp-device.c: build against libndmlib, speaking
4838           NDMP natively to the NDMP server instead of via the proxy
4839         * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
4840
4841 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4842         * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
4843           device-src/xfer-dest-taper.c device-src/xfer-device.h: make
4844           XferDestTaper an abstract base class, with XferDestTaperSplitter its
4845           only subclass (for now)
4846         * perl/Amanda/Xfer.swg: SWIG it
4847         * perl/Amanda/XferServer.swg: SWIG it
4848         * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
4849         * perl/Amanda/Taper/Scribe.pm: use subclass
4850
4851 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
4852         * installcheck/Installcheck.pm: $0 in double quote "$0".
4853
4854 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
4855         * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
4856         * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
4857         * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
4858         * installcheck/amadmin.pl: Remove set_pname call.
4859
4860 2009-10-20  Paul C. Mantz <pcmantz@zmanda.com>
4861         * server-src/amrmtape.pl: added config override option
4862         * installcheck/amrmtape.pl: regression test
4863
4864 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
4865         * device-src/xfer-dest-taper.c: add detailed debugging
4866         * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
4867         * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
4868         * server-src/taper.pl: pass debugging flags around
4869
4870 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
4871         * xfer-src/dest-buffer.c: fix Solaris cc compile errors
4872
4873 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
4874         * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
4875           new element
4876         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
4877         * installcheck/Amanda_Xfer.pl: tests
4878         * xfer-src/source-pattern.c: fix typo
4879
4880 2009-10-19  Paul C. Mantz <pcmantz@zmanda.com>
4881         * perl/Amanda/Report.pm: error handling for logfile reading.
4882         * perl/Amanda/Logfile.pod: documentation of open_logfile error
4883         behavior
4884
4885 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
4886         * installcheck/Makefile.am (full_tests): Add amadmin.
4887         * installcheck/amadmin.pl: Check diskname matching argument.
4888
4889 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
4890         * common-src/match.c: Fix match_word function.
4891
4892 2009-10-16 Dan Locks <dwlocks@zmanda.com>
4893         *  example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
4894            replace IPv6 with IPv4
4895
4896 2009-10-16  Nikolas Coukouma <atrus@zmanda.com>
4897         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
4898           application-src/amlog-script.pl, application-src/ampgsql.pl,
4899           application-src/amraw.pl, application-src/amsamba.pl,
4900           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
4901           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
4902           changer-src/chg-glue.pl, common-src/amaespipe.sh,
4903           common-src/amcryptsimple.pl, common-src/amgetconf.pl,
4904           common-src/amgpgcrypt.pl, common-src/event-test.c,
4905           common-src/glib-util.c, common-src/glib-util.h,
4906           common-src/hexencode-test.c, common-src/ipc-binary.c,
4907           common-src/ipc-binary.h, common-src/queueing-test.c,
4908           common-src/queueing.c, common-src/queueing.h,
4909           common-src/quoting-test.c, common-src/semaphore-test.c,
4910           common-src/semaphore.c, common-src/semaphore.h,
4911           common-src/simpleprng.c, common-src/simpleprng.h,
4912           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
4913           common-src/testutils.c, common-src/testutils.h,
4914           config/automake/scripts.am, config/automake/vars.am,
4915           config/macro-archive/docbook-dtd.m4,
4916           config/macro-archive/docbook-xslt-min.m4,
4917           config/macro-archive/docbook-xslt.m4,
4918           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
4919           device-src/amtapetype.pl, device-src/device-queueing.c,
4920           device-src/device-queueing.h, device-src/device.c,
4921           device-src/device.h, device-src/ndmp-device.c,
4922           device-src/null-device.c, device-src/property.c,
4923           device-src/property.h, device-src/rait-device.c,
4924           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
4925           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
4926           device-src/tape-device.c, device-src/tape-device.h,
4927           device-src/tape-ops.h, device-src/tape-posix.c,
4928           device-src/tape-uware.c, device-src/tape-xenix.c,
4929           device-src/vfs-device.c, device-src/vfs-test.c,
4930           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
4931           device-src/xfer-device.h, device-src/xfer-source-device.c,
4932           device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
4933           installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
4934           installcheck/Amanda_Changer_disk.pl,
4935           installcheck/Amanda_Changer_null.pl,
4936           installcheck/Amanda_Changer_rait.pl,
4937           installcheck/Amanda_Changer_robot.pl,
4938           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
4939           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
4940           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
4941           installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
4942           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
4943           installcheck/Amanda_IPC_Binary.pl,
4944           installcheck/Amanda_IPC_LineProtocol.pl,
4945           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
4946           installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
4947           installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
4948           installcheck/Amanda_Taper_Scan.pl,
4949           installcheck/Amanda_Taper_Scan_traditional.pl,
4950           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
4951           installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
4952           installcheck/Installcheck.pm,
4953           installcheck/Installcheck/Application.pm,
4954           installcheck/Installcheck/Changer.pm,
4955           installcheck/Installcheck/Config.pm,
4956           installcheck/Installcheck/Dumpcache.pm,
4957           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
4958           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
4959           installcheck/amcheck-device.pl, installcheck/amcheck.pl,
4960           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
4961           installcheck/amdump.pl, installcheck/amfetchdump.pl,
4962           installcheck/amgetconf.pl, installcheck/amgtar.pl,
4963           installcheck/amlabel.pl, installcheck/ampgsql.pl,
4964           installcheck/amraw.pl, installcheck/amreport.pl,
4965           installcheck/amrestore.pl, installcheck/amrmtape.pl,
4966           installcheck/amservice.pl, installcheck/amstatus.pl,
4967           installcheck/amtape.pl, installcheck/amtapetype.pl,
4968           installcheck/bigint.pl, installcheck/mock/mtx.pl,
4969           installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
4970           installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
4971           packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
4972           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
4973           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
4974           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
4975           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
4976           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
4977           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
4978           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
4979           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
4980           perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
4981           perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
4982           perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
4983           perl/Amanda/Header.pod, perl/Amanda/Header.swg,
4984           perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
4985           perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
4986           perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
4987           perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
4988           perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
4989           perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
4990           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
4991           perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
4992           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
4993           perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
4994           perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
4995           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
4996           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
4997           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
4998           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
4999           perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
5000           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
5001           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
5002           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
5003           server-src/amcleanup.pl, server-src/amlabel.pl,
5004           server-src/amrestore.pl, server-src/amrmtape.pl,
5005           server-src/amserverconfig.pl, server-src/amtape.pl,
5006           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
5007           server-src/taper.pl, server-src/xfer-server.h,
5008           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
5009           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
5010           xfer-src/element-glue.h, xfer-src/filter-process.c,
5011           xfer-src/filter-xor.c, xfer-src/source-fd.c,
5012           xfer-src/source-pattern.c, xfer-src/source-random.c,
5013           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
5014           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
5015           xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
5016
5017 2009-10-16  Dustin J. Mitchell <dustin@zmanda.com>
5018         * common-src/hexencode-test.c: avoid compiler warnings and a potential
5019           crash on test failure
5020
5021 2009-10-16  Jean-Louis Martineau <martineau@zmanda.com>
5022         * application-src/amsamba.pl: fix restore.
5023
5024 2009-10-15  Nikolas Coukouma <atrus@zmanda.com>
5025         * application-src/ampgsql.pl, common-src/Makefile.am,
5026           common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
5027           installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
5028           perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
5029           perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
5030           and decoding functions into C. SWIG, document, and test them. Also add
5031           exception-generating typemap for GErrors.
5032
5033 2009-10-14  Nikolas Coukouma <atrus@zmanda.com>
5034         * perl/Amanda/Changer.pm: forgot to import function
5035
5036 2009-10-14  Jean-Louis Martineau <martineau@zmanda.com>
5037             Dustin J. Mitchell <dustin@zmanda.com>
5038         * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
5039         * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
5040         * device-src/ndmp-device.c: Keep track if a device is openned, don't
5041           close the connection to the proxy in ndmp_device_finish().
5042         * installcheck/Amanda_Device_ndmp.pl: More check.
5043         * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
5044         * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
5045         * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
5046
5047 2009-10-13  Nikolas Coukouma <atrus@zmanda.com>
5048         * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
5049           installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
5050           and test it
5051         * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
5052           use string_to_boolean
5053         * perl/Amanda/MainLoop.pod: correct spelling
5054
5055 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
5056         Revert previous patch.
5057
5058 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
5059         * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
5060         * common-src/conffile.c: Add data_path
5061         * common-src/conffile.h: Add data-path
5062         * common-src/ndmp-proxy.c: Improve.
5063         * common-src/ndmp-proxy.h: Improve.
5064         * device-src/device.c (device_start_dump, device_finish_dump
5065                                device_write_from_data_path) New method.
5066         * device-src/device.h (device_start_dump, device_finish_dump
5067                                device_write_from_data_path) New method.
5068         * device-src/ndmp-device.c: Improve
5069         * device-src/xfer-dest-taper.c: data-path
5070         * device-src/xfer-device.h: data-path
5071         * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
5072         * ndmp-src/ndma_comm_proxy.c: Improve.
5073         * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
5074         * ndmp-src/ndmjob_main.c: Open debug file.
5075         * ndmp-src/ndml_log.c: Check for deliver..
5076         * perl/Amanda/Config.swg: Add data-path
5077         * perl/Amanda/Device.swg: Add new device api
5078         * perl/Amanda/Taper/Scribe.pm: data-path
5079         * perl/Amanda/XferServer.swg: data-path
5080         * server-src/amadmin.c: print data-path
5081         * server-src/amcheck.c: data-path and xml_application change
5082         * server-src/amindexd.c: xml_application change
5083         * server-src/diskfile.c: new xml_application
5084         * server-src/diskfile.h: xml_application prototype change.
5085         * server-src/driver.c: data-path
5086         * server-src/driverio.c: data-path
5087         * server-src/driverio.h (taper_device): new global variable.
5088         * server-src/dumper.c: data-path
5089         * server-src/planner.c: xml_application change
5090         * server-src/taper.pl: data-path
5091
5092 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
5093         * perl/Amanda/IPC/Binary.pod: finish docs
5094
5095 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
5096         * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
5097         * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
5098           ipc-binary
5099         * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
5100         * perl/Amanda/IPC/Binary.pod: stub documentation
5101         * perl/Amanda/IPC/LineProtocol.pm: whitespace
5102
5103 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
5104         * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
5105           ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
5106           <atrus@zmanda.com>
5107
5108 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
5109         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
5110           pass parameters
5111         * device-src/ndmp-device.c: bugfixes; open and close the conneciton
5112           for each service request, to avoid deadlocking the proxy
5113         * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
5114           ndmjob tape simulator
5115         * installcheck/Installcheck/Mock.pm: add run_ndmjob
5116         * installcheck/Makefile.am: new checks
5117         * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
5118         * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
5119         * ndmp-src/ndmjob.h: p_port
5120         * ndmp-src/ndmjob_args.c: add -p PORT
5121         * ndmp-src/ndmjob_main.c: use -p PORT
5122         * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
5123           connection
5124
5125 2009-10-07 Dan Locks <dwlocks@zmanda.com>
5126         *  packaging/deb/control: add mailx|bsd-mailx (also missing
5127            |gnuplot-nox)
5128
5129 2009-10-07  Jean-Louis Martineau <martineau@zmanda.com>
5130         * server-src/diskfile.c: Fix initialization of xml_app.result.
5131
5132 2009-10-06  Dustin J. Mitchell <dustin@zmanda.com>
5133         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
5134           remove ndmp-proxy-log-file and ndmp-proxy-debug-level
5135         * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
5136         * common-src/ipc-binary.h: don't recommend static allocation
5137         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
5138           demand; it will shut down when all of the connections are closed
5139         * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
5140         * installcheck/Installcheck.pm: add get_unused_port()
5141         * installcheck/Makefile.am: new check
5142         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
5143           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
5144           ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
5145           ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
5146           proxy into a different executable, and reference count the connections
5147           to it
5148         * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
5149         * perl/Amanda/NDMP.pod: add POD
5150         * server-src/amlabel.pl server-src/amcheck-device.pl: remove
5151           ndmp_stop_proxy()
5152
5153 2009-10-06  Paul C. Mantz <pcmantz@zmanda.com>
5154         * perl/Amanda/Reporter.pm: added log handling of amdump and
5155         amflush
5156         * installcheck/Amanda_Report.pl: regression tests
5157
5158 2009-10-06  Jean-Louis Martineau <martineau@zmanda.com>
5159         * installcheck/amraw.pl: Use File::Path::mkpath.
5160
5161 2009-10-05  Jean-Louis Martineau <martineau@zmanda.com>
5162         * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
5163         * application-src/amraw.pl: New application.
5164         * installcheck/Makefile.am (client_tests): Add amraw.
5165         * installcheck/amraw.pl: Check amraw functionnality.
5166         * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
5167         * man/xml-source/amanda-applications.7.xml: Add amraw.8.
5168         * man/xml-source/amanda.8.xml: Add amraw.8.
5169         * man/xml-source/amraw.8.xml: New man page for amraw application.
5170         * perl/Amanda/Constants.pm.in: Add DD.
5171
5172 2009-10-05  Paul C. Mantz <pcmantz@zmanda.com>
5173         * server-src/reporter.c: exit code 0 with no output format
5174         specified, fixed default output destination
5175
5176 2009-10-02  Jean-Louis Martineau <martineau@zmanda.com>
5177         * common-src/debug.c (msg_timestamp): Print time in human readable
5178                                               format.
5179
5180 2009-10-01  Dustin J. Mitchell <dustin@zmanda.com>
5181         * device-src/ndmp-device.c:  remove some includes, remove recycle and
5182           erase, streaming desired, close the tape service on finish(), rewind
5183           less, and be more careful about setting errors exactly once
5184         * man/xml-source/amanda-devices.7.xml: document the device
5185
5186 2009-10-01  Paul C. Mantz <pcmantz@zmanda.com>
5187         * server-src/reporter.c: no report made unless destination
5188         argument given
5189
5190 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
5191         * application-src/amgtar.c (build_re_table, add_type_table,
5192                                     add_list_table): Remove function.
5193         * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
5194         * client-src/client_util.c (build_re_table, add_type_table,
5195                                    add_list_table): Add function.
5196         * client-src/client_util.h (build_re_table, add_type_table,
5197                                     add_list_table): Add prototype.
5198         * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
5199                 Add declaration.
5200         * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
5201                 Remove declaration.
5202         * client-src/sendsize.c: Rename 'struct regex_s' to
5203                                         'struct regex_scale_s'.
5204         * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
5205                                        properties.
5206
5207 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
5208         * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
5209                                                           name.
5210
5211 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
5212         * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
5213                                     command.
5214         * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
5215
5216 2009-09-30  Dustin J. Mitchell <dustin@zmanda.com>
5217         * server-src/dumper.c: runs setuid root
5218         * common-src/local-security.c: drop root privs
5219         * common-src/rsh-security.c: drop root privs
5220         * common-src/ssh-security.c: drop root privs
5221
5222 2009-09-29  Dustin J. Mitchell <dustin@zmanda.com>
5223         * amandad-src/amandad.h common-src/amanda.h: move constants
5224           to amanda.h
5225         * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
5226           inform the OpenBSD pthread library about high-numbered fd's created
5227           by amandad
5228         * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
5229           client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
5230           use openbsd_fd_infom
5231
5232 2009-09-28  Dustin J. Mitchell <dustin@zmanda.com>
5233         * common-src/util.h: fix comment
5234         * server-src/planner.c: planner runs setuid, so tell check_running_as
5235
5236 2009-09-28  Nikolas Coukouma <atrus@zmanda.com>
5237         * device-src/s3.c: fix day of the week in Date header
5238
5239 2009-09-25  Dustin J. Mitchell <dustin@zmanda.com>
5240         * common-src/amflock.c: set the return value
5241         * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
5242         * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
5243         * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
5244           handle configurations where no tape device is specified better
5245         * server-src/amtape.pl: handle the case where loaded_in == 0
5246
5247 2009-09-25  Nikolas Coukouma <atrus@zmanda.com>
5248         * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
5249
5250 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
5251         * man/xml-source/amanda-devices.7.xml: fix typo
5252
5253 2009-09-24  Paul C. Mantz <pcmantz@zmanda.com>
5254         * perl/Amanda/Report.pm: added accessor functions
5255         * installcheck/Amanda_Report.pl: tests
5256
5257 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
5258         * device-src/property.c: remove old property instance
5259
5260 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
5261         * man/xml-source/amanda-devices.7.xml: update property documentation
5262           and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
5263         * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
5264           device-src/property.c device-src/property.h device-src/device.c
5265           man/xml-source/amanda-changers.7.xml: rename property
5266         * device-src/tape-device.c: accept old and new property names
5267         * installcheck/Amanda_Device.pl: tests
5268
5269 2009-09-10  Jean-Louis Martineau <martineau@zmanda.com>
5270         * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
5271           DIRECTORY properties on restore
5272
5273 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
5274         * installcheck/Amanda_Device.pl: fix skip count
5275
5276 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
5277         * common-src/util.c common-src/util.h: allow to drop root privs
5278           entirely
5279         * common-src/pipespawn.c: drop root
5280         * amandad-src/amandad.c: check effective userid
5281         * common-src/krb5-security.c: check effective userid
5282         * server-src/amcheck.c: check effective userid
5283
5284 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
5285         * device-src/s3-device.c: handle EOT correctly
5286         * installcheck/Amanda_Device.pl: check for it
5287
5288 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
5289         * changer-src/chg-glue.pl common-src/amgetconf.pl
5290           common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
5291           device-src/amtapetype.pl installcheck/Amanda_Config.pl
5292           installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
5293           perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
5294           restore-src/amfetchdump.c server-src/amadmin.c
5295           server-src/amcheck-device.pl server-src/amcheck.c
5296           server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
5297           server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
5298           server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
5299           server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
5300           server-src/driver.c server-src/dumper.c server-src/planner.c
5301           server-src/reporter.c server-src/taper.pl: change "config_overwrite"
5302           to "config_override"
5303
5304 2009-09-05  Dustin J. Mitchell <dustin@zmanda.com>
5305         * server-src/amvault.pl: use destination volume filenums in amvault
5306
5307 2009-09-04  Dustin J. Mitchell <dustin@zmanda.com>
5308         * common-src/util.c: setuid(0) initially, so that we can release
5309           and acquire root privs
5310
5311 2009-09-03  Jean-Louis Martineau <martineau@zmanda.com>
5312         * device-src/ndmp-device.c: Include "ndmp-proxy.h".
5313
5314 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
5315         * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
5316           binary communication protocol
5317         * common-src/ipc-binary-test.c: tests for same
5318         * common-src/ndmp-protocol.h: removed
5319         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
5320           with ndmp-proxy, including protocol
5321         * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
5322         * common-src/Makefile.am: rename/add files
5323         * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
5324           ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
5325           use new protocol
5326
5327 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
5328         * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
5329
5330 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
5331         * device-src/ndmp-device.c: remove spurious #include of stream.c
5332
5333 2009-09-02  Jean-Louis Martineau <martineau@zmanda.com>
5334         * common-src/debug.c: Improve debugging.
5335         * restore-src/restore.h (rst_flags_t): Add header_to_fd.
5336         * restore-src/amidxtaped.c: set header_to_fd to 1.
5337         * restore-src/restore.c: Write header to header_to_fd.
5338         * restore-src/amfetchdump.c: Add --header-fd and --header-file
5339                                      arguments.
5340         * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
5341                                             --header-file argument.
5342
5343 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
5344         * perl/Amanda/Header.swg: remove spurious references to cmdline.h
5345
5346 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
5347         * ndmp-src/Makefile.am: fix dumb typos
5348
5349 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com
5350         * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
5351
5352 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
5353         * man/entities/global.entities.in man/xml-source/amadmin.8.xml
5354           man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
5355           man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
5356           man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
5357           man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
5358           man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
5359           man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
5360           man/xml-source/amvault.8.xml: use entities to represent config
5361           overwrites consistently
5362
5363 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
5364         * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
5365           cmdline.h in a client-only package
5366         * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
5367         * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
5368           tests
5369
5370 2009-08-31 Dan Locks <dwlocks@zmanda.com>
5371         * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
5372           %files for server.
5373
5374 2009-08-31  Jean-Louis Martineau <martineau@zmanda.com>
5375         * config/amanda/dumpers.m4: Give only a warning if user specified path
5376                                     is not correct for gtar and star.
5377
5378 2009-08-28  Dustin J. Mitchell <dustin@zmanda.com>
5379         * perl/Amanda/Device.pod: be explicit: finish_file is not for read
5380           mode
5381
5382 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
5383         * xfer-src/filter-process.c: fixed write warnings which were
5384           breaking Ubuntu builds
5385
5386 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
5387         * perl/Amanda/Logfile.swg: added four previously omitted program
5388         types
5389         * installcheck/Amanda_Logfile.pl: regression tests for the program
5390         types
5391
5392 2009-08-26  Jean-Louis Martineau <martineau@zmanda.com>
5393         * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
5394         * configure.in: Use AMANDA_PROG_STAR.
5395
5396 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5397         * config/amanda/components.m4: Fix --with-amrecover=yes
5398
5399 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5400         * ndmp-src/ndmp-protocol.h: Remove file.
5401         * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
5402         * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
5403
5404 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5405         * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
5406         * configure.in: Use AMANDA_NDMP_DEVICE.
5407         * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
5408                                  andndmp_proxy_debug_level.
5409         * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
5410                                  and CNF_NDMP_PROXY_DEBUG_LEVEL
5411         * common-src/ndmp-protocol.h: Define protocol between amanda and
5412                                       ndmp-proxy.
5413         * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
5414                              connect_to_ndmp_proxy): New functions.
5415         * common-src/util.h: Add prototype for new functions.
5416         * device-src/Makefile.am: Build ndmp-device.
5417         * device-src/device.c: Use ndmp-device.
5418         * device-src/ndmp-device.c: New ndmp device.
5419         * device-src/tape-device.c: Small fix.
5420         * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
5421         * perl/Amanda/Config.swg: Export new CNF_* constants.
5422         * perl/Amanda/Ndmp.swg: New module for ndmp function.
5423         * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
5424         * perl/Amanda/Util.swg: New finish_application function.
5425         * perl/Makefile.am: Build Amanda::Ndmp
5426         * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
5427           stop_ndmp_proxy and finish_application.
5428
5429 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5430         * man/xml-source/amfetchdump.8.xml: Document -h option.
5431         * restore-src/amfetchdump.c: Document -h option, pass the server
5432                                      feature set to search_tapes.
5433
5434 2009-08-24  Paul C. Mantz <pcmantz@zmanda.com>
5435         * perl/Amanda/Report.pm: Module for abstracting amreport data
5436         * perl/Makefile.am: compile the module
5437         * installcheck/Amanda_Report.pl: test for Amanda::Report
5438         * installcheck/Makefile.am: add the test to installcheck
5439
5440 2009-08-21  Dustin J. Mitchell <dustin@zmanda.com>
5441         * man/xml-source/amgtar.8.xml: changes suggested by Christopher
5442           <chrismcc@pricegrabber.com>
5443
5444 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5445         * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
5446         * ndmp-src/Makefile.am: Link with libamanda
5447         * ndmp-src/ndmos_glib.h: Use strtoll.
5448
5449 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5450         * ndmp-src/*: Import of ndmjob + ndmp-proxy.
5451         * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
5452         * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
5453         * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
5454         * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
5455         * Makefile.am: Build ndmp-src.
5456
5457 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5458         * common-src/ipc-binary.c: New protocol
5459         * common-src/ipc-binary.h: New protocol header
5460         * common-src/Makefile.am: Compile it.
5461
5462 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5463         * man/xml-source/amanda-changers.7.xml: Typo.
5464
5465 2009-08-20  Dustin J. Mitchell <dustin@zmanda.com>
5466         * man/xml-source/amanda-devices.7.xml: tweak
5467         * perl/Amanda/Changer.pm: fix configuration to also include device
5468           alias configuration
5469         * perl/Amanda/Device.pod: deprecate $dev->configure()
5470         * man/xml-source/amanda-changers.7.xml: better documentation
5471           of device configuration via changers
5472
5473 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
5474         * restore-src/Makefile.am restore-src/amrestore.c: remove
5475         * common-src/fileheader.c common-src/fileheader.h: add
5476           summarize_header
5477         * common-src/match.c: fix match_level bugs
5478         * installcheck/Amanda_Header.pl: test matches_dumpspecs
5479         * server-src/Makefile.am server-src/amrestore.pl: new perl version
5480         * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
5481           on to the next dumpfile
5482         * man/xml-source/amrestore.8.xml: update docs
5483         * perl/Amanda/Cmdline.pod: typo
5484         * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
5485           matches_dumpspec
5486         * installcheck/Amanda_Util.pl: test sanitise_filename
5487         * perl/Amanda/Util.pod: add sanitise_filename
5488
5489 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
5490         * xfer-src/filter-process.c: new xfer element
5491         * xfer-src/xfer-element.h: declare it
5492         * perl/Amanda/Xfer.swg: SWIG it
5493         * perl/Amanda/Xfer.pod: doc it
5494         * xfer-src/Makefile.am: build it
5495         * installcheck/Amanda_Xfer.pl: test it
5496
5497 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
5498         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
5499           to start(), and make the get_source method "low-level"
5500         * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
5501           installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
5502           device-src/amtapetype.pl: don't use get_source
5503         * perl/Amanda/MainLoop.pod: documentation tweak
5504
5505 2009-08-17  Dustin J. Mitchell <dustin@zmanda.com>
5506         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
5507           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
5508           perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
5509           release()
5510         * server-src/amcheck-device.pl: fix stupid bug
5511
5512 2009-08-14 Dan Locks <dwlocks@zmanda.com>
5513         * example/Makefile.am: split example into server and client
5514           installperms statements.
5515
5516 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
5517         * server-src/amlabel.pl: handle error in Amanda::Changer->new
5518
5519 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
5520         * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
5521         * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
5522           add a 'multi' dumpcache and refactor Dumpcache.pm
5523         * installcheck/Installcheck/Run.pm: better diagnostics, better access
5524           to stderr from successful runs
5525
5526 2009-08-12  Dustin J. Mitchell <dustin@zmanda.com>
5527         * installcheck/taper.pl: add a check for taper startup err
5528         * server-src/taper.pl: properly send a startup err instead of die()ing
5529         * perl/Amanda/IPC/LineProtocol.pm: fix typos
5530
5531 2009-08-05  Dustin J. Mitchell <dustin@zmanda.com>
5532         * man/xml-source/amdevcheck.8.xml: manpage tweaks
5533
5534 2009-08-05 Dan Locks <dwlocks@zmanda.com>
5535         * Thanks to Jim Barber for pointing out these bugs.
5536         * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
5537           packaging/deb/amanda-backup-server.postinst: replace all instances
5538           of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
5539         * packaging/deb/control: add build-depends for libglib2.0-dev
5540
5541 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5542         * installcheck/amcheck.pl: fix typo
5543
5544 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5545         * installcheck/amcheck.pl: put options before args for old getopts
5546         * installcheck/Makefile.am: only run amcheck check on full install
5547
5548 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5549         * installcheck/Makefile.am installcheck/amcheck.pl: new tests
5550         * server-src/amcheck.c: fix usage message
5551
5552 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5553         * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
5554
5555 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5556         * server-src/amcheck.c: initialize success properly
5557         * installcheck/mock/mtx.pl: another workaround for bad perl parser
5558
5559 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5560         * installcheck/amlabel.pl: update tests for new messages
5561         * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
5562           rewrite amlabel in perl to use new changer API
5563         * man/xml-source/amlabel.8.xml: overhaul manpage
5564         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
5565
5566 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5567         * server-src/amlabel.c server-src/amcheck.c: remove include of
5568           taperscan.h
5569
5570 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5571         * server-src/Makefile.am server-src/amcheck-device.pl
5572           server-src/amcheck.c: break out device-checking into a perl script
5573           invoked from amcheck
5574         * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
5575           script
5576         * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
5577           volumes explicitly marked as blank (timestamp="X")
5578         * server-src/taperscan.c server-src/taperscan.h: remove
5579
5580 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5581         * device-src/device.h: remove some comments that are now redundant
5582         * perl/Amanda/Device.pod: put primary Device documentation here,
5583           centralizing what used to be in the header file and on the wiki
5584
5585 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5586         * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
5587           confusing
5588
5589 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5590         * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
5591
5592 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5593         * device-src/tape-posix.c: use g_debug instead of dbprintf
5594
5595 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5596         * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
5597           more than once in a scan object's lifetime
5598         * man/xml-source/amanda-taperscan.7.xml: document this
5599
5600 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5601         * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
5602           rewrite amtape in perl
5603         * NEWS: describe changes
5604         * man/xml-source/amtape.8.xml: document behavior
5605         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
5606           perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
5607           perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
5608           user_msg_fn
5609         * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
5610           tests to match new behavior
5611
5612 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5613         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
5614           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
5615           perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
5616           except_slots, to allow slot scanning
5617         * installcheck/Amanda_Changer_compat.pl
5618           installcheck/Amanda_Changer_disk.pl
5619           installcheck/Amanda_Changer_rait.pl
5620           installcheck/Amanda_Changer_robot.pl: test each implementation
5621
5622 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5623         * perl/Makefile.am perl/Amanda/Changer/robot.pm:
5624           new changer
5625         * example/amanda.conf.in: adjust to correspond to new changers
5626         * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
5627         * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
5628         * man/xml-source/amanda-changers.7.xml: documentation for new changer
5629         * perl/Amanda/Changer.pm: POD tweak
5630
5631 2009-07-31 Dan Locks <dwlocks@zmanda.com>
5632         * packaging/deb/control, packaging/rpm/amanda.spec: add native
5633           package names to conflict list
5634
5635 2009-07-30 Dan Locks <dwlocks@zmanda.com>
5636         * example/Makefile.am: separates client from server example,
5637           label, and template files.
5638
5639 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
5640         * device-src/Makefile.am device-src/xfer-source-taper.c
5641           device-src/xfer-device.h: new xfer element
5642         * device-src/xfer-source-device.c: typos
5643         * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
5644         * perl/Amanda/XferServer.swg: SWIG it
5645         * perl/Amanda/Xfer.pod: docs
5646         * installcheck/Amanda_Xfer_serveronly.pl: test it
5647
5648 2009-07-30  Jean-Louis Martineau <martineau@zmanda.com>
5649         * application-src/amsuntar.pl: Fix open of fd3.
5650
5651 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
5652         * device-src/xfer-dest-taper.c: open disk cache twice instead of
5653           incorrectly relying on dup(); use a local variable to stop the
5654           disk cacher for sure at the end of each part
5655
5656 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
5657         * perl/Amanda/Changer.pm: add an inventory() method
5658         * perl/Amanda/Changer/disk.pm: implement
5659         * perl/Amanda/Changer/rait.pm: implement
5660         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
5661           installcheck/Amanda_Changer_disk.pl
5662           installcheck/Amanda_Changer_rait.pl: test
5663
5664 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
5665         * perl/Amanda/Changer.pm: do not release() reservations automatically
5666           when they go out of scope
5667         * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
5668           installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
5669           installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
5670           installcheck/Amanda_Changer_single.pl: don't depend on auto-release
5671
5672 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
5673         * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
5674           shuffle vtapes instead of linking, and support 'nobarcode'
5675         * installcheck/mock_mtx.pl: test it
5676
5677 2009-07-28  Nikolas Coukouma <atrus@zmanda.com>
5678         * installcheck/Installcheck.pm: Add a function for including Test::More
5679           messages in debug logs (and document it). Move mkpath($TMP) into an
5680           INIT block.
5681         * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
5682           installcheck/Amanda_Changer_disk.pl,
5683           installcheck/Amanda_Changer_null.pl,
5684           installcheck/Amanda_Changer_rait.pl,
5685           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
5686           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
5687           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
5688           installcheck/Amanda_IPC_LineProtocol.pl,
5689           installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
5690           installcheck/Amanda_Taper_Scan_traditional.pl,
5691           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
5692           installcheck/Amanda_Xfer_serveronly.pl,
5693           installcheck/amrmtape.pl, installcheck/amtape.pl,
5694           installcheck/taper.pl: use Installcheck::log_test_output()
5695
5696 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
5697         * perl/Amanda/Changer.pm: add a get_boolean_property helper method
5698
5699 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
5700         * config/amanda/defaults.m4: remove --with-changer-device
5701         * common-src/conffile.c: make NULL the default
5702         * example/amanda.conf.in: remove reference to the default
5703         * NEWS: note that option is no longer available
5704
5705 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
5706         * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
5707           variables, and just syntax-check everything
5708         * amar-src/Makefile.am application-src/Makefile.am
5709           changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
5710           device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
5711           adjust makefiles to match
5712         * perl/Amanda/Changer/rait.pm: fix some warnings
5713
5714 2009-07-24  Jean-Louis Martineau <martineau@zmanda.com>
5715         * amandad-src/amandad.c: Fix fd allocation.
5716
5717 2009-07-21 Dan Locks <dwlocks@zmanda.com>
5718         * example/Makefile.am: add missing trailing slash
5719
5720 2009-07-18  Dustin J. Mitchell <dustin@zmanda.com>
5721         * installcheck/taper.pl: one more check for the taper's DONE
5722
5723 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5724         * installcheck/taper.pl: add a check for the taper's DONE
5725
5726 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5727         * server-src/xfer-source-holding.c: fix a race condition with
5728           self->dest_taper
5729
5730 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5731         * server-src/Makefile.am: fix to distribute taper.pl
5732
5733 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5734         * installcheck/Amanda_Taper_Scribe.pl: fix test
5735
5736 2009-07-17  Nikolas Coukouma <atrus@zmanda.com>
5737         * installcheck/taper.pl: remove cruft
5738         * server-src/Makefile.am: remove cruft
5739         * server-src/taper.pl: fix copyright statement
5740
5741 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5742         * server-src/taper.pl: new taper (in perl)
5743         * installcheck/taper.pl: update tests
5744         * server-src/Makefile.am server-src/taper-disk-port-source.c
5745           server-src/taper-disk-port-source.h server-src/taper-file-source.c
5746           server-src/taper-file-source.h server-src/taper-mem-port-source.c
5747           server-src/taper-mem-port-source.h server-src/taper-port-source.c
5748           server-src/taper-port-source.h server-src/taper-source-test.c
5749           server-src/taper-source.c server-src/taper-source.h
5750           server-src/taper.c: deleted
5751
5752 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5753         * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
5754         * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
5755
5756 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
5757         * server-src/diskfile.c: add missing _()
5758
5759 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
5760         * man/Makefile.am man/xml-source/amanda.8.xml
5761           man/xml-source/amanda-compatibility.7.xml: add new manpage describing
5762           inter-version compatibility
5763         * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
5764
5765 2009-07-16  Jean-Louis Martineau <martineau@zmanda.com>
5766         * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
5767
5768 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5769         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
5770           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
5771           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
5772           remove $res->{'next_slot'} in favor of $chg->load(relative_slot
5773           => 'next', slot => $slot)
5774         * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
5775           server-src/amvault.pl: use new form
5776         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
5777           installcheck/Amanda_Changer_disk.pl
5778           installcheck/Amanda_Changer_rait.pl: test it
5779
5780 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5781         * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
5782         * NEWS: describe removed keyword
5783         * installcheck/Amanda_Config.pl: don't test for it anymore
5784
5785 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5786         * perl/Amanda/Changer.pm: new with_locked_state method to help
5787           subclasses access a locked statefile
5788         * installcheck/Amanda_Changer.pl: test new method
5789         * perl/Amanda/Changer/disk.pm: use new method
5790
5791 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5792         * common-src/amflock.h common-src/amflock.c: new fcntl-based
5793           file locking support
5794         * common-src/amflock-test.c: test them
5795         * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
5796         * installcheck/Amanda_Util.pl: test that too
5797
5798 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5799         * gnulib/regenerate/regenerate: add ftruncate and lseek modules
5800         * config/config.rpath config/gnulib/* gnulib/*: new modules
5801
5802 2009-07-14  Dustin J. Mitchell <dustin@zmanda.com>
5803         * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
5804         * installcheck/Amanda_DB_Catalog.pl: test same
5805
5806 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
5807         * server-src/driverio.c: Print strerror if update of infofile failed.
5808
5809 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
5810         * config/automake/scripts.am: Fix *.nouselib creation.
5811
5812 2009-07-13  Dustin J. Mitchell <dustin@zmanda.com>
5813         * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
5814         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
5815           perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
5816           implement
5817         * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
5818           installcheck/Amanda_Changer_compat.pl
5819           installcheck/Amanda_Changer_disk.pl
5820           installcheck/Amanda_Changer_null.pl
5821           installcheck/Amanda_Changer_rait.pl
5822           installcheck/Amanda_Changer_single.pl
5823           server-src/amvault.pl: use new key
5824
5825 2009-07-13  Jean-Louis Martineau <martineau@zmanda.com>
5826         * application-src/amsamba.pl: Fix parsing domain in amandapass.
5827
5828 2009-07-11  Dustin J. Mitchell <dustin@zmanda.com>
5829         * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
5830
5831 2009-07-10  Nikolas Coukouma <atrus@zmanda.com>
5832         * device-src/s3-device.c: fix calls to erase() before start()
5833         * installcheck/data/aws-bundle.crt: use a larger certificate bundle
5834         * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
5835           with custom certificate bundle, test erase() before start(),
5836           try to do more with an invalid certificate bundle
5837
5838 2009-07-10  Dustin J. Mitchell <dustin@zmanda.com>
5839         * configure.in: don't generate all of the example/ files here
5840         * example/Makefile.am: generate them here
5841         * example/chg-mcutil.conf.in: removed
5842         * example/config.site: removed
5843
5844 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5845         * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
5846           instead of 'current', as required by previous change
5847
5848 2009-07-09  Alan Hodgson <ahodgson@simkin.ca>
5849         * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
5850         * man/xml-source/amgtar.8.xml: document them
5851
5852 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5853         * common-src/util.c common-src/util.h: add quote_string_always
5854         * common-src/conffile.c: use it to quote strings on output from config
5855
5856 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5857         * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
5858           VERSION_MAJOR, _MINOR, etc.
5859         * common-src/version.h: remove everything but version_info
5860         * client-src/versionsuffix.c client-src/Makefile.am: remove
5861           versionsuffix app
5862         * configure.in: remove versuff.c
5863         * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
5864           USE_VERSION_SUFFIXES
5865         * other source files: change version() to VERSION, remove
5866           versionsuffix() calls, remove unnecessary #include "version.h",
5867           and remove other uses of suffixes
5868
5869 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5870         * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
5871          of 'current', so the vtape root works as a device
5872         * man/xml-source/amanda-changers.7.xml: document
5873
5874 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5875         * amandad-src/amandad.c: conditionalize UID checks
5876
5877 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5878         * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
5879           prefer 'application' and 'script' to 'application-tool' and
5880           'script-tool', but accept both
5881         * common-src/amgetconf.pl: accept both
5882         * installcheck/Installcheck/Config.pm: add_text()
5883         * installcheck/Amanda_Config.pl: test changes
5884         * installcheck/amgetconf.pl: test changes
5885         * man/xml-source/amanda-client.conf.5.xml: document
5886         * man/xml-source/amanda.conf.5.xml: document
5887
5888 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5889         * AUTHORS: update, add notes about contribution licensing
5890
5891 2009-07-06  Dustin J. Mitchell <dustin@zmanda.com>
5892         * changer-src/chg-glue.pl: unref the device, in hopes it will
5893           close the open file descriptor so that tape devices can be used
5894           from the process that invoked chg-glue
5895
5896 2009-07-03  Dustin J. Mitchell <dustin@zmanda.com>
5897         * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
5898
5899 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
5900         * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
5901
5902 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
5903         * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
5904           perl/Makefile.am: add Perl implementation of the traditional taperscan
5905           algorithm
5906         * installcheck/Amanda_Taper_Scan.pl
5907           installcheck/Amanda_Taper_Scan_traditional.pl
5908           installcheck/Makefile.am: test
5909         * perl/Amanda/Changer/disk.pm: test support tweak
5910         * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
5911           with a full description of the traditional algo
5912         * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
5913
5914 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
5915         * perl/Amanda/MainLoop.swg: add synchronized()
5916         * perl/Amanda/MainLoop.pod: document it
5917         * installcheck/Amanda_MainLoop.pl: test it
5918         * perl/Amanda/Changer/compat.pm: and use it
5919
5920 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
5921         * device-src/s3.c, installcheck/Amanda_Device.pl:
5922           Don't allow dots in bucket names, for compatability with
5923           libcurl built against NSS.
5924
5925 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
5926         * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
5927           Test using a certificate bundle with the S3 device
5928
5929 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
5930         * common-src/conffile.c: New ORDER keyword in script section.
5931         * common-src/conffile.h: New ORDER keyword in script section.
5932         * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
5933         * perl/Amanda/Config.swg: Bing ORDER keyword.
5934         * application-src/amlog-script.pl: Add --text parameter.
5935         * installcheck/pp-scripts.pl: Check execution order.
5936
5937 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
5938         * restore-src/amfetchdump.c, restore-src/amrestore.c,
5939           restore-src/restore.c: Add debugging.
5940
5941 2009-06-22  Jean-Louis Martineau <martineau@zmanda.com>
5942         * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
5943
5944 2009-06-19 Dan Locks <dwlocks@zmanda.com>
5945         * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
5946           changes to packages.
5947
5948 2009-06-19 Dan Locks <dwlocks@zmanda.com>
5949         * packaging/deb/server/control, packaging/deb/client/control: update
5950           depends to list libcurl3 or 4.
5951
5952 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
5953         * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
5954           explicit about maintaining tape order with a stable sort
5955         * perl/Amanda/Tapelist.pod: document it
5956         * man/xml-source/tapelist.5.xml: manpages too
5957         * installcheck/Amanda_Tapelist.pl: test it
5958         * installcheck/Makefile.am: sort alphabetically
5959
5960 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
5961         * perl/Amanda/Util.swg: expose get_fs_usage in perl
5962         * installcheck/Amanda_Util.pl: test it
5963         * perl/Amanda/Util.pod: document it
5964
5965 2009-06-19  Jean-Louis Martineau <martineau@zmanda.com>
5966         * server-src/reporter.c: Use the filenum from the PART line.
5967                                  Keep the filenum of the first part.
5968
5969 2009-06-19  Nikolas Coukouma <atrus@zmanda.com>
5970         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
5971           application-src/amlog-script.pl, application-src/ampgsql.pl,
5972           application-src/amsamba.pl, application-src/amsuntar.pl,
5973           application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
5974           application-src/script-email.pl, changer-src/chg-glue.pl,
5975           common-src/amaespipe.sh, common-src/amcryptsimple.pl,
5976           common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
5977           common-src/event-test.c, common-src/glib-util.c,
5978           common-src/glib-util.h, common-src/queueing-test.c,
5979           common-src/queueing.c, common-src/queueing.h,
5980           common-src/quoting-test.c, common-src/semaphore-test.c,
5981           common-src/semaphore.c, common-src/semaphore.h,
5982           common-src/simpleprng.c, common-src/simpleprng.h,
5983           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
5984           common-src/testutils.c, common-src/testutils.h,
5985           config/automake/scripts.am, config/automake/vars.am,
5986           config/macro-archive/docbook-dtd.m4,
5987           config/macro-archive/docbook-xslt-min.m4,
5988           config/macro-archive/docbook-xslt.m4,
5989           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
5990           device-src/amtapetype.pl, device-src/device-queueing.c,
5991           device-src/device-queueing.h, device-src/device.c,
5992           device-src/device.h, device-src/null-device.c, device-src/property.c,
5993           device-src/property.h, device-src/rait-device.c,
5994           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
5995           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
5996           device-src/tape-device.c, device-src/tape-device.h,
5997           device-src/tape-ops.h, device-src/tape-posix.c,
5998           device-src/tape-uware.c, device-src/tape-xenix.c,
5999           device-src/vfs-device.c, device-src/vfs-test.c,
6000           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
6001           device-src/xfer-device.h, device-src/xfer-source-device.c,
6002           installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
6003           installcheck/Amanda_Changer_compat.pl,
6004           installcheck/Amanda_Changer_disk.pl,
6005           installcheck/Amanda_Changer_null.pl,
6006           installcheck/Amanda_Changer_rait.pl,
6007           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
6008           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
6009           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
6010           installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
6011           installcheck/Amanda_Holding.pl,
6012           installcheck/Amanda_IPC_LineProtocol.pl,
6013           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
6014           installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
6015           installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
6016           installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
6017           installcheck/Installcheck/Application.pm,
6018           installcheck/Installcheck/Changer.pm,
6019           installcheck/Installcheck/Config.pm,
6020           installcheck/Installcheck/Dumpcache.pm,
6021           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
6022           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
6023           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
6024           installcheck/amdump.pl, installcheck/amfetchdump.pl,
6025           installcheck/amgetconf.pl, installcheck/amgtar.pl,
6026           installcheck/ampgsql.pl, installcheck/amreport.pl,
6027           installcheck/amrmtape.pl, installcheck/amservice.pl,
6028           installcheck/amstatus.pl, installcheck/amtape.pl,
6029           installcheck/amtapetype.pl, installcheck/bigint.pl,
6030           installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
6031           installcheck/pp-scripts.pl, installcheck/taper.pl,
6032           perl/Amanda/Application.pod, perl/Amanda/Application.swg,
6033           perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
6034           perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
6035           perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
6036           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
6037           perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
6038           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
6039           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
6040           perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
6041           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
6042           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
6043           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
6044           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
6045           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
6046           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
6047           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
6048           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
6049           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
6050           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
6051           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
6052           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
6053           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
6054           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
6055           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
6056           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
6057           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
6058           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
6059           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
6060           server-src/amcheckdump.pl, server-src/amcleanup.pl,
6061           server-src/amrmtape.pl, server-src/amserverconfig.pl,
6062           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
6063           server-src/taper-disk-port-source.c,
6064           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
6065           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
6066           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
6067           server-src/taper-port-source.h, server-src/taper-source.c,
6068           server-src/taper-source.h, server-src/taperscan.c,
6069           server-src/taperscan.h, server-src/xfer-server.h,
6070           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
6071           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
6072           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
6073           xfer-src/source-pattern.c, xfer-src/source-random.c,
6074           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
6075           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
6076           xfer-src/xmsg.c, xfer-src/xmsg.h:
6077           update/correct copyright notice years
6078
6079 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
6080         * config/automake/scripts.am: support scripts with subdirs
6081
6082 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
6083         * installcheck/mock/mtx.pl: new "mock" mtx for testing
6084         * installcheck/mock_mtx.pl: test the test mtx
6085         * installcheck/Installcheck/Mock.pm: support for using mtx
6086         * installcheck/Installcheck/Run.pm: don't apply sbindir if there
6087           are any slashes in the app name
6088         * installcheck/Makefile.am: new files
6089
6090 2009-06-16  Jean-Louis Martineau <martineau@zmanda.com>
6091         * server-src/planner.c: Fix for bump from level 9 to 10.
6092
6093 2009-06-13  Dustin J. Mitchell <dustin@zmanda.com>
6094         * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
6095           calls to chg-compat's info() (tests the fix committed 2009-06-01)
6096
6097 2009-06-12  Dustin J. Mitchell <dustin@zmanda.com>
6098         * config/amanda/flags.m4: fix --enable-werror macro
6099
6100 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
6101         * server-src/planner.c: Print how tape_length is computed.
6102
6103 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
6104         * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
6105         * man/xml-source/amanda-client.conf.5.xml: Typo.
6106         * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
6107
6108 2009-06-11  Nikolas Coukouma <atrus@zmanda.com>
6109         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
6110           common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
6111           common-src/queueing.h, common-src/semaphore-test.c,
6112           common-src/semaphore.c, common-src/semaphore.h,
6113           config/automake/scripts.am, config/automake/vars.am,
6114           device-src/device-queueing.c, device-src/device-queueing.h,
6115           device-src/device.c, device-src/device.h, device-src/null-device.c,
6116           device-src/property.c, device-src/property.h,
6117           device-src/rait-device.c, device-src/s3-device.c,
6118           device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
6119           device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
6120           device-src/tape-device.h, device-src/tape-ops.h,
6121           device-src/tape-posix.c, device-src/tape-uware.c,
6122           device-src/tape-xenix.c, device-src/vfs-device.c,
6123           device-src/vfs-test.c, device-src/xfer-dest-device.c,
6124           device-src/xfer-dest-taper.c, device-src/xfer-device.h,
6125           device-src/xfer-source-device.c, perl/Amanda/Application.pod,
6126           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
6127           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
6128           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
6129           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
6130           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
6131           perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
6132           perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
6133           perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
6134           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
6135           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
6136           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
6137           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
6138           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
6139           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
6140           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
6141           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
6142           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
6143           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
6144           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
6145           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
6146           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
6147           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
6148           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
6149           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
6150           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
6151           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
6152           perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
6153           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
6154           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
6155           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
6156           server-src/taper-port-source.h, server-src/taper-source.c,
6157           server-src/taper-source.h, server-src/xfer-server.h,
6158           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
6159           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
6160           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
6161           xfer-src/source-pattern.c, xfer-src/source-random.c,
6162           xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
6163           xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
6164           relincense LGPL files under the GPL
6165
6166 2009-06-10  Paul C. Mantz <pcmantz@zmanda.com>
6167         * perl/Amanda/Application.pod: moved from .swg file
6168         * perl/Amanda/Application.swg: removed pod documentation
6169         * perl/Amanda/Archive.pod: moved from .swg file
6170         * perl/Amanda/Archive.swg: removed pod documentation
6171         * perl/Amanda/Cmdline.pod: moved from .swg file
6172         * perl/Amanda/Cmdline.swg: removed pod documentation
6173         * perl/Amanda/Config.pod: moved from .swg file
6174         * perl/Amanda/Config.swg: removed pod documentation
6175         * perl/Amanda/Debug.pod: moved from .swg file
6176         * perl/Amanda/Debug.swg: removed pod documentation
6177         * perl/Amanda/Device.pod: moved from .swg file
6178         * perl/Amanda/Device.swg: removed pod documentation
6179         * perl/Amanda/Disklist.pod: moved from .swg file
6180         * perl/Amanda/Disklist.swg: removed pod documentation
6181         * perl/Amanda/Header.pod: moved from .swg file
6182         * perl/Amanda/Header.swg: removed pod documentation
6183         * perl/Amanda/Logfile.pod: moved from .swg file
6184         * perl/Amanda/Logfile.swg: removed pod documentation
6185         * perl/Amanda/MainLoop.pod: moved from .swg file
6186         * perl/Amanda/MainLoop.swg: removed pod documentation
6187         * perl/Amanda/Tapelist.pod: moved from .swg file
6188         * perl/Amanda/Tapelist.swg: removed pod documentation
6189         * perl/Amanda/Tests.pod: moved from .swg file
6190         * perl/Amanda/Tests.swg: removed pod documentation
6191         * perl/Amanda/Util.pod: moved from .swg file
6192         * perl/Amanda/Util.swg: removed pod documentation
6193         * perl/Amanda/Xfer.pod: moved from .swg file
6194         * perl/Amanda/Xfer.swg: removed pod documentation
6195         * perl/Amanda/XferServer.pod: moved from .swg file
6196         * perl/Amanda/XferServer.swg: removed pod documentation
6197         * perl/Makefile.am: added pod files to tar dist
6198
6199 2009-06-05  Nikolas Coukouma <atrus@zmanda.com>
6200         * installcheck/Amanda_Device.pl: test device named just "s3:"
6201
6202 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
6203         * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
6204           Olsen <herolsen@alumni.upenn.edu>
6205
6206 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
6207         * config/amanda/dumpers.m4: fix quoting for shell portability
6208
6209 2009-06-02  Nikolas Coukouma <atrus@zmanda.com>
6210         * device-src/s3.c: retry S3 uploads on DNS failure
6211
6212 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
6213         * installcheck/Installcheck/Config.pm: add remove_param
6214         * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
6215
6216 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
6217         * perl/Amanda/Header.swg: add :constant tag
6218         * server-src/amvault.pl: use it
6219
6220 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
6221         * device-src/s3-device.c: start delete at file 1
6222
6223 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
6224         * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
6225
6226 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
6227         * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
6228           message before existing; fixes problems on OS X
6229
6230 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
6231         * server-src/amindexd.c: fix sscanf.
6232
6233 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
6234         * server-src/reporter.c: Print only the first 100 lines in FAiL and
6235                                  STRANGE detail section.
6236
6237 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
6238         * common-src/match.c: Match UNC name diskname.
6239         * man/xml-source/amanda.8.xml: Document UNC matcher.
6240
6241 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
6242         * client-src/client_util.c: Improve error reporting.
6243         * client-src/sendsize.c: Typo
6244         * client-src/selfcheck.c: Execute application with --calcsize even if
6245                                   it not the first estimate.
6246         * application-src/amgtar.c: Check calcsize binary.
6247         * application-src/amstar.c: Check calcsize binary.
6248         * server-src/planner.c: log sendsize error as warning if a server
6249                                 estimate is available.
6250
6251 2009-05-26  Jean-Louis Martineau <martineau@zmanda.com>
6252         * application-src/amgtar.c: Set MAX_LEVEL to 399.
6253         * common-src/amanda.h: Set DUMP_LEVELS to 400.
6254         * client-src/amandates.h: Remove DUMP_LEVELS.
6255         * server-src/infofile.h: Remove DUMP_LEVELS
6256         * server-src/amtrmidx.c: Fix for level with more than one digit.
6257         * server-src/amindexd.c, server-src/find.c
6258           server-src/reporter.c: Use DUMP_LEVELS.
6259
6260 2009-05-25  Dustin J. Mitchell <dustin@zmanda.com>
6261         * device-src/xfer-dest-taper.c: make the pointers, not the objects,
6262           volatile
6263
6264 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
6265         * common-src/fileheader.c: use %zu for a size_t argument.
6266
6267 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
6268         * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
6269         * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
6270         * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
6271
6272 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
6273         * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
6274         * perl/Amanda/Util.swg: add split_quoted_strings
6275         * common-src/util.c: handle NULL string correctly
6276         * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
6277           installcheck/Makefile.am: tests for all
6278
6279 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
6280         * installcheck/amservice.pl: call $testconfig->write();
6281
6282 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
6283         * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
6284           size heuristic; handle the case where extra slabs are still in memory
6285           when rewinding a disk-cached part; add 'volatile' and make memory
6286           access safer; use a cache directory, not file
6287         * device-src/xfer-device.h: use a cache directory, not file
6288         * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
6289         * perl/Amanda/Xfer.swg: use cache directory
6290         * perl/Amanda/XferServer.swg: use cache directory
6291
6292 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6293         * common-src/fileheader.c: use %zd for a size_t argument
6294
6295 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6296         * common-src/fileheader.c: don't automatically call dump_fileheader_t
6297           in build_header
6298         * server-src/dumper.c server-src/holding.c server-src/taper.c
6299           server-src/chunker.c: add debug messages as necessary
6300
6301 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6302         * device-src/amdevcheck.pl: move from server-src/
6303         * device-src/Makefile.am server-src/Makefile.am: move script
6304
6305 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6306         * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
6307         * installcheck/Amanda_Changer_compat.pl: test it
6308
6309 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6310         * amandad-src/Makefile.am application-src/Makefile.am
6311           oldrecover-src/Makefile.am recover-src/Makefile.am
6312           restore-src/Makefile.am: remove LIB_EXTENSION
6313         * config/amanda/defaults.m4 config/amanda/devprefix.m4
6314           config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
6315           config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
6316           config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
6317           config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
6318           AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
6319           compilers!)
6320
6321 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
6322         * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
6323
6324 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
6325         * client-src/sendbackup.c: Compatibity with 2.4.2 server.
6326
6327 2009-05-22  Dustin J. Mitchell <dustin@zmanda.com>
6328         * device-src/vfs-device.c: close the tapelabel file after reading it
6329
6330 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
6331         * server-src/planner.c: Fix for 'estimate calcsize server' with older
6332                                 client.
6333
6334 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
6335         * common-src/queueing.c: set queue_fd->errmsg.
6336         * restore-src/restore.c: report queue_fd.errmsg
6337         * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
6338           Check validation status before reporting status.
6339
6340
6341 2009-05-21  Dustin J. Mitchell <dustin@zmanda.com>
6342         * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
6343
6344 2009-05-20  Jean-Louis Martineau <martineau@zmanda.com>
6345         * restore-src/restore.c: Report error.
6346
6347 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6348         * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
6349           is true; same for tapedev
6350
6351 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6352         * server-src/changer.c: revert a change (from 2009-02-20) which caused
6353           taperscan to not do a sequential scan if stage one fails
6354
6355 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6356         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6357           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
6358           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
6359           add a fast_search info key
6360         * installcheck/Amanda_Changer_compat.pl
6361           installcheck/Amanda_Changer_disk.pl
6362           installcheck/Amanda_Changer_null.pl
6363           installcheck/Amanda_Changer_rait.pl
6364           installcheck/Amanda_Changer_single.pl: test it
6365         * changer-src/chg-glue.pl: and use it to reflect searchability to old
6366           changer API users
6367
6368 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6369         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6370           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
6371           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
6372           changers return full devices, not just device names, and
6373           configure those devices based on device_property parameters
6374           specified in 'changer' configuration sections
6375         * changer-src/chg-glue.pl: return the device_name from the device
6376           (thereby losing the config info)
6377         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
6378           add changer properties and device_properties
6379         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
6380           installcheck/Amanda_Changer_disk.pl
6381           installcheck/Amanda_Changer_null.pl
6382           installcheck/Amanda_Changer_rait.pl
6383           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
6384           installcheck/amrmtape.pl: test changer changes
6385         * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
6386           device manually
6387
6388 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
6389         * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
6390         * installcheck/Amanda_MainLoop.pl: ..so don't test it
6391
6392 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
6393         * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
6394           in many cases
6395
6396 2009-05-19  Jean-Louis Martineau <martineau@zmanda.com>
6397         * common-src/conffile.c: Add reapply_config_overwrites.
6398         * common-src/conffile.h: Add prototype of reapply_config_overwrites.
6399         * perl/Amanda/Config.swg: Add reapply_config_overwrites.
6400         * recover-src/amrecover.c: Call reapply_config_overwrites.
6401
6402 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
6403         * perl/Amanda/MainLoop.swg: new high-level call_after,
6404           call_on_child_termination, async_read, async_write; POD for new functions; and
6405           description of good async style
6406         * installcheck/Amanda_MainLoop.pl: test new functions
6407         * perl/amglue/filehandles.swg: use SvIOK
6408
6409 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
6410         * perl/Makefile.am: add -Werror on gcc
6411
6412 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
6413         * server-src/driver.c: Fix crash in amflush.
6414
6415 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6416         * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
6417           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
6418           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
6419           perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
6420           perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
6421
6422 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6423         * installcheck/Installcheck.pm:always create $Installcheck::TMP;
6424           package returns 1
6425         * installcheck/Installcheck/Run.pm: export run_expect
6426         * installcheck/amarchiver.pl: quote a path
6427
6428 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6429         * perl/Amanda/Changer/compat.pm: qualify one last debug message
6430
6431 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6432         * perl/Amanda/XferServer.swg: include xfer-server.h
6433
6434 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6435         * common-src/debug.c common-src/debug.h: refactor set_logerr
6436           and erroutput_type into a more flexible amanda_log_handler system
6437         * server-src/logfile.c server-src/logfile.h: provide
6438           amanda_log_trace_log
6439         * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
6440         * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
6441         * amandad-src/amandad.c application-src/amgtar.c
6442           application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
6443           client-src/sendbackup.c client-src/sendsize.c
6444           restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
6445           server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
6446           server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
6447           server-src/chunker.c server-src/driver.c server-src/dumper.c
6448           server-src/planner.c server-src/reporter.c server-src/taper.c: use new
6449           system
6450
6451 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
6452         * common-src/debug.c: Fix memory leak.
6453
6454 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
6455         * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
6456           refactoring
6457         * installcheck/Amanda_Changer_rait.pl: update tests to expect it
6458
6459 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
6460         * perl/Amanda/Device.swg: parse string values for properties
6461         * installcheck/Amanda_Device.pl: test
6462
6463 2009-05-12  Jean-Louis Martineau <martineau@zmanda.com>
6464         * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
6465
6466 2009-05-08  Dustin J. Mitchell <dustin@zmanda.com>
6467         * perl/Amanda/Logfile.swg: add log_add
6468         * installcheck/Amanda_Logfile.pl: test it
6469
6470 2009-05-08  Jean-Louis Martineau <martineau@zmanda.com>
6471         * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
6472
6473 2009-05-07  Chris Hoogendyk <hoogendyk@bio.umass.edu>
6474         * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
6475           "service"
6476
6477 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
6478         * server-src/changer.c: remove unused variable
6479
6480 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
6481             Jean-Louis Martineau <martineau@zmanda.com>
6482         * common-src/debug.c: do not use a mutex in debug_printf
6483         * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
6484           do not call debug_printf after fork()
6485
6486 2009-05-06  Dustin J. Mitchell <dustin@zmanda.com>
6487         * server-src/taper.c: check for division by zero and don't print 'nan'
6488           for kbps
6489         * installcheck/taper.pl: don't expect 'nan'
6490
6491 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
6492         * server-src/amrmtape.pl: try loading disklist before erasing,
6493           before amadmin tries (and possibly fails)
6494
6495 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
6496         * man/xml-source/amdevcheck.8.xml: Document exit code.
6497         * server-src/amdevcheck.pl: change exit code.
6498
6499 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
6500         * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
6501           taper
6502         * installcheck/Installcheck/Config.pm: cleanup
6503         * installcheck/Installcheck/Run.pm: cleanup
6504
6505 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
6506         * server-src/taper-mem-port-source.c
6507           server-src/taper-disk-port-source.c: continue reading from the port
6508           after the cache is exhausted, instead of terminating the part abruptly
6509           (which can lead to insertion of spurious zeros into the dumpfile);
6510           also remove some unnecessary assertions (g_return_val_if_fail)
6511         * server-src/taper-file-source.c: use correct unit on part size;
6512           correctly calculate estimated number of parts
6513         * server-src/taper-port-source.c: replace assertion with 'if'
6514
6515 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
6516         * server-src/amdevcheck.pl: Add '--label' option.
6517         * man/xml-source/amdevcheck.8.xml: Document '--label' option.
6518
6519 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
6520         * application-src/ampgsql.pl: accept gnutar-path option;
6521           use absolute path when calling unlink()
6522
6523 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
6524         * server-src/taper.c: do not include a partial part in the size
6525           calculation
6526
6527 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6528         * server-src/driver.c: Fix deadlock.
6529
6530 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6531         * application-src/amgtar.c, application-src/amstar.c: Validate if
6532           binary not available.
6533
6534 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6535         * application-src/amstar.c: Compile pattern once.
6536                                     Remove a superfluous '\n'.
6537
6538 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6539         * application-src/amstar.c: Handle hard link.
6540
6541 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
6542         * server-src/changer.c: s/execve/execv
6543
6544 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
6545         * server-src/changer.c: Pass command override to chg-glue.
6546         * changer-src/chg-glue.pl: Parse command override.
6547
6548 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6549         * server-src/amadmin.c: Fix error reporting in find subcommand.
6550
6551 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6552         * recover-src/amrecover.h: Change prototype.
6553         * recover-src/extract_list.c: merge_path, abort if cd_* failed.
6554         * recover-src/set_commands.c: Many functions return 0 or 1.
6555
6556 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6557         * application-src/amsuntar.pl: Fix redirection in validate command.
6558
6559 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6560         * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
6561           man/xml-source/amflush.8.xml,
6562           man/xml-source/amrestore.8.xml: Fix order of -o argument.
6563         * restore-src/amfetchdump.c, restore-src/amrestore.c,
6564           server-src/amcheck.c,
6565           server-src/amflush.c: Fix order of -o argument in usage function.
6566
6567 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6568         * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
6569                                        expression section.
6570
6571 2009-04-28  Nikolas Coukouma <atrus@zmanda.com>
6572         * application-src/ampgsql.pl: remove checks for PG-DATADIR
6573
6574 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
6575         * application-src/ampgsql.pl: lowercase property names when accessing them
6576
6577 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
6578         * application-src/ampgsql.pl: fix debug printing of property names,
6579           add parent directory checks to selfcheck command,
6580           check psql binary path, fix whitespace
6581         * perl/Amanda/Application.swg: update usage docs
6582         * installcheck/Installcheck/Application.pm: fix formatting tags
6583           remove 'level' argument from selfcheck command
6584         * installcheck/ampgsql.pl: test selfcheck command a bit
6585
6586 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
6587         * server-src/amcheck.c: Remove "Usage of fully qualified hostname
6588           recommended for Client" warning.
6589
6590 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
6591         * application-src/amsamba.pl: Use device if specified.
6592
6593 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
6594         * client-src/sendbackup.c: Fix dbprintf statements.
6595
6596 2009-04-24  Jean-Louis Martineau <martineau@zmanda.com>
6597         * application-src/amsuntar.pl: Add LANG property.
6598         * man/xml-source/amsuntar.8.xml: Document LANG property.
6599
6600 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
6601         * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
6602           add strange regex for UTF-8, estimate fail only if an output match
6603           an error regex or if an output match nothing.
6604
6605 2009-04-23  Dustin J. Mitchell <dustin@zmanda.com>
6606         * server-src/amcheckdump.pl: request tapes manually when using
6607           Amanda::Changer::single
6608
6609 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
6610         * application-src/amsuntar.pl: Fix validate command.
6611
6612 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
6613         * server-src/amcheckdump.pl: Wait for an input before reading tape.
6614
6615 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
6616         * application-src/amsamba.pl: Parse username ending with '%'.
6617
6618 2009-04-22  Sam Couter <sam@couter.id.au>
6619         * changer-src/chg-glue.pl: return a helpful error message when
6620           Amanda::Changer->new() fails
6621
6622 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
6623         * server-src/amstatus.pl: Print percentage done when writing to tape.
6624
6625 2009-04-21  Dustin J. Mitchell <dustin@zmanda.com>
6626         * server-src/Makefile.am server-src/xfer-server.h
6627           server-src/xfer-source-holding.c: new module reading from holding
6628           files
6629         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
6630           perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
6631           Amanda::Xfer::Source::Holding
6632         * device-src/xfer-dest-taper.c: make class macros public; ignore
6633           cache_inform when part_size == 0
6634         * device-src/xfer-device.h: xfer-dest-taper class macros
6635         * xfer-src/amxfer.h: include element-glue.h
6636         * installcheck/Amanda_Xfer_serveronly.pl: updated tests
6637
6638 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
6639         * server-src/diskfile.c: Typo.
6640
6641 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
6642         * server-src/diskfile.c: Print ", quoting may not be correct".
6643
6644 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
6645         * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
6646           property to 'tape:' driver.
6647         * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
6648           property, set is_eof to FLASE where needed.
6649         * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
6650         * device-src/tape-aix.c, device-src/tape-uware.c,
6651           device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
6652           for FSF_AFTER_FILEMARK.
6653         * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
6654           property.
6655         * xfer-src/dest-null.c: Remove bogus assert.
6656         * device-src/amtapetype.pl: New -p option to discover driver properties,
6657           it can find value for the 'FSF_AFTER_FILEMARK' property.
6658         * man/xml-source/amtapetype.8.xml: Document -p options
6659
6660 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
6661         * client-src/sendsize.c: Typo
6662         * server-src/planner.c: Don't log failed estimate message.
6663
6664 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
6665         * device-src/tape-device.c: handle EROFS in open.
6666
6667 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
6668         * changer-src/chg-zd-mtx.sh: Improve error message.
6669
6670 2009-04-20  Dustin J. Mitchell <dustin@zmanda.com>
6671         * device-src/tape-device.c: improve error messages on reading/writing
6672
6673 2009-04-17  Nikolas Coukouma <atrus@zmanda.com>
6674         * device-src/device.c: fix error message for unparsable property
6675         * installcheck/Amanda_Device.pl: test error message
6676
6677 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
6678         * server-src/cmdline.c: host, disk and timestamp argument are not regex
6679
6680 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
6681         * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
6682
6683 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
6684         * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
6685                                        properties.
6686         * man/xml-source/amsuntar.8.xml: Document them.
6687
6688 2009-04-16  Dustin J. Mitchell <dustin@zmanda.com>
6689         * perl/Amanda/MainLoop.swg: get call_later order right, more useful
6690           sub names
6691         * installcheck/Amanda_MainLoop.pl: tests for same
6692
6693 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
6694         * server-src/amcheckdump.pl: Fix three typos.
6695
6696 2009-04-16  Nikolas Coukouma <atrus@zmanda.com>
6697         * server-src/amcheckdump.pl: Print per-image status messages,
6698           with detailed error info
6699
6700 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6701         * application-src/amsamba.pl: Fix parsing of username...
6702
6703 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6704         * server-src/amcheckdump.pl: Validate image if all part are available.
6705
6706 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6707         * client-src/sendsize.c: Don't report "can't estimate level" error.
6708
6709 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6710         * server-src/taperscan.c: Make find_brand_new_tape_label return an
6711           error message instead of printing it to stderr.  Make scan_read_label
6712           use the error message from find_brand_new_tape_label.
6713
6714 2009-04-15  Dustin J. Mitchell <dustin@zmanda.com>
6715         * restore-src/amfetchdump.c: keep the order of tapes within a
6716           particular run of Amanda
6717
6718 2009-04-15  Nikolas Coukouma <atrus@zmanda.com>
6719         * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
6720           and more pleasant to debug.
6721         * installcheck/Amanda_Changer.pl,
6722           installcheck/Amanda_Changer_compat.pl,
6723           installcheck/Amanda_Changer_disk.pl,
6724           installcheck/Amanda_Changer_null.pl,
6725           installcheck/Amanda_Changer_rait.pl,
6726           installcheck/Amanda_Changer_single.pl,
6727           perl/Amanda/Changer.pm,
6728           perl/Amanda/Changer/compat.pm,
6729           perl/Amanda/Changer/disk.pm,
6730           perl/Amanda/Changer/null.pm,
6731           perl/Amanda/Changer/rait.pm,
6732           perl/Amanda/Changer/single.pm,
6733           perl/Amanda/MainLoop.swg,
6734           server-src/amrmtape.pl,
6735           server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
6736
6737 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6738         * application-src/amsamba.pl: Default amandapass file is
6739                                       CONFIG_DIR/amandapass.
6740
6741 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6742         * common-src/conffile.c: Fix inheriting properties.
6743         * installcheck/Amanda_Config.pl: Test it.
6744
6745 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6746         * amandad-src/amandad.c: Improve error message.
6747
6748 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6749         * server-src/amstatus.pl: Remove spurious debug message.
6750
6751 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
6752             Satya Ganga <gsat@zmanda.com>
6753         * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
6754
6755 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
6756             Dustin J. Mitchell <dustin@zmanda.com>
6757         Bug found by Gene Heskett.
6758         * server-src/planner.c: Set dp before using it.
6759
6760 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
6761         * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
6762                                       Allow '\' in diskname and amandapass.
6763         * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
6764
6765 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
6766         * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
6767                                        Parse hard link in index.
6768         * server-src/amstatus.pl: Fix amstatus for partial chunker.
6769         * installcheck/amstatus.pl: Test it.
6770         * installcheck/Installcheck/Run.pm: export an $exit_code variable.
6771
6772 2009-04-10  Dustin J. Mitchell <dustin@zmanda.com>
6773         * common-src/conffile.c: fix handling of double-backslash in quoted
6774           strings
6775
6776 2009-04-09  Ray Tracer <RayTracer@irc.freenode.net>
6777         * application-src/amgtar.c: add missing 'break'
6778
6779 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
6780         * common-src/conffile.c: store properties in lower-case
6781         * perl/Amanda/Config.swg: document data formats for config values
6782         * installcheck/Amanda_Config.pl: test case-sensitivity
6783
6784 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
6785         * device-src/rait-device.c: add rait_device_new_from_children
6786         * device-src/device.h: prototype
6787         * perl/Amanda/Device.swg: wrap into perl
6788         * installcheck/Amanda_Device.pl: test
6789
6790 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
6791         * device-src/tape-device.c: fix typo to get device_name right
6792
6793 2009-04-08  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
6794         * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
6795
6796 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
6797         * common-src/fileheader.c: fix early return if PROGRAM not given
6798         * perl/Amanda/Disklist.swg: do not free the C disklist
6799         * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
6800           functionality similar to server-src/holding.[ch]
6801         * server-src/holding.h: clarify comments
6802         * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
6803           installcheck/Makefile.am: tests
6804
6805 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
6806         * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
6807
6808 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
6809         * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
6810
6811 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
6812         * device-src/xfer-dest-taper.c: new xfer element to handle splitting
6813           dumpfiles over multiple volumes, with retry of failed split parts
6814         * device-src/Makefile.am: new file
6815         * device-src/xfer-device.h: new prototype
6816         * installcheck/Amanda_Xfer_serveronly.pl: new tests
6817         * installcheck/Installcheck/Run.pm: increase default vtape size
6818         * perl/Amanda/Xfer.swg: POD for new element
6819         * perl/Amanda/XferDevice.swg: wrap new element
6820         * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
6821
6822 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
6823         * client-drc/sendbackup.c: Init result.
6824
6825 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
6826         * server-src/taper-source.c (default_taper_source_seek_to_part_start):
6827           returns FALSE on not splitted dump.
6828         * server-src/driverio.c: info.last_level should not be set on error
6829                          if level >= info.last_level.
6830         * server-src/driver.c: Rename update_failed_dump_to_tape to
6831           update_failed_dump.
6832           Call update_failed_dump on failed dump to holding disk.
6833         * application-src/amgtar.c: Don't update statefile if the backup failed.
6834         * client-drc/sendbackup.c: Don't update amandates if backup failed.
6835
6836 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
6837         * man/xml-source/amanda-changers.7.xml: Document changerfile for
6838                                                 chg-disk.
6839
6840 2009-04-03  Dustin J. Mitchell <dustin@zmanda.com>
6841         * perl/Amanda/Changer/compat.pm: always configure devices while
6842           scanning
6843         * server-src/amcheckdump.pl: configure devices returned from the
6844           changer
6845
6846 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6847         * application-src/amsamba.pl: Allow empty username.
6848         * man/xml-source/amsamba.8.xml: Document empty username and password.
6849
6850 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6851         * common-src/security-util.c: Fix isdigit use.
6852
6853 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6854         * common-src/conffile.c: New client_port option.
6855         * common-src/conffile.h: New client_port option.
6856         * man/xml-source/amanda-auth.7.xml,
6857           man/xml-source/amanda-client.conf.5.xml,
6858           man/xml-source/amanda.conf.5.xml: New client_port option.
6859         * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
6860         * common-src/bsd-security.c,
6861           common-src/bsdtcp-security.c,
6862           common-src/bsdudp-security.c: Use client_port option.
6863         * common-src/security-util.c: New find_port_for_service function.
6864         * common-src/security-util.h: Prototype for find_port_for_service.
6865         * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
6866         * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
6867         * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
6868         * server-src/amadmin.c (disklist_one): Print client_port.
6869         * server-src/amcheck.c: Fix remote_errors;
6870         * server-src/diskfile.h (disk_t): Add client_port.
6871         * server-src/diskfile.c: Set client_port.
6872         * server-src/driverio.c: Send client_port to dumper.
6873         * server-src/dumper.c: Parse client_port.
6874         * server-src/server_util.c: return client_port.
6875
6876 2009-04-03  Nikolas Coukouma <atrus@zmanda.com>
6877         * device-src/s3-device.c, installcheck/Amanda_Device.pl:
6878           don't require location-compatible name for ignored value
6879
6880 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6881         * application-src/amsamba.pl: Allow empty password.
6882         * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
6883         * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
6884
6885 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
6886         * server-src/amstatus.pl: prefix error message with "backup failed:"
6887           if a dump to holding disk failed.
6888
6889 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
6890         * server-src/amstatus.pl: Print a taper status.
6891         * server-src/taper.c: Quote TAPE-ERROR reply.
6892
6893 2009-04-02  Dustin J. Mitchell <dustin@zmanda.com>
6894         * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
6895
6896 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
6897         * application-src/amsamba.pl: Typo.
6898
6899 2009-04-01  Dustin J. Mitchell <dustin@zmanda.com>
6900         * device-src/s3-device.c: always send errors from setup_handle
6901
6902 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
6903         * device-src/s3-device.c: don't clobber errors from setup_handle
6904
6905 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
6906         * NEWS: Note change to Amazon S3, add ampgsql
6907
6908 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
6909         * server-src/amcheck.c: Set l on error path.
6910
6911 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
6912         * device-src/s3.c: don't send empty location constraint,
6913           allocate error messages, fix constraint check in case of wildcard
6914         * installcheck/Amanda_Device.pl: actually test location constraints
6915
6916 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
6917         * application-src/ampgsql.pl: add newline to end of index entry
6918
6919 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
6920         * application-src/amsamba.pl: Set $self->{mesgout} before calling
6921                                       method that use it.
6922
6923 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
6924         * application-src/Makefile.am: Remove amgtar_perl.
6925         * application-src/amgtar_perl.pl: Remove file.
6926
6927 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6928         * man/xml-source/amsamba.8.xml: Document amandapass file location.
6929
6930 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6931         * application-src/amsamba.pl: allow relative AMANDAPASS property.
6932         * man/xml-source/amsamba.8.xml: Document amandapass file location.
6933         * ReleaseNotes: amsamba
6934
6935 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6936         * server-src/amcheck.c: exit(1) if match_disklist() return an error.
6937         * server-src/planner.c: Better logging if match_disklist() return an
6938                                 error.
6939
6940 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6941         * server-src/planner.c: Use new one_est_t,
6942                                 print warning for server guessed estimate.
6943
6944 2009-03-29 Dan Locks <dwlocks@zmanda.com>
6945         * packaging/rpm/amanda.spec: change a number of %if conditionals to
6946           macros which expand if they are defined.
6947
6948 2009-03-29  Nikolas Coukouma <atrus@zmanda.com>
6949         * man/xml-source/amanda-devices.7.xml: add more notes
6950
6951 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
6952         * device-src/s3.c, installcheck/Amanda_Device.pl:
6953           ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
6954           pass others as-is
6955
6956 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
6957         * installcheck/Amanda_Util.pl: fix warning
6958         * perl/Amanda/Util.swg: fix typos
6959
6960 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
6961         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
6962           use a different dummy entry
6963
6964 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
6965         * recover-src/extract_list.c: Add --level argument to application.
6966
6967 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
6968         * application-src/amsuntar.pl: Check for 'symbolic link' in index.
6969
6970 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
6971         * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
6972
6973 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
6974         * installcheck/Amanda_Device.pl: fix test counts
6975         * installcheck/Amanda_Util.pl: fix shadow variable warning
6976
6977 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
6978         * device-src/s3.c: ignore empty s3_user_token
6979         * installcheck/Amanda_Device.pl: test empty s3_user_token
6980
6981 2009-03-26  Dustin J. Mitchell <dustin@zmanda.com>
6982         * man/xml-source/amanda.conf.5.xml: document new estimate changes made
6983           2009-02-04
6984
6985 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
6986         * server-src/planner.c: Remove logging of guessed estimate.
6987
6988 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
6989         * client-src/sendsize.c: Typo.
6990
6991 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
6992         * application-src/ampgsql.pl: Add command_validate.
6993         * application-src/amgtar_perl.pl, application-src/amsamba.pl,
6994           application-src/amsuntar.pl: Sanity check for command_validate.
6995         * perl/Amanda/Application.swg: Add a default_validate function.
6996         * perl/Amanda/Script_App.pm: Execute defulat_validate if
6997                                      command_validate is not defined.
6998
6999 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7000         * perl/Amanda/Changer.pm: add a 'cmp' operator for
7001           Amanda::Changer::Error objects, to make testing easier
7002
7003 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7004         * perl/Amanda/Changer.pm: add Amanda::Changer::Error
7005           class to give more detail in changer errors
7006         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
7007           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
7008           perl/Amanda/Changer/single.pm: use it
7009         * changer-src/chg-glue.pl: handle new errors
7010         * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
7011           (chg_err_like) utility function
7012         * installcheck/Amanda_Changer.pl
7013           installcheck/Amanda_Changer_compat.pl
7014           installcheck/Amanda_Changer_disk.pl
7015           installcheck/Amanda_Changer_null.pl
7016           installcheck/Amanda_Changer_rait.pl
7017           installcheck/Amanda_Changer_single.pl: change tests
7018
7019 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7020         * perl/Amanda/Changer.pm: remove unused import() and export()
7021
7022 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7023         * device-src/s3.c: fix segfault in s3_make_bucket with location
7024           constraint
7025
7026 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
7027         * perl/Amanda/Util.swg: add full_read and full_write
7028         * installcheck/Amanda_Util.pl: test 'em
7029
7030 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
7031         * application-src/amsuntar.pl: Generate valid index stream.
7032
7033 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
7034         * man/xml-source/amanda-applications.7.xml,
7035           man/xml-source/amanda.8.xml: add missing references to applications
7036
7037 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
7038         * application-src/ampgsql.pl: older versions of perl don't like
7039           mixing functions and export tags
7040
7041 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
7042         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
7043           generate more-complete index, improve debugging and error handling
7044
7045 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
7046         * common-src/conffile.c: Fix line counting, Remove check for plugin.
7047         * server-src/diskfile.c: Add check for plugin.
7048
7049 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
7050         * server-src/planner.c: Default server estimate not larger than half
7051                                 a tape. log a warning.
7052
7053 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
7054         * application-src/amsamba.pl: Fix typo and check if smbclient is set.
7055
7056 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
7057         * application-src/amgtar.c, application-src/amstar.c:
7058           Do sanity check if required arguments are not provided.
7059
7060 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
7061         * AUTHORS: remove "active" status if not committed in over 2 years
7062         * ChangeLog: clean up some messiness
7063         * contrib/changelog_parse.pl: simple parser for ChangeLog
7064
7065 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
7066         * application-src/amgtar.c: Add NO-UNQUOTE to restore.
7067
7068 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
7069         * application-src/amgtar.c, application-src/amgtar_perl.pl,
7070           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
7071           recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
7072         * application-src/amgtar.c: add NO-UNQUOTE property.
7073         * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
7074
7075 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
7076         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
7077           fix ampgsql installchecks
7078
7079 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
7080         * application-src/amgtar.c, application-src/amgtar_perl.pl,
7081           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
7082           recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
7083
7084 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
7085         * application-src/amgtar.c, application-src/amstar.c,
7086           client-src/client_util.c, client-src/client_util.h,
7087           client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
7088           client-src/sendbackup.c, client-src/sendsize.c,
7089           common-src/conffile.c, common-src/conffile.h,
7090           common-src/util.c, oldrecover-src/extract_list.c,
7091           recover-src/extract_list.c,
7092           server-src/server_util.c: Use GPtrArray instead of my_argv[].
7093
7094 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
7095         * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
7096           Document the fact that: The { must appear at the end of a line,
7097                                   and the } on its own line.
7098
7099 2009-03-21  Jean-Louis Martineau <martineau@zmanda.com>
7100         * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
7101
7102 2009-03-20  Jean-Louis Martineau <martineau@zmanda.com>
7103         * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
7104         * recover-src/amrecover.h: Add verbose to many prototype.
7105         * recover-src/extract_list.c: Allow to use path for many command.
7106         * recover-src/set_commands.c: Add verbose to many function.
7107         * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
7108
7109 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
7110         (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
7111         * common-src/Makefile.am: don't include genversion.h in distribution
7112           tarballs
7113
7114 2009-03-19  Jean-Louis Martineau <martineau@zmanda.com>
7115         * man/Makefile.am: Add .SECONDARY target.
7116
7117 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
7118         * man/xslt/expand-sambadoc.xsl:
7119         * man/entities/global.entities.in
7120           man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
7121           for 'SEE ALSO' sections
7122         * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
7123           symbol; tweak tapecycle description
7124
7125 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
7126         * xfer-src/Makefile.am: add -release to libamxfer
7127
7128 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
7129         * server-src/amrmtape.pl, installcheck/amrmtape.pl:
7130           re-label tapes if we --erase them and --keep-label is present
7131
7132 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
7133         * installcheck/Amanda_Process.pl: Fix for OS return perl.
7134
7135 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
7136         * perl/Amanda/Process.pm: Better match of argument.
7137                                   Match 'perl' to any process name.
7138
7139 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
7140         * installcheck/Amanda_Process.pl: Check second argument if first
7141                                           argument start with a dash.
7142         * perl/Amanda/Process.pm: The process name is now returned, not perl.
7143
7144 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
7145         * man/xml-source/amrmtape.8.xml: Fix.
7146         * perl/Amanda/Process.pm: Find the process name if it is a perl script.
7147         * server-src/amrmtape.pl: Check and create the "log" file if --erase.
7148
7149 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
7150         * application-src/ampgsql.pl: fix numerous bugs, improve debug info
7151
7152 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
7153         * application-src/amgtar.c: fix typo causing check-device to be
7154           interpreted incorrectly
7155
7156 2009-03-17  Dustin J. Mitchell <dustin@zmanda.com>
7157         * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
7158           implementation of the info() method
7159         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
7160           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
7161           perl/Amanda/Changer/single.pm: use them
7162         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
7163           test the results
7164
7165 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
7166         * server-src/amlabel.c: give correct exit status on failure
7167
7168 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
7169         * server-src/amstatus.pl: dump in "writing to tape" mode should also
7170                                   be included in the "dumped" summary.
7171
7172 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
7173         * server-src/find.c: Fix listing of partial dump in holding disk.
7174
7175 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
7176         * installcheck/amreport.pl: New file.
7177
7178 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
7179         * common-src/columnar.c: New defaults, allow precision to be set.
7180         * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
7181         * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
7182         * installcheck/Makefile.am: add amreport.
7183         * installcheck/amreport.pl: Check different value of columnspec.
7184         * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
7185
7186 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
7187         * server-src/planner.c: Log quoted qname.
7188
7189 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
7190         * device-src/amtapetype.pl: do not produce broken 'bytes' units
7191         * installcheck/amtapetype.pl: test changes
7192         * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
7193         * common-src/conffile.c: fix default for tapetype:length
7194
7195 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
7196         * common-src/amfeatures.c: improve error handling in
7197           am_string_to_feature, return NULL on error
7198         * amandad-src/amandad_util.c recover-src/amrecover.c
7199           server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
7200           server-src/driver.c server-src/dumper.c server-src/planner.c: always
7201           terminate the string passed to am_string_to_feature
7202
7203 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
7204         * server-src/taper.c: return DONE if input file is partial.
7205
7206 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
7207         * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
7208           value for boolean properties.
7209
7210 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
7211         * server-src/amstatus.pl: Print "failed: process terminated while" for
7212                                   dead run. Change "wait for" for "waiting for".
7213
7214 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
7215         * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
7216         * man/xml-source/amstar.8.xml: Document it.
7217
7218 2009-03-10  Dustin J. Mitchell <dustin@zmanda.com>
7219         * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
7220
7221 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
7222         * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
7223
7224 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
7225         * application-src/ampgsql.pl:
7226           set environment variables when running psql (from selfcheck)
7227
7228 2009-03-07  Nikolas Coukouma <atrus@zmanda.com>
7229         * application-src/ampgsql.pl: add selfcheck to ampgsql
7230
7231 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
7232         * perl/Amanda/Changer/rait.pm: replace die() with a proper error
7233           return
7234
7235 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
7236         * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
7237           config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
7238           configure.in: upgrade to libtool-2.2.4
7239
7240 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
7241         * restore-src/restore.c: remove incorrect assertion
7242
7243 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
7244         * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
7245           on a bad feature string
7246
7247 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
7248         * Makefile.am: always build xfer-src, on client or server
7249         * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
7250           device-src/xfer-device.h device-src/xfer-dest-device.c
7251           device-src/xfer-source-device.c: move device-specific xfer elts to
7252           device-src
7253         * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
7254           generic glue
7255         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
7256           only import server-specific symbols if they are available
7257         * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
7258           installcheck/Amanda_Xfer_serveronly.pl: split into general and
7259           server-specific checks
7260
7261 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
7262         * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
7263           options so we don't print "mkdir ..." lines into our backup data
7264
7265 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>
7266         * installcheck/Amanda_Device.pl: only perform property tests when we
7267           have a working S3 device; and get test counts right
7268
7269 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
7270         * man/xml-source/amanda.conf.5.xml,
7271           man/xml-source/amanda-devices.7.xml,
7272           installcheck/Amanda_Config.pl,
7273           installcheck/Amanda_Device.pl,
7274           common-src/util.c,
7275           common-src/glib-util.c,
7276           common-src/conffile.c,
7277           common-src/conffile.h:
7278           be consistent in the various names for 'true' and 'false' we allow,
7279           specifically in device properties
7280
7281 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
7282         * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
7283           while backing up data dir
7284
7285 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
7286         * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
7287           make ampgsql use runtar (so it can access PostgreSQL's files)
7288
7289 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
7290         * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
7291         * installcheck/Amanda_Changer_rait.pl: test it
7292         * man/xml-source/amanda-changers.7.xml: document it
7293
7294 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
7295         * device-src/rait-device.c: fix failure when parity (last) child
7296           has failed
7297         * installcheck/Amanda_Device.pl: test the fix
7298
7299 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
7300         * changer-src/chg-glue.pl: add debugging
7301         * perl/Amanda/Changer/compat.pm: add debugging
7302
7303 2009-03-03  Nikolas Coukouma <atrus@zmanda.com>
7304         * application-src/ampgsql.pl: don't hang if .backup file never appears
7305
7306 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
7307         * example/amanda-client-postgresql.conf.in:
7308           update example and make it more complete
7309
7310 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
7311         * application-src/ampgsql.pl,
7312           man/xml-source/ampgsql.8.xml: cleanup old WAL files
7313
7314 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
7315         * installcheck/amrmtape.pl,
7316           server-src/amrmtape.pl: zero datestamp with --keep-label
7317
7318 2009-03-01  Nikolas Coukouma <atrus@zmanda.com>
7319         * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
7320
7321 2009-02-27  Jean-Louis Martineau <martineau@zmanda.com>
7322         * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
7323
7324 2009-02-27  Dustin J. Mitchell <dustin@zmanda.com>
7325         * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
7326
7327 2009-02-26  Dustin J. Mitchell <dustin@zmanda.com>
7328         * restore-src/restore.c: if the changer does not provide a device,
7329           use the configured tapedev
7330
7331 2009-02-26  Dan Locks <dwlocks@zmanda.com>
7332         * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
7333           rpm builds will be broken for a bit longer in trunk
7334
7335 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
7336         * application-src/amgtar_perl.pl,
7337           application-src/amlog-script.pl,
7338           application-src/ampgsql.pl,
7339           application-src/amsamba.pl,
7340           application-src/amsuntar.pl,
7341           application-src/amzfs-sendrecv.pl,
7342           application-src/amzfs-snapshot.pl,
7343           application-src/script-email.pl,
7344           perl/Amanda/Application.swg,
7345           perl/Amanda/Script.pm,
7346           perl/Amanda/Script_App.pm:
7347           load config-name/amanda-client.conf as well as amanda-client.conf
7348
7349 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
7350         * application-src/ampgsql.pl,
7351           installcheck/amgtar.pl,
7352           installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
7353
7354 2009-02-25  Nikolas Coukouma <atrus@zmanda.com>
7355         * application-src/amoracle.pl,
7356           application-src/ampgsql.pl,
7357           example/amanda-client-oracle.conf.in,
7358           example/amanda-client-postgresql.conf.in,
7359           installcheck/ampgsql.pl,
7360           man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
7361           in line with conventions
7362
7363 2009-02-24  Jean-Louis Martineau <martineau@zmanda.com>
7364         * amandad-src/amandad.c, application-src/amgtar.c,
7365           changer-src/scsi-changer-driver.c, client-src/client_util.c,
7366           common-src/conffile.c, device-src/s3-device.c,
7367           oldrecover-src/set_commands.c, recover-src/set_commands.c,
7368           server-src/amindexd.c, server-src/planner.c,
7369           server-src/reporter.c: Replace all occurences of index by strchr,
7370                                  Replace all occurences of rindex by strrchr.
7371
7372 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
7373         * device-src/s3.c: make s3_list_keys use its own buffer
7374
7375 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
7376         * device-src/s3.c: fix error buffer handling of overflow data
7377
7378 2009-02-24  Dustin J. Mitchell <dustin@zmanda.com>
7379         * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
7380           property
7381
7382 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
7383         * man/xml-source/ampgsql.8.xml,
7384           man/xml-source/amsamba.8.xml,
7385           man/xml-source/amstar.8.xml,
7386           man/xml-source/amsuntar.8.xml:
7387           document the mapping of configure options to default application
7388           property values
7389
7390 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
7391         * device-src/rait-device.c: actually *report* mismatched child
7392           labels/timestamps; correctly detect the 'first' device; and free old
7393           device label/time
7394
7395 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
7396         * server-src/driver.c: improve confusing out-of-tapes error message
7397
7398 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
7399         * server-src/changer.c: if changer_find is used to search for a
7400           specific tape, do not try a redundant manual scan after the
7401           search fails
7402
7403 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7404         * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
7405           directory to test dumps
7406
7407 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7408         * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
7409           installcheck/Amanda_Changer_disk.pl
7410           installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
7411           installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
7412           installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
7413           installcheck/Installcheck/Config.pm
7414           installcheck/Installcheck/Dumpcache.pm
7415           installcheck/Installcheck/Run.pm installcheck/Makefile.am
7416           installcheck/amarchiver.pl installcheck/amfetchdump.pl
7417           installcheck/amgetconf.pl installcheck/amgtar.pl
7418           installcheck/ampgsql.pl installcheck/amservice.pl
7419           installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
7420           subdirectory of AMANDA_TMPDIR for installcheck temporary files
7421
7422 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7423         * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
7424         * amar-src/amar-test.c common-src/amflock-test.c
7425           common-src/event-test.c common-src/queueing-test.c
7426           common-src/quoting-test.c common-src/semaphore-test.c
7427           device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
7428           drastically
7429
7430 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7431         * common-src/conffile.c: change the default changerfile to
7432           $CONFIG_DIR/changer
7433
7434 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7435         * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
7436         * device-src/device.c: support PROPERTY_COMMENT
7437         * installcheck/Amanda_Device.pl: test it
7438         * man/xml-source/amanda-devices.7.xml: document it
7439
7440 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
7441         * common-src/conffile.c: Add t, tb, tera, ... suffix.
7442         * man/xml-source/amanda.conf.5.xml: Document it.
7443
7444 2009-02-19  Nikolas Coukouma <atrus@zmanda.com>
7445         * example/amanda-client-postgresql.conf.in,
7446           example/Makefile.am,
7447           man/Makefile.am,
7448           man/xml-source/ampgsql.8.xml,
7449           configure.in,
7450           application-src/Makefile.am,
7451           application-src/ampgsql.pl,
7452           installcheck/Makefile.am,
7453           installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
7454         * installcheck/Installcheck/Application.pm:
7455           fix property names in case of underscores
7456         * installcheck/Installcheck/Run.pm:
7457           if application starts with /, don't assume it's in sbin
7458
7459 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7460         * perl/Amanda/Util.swg: move POD to the top of the file, refomat
7461
7462 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7463         * common-src/util.h common-src/util.c: remove unneeded needs_quotes
7464
7465 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7466         * installcheck/Amanda_Types.pl
7467           installcheck/Amanda_Header.pl: rename Amanda::Types to
7468           Amanda::Header, add to_string and from_string methods
7469         * common-src/fileheader.c: fix bug in returned size
7470         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
7471           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
7472           perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
7473           perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
7474           Amanda::Header
7475
7476 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7477         * common-src/Makefile.am common-src/queue.h: remove file
7478         * amandad-src/amandad.c common-src/alloc.c
7479           common-src/bsdtcp-security.c common-src/krb5-security.c
7480           common-src/local-security.c common-src/rsh-security.c
7481           common-src/security-util.c common-src/security-util.h
7482           common-src/ssh-security.c: remove includes and replace TAILQ with
7483           GSList
7484
7485 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7486         * config/amanda/krb4-security.m4: Remove file
7487         * common-src/krb4-security.c: Remove file.
7488         * example/config.site, example/amanda.conf.in,
7489           client-src/client_util.c, amandad-src/amandad.c,
7490           man/xml-source/amanda-client.conf.5.xml,
7491           man/xml-source/amanda.conf.5.xml,
7492           man/xml-source/amgetconf.8.xml,
7493           configure.in, server-src/dumper.c,
7494           server-src/diskfile.c, perl/Amanda/Constants.pm.in,
7495           installcheck/Amanda_Config.pl, common-src/amfeatures.h,
7496           common-src/security.c, common-src/security.h,
7497           common-src/genversion.c, common-src/amgetconf.pl,
7498           common-src/conffile.c, common-src/Makefile.am,
7499           common-src/amfeatures.c: Remove krb4 support.
7500
7501 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7502         * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
7503
7504 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7505         * common-src/debug.h common-src/debug.c: add ability to supporess
7506           tracebacks
7507         * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
7508
7509 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7510         * perl/Makefile.am: actually install Amanda::Change::rait
7511
7512 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7513         * common-src/util.c: add missing 'const'
7514
7515 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7516         * common-src/util.c common-src/util.h device-src/rait-device.c
7517           perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
7518           expand_braced_alternates and collapse_braced_alternates out of
7519           rait-device.c and into util.c, and make them available from Perl
7520         * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
7521           perl/Makefile.am: new changers
7522         * installcheck/Amanda_Changer_null.pl
7523           installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
7524           changers
7525         * changer-src/Makefile.am changer-src/chg-null.sh
7526           changer-src/chg-rait.sh: remove old scripts
7527         * man/xml-source/amanda-changers.7.xml
7528           man/xml-source/amanda-devices.7.xml: update documentation
7529
7530 2009-02-18  John Hein <jhein@timing.com>
7531         * common-src/dgram.c: set the send buffer size when creating a new
7532           socket
7533
7534 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7535         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
7536           change PP_SCRIPT to SCRIPT, to match the name of the config param
7537         * server-src/diskfile.c installcheck/Amanda_Config.pl:
7538           use new symbols
7539
7540 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7541         * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
7542           and applications
7543
7544 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7545         * common-src/conffile.c common-src/conffile.h: use a simple
7546           identlist_t for pp_scripts
7547         * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
7548           server-src/server_util.c: use identlist_t's
7549
7550 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7551         * perl/Amanda/Config.swg: perl bindings
7552
7553 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7554         * common-src/conffile.c common-src/conffile.h: Change
7555           DUMPTYPE_APPLICATION to give a string val_t; remove the
7556           pointer-to-application val_t subtype; also fix many
7557           memory leaks and simplify memory management
7558         * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
7559           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
7560           server-src/planner.c: use new val_t result correctly
7561
7562 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7563         * client-src/selfcheck.c: Do dle check without disk.
7564         * common-src/amxml.c: Accept a dle without a disk.
7565         * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
7566           application-src/amgtar_perl.pl,
7567           application-src/amsamba.pl, application-src/amstar.c,
7568           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
7569           application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
7570                                              a disk is not provided.
7571
7572 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7573         patch by glowkrantz
7574         * application-src/amzfs-sendrecv.pl: Use compression ratio for
7575                                              compressed filesystem.
7576
7577 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7578         * server-src/amdump.sh: Check if planner/driver are executable and
7579                                 log error.
7580
7581 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
7582         * restore-src/amfetchdump.c: remove unintended debugging messages
7583
7584 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
7585         * changer-src/chg-manual.sh: make messages clearer
7586         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
7587           _manual_scan
7588         * server-src/amcheckdump.pl: handle errors better
7589
7590 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
7591         * changer-src/chg-manual.sh: make messages clearer
7592         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
7593           _manual_scan
7594         * server-src/amcheckdump.pl: handle errors better
7595
7596 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
7597         * recover-src/extract_list.c: Set all_level with level_t.
7598
7599 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
7600         * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
7601           Jose Hales-Garcia <jose@stat.ucla.edu>
7602
7603 2009-02-12  Jean-Louis Martineau <martineau@zmanda.com>
7604         * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
7605         * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
7606                                     NONBLOCKING_OPEN property.
7607         * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
7608         * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
7609                                                property.
7610         * server-src/amdevcheck.pl: Call $device->configure(1).
7611
7612 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
7613         * changer-src/chg-rait.sh: get directory handling right (patch from
7614           Jim.pennino on wiki.zmanda.com)
7615         * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
7616           do_eject
7617         * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
7618           volume that's not currently reserved
7619         * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
7620           after cleaning or ejecting
7621         * installcheck/Amanda_Changer_compat.pl: updated tests
7622
7623 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
7624         * perl/Makefile.am: add a version number to libamglue
7625
7626 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
7627         * restore-src/restore.c: fix incorrect assertion
7628
7629 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
7630         * config/amanda/debugging.m4: fix --disable-syntax-checks
7631
7632 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
7633         * config/amanda/debugging.m4: add --disable-syntax-checks
7634         * config/automake/scripts.am: disable them
7635         * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
7636
7637 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
7638         * man/xml-source/amanda.conf.5.xml: remove TODO
7639
7640 2009-02-07  Dustin J. Mitchell <dustin@zmanda.com>
7641         * common-src/event.c: use built-in child watch source on FreeBSD
7642
7643 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
7644         * server-src/dumper.c: options is already unquoted.
7645         * common-src/util.c: argument should not be quoted when added to argv.
7646
7647 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
7648         * installcheck/Amanda_Changer_compat.pl: remove debugging code
7649
7650 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
7651         patch by Yoshihiro Ishikawa
7652         * recover-src/extract_list.c: Handle application-api.
7653
7654 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
7655         * installcheck/Amanda_Changer_compat.pl: support 'eject'
7656         * perl/Amanda/Changer.pm: change release/do_relase relationship
7657         * perl/Amanda/Changer/compat.pm: same
7658         * perl/Amanda/Changer/disk.pm: same
7659         * perl/Amanda/Changer/single.pm: same
7660
7661 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7662         * common-src/conffile.h: Add ES_ES.
7663         * common-src/conffile.c: Handle ES_ES in switch.
7664         * server-src/amadmin.c: Handle ES_ES in switch.
7665         * client-src/sendsize.c: Works with many multiple estimate method.
7666         * server-src/planner.c: Works with many multiple estimate method.
7667
7668 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7669         * application-src/amgtar.c, application-src/amgtar_perl.pl,
7670           application-src/amsamba.pl, application-src/amstar.c,
7671           application-src/amsuntar.pl,
7672           application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
7673         * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
7674         * client-src/client_util.h: New field to keep its value.
7675
7676 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7677         * common-src/amfeatures.c,
7678           common-src/amfeatures.h: And fe_xml_level_server amfeature.
7679         * common-src/amxml.c: parse <server> tag in level tag.
7680         * server-src/planner.c: Send <server> tag,
7681                         Move estimate server calculation to its own function.
7682
7683 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7684         * client-src/client_util.c, client-src/sendbackup-gnutar.c,
7685           client-src/sendbackup.c, client-src/sendbackup-dump.c,
7686           client-src/sendsize.c,
7687           client-src/selfcheck.c, recover-src/extract_list.c,
7688           common-src/amxml.c,
7689           common-src/amxml.h: Change Change dle->level for dle->levellist,
7690                               each element is a level_t struct.
7691
7692 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7693         * amplot/amplot.awk: Set term to x11.
7694
7695 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7696         * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
7697         * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
7698         * common-src/amxml.c: Parse multiple estimate value.
7699         * common-src/amxml.h: Change estimate for estimatelist in dle_t.
7700         * server-src/diskfile.h (xml_estimate): Protoype.
7701         * server-src/diskfile.c (xml_estimate): New function.
7702         * server-src/amcheck.c: Use xml_estimate.
7703         * server-src/planner.c: Use xml_estimate.
7704         * client-src/sendbackup.c, client-src/sendsize.c,
7705           client-src/selfcheck.c: Use first estimate in estimatelist.
7706
7707 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
7708         * common-src/conffile.c: Correctly copy pp_scriptlist.
7709
7710 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
7711         * server-src/amstatus.pl: Remove a bogus line.
7712
7713 2009-01-30  Dustin J. Mitchell <dustin@zmanda.com>
7714         * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
7715
7716 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7717         * recover-src/amrecover.c: Always print error.
7718         * server-src/amindexd.c: read stderr of uncompress and sort process,
7719           put the result in a GPtrArray, send the complete array to amrecover.
7720
7721 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7722         * common-src/conffile.c: Typo.
7723
7724 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7725         * common-src/conffile.c, common-src/conffile.h,
7726           server-src/diskfile.h, server-src/amcheck.c,
7727           server-src/planner.c, server-src/amadmin.c,
7728           server-src/diskfile.c, perl/Amanda/Config.swg,
7729           installcheck/Amanda_Config.pl: Use a list of estimate.
7730
7731 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7732         * common-src/conffile.c, common-src/conffile.h,
7733           server-src/amcheck.c, server-src/holding.c,
7734           server-src/driver.c, perl/Amanda/Config.swg,
7735           installcheck/Amanda_Config.pl: 'define' keyword is use only to define
7736           an holding disk, you must use 'holdisgdisk' without 'define' if you
7737           want to use it.
7738
7739 2009-01-29  Dustin J. Mitchell <dustin@zmanda.com>
7740         * config/config.guess config/config.sub: new updates from FSF
7741
7742 2009-01-29  Benjamin Lewis <bhlewis@purdue.edu>
7743         * autogen: fix quoting error
7744         * config/amanda/dumpers.m4:  use a hostname we're more confident
7745           doesn't exist
7746
7747 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
7748         * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
7749           perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
7750           perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
7751
7752 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
7753         * common-src/conffile.c: support "." as a config name, indicating
7754           "this directory"
7755         * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
7756           old-school changer shell scripts
7757         * man/xml-source/amanda.8.xml: docs
7758         * perl/Amanda/Config.swg: docs
7759
7760 2009-01-28  Nikolas Coukouma <atrus@zmanda.com>
7761         * installcheck/Makefile.am: do not run client software checks --without-client
7762
7763 2009-01-28  Jean-Louis Martineau <martineau@zmanda.com>
7764         * config/automake/scripts.am: Fix another get line numbers right when
7765           syntax-checking perl scripts
7766
7767 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
7768         * installcheck/Installcheck/Application.pm: make sure all data is read
7769         * installcheck/amgtar.pl: check if GNU tar is present,
7770           avoid using atime-preserve, make sure reported and actual size match
7771
7772 2009-01-27  Dustin J. Mitchell <dustin@zmanda.com>
7773         * installcheck/amgtar.pl: fix typo
7774
7775 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
7776         * installcheck/Installcheck/Application.pm: Add Installcheck::Application
7777           harness for running things via the Application API
7778         * installcheck/amgtar.pl: Add installchecks for amgtar
7779         * installcheck/Makefile.am: Add files to build and distribution
7780
7781 2009-01-26  Dustin J. Mitchell <dustin@zmanda.com>
7782         * config/automake/scripts.am: get line numbers right when
7783           syntax-checking perl scripts
7784
7785 2009-01-26 Satya Ganga <gsat@zmanda.com>
7786         * xml-source/amsuntar.8.xml : Update man page with RBAC info
7787         * application-src/amsuntar.pl : Adding support for estimate
7788
7789 2009-01-23  Dustin J. Mitchell <dustin@zmanda.com>
7790         * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
7791           used by the tape device
7792         * device-src/tape-device.c: enable appending, using F_NOOP when
7793           necessary to avoid writing a double filemark
7794         * installcheck/Amanda_Device.pl: new tests
7795
7796 2009-01-22  Dustin J. Mitchell <dustin@zmanda.com>
7797         * common-src/fileheader.c common-src/fileheader.h
7798           device-src/device.c device-src/device.h: make header-
7799           building more flexible, allowing varying sizes
7800         * device-src/s3-device.c: use the new flexibility to write only the
7801           header data necessary to S3
7802         * device-src/tape-device.c device-src/vfs-device.c
7803           restore-src/restore.c server-src/chunker.c server-src/dumper.c
7804           server-src/holding.c: use new function signatures, without changing
7805           functionality
7806
7807 2009-01-22  Jean-Louis Martineau <martineau@zmanda.com>
7808         * man/xml-source/amstar.8.xml: Typo.
7809
7810 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7811         * server-src/driver.c: Add call to short_dump_state().
7812
7813 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7814         * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
7815
7816 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>,
7817             Dustin J. Mitchell <dustin@zmanda.com>
7818         * common-src/fileheader.c: Remove strquotedstr function.
7819         * common-src/quoting-test.c: Test strquotedstr function.
7820         * common-src/util.c: Add prototype for strquotedstr function.
7821         * common-src/util.h: Add new strquotedstr function.
7822
7823 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7824         * application-src/Makefile.am: Typo
7825
7826 2009-01-21  Dustin J. Mitchell <dustin@zmanda.com>
7827         Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
7828         * packaging/rpm/amanda.spec: detect and properly support suse11.1,
7829           with a temporary hack to support suse11, too
7830
7831 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7832         * server-src/amstatus.pl: Fix use of %free and %qlen keys.
7833
7834 2009-01-20 Dan Locks <dwlocks@zmanda.com>
7835         * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
7836           libtermcap.so.2 for fedora, change tar requirement to %{tarver}
7837
7838 2009-01-20 Dan Locks <dwlocks@zmanda.com>
7839         * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
7840           install perl for the client package add "directory mode" to defattr
7841           statements where appropriate.
7842
7843 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
7844         * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
7845
7846 2009-01-19 Satya Ganga <gsat@zmanda.com>
7847         * application-src/amsuntar.pl : New amsuntar application
7848         * application-src/Makefile.am : Make file updates to include amsuntar
7849         * man/entities/global.entities.in : Add to gsat  to the name list
7850         * man/Makefile.am  man/xml-source/amsuntar.8.xml : add new man amsuntar man page
7851
7852 2009-01-19  Dustin J. Mitchell <dustin@zmanda.com>
7853         * device-src/vfs-device.c: remove bogus locking stubs that are
7854           making syscalls like close(-1); fix error handling in read_label
7855           if check_is_dir fails()
7856
7857 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
7858         * device-src/vfs-device.c: robust_open can return fd 0.
7859
7860 2009-01-19  Tom Robinson <tom.robinson@constantstream.com>
7861         * server-src/amoverview.pl: fix parsing of filenames containing colons
7862
7863 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
7864         * application-src/amzfs-sendrecv.pl: Handle incremental,
7865                                              new KEEP-SNAPSHOT property.
7866         * man/xml-source/amzfs-sendrecv.8.xml: Document it.
7867         * application-src/teecount.c: New program.
7868         * application-src/Makefile.am: Add teecount.
7869         * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
7870         * common-src/amanda.h: include "safe-read.h"
7871
7872 2009-01-17  Jean-Louis Martineau <martineau@zmanda.com>
7873         * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
7874                                   result.
7875
7876 2009-01-16 Dan Locks <dwlocks@zmanda.com>
7877         * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
7878
7879 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7880         * packaging/rpm/amanda.spec: Fix for fedora 10.
7881
7882 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
7883         * device-src/vfs-device.c: don't cache the dir_handle, as
7884           such caching does not work on some network filesystems
7885
7886 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
7887         * man/xml-source/amanda.conf.5.xml: add documentation
7888           of inheritance for config sections
7889
7890 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
7891         * device-src/amtapetype.pl: add a 'config' parameter
7892         * man/xml-source/amtapetype.8.xml: documentation
7893         * installcheck/amtapetype.pl: test with a small vtape
7894
7895 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7896         * server-src/driver.c: Use bitwise NOT for taper_state.
7897
7898 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7899         * server-src/taper.c: Go to next tape if device_start_file fail.
7900         * device-src/tape-device.c: write a filemark when a file is finished.
7901         * device-src/tape-device.h (TapeDevice): Remove first_file.
7902
7903 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7904         * client-src/sendbackup.c: Fix for no index with application.
7905         * application-src/amstar.c: Improve error reporting.
7906         * application-src/amgtar.c: Improve error reporting.
7907
7908 2009-01-14  Jean-Louis Martineau <martineau@zmanda.com>
7909         * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
7910         * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
7911
7912 2009-01-13  Dustin J. Mitchell <dustin@zmanda.com>
7913         * perl/Amanda/Paths.pm.in: add $localstatedir
7914         * server-src/amserverconfig.pl: remove extraneous /
7915
7916 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
7917         * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
7918                                             defining an holdingdisk.
7919         * common-src/conffile.c: Document it.
7920
7921 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
7922         * server-src/amcheck.c: Check fallback_splitsize is smaller than
7923                                 physmem_total().
7924         * server-src/taper-mem-port-source.c: Dont; check physmem_available.
7925
7926 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
7927         * server-src/server_util.c: New get_pending_cmd function.
7928         * server-src/server_util.h: get_pending_cmd prototype.
7929         * server-src/driver.c: Send message to dumper in ABORT command.
7930         * server-src/driverio.c: Send message to dumper in ABORT command.
7931         * server-src/dumper.c: Check for ABORT cmd.
7932         * server-src/reporter.c: Don't log duplicate
7933                                  'Not enough holding disk space' error
7934
7935 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
7936         * server-src/driver.c: Fix result_argv subscript.
7937
7938 2009-01-08  Jean-Louis Martineau <martineau@zmanda.com>
7939         * restore-src/amfetchdump.c: Write to stderr.
7940
7941 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>,
7942             Dustin J. Mitchell <dustin@zmanda.com>
7943         * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
7944           after it is use.
7945         * installcheck/Amanda_Device.pl: Add more tape check.
7946
7947 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
7948         * server-src/taper.c: Don't call changer_label() if a changer is not
7949                               in use.
7950
7951 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
7952         * server-src/driverio.c: Set *result_argv to NULL on EOF.
7953         * server-src/taper-mem-port-source.c: Set an error if the memory can't
7954           be allocated for the memory buffer.
7955
7956 2009-01-05  Dustin J. Mitchell <dustin@zmanda.com>
7957         * client-src/runtar.c: remove unnecessary check for existence of
7958           CLIENT_LOGIN
7959
7960 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
7961         * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
7962           perl/Amanda/Xfer.swg: Fix compiler warning.
7963
7964 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
7965         * config/automake/scripts.am: Remove 'use lib' line before doing check.
7966
7967 2008-12-22  Paul Yeatman <pyeatman@zmanda.com>
7968         * man/entities/global.entities.in: added author/email entity for me
7969         * man/xml-source/amanda-auth.7.xml: newly added man page
7970         * man/Makefile.am: added amanda-auth to section 7
7971         * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
7972         and added link to amanda-auth man page
7973         * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
7974         amanda-auth and added link to amanda-auth man page
7975
7976 2008-12-22  Nikolas Coukouma <atrus@zmanda.com>
7977         * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
7978
7979 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7980         * device-src/s3.c: translate error code 0 to "None", not NULL
7981
7982 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7983         * application-src/amgtar.c,
7984           application-src/amstar.c: Use sizeof(line) for argument to fgets.
7985
7986 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
7987         * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
7988                                            in section 5.
7989
7990 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7991         * installcheck/Installcheck/Dumpcache.pm
7992           installcheck/Installcheck/Run.pm installcheck/amdump.pl
7993           installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
7994           it, and use it in amdump and pp-scripts
7995         * application-src/amlog-script.pl: don't pretend to be script-email
7996         * man/Makefile.am: amanda-archive-format should be section 5
7997         * man/xml-source/amanda-archive-format.5.xml: small tweaks
7998         * man/xml-source/amanda-changers.7.xml: fix authorship
7999         * man/xml-source/amanda.8.xml: add link to amvault(8)
8000         * man/xml-source/amvault.8.xml: enumerate limitations of this version
8001         * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
8002
8003 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
8004         * config/amanda/dirs.m4: add --with-amdatadir
8005         * example/Makefile.am: use it for examples and templates
8006         * perl/Amanda/Paths.pm.in: add $amdatadir
8007         * server-src/amserverconfig.pl: use it
8008         * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
8009           so that built packages still put examples and templates in
8010           /var/lib/amanda
8011
8012 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
8013         * application-src/amstar.c: Use fgets to read star output.
8014         * application-src/amgtar.c: Use fgets to read gtar output.
8015
8016 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>,
8017             Dustin J. Mitchell <dustin@zmanda.com>
8018         * common-src/util.c: Convert underscore in application and script
8019                              property name to dash.
8020         * device-src/property.c: Make underscore and dash equal in device
8021                                  property name.
8022         * installcheck/Amanda_Device.pl: Check device property name with
8023                                          mixed case and dash.
8024         * installcheck/pp-scripts.pl: Check property name with underscore.
8025
8026 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
8027         * server-src/reporter.c: Fix reporting of FLUSH.
8028
8029 2008-12-21  Dustin J. Mitchell <dustin@zmanda.com>
8030         * device-src/s3-device.c: use devpay if the user token property is
8031           given; otherwise, regular S3
8032         * installcheck/Amanda_Device.pl: adjust tests to correspond
8033
8034 2008-12-19  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
8035         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
8036           Reset read and write when retrying a failed request
8037
8038 2008-12-19  Dustin J. Mitchell <dustin@zmanda.com>
8039         * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
8040           to test the SSL_CA_INFO property
8041
8042 2008-12-19  Jean-Louis Martineau <martineau@zmanda.com>
8043         * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
8044
8045 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
8046         * common-src/security-util.c: Don't free 'rc'.
8047
8048 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
8049         * man/xml-source/amgtar.8.xml: Improve documentation of regex.
8050
8051 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
8052         * common-src/conffile.h (anonymous_value): New prototype.
8053         * common-src/conffile.c (anonymous_value): New function.
8054         * common-src/conffile.c: Use anonymous_value.
8055         * server-src/diskfile.c: Use anonymous_value.
8056
8057 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
8058         * perl/Amanda/Script_App.pm: Fix infinite loop.
8059         * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
8060
8061 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
8062         * server-src/planner.c: Run script only if todo is set.
8063
8064 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
8065         * installcheck/amfetchdump.pl: chdir() before rmtree().
8066
8067 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
8068         * installcheck/amarchiver.pl: chdir() before rmtree().
8069
8070 2008-12-17  Dustin J. Mitchell <dustin@zmanda.com>
8071         * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
8072         * installcheck/pp-scripts.pl: add atime-preserve property
8073
8074 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
8075         * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
8076           of amanda.css.
8077
8078 2008-12-16 Dan Locks <dwlocks@zmanda.com>
8079         * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
8080           "present but cannot be compiled" warning during debian packaging.
8081
8082 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
8083         * common-src/security-util.c: Don't close if it's not open.
8084
8085 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
8086         * application-src/Makefile.am: Add amlog-script.
8087         * application-src/amlog-script.pl: New scripts.
8088         * server-src/amcheck.c , server-src/planner.c,
8089           server-src/server_util.c, server-src/server_util.h,
8090           server-src/driver.c: Add level argument to run_server_scripts().
8091           The script is executed with that level argument.
8092         * installcheck/pp-scripts.pl: Check scripts.
8093         * installcheck/Makefile.am: Add pp-scripts.
8094
8095 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
8096         * man/Makefile.am man/xml-source/amanda-changers.7.xml
8097           man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
8098           man/xml-source/amanda.conf.5.xml: new documentation
8099         * perl/Amanda/Changer.pm: not finished yet!
8100         * perl/Amanda/Changer/compat.pm: fix error message
8101         * server-src/changer.c changer-src/chg-glue.pl:
8102           better error handling
8103
8104 2008-12-15  Jean-Louis Martineau <martineau@zmanda.com>
8105         * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
8106
8107 2008-12-15  Dustin J. Mitchell <dustin@zmanda.com>
8108         * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
8109         * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
8110           stringify bigints in is_deeply arguments
8111         * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
8112         * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
8113           BigIntCompat for perl-5.6 compatibility
8114
8115 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
8116         * perl/Makefile.am,
8117           perl/amglue/amglue.swg,
8118           perl/amglue/filehandles.swg: add typemap to convert perl file handles
8119           to int file descriptors
8120         * installcheck/Amanda_Device.pl: update usage
8121         * perl/Amanda/Device.swg,
8122           perl/Amanda/Archive.swg,
8123           perl/Amanda/MainLoop.swg: update docs, make typemap apply
8124
8125 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
8126         * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
8127           ability to test well with just DevPay credentials
8128
8129 2008-12-14  Dustin J. Mitchell <dustin@zmanda.com>
8130         * man/Makefile.am: change manpage build process
8131         * man/entities/global.entities.in: generate with config.status
8132         * man/xslt/html.xsl.in: new templates to handle authors
8133         * man/xslt/man.xsl.in: new templates to handle authors
8134         * man/xml-source/*.xml: change specification of authors
8135         * man/xml-source/amanda-applications.7.xml: add links to apps
8136         * man/xml-source/amanda-scripts.7.xml: add links to scripts
8137
8138 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
8139         * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
8140                                             always be at the beginning of the line.
8141
8142 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
8143         * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
8144
8145 2008-12-12  John Hein <jhein@timing.com>
8146         * server-src/amdump.sh: fix Open3 invocation to work on
8147           FreeBSD-4.x
8148
8149 2008-12-12  Nikolas Coukouma <atrus@zmanda.com>
8150         * device-src/s3-device.c,
8151           device-src/s3.c,
8152           device-src/s3.h,
8153           installcheck/Amanda_Device.pl,
8154           man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
8155
8156 2008-12-12  Dustin J. Mitchell <dustin@zmanda.com>
8157         * client-src/sendbackup-dump.c: fix previous commit to not use
8158           precompiler directives in the middle of a macro invocation
8159
8160 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
8161         * NEWS, ReleaseNotes: Add amzfs-sendrecv.
8162         * client-src/sendbackup.c: Fix indexd test.
8163         * man/Makefile.am: Add amzfs-sendrecv.8.
8164         * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
8165         * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
8166         * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
8167         * man/xml-source/amzfs-sendrecv.8.xml: New man page.
8168         * application-src/amzfs-sendrecv.pl: New application.
8169         * application-src/amzfs-snapshot.pl: Fix to use
8170                                              Amanda::Application::Zfs
8171         * application-src/Makefile.am: Add amzfs-sendrecv.
8172         * perl/Amanda/Script_App.pm: Exit instead of die.
8173         * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
8174         * perl/Makefile.am: Add Amanda/Application and
8175                             Amanda/Application/Zfs.pm
8176
8177 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
8178         * recover-src/extract_list.c: Wait to read at least one byte from the
8179                                       data stream before forking the child.
8180
8181 2008-12-12  Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
8182         * changer-src/chg-zd-mtx.sh: fix bashisms
8183         * client-src/sendbackup-dump.c: use -L on systems that support it
8184
8185 2008-12-11 Dan Locks <dwlocks@zmanda.com>
8186         * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
8187
8188 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
8189         * NEWS, ReleaseNotes: Add amsamba.
8190
8191 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
8192         * server-src/driver.c: Check start_t before doing a dump to tape.
8193
8194 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
8195         * installcheck/Makefile.am: distribute Dumpcache.pm
8196
8197 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
8198         * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
8199         * installcheck/Installcheck/Config.pm: add cleanup()
8200         * installcheck/Installcheck/Run.pm: call I::C::cleanup()
8201         * installcheck/Makefile.am: add _seupcache
8202         * installcheck/_setupcache.pl: set up the amdump cache first thing
8203         * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
8204           installcheck/amdump.pl installcheck/amfetchdump.pl
8205           installcheck/amrmtape.pl: use dumpcache
8206
8207 2008-12-10  Nikolas Coukouma <atrus@zmanda.com>
8208         * device-src/s3.c: Generate date header independently of locale
8209
8210 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
8211         * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
8212         * installcheck/Amanda_Disklist.pl: fix tests
8213
8214 2008-12-09  C R Ritson.
8215         * server-src/reporter.c: Add threshold to small and big estimate.
8216
8217 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
8218         * client-src/client_util.c: Parse RECOVER-MODE application support.
8219         * client-src/client_util.h (backup_support_option_t):
8220                                    Add smb_recover_mode.
8221         * client-src/sendsize.c: Fix size.
8222         * man/Makefile.am: Add amsamba.8.
8223         * man/xml-source/amsamba.8.xml: New man page.
8224         * man/xml-source/amanda-applications.7.xml: List amsamba.
8225         * man/xml-source/amanda.8.xml: List amsamba.
8226         * application-src/Makefile.am (CHECK_PERL): Add amsamba
8227         * application-src/amsamba.pl: New application.
8228         * recover-src/extract_list.c: Get support option from application
8229           and set --recover-mode if needed.
8230         * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
8231         * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
8232         * perl/Amanda/Paths.pm.in: Add $sysconfdir.
8233         * perl/Amanda/Util.swg: Add skip_quoted_string.
8234
8235 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
8236         * man/xml-source/amstar.8.xml: Typo.
8237
8238 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
8239         * man/xml-source/amanda.conf.5.xml: Fix plugin location.
8240
8241 2008-12-09  Nikolas Coukouma <atrus@zmanda.com>
8242         * installcheck/amrmtape.pl,
8243           man/xml-source/amrmtape.8.xml,
8244           server-src/amrmtape.pl: add --cleanup option to amrmtape
8245           alphabetize command-line options
8246
8247 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
8248         * perl/Amanda/Disklist.swg: return a value from
8249           read_disklist_internal
8250
8251 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
8252         * common-src/conffile.c common-src/conffile.h
8253           installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
8254           perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
8255           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
8256           server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
8257           DUMPTYPE_AUTH, with related changes to disk_t
8258
8259 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
8260         * perl/Makefile.am installcheck/Amanda_Disklist.pl
8261           perl/Amanda/Disklist.swg installcheck/Makefile.am:
8262           new module + tests
8263         * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
8264           parameter
8265         * common-src/conffile.h: tag host-related parameters
8266         * perl/Amanda/Config.swg: POD typo
8267         * server-src/diskfile.h: comments
8268
8269 2008-12-08  Nikolas Coukouma <atrus@zmanda.com>
8270         * installcheck/amrmtape.pl,
8271           man/xml-source/amrmtape.8.xml,
8272           server-src/amrmtape.pl: add --keep-label option to amrmtape
8273
8274 2008-12-07  Dustin J. Mitchell <dustin@zmanda.com>
8275         * server-src/Makefile.am server-src/amvault.pl: new, experimental
8276           script to copy data from secondary to tertiary volumes
8277         * common-src/fileheader.c: strip spurious ' ' from headers
8278         * man/Makefile.am man/xml-source/amvault.8.xml: docs
8279         * perl/Amanda/DB/Catalog.pm: add kbps calculation
8280         * perl/Amanda/Device.swg: add volume_header() method
8281
8282 2008-12-05  Dustin J. Mitchell <dustin@zmanda.com>
8283         * server-src/taper.c: remove dead code that can cause compiler errors
8284
8285 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
8286         * device-src/device.c,
8287           device-src/vfs-device.c,
8288           installcheck/Amanda_Device.pl: fix erase() for VFS device
8289         * server-src/amrmtape.pl: fix rollback, erase() call setup
8290
8291 2008-12-05  Jean-Louis Martineau <martineau@zmanda.com>
8292         * server-src/driverio.c: Send a message with NO-NEW-TAPE.
8293         * server-src/driver.c: Generate message for NO-NEW-TAPE, call
8294           start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
8295           for INPUT-ERROR and TAPE-ERROR
8296         * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
8297
8298 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
8299         * server-src/amrmtape.pl:
8300           man/xml-source/amrmtape.8.xml,
8301           installcheck/amrmtape.pl:  add --empty and --changer options for erasing media
8302
8303 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
8304         * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
8305           Add erase method to the device class
8306         * device-src/property.c, device-src/property.h:
8307           Add FULL_DELETION property so devices can indicate if they implement erase
8308         * xml-source/amanda-devices.7.xml: document FULL_DELETION property
8309         * device-src/null-device.c, device-src/rait-device.c:
8310           Indicate that these do not implement erase (via FULL_DELETION)
8311         * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
8312         * device-src/s3-device.c: Add delete_all_files helper.
8313           Return FALSE on error in one place.
8314         * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
8315         * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
8316           Don't usually retry when bucket is missing
8317
8318 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
8319         * device-src/device.c,
8320           device-src/s3-util.c,
8321           device-src/device.h,
8322           device-src/s3-util.h,
8323           device-src/null-device.c,
8324           device-src/s3-device.c,
8325           device-src/property.c,
8326           device-src/s3.c,
8327           device-src/tape-device.c,
8328           device-src/property.h,
8329           device-src/s3.h,
8330           device-src/vfs-device.c,
8331           device-src/rait-device.c: strip trailing whitespace
8332
8333 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
8334         * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
8335           the changer is not seekable (hack to make slotinfofile work)
8336
8337 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
8338         * changer-src/chg-glue.pl: add labelling support
8339         * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
8340           changers
8341         * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
8342           slots to labels on a best-information-available basis
8343
8344 2008-12-03  Nikolas Coukouma <atrus@zmanda.com>
8345         * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
8346           convert amrmtape to perl
8347         * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
8348         * man/xml-source/amrmtape.8.xml: document new long options
8349
8350 2008-12-03  Satya Ganga <gsat@zmanda.com>
8351         * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
8352           command instead of "eject" which is not supported on solaris.
8353
8354 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
8355         * man/xml-source/amanda.conf.5.xml: Provide default unit.
8356
8357 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
8358         * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
8359
8360 2008-12-01  Satya Ganga <gsat@zmanda.com>
8361         * server-src/amdevcheck.pl: add ability to print device properties
8362         * man/xml-source/amdevcheck.8.xml: new docs
8363         * installcheck/amdevcheck.pl: new tests
8364         * installcheck/Installcheck/Run.pm
8365           installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
8366
8367 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
8368         * device-src/s3.c: fix signedness
8369
8370 2008-12-01  Dustin J. Mitchell <dustin@zmanda.com>
8371         * common-src/util.c: fix mishandling of trailing backslash in
8372           unquote_string
8373
8374 2008-12-01  Jean-Louis Martineau <martineau@zmanda.com>
8375         * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
8376           packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
8377           configure.in: Change version to 2.6.2alpha.
8378
8379 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
8380         * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
8381           by adding some "null-op" read and write functions.
8382
8383 2008-11-27  Jean-Louis Martineau <martineau@zmanda.com>
8384         * server-src/amstatus.pl: Correctly parse degraded size.
8385
8386 2008-11-26  Jean-Louis Martineau <martineau@zmanda.com>
8387         * client-src/sendbackup.c: Set application in extraction command.
8388
8389 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
8390         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
8391         * ReleaseNotes: Release notes for 2.6.1b1.
8392         * NEWS: News for 2.6.1b1.
8393         * packaging/deb/rules, packaging/deb/buildpkg,
8394           packaging/rpm/buildpkg,
8395           packaging/rpm/amanda.spec: Change version to 2.6.1b1.
8396
8397 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
8398         * config/amanda/bsd-security.m4: Fix.
8399         * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
8400                                             default.
8401         * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
8402
8403 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
8404         * changer-src/Makefile.am changer-src/chg-glue.pl:
8405           add new c-to-perl glue script
8406         * server-src/changer.c: interface with new script
8407         * server-src/amtape.c man/xml-source/amtape.8.xml:
8408           remove 'slot last' and 'slot prev'
8409         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8410           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
8411           new Changer API
8412         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8413           installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
8414           installcheck/Makefile.am: tests for all of it
8415
8416 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
8417         * example/template.d/advanced.conf.in: don't imply that
8418           maxdumpsize is in bytes
8419
8420 2008-11-21  Nikolas Coukouma <atrus@zmanda.com>
8421         * device-src/s3.c: work around a bug in Amazon's HTTP implementation
8422           by avoiding HEAD requests.
8423
8424 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
8425         * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
8426                                                             argument is NULL.
8427         * restore-src/restore.c: Also check for F_EMPTY.
8428
8429 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
8430         * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
8431                                  that should terminate.
8432
8433 2008-11-21  Dustin J. Mitchell <dustin@zmanda.com>
8434         * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
8435                                  fail.
8436
8437 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
8438         * server-src/server_util.c: Skip one field in parsing INFO pid line.
8439
8440 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
8441         * oldrecover-src/extract_list.c: Use config.
8442         * server-src/dumper.c: Check dle_str for NULL.
8443
8444 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
8445         * server-src/amdump.sh: Run amreport if the 'log' file already exist.
8446
8447 2008-11-20  Urs Schurer <urs@sitb.de>
8448         * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
8449           in process_ls_dump
8450
8451 2008-11-19 Satya Ganga <gsat@zmanda.com>
8452         * example/inetd.conf.amandaserver.in: Add serverconfig file
8453         * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
8454
8455 2008-11-18 Dan Locks <dwlocks@zmanda.com>
8456         * packaging/rpm/amanda.spec: removed conditionals around
8457           perl(ExtUtils::Embed) so that buildrequires applies to all platforms
8458
8459 2008-11-18  Satya Ganga <gsat@zmanda.com>
8460         * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
8461
8462 2008-11-18  Jean-Louis Martineau <martineau@zmanda.com>
8463         * application-src/amstar.c: Free qdisk after the loop.
8464         * application-src/amgtar.c: Free qdisk after the loop.
8465
8466 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
8467         * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
8468
8469 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
8470         * server-src/taper.c: Fix formating.
8471
8472 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
8473         * server-src/amstatus.pl: Parse "taper: using label ..." line.
8474         * server-src/driver.c: Print tape size.
8475         * server-src/amtoc.pl: Fix for new log format.
8476         * server-src/reporter.c: Increase field width.
8477         * server-src/taper.c: Print number of kbytes written to each tape.
8478
8479 2008-11-14  Dustin J. Mitchell <dustin@zmanda.com>
8480         * device-src/s3-device.c: eliminate an extra buffer copy in the
8481           common case where the caller supplies a large enough buffer
8482         * device-src/s3.h: tweak a comment
8483
8484 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
8485         * server-src/holding.h: Improve comment.
8486         * server-src/reporter.c: Print holding disk size in displyaunit.
8487
8488 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
8489         * client-src/client_util.c: Get stderr of scripts and send it to
8490                                     server.
8491         * client-src/client_util.h: Add err in client_script_result_t.
8492         * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
8493         * client-src/sendsize.c: Fix.
8494         * server-src/planner.c: Get WARNING line from client.
8495         * server-src/reporter.c: Don't mark the dumper as FAILED if the
8496                                  planner FAILED.
8497         * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
8498         * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
8499
8500 2008-11-12  Dustin J. Mitchell <dustin@zmanda.com>
8501         * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
8502
8503 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8504         * amandad-src/amandad.c: Check that something is ready to be read
8505                                  before calling errfd_recv.
8506
8507 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8508         * changer-src/chg-manual.sh: fix typo
8509
8510 2008-11-11 Dan Locks <dwlocks@zmanda.com>
8511         * packaging/rpm/amanda.spec: add fedora 9 detection, add
8512           BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
8513           undetected instead of at all times
8514
8515 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8516         * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
8517           active test scripts; add a DLE in the amfetchdump installcheck
8518
8519 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8520         * config/macro-archive/ac_perl_module_version.m4: new macro
8521         * config/amanda/swig.m4: check for ExtUtils::Embed
8522
8523 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8524         * installcheck/amarchiver.pl: quote $sbindir from regexp
8525           interpretation
8526
8527 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8528         * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
8529                             to DISTCLEANFILES.
8530
8531 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8532         * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
8533                                   amgtar application.
8534
8535 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8536         * client-src/selfcheck.c: fix.
8537         * amandad-src/amandad.c: Read stderr of server and report it to server.
8538         * server-src/planner.c: Keep first line only.
8539
8540 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8541         * amar-src/amarchiver.c: fix filesize printf conversion
8542
8543 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
8544         * client-src/sendbackup.c, client-src/selfcheck.c: Check return
8545                                                            value of pipe.
8546
8547 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8548         * installcheck/Installcheck/Run.pm: change default DLEs
8549         * installcheck/amcheckdump.pl: add DLE explicitly
8550         * installcheck/amdevcheck.pl: add DLE explicitly
8551         * installcheck/amdump.pl: use the amgtar application in a dump
8552
8553 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8554         * installcheck/Makefile.am: only test amfetchdump if it was built
8555         * installcheck/amfetchdump.pl: use arguments in the right order
8556
8557 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8558         * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
8559         * man/Makefile.am man/xml-source/amarchiver.8.xml
8560           amar-src/Makefile.am amar-src/amarchiver.c: new application
8561         * installcheck/Makefile.am installcheck/amarchiver.pl: tests
8562
8563 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8564         * installcheck/Installcheck/Run.pm: add Expect support
8565         * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
8566           installcheck, using Expect support
8567
8568 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8569         * common-src/amgetconf.pl: don't setup_application() in dbclose
8570
8571 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
8572         * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
8573
8574 2008-11-08  Dustin J. Mitchell <dustin@zmanda.com>
8575         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8576           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
8577           perl/Makefile.am: entirely new perl-based changer API
8578         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
8579           add changer subsections
8580         * man/xml-source/amanda.conf.5.xml: document them
8581         * server-src/amcheckdump.pl: use the new changer API
8582         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
8583           installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
8584           installcheck/Installcheck/Config.pm installcheck/Makefile.am
8585           installcheck/Amanda_Changer_Disk.pl: new/updated tests
8586
8587 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8588         * application-src/amstar.c: fix.
8589
8590 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8591         * perl/Amanda/Application.swg: Remove %init.
8592
8593 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8594         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8595           application-src/amstar.c: Write backup image to fd3 and index to fd4.
8596         * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
8597         * recover-src/extract_list.c: Add more check.
8598         * client-src/client_util.c (backup_support_option): Get stderr of
8599           application and put it in errarray,
8600         * client-src/client_util.h (backup_support_option): New prototype.
8601         * client-src/selfcheck.c, client-src/sendbackup.c,
8602           client-src/sendsize.c: Get stderr of application and send it to
8603                                  server.
8604         * server-src/dumper.c: Log the first error message.
8605         * server-src/planner.c: Log the first error message.
8606         * server-src/reporter.c: Don't print some error in report.
8607
8608 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8609         * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
8610         * client-src/client_util.c (run_calcsize): New function.
8611         * client-src/client_util.h (run_calcsize): Prototype.
8612         * client-src/sendbackup.c: Update amandates.
8613         * client-src/sendsize.c: Handling of calcsize and multi-estimate.
8614         * client-src/selfcheck.c: Check calcsize for application.
8615         * application-src/amgtar_perl.pl, application-src/amstar.c,
8616         * application-src/amgtar.c: handling of calcsize and multi-estimate.
8617         * perl/Amanda/Script_App.pm: Add a check.
8618         * perl/Amanda/Application.swg: Add run_calcsize.
8619         * perl/Amanda/Application.pm: Delete
8620         * perl/Makefile.am: Built from Application.swg
8621         * client-src/calcsize.c: Handling of STAR program.
8622
8623 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8624         * man/xml-source/amgtar.8.xml: Document new properties.
8625         * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
8626
8627 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8628         * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
8629                                      exit with a status != 0.
8630         * server-src/amtape.c: Display changer error.
8631
8632 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8633         * application-src/amgtar.c: Add exit-handling property.
8634
8635 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8636         * application-src/amgtar.c: Add normal, ignore and strange property.
8637
8638 2008-11-04  Jean-Louis Martineau <martineau@zmanda.com>
8639         * server-src/amcheck.c: Check tape_splitsize < tape length.
8640
8641 2008-10-30  Dustin J. Mitchell <dustin@zmanda.com>
8642         * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
8643           add new sort key, 'w', for write_timestamp
8644         * server-src/amadmin.c: use it
8645         * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
8646           the oldest-written copy of a dump
8647
8648 2008-10-30  Jean-Louis Martineau <martineau@zmanda.com>
8649         * application-src/amgtar_perl.pl, application-src/amstar.c,
8650           application-src/amgtar.c: Implement validate command.
8651         * server-src/amcheckdump.pl: Execute the validate command of an
8652                                      application.
8653         * perl/Amanda/Script_App.pm (print_to_server): Add validate.
8654         * perl/Amanda/Application.pm (known_commands): Add validate.
8655         * common-src/security-util.c: Fix typo.
8656
8657 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
8658         * man/xml-source/amanda.conf.5.xml
8659           man/xml-source/amanda-devices.7.xml: improve device property
8660           documentation
8661
8662 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
8663         * man/xml-source/amanda.conf.5.xml: taperflush params can be
8664           greater than 100%
8665
8666 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
8667         * common-src/fileheader.c (dumpfile_free_data): New function.
8668         * common-src/fileheader.h (dumpfile_free_data): New prototype.
8669         * server-src/cmdline.c, server-src/dumper.c,
8670           server-src/planner.c, server-src/amadmin.c,
8671           server-src/amflush.c, server-src/holding.c,
8672           server-src/driver.c, server-src/find.c,
8673           server-src/taper-source.c, server-src/taper-file-source.c
8674           server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
8675
8676 2008-10-27  Dustin J. Mitchell <dustin@zmanda.com>
8677         * common-src/glib-util.c: check library version at runtime
8678
8679 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
8680         * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
8681
8682 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8683         * installcheck/Amanda_Archive.pl: fix to also test for identity of
8684           $user_data on perls that recognize such things
8685
8686 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8687         * amar-src/amar-test.c: don't ignore the return value of write()
8688
8689 2008-10-24  Nikolas Coukouma <atrus@zmanda.com>
8690             Jean-Louis Martineau <martineau@zmanda.com>
8691         * amar-src/amar.c: fix mis-aligned memory accesses
8692         * amar-src/amar-test.c: fix test_pipe
8693
8694 2008-10-24  Jean-Louis Martineau <martineau@zmanda.com>
8695         * perl/Amanda/Script_App.pm: New base module for script and application.
8696         * perl/Amanda/Script.pm: New base module for script.
8697         * perl/Amanda/Application.pm: New base module for application.
8698         * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
8699                                 Amanda::Application.
8700         * application-src/generic-dumper.pl: Remove file.
8701         * application-src/generic-script.pl: Remove file.
8702         * application-src/script-email.pl: Use Amanda::Script.
8703         * application-src/amgtar_perl.pl: Use Amanda::Application.
8704         * application-src/amzfs-snapshot.pl: Use Amanda::Script.
8705         * application-src/Makefile.am: Remove generic-*.pl files.
8706
8707 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8708         * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
8709           libamar
8710         * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
8711
8712 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8713         * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
8714           $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
8715           lint
8716         * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
8717
8718 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
8719         * amar-src/Makefile.am: add amar.h to noinst_HEADERS
8720
8721 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
8722         * configure.in Makefile.am amar-src/Makefile.am: new directory
8723         * amar-src/amar.c amar-src/amar.h: amanda archive library
8724         * amar-src/amar-test.c: tests for library
8725         * common-src/security-util.c common-src/security-util.h
8726           common-src/util.c common-src/util.h: move net_writev to
8727           util.c, rename to full_writev
8728         * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
8729           man/xml-source/amanda.8.xml: new manpage to describe the format
8730
8731 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
8732         * configure.in: add tests for more headers, plus some defines
8733           for the presence of Amanda's headers
8734         * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
8735           POSIX regex API and a GRegex (PCRE) call-compatability layer.
8736         * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
8737           Use callbacks to write and read data. Provide callbacks for
8738           memory buffers and files. The callbacks for files are currently
8739           Windows-specific.
8740         * device-src/s3-device.c: update to use new API
8741
8742 2008-10-20  Dustin J. Mitchell <dustin@zmanda.com>
8743         * perl/Makefile.am: remove spurious variables
8744
8745 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
8746         * changer-src/chg-multi.sh: Check permission on the statefile and its
8747                                     directory.
8748
8749 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
8750         * server-src/planner.c: Set i to 0.
8751
8752 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
8753         * server-src/amcheck.c, server-src/dumper.c
8754           server-src/planner.c: Don't send appliaciton-api request if the
8755                                 client doesn't use the xml protocol.
8756
8757 2008-10-15  Jean-Louis Martineau <martineau@zmanda.com>
8758         * server-src/reporter.c: print space instead of N/A, dumper stats are
8759                                  set to "FLUSH" if it is a flush.
8760
8761 2008-10-13  Dustin J. Mitchell <dustin@zmanda.com>
8762         * device-src/vfs-device.c: re-open the dir handle on every
8763           device start or read label
8764         * installcheck/Amanda_Device.pl: adjust tests to degrade the
8765           VFS device *after* it is started
8766
8767 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8768         * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
8769
8770 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8771         * installcheck/Makefile.am: revert previous commit.
8772         * config/automake/scripts.am: Check for a server perl module.
8773
8774 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8775         * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
8776
8777 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8778         * perl/Makefile.am: Don't check Amanda/Config files.
8779
8780 2008-10-11  Jean-Louis Martineau <martineau@zmanda.com>
8781         * perl/Makefile.am: Check file in top_srcdir if they are not
8782                             in top_builddir.
8783
8784 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8785         * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
8786
8787 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8788         * perl/Makefile.am: test for libConfig.so before doing check.
8789
8790 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8791         * config/automake/scripts.am: Check perl scripts on compilation.
8792           Add -I... to 'make check' to access perl module in build tree.
8793           Add installcheck rules to check perl scripts with installed perl
8794           modules.
8795         * application-src/amstar_perl.pl: Remove file.
8796         * device-src/Makefile.am, application-src/Makefile.am,
8797           server-src/Makefile.am, installcheck/Makefile.am,
8798           common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
8799         * installcheck/Makefile.am:
8800           Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
8801         * perl/Makefile.am: Add rules to check all .pm files for check-local.
8802         * device-src/amtapetype.pl, server-src/amaddclient.pl,
8803           common-src/amgetconf.pl: Fix syntax errors.
8804
8805 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8806         * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
8807           application-src/script-email.pl, application-src/amgtar_perl.pl:
8808             fix typos.
8809
8810 2008-10-10  Nick Smith <nick.smith@techop.ch>
8811         * application-src/amzfs-snapshot.pl: fix typos
8812
8813 2008-10-08  Dustin J. Mitchell <dustin@zmanda.com>
8814         * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
8815         * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
8816           after writing
8817         * server-src/amcheckdump.pl: don't read tapelist
8818         * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
8819
8820 2008-10-08  Nick Smith <nick.smith@techop.ch>
8821         * server-src/driver.c: set degr_mesg to NULL when not degraded
8822
8823 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
8824         * application-src/amzfs-snapshot.pl: Accept execute-where argument.
8825         * application-src/script-email.pl: Accept execute-where argument.
8826         * client-src/client_util.c: Send execute-where argument to script.
8827         * server-src/server_util.c: Send execute-where argument to script.
8828
8829 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
8830         * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
8831                                              properties.
8832         * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
8833
8834 2008-10-03  Dustin J. Mitchell <dustin@zmanda.com>
8835         * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
8836         * common-src/timestamp.c: add comment
8837
8838 2008-10-02  Dustin J. Mitchell <dustin@zmanda.com>
8839         * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
8840         * installcheck/Amanda_DB_Catalog.pl: test it
8841         * perl/Amanda/Logfile.swg: fix typo
8842
8843 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
8844         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
8845           Add new property, S3_SSL, to control the use of SSL/TLS when
8846           connecting to Amazon S3
8847         * man/xml-source/amanda-devices.7.xml:
8848           document S3_SSL and S3_BUCKET_LOCATION
8849
8850 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
8851         * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
8852
8853 2008-10-01  Dustin J. Mitchell <dustin@zmanda.com>
8854         * common-src/amanda.h common-src/conffile.c
8855           oldrecover-src/extract_list.c recover-src/extract_list.c
8856           server-src/amcheck.c server-src/amflush.c server-src/planner.c:
8857           use g_ascii_isspace, as we assume ASCII (for now) and isspace()
8858           is affected by locale and encoding settings.  Thanks to Michael
8859           Reuland for helping track this down.
8860
8861 2008-09-30  Jean-Louis Martineau <martineau@zmanda.com>
8862         * server-src/diskfile.h (xml_optionstr): New prototype.
8863         * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
8864         * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
8865         * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
8866         * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
8867         * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
8868         * server-src/dumper.c: Call clean_dle_str_for_client.
8869         * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
8870         * server-src/diskfile.c (clean_dle_str_for_client): New function.
8871         * restore-src/restore.c: Call clean_dle_str_for_client.
8872         * common-src/amxml.c: Fix parsing.
8873         * common-src/amanda.h (match_no_newline): Prototype.
8874         * common-src/match.c (match_no_newline): New function.
8875
8876 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8877         * restore-src/restore.c: set data.flags for use by the changer_find
8878           callback
8879
8880 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8881         * perl/Amanda/MainLoop.swg: add call_later()
8882         * installcheck/Amanda_MainLoop.pl: test it
8883
8884 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8885         * device-src/rait-device.c: fix typos
8886
8887 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8888         * common-src/semaphore.h: fix typo
8889         * device-src/rait-device.c: add a private threadpool-like
8890           implementation for old glibs, where GThreadPool is susceptible to
8891           deadlock
8892
8893 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
8894         * device-src/device.c device-src/device.h device-src/null-device.c
8895           device-src/property.c device-src/property.h device-src/rait-device.c
8896           device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
8897           device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
8898           device-src/tape-uware.c device-src/tape-xenix.c
8899           device-src/vfs-device.c: add a 'configure' method to the Device API;
8900           revamp device property handling to add source and surety and make
8901           implementation easier
8902         * device-src/rait-device.h device-src/rait-device.c: make RAIT device
8903           calculate block sized based on child devices, if they were configured
8904           explicitly.
8905         * man/xml-source/amanda-devices.7.xml: note that common properties are
8906           not implemented on all devices
8907         * common-src/glib-util.c common-src/glib-util.h: add helpers for
8908           case-insensitive hashes
8909         * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
8910           perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
8911           server-src/amlabel.c server-src/amtape.c server-src/taper.c
8912           server-src/taperscan.c: use new API
8913
8914 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
8915         * server-src/find.c: handle find_result->label == NULL
8916         * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
8917
8918 2008-09-26  Dustin J. Mitchell <dustin@zmanda.com>
8919         * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
8920
8921 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
8922         * server-src/driver.c: Parse dumpsize from taper result.
8923
8924 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
8925         * client-src/selfcheck.c: Set qdevice on common_exit path.
8926
8927 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8928         * common-src/fileheader.c: fix headers_are_equal
8929
8930 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8931         * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
8932         * device-src/device.c device-src/device.h: set blocksize in tape
8933           header
8934         * device-src/null-device.c device-src/s3-device.c
8935           device-src/tape-device.c device-src/vfs-device.c: set blocksize
8936           in headers when starting files
8937         * device-src/rait-device.c: duplicate headers for child devices, since
8938           they are no longer const
8939         * server-src/dumper.c: set blocksize on holding-disk files to
8940           DISK_BLOCK_BYTES
8941
8942 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8943         * device-src/tape-device.c: mark device as non-appendable temporarily,
8944           since file numbers are incorrect when appending
8945         * installcheck/Amanda_Device.pl: handle non-appendable devices
8946
8947 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
8948         * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
8949           argument.
8950         * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
8951         * server-src/chunker.c: Get mesg from ABORT cmd and log it.
8952         * server-src/driver.c: Add the mesg argument to all dumper_cmd and
8953                                chunker_cmd.
8954
8955 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
8956         * server-src/planner.c: Set degr_mesg and send it to driver.
8957         * server-src/driverio.h (sched_t): Add degr_mesg field.
8958         * server-src/driver.c: Parse message if no degraded estimate.
8959
8960 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
8961         * common-src/conffile.c common-src/conffile.h: store a struct
8962           containing both filename and line number for each parameter, and use
8963           it when reporting errors and warnings
8964
8965 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
8966         * device-src/device.c: make 'unimplemented method' an assertion
8967
8968 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
8969         * device-src/s3.c: use max_keys, instead of maximum body size (which
8970           doesn't work) to limit the number of keys listed
8971
8972 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
8973         * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
8974         * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
8975         * server-src/taperscan.c: Check type != F_EMPTY.
8976         * server-src/taper.c: Call changer_label().
8977         * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
8978
8979 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
8980         * device-src/device.c: Don't g_value_unset a bzero value.
8981
8982 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
8983         * server-src/driver.c: Set result_argv=NULL, Fix typo.
8984
8985 2008-09-22  Dustin J. Mitchell <dustin@zmanda.com>
8986         * config/amanda/ps.m4: give up on runtime detection and just special-
8987           case the 'ps' arguments for various systems
8988         * perl/Amanda/Constants.pm.in: add $PS
8989         * perl/Amanda/Process.pm: use $PS
8990
8991 2008-09-19  Jean-Louis Martineau <martineau@zmanda.com>
8992         * server-src/reporter.c (addline): Done it constant time.
8993
8994 2008-09-19  Dustin J. Mitchell <dustin@zmanda.com>
8995         * common-src/Makefile.am common-src/quoting-test.c: new tests
8996         * common-src/token.c common-src/token.h: removed
8997         * common-src/util.c common-src/util.h: new home for quoting functions
8998         * configure.in: don't check for shquote
8999         * man/xml-source/amanda.conf.5.xml: info on quoting
9000         * perl/Amanda/Config/Server.pm: note about incompatibility
9001         * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
9002           server-src/driver.c server-src/driverio.c server-src/driverio.h
9003           server-src/dumper.c server-src/infofile.c server-src/server_util.c
9004           server-src/server_util.h server-src/taper-file-source.c
9005           server-src/taper-port-source.c server-src/taper.c: use new/updated
9006           quoting functions
9007
9008 2008-09-19  Nick Smith <nick.smith@techop.ch>
9009         * example/amanda.conf.in: fix incorrect execute_on examples
9010
9011 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
9012         * server-src/dumper.c: Call security_close_connection before
9013                                checking if pkt == NULL.
9014
9015 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
9016         Patch by Nick Smith
9017         * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
9018         * server-src/diskfile.c: Init xml_app.result to stralloc("").
9019
9020 2008-09-16 Dan Locks <dwlocks@zmanda.com>
9021         * packaging/rpm/amanda.spec:  Added detection of CentOS 4 and 5 as
9022           suggested by dswartz.  added graceful failure when Distro/version is
9023           not detected correctly
9024
9025 2008-09-15  Dustin J. Mitchell <dustin@zmanda.com>
9026         * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
9027
9028 2008-09-14  Dustin J. Mitchell <dustin@zmanda.com>
9029         * server-src/tapefile.c server-src/tapefile.h: add comments to
9030           tapelist
9031         * perl/Amanda/Tapelist.swg: perl tapelist parser, too
9032         * installcheck/Amanda_Tapelist.pl: tests
9033         * man/xml-source/tapelist.5.xml: docs
9034         * server-src/amlabel.c: no initial comments when labeling
9035         * server-src/taper.c: maintain comment when relabeling
9036
9037 2008-09-12  Jean-Louis Martineau <martineau@zmanda.com>
9038         * amandad-src/amandad.c: Fix typo: authetication -> authentication.
9039
9040 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
9041         * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
9042           Mike McConnell for spotting these
9043
9044 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
9045         * server-src/taper.c: improve handling of device errors in taper
9046
9047 2008-09-02  Jean-Louis Martineau <martineau@zmanda.com>
9048         * restore-src/amrestore.c: Load a default server config.
9049
9050 2008-08-29  Dustin J. Mitchell <dustin@zmanda.com>
9051         * autogen: revert glib's configure-time requirement for
9052           pkg-config-0.16
9053
9054 2008-08-28  Dustin J. Mitchell <dustin@zmanda.com>
9055         * device-src/tape-device.c: use the correct blocksize while reading
9056         * device-src/rait-device.c: fix typo
9057         * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
9058           the tape device
9059
9060 2008-08-28  Jean-Louis Martineau <martineau@zmanda.com>
9061         * server-src/dumper.c: Reset the MESG buffer for a new dump.
9062
9063 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
9064         * server-src/amcheck.c: make the check for tapelist result in a NOTE,
9065           not a failure
9066         * server-src/tapefile.c: make a missing tapelist equivalent to an
9067           empty one
9068
9069 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
9070         * config/amanda/types.m4: always include sys/types.h, if it exists,
9071           before trying other headers (fixes builds of FreeBSD-4.x); thanks
9072           to John Hein <jhein@timing.com>
9073         * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
9074           before event.h
9075
9076 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
9077         * perl/amglue/bigint.c: add #include "stdint.h"
9078
9079 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
9080         * config/amanda/ps.m4: search multiple ps invocations; thanks
9081           to John Hein <jhein@timing.com>
9082
9083 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
9084         * server-src/amadmin.ci (tape): Correctly print next tape to use.
9085         * server-src/tapefile.c (print_new_tapes): New function to print new
9086                                                    tapes.
9087         * server-src/tapefile.h (print_new_tapes): Prototype.
9088         * server-src/reporter.c: Correctly print next tape to use.
9089
9090 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
9091         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
9092           add new 'define device' config section
9093         * perl/Makefile.am perl/Amanda/Config/Server.pm
9094           perl/Amanda/Config/Server/Devices.pm
9095           perl/Amanda/Config/Server/Grammar: ditto
9096         * device-src/device.c device-src/device.h: configure devices from
9097           device definitions, with better error handling
9098         * device-src/rait-device.c: handle child devices better
9099         * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
9100           installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
9101           installcheck/amgetconf.pl: new tests, modifications to work with the
9102           new system
9103         * man/xml-source/amanda-devices.7.xml
9104           man/xml-source/amanda.conf.5.xml: corresponding documentation updates
9105         * perl/Amanda/Changer.pm perl/Amanda/Device.swg
9106           restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
9107           server-src/amcheckdump.pl server-src/amdevcheck.pl
9108           server-src/amlabel.c server-src/amtape.c server-src/taper.c
9109           server-src/taperscan.c: remove calls to
9110           set_startup_properties_from_config
9111         * device-src/vfs-test.c: load config before trying to use a device
9112         * common-src/conffile.c: fix use of uninitialized variable
9113
9114 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
9115         * changer-src/chg-disk.sh: replace == with =
9116         * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
9117
9118 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
9119         * server-src/reporter.c: Fix computation of compression ratio.
9120
9121 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
9122         * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
9123         * application-src/amgtar.c, application-src/amgtar_perl.pl:
9124           Ignore "Directory is new" and "Directory has been renamed".
9125
9126 2008-08-21  Jean-Louis Martineau <martineau@zmanda.com>
9127         * common-src/krb5-security.c: Fix security_seterror use.
9128
9129 2008-08-19  Dustin J. Mitchell <dustin@zmanda.com>
9130         * configure.in: check for getgrgid_r and getpwuid_r
9131         * common-src/security-util.c: conditionalize on checks
9132
9133 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
9134         * common-src/version.h: remove #include of config.h
9135         * device-src/vfs-device.c: #include amanda.h first
9136
9137 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
9138         * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
9139         * installcheck/Installcheck/Run.pm: report exit status
9140         * installcheck/Makefile.am installcheck/amtapetype.pl: new test
9141         * man/xml-source/amtapetype.8.xml: updated manpage
9142         * device-src/s3-device.c device-src/vfs-device.c
9143           device-src/tape-device.c: add compression property
9144         * perl/Amanda/Xfer.swg: add POD for the cancel() method
9145         * xfer-src/dest-device.c: add a default for max_memory
9146
9147 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
9148         * common-src/conffile.c: make find_multiplier case-insensitive
9149         * device-src/device.c: reorder assertions
9150         * device-src/tape-device.c: don't set access_mode twice, but
9151           set in_file = FALSE in start
9152         * device-src/s3-device.c: fix property registration
9153         * perl/Amanda/MainLoop.swg: remove attach() from example
9154         * perl/Amanda/Xfer.swg: more detail in POD
9155         * xfer-src/source-pattern.c: operate byte-for-byte, like the random
9156           source, instead of using lots of memcpys and reallocs
9157         * xfer-src/source-random.c: remove redundant check
9158
9159 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
9160         * configure.in Makefile.am tape-src/*: remove tape-src
9161         * changer-src/Makefile.am: don't link with libamtape
9162         * changer-src/chg-scsi.c: don't use libamtape
9163         * changer-src/scsi-changer-driver.c: don't use libamtape
9164         * config/amanda/tape.m4: fix comment
9165         * example/amanda.conf.in example/template.d/tapetypes: fix outdated
9166           comments
9167         * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
9168           remove amdd and ammt manpages
9169         * restore-src/Makefile.am: remove refs to tape-src/
9170         * server-src/Makefile.am: remove refs to tape-src/
9171
9172 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
9173         * common-src/krb4-security.c common-src/krb5-security.c
9174           config/amanda/tape.m4 common-src/amanda.h: remove
9175           --with-maxtapeblocksize
9176         * common-src/conffile.c: deprecate file-pad
9177         * device-src/device-queueing.c device-src/device-queueing.h
9178           device-src/device.c device-src/device.h device-src/null-device.c
9179           device-src/property.c device-src/property.h device-src/rait-device.c
9180           device-src/s3-device.c device-src/tape-device.c
9181           device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
9182           server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
9183           xfer-src/source-device.c perl/Amanda/Device.swg: devices have
9184           {min,max,current} block sizes; remove the short_block parameter from
9185           device_write_block; fix property initialization; rename
9186           PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
9187         * device-src/rait-device.c: set child block sizes explicitly
9188         * installcheck/Amanda_Device.pl: tests; better S3 test count
9189           calculations
9190         * installcheck/Amanda_Xfer.pl: tests
9191         * man/xml-source/amanda-devices.7.xml: update block sizes
9192           documentation
9193         * man/xml-source/amanda.conf.5.xml: refer to block size properties
9194         * restore-src/amrestore.c: use set_restore_device_read_buffer_size
9195         * restore-src/restore.h restore-src/restore.c: add
9196           set_restore_device_read_buffer_size
9197
9198 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
9199         * server-src/driver.c: handle taper_{input,tape}_error memory
9200           correctly, and add taper_tape_error to the trace log
9201
9202 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
9203         * application-src/amzfs-snapshot.pl application-src/script-email.pl:
9204           remove unnecessary 'use Amanda::Device'
9205
9206 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
9207         * common-src/amgetconf.pl: use filename-safe characters for $appname
9208         * installcheck/amgetconf.pl: test it
9209
9210 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
9211         * man/entities/global.entities: add manpage refs
9212         * packaging/rpm/amanda_enterprise.spec
9213           packaging/rpm/amanda_enterprise_client.spec
9214           man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
9215           man/Makefile.am: add disklist(5), tapelist(5)
9216         * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
9217           man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
9218           man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
9219           man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
9220           man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
9221           man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
9222           - remove references to "output drivers" in favor of "device drivers"
9223           - add more inter-page references
9224           - fix typos
9225           - add client_login to amanda-client.conf(5)
9226           - reformat informaltables, which don't render well in HTML or nroff,
9227             into variablelists, with fixes for bad xml->man conversion
9228           - fix funky replacement entities in HTML output
9229         * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
9230         * perl/Amanda/Device.swg: fix typo
9231         * perl/Amanda/MainLoop.swg: add hints for writing async functions
9232         * perl/Amanda/Types.swg: fix bad POD
9233         * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
9234         * perl/Amanda/Xfer.swg: tweaks
9235         * server-src/taper.c: fix typo
9236         * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
9237           will no longer overwrite such tapes
9238
9239 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
9240         * common-src/debug.c: lock debug logging on a per-line basis
9241
9242 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
9243         * device-src/rait-device.c: parse RAIT names with internal {..}
9244         * installcheck/Amanda_Device.pl: light testing
9245
9246 2008-08-15  Dustin J. Mitchell <dustin@zmanda.com>
9247         * common-src/debug.c: include backtraces on fatal errors
9248         * config/amanda/debugging.m4: look for glibc's backtrace support
9249         * configure.in: ditto
9250
9251 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>
9252         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
9253           device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
9254           to date with function signatures
9255
9256 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>,
9257             Nikolas Coukouma <atrus@zmanda.com>
9258         * xfer-src/*: add support for asynchronous cancellation of transfers
9259           and use it for error-handling
9260         * perl/Amanda/Xfer.swg: reflect into perl
9261         * installcheck/Amanda_Xfer.pl: test cancellation
9262
9263 2008-08-12  Dustin J. Mitchell <dustin@zmanda.com>
9264         * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
9265         * man/Makefile.am: remove config.log after running config.status
9266
9267 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
9268         * common-src/conffile.c: cleaner fix for signed compared to unsigned
9269           errors on older versions of GCC.
9270
9271 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
9272         * common-src/Makefile.am: second fix
9273
9274 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
9275         * common-src/Makefile.am: don't syntax-check amgetconf, since
9276           it uses Amanda::* modules
9277
9278 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
9279         * server-src/amgetconf.pl, common-src/amgetconf.pl:
9280           Add --execute-where=client|server and --client options
9281           to make amgetconf query the client configuration
9282           instead. Move from server-src to common-src.
9283         * man/xml-source/amgetconf.8.xml: Document the new options.
9284         * installcheck/amgetconf.pl: Test the new options.
9285         * server-src/Makefile.am, common-src/Makefile.am:
9286           Updated Makefiles for move.
9287         * packaging/deb/amanda-enterprise-backup-client.install,
9288           packaging/sun-pkg/i386/client/prototype:
9289           Add amgetconf to client packages.
9290
9291 2008-08-04 Dan Locks <dwlocks@zmanda.com>
9292         * packaging/rpm/amanda.spec:  add %{tarver} macro and set the correct
9293           minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
9294
9295 2008-08-04  Dustin J. Mitchell <dustin@zmanda.com>
9296         * common-src/conffile.c: workaround gcc<4.1.0 problems with long
9297           constants, don't use G_MAXINT64 in precompiler expressions
9298
9299 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
9300         * server-src/amrmtape.sh: use shell redirection with shell functions
9301
9302 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
9303         * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
9304         * common-src/dgram.c: address family debugging
9305         * common-src/stream.c: address family debugging
9306
9307 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
9308         * common-src/amanda.h common-src/conffile.c common-src/conffile.h
9309           installcheck/Amanda_Config.pl perl/Amanda/Config.swg
9310           server-src/planner.c: replace am64 type with gint64; also replace
9311           some uses of off_t
9312
9313 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
9314         * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
9315           stringify consistently (no '+' prefixing positive numbers).
9316         * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
9317         * installcheck/bigint.pl, perl/amglue/bigint.c:
9318           Use Amanda::BigIntCompat everywhere we use bigint.
9319
9320 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
9321         * common-src/match.c: Correct array index to be within bounds
9322
9323 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
9324         * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
9325           AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
9326           appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
9327           (which causes errors).
9328
9329 2008-07-30  Dustin J. Mitchell <dustin@zmanda.com>
9330         * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
9331         * installcheck/amgetconf.pl: ditto
9332
9333 2008-07-29 Dan Locks <dwlocks@zmanda.com>
9334         * packaging/rpm/amanda.spec:  Merged fixes from enterprise .spec for
9335           parsing redhat-release for fedora versions correctly.
9336
9337 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
9338         * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
9339
9340 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
9341         * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
9342           Also check the returned ETag to make sure it matches the sent MD5 hash.
9343           Use simpler s3_base64_encode() instead of base64_encode().
9344           Correct the use of character classes in several regular expressions.
9345         * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
9346           s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
9347           as some constants. Move regexec_wrap() into this and rename it to
9348           s3_regexec_wrap().
9349         * device-src/Makefile.am: add s3-util.c and s3-util.h
9350
9351 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
9352         * installcheck/Installcheck/Config.pm: don't set default tapetype
9353           unless not set explicitly.
9354         * installcheck/Amanda_Config.pl: test changes
9355         * man/xml-source/amanda-client.conf.5.xml
9356           man/xml-source/amanda.conf.5.xml: encourage, but don't require,
9357           quoted identifiers
9358
9359 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
9360         * server-src/amserverconfig.pl: apply perltidy, factor some common
9361           code, and create the config dir and changer conf only after the check
9362           for mtx is performed
9363
9364 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
9365         * device-src/tests/semaphore-test.c: move function call out of
9366           variable initialization
9367
9368 2008-07-25 Dan Locks <dwlocks@zmanda.com>
9369         * packaging/deb/control: added alternative dependency of libssl0.9.8 for
9370           Ubuntu 8.x builds.  Added build dependencies for debhelper, fakeroot,
9371           libcurl-dev, libssl-dev.  Updated server and client dependency for curl
9372           to libcurl3
9373
9374 2008-07-18 Dan Locks <dwlocks@zmanda.com>
9375         *  configure.in:  add format-security to gcc compile flags
9376         *  server-src/amindexd.c,
9377            server-src/dumper.c,
9378            server-src/reporter.c,
9379            restore-src/restore.c,
9380            common-src/security-util.c,
9381            common-src/bsd-security.c:  replacemented unquoted strings in
9382            function arguments with "%s", arg.  jrfranks's suggestion, dustin provided
9383            syntax for the fix.
9384
9385 2008-07-17 Dan Locks <dwlocks@zmanda.com>
9386         * packaging/debian/amanda-enterprise-backup-*.install: added entries for
9387           applications and devices man pages.
9388
9389 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
9390         * man/Makefile.am: Add amzfs-snapshot.8
9391         * man/xml-source/amzfs-snapshot.8.xml: New man page.
9392         * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
9393         * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
9394         * application-src/amzfs-snapshot.pl: New script
9395         * application-src/Makefile.am: Add amzfs-snapshot
9396         * perl/Amanda/Util.swg: Add sanitise_filename.
9397
9398 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
9399         * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
9400
9401 2008-07-16  Jean-Louis Martineau <martineau@zmanda.com>
9402         * server-src/driver.c: Improve message in failure to dump in degraded
9403                                mode.
9404
9405 2008-07-16 Dan Locks <dwlocks@zmanda.com>
9406         * packaging/deb/control,
9407           packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
9408           build dependency for openssl and curl development files.
9409
9410 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
9411         * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
9412           specifying both IPv{4,6} does not work; remove IPv4
9413
9414 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
9415         * man/Makefile.am: Add new man pages.
9416         * man/xml-source/script-email.8.xml: New man page.
9417         * man/xml-source/amanda.8.xml: List new man pages.
9418         * man/xml-source/amanda-scripts.7.xml: New man page.
9419
9420 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
9421         * configure.in: generate (x)inetd files
9422         * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
9423           example/xinetd.amandaserver.in: give appropriate path for amandad,
9424           from configure (fixes builds on 64-bit machines)
9425 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
9426         * client-src/client_util.c: #include "glib-util.h"
9427         * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
9428         * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
9429         * device-src/rait-device.c: Remove g_ptr_array_foreach.
9430
9431 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
9432         * client-src/client_util.c: Read stdout of scripts.
9433         * client-src/client_util.h: New prototype for run_client_scripts,
9434                                     New client_script_result_t struct.
9435         * client-src/sendbackup.c: Send scripts properties to application.
9436         * client-src/sendsize.c: Send scripts properties to application.
9437         * client-src/selfcheck.c: Send scripts properties to application.
9438         * recover-src/extract_list.c: Send scripts properties to application.
9439         * common-src/amxml.h (script_t) Add field to keep result of script.
9440         * common-src/amxml.c: Set script->result to NULL.
9441
9442 2008-07-14 Dan Locks <dwlocks@zmanda.com>
9443         * packaging/rpm/amanda.spec: fix macro detection of fedora version
9444
9445 2008-07-14 Dan Locks <dwlocks@zmanda.com>
9446         * packaging/rpm/amanda.spec: fix distribution detection, add
9447         activate-devpay to server files list
9448
9449 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9450         * installcheck/Amanda_Changer.pl: set up and parse a config, now that
9451           Amanda::Changer needs one
9452
9453 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9454         * perl/Amanda/Changer.pm: set device properties when testing device
9455           labels in the changer
9456
9457 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
9458         * application-src/amgtar.c: Add a DIRECTORY property.
9459         * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
9460
9461 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9462         * changer-src/chg-lib.sh.in: remove bogus Log() invocations
9463
9464 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9465         * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
9466           to new manpages
9467
9468 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9469         * installcheck/Amanda_Device.pl: be more liberal in the flags that are
9470           accepted from S3's read_label; this will reduce false failures
9471
9472 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
9473         * client-src/client_util.c: Remove unused output_tool_property function.
9474         * client-src/client_util.h: Remove output_tool_property prototype.
9475         * man/xml-source/amanda-client.conf.5.xml: Add application and script
9476                                                    sections.
9477         * man/xml-source/amanda.conf.5.xml: Improve application and script
9478                                             sections.
9479         * device-src/device.c: Fix for new property_t.
9480         * server-src/diskfile.h: Change prototype for xml_application and
9481                                  xml_scripts.
9482         * server-src/diskfile.c: Add <priority> tag if client support it.
9483         * server-src/amindexd.c: Fix call to xml_application.
9484         * server-src/amcheck.c: Fix call to xml_application.
9485         * server-src/planner.c: Fix call to xml_application.
9486         * server-src/driverio.c: Fix call to xml_application.
9487         * server-src/server_util.c: Remove code to write property to stdin of
9488                                     script.
9489         * perl/Amanda/Config.swg: Fix for new property_t.
9490         * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
9491         * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
9492                                     function.
9493         * installcheck/Amanda_Config.pl: Fix for new property_t.
9494         * common-src/util.c: Remove unused output_tool_proplist fucntion,
9495                              Fix for new property_t.
9496         * common-src/util.h: Remove output_tool_proplist prototype.
9497         * common-src/amxml.c:Fix for new property_t, parse priority of property.
9498         * common-src/conffile.c: Parse priority of a property,
9499                           Add application and script to amanda-client.conf.
9500         * common-src/conffile.h: New property_t struct.
9501         * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
9502         * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
9503
9504 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
9505         * man/entities/global.entities: Add ENTITY email.jlm.
9506         * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
9507           amgtar.8 and amstar.8.
9508         * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
9509                                             at the begining of a line.
9510         * man/xml-source/amanda-applications.7.xml: New page.
9511         * man/xml-source/amgtar.8.xml: New page.
9512         * man/xml-source/amstar.8.xml: New page.
9513
9514 2008-07-09  Ian Turner <ian@zmanda.com>
9515         * device-src/device.h: Clarify documentation of device_read_label().
9516         * device-src/s3-device.c, device-src/tape-device.c,
9517           device-src/vfs-device.c (device_read_label): Always clear volume
9518           labels, even if device is in error.
9519         * device-src/rait-device.c: Ditto; also properly handle properties
9520           that change device labels.
9521
9522 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
9523         * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
9524           property (for setting location constraints).
9525
9526 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>
9527         * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
9528           when EOF occurs on writing
9529
9530 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>,
9531             Nikolas Coukouma <atrus@zmanda.com>,
9532             Ian Turner <ian@zmanda.com>,
9533             Jean-Louis Martineau <martineau@zmanda.com>
9534         Amanda has been analyzed with Klocwork source code analysis, the most
9535         accurate and comprehensive tool for finding critical programming
9536         errors and security vulnerabilities.
9537         * amandad-src/amandad.c changer-src/chg-scsi.c
9538           client-src/client_util.c client-src/selfcheck.c
9539           client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
9540           common-src/bsd-security.c common-src/fileheader.c
9541           common-src/local-security.c common-src/queueing.c
9542           common-src/security-util.c device-src/property.c
9543           device-src/rait-device.c device-src/tape-device.c
9544           device-src/vfs-device.c recover-src/set_commands.c
9545           restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
9546           server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
9547           server-src/changer.c server-src/chunker.c server-src/cmdline.c
9548           server-src/driver.c server-src/holding.c server-src/logfile.c
9549           server-src/reporter.c server-src/server_util.c
9550           server-src/taper-file-source.c: fix many issues identified
9551           by Klockwork, ranging in severity from stylistic to minor.
9552            - many memory leaks in error paths and application shutdown
9553            - better handling of incorrect commandline arguments
9554            - better resource management (file descriptors, etc.)
9555
9556 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
9557         * device-src/Makefile.am: conditionalize activate-devpay on
9558           WANT_S3_DEVICE
9559
9560 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
9561         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
9562           device-src/activate-devpay.c, device-src/Makefile.am:
9563           Allow both regular S3 and S3-with-DevPay to be used in
9564           the same installation. Remove WANT_DEVPAY macro.
9565         * device-src/s3-device.c: Added a flag, is_devpay, to the device
9566           and handled divergent cases. Removed useless device_error_set calls.
9567         * device-src/s3.c: Use DevPay authentication iff user_token is set.
9568           Replaced some if statements about non-NULL pointers with assertions.
9569         * config/amanda/s3-device.m4, device-src/Makefile.am:
9570           remove devpay flag and WANT_DEVPAY definition.
9571         * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
9572           other S3 tests.
9573
9574 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
9575         * device-src/s3.c: wait for bucket to appear after creation, treat
9576           missing bucket as temporary error, increase retries from 5 to 14
9577           (about 3min), explicitly handle HTTP verbs as libcurl expects.
9578         * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
9579           buckets taking too long to appear.
9580
9581 2008-07-06 Dan Locks <dwlocks@zmanda.com>
9582         * packaging/deb/amanda-backup-server.postrm
9583           packaging/deb/amanda-backup-client.postrm: removed unused
9584           code
9585         * packaging/deb/postrm: fixed typo in deluser command
9586         * packaging/deb/rules: added specific preinst and postrm scripts for
9587           client and server.
9588
9589 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
9590         * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
9591           new files for HTML output
9592         * man/xslt/man.xsl.in: substitute XSLT_VERS
9593         * man/xml-source/amanda-devices.7.xml: tweaks
9594         * man/xml-source/amanda.8.xml: tweaks
9595         * man/xml-source/amanda.conf.5.xml: tweaks
9596         * man/xml-source/amgetconf.8.xml: tweaks
9597         * man/xml-source/amtoc.8.xml: tweaks
9598
9599 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
9600         * common-src/genversion.c: correctly represent available amflock
9601           implementations
9602
9603 2008-07-03  Jean-Louis Martineau <martineau@zmanda.com>
9604         * perl/Amanda/Xfer.swg: #include "glib-util.h"
9605
9606 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9607         * device-src/rait-device.c: don't use self->device_name in open_device
9608
9609 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9610         * installcheck/amgetconf.pl: supply a plugin for scripts
9611
9612 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
9613         * server-src/diskfile.c: Check an application is set if
9614                                  program == "APPLICATION".
9615         * common-src/amxml.c: Check plugin is set for application and script.
9616         * common-src/conffile.c: Check plugin is set for application and script
9617
9618 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
9619         * server-src/amstatus.pl: Fix printing of config path on error.
9620
9621 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9622         * installcheck/Amanda_Device.pl: test that start(READ) without first
9623           reading the label doesn't cause errors
9624         * device-src/s3-device.c: call s3_device_read_label directly
9625
9626 2008-07-02  Ian Turner <ian@zmanda.com>
9627         * man/xml-source/amanda.8.xml: Document how to override device
9628           properties.
9629
9630 2008-07-02  Ian Turner <ian@zmanda.com>
9631         Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
9632         to this patch.
9633         * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
9634           to start RAIT device in degraded mode.
9635         * device/device.c: Be a little more forgiving of NULL devices.
9636         * device-src/vfs-device.c: Fix a bug where vfs_device_start()
9637           would sometimes throw an erroneous assertion.
9638         * device-src/rait-device.c: Be much more robust in error handling;
9639           new feature to start a RAIT device in degraded mode.
9640         * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
9641
9642 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9643         * common-src/amanda.h: remove unused #include <alloca.h>
9644
9645 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9646         * device-src/tape-device.c: add "user" and "good" to feature flags
9647         * man/xml-source/amanda-devices.7.xml: document it
9648
9649 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
9650         * device-src/device.h: fix comments to reflect removal of
9651           autofinishing
9652         * device-src/tape-device.c: remove autofinishing
9653
9654 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
9655         * changer-src/chg-lib.sh.in: also handle bare tape dev names
9656
9657 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
9658         * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
9659         * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
9660           open the debug file
9661
9662 2008-06-30  Dustin J. Mitchell <dustin@zmanda.com>
9663         * common-src/match.c: fix multiple bugs in match_datestamp
9664
9665 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
9666         * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
9667           perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
9668           perl/Amanda/Device.swg perl/Amanda/Logfile.swg
9669           perl/Amanda/Util.swg: POD cleanup
9670         * perl/Makefile.am: new files, rules to make HTML
9671         * perl/amperl.css: CSS file for online POD
9672         * perl/make_html.pl: make online POD
9673
9674 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
9675         * installcheck/Makefile.am installcheck/amstatus.pl: new check
9676
9677 2008-06-27  Ian Turner <ian@zmanda.com>
9678         * server-src/taper.c: fix printing a NULL pointer in the error path
9679
9680 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
9681         * device-src/device.c: check for and fail on multiple
9682           short writes to the same file
9683         * device-src/null-device.c device-src/rait-device.c
9684           device-src/s3-device.c device-src/tape-device.c
9685           device-src/vfs-device.c: do not autofinish files
9686         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
9687           expect devices to autofinish anymore
9688         * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
9689         * device-src/device-queueing.c: comments
9690         * xfer-src/xfer-element.h: comments
9691
9692 2008-06-27  Nikolas Coukouma <atrus@zmanda.com>
9693         * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
9694           Add support for bucket location constraints
9695         * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
9696         * device-src/s3.c device-src/s3.h device-src/s3-device.c:
9697           Checks for libcurl and bucket name compatability with location constraints
9698         * device-src/s3.c: make s3_init() threadsafe,
9699           refactor regex compilation and calling,
9700           refactor perform_request() functions to construct URL later,
9701           use GString to tidy string generation
9702         * installcheck/Amanda_Device.pl: Add tests for location constraints
9703
9704 2008-06-27  Ian Turner <ian@zmanda.com>
9705         * device-src/rait-device.c: Fix a memory corruption issue on the last
9706           block of a file.
9707
9708 2008-06-27  Ian Turner <ian@zmanda.com>
9709         * device-src/rait-device.c: Fix a memory corruption issue on the last
9710           block of a file.
9711
9712 2008-06-27  Ian Turner <ian@zmanda.com>
9713         * device-src/rait-device.c: Track file numbers properly when child
9714           devices change them (that is, in rait_device_start_file() and
9715           rait_device_seek_file()).
9716         * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
9717
9718 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
9719         * device-src/s3-device.c (s3_device_read_label): Don't set
9720           volume_header if nothing is read.
9721
9722 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
9723         * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
9724
9725 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
9726         * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
9727         * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
9728           be busy or offline
9729
9730 2008-06-26  Jean-Louis Martineau <martineau@zmanda.com>
9731         * application-src/amstar.c: Use local start_time variable.
9732         * application-src/amgtar.c: Use local start_time variable.
9733         * common-src/clock.h: Remove times_zero and start_time extern.
9734         * common-src/clock.c: Remove times_zero.
9735
9736 2008-06-25  Jean-Louis Martineau <martineau@zmanda.com>
9737         * server-src/diskfile.c: Don't send encryption in xml req packet for
9738                                  server encryption.
9739
9740 2008-06-25  Dustin J. Mitchell <dustin@zmanda.com>
9741         * application-src/amgtar.c: revert --atime-preserve change
9742
9743 2008-06-22  Dustin J. Mitchell <dustin@zmanda.com>
9744         * application-src/amgtar.c: change --atime-preserve=system to
9745           --atime-preserve
9746
9747 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>
9748         * installcheck/amdump.pl: fix checks to refresh the test configuration
9749
9750 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
9751         * server-src/amdump.sh: correctly handle error exits from planner
9752         * server-src/planner.c: fail if planning fails
9753         * installcheck/amdump.pl: test changes
9754
9755 2008-06-20 Dan Locks <dwlocks@zmanda.com>
9756         * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
9757
9758 2008-06-20 Dan Locks <dwlocks@zmanda.com>
9759         * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
9760
9761 2008-06-20  Jean-Louis Martineau <martineau@zmanda.com>
9762         * client-src/client_util.c: Call check_access() only
9763                                     if getuid() == geteuid().
9764         * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
9765
9766 2008-06-19  Jean-Louis Martineau <martineau@zmanda.com>
9767         * server-src/amcleanup.pl: Correctly rename amdump files.
9768
9769 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
9770         * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
9771         * man/entities/global.entities: emails for dustin and ian
9772         * man/xml-source/amanda.8.xml: refer to new manpage
9773         * man/xml-source/amanda.conf.5.xml: refer to new manpage
9774         * man/xml-source/amrecover.8.xml: refer to new manpage
9775         * server-src/amcheck.c: fix message regarding WORM media
9776
9777 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9778         * server-src/amgetconf.pl: fail on bad parameters or subsections, but
9779           not empty values or subsection lists
9780         * perl/Amanda/Config.swg: publish a list of subsections
9781         * installcheck/amgetconf.pl: test it
9782
9783 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9784         * example/template.d/amanda-single-tape.conf.in
9785           example/template.d/amanda-harddisk.conf.in
9786           example/template.d/amanda-tape-changer.conf.in
9787           example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
9788           use application amgtar instead of program GNUTAR
9789
9790 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9791         * config/amanda/net.m4: AC_SUBST port ranges; update comments
9792
9793 2008-06-19  Satya Ganga <gsat@zmanda.com>
9794         * example/template.d/amanda-single-tape.conf.in
9795           example/template.d/advanced.conf.in: update displayunit to "g" and
9796           remove chg-manual for single tape configurations.
9797
9798 2008-06-19  Ian Turner <ian@zmanda.com>
9799         * device-src/rait-device.c (rait_device_start): Check for consistent
9800           volume label on all child devices, fail with
9801           DEVICE_STATUS_DEVICE_ERROR otherwise.
9802         * installcheck/Amanda_Device.pl: Test for foregoing.
9803
9804 2008-06-19  Paddy Sreenivasan <paddy@zmanda.com>
9805         * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
9806
9807 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9808         * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
9809         * config/automake/scripts.am: explain why
9810
9811 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9812         * changer-src/chg-manual.sh: Make it interruptible.
9813
9814 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9815         * application-src/amgtar.c: Remove check for amandates file.
9816
9817 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9818         * common-src/amanda.h: Fix skip_quoted_string for "\\".
9819         * common-src/file.c: Fix debug_agets for "\\".
9820
9821 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9822         * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
9823
9824 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9825         * client-src/sendsize.c: Report error from application to server.
9826         * application-src/amgtar.c: Report exit status of tar.
9827
9828 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
9829         * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
9830           xfer-src/dest-device.c xfer-src/source-device.c: new elements
9831           Amanda::Xfer:{Dest,Source}::Device
9832         * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
9833         * installcheck/Amanda_Xfer.pl: tests for new elements
9834
9835 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
9836         * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
9837           and amgtar
9838         * installcheck/amservice.pl: put -f switches first
9839
9840 2008-06-15  Dustin J. Mitchell <dustin@zmanda.com>
9841         * installcheck/Amanda_Config.pl: test config overwrites
9842         * common-src/conffile.c: don't segfault applying config overwrites
9843           after config_init(0, NULL)
9844
9845 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
9846         * client-src/sendbackup.c: Run compression and encryption for
9847                                    application-api.
9848
9849 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
9850         * perl/Amanda/Util.swg: Expose get_original_cwd.
9851         * application-src/amgtar_perl.pl, application-src/amoracle.pl:
9852           chdir(get_original_cwd()) before restore.
9853
9854 2008-06-13  Dustin J. Mitchell <dustin@zmanda.com>
9855         * device-src/property.c device-src/property.h: remove tape properties
9856         * device-src/tape-device.c device-src/tape-device.h: add tape
9857           properties
9858
9859 2008-06-12 Dan Locks <dwlocks@zmanda.com>
9860         * packaging/rpm/amanda_enterprise.spec,
9861           packaging/rpm/amanda_enterprise_client.spec,
9862           packaging/deb/rules: install amgtar and amstar suid root
9863
9864 2008-06-12  Jean-Louis Martineau <martineau@zmanda.com>
9865         * client-src/selfcheck.c: Typo.
9866
9867 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9868         * client-src/sendsize.c: Check MAX-LEVEL from application.
9869         * server-src/planner.c: Ask for estimate even if SERVER, estimate is
9870           valid if client return -1 and invelid if client return -2.
9871         * common-src/amfeatures.h: New fe_xml_estimate amfeature.
9872         * common-src/amxml.c: Parse <estimate> tag.
9873         * common-src/amxml.h (dle_t): New estimate field.
9874         * common-src/amfeatures.c: Set fe_xml_estimate.
9875
9876 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9877         * client-src/client_util.c (application_property_add_to_argv):
9878                                    Add include and exclude.
9879         * client-src/client_util.h (application_property_add_to_argv):
9880                                    New prototype.
9881         * client-src/sendbackup.c, client-src/sendsize.c,
9882           client-src/selfcheck.c, recover-src/extract_list.c:
9883           Add bsu param to application_property_add_to_argv.
9884         * client-src/selfcheck.c: Check if application support includ/exclude.
9885         * application-src/amgtar_perl.pl: Don't support include/exclude.
9886         * application-src/amgtar.c: Support include-optional and
9887                                     exclude-optional.
9888         * common-src/amxml.c: Fix include/exclude parsing.
9889
9890 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9891         * application-src/Makefile.am: Install amgtar and amstar suid root.
9892
9893 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9894         * client-src/selfcheck.c: Print cmdline before execing the application.
9895         * application-src/generic-dumper.pl: Cleanup.
9896         * application-src/script-oracle.pl: Cleanup.
9897         * application-src/script-email.pl: Cleanup.
9898         * application-src/amgtar_perl.pl: Cleanup.
9899         * application-src/generic-script.pl: Cleanup.
9900         * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
9901         * perl/Amanda/Debug.swg: Typo.
9902
9903 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
9904         * common-src/Makefile.am: don't use $(builddir), fix comparison
9905         * installcheck/Makefile.am: don't use $(builddir)
9906
9907 2008-06-10  Ian Turner <ian@zmanda.com>
9908         * common-src/fileheader.c: Silence a compiler warning.
9909         * device-src/rait-device.c: ditto.
9910
9911 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
9912         * device-src/rait-device.c: hack around glib bug in versions <2.10.2
9913           using the precompiler macro instead of glib_check_version, which
9914           doesn't exist in every version of glib
9915
9916 2008-06-10 Dan Locks <dwlocks@zmanda.com>
9917         * packaging/rpm/amanda.spec:  Replaced individual SBINDIR/am... entries
9918           with SBINDIR/am* in %%files
9919
9920 2008-06-10  Jean-Louis Martineau <martineau@zmanda.com>
9921         * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
9922
9923 2008-06-09 Dan Locks <dwlocks@zmanda.com>
9924         * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
9925           cause the script to fail.
9926
9927 2008-06-09 Dan Locks <dwlocks@zmanda.com>
9928         * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
9929           use a single SBINDIR/am* entry in %files
9930
9931 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
9932         * common-src/fileheader.c: correctly free dle_str
9933         * device-src/device.c device-src/device.h: add volume_header Device
9934           attributes
9935         * device-src/rait-device.c device-src/s3-device.c
9936           device-src/tape-device.c device-src/vfs-device.c: populate
9937           volume_header
9938         * server-src/amlabel.c: use volume_header to detect a non-empty tape
9939           and require a force (-f) to overwrite it
9940         * server-src/taperscan.c: use volume_header to detect a non-empty tape
9941           and require 'amlabel -f' to overwrite it
9942         * device-src/tape-device.c device-src/vfs-device.c: fix read_label
9943           return values and remove useless chain-up calls
9944
9945 2008-06-09  Jean-Louis Martineau <martineau@zmanda.com>
9946         * server-src/amservice.c: Open input file in read mode, prepend
9947                                   get_original_cwd() to relative path.
9948         * installcheck/Makefile.am: Check amservice only on server.
9949
9950 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
9951         * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
9952
9953 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
9954         * man/xml-source/amanda.8.xml: add links to amservice
9955
9956 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9957         * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
9958         * configure.in: don't call AC_SOCKADDR_STORAGE
9959
9960 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9961         * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
9962
9963 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9964         * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
9965           handling so that checks can load/unload vtapes "manually"
9966
9967 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9968         * server-src/amdevcheck.pl: apply config_overwrites before printing
9969           config errors
9970
9971 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9972         * application-src/amgtar_perl.pl application-src/amstar_perl.pl
9973           application-src/generic-dumper.pl application-src/generic-script.pl
9974           application-src/script-email.pl server-src/amgetconf.pl: add GPL
9975           notice
9976
9977 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9978         * server-src/amservice.c: Exit with 1 if the connection fail.
9979         * man/xml-source/amservice.8.xml: Document exit code.
9980
9981 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
9982         * device-src/device.c: make device_set_error bulletproof to NULLs
9983         * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
9984           not defined
9985
9986 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9987         * man/Makefile.am: Add amservice.8.
9988         * man/xml-source/amservice.8.xml: New man page for amservice.
9989         * server-src/amservice.c: New program to execute an amanda service
9990                                   on a client.
9991         * server-src/Makefile.am: Add amservice
9992         * installcheck/amservice.pl: New check for amservice program.
9993         * installcheck/Makefile.am: Add amservice
9994
9995 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9996         * server-src/dumper.c: Don't quote dle_str.
9997         * common-src/fileheader.c: DLE= in header is like heredoc.
9998
9999 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
10000         * device-src/*: major overhaul:
10001           - add device_set_error to set error status and message for Device
10002           - every error return from a device API method sets error status
10003           - device_status_error is now threadsave
10004           - a device in an error state will not perform further operations
10005           - ensure Device attributes are set correctly by member functions
10006           - device_open never returns NULL, but may return a null device with
10007             error status set
10008           - clearly define $device_name="$device_type:$device_node"
10009           - send RAIT logging to the debug log
10010           - vfs, tape devices don't touch the device until read_label or start
10011           - on out-of-space in write, set is_eof, finish the file, and return
10012             FALSE
10013           - use accessor functions in Amanda::Device
10014           - move device-specific properties to live with their devices
10015           - change g_return_val_if_fail to g_assert or explicit checks
10016           - remove most default Device methods, as they were more confusing
10017             than helpful
10018           - misc. other cleanup
10019         * device-src/null-device.h device-src/rait-device.h
10020           device-src/s3-device.h device-src/vfs-device.h: removed to make most
10021           device class declarations local to the source file
10022         * perl/Amanda/Device.swg: new error handling
10023         * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
10024           server-src/amcheck.c server-src/amcheckdump.pl
10025           server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
10026           server-src/taperscan.c: use new device error-handling
10027         * server-src/taper-file-source.c server-src/taper-port-source.c
10028           server-src/taper-source.c: rename GObject constants (typo)
10029         * server-src/taper-source.h:
10030         * server-src/taper.c: handle opening devices better, log on EOM
10031         * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
10032           correctly
10033         * installcheck/amdevcheck.pl: volume-unlabeled message has changed
10034         * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
10035           classes
10036         * configure.in device-src/tests/: removed
10037         * device-src/vfs-test.c: moved from device-src/tests/
10038
10039 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
10040         * client-src/sendbackup.c: Don't write the uncompression program if
10041                                    it is not client compressed.
10042
10043 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
10044         * server-src/taper.c: Log no-tape line.
10045
10046 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
10047         * server-src/reporter.c: Improve formating.
10048
10049 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
10050         * server-src/driver.c: start the degraded mode if it receive
10051                                NO-NEW-TAPE from taper.
10052
10053 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
10054         * server-src/amcheckdump.pl: Check log fiels in directory if find_log
10055                                      find no log for the timestamps.
10056
10057 2008-06-05  Dustin J. Mitchell <dustin@zmanda.com>
10058         * common-src/conffile.c common-src/conffile.h: expose config_add_error
10059         * server-src/diskfile.c server-src/diskfile.h: use config_add_error
10060           to send diskfile errors to conffile's error-handling mechanism
10061         * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
10062           server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
10063           server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
10064           server-src/planner.c: parse disklist along with config
10065
10066 2008-06-04  Jean-Louis Martineau <martineau@zmanda.com>
10067         And Dustin J. Mitchell <dustin@zmanda.com>
10068         * man/xml-source/amanda-client.conf.5.xml: Document property.
10069         * installcheck/Amanda_Config.pl: Add test for client property.
10070         * common-src/conffile.c (client_var): Add CONF_PROPERTY.
10071
10072 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
10073         * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
10074         * common-src/fileheader.c: Don't print NULL dle_str.
10075
10076 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
10077         * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
10078                                    add fe_amrecover_dle_in_header.
10079         * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
10080         * recover-src/set_commands.c: Use fe_amindexd_DLE.
10081         * server-src/dumper.c: Set dle_str and add it to the header.
10082         * restore-src/restore.c: Remove dle_str is client doesn't have
10083                                  fe_amrecover_dle_in_header.
10084         * common-src/fileheader.c: Parse and set dle_str from header.
10085         * common-src/fileheader.h: Add dle_str in dumpfile_t.
10086
10087 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
10088         * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
10089           man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
10090           man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
10091
10092 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
10093         * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
10094                                                  subsec_name.
10095         * installcheck/amgetconf.pl: Fix and add more tests.
10096
10097 2008-06-03  Dustin J. Mitchell <dustin@zmanda.com>
10098         * common-src/amxml.c: give parse error on an empty "disk" element
10099         * server-src/diskfile.c: give parse error on an empty "disk" element
10100
10101 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
10102         * common-src/security-util.c: Remove unneeded pointer cast.
10103         * common-src/stream.c: Fix compiler error.
10104
10105 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
10106         * installcheck/Installcheck/Config.pm: fix subsection inheritance
10107
10108 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
10109         * common-src/amanda.h, common-src/bsd-security.c,
10110           common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
10111           common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
10112           common-src/security-util.c, common-src/security-util.h,
10113           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
10114           common-src/stream.c, common-src/util.c, common-src/util.h,
10115           restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
10116           change all relevant functions to use it, to avoid aliasing violations
10117
10118 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
10119         * common-src/conffile.c (lookup_keyword): Use temporary variable.
10120         * installcheck/Amanda_Config.pl:  Check insentivity of -/_ in amanda
10121                                           keyword.
10122         * installcheck/Installcheck/Config.pm: Adjust to make the subsection
10123                                                inheritance work.
10124
10125 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
10126         * recover-src/extract_list.c: Send properties from dump_dle to
10127                                       application plugin.
10128
10129 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
10130         * client-src/client_util.c: New *-RECOVER scripts.
10131         * application-src/script-email.pl: Add new *-RECOVER scripts.
10132         * application-src/generic-script.pl: Add new *-RECOVER scripts.
10133         * application-src/amstar.c: Fix.
10134         * application-src/amgtar.c: Fix.
10135         * recover-src/amrecover.c: Add a global dump_dle variable.
10136         * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
10137                                       scripts.
10138         * recover-src/amrecover.h: Add an extern dump_dle variable.
10139         * recover-src/set_commands.c: Send to amindexd the DLE command.
10140         * server-src/amindexd.c: Handle the DLE command.
10141         * server-src/server_util.c: Add *-RECOVER scripts, they can't be
10142                                     executed on server.
10143         * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
10144         * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
10145         * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
10146         * common-src/amxml.c: Add *-RECOVER scripts.
10147         * common-src/conffile.c: Add *-RECOVER scripts.
10148         * common-src/conffile.h: Add *-RECOVER scripts.
10149
10150 2008-05-29  Dustin J. Mitchell <dustin@zmanda.com>
10151         * common-src/conffile.c: make config insensitive to
10152           differences between '-' and '_'
10153         * man/xml-source/amanda-client.conf.5.xml
10154           man/xml-source/amanda.conf.5.xml
10155           man/xml-source/amgetconf.8.xml: document it
10156         * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
10157           tests
10158
10159 2008-05-29  Orion Poplawski <orion@cora.nwra.com>
10160         * server-src/chunker.c: fix buffer overrun
10161
10162 2008-05-29  Jean-Louis Martineau <martineau@zmanda.com>
10163         * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
10164
10165 2008-05-28  Dustin J. Mitchell <dustin@zmanda.com>
10166         * device-src/rait-device.c: rait-device returns correct size when
10167           blocksize is too small
10168
10169 2008-05-28  Jean-Louis Martineau <martineau@zmanda.com>
10170         * server-src/reporter.c: Fix ignoring pid line.
10171
10172 2008-05-27  Jean-Louis Martineau <martineau@zmanda.com>
10173         * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
10174         * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
10175
10176 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
10177         * server-src/amstatus.pl: use lib '@amperldir@';
10178         * perl/Amanda/Process.pm: use Amanda::Constants;
10179
10180 2008-05-26  Dustin J. Mitchell <dustin@zmanda.com>
10181         * device-src/rait-device.c: temporarily remove the call to set the
10182           BLOCK_SIZE property on all RAIT children, as it fails with VFS
10183           devices
10184         * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
10185           correctly detect and handle child device failures
10186         * common-src/fileheader.c: fix parse_file_header to be threadsafe
10187
10188 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
10189         * device-src/tape-aix.c, device-src/tape-xenix.c
10190           device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
10191         * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
10192         * device-src/property.c: Add broken_gmt_online property.
10193         * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
10194         * device-src/tape-device.c: Use broken_gmt_online property.
10195         * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
10196         * device-src/tape-ops.h (tape_is_ready): Change prototype.
10197
10198 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
10199         * changer-src/chg-zd-mtx.sh: Fix logging.
10200
10201 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
10202         * packaging/rpm/amanda.spec: Fix output message.
10203
10204 2008-05-25  Dustin J. Mitchell <dustin@zmanda.com>
10205         * common-src/Makefile.am common-src/simpleprng.c
10206           common-src/simpleprng.h: new simple PRNG module for
10207           reproducible use in tests (bitlength bug fixed).
10208         * xfer-src/dest-null.c: verify stream against PRNG
10209         * xfer-src/source-random.c: use PRNG to create stream
10210         * installcheck/Amanda_Xfer.pl: verify streams in xfers
10211         * perl/Amanda/Xfer.swg: use PRNG
10212         * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
10213           PRNG to test glue elements
10214
10215 2008-05-23  Dustin J. Mitchell <dustin@zmanda.com>
10216         * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
10217           reading from dying child
10218
10219 2008-05-22  Dustin J. Mitchell <dustin@zmanda.com>
10220         * xfer-src/xfer-test.c: don't try to write to a file in the
10221           source directory
10222
10223 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
10224         * perl/Amanda/Process.pm (load_ps_table): Fix split.
10225
10226 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
10227         * configure.in: Call AMANDA_PS_ARGUMENT
10228         * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
10229                                                     argument.
10230         * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
10231         * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
10232
10233 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
10234         * perl/Amanda/Process.pm: process_alive return '' if the process is
10235                                   dead.
10236         * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
10237         * installcheck/Makefile.am (server_tests): Add Amanda_Process.
10238
10239 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
10240         * server-src/amstatus.pl: Add "failed: killed while" to some status if
10241                                   the driver process is dead.
10242         * perl/Amanda/Process.pm: New process_alive function.
10243
10244 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
10245         * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
10246           server-src/amflush.c, server-src/driver.c, server-src/taper.c,
10247           restore-src/amidxtaped.c, restore-src/restore.c,
10248           restore-src/amfetchdump.c: Convert all pid_t to long before printing.
10249
10250 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
10251         * man/xml-source/amcleanup.8.xml: Document new -p option.
10252         * server-src/logfile.c (program_str): Add many programs.
10253         * server-src/logfile.h (program_e): Add many programs.
10254         * server-src/dumper.c, server-src/planner.c,
10255           server-src/chunker.c, server-src/amflush.c,
10256           server-src/driver.c, server-src/taper.c,
10257           restore-src/amidxtaped.c, restore-src/restore.c,
10258           restore-src/amfetchdump.c,
10259           server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
10260         * server-src/server_util.c (run_amcleanup): New function to run
10261                                                     amcleanup.
10262         * server-src/server_util.c (get_master_process): New function get the
10263                                  name of the first pid line in a log file.
10264         * server-src/server_util.h (run_amcleanup): Prototype.
10265         * server-src/server_util.h (get_master_process): Prototype.
10266         * server-src/reporter.c: Ignore pid and pid-done lines.
10267         * server-src/amcleanup.pl: New amcleanup program written in perl.
10268         * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
10269                                   SCRIPTS_PERL.
10270         * server-src/amcleanup.sh: Old program removed.
10271         * perl/Amanda/Process.pm: New module to hanlde amanda process.
10272         * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
10273
10274 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
10275         * server-src/driver.c: Fix quoting of diskname.
10276
10277 2008-05-20  Dustin J. Mitchell <dustin@zmanda.com>
10278         * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
10279           necessarily socklen_t used by getpeername et al.
10280         * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
10281           common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
10282           common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
10283           use the type instead of socklen_t
10284
10285 2008-05-20  Jean-Louis Martineau <martineau@zmanda.com>
10286             Dustin J. Mitchell <dustin@zmanda.com>
10287             John Franks <jrfranks@zmanda.com>
10288         * server-src/amstatus.pl: quote disknames in amstatus
10289         * server-src/Makefile.am: don't check amstatus (since it
10290           uses Amanda::* libs)
10291         * perl/Amanda/Util.swg: add (un)quote_string
10292         * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
10293
10294 2008-05-16  Jean-Louis Martineau <martineau@zmanda.com>
10295         * common-src/conffile.c: Fix conf_parserror use.
10296
10297 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
10298         * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
10299           XFA in server builds
10300
10301 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
10302         * common-src/conffile.c: Parse send-amreport-on.
10303         * common-src/conffile.h (send_amreport_t): New enum for possible value
10304                                                    of send-amreport-on.
10305         * server-src/reporter.c: Use send-amreport-on setting.
10306         * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
10307         * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
10308
10309 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
10310         * client-src/client_util.c (application_property_argv_size): New
10311           function to count the number of argument needed to store all
10312           properties of an application for + * a dle in an ARGV.
10313         * client-src/client_util.c (application_property_add_to_argv): New
10314           function to add all properties of an application for a dle to an ARGV.
10315         * client-src/client_util.h (application_property_argv_size,
10316                                   application_property_add_to_argv): Prototype.
10317         * client-src/sendbackup.c, client-src/sendsize.c,
10318           client-src/selfcheck.c: Use new functions to pass properties as
10319                                   argument to application plugin.
10320         * application-src/script-email.pl, application-src/amstar.c,
10321           application-src/generic-script.pl,
10322           application-src/amgtar.c: Get properties from command line.
10323         * server-src/server_util.c: Use new functions to pass properties as
10324                                     argument to pre/post script.
10325         * common-src/util.c (count_proplist): Callback function to count the
10326                                               number of values of a property.
10327         * common-src/util.c (proplist_add_to_argv): callback function to store a
10328                                         property and it's value in an ARGV.
10329         * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
10330         * common-src/conffile.c (property_argv_size): New function to count the
10331                                                       number of properties.
10332         * common-src/conffile.c (property_add_to_argv): New function to store a
10333                                         property and it's value in an ARGV.
10334         * common-src/conffile.h (property_argv_size,
10335                                  property_add_to_argv): Prototype.
10336
10337 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
10338         * xfer-src/Makefile.am: add element-glue.h to the distribution
10339         * xfer-src/element-glue.h: add 'extern'
10340         * xfer-src/xfer-test.c: fix test elements
10341         * xfer-src/xfer.c: don't use the sometimes-undefined constant
10342           G_MAXINT32
10343         * xfer-src/source-random.c: Only use 'prolong' for threads, not
10344           push/pull methods
10345         * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
10346           XMSG_INFO
10347
10348 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
10349         * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
10350           xfer-src/source-random.c xfer-src/xfer-test.c
10351           xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
10352           xfer-src/source-fd.c xfer-src/element-glue.h
10353           xfer-src/Makefile.am xfer-src/filter-xor.c
10354           xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
10355           of transfer mechansims and new algorithm for linking xfers, with
10356           expanded unit tests to exercise new glue elements
10357         * installcheck/Amanda_Xfer.pl: updated installchecks
10358         * common-src/semaphore.h: fix comment typo
10359         * common-src/testutils.c common-src/testutils.h: optionally skip
10360           timeouts (-t), and only show g_debug messages if -d is given
10361
10362 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
10363         * client-src/amhpfixdevs.sh client-src/Makefile.am
10364           client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
10365           permanently remove amsinixfixdevs and amhpfixdevs
10366
10367 2008-05-12  Jean-Louis Martineau <martineau@zmanda.com>
10368           Patch by Orion Poplawski
10369         * server-src/planner.c: Warn about overwrite of last level 1, and
10370           force backup of level 1 if overwrite on this run.
10371
10372 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
10373         * common-src/conffile.c: Define default tapetype.
10374
10375 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
10376         * device-src/tape-device.c (tape_validate_properties): New function to
10377           validate properties.
10378
10379 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
10380         * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
10381
10382 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
10383         * common-src/conffile.c: Check the tapetype is defined.
10384
10385 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
10386         * device-src/tape-device.c: Allow user to set "read_buffer_size"
10387                                     property.
10388         * restore-src/amrestore.c: Don't limit blocksize to
10389                                    --with-maxtapeblocksize.
10390         * common-src/conffile.c: Increase readblocksize to blocksize.
10391           blocksize and readblocksize can be bigger than
10392           --with-maxtapeblocksize.
10393
10394 2008-05-06  Jean-Louis Martineau <martineau@zmanda.com>
10395         * common-src/conffile.c: Add a 'mailer' config parameter.
10396         * common-src/conffile.h: Add CNF_MAILER.
10397         * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
10398           changer-src/chg-manual.sh, application-src/script-email.pl
10399           server-src/amcheck.c server-src/amgetconf.pl
10400           server-src/reporter.c: Use mailer from config.
10401         * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
10402         * config/amanda/progs.m4: Set DEFAULT_MAILER.
10403         * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
10404         * man/xml-source/amanda-client.conf.5.xml,
10405           man/xml-source/amanda.conf.5.xml,
10406           man/xml-source/amgetconf.8.xml: Update man pages.
10407
10408 2008-05-02 Dan Locks <dwlocks@zmanda.com>
10409         * packaging/rpm/amanda.spec:  Replace ${ with %{ where applicable.
10410
10411 2008-05-02 Dan Locks <dwlocks@zmanda.com>
10412         *  packaging/deb/amanda-enterprise-backup-server.postinst
10413            packaging/rpm/amanda_enterprise.spec:  Change .am_passphrase to a
10414            semi-random number in both packages.
10415
10416 2008-04-29  Dustin J. Mitchell <dustin@zmanda.com>
10417         * config/amanda/dirs.m4: note that --with-dumperdir is
10418           deprecated in ./configure --help
10419
10420
10421 2008-04-28  Jean-Louis Martineau <martineau@zmanda.com>
10422         * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
10423
10424 2008-04-28  Dustin J. Mitchell <dustin@zmanda.com>
10425         * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
10426           xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
10427           Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
10428         * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
10429           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
10430           reorganize detection of transfer completion, to handle cases where
10431           elements don't do any active processing
10432         * installcheck/Amanda_Xfer.pl: test it all
10433
10434 2008-04-24  Jean-Louis Martineau <martineau@zmanda.com>
10435         * server-src/reporter.c: Correctly print truncated quoted diskname.
10436
10437 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
10438         * installcheck/Amanda_MainLoop.pl common-src/event-test.c
10439           common-src/queueing-test.c: try to make tests more resilient
10440           to heavily-loaded, slow machines
10441
10442 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
10443         * common-src/security-util.c: Typo.
10444
10445 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
10446         * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
10447         * common-src/event.c: Check event is not dead before fire it.
10448
10449 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
10450         * server-src/planner.c: Fix vstrextend use.
10451
10452 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
10453         * common-src/event.c: use internal child_watch_source
10454           for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
10455           signals and are thus unreliable
10456
10457 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
10458         * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
10459           parsing of 'sec' and 'kb' from logfile messages
10460         * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
10461         * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
10462           for new module
10463
10464 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
10465         * common-src/event.c: on glib <2.4.0, use a simple polling
10466           child_watch_source; on more recent glib, use glib's own
10467           child_watch_source
10468
10469 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
10470         * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
10471           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
10472           xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
10473           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
10474           - flatten XferElement hierarchy to one level
10475           - change test element argument order
10476           - rename XMsg.src to Xmsg.elt
10477           - Improve memory management (refcounting, perl interface)
10478         * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
10479           perl/Amanda/MainLoop.swg perl/Makefile.am
10480           perl/amglue/amglue.h perl/amglue/source.c:
10481           - rewrite handling of amglue_Source for better refcounting
10482           - Amanda::MainLoop callbacks get the event source as 1st argument,
10483             and will be called even if the event source goes out of scope in
10484             perl
10485           - MainLoop.swg significantly rewritten to get refcounting right
10486         * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
10487           file descriptors)
10488         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
10489            checks
10490
10491 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
10492         * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
10493                                    on ioctl error.
10494         * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
10495                          possible errors are VOLUME_MISSING or DEVICE_BUSY.
10496
10497 2008-04-22  Kevin Zembower <kzembowe@jhuccp.org>
10498         * man/xml-source/amflush.8.xml: add amflush example
10499
10500 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
10501         * device-src/tape-device.c: Move all device access from
10502           tape_device_open_device to tape_device_read_label.
10503           tape_device_start read the label if it is not already read.
10504         * device-src/vfs-device.c (vfs_device_open_device): remove read of the
10505                                                             label.
10506
10507 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
10508         * device-src/tape-device.c (check_resetofs): Compilation fix if
10509                                                      NEED_RESETOFS is defined.
10510         * device-src/tape-posix.c: Handle no ENOMEDIUM.
10511
10512 2008-04-21  Dan Locks <dwlocks@zmanda.com>
10513         * packaging/deb/buildpkg: modified build script to create unsigned
10514           packages
10515
10516 2008-04-21  Jean-Louis Martineau <martineau@zmanda.com>
10517         * changer-src/chg-lib.sh.in (amdevcheck_status):
10518           Set amdevcheck_message.
10519         * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
10520           changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
10521           changer-src/chg-multi.sh: Output amdevcheck_message
10522         * device-src/device.c: Set errmsg and status.
10523           device_open always return a device, the status and errmsg are set.
10524         * device-src/device.h: Define DeviceStatusFlags.
10525         * device-src/null-device.c, device-src/s3-device.c,
10526           device-src/tape-device.c, device-src/vfs-device.c,
10527           device-src/rait-device.c: Set errmsg and status.
10528         * device-src/tape-posix.c: Return status for VOLUME_MISSING.
10529         * device-src/tape-ops.h: Remove TapeCheckResult.
10530         * server-src/taper-source.h (_TaperSource): Add errmsg.
10531         * server-src/taper-source.c: Set errmsg
10532         * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
10533           server-src/taperscan.c, restore-src/amrestore.c,
10534           restore-src/restore.c: Use status and errmsg of a device.
10535         * server-src/taper-disk-port-source.c: Set errmsg.
10536         * server-src/reporter.c: Fix parsing of taper PARTIAL line.
10537         * server-src/taper.c: Use errmsg for device and _TaperSource.
10538         * server-src/taper-file-source.c: Set errmsg.
10539         * server-src/amcheckdump.pl,
10540           server-src/amdevcheck.pl: Use status and errmsg from device.
10541         * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
10542         * perl/Amanda/Device.swg: New interface.
10543         * installcheck/Makefile.am: Don't print some commands.
10544         * installcheck/Amanda_Device.pl: Check new device api.
10545         * common-src/queueing.c: Use new queue_fd_t.
10546         * common-src/queueing.h (queue_fd_t): new struct.
10547         * common-src/amanda-sh-lib.sh.in: Fix bug.
10548         * common-src/queueing-test.c: Use queue_fd_t.
10549
10550 2008-04-21  Dustin J. Mitchell <dustin@zmanda.com>
10551         * installcheck/amgetconf.pl: properly quote filenames in
10552           regex, to avoid spurious failures when e.g., '+' appears
10553           in the filename
10554
10555 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
10556         * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
10557           Amanda::MainLoop, allowing asynchronous operation of
10558           changers
10559         * server-src/amcheckdump.pl: use new Amanda::Changer
10560           interface (synchronously, until we have Amanda::Xfer)
10561         * installcheck/Amanda_Changer.pl: test new interface
10562
10563 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
10564         * installcheck/Makefile.am: build $(full_tests) too
10565
10566 2008-04-18  Cyrille Bollu <Cyrille.Bollu@fedasil.be>
10567         * client-src/sendsize.c: use --numeric-owner during 'sendsize'
10568
10569 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
10570         * installcheck/Makefile.am: segregate installchecks that require
10571           both client and server components
10572
10573 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
10574         * common-src/debug.c: add Amanda version to debug logs
10575
10576 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
10577         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
10578           process type and context process attributes
10579         * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
10580           debug_init to set up debugging according to the process context, and
10581           log nothing in CONTEXT_SCRIPTUTIL
10582         * server-src/amgetconf.pl server-src/amdevcheck.pl:
10583           CONTEXT_SCRIPTUTIL
10584         * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
10585         * installcheck/Amanda_Debug.pl: add comment
10586
10587 2008-04-16  Dan Locks <dwlocks@zmanda.com>
10588         * Fixes to debian package reported by daniel_P
10589         * packaging/deb/preinst: remove spaces near ${amanda_group}
10590         * packaging/deb/amanda-backup-server.dirs
10591           packaging/deb/amanda-backup-client.dirs: added var/amanda and
10592           usr/share/lintian/overrides
10593         * packaging/deb/rules: added logic to find PERLSITELIB and append that
10594           to amanda-backup-server.install, removed broken brace expansion
10595         * packaging/deb/buildpkg: removed extraneous configure step
10596         * packaging/deb/amanda-backup-server.postinst: added check for correct
10597           permissions on /tmp/amanda
10598
10599 2008-04-16  Dan Locks <dwlocks@zmanda.com>
10600         * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
10601           from configure invocation.  no longer necessary.
10602
10603 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
10604         * device-src/s3.c config/amanda/s3-device.m4: test curl features
10605           at runtime, instead of compile time, and always use SSL if it
10606           is available.
10607
10608 2008-04-16  Jean-Louis Martineau <martineau@zmanda.com>
10609         * server-src/amadmin.c: Improve message.
10610         * man/xml-source/amanda.conf.5.xml: Fix man page.
10611         * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
10612
10613 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
10614         * config/amanda/dumpers.m4: continue searching for gnutar if we
10615           find a binary claiming to be gnu tar that is not.  This gets
10616           around serious breakage on Ubuntu, where star is installed as
10617           /bin/gnutar, but /bin/tar is actually GNU Tar.
10618
10619 2008-04-15  Dustin J. Mitchell <dustin@zmanda.com>
10620         * common-src/file.c(mk1dir): fix reversed conditional to handle
10621           a race condition
10622
10623 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10624         * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
10625           msg_timestamp() to stderr.
10626
10627 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10628         * server-src/dumper.c: Call error() only after set_logerror is done.
10629         * server-src/planner.c: Call error() only after set_logerror is done.
10630         * server-src/chunker.c: Report a better error message.
10631         * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
10632
10633 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10634         * server-src/find.c (dumps_match_dumpspecs): New function to only keep
10635           dumps that match a dumpspecs, using it simplify amfetchdump.
10636         * server-src/find.h (dumps_match_dumpspecs): Prototype.
10637         * restore-src/amrestore.c: Add a first_restored_file to
10638           search_a_tape(), to allow restore ot stop after the first image.
10639         * restore-src/restore.c: Set first_restored_file, it was never set,
10640           it's needed to stop after the first image.
10641         * restore-src/restore.c (restore_from_tapelist): break if piping to
10642           stdout.
10643         * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
10644         * restore-src/amfetchdump.c: If -p, the keep only one dump.
10645         * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
10646         * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
10647         * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
10648         * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
10649         * installcheck/Amanda_Logfile.pl: Add many tests.
10650
10651 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10652         * tape-src/tapetype.c: Initialize an default config.
10653
10654 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10655         * common-src/util.c (connect_portrange, connect_port, bind_portrange):
10656           Return the latest errno reported.
10657
10658 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10659         * common-src/conffile.c common-src/conffile.h
10660           perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
10661           new interface for config errors, re-introduce rawtapedev for
10662           deprectation purposes
10663         * installcheck/Installcheck/Config.pm: support test
10664           amanda-client.conf files
10665         * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
10666         * client-src/client_util.c client-src/client_util.h: add
10667           config_errors_to_error_string
10668         * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
10669           better, so users see client-side config errors
10670         * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
10671           changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
10672           client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
10673           application-src/amgtar.c recover-src/amrecover.c
10674           server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
10675           server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
10676           server-src/amtape.c server-src/amcheckdump.pl
10677           server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
10678           server-src/driver.c server-src/reporter.c server-src/taper.c
10679           server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
10680           server-src/amlabel.c installcheck/Amanda_Changer.pl
10681           installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
10682           installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
10683           restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
10684           error interface
10685
10686 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10687         * server-src/diskfile.c: improve messages when client does not
10688           support required features
10689
10690 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10691         * installcheck/Amanda_Config.pl common-src/conffile.c
10692           common-src/conffile.h: fix deprecation of keywords to
10693           actually issue a warning.  'netusage' is no longer
10694           deprecated.
10695
10696 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10697         * common-src/event.c: use SA_RESTART for child_watch_source
10698
10699 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10700         * perl/Amanda/MainLoop.swg perl/amglue/source.c
10701           installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
10702           GSources defined in event.c, using an extensible model
10703         * common-src/event.c: check whether child_watch_source's signal
10704           handler has been replaced, and issue a warning if it has.
10705
10706 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10707         * common-src/queueing.c: fix condition (thanks to Jean-Louis
10708           Martineau)
10709
10710 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10711         * common-src/Makefile.am common-src/queueing-test.c: new tests
10712         * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
10713         * common-src/queueing.c: fix two bugs:
10714           - spurious in-place memmove on every buffer copy
10715           - silent discard of a final packet if the consumer does not
10716             completely consume it
10717         * common-src/queueing.h: update comments
10718         * common-src/testutils.h: add header-protection macros
10719
10720 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10721         * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
10722           for Amanda::Device
10723
10724 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10725         * man/xml-source/amanda.conf.5.xml: fix typos
10726
10727 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
10728         * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
10729
10730 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
10731         * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
10732
10733 2008-04-01  Dustin J. Mitchell <dustin@zmanda.com>
10734         Suggested by Sunil Sawant <sunil@zmanda.com>
10735         * man/xml-source/amrecover.8.xml: suggest including a config in the
10736           amrecover command line
10737
10738 2008-04-01  John Franks <jfranks@zmanda.com>
10739         * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
10740           Patches to reapply after gnulib updates.
10741         * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
10742           gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
10743           gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
10744           gnulib/getaddrinfo.h:
10745           Remove restricted keywords from source files.
10746
10747 2008-04-01  Satya Ganga <gsat@zmanda.com>
10748         * example/template.d/amanda-S3.conf.in: S3 device should have
10749           "infinite" tape length
10750
10751 2008-03-31  John Franks <jfranks@zmanda.com>
10752         * common-src/stream.c
10753           Fix warning about ininitialized variables.
10754
10755 2008-03-31  John Franks <jfranks@zmanda.com>
10756         * oldrecover-src/Makefile.am xfer-src/Makefile.am
10757           recover-src/Makefile.am server-src/Makefile.am
10758           restore-src/Makefile.am:
10759           Fix build problems with multiply defined symbols.
10760
10761 2008-03-31  Dan Locks <dwlocks@zmanda.com>
10762         * packaging/deb/buildpkg
10763           packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
10764
10765 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
10766         * client-src/sendbackup-gnutar.c client-src/sendsize.c
10767           client-src/selfcheck.c: update amandates whenever possible, but only
10768           complain when it is really needed: when using calcsize, or when
10769           using GNUTAR and --without-gnutar-listdir.
10770         * client-src/amandates.c: Set errno before return of start_amandates
10771         * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
10772
10773 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
10774         * server-src/amgetconf.pl: Parse config after setup_applccation call.
10775
10776 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
10777         * server-src/amcheck.c: Check errno after full_read.
10778
10779 2008-03-31  Dan Locks <dwlocks@zmanda.com>
10780         * packaging/Makefile.am: add deb subdirectory.
10781
10782 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>
10783         * common-src/rsh-security.c common-src/ssh-security.c: improve error
10784           messages for resolve_hostname calls
10785
10786 2008-03-27  Dustin J. Mitchell <dustin@zmanda.com>
10787         * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
10788         * gnulib/regenerate/regenerate gnulib/Makefile.am
10789           config/gnulib/gnulib-cache.m4: add full-read, full-write modules
10790         * oldrecover-src/extract_list.c client-src/noop.c
10791           client-src/sendbackup-gnutar.c client-src/sendbackup.c
10792           client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
10793           application-src/amgtar.c recover-src/extract_list.c
10794           server-src/changer.c server-src/logfile.c server-src/amindexd.c
10795           server-src/amcheck.c server-src/dumper.c server-src/chunker.c
10796           server-src/taper-port-source.c server-src/driverio.c
10797           server-src/holding.c server-src/driver.c
10798           server-src/taper-file-source.c restore-src/restore.c
10799           common-src/security-util.c common-src/amanda.h
10800           tape-src/output-file.c: use gnulib full_read, full_write functions,
10801           which have slightly different error semantics than the corresponding
10802           Amanda functions.
10803
10804 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
10805         * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
10806
10807 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
10808         * device-src/activate-devpay.c (parse_commandline): Always return.
10809
10810 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10811         * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
10812         * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
10813         * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
10814         * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
10815         * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
10816         * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
10817         * amandad-src/Makefile.am,
10818         * client-src/Makefile.am, device-src/Makefile.am,
10819           server-src/Makefile.am, server-src/server_util.c,
10820           tape-src/Makefile.am: Add library to many *_LIBADD.
10821         * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
10822           WANT_CYGWIN_COPY_PERL_DLL.
10823
10824 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10825         * common-src/conffile.c: Fix typo and remove unused prefix.
10826
10827 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10828         * server-src/reporter.c: Check difference between origsize and outsize
10829           to find if the image is compressed.
10830
10831 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10832         Greg Troxel reported the bug and possible solution.
10833         * common-src/stream.c (stream_server): New family argument, it is used
10834                                                to create the socket.
10835         * common-src/stream.h (stream_server): New prototype.
10836         * server-src/chunker.c, server-src/taper.c: Call stream_server with
10837           family of 'localhost', it's the name dumper use to contact them.
10838         * restore-src/amidxtaped.c: Call stream_server with AF_INET.
10839         * common-src/bsd-security.c, common-src/security-util.c: Call
10840           stream_server with family of incoming packet.
10841
10842 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10843         Davor Ocelic reported the problem.
10844         * application-src/Makefile.am: Use applicationexec_PROGRAMS and
10845           applicationexec_SCRIPTS to install executable.
10846
10847 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10848         * common-src/security-util.c (show_stat_info): Use getpwuid_r
10849                                                        and getgrgid_r.
10850 2008-03-25  Dustin J. Mitchell <dustin@zmanda.com>
10851         * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
10852           peculiar linking of threading libraries.
10853
10854 2008-03-20  Dan Locks <dwlocks@zmanda.com>
10855         * packaging/deb/control: removed grep dependency
10856         * packaging/deb/amanda-backup-client.postinst
10857           packaging/deb/amanda-backup-server.postinst
10858           packaging/deb/amanda-backup-server.postrm
10859           packaging/deb/amanda-backup-client.postrm:  removed call to
10860           ldconfig to satisfy lintian
10861         * packaging/deb/amanda-backup-server.lintian
10862           packaging/deb/amanda-backup-client.lintian: sorted and added new
10863           overrides
10864         * packaging/deb/amanda-backup-client.dirs: removed var/amanda
10865
10866 2008-03-18  Dustin J. Mitchell <dustin@zmanda.com>
10867         * device-src/activate-devpay.c: fix type warning
10868
10869 2008-03-17  Jean-Louis Martineau <martineau@zmanda.com>
10870         * server-src/diskfile.c: Correctly check if two hosts map to the same
10871                                  name.
10872
10873 2008-03-15  Dustin J. Mitchell <dustin@zmanda.com>
10874         * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
10875           perl/amglue/source.c: rename mainloop.c to source.c to avoid
10876           conflicts with MainLoop.c on case-insensitive filesystems
10877
10878 2008-03-14  Dan Locks <dwlocks@zmanda.com>
10879         * Initial debian release: This package is based on Bdale Garbee's
10880           work as the official debian maintainer for amanda.
10881
10882 2008-03-14  Jean-Louis Martineau <martineau@zmanda.com>
10883         * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
10884                                             property.
10885         * server-src/server_util.c: Rename _proplist to _property.
10886         * server-src/diskfile.c: Rename _proplist to _property.
10887         * server-src/amadmin.c (disklist_one): Print property.
10888         * perl/Amanda/Config.swg: Add new constants to Amanda::Config
10889         * installcheck/Amanda_Config.pl: Test global property.
10890         * common-src/conffile.c: Add global and by dumptype property.
10891         * common-src/conffile.h: Add global and by dumptype property.
10892
10893 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
10894         * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
10895         * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
10896         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
10897           new module
10898         * common-src/event.h: fix typo in comment
10899
10900 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
10901         * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
10902           expects an int, not a char.
10903
10904 2008-03-13  Dan Locks <dwlocks@zmanda.com>
10905         * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
10906           it works with rpm versions earlier than 4.4
10907
10908 2008-03-13  Dustin J. Mitchell <dustin@zmanda.com>
10909         * device-src/device-queueing.c device-src/device-queueing.h
10910           server-src/taper-source.c server-src/taper-source.h
10911           server-src/taper-source-test.c server-src/taper.c
10912           common-src/queueing.c common-src/queueing.h: change ints in
10913           consumer/producer to (s)size_t
10914         * device-src/device.c device-src/device-queueing.c
10915           device-src/tests/semaphore-test.c device-src/tests/Makefile.am
10916           device-src/queueing.c device-src/semaphore.c
10917           device-src/device-queueing.h device-src/queueing.h
10918           device-src/Makefile.am device-src/semaphore.h
10919           device-src/property.h server-src/taper.c common-src/queueing.c
10920           common-src/queueing.h common-src/semaphore-test.c
10921           common-src/semaphore.c common-src/semaphore.h
10922           common-src/Makefile.am: move queueing and semaphore into
10923           common-src, along with their tests
10924         * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
10925           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
10926           xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
10927           xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
10928           xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
10929         * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
10930           xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
10931           xfer-src/Makefile.am xfer-src/xfer.h: support for sending
10932           and receiving XMsgs.
10933         * common-src/event.c common-src/event.h: add default_event_loop().
10934         * device-src/device.c server-src/taper-source-test.c common-src/util.c
10935           common-src/util.h common-src/glib-util.c common-src/glib-util.h:
10936           create new glib_init() to do g_type_init(), initialize threads, etc.
10937
10938 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
10939         * client-src/sendsize.c: Don't use sscanf for est->qamname because it
10940                                  can have a '%'.
10941         * server-src/diskfile.c: Clean the diskname before using it as a regex.
10942         * common-src/protocol.c: Fix bug if packet have a '%' character.
10943
10944 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
10945         * installcheck/Installcheck/Run.pm: Increase size of TAPE.
10946
10947 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
10948         * common-src/event.c: Use %jd to print a pid_t, since it may be
10949           larger on some platforms.
10950
10951 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10952         * common-src/conffile.c: Fix solaris 8 cc warning.
10953
10954 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10955         * client-src/sendbackup.c: Set stroptions to "".
10956
10957 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
10958         * common-src/event.c common-src/event.h common-src/event-test.c:
10959           add two new GSources: child_watch_source (sends events when a child
10960           dies) and fdsource (sends events when file descriptors match
10961           conditions).  Thanks to Jean-Louis Martineau for finding and fixing
10962           a race condition.
10963
10964 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
10965         * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
10966           documentation to reflect use of gnulib's git repository
10967
10968 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10969         * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
10970                                     it is done automaticaly.
10971         * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
10972                                      conflict with make CLOBBER_MY_CONFIG.
10973
10974 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10975         * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
10976                                     variable.
10977
10978 2008-03-12  Dan Locks <dwlocks@zmanda.com>
10979         * packaging/rpm/buildpkg: made the script quieter
10980
10981 2008-03-12  Dan Locks <dwlocks@zmanda.com>
10982         * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
10983           added --quiet to the configure invocation
10984
10985 2008-03-10  Jean-Louis Martineau <martineau@zmanda.com>
10986         * gnulib: Update to latest version, add getopt module.
10987
10988 2008-03-07  Jean-Louis Martineau <martineau@zmanda.com>
10989         * oldrecover-src/Makefile.am, example/Makefile.am,
10990           amandad-src/Makefile.am, recover-src/Makefile.am,
10991           restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
10992         * installcheck/Amanda_Config.pl: Check config_filename.
10993         * installcheck/Installcheck/Config.pm: Use local amandates and
10994                                                gnutar_listdir.
10995         * installcheck/Makefile.am: Take a copy of amanda-client.conf
10996         * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
10997         * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
10998         * config/automake/installperms.am: installperms.sh in top_builddir,
10999                                            DISTCLEANFILES += $(installperms_sh)
11000         * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
11001                        DISTCHECK_CONFIGURE_FLAGS.
11002         * common-src/Makefile.am: distclean-local: remove svn-info.h.
11003
11004 2008-03-07  Dan Locks <dwlocks@zmanda.com>
11005         * packaging/rpm/buildpkg:  Simplified usage of packaging script by
11006           creating a tarball from existing source.
11007
11008 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11009         * installcheck/Installcheck/Run.pm: merge from application-api.
11010         * installcheck/Installcheck/Config.pm: merge from application-api.
11011
11012 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11013         * merge application-api
11014
11015 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11016         * common-src/Makefile.am: dest=$(amlibexecdir).
11017
11018 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
11019         * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
11020                                    Add chg-lib.sh.in to EXTRA_DIST.
11021         * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
11022                                   Add generic-dumper.pl to EXTRA_DIST.
11023         * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
11024                                   Add amanda-sh-lib.sh.in to EXTRA_DIST.
11025
11026 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11027         * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
11028         * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
11029
11030 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11031         * config/amanda/swig.m4: Check for *freebsd[123456]*
11032
11033 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11034         * changer-src/chg-scsi-chio.c: Compile fix.
11035         * changer-src/scsi-chio.c: Compile fix.
11036         * config/amanda/changer.m4: Check for linux/chio.h
11037
11038 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11039         * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
11040
11041 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
11042         * config/amanda/swig.m4: With many thanks to John E. Hein
11043           <jhein@timing.com>, fix the comment and make the change committed
11044           yesterday apply to all FreeBSD < 7.0.
11045
11046 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
11047         * config/amanda/summary.m4: quote all warning messages that will be
11048           included in heredocs, to avoid spurious interpretation of backquotes
11049
11050 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11051         * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
11052
11053 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11054         * restore-src/amidxtaped: Use default config if amrecover doesn't send
11055                         a config name.  (amoldrecover doesn't send a config).
11056         * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
11057           so desired_tape->numfiles == 0.
11058           If amidxtaped is launched directly from xinetd, then
11059           flags->pipe_to_fd == STDOUT_FILENO, but this test should only
11060           succeed for amrestore of amfetchdump.
11061
11062 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
11063         * device-src/tape-device.c: Set d_self->is_eof to FALSE.
11064
11065 2008-03-04  Dustin J. Mitchell <dustin@zmanda.com>
11066         * perl/Makefile.am config/amanda/swig.m4: add a special case for
11067           FreeBSD-6.2: include -lpthread in the linking of each perl
11068           extension, because libgthread does not pull in libpthread as
11069           it does on other platforms.
11070
11071 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
11072         * common-src/security-util.c: getnameinfo return != 0 on error.
11073
11074 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
11075         * config/amanda/dumpers.m4: Typo.
11076
11077 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
11078         * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
11079           return value of 'pipe', declared with attribute warn_unused_result.
11080
11081 2008-02-29  Dustin J. Mitchell <dustin@zmanda.com>
11082         * common-src/amanda.h: add <stdint.h>
11083
11084 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
11085         * config/automake/installperms.am: --without-installperms now
11086           generates a shell-parsable list of desired permissions
11087         * Makefile.am: erase installperms.sh before beginning a 'make
11088           install'
11089         * oldrecover-src/Makefile.am client-src/Makefile.am
11090           recover-src/Makefile.am server-src/Makefile.am: give mode
11091           bits in octal
11092
11093 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
11094         Thanks to John E. Hein <jhein@timing.com> for identifying this problem
11095         * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
11096         * installcheck/Amanda_Config.pl: use a properly-sized constant to
11097           check parsing of large configuration values
11098
11099
11100 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
11101         * server-src/amindexd.c: Compute maxpart, call clean_dump.
11102         * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
11103         * server-src/disk_history.h (add_dump): New prototype,
11104                                                 add maxpart argument.
11105         * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
11106                                         previous part is not already added.
11107         * server-src/disk_history.c (clean_dump): New function to remove
11108                                         DUMP_ITEM if all part are not added.
11109         * common-src/tapelist.h (tapelist_t): Add partnum field.
11110         * common-src/tapelist.h (append_to_tapelist): New prototype,
11111                                                       add partnum argument.
11112         * common-src/tapelist.c (append_to_tapelist): New partnum argument.
11113         * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
11114
11115 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
11116         * common-src/security-util.c: Don't write unclaimed warning if we have
11117                                       an accept function.
11118
11119 2008-02-27  Dustin J. Mitchell <dustin@zmanda.com>
11120         * common-src/testutils.c common-src/testutils.h
11121           common-src/Makefile.am: add libtestutils.la
11122         * common-src/event-test.c common-src/amflock-test.c:
11123           use libtestutils.la
11124
11125 2008-02-27  Jean-Louis Martineau <martineau@zmanda.com>
11126         * server-src/find.c: Use sort_key in switch statement.
11127
11128 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
11129         * NEWS, ReleaseNotes: Document --with-amlibdir.
11130         * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
11131                                  --without-amlibexecdir,
11132                                  Set AMPERLLIB to $amlibdir/perl.
11133
11134 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
11135         * common-src/event-test.c: a more robust and effective test of
11136           EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
11137
11138 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
11139         * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
11140           add --with-amperldir, --without-amperldir, and install perl modules
11141           in Perl's installsitearch by default; thanks to Orion Poplawski
11142           <orion@cora.nwra.com> for help and suggestions.
11143
11144 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
11145         * client-src/getfsent.c: Don't fail if stat of mount point fail.
11146
11147 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
11148         * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
11149                              RUNNING_AS_DUMPUSER_PREFERRED.
11150
11151 2008-02-25  Jean-Louis Martineau <martineau@zmanda.com>
11152         * server-src/reporter.c: Report size of data on holding disk.
11153
11154 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
11155         * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
11156
11157 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
11158         * server-src/amcheck.c, server-src/dumper.c,
11159           server-src/planner.c: Call waitpid to cleanup defunct process.
11160
11161 2008-02-20  Dustin J. Mitchell <dustin@zmanda.com>
11162         * device-src/tape-posix.c: keep ioctl error message in
11163           debug log
11164
11165 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
11166         * device-src/device.c, device-src/null-device.c,
11167           device-src/s3.c, device-src/tape-device.c,
11168           device-src/queueing.h, device-src/s3.h,
11169           device-src/vfs-device.c, device-src/rait-device.c,
11170           server-src/taper-source-test.c, server-src/server_util.c,
11171           server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
11172           perl/amglue/integers.swg, restore-src/restore.c,
11173           common-src/glib-util.c: Fix solaris compiler warning.
11174
11175 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
11176         * common-src/util.c (quote_string): Quote single quote (').
11177         * server-src/find.c:Correctly compute length of diskname.
11178
11179 2008-02-15  Dustin J. Mitchell <dustin@zmanda.com>
11180         * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
11181           use AC_PROG_EGREP instead of the Amanda version
11182         * server-src/find.c: fix compiler warning on Solaris 8
11183
11184 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
11185         * packaging/rpm/amanda.spec: Remove amverify*
11186
11187 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
11188         * oldrecover-src/Makefile.am: Build all files in the build directory.
11189         * recover-src/Makefile.am: Build all files in the build directory.
11190         * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
11191         * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
11192           AC_OUTPUT create the common-src directory.
11193
11194 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
11195         * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
11196         * file server-src/infofile.c: Use %jd to print intmax_t value.
11197         * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
11198
11199 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
11200         * packaging/rpm/amanda.spec: Fix typo.
11201
11202 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
11203         * server-src/amdump.sh: Don't use 'date -d', use sed.
11204
11205 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
11206         * installcheck/Installcheck/Run.pm: run test dumps of a smaller
11207           directory, to avoid overflowing test tapes
11208
11209 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
11210         * dumper-src/amstar.pl dumper-src/amgtar.pl
11211           device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
11212           server-src/amdevcheck.pl: add GPL header
11213
11214 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
11215         * installcheck/Makefile.am installcheck/amdump.pl: add a check
11216           that runs 'amdump' directly, since that fails often
11217
11218 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
11219         * common-src/event-test.c: make tests more robust to environmental
11220           variations, clean up forked children
11221
11222 2008-02-13  Dustin J. Mitchell <dustin@zmanda.com>
11223         * common-src/security-util.c
11224           common-src/security-util.h: don't cast pointers to
11225           integers for tcp_conn event id's
11226
11227 2008-02-13  Dan Locks <dwlocks@zmanda.com>
11228         * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
11229           build environment as well as if provided on rpmbuild commandline.
11230           Conditionalized this var to handle cross compiling on FC8.
11231
11232 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11233         * amandad-src/amandad.c: use sizeof() instead of strlen()
11234           in a constant expression
11235
11236 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11237         * amandad-src/amandad.c: initialize as->service
11238         * common-src/event.c common-src/event.h: new GMainLoop-based
11239           version of the event library, allowing GMainLoop-based and
11240           event-based processes to co-exist peacefully
11241
11242 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11243         * installcheck/amcheckdump.pl: fix typo
11244
11245 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
11246         * server-src/dumper.c: Fail if no header or no data.
11247
11248 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
11249         * server-src/amstatus.pl: Report failure if dumper succeed and
11250                                   chunker failed.
11251
11252 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
11253         * common-src/conffile.h (config_name, config_dir, config_filename):
11254                                  Remove extern declaration.
11255         * common-src/conffile.h (get_config_name, get_config_dir,
11256                                  get_config_filename): New prototype.
11257         * common-src/conffile.c (config_name, config_dir, config_filename):
11258                                  Declare static.
11259         * common-src/conffile.h (get_config_name, get_config_dir,
11260                                  get_config_filename): New functions.
11261         * perl/Amanda/Config.swg: Don't inline the functions.
11262         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
11263           client-src/sendsize.c, client-src/selfcheck.c,
11264           recover-src/amrecover.c, recover-src/extract_list.c,
11265           server-src/changer.c, server-src/amlogroll.c,
11266           server-src/amindexd.c, server-src/amcheck.c,
11267           server-src/dumper.c, server-src/planner.c,
11268           server-src/chunker.c, server-src/amadmin.c,
11269           server-src/amtape.c, server-src/amcleanupdisk.c,
11270           server-src/amflush.c, server-src/amtrmlog.c,
11271           server-src/driverio.c, server-src/driver.c,
11272           server-src/reporter.c, server-src/taper.c,
11273           server-src/amtrmidx.c, server-src/diskfile.c,
11274           server-src/amlabel.c,
11275           restore-src/amfetchdump.c: Use new functions.
11276
11277 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11278         * common-src/event-test.c common-src/Makefile.am: add checks
11279           for the event module
11280
11281 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11282         * server-src/dumper.c server-src/server_util.c
11283           server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
11284           common-src/file.c: Always call mkpdir without the 02000 bit set,
11285           as it is not needed and causes problems on MacOS X.
11286
11287 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
11288         * all source files: update GPL dates
11289         * perl/*: use LGPL instead of GPL
11290
11291 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
11292         * amandad-src/amandad.c: fix use of non-constant array size
11293
11294 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
11295         * amandad-src/amandad.c: add hack to avoid a race condition in
11296           sendbackup operation
11297         * common-src/security-util.c: issue debug log message when data
11298           tokens are dropped by the security API
11299
11300 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
11301         * recover-src/amrecover.c: Use tapedev from server if it is not set
11302                                    in amanda.client.conf
11303         * example/amanda-client.conf.in: Document it.
11304
11305 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
11306         * device-src/tape-device.c (tape_device_init): Init min_block_size
11307           and fixed_block_size to 32768.
11308
11309 2008-02-07  Dustin J. Mitchell <dustin@zmanda.com>
11310         * packaging/rpm/amanda_enterprise.spec man/Makefile.am
11311           man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
11312           man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
11313           server-src/amverify.sh server-src/Makefile.am: remove amverify*
11314         * server-src/amdevcheck.pl: tweak @ARGV parsing
11315         * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
11316           installcheck/amcheckdump.pl: significant rewrite to catch more errors
11317           and not loop for ever on some errors.
11318
11319 2008-02-01  Dustin J. Mitchell <dustin@zmanda.com>
11320         * server-src/amgetconf.pl installcheck/amgetconf.pl
11321           common-src/conffile.c: fix and test amgetconf to allow extra
11322           command-line arguments (undocumented), to allow -o options without a
11323           space, and to correctly return empty results for empty build
11324           variables
11325
11326 2008-02-01  Dan Locks <dwlocks@zmanda.com>
11327         * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
11328           for both client and server, removed amplot from client, added missing
11329           directory %{SYSCONFDIR}/amanda
11330
11331 2008-01-29  Dan Locks <dwlocks@zmanda.com>
11332         * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
11333           where amanda/amandates is concerned.  also added %{LOCALSTATEDIR} to
11334           the %files list.
11335
11336 2008-01-29  Dan Locks <dwlocks@zmanda.com>
11337         * man/xml-source/* added http://wiki.zmanda.com to the "see also"
11338           section
11339
11340 2008-01-29  Jean-Louis Martineau <martineau@zmanda.com>
11341         * client-src/sendbackup.c: Check for g_options.
11342         * client-src/sendsize.c: Check for g_options.
11343         * client-src/selfcheck.c: Check for g_options.
11344         * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
11345
11346 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11347         * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
11348
11349 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
11350         * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
11351           displayunit, and add a unit test to be sure.
11352
11353 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11354         * server-src/amstatus.pl: handle lowercase displayunit.
11355
11356 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
11357         * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
11358           for netinet/in.h and in_port_t, and define the latter if
11359           necessary.  Thanks to Craig Dewick <cdewick@lios.apana.org.au>
11360           for the suggestion.
11361
11362 2008-01-28  Paddy Sreenivasan <paddy@zmanda.com>
11363         * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
11364           status
11365
11366 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11367         * amandad-src/amandad.c: Send service stderr to amandad debug file,
11368           Wait for service termination and send error message to server.
11369
11370 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11371         * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
11372                                Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
11373
11374 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11375         * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
11376         * server-src/amcheckdump.pl: fix usage message
11377
11378 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11379         * configure.in config/amanda/userid.m4: add --with-single-userid
11380
11381 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11382         * server-src/amfreetapes.sh: remove unused script
11383
11384 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11385         * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
11386           for all amglue files where they are missing from glib headers
11387
11388 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11389         * installcheck/Makefile.am: condition installchecks on the selected
11390           components
11391
11392 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11393         * installcheck/Makefile.am Makefile.am: distribute
11394           installcheck/Installcheck scripts, make sure enough parameters
11395           are passed along to distcheck for it to succeed, and also clean
11396           up properly after tests are run.
11397
11398 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11399         * config/amanda/dumpers.m4: eliminate strange warning when
11400           --without-smbclient is given
11401
11402 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11403         * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
11404           installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
11405           installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
11406           installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
11407           installcheck/Installcheck/Config.pm
11408           installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
11409           installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
11410           accumulated tweaks and updates to installchecks
11411
11412 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11413         * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
11414           installcheck/Makefile.am: new tests for integer-handling
11415           SWIG support, including an installed module (Amanda::Test) that
11416           is not used except by this test.
11417
11418 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11419         * installcheck/Amanda_Types.pl
11420           installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
11421           installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
11422           installcheck/Installcheck installcheck/Installcheck/Run.pm
11423           installcheck/Installcheck/Config.pm installcheck/Makefile.am
11424           installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
11425           installcheck/amgetconf.pl: tweaks:
11426            - Move installcheck utilities to the Installcheck::* namespace
11427            - add Installcheck::Run to help with setting up amdump runs, and
11428              running applications in general
11429            - Add complete runs to amdevcheck, amcheckdump
11430            - Return a nonzero exit status from amgetconf when an invalid
11431              configuration parameter is specified.
11432
11433 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11434         * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
11435           new module (Tapelist) replaces old stub (Tapefile)
11436         * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
11437           module
11438         * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
11439           module
11440
11441 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11442         * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
11443           critical() and warning(), respectively
11444         * server-src/amgetconf.pl server-src/amcheckdump.pl
11445           server-src/amdevcheck.pl: use die()
11446         * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
11447           installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
11448           unit tests
11449
11450 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11451         * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
11452           server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
11453           Perl, and add the ability to list available build variables.
11454         * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
11455           config/amanda/bsd-security.m4 config/amanda/dumpers.m4
11456           config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
11457           config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
11458           config/amanda/bsdudp-security.m4 config/amanda/compress.m4
11459           config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
11460           of constants for use in Amanda::Constants
11461         * perl/Makefile.am perl/Amanda/Paths.pm.in
11462           perl/Amanda/Constants.pm.in: add new constants
11463         * perl/Amanda/Config.swg: add getconf_byname_strs
11464         * installcheck/amgetconf.pl: check new functionality
11465         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
11466           RUNNING_AS_ANY
11467
11468 2008-01-17  Jean-Louis Martineau <martineau@zmanda.com>
11469         * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
11470           configure.in: Set for release 2.6.1alpha.
11471
11472 2008-01-16  Dustin J. Mitchell <dustin@zmanda.com>
11473         * installcheck/Makefile.am: Require user to specify
11474           CLOBBER_MY_CONFIG=OK when running installchecks
11475
11476 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
11477         * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
11478
11479 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
11480         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
11481           client-src/sendsize.c, client-src/selfcheck.c,
11482           recover-src/extract_list.c, server-src/changer.c,
11483           server-src/amflush.c, server-src/driverio.c,
11484           common-src/pipespawn.c: Call safe_fd before exec*.
11485
11486 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
11487         * packaging/rpm/amanda.spec: Remove build_host.
11488
11489 2008-01-15  Dustin J. Mitchell <dustin@zmanda.com>
11490         * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
11491           perl/amglue/integers.swg: fix typos and compiler warnings
11492
11493 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
11494         * packaging/Makefile.am: New file.
11495         * packaging/README: New file.
11496         * packaging/rpm/buildpkg: New file.
11497         * packaging/rpm/amanda.spec: New file.
11498         * configure.in
11499         * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
11500         * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
11501                                          ${amlibexecdir}/application
11502         * Makefile.am (SUBDIRS): Add packaging.
11503         * amanda.spec: Remove file.
11504
11505 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
11506         * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
11507         * device-src/tape-device.c, device-src/tape-posix.c,
11508           device-src/vfs-device.c: include "util.h"
11509         * device-src/rait-device.c: fix compiler warning.
11510
11511 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
11512         * perl/amglue/bigint.c: fix the range-checking mechanics for large
11513           integers, since the precompiler seems to get confused by large
11514           constants.
11515
11516 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
11517         * config/amanda/krb5-security.m4: abort configure run if krb5
11518           is requested by libraries aren't found
11519
11520 2008-01-13  Dustin J. Mitchell <dustin@zmanda.com>
11521         * man/xml-source/amanda.conf.5.xml: use &#215; instead of &times;
11522
11523 2008-01-11  Paddy Sreenivasan <paddy@zmanda.com>
11524         * device-src/Makefile.am: Don't install queueing.h and device.h
11525
11526 2008-01-11  Dustin J. Mitchell <dustin@zmanda.com>
11527         * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
11528
11529 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
11530         * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
11531         * installcheck/amgetconf.pl: usetimestamps defaults to yes.
11532         * NEWS, ReleaseNotes: Notes about make installcheck.
11533
11534 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
11535         * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
11536         * ReleaseNotes: Ditto.
11537
11538 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
11539         * ReleaseNotes: Update for amanda-2.6.0
11540         * News: Update for amanda-2.6.0
11541         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
11542         * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
11543         * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}