Imported Upstream version 3.2.0
[debian/amanda] / ChangeLog
1 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
2         * VERSION: 3.2.0
3
4 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
5         * application-src/ampgsql.pl: Give an error if client property
6           pg-datadir is different than diskdevice. Use diskdevice if client
7           property pg-datadir is not set.
8
9 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
10         * common-src/security-util.c: Quote error message for invalid size.
11
12 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
13         * common-src/conffile.c (read_size_byte/get_size_byte):
14           CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes.
15
16 2010-10-14 Dan Locks <dwlocks@zmanda.com>
17         *  packaging/deb/rules, packaging/deb/buildpkg,
18            packaging/rpm/amanda.spec.src: remove port range limits for
19            rpm and deb packages
20
21 2010-10-13  Jean-Louis Martineau <martineau@zmanda.com>
22         * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied.
23
24 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
25         * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'.
26
27 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
28         * ndmp-src/ndma_comm_session.c: add a g_debug message
29         * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof
30
31 2010-10-12 Dan Locks <dwlocks@zmanda.com>
32         *  config/amanda/progs.m4: add comment about sysloc- and locsys- path,
33            make MTX a precious variable.
34
35 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
36         * ndmp-src/amndmjob_main.c: remove exit on eof thread
37         * ndmp-src/ndmjob_main.c: add it here, in the right place
38
39 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
40         * common-src/ssh-security.c: don't munge $SSH_CONNETION
41
42 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
43         * config/amanda/swig.m4: add '.' to freebsd versions
44         * perl/Makefile.am: spell it -pthread
45
46 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
47         * server-src/amvault.pl: add fake driver finish first
48
49 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
50         * server-src/amflush.c: write a "pid done" line when cancelling
51         * server-src/amcleanup.pl: run amlogroll internally
52
53 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
54         * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before
55           writing to a real volume
56         * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too
57
58 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
59         * server-src/amvault.pl: --autolabel any, not --autolabel all
60         * installcheck/amvault.pl: update the tests to use --autolabel=any
61
62 2010-10-08  Jean-Louis Martineau <martineau@zmanda.com>
63         * device-src/s3-device.c: Don't give an error is ssl_ca_info is set
64           and ssl is not used.
65
66 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
67         * client-src/client_util.c: Use property_add_to_argv.
68         * client-src/client_util.h (application_property_argv_size):
69           Remove prototype.
70         * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal
71           for property hash.
72         * common-src/conffile.c (property_add_to_argv): Remove function
73         * common-src/conffile.h (property_add_to_argv): Remove prototype.
74         * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal):
75           Add function
76         * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal):
77           Add prototype.
78         * common-src/util.c (proplist_add_to_argv, property_add_to_argv):
79           Add function.
80         * common-src/util.h (proplist_add_to_argv, property_add_to_argv):
81           Add prototype.
82         * perl/Amanda/Config.pod: Document amandaify_property_name.
83         * perl/Amanda/Config.swg: Add amandaify_property_name.
84         * perl/Amanda/Config/FoldingHash.pm: New class.
85         * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm
86         * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash.
87         * recover-src/extract_list.c: Use property_add_to_argv
88         * installcheck/Amanda_Config.pl: Check property case matching.
89         * installcheck/Amanda_Config_FoldingHash.pl:
90           Check Amanda::Config::FoldingHash.
91         * installcheck/Makefile.am:
92           Add installcheck/Amanda_Config_FoldingHash.pl
93
94 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
95         * server-src/planner.c: Log packet sent and received.
96
97 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
98         * VERSION: 3.2.0beta3
99
100 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
101         * perl/Makefile.am: only run the threading test after install
102
103 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
104         * VERSION: 3.2.0beta2
105
106 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
107         * perl/Makefile.am: fix the FreeBSD threading test to actually fail
108
109 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
110         * device-src/dvdrw-device.c: Always call parent_class->finish(dself).
111         * device-src/ndmp-device.c: Always call close_tape_agent and
112                                     close_connection.
113         * device-src/null-device.c: Always set pself->access_mode to
114                                     ACCESS_NULL.
115         * device-src/rait-device.c: Always call child finish.
116         * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL.
117         * device-src/tape-device.c: Always close self->fd.
118         * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL.
119
120 2010-10-06  Nandan Athawale <nandan.athawale@gmail.com>
121         * device-src/s3.c: replaced deprecated functions g_strncasecmp
122           and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp.
123
124 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
125         * man/entities/global.entities.in: better formatting for config
126           overrides
127         * man/xml-source/amvault.8.xml: better synopsis formatting
128         * server-src/amvault.pl: better synopsis formatting
129
130 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
131         * perl/Amanda/Logfile.swg: don't produce negative durations
132         * perl/Amanda/DB/Catalog.pm: but handle them when they occur
133
134 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
135         * perl/Amanda/Report/human.pm: Correctly print "Level:#".
136
137 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
138         * server-src/planner.c: Use last_level to compute the bump level.
139
140 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
141         * server-src/dumper.c: Fix memory allocation.
142
143 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
144         * server-src/amidxtaped.pl: exact match for same-host, allow dumps
145           that are not in the disklist
146         * server-src/amindexd.c: fix trivially permissive same-host
147
148 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
149         * common-src/amxml.c: set the correct fields (encryption or
150           compression)
151         * server-src/dumper.c: strdup strings so they are not gone after
152           free_dle
153
154 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
155         * perl/Amanda/Report.pm: fix autovivification bug
156         * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of 
157           undefined's
158
159 2010-10-04  Jean-Louis Martineau <martineau@zmanda.com>
160         * server-src/amtape.pl: Add a 'return' for every usage() call.
161           Add step in main.
162
163 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
164         * man/xml-source/amvault.8.xml: mention that DLE splitting parameters
165           are ignored by amvault
166         * server-src/amvault.pl: use tapetype parameters for splitting
167         * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight
168           from Amanda::Config
169
170 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
171         * packaging/deb/rules: remove misleading comment about automake-1.2
172
173 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
174         * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask
175           user to clear out 'tapedev' too
176
177 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
178         * common-src/event.c: Set the priority of EV_TIME to 10.
179
180 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
181         * perl/Amanda/Report/postscript.pm: print all dles that have a part
182           on the volume.
183         * installcheck/catalogs/spanned.cat: Check it.
184
185 2010-09-30  Dustin J. Mitchell <dustin@zmanda.com>
186         * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1,
187           too
188
189 2010-09-29  Dustin J. Mitchell <dustin@zmanda.com>
190         * server-src/dumper.c: fix prints; use the correct disk_t fields
191
192 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
193         * common-src/alloc.c: Remove a print to stderr.
194
195 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
196         * NEWS, ReleaseNotes: Update.
197
198 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
199         * installcheck/amvault.pl: fix tests for total size
200
201 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
202         * common-src/util.c: remove debugging call
203         * installcheck/Amanda_Util.pl: fix tests on perl-5.6
204
205 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
206         * server-src/amvault.pl: print total size on --dry-run
207
208 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
209         * installcheck/Amanda_Config.pl: fix test
210
211 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
212         * NEWS: update NEWS about it
213         * common-src/conffile.c common-src/conffile.h: add recovery-list
214           parameters
215         * man/xml-source/amanda.conf.5.xml: document them
216         * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them
217         * installcheck/Amanda_Config.pl: test them
218         * server-src/amidxtaped.pl: check recovery limits
219         * installcheck/amidxtaped.pl
220           installcheck/Installcheck/ClientService.pm: test it
221         * server-src/amindexd.c: check recovery limits
222
223 2010-09-28  Jean-Louis Martineau <martineau@zmanda.com>
224         * recover-src/extract_list.c: Print number of bytes read.
225
226 2010-09-28 Dan Locks <dwlocks@zmanda.com>
227         *  config/amanda/progs.m4: remove first instance of
228            AMANDA_PROG_GNUPLOT
229
230 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
231         * common-src/amanda.h common-src/alloc.c: add save_env_full
232         * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services
233
234 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
235         * common-src/amxml.c: Fix unallocating NULL g_hash.
236         * server-src/chunker.c: Don't free cmdargs.
237
238 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
239         * common-src/security-util.c: Fix pointer arithmetic.
240
241 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
242         * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with
243           descriptions of match expressions
244         * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
245           man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml
246           man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml
247           man/xml-source/amvault.8.xml: reference it
248
249 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
250         * common-src/util.c common-src/util.h: support ##.## in braced
251           alternates
252         * installcheck/Amanda_Util.pl: test it
253         * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml
254           man/xml-source/amanda-devices.7.xml: document it
255
256 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
257         * amandad-src/amandad.c, client-src/client_util.c,
258           client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c,
259           common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h,
260           common-src/security-util.c, common-src/util.c,
261           perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c,
262           server-src/chunker.c, server-src/diskfile.c, server-src/driver.c,
263           server-src/driverio.c, server-src/dumper.c, server-src/find.c,
264           server-src/holding.c, server-src/planner.c, server-src/server_util.c,
265           server-src/xfer-source-holding.c: Fix memory leak.
266
267 2010-09-25  Dustin J. Mitchell <dustin@zmanda.com>
268         * common-src/alloc.c: remove amtable functions
269         * common-src/amanda.h: remove prototypes
270
271 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
272         * application-src/amstar.c: Check root can cd to the directory.
273
274 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
275         * perl/Amanda/Report/human.pm: Correctly print new tapes to use.
276         * installcheck/catalogs/filesystemstaped.cat: write the tapelist file
277         * installcheck/amreport.pl: Test it.
278
279 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
280         * NEWS: amvault and other new news
281         * server-src/amvault.pl: support --dry-run
282         * man/xml-source/amvault.8.xml: docs
283         * installcheck/amvault.pl: tests
284
285 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
286         * common-src/security.h: add get_authenticated_peer_name method
287         * common-src/security-util.c common-src/security-util.h: add two
288           implementations
289         * common-src/sockaddr-util.c common-src/sockaddr-util.h: add
290           str_to_sockaddr
291         * amandad-src/amandad.c: log authenticated peer name
292         * common-src/bsd-security.c common-src/bsdtcp-security.c
293           common-src/bsdudp-security.c common-src/krb5-security.c
294           common-src/local-security.c common-src/rsh-security.c
295           common-src/ssh-security.c: implement get_authenticated_peer_name
296         * common-src/util.h: fix comments
297         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
298           config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c
299           gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add
300           inet_pton module
301         * man/xml-source/amanda-auth.7.xml: update manual to describe
302           authenticated peer names
303
304 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
305         * common-src/security-util.c: Check size before allocating.
306
307 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
308         * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only
309
310 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
311         * device-src/xfer-dest-taper-splitter.c (device_thread_write_part):
312           Don't write more than the block size.
313
314 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
315         * installcheck/amreport.pl: update checks to match amreport change
316
317 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
318         * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add
319           exports
320         * server-src/amreport.pl: don't print anything in script mode when
321           there is nothing to do
322         * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault
323         * server-src/amvault.pl: make dst-changer and src-timestamp into
324           --options and add support for dumpspecs
325         * man/xml-source/amvault.8.xml: document
326         * installcheck/amvault.pl: test changes
327         * installcheck/Amanda_Cmdline.pl: remove TODO
328
329 2010-09-22  Jean-Louis Martineau <martineau@zmanda.com>
330         * server-src/driver.c (startaflush_tape): Use tape_length if the
331           tape is not started.
332
333 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
334         * man/xslt/html.xsl.in: include Amanda version in HTML footers
335
336 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
337         * server-src/amvault.pl: add an INFO line for every source volume read
338
339 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
340         * server-src/amvault.pl: add extra logging for amreport, and invoke
341           amreport at the end of a run
342         * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h:
343           add P_AMVAULT
344         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
345           server-src/amreport.pl: handle amvault logs, too
346
347 2010-09-21  Orion Poplawski <orion@cora.nwra.com>
348         * server-src/amoverview.pl: fix remaining uninitialized value warnings
349
350 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
351         * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no
352           successful parts on tape; comments and POD
353
354 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
355         * installcheck/catalogs/amflush.cat
356           installcheck/catalogs/bigestimate.cat
357           installcheck/catalogs/doublefailure.cat
358           installcheck/catalogs/fatal.cat
359           installcheck/catalogs/filesystemstaped.cat
360           installcheck/catalogs/flush-noorigsize.cat
361           installcheck/catalogs/flush-origsize.cat
362           installcheck/catalogs/longstrange.cat
363           installcheck/catalogs/multi-taper.cat installcheck/catalogs/normal.cat
364           installcheck/catalogs/plannerfail.cat
365           installcheck/catalogs/resultsmissing.cat
366           installcheck/catalogs/retried-nofinish.cat
367           installcheck/catalogs/retried-strange.cat
368           installcheck/catalogs/retried.cat
369           installcheck/catalogs/shortstrange.cat
370           installcheck/catalogs/skipped.cat installcheck/catalogs/spanned.cat
371           installcheck/catalogs/strontium.cat installcheck/catalogs/taperr.cat:
372           update expected reports to match updated amreport output
373
374 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
375         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c:
376           Don't print warning for 'holdingdisk auto' and directtcp data path.
377
378 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
379         * application-src/amgtar.c: Add VERBOSE property,
380           unlink include/exclude file if VERBOSE if NO.
381         * man/xml-source/amgtar.8.xml: Document VERBOSE property.
382
383 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
384         * perl/Makefile.am: make the thread check mandatory on FreeBSD
385         * config/amanda/swig.m4: detect FreeBSD
386
387 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
388         * perl/Amanda/Report/human.pm: change some strings, and make
389           the statistics section more succinct; suggested by Jon LaBadie
390
391 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
392         * server-src/amadmin.c: add 'dles' and 'hosts' subcommands
393         * man/xml-source/amadmin.8.xml: document them
394
395 2010-09-20  Jean-Louis Martineau <martineau@zmanda.com>
396         * perl/Amanda/Script_App.pm: Call _set_mesgout.
397         * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout):
398           Set $self->{mesgout}.
399         * application-src/amraw.pl, application-src/amsamba.pl
400           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
401           Don't set $self->{mesgout}.
402
403 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
404         * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming
405
406 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
407         * server-src/find.c: only expect partnum/totalparts in taper log lines
408         * installcheck/catalogs/bigdb.cat: tests
409
410 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
411         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to
412           XferSourceRecovery
413
414 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
415         * perl/Amanda/Changer/disk.pm: but still return stringy slot names
416
417 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
418         * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by
419           'ghosts' on forums.zmanda.com
420
421 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
422         * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in
423           tape device
424
425 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
426         * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server
427           component
428
429 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
430         * server-src/dumper.c: Send filter STDERR to log file, backup is
431           marked as failed.
432
433 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
434         * device-src/ndmp-device.c, device-src/tape-device.c,
435         * device-src/vfs-device.c: Don't set the header if nothing is read.
436         * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't
437           exists
438         * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device
439           status and header.
440         * installcheck/Amanda_Changer_multi.pl: Updated.
441         * installcheck/amcheck-device.pl: Updated.
442         * installcheck/amdevcheck.pl: Updated.
443
444 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
445         * server-src/driver.c: start up correctly with --no-taper
446         * server-src/driverio.c server-src/driverio.h: take no_taper as
447           argument to startup_tape_process
448
449 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
450         * perl/Amanda/DB/Catalog.pm: new methods to determine the type of
451           a run
452         * installcheck/Amanda_DB_Catalog.pl: test them
453         * server-src/amvault.pl: 'latest' excludes amvault runs; add START
454           amvault to identify such runs
455         * installcheck/catalogs/bigdb.cat: add 'START planner' where missing
456         * installcheck/amvault.pl: cleanup after tests
457
458 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
459         * NEWS: mention improvements to amvault
460         * server-src/amvault.pl: Add --autolabel=.. and --label-template=..
461         * installcheck/amvault.pl: update tests
462         * man/xml-source/amvault.8.xml: update manpage
463
464 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
465         * server-src/amreport.pl: support more than one email address
466         * installcheck/amreport.pl: change error message
467
468 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
469         * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them
470           in the tapelist file.
471           Remove the "Will write new label `$LABEL' to new tape" message.
472         * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist
473            in the argument.
474         * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file.
475         * server-src/amvault.pl: Don't update the tapelist file.
476         * installcheck/Amanda_Report.pl: Remove 'Will write ...' message.
477           installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message.
478           installcheck/taper.pl: Remove 'Will write ...' message.
479
480 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
481         * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock.
482         * perl/Amanda/Tapelist.pod: Document new API.
483           perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm,
484           perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm,
485           perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl,
486           server-src/amlabel.pl, server-src/amreport.pl,
487           server-src/amrmtape.pl, server-src/amvault.pl: Use new API
488         * installcheck/Amanda_Logfile.pl,
489           installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl,
490           installcheck/amrmtape.pl, installcheck/amtape.pl,
491           installcheck/Amanda_Recovery_Clerk.pl: Fix for new API.
492
493 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
494         * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd
495         * xfer-src/xfer-element.c xfer-src/xfer-element.h: add
496           xfer_element_swap_input_fd and xfer_element_swap_output_fd and
497           use them to access input_fd and output_fd atomically
498         * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle
499           taking ownership of fd's even in pull_and_write and read_and_push
500         * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c
501           xfer-src/dest-fd.c: use xfer_element_swap_*_fd
502
503 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
504         * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'.
505         * installcheck/taper.pl: Fix for correct tape_num.
506
507 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
508         * server-src/driver.c: Use many worker.
509         * server-src/driverio.c: Init many worker.
510         * server-src/driverio.h (TaperState): New taper state.
511         * server-src/server_util.c: Add "TAKE-SCRIBE-FROM".
512         * server-src/server_util.h: Add TAKE_SCRIBE_FROM.
513
514 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
515         * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol.
516         * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function.
517         * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb.
518           transfert the xfer to a new scribe.
519         * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method.
520         * perl/Amanda/Xfer.swg (xfer_set_callback): New method.
521         * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command.
522
523 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
524         * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup.
525         * installcheck/Installcheck/Run.pm (setup): Take an argument to set
526                                                     new vtapes.
527         * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb.
528         * installcheck/taper.pl: Fix and test for START_SCAN cmd.
529         * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function.
530         * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol.
531         * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan,
532           new perm_cb argument, new start_scan method.
533         * perl/Amanda/Taper/Worker.pm (START_SCAN): New method,
534           call perm_cb with new argument.
535         * server-src/amvault.pl: Call start_scan and perm_cb with new argument.
536         * server-src/driver.c: Send START_SCAN command to taper.
537         * server-src/driverio.c (taper_cmd): Add START_SCAN.
538         * server-src/server_util.c (cmdstr): add "START-SCAN".
539         * server-src/server_util.h: Add START_SCAN.
540
541 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
542         * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol.
543         * perl/Amanda/Taper/Controller.pm,
544         * perl/Amanda/Taper/Worker.pm: Use worker_name.
545         * server-src/driverio.c (taper_cmd): Send worker_name to taper.
546         * server-src/driver.c: New argument to taper_cmd.
547         * server-src/amstatus.pl: Parse worker_name.
548         * installcheck/catalogs/chunker-partial.cat,
549           installcheck/catalogs/normal.cat,
550           installcheck/catalogs/quoted.cat: Add worker_name.
551         * installcheck/taper.pl: Add worker_name.
552
553 2010-09-14  Jean-Louis Martineau <martineau@zmanda.com>
554         * server-src/taper.pl: Split in many files, add the worker.
555         * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl
556         * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl
557         * perl/Amanda/Taper/Worker.pm: New class
558         * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm.
559
560 2010-09-14  Dustin J. Mitchell <dustin@zmanda.com>
561         * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description
562
563 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
564         * server-src/amflush.c: Don't include driverio.h
565         * server-src/driver.c, server-src/driverio.c, server-src/driverio.h:
566           Put all taper variables in a taper_t structure.
567
568 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
569         * installcheck/amreport.pl: Load the config instead of using amgetconf.
570
571 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
572         * installcheck/amreport.pl: Use full path to amgetconf.
573
574 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
575         * server-src/find.c: Parse log with taper lines mixed.
576         * perl/Amanda/Report.pm: Parse log with taper lines mixed.
577         * installcheck/Amanda_DB_Catalog.pl: Check it.
578         * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat.
579         * installcheck/amreport.pl: Check it;
580         * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed.
581
582 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
583         * man/xml-source/amoverview.8.xml: document long options
584         * server-src/amoverview.pl: fix bugs, stop using perl formats, and
585           give long options in the usage message
586         * installcheck/catalogs/bigdb.cat: add disklist
587         * installcheck/amoverview.pl: more thorough tests based on bigdb
588
589 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
590         * man/xml-source/amdump.8.xml: document --no-taper
591         * server-src/Makefile.am: rename amdump.sh -> .pl
592         * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add
593           --no-taper
594         * server-src/driver.c: support --no-taper by not starting taper
595         * server-src/planner.c: support --no-taper by not sending flushes
596
597 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
598         * server-src/find.c (find_dump): Don't print the
599                                          'log files found for tape' warning.
600         * server-src/amadmin.c: Call find_log to print the warning.
601
602 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
603         * server-src/amserverconfig.pl: Use $pw[0].
604
605 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
606         * common-src/conffile.c: Add taper-parallel-write.
607         * common-src/conffile.h: Add taper-parallel-write.
608         * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write.
609
610 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
611         * installcheck/Makefile.am installcheck/amflush.pl: new installcheck
612
613         * server-src/amflush.c: flush DLEs that aren't in the disklist anymore
614         * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile,
615           based on match_disklist
616         * server-src/driver.c: load holding-disk pseudo-DLEs at startup
617         * server-src/driverio.c: survive configuration-free DLEs
618         * server-src/holding.c server-src/holding.h: search_holding_file no
619           longer checks against disklist
620         * server-src/planner.c: use match_dumpfile for holding-disk DLEs
621
622 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
623         * installcheck/Amanda_Device.pl: use srcdir
624         * installcheck/Installcheck.pm: set srcdir from env
625         * installcheck/Installcheck/Catalogs.pm: use srcdir
626         * installcheck/Makefile.am: set $srcdir for tests
627
628 2010-09-09  Lyndon Nerenberg <lyndon@orthanc.ca>
629         * Makefile.am: fix to enable builds outside srcdir
630
631 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
632         * server-src/amvault.pl: add --export
633         * man/xml-source/amvault.8.xml: doc it
634         * installcheck/amvault.pl: test it
635
636 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
637         * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog
638           hack
639
640 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
641         * installcheck/Makefile.am: include
642           installcheck/catalog/retried-strange.cat in distribution
643
644 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
645         * installcheck/catalogs/retried-strange.cat: add a retried dump
646           where the retry is strange
647         * installcheck/amreport.pl: test it
648         * perl/Amanda/Report/human.pm: fix the bug it reveals
649
650 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
651         * gnulib/regenerate/regenerate: add 'environ' module
652         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
653           gnulib/Makefile.am config/gnulib/environ.m4: new module
654
655 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
656         * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4
657         * gnulib/regenerate/regenerate: change gnulib sha1
658
659 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
660         * man/xml-source/amreport.8.xml: describe the format of the dump, with
661           notes and details
662
663 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
664         * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done
665         * installcheck/Amanda_Taper_Scribe.pl: test it
666
667 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
668         * application-src/ampgsql.pl: Send tar stderr to the server.
669
670 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
671         * server-src/amserverconfig.pl: use RUNNING_AS_ANY and
672                                         set dumpuser in amanda.conf.
673
674 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
675         * common-src/alloc.c: remove unnecessary declaration of 'environ'
676
677 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
678         * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes
679         * installcheck/Amanda_Changer_robot.pl: test it
680
681 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
682         * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the
683           ndmlib_mutex
684
685 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
686         * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see
687           http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html
688
689 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
690         * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer
691           slots, to save space
692
693 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
694         * perl/Amanda/Changer.pm: fix make_combined_error
695         * perl/Amanda/Changer/robot.pm: correctly set up polling for device
696           ready; use 'unknown', not 'device', as a reason; always return a
697           changer error, not a string
698
699 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
700         * device-src/tape-aix.c device-src/tape-uware.c
701           device-src/tape-xenix.c: remove unmaintained, and apparently unused,
702           implementations
703         * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c
704         * device-src/tape-device.h: remove
705         * device-src/tape-ops.h: remove
706
707         * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore
708         * device-src/Makefile.am: remove tape ops conditionals
709
710 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
711         * configure.in: add check for unsetenv
712
713 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
714         * installcheck/Makefile.am: add Installcheck::Catalog and the
715           catalogs to the distribution
716
717 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
718         * installcheck/amserverconfig.pl: skip the correct number of tests
719
720 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
721         * installcheck/amserverconfig.pl: don't try running tape-changer if
722           MTX is not installed
723         * server-src/amserverconfig.pl: create $CONFIG_DIR if required.  This
724           passes on my system and should pass on the Mac systems.
725
726 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
727         * config/.gitignore: don't ignore these files
728         * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add
729           ignored, but required, gnulib files
730
731 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
732         * NEWS: note removal of changers
733         * changer-src/Makefile.am changer-src/chg-chio.pl
734           changer-src/chg-chs.sh changer-src/chg-iomega.pl
735           changer-src/chg-juke.sh changer-src/chg-mcutil.sh
736           changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh
737           changer-src/chg-rth.pl changer-src/chg-scsi-chio.c
738           changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c
739           changer-src/scsi-bsd.c changer-src/scsi-cam.c
740           changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
741           changer-src/scsi-defs.h changer-src/scsi-hpux.c
742           changer-src/scsi-hpux_new.c changer-src/scsi-irix.c
743           changer-src/scsi-linux.c changer-src/scsi-proto.c
744           changer-src/scsi-solaris.c changer-src/sense.c: remove changers and
745           system-specific SCSI code
746         * config/amanda/changer.m4: remove unnecessary checks
747         * config/amanda/progs.m4: remove checks for chio, chs, and mcutil
748         * configure.in: remove changer invocations
749
750 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
751         * server-src/driverio.c: Don't write negative origsizes to the taper
752
753 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
754         * server-src/amcheck.c: drop root privs during the server check, so
755           that access() will test the dumpuser's perms, not root's perms
756
757 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
758         * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir
759         * installcheck/amtapetype.pl: spell it device-property
760         * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long
761           option
762         * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of
763           mkdir
764
765 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
766         * installcheck/Makefile.am: new tests
767         * installcheck/amserverconfig.pl: run amserverconfig
768         * installcheck/example.pl: test that templates parse properly
769         * server-src/amserverconfig.pl: minor cleanup of old perl
770
771 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
772         * server-src/dumper.c changer-src/chg-scsi.c: use fseeko
773         * config/.gitignore config/config.rpath config/gnulib/* gnulib/*:
774           upgrade gnulib
775         * gnulib/regenerate/no-error.patch: updated patch
776         * gnulib/regenerate/regenerate: drop visibility module; specify new
777           git hash
778
779 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
780         * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0
781           to logfiles to check handling of those cases
782         * perl/Amanda/Report.pm: fix (egregious) typo
783         * perl/Amanda/Report/human.pm: handle compression better, handle
784           printing non-contiguous levels
785
786 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
787         * application-src/ampgsql.pl: remove check for a directory that
788           should not be readable to the amanda user
789
790 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
791         * application-src/amgtar.c application-src/ampgsql.pl
792           recover-src/extract_list.c server-src/amcheckdump.pl: Use
793           --ignore-zeros in all -t or -x invocations of gtar
794
795 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
796         * man/xml-source/amanda-auth.7.xml
797           man/xml-source/amanda-changers.7.xml
798           man/xml-source/amanda-client.conf.5.xml
799           man/xml-source/amanda-compatibility.7.xml
800           man/xml-source/amanda-devices.7.xml
801           man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml
802           man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove
803           references to krb4 and to the pre-spanning days, and canonicalize
804           all configuration parameters to use -, not _
805         * common-src/conffile.c device-src/activate-devpay.c
806           device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm
807           perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c
808           server-src/amreport.pl server-src/driver.c server-src/planner.c:
809           canonicalize configuration parameter names in error messages to use -,
810           not _
811
812 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
813         * installcheck/Installcheck/Catalogs.pm: tool to install catalogs
814           dynamically, rather than including them in __DATA__
815         * installcheck/catalogs/*: new catalog files
816         * installcheck/Amanda_DB_Catalog.pl
817           installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl
818           installcheck/amstatus.pl: use Installcheck::Catalog
819         * perl/Amanda/Recovery/Planner.pm: check that parameters exist
820
821 2010-08-25 Dan Locks <dwlocks@zmanda.com>
822         *  packaging/deb/control: Fix missing line break so dpkg can parse the
823            control file
824
825 2010-08-23  Dustin J. Mitchell <dustin@zmanda.com>
826         * server-src/amvault.pl: add --fulls-only option
827         * man/xml-source/amvault.8.xml: document
828
829 2010-08-23 Dan Locks <dwlocks@zmanda.com>
830         *  packaging/deb/control: add ca-certificates and procps
831
832 2010-08-21  Dustin J. Mitchell <dustin@zmanda.com>
833         * common-src/fileheader.c: remove incorrect validations for
834           CONT_FILENAME and APPLICATION
835
836 2010-08-20 Dan Locks <dwlocks@zmanda.com>
837         *  The error fixed here was reported by ssgelm.
838         *  packaging/common/substitute.pl: Use FULL_VERSION instead of
839            VERSION.
840         *  packaging/rpm/amanda.spec.src: renamed from amanda.spec, added
841            %%VERSION%% macro for substitute.pl, fixed glib2 requires typo
842         *  packaging/rpm/buildpkg: refactored into "do_thing" functions, added
843            substitute.pl machinery.
844
845 2010-08-20 Dan Locks <dwlocks@zmanda.com>
846         *  packaging/rpm/amanda.spec: add openSuSE 11 detection and
847            buildrequires glib2-devel, as written by ssgelm
848
849 2010-08-13  Dustin J. Mitchell <dustin@zmanda.com>
850         * config/amanda/debugging.m4: make the default for syntax-checks
851           "disabled", add a warning when enabling
852         * perl/Makefile.am config/automake/scripts.am: don't do any checks
853           that require linking perl extension modules unless SYNTAX_CHECKS is
854           set
855         * installcheck/Makefile.am: always skip syntax checks
856         * application-src/amlog-script.pl application-src/amraw.pl
857           application-src/amsamba.pl application-src/amsuntar.pl
858           application-src/amzfs-sendrecv.pl application-src/amzfs-snapshot.pl
859           application-src/script-email.pl common-src/amgetconf.pl
860           device-src/amdevcheck.pl device-src/amtapetype.pl
861           installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_ndmp.pl
862           installcheck/Amanda_Changer_null.pl
863           installcheck/Amanda_Changer_rait.pl
864           installcheck/Amanda_Changer_robot.pl
865           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Cmdline.pl
866           installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl
867           installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl
868           installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl
869           installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl
870           installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl
871           installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl
872           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
873           installcheck/amadmin.pl installcheck/amarchiver.pl
874           installcheck/amcheck-device.pl installcheck/amcheck.pl
875           installcheck/amcheckdump.pl installcheck/amdevcheck.pl
876           installcheck/amdump.pl installcheck/amgetconf.pl
877           installcheck/amlabel.pl installcheck/amoverview.pl
878           installcheck/amrmtape.pl installcheck/amservice.pl
879           installcheck/amstatus.pl installcheck/amtape.pl
880           installcheck/amtapetype.pl installcheck/amvault.pl
881           installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl
882           server-src/amcheckdump.pl server-src/amcleanup.pl
883           server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add
884           strict and/or warnings, and fix (trivial) resulting warnings
885
886 2010-08-13  Nikhil Bhupale <nikhilb@zmanda.com>
887         * AUTHORS: add Nikhil
888         * device-src/ndmp-device.c: add READ_BLOCK_SIZE support
889         * installcheck/Amanda_Device.pl: test it
890         * man/xml-source/amanda-devices.7.xml: document it
891
892 2010-08-11  Dustin J. Mitchell <dustin@zmanda.com>
893         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly
894         * installcheck/Amanda_Util.pl: test it
895         * application-src/amsamba.pl: use it to parse amandapass
896
897 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
898         * server-src/find.c: parse old SUCCESS lines properly
899         * perl/Amanda/DB/Catalog.pm: same
900         * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines
901
902 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
903         * amandad-src/amandad.c: unset SUN_PERSONALITY on startup
904         * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY
905
906 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
907         * server-src/amlogroll.pl: ignore arguments after the first
908
909 2010-08-06  Dustin J. Mitchell <dustin@zmanda.com>
910         * installcheck/amvault.pl: correct test count
911         * perl/Amanda/Taper/Scribe.pm: fix nparts calculation
912
913 2010-08-06  Stephen Gelman <ssgelm@gmail.com>
914         * AUTHORS: add Stephen
915         * client-src/rundump.c client-src/runtar.c: unset
916           SUN_PERSONALITY in runtar and rundump, to shut off
917           Nexenta's tendency to magically run Sun binaries
918
919 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
920         * server-src/amvault.pl: rewrite to use scribe, clerk
921         * installcheck/amvault.pl: check results better
922         * server-src/logfile.c server-src/logfile.h: add log_add_full
923         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full
924           and make_stats methods
925         * perl/Amanda/MainLoop.pod: POD typos
926         * perl/Amanda/Recovery/Planner.pm: add shift_dump method
927         * perl/Amanda/Taper/Scan.pm: add POD, fix typos
928         * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb
929         * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile
930
931 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
932         * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE
933           property
934
935 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
936         * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_*
937         * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_*
938         * installcheck/Amanda_Recovery_Clerk.pl
939           installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl
940           server-src/amfetchdump.pl server-src/amidxtaped.pl
941           server-src/taper.pl: use renamed methods
942
943 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
944         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename
945           and a method to find the proper timestamp for the current log
946         * installcheck/Amanda_Logfile.pl: test it
947         * server-src/Makefile.am server-src/amlogroll.c
948           server-src/amlogroll.pl: rewrite in perl
949
950 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
951         * config/amanda/ipv6.m4: fix config messages to not use the
952           autoconf-specific word "target"
953
954 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
955         * man/xml-source/amanda.conf.5.xml: add more info about appropriate
956           settings for autolabel
957
958 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
959         * common-src/security.h: move comments from wiki, reorder functions
960
961 2010-08-03  Jean-Louis Martineau <martineau@zmanda.com>
962         * server-src/amdump.sh: Check it own the log file.
963
964 2010-08-02  Jean-Louis Martineau <martineau@zmanda.com>
965         * common-src/util.c (interruptible_accept): Set the read set and
966           timeout before each select call.
967
968 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
969         * server-src/amvault.pl: only run as dumpuser
970
971 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
972         * man/xml-source/amanda-auth.7.xml: consistently use the same
973           username in examples (thanks to Amar Takhar)
974
975 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
976         * xfer-src/filter-process.c: handle fd's <= 2 correctly
977
978 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
979         * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a
980           copy of tcpm_recv_token.
981         * common-src/security-util.c: New tcpm_recv_token without a timeout.
982         * common-src/security-util.h: Add field to keep a buffer in tcp_conn.
983
984 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
985         * perl/Amanda/Script_App.pm: Print restore message to STDERR.
986
987 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
988         * config/amanda/progs.m4: require SWIG-1.3.39
989         * (all .c files): #include amanda.h first
990         * perl/amglue/amglue.swg: use %begin to include config.h first
991
992 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
993         * device-src/amtapetype.pl: detect LEOM and add appropriate
994           comments
995         * device-src/xfer-dest-device.c device-src/xfer-device.h: add
996           cancel_at_leom constructor arg
997         * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
998           installcheck/Amanda_Xfer.pl installcheck/amrestore.pl
999           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg
1000           server-src/amvault.pl: pass new argument
1001
1002 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
1003         * device-src/tape-device.c device-src/tape-device.h: autodetect
1004           the LEOM property, and handle various operating systems' LEOM
1005           indications
1006         * device-src/tape-aix.c device-src/tape-posix.c
1007           device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to
1008           FALSE by default
1009
1010 2010-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1011         * server-src/find.c (find_result_t): Add a write_timestamp.
1012         * server-src/find.h: Set the write_timestamp.
1013         * server-src/amcheckdump.pl: Use the write_timestamp.
1014         * server-src/amidxtaped.pl: write_timestamp is undef.
1015         * server-src/cmdline.h (dumpspec_t): Add a write_timestamp.
1016         * server-src/cmdline.c (dumpspec_new): New write_timestamp argument.
1017         * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp.
1018         * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp.
1019         * perl/Amanda/Cmdline.pod: Document write_timestamp.
1020         * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec
1021           write_timestamp.
1022         * installcheck/Amanda_Cmdline.pl: Fix and check new api.
1023         * installcheck/Amanda_DB_Catalog.pl: Fix and check new api.
1024         * installcheck/Amanda_Logfile.pl: Fix and check new api.
1025         * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api.
1026
1027 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
1028         * configure.in perl/amglue/Makefile.am: new Makefile for
1029           libamglue
1030         * perl/Makefile.am: use SUBDIRS to build libamglue before
1031           any SWIG modules, as automake does not get inter-library
1032           dependencies right at install time if the libraries are
1033           all built in the same directory
1034
1035 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
1036         * application-src/ampgsql.pl: also check PG-DATADIR
1037
1038 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
1039         * installcheck/Amanda_DB_Catalog.pl
1040           installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl
1041           installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio
1042           buffering when writing holding-file headers
1043
1044 2010-07-26  Jean-Louis Martineau <martineau@zmanda.com>
1045         * server-src/planner.c: Ignore the FORCE command if strategy is
1046           INCRONLY.
1047
1048 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
1049         * installcheck/Amanda_Xfer.pl: *real* correct number of tests for
1050           --without-server
1051
1052 2010-07-25  Dustin J. Mitchell <dustin@zmanda.com>
1053         * installcheck/Amanda_Xfer.pl: correct number of tests for
1054           --without-server
1055
1056 2010-07-25  Orion Poplawski <orion@cora.nwra.com>
1057         * server-src/amoverview.pl: fix host iteration and handle case of only
1058           one write_timestamp
1059
1060 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
1061         * device-src/vfs-device.c: announce LEOM one byte later
1062         * installcheck/Amanda_Xfer.pl: set device properties before starting
1063
1064 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
1065         * perl/Amanda/Changer/robot.pm: use correct device field volume_header
1066
1067 2010-07-23  Dustin J. Mitchell <dustin@zmanda.com>
1068         * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS
1069           timeout to 60s and set CURDATA=1 to use cached state
1070
1071 2010-07-23  Jean-Louis Martineau <martineau@zmanda.com>
1072         * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file.
1073         * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and
1074                                        devhandling reservation.
1075         * server-src/taper.pl: Write quit error meesage to debug file.
1076
1077 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1078         * device-src/vfs-device.c device-src/vfs-device.h: add support for
1079           monitoring free space to generate LEOM before ENOSPC hits; set LEOM
1080           property to TRUE by default
1081         * installcheck/Amanda_Device.pl: test monitor_free_space prop
1082         * man/xml-source/amanda-devices.7.xml: document VFS device LEOM
1083           support and the MONITOR_FREE_SPACE property
1084
1085 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1086         * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test
1087         * device-src/property.c device-src/property.h: remove FREE_SPACE
1088           property, QualifiedSize, and SizeAccuracy
1089         * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE
1090           support
1091         * man/xml-source/amanda-devices.7.xml: remove docs
1092         * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize
1093
1094 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1095         * device-src/Makefile.am: add reference to new header file
1096
1097 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
1098         * device-src/xfer-dest-taper-cacher.c: remove support for
1099           cache_inform, simplify disk cache
1100         * device-src/xfer-dest-taper-splitter.c: add support for cache_inform,
1101           use it even when LEOM is available
1102         * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h
1103           device-src/xfer-device.h: move common methods to new header file; add
1104           instance_init
1105         * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use
1106           splitter for cache_inform
1107         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function
1108           signatures
1109         * perl/amglue/glib.swg: take any perl true or flase value to make
1110           a gboolean
1111
1112 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
1113         * server-src/diskfile.h (disk_t) Add allow_split and splitsize.
1114         * server-src/diskfile.c: Set allow_split and splitsize.
1115         * server-src/driver.c: Use allow_split and splitsize.
1116         * server-src/planner.c: Use allow_split and splitsize.
1117         * server-src/amadmin.c (disklist_one): Print allow_split.
1118
1119 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
1120         * server-src/taper.pl: Use ' to quote label in 'wrote label' line.
1121         * server-src/amstatus.pl: Parse it.
1122         * installcheck/amstatus.pl: Check it.
1123
1124 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1125         * ndmp-src/Makefile.am: use += with BUILT_SOURCES
1126
1127 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1128         * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h
1129           parameter that sets the initial host
1130         * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet
1131           with no net connection
1132
1133 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1134         * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported
1135         * config/amanda/tape.m4: fix bugs causing tape support to always be
1136           built (symbols aren't defined in Snow Leopard)
1137         * device-src/device.c: fix bug
1138         * perl/Amanda/Device.swg: return undef for undefined properties,
1139           rather than crashing
1140         * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do
1141           not assume tape device is defined
1142
1143 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1144         * config/macro-archive/ac_prog_swig.m4: fix swig version detection
1145           - swig-2.0.0 works fine
1146
1147 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
1148         * perl/Amanda/Tapelist.swg: better fix for temp filename
1149
1150 2010-07-15  Jean-Louis Martineau <martineau@zmanda.com>
1151         * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for
1152                                        incremental.
1153         * installcheck/amreport.pl: Test it.
1154
1155 2010-07-15  Satya Ganga  <gast@zmanda.com>
1156         * config/amanda/progs.m4: Use correct search path for mt binary.
1157
1158 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
1159         * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error
1160           messages better
1161
1162 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
1163         * configure.in config/amanda/shmem.m4: remove unnecessary config
1164           checks
1165
1166 2010-07-13  Dustin J. Mitchell <dustin@zmanda.com>
1167         * perl/Amanda/Report.pm: parse the planner's skipping a dump
1168         * perl/Amanda/Report/human.pm: present it correctly
1169         * installcheck/amreport.pl: adjust tests accordingly
1170
1171 2010-07-12  Nandan Athawale <nandan.athawale@gmail.com>
1172         * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper
1173           is set
1174
1175 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
1176         * server-src/amoverview.pl: fix variable references in evals
1177
1178 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1179         * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck
1180           for amoverview
1181
1182 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
1183         * server-src/amoverview.pl: update to use Amanda::DB::Catalog
1184         * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys
1185         * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness
1186         * AUTHORS: add Orion
1187
1188 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1189         * common-src/conffile.c: fix error message
1190
1191 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1192         * example/amanda.conf.in example/template.d/advanced.conf.in
1193           example/template.d/amanda-S3.conf.in: replace label_new_tapes with
1194           autolabel
1195
1196 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
1197         * installcheck/Amanda_Xfer.pl: fix test counts under -without-server
1198
1199 2010-07-10  Dustin J. Mitchell <dustin@zmanda.com>
1200         * config/amanda/userid.m4: apply the default value for --with-group
1201           to the correct variable
1202
1203 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1204         * server-src/amcheck.c: small bugfixes
1205         * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support
1206           LEOM configurations
1207         * server-src/taper.pl: use new args; log warnings with L_WARNING, not
1208           L_FAIL
1209         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test
1210           changes
1211
1212 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1213         * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest
1214         * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter
1215         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class
1216           and renamed class
1217         * device-src/xfer-dest-taper-directtcp.c 
1218           device-src/xfer-dest-taper.c: move null cach_inform to parent class
1219         * device-src/xfer-device.h: prototypes
1220         * device-src/Makefile.am: new file
1221         * installcheck/Amanda_Device.pl: LEOM tests
1222         * installcheck/Amanda_Xfer.pl: tests for new taper dest
1223         * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher)
1224
1225 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1226         * device-src/property.c device-src/property.h device-src/device.c: add
1227           LEOM property
1228         * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml
1229           man/xml-source/amanda.conf.5.xml: document it
1230         * installcheck/Amanda_Device.pl: test it
1231         * device-src/dvdrw-device.c device-src/ndmp-device.c
1232           device-src/null-device.c device-src/rait-device.c
1233           device-src/s3-device.c device-src/tape-device.c: set LEOM property
1234           appropriately
1235         * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support
1236           property, and allow it to be changed for testing
1237         * server-src/taper.pl: small bugfix
1238
1239 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1240         * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump
1241
1242 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
1243         * perl/amglue/constants.swg: new SWIG precompiler magic to allow
1244           flexible handling of lists of constants
1245         * perl/Amanda/Config.pod: add section header
1246         * perl/Amanda/Config.swg: include all config param constants in the
1247           POD
1248
1249 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
1250         * installcheck/Amanda_Device.pl: erase each S3 volume after the tests
1251           are finished with it
1252
1253 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
1254         * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors
1255
1256 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
1257         * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial
1258           of use of a second tape due to user configuration; dump_cb adds
1259           the config_denial_message parameter
1260         * server-src/taper.pl: use new parameter
1261         * installcheck/Amanda_Taper_Scribe.pl: updated tests
1262
1263 2010-07-06  Orion Poplawski <orion@cora.nwra.com>
1264         * server-src/amoverview.pl: fix parsing for newer amadmin find output
1265
1266 2010-07-06  Dustin J. Mitchell <dustin@zmanda.com>
1267         * device-src/s3.c: fix typo (that I added, not Nandan)
1268
1269 2010-07-06  Nandan Athawale <nandan.athawale@gmail.com>
1270         * device-src/s3.c: use Amazon's HTTP response headers to calculate a
1271           time offset for the local clock, to automatically work around time
1272           skew
1273
1274 2010-06-29  Dustin J. Mitchell <dustin@zmanda.com>
1275         * installcheck/Makefile.am installcheck/chunker.pl: new check
1276         * perl/Amanda/Header.swg: bug fix
1277         * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for
1278           testing
1279
1280 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
1281         * server-src/driverio.c: fix format specifies
1282
1283 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
1284         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
1285           add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR,
1286           and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print
1287           deprecation warnings once per process; deprecate TAPE_SPLITSIZE,
1288           FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER
1289         * example/amanda.conf.in example/template.d/amanda-S3.conf.in
1290           example/template.d/amanda-harddisk.conf.in
1291           example/template.d/dumptypes: remove old params
1292         * installcheck/Amanda_Config.pl
1293           installcheck/Amanda_Taper_Scribe.pl
1294           installcheck/Installcheck/Dumpcache.pm
1295           installcheck/taper.pl: update tests
1296         * man/xml-source/amanda-compatibility.7.xml: document deprecations
1297           and what to do about them
1298         * man/xml-source/amanda.conf.5.xml: document deprecations and new
1299           params
1300         * perl/Amanda/Device.pod: add doc about size=0 for
1301           write_from_connection, fix typo
1302         * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config
1303         * server-src/diskfile.c server-src/diskfile.h: add dumptype->config
1304         * server-src/amcheck.c: checks for the new params
1305         * server-src/driverio.c server-src/taper.pl: add all config params to
1306           the driver/taper protocol
1307
1308 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
1309         * device-src/xfer-dest-taper-directtcp.c: round part size to a
1310           multiple of the block size
1311         * installcheck/Amanda_Xfer.pl: test it
1312
1313 2010-06-24  Dustin J. Mitchell <dustin@zmanda.com>
1314         * application-src/ampgsql.pl: use conditionals to skip useless
1315           selfcheck checks
1316
1317 2010-06-23  Dustin J. Mitchell <dustin@zmanda.com>
1318         * application-src/ampgsql.pl: conditionalize some checks on property
1319           being set
1320
1321 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
1322         * server-src/amfetchdump.pl: fix parsing levels and -p
1323
1324 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
1325         * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens
1326          and Marco Poli
1327
1328 2010-06-22  Jean-Louis Martineau <martineau@zmanda.com>
1329         * device-src/tape-device.c: Handle write returning 0 for LEOM.
1330
1331 2010-06-21  Dustin J. Mitchell <dustin@zmanda.com>
1332         * perl/Makefile.am: list libamglue in _SOURCES variables, too,
1333           so that dependencies are correct and parallel makes do not
1334           fail
1335
1336 2010-06-18  Jean-Louis Martineau <martineau@zmanda.com>
1337         * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline.
1338
1339 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
1340         * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS
1341
1342 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
1343         * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs
1344           to match new changer API
1345
1346 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
1347         * common-src/bsd-security.c common-src/bsdtcp-security.c
1348           common-src/bsdudp-security.c common-src/local-security.c
1349           common-src/security-util.c common-src/ssh-security.c: zero out new
1350           structures, and protect logtime messages from NULL dereferences
1351
1352 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
1353         * installcheck/Makefile.am: use chmod a-x instead of chmod -x
1354
1355 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
1356         * installcheck/Makefile.am: remove comment from Makefile rule
1357
1358 2010-06-16  Jean-Louis Martineau <martineau@zmanda.com>
1359         * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE.
1360
1361 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
1362         * installcheck/Makefile.am: add chmod -x for more recent Test::Harness
1363           implementations that are confused by executable tests
1364
1365 2010-06-15  Jean-Louis Martineau <martineau@zmanda.com>
1366         * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner'
1367           line should result in FAILED dump (not MISSING dump).
1368         * installcheck/amreport.pl: Test it.
1369
1370 2010-06-14  Dustin J. Mitchell <dustin@zmanda.com>
1371         * config/automake/installperms.am: add new special cases
1372
1373         * application-src/Makefile.am client-src/Makefile.am
1374           oldrecover-src/Makefile.am recover-src/Makefile.am
1375           server-src/Makefile.am: only use installperms for setuid executables
1376
1377 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
1378         * perl/Amanda/Report.pm: POD overhaul
1379
1380 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
1381         * perl/amglue/directtcp.swg: fix unterminated array
1382
1383 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1384         * config/amanda/net.m4: remove use of AS_HELP_STRING
1385
1386 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1387         * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles
1388         * common-src/fileheader.c: don't put partnum=1 on tape headers, etc.
1389
1390 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1391         * common-src/fileheader.c: fix inaccurate partnum in such headers
1392         * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with
1393           DUMPFILE headers
1394
1395 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1396         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix
1397           NDMOS_OPTION_NO_NDMPvX precompiler conditionals
1398
1399 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1400         * installcheck/Amanda_Device.pl: test the connect method
1401
1402 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1403         * ndmp-src/ndma_comm_dispatch.c: uncomment and update code
1404           to support NDMP_MOVER_CONNECT via ndmta.
1405
1406 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1407         * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c
1408           device-src/device.h: add a device_connect method
1409         * device-src/ndmp-device.c: implement it
1410         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add
1411           ndmp_connection_mover_connect
1412         * perl/Amanda/Xfer.pod: update documentation using the word
1413           "initiator"
1414
1415 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
1416         * device-src/s3-device.c: add S3_STORAGE_CLASS property
1417         * device-src/s3.c device-src/s3.h: add storage_class
1418         * installcheck/Amanda_Device.pl: set the property
1419         * man/xml-source/amanda-devices.7.xml: document it
1420
1421 2010-06-10  Dustin J. Mitchell <dustin@zmanda.com>
1422         * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes
1423           problems with amidxtaped: "Specified file list matches multiple
1424           dumps"
1425
1426 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1427         * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags.
1428         * server-src/amreport.pl: Add STRANGE or MISSING to email subject.
1429         * installcheck/Amanda_Report.pl: Test new flags.
1430
1431 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1432         * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of
1433           timestamps, each value is an array of try.
1434         * perl/Amanda/Report/human.pm: Use 'dumps'.
1435         * perl/Amanda/Report/postscript.pm: Use 'dumps'.
1436         * perl/Amanda/Report/xml.pm: Use 'dumps'.
1437         * contrib/amreport.rnc: Add 'dumps'
1438         * server-src/amreport.pl: Use 'dumps'
1439         * installcheck/amreport.pl: Check 'dumps'
1440         * installcheck/Amanda_Report.pl: Check 'dumps'
1441
1442 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1443         * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check
1444           the data_path.
1445         * server-src/driver.c: Check FAILED result after PORT command.
1446         * server-src/driverio.c: Send data_path in taper PORT-WRITE command.
1447         * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the
1448           scribe check_data_path method.
1449         * installcheck/taper.pl: Test it.
1450
1451 2010-06-09 Dan Locks <dwlocks@zmanda.com>
1452         *  packaging/rpm/amanda.spec: remove Provides from main section,
1453            remove amanda-client from server provides section.
1454
1455 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1456         * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl,
1457           installcheck/Amanda_Recovery_Planner.pl,
1458           installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl,
1459           installcheck/taper.pl, perl/Amanda/Report.pm,
1460           perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm,
1461           server-src/find.c, server-src/taper.pl: taper log a "config|error"
1462           keyword in the "ERROR no-tape" line.
1463
1464 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
1465         * common-src/conffile.c: Allow negative etimeout.
1466
1467 2010-06-08  Dustin J. Mitchell <dustin@zmanda.com>
1468         * ndmp-src/ndmp4_enum_strs.c: add missing enum
1469
1470 2010-06-07  Dustin J. Mitchell <dustin@zmanda.com>
1471         * ndmp-src/ndml_agent.c: add INADDR_NONE
1472         * ndmp-src/ndmos_glib.h: remove solaris-specific conditional
1473
1474 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
1475         * perl/Amanda/Device.swg: fix uninitialized variable
1476
1477 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
1478         * common-src/amfeatures.h: New fe_amindexd_quote_label.
1479         * common-src/amfeatures.c: fe_amindexd_quote_label.
1480         * perl/Amanda/Feature.pod: fe_amindexd_quote_label.
1481         * server-src/amindexd.c: Quote label if fe_amindexd_quote_label.
1482         * recover-src/amrecover.c: Add debugging statement.
1483         * recover-src/display_commands.c: Parse quoted label.
1484         * recover-src/extract_list.c: Parse quoted label.
1485
1486 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
1487         * xfer-src/xfer-element.h common-src/Makefile.am
1488           common-src/queueing-test.c common-src/queueing.c
1489           common-src/queueing.h: remove queueing support
1490         * installcheck/Amanda_Device.pl device-src/Makefile.am
1491           device-src/device-queueing.c device-src/device-queueing.h
1492           device-src/device.c device-src/device.h device-src/property.h: remove
1493           queue_fd, device_write_from_fd and device_read_to_fd
1494         * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd,
1495           write_from_fd, and read_to_fd; add test utilities to move random data
1496           onto and off of devices
1497
1498 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
1499         * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod
1500           perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm
1501           server-src/amfetchdump.pl server-src/amidxtaped.pl
1502           server-src/amrestore.pl xfer-src/filter-process.c
1503           xfer-src/xfer-element.h: add a log_stderr argument to
1504           Amanda::Xfer::Filter::Process
1505         * server-src/amcheckdump.pl: use the transfer architecture
1506
1507 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
1508         * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded"
1509           by "label '$label' not found" for old changer scripts.
1510
1511 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
1512         * server-src/find.c: zero-pad timestamps out to 14 digits for
1513           comparison
1514         * perl/Amanda/Recovery/Clerk.pm: same
1515
1516 2010-06-03 Dan Locks <dwlocks@zmanda.com>
1517         *  packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead.
1518
1519 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
1520         * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect
1521           redhat systems that change the wildcard default for include; and
1522           consider 1.15.91 >= 1.16
1523
1524 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1525         * server-src/planner.c: Fix printf format.
1526
1527 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
1528         * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql
1529           restore process
1530
1531 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1532         * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file.
1533         * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely.
1534         * installcheck/amrmtape.pl: Fix.
1535
1536 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1537         * server-src/amcleanupdisk.c: Use CLR and SET.
1538         * server-src/planner.c: Use CLR, SET and ISSET.
1539           Don't update csize if level < 0.
1540
1541 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
1542         * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't
1543           exists.
1544
1545 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
1546         * common-src/security-util.c: Print a debug message every 10 minutes if
1547           something is transmitted.
1548         * common-src/security-util.h (tcp_conn): Add logstamp.
1549
1550 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
1551         * server-src/dumper.c: Drop root privilege before executing compression
1552           or encryption program.
1553
1554 2010-06-02  Dustin J. Mitchell <dustin@zmanda.com>
1555         * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly
1556           high-ascii characters in -t test
1557
1558 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1559         * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23.
1560
1561 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1562         * server-src/find.c(print_find_result): Quote label.
1563
1564 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1565         * config/set_full_version: Add comments.
1566
1567 2010-05-28  Dustin J. Mitchell <dustin@zmanda.com>
1568         * installcheck/gnutar.pl: tests for gnutar globbing behavior
1569         * installcheck/Makefile.am: run them
1570
1571 2010-05-28 Dan Locks <dwlocks@zmanda.com>
1572         *  packaging/Makefile.am: include common in EXTRA_DIST
1573
1574 2010-05-28 Dan Locks <dwlocks@zmanda.com>
1575
1576 2010-05-27  Jean-Louis Martineau <martineau@zmanda.com>
1577         * server-src/find.c: Don't report taper line with filenum=0.
1578
1579 2010-05-27  Dustin J. Mitchell <dustin@zmanda.com>
1580         * installcheck/taper.pl: test for a new write after EOM without
1581           splitting
1582         * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
1583           this condition and switching to a new volume appropriately
1584
1585 2010-05-26  Dustin J. Mitchell <dustin@zmanda.com>
1586         * config/amanda/libs.m4: Allow user to specify glib config explicitly
1587
1588 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
1589         * perl/Makefile.am: add libamxfer as a dependency of libamglue
1590
1591 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
1592         * installcheck/amtapetype.pl: use force for subsequent runs
1593
1594 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
1595         * device-src/amtapetype.pl: close and re-open devices between tests
1596         * device-src/xfer-dest-device.c: fix memory leak
1597         * man/xml-source/amtapetype.8.xml: fix -f docs
1598
1599 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
1600         * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
1601           with level if NDMP9_ILLEGAL_STATE_ERR.
1602
1603 2010-05-21  Dustin J. Mitchell <dustin@zmanda.com>
1604         * device-src/amtapetype.pl: get the block_size property earlier
1605         * device-src/device.c: allow property_get after a DEVICE_ERROR
1606
1607 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
1608         * server-src/driver.c: Always report "taperflush criteria not met".
1609
1610 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
1611         * installcheck/Amanda_Changer.pl: test more configs
1612         * man/xml-source/amanda.conf.5.xml: point users to
1613           amanda-changers(7)
1614         * perl/Amanda/Changer.pm: support either tpchanger or
1615           tapedev in changer defs
1616
1617 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
1618         * config/amanda/progs.m4: always use rpcgen
1619         * ndmp-src/Makefile.am: always build rpc outputs
1620         * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h
1621           ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c
1622           ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h
1623           ndmp-src/ndmp9_xdr.c: remove from version control (and dist)
1624
1625 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
1626         * common-src/fileheader.c: don't print to stderr anymore
1627
1628 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
1629         * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products
1630           first, since they are not solaris-compatible
1631
1632 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
1633         * application-src/amsamba.pl: filter "Server not using user level ..."
1634
1635 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
1636         * server-src/amtape.pl (inventory): print barcode from unknown state.
1637
1638 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
1639         * perl/Amanda/Application.swg (default_validate): Use sysread.
1640
1641 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1642         * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
1643           required
1644
1645 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1646         * perl/Amanda/Changer/rait.pm: add debug message when child slot
1647           counts differ
1648
1649 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1650         * config/amanda/net.m4: correct help messages
1651
1652 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
1653         * man/xml-source/amanda.conf.5.xml: fix typo
1654
1655 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
1656         * server-src/amfetchdump.pl: use syswrite so the filehandle gets
1657           properly flushed
1658
1659 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
1660         * perl/Amanda/Changer/ndmp.pm: add verbose property
1661         * installcheck/Amanda_Changer_ndmp.pl: use it
1662
1663 2010-05-14  Dustin J. Mitchell <dustin@zmanda.com>
1664         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
1665           window_offset to mover_get_state
1666         * device-src/ndmp-device.c: insert corresponding NULLs
1667
1668 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1669         * server-src/amcheckdump.pl: Check subprocess exit status and print
1670           their stderr.
1671
1672 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1673         * common-src/amcryptsimple.pl: Exit on error if gpg fail.
1674
1675 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1676         * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
1677
1678 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1679         * application-src/amgtar.c: fix exclude-file.
1680
1681 2010-05-12  Dustin J. Mitchell <dustin@zmanda.com>
1682         * installcheck/Amanda_Device.pl: add regression test
1683         * device-src/tape-device.c: set self->fd to -1 when closing; add
1684           better error messages
1685
1686 2010-05-11 Dan Locks <dwlocks@zmanda.com>
1687         *  packaging/common/substitute.pl: added.  contains much machinery not
1688            yet used in packaging. 
1689         *  packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
1690            %%DATE%% macros which are expanded by substitute.pl.
1691         *  packaging/deb/changelog: renamed to above
1692         *  packaging/deb/rules: fix stray configure option
1693         *  packaging/deb/buildpkg: adjust to use substitute.pl instead of
1694            figuring VERSION out directly.
1695
1696 2010-05-10  Jean-Louis Martineau <martineau@zmanda.com>
1697         * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
1698
1699 2010-05-07  Jean-Louis Martineau <martineau@zmanda.com>
1700         * common-src/security-util.c: Use global buffer for 
1701           security_stream_read_sync.
1702         * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
1703           returnned by security_stream_read_sync.
1704
1705 2010-05-07  Dustin J. Mitchell <dustin@zmanda.com>
1706         * device-src/rait-device.c: fix assertion failure when a child device
1707           gives an error
1708         * perl/Amanda/Changer/rait.pm: add support for braced drive specs
1709         * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
1710           for an eject operation
1711         * man/xml-source/amanda-changers.7.xml: document rait changer drive
1712           specifications
1713
1714 2010-05-06  Jean-Louis Martineau <martineau@zmanda.com>
1715         * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
1716           for restore, escape the non glob include and exclude.
1717         * client-src/client_util.h: Add include_list_glob and exclude_list_glob
1718           to backup_support_option_t.
1719         * client-src/client_util.c: Parse new support option.
1720         * man/xml-source/amgtar.8.xml: Ducument new properties.
1721         * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
1722           asis to amrecover.
1723
1724 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
1725         * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
1726           have a valid status
1727
1728 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
1729         * device-src/s3-device.c: fix several fatal flaws in the
1730           read_block implementation
1731
1732 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
1733         * perl/Amanda/Report/human.pm: don't assume parts are defined
1734
1735 2010-05-04  Dustin J. Mitchell <dustin@zmanda.com>
1736         * man/xml-source/amanda-devices.7.xml: add more regions
1737         * man/xml-source/amcheckdump.8.xml: remove duplicate section
1738
1739 2010-05-04  Jean-Louis Martineau <martineau@zmanda.com>
1740         * common-src/security-util.c: Free packet on close.
1741
1742 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
1743         * common-src/glib-util.c: reorgnize glib_init to be compatible with
1744           glib-2.24+
1745
1746 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
1747         * server-src/amlabel.pl: change the text to be less ambiguous
1748
1749 2010-05-03  Jean-Louis Martineau <martineau@zmanda.com>
1750         * server-src/disk_history.c: Keep all parts.
1751
1752 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
1753         * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
1754
1755 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
1756         * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
1757           recovery
1758         * device-src/ndmp-device.c: add extra assertion
1759         * device-src/xfer-dest-device.c: remove debug print
1760         * device-src/xfer-device.h device-src/xfer-source-recovery.c
1761           installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
1762           perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
1763         * perl/Amanda/Recovery/Clerk.pm: call use_device
1764
1765 2010-04-30  Dustin J. Mitchell <dustin@zmanda.com>
1766         * installcheck/Amanda_Changer_robot.pl: fix installchecks
1767           to pass after previous change
1768
1769 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
1770         * perl/Amanda/Changer/robot.pm: Default state file is in
1771                                         $localstatedir/amanda
1772         * man/xml-source/amanda-changers.7.xml: Document new location.
1773
1774 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
1775         * device-src/directtcp-connection.c: Typo.
1776
1777 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
1778         * server-src/amreport.pl: Print "FAIL" in email subject header if run
1779                                   failed.
1780         * installcheck/amreport.pl: Test it.
1781
1782 2010-04-27  Paul C. Mantz <pcmantz@zmanda.com>
1783         * perl/Amanda/Report/human.pm: better per-tape stat labels
1784         * installcheck/amreport.pl: updated tests
1785
1786 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
1787         * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
1788
1789 2010-04-27  Dustin J. Mitchell <dustin@zmanda.com>
1790         * server-src/planner.c: change degraded-mode messages to make more
1791           sense to the user
1792
1793 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
1794         * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
1795           changer have no inventory.
1796
1797 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
1798         * server-src/amreport.pl: print org & config in xml output
1799
1800 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
1801         * perl/Amanda/Recovery/Scan.pm: Use default change if message is
1802                                         $DEFAULT_CHANGER
1803         * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
1804                                     AMRECOVER_CHANGER
1805
1806 2010-04-26  Dustin J. Mitchell <dustin@zmanda.com>
1807         * perl/Amanda/Taper/Scribe.pm: give total time from
1808           dump start to dump end as total_duration
1809         * server-src/taper.pl: use total_duration
1810
1811 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
1812         * server-src/planner.c: Do not promote if no full estimate.
1813
1814 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
1815         * installcheck/Amanda_Report.pl: changed part to partnum
1816
1817 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
1818         * server-src/amcheckdump.pl: Check all process status.
1819
1820 2010-04-23  Paul C. Mantz <pcmantz@zmanda.com>
1821         * server-src/amreport.pl perl/Amanda/Report.pm
1822           perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
1823           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
1824           location of tape parts in Amanda::Report
1825         * installcheck/Amanda_Report.pl: installchecks
1826
1827 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
1828         * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
1829         * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
1830         * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
1831
1832 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
1833         * ndmp-src/ndml_nmb.c: Don't log successful halt.
1834         * server-src/dumper.c: Don't log no-op command.
1835
1836 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
1837         * man/xml-source/amanda-devices.7.xml: more detail for
1838           STREAMING property
1839
1840 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
1841         * device-src/xfer-dest-taper-splitter.c: fix assertion failure
1842           reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
1843
1844 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
1845         * installcheck/Amanda_Header.pl: add checks for all fields
1846
1847 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
1848         * common-src/util.c: add debugging check to interruptible_accept
1849         * server-src/taper.pl: don't use IO::Socket, as it is badly broken
1850           and not thread-safe on Solaris 8
1851         * xfer-src/element-glue.c: add debugging checks
1852
1853 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
1854         * server-src/amcleanup.pl: Fix running command with system.
1855
1856 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
1857         * example/Makefile.am: fix 'make clean' to not erase source files.
1858
1859 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
1860         * config/amanda/progs.m4: check for, and reject, Solaris's
1861           SGU lex, which is badly broken
1862         * configure.in: use AMANDA_PROG_LEX
1863
1864 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
1865         * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
1866           Jean-Francois Malouin
1867
1868 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
1869         * perl/Amanda/Report/xml.pm: use bytes as data unit
1870
1871 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
1872         * perl/Amanda/Report/xml.pm: tries need to show all programs
1873
1874 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
1875         * perl/Amanda/Changer/ndmp.pm: $conn = undef
1876
1877 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
1878         * common-src/match-test.c: lots of new tests
1879         * common-src/match.c: fix comments, minor bugs in tar_to_regex and
1880           match_level
1881         * common-src/match.h: comments to describe each function
1882         * man/xml-source/amanda.8.xml: update expression docs
1883
1884 2010-04-21  Dustin J. Mitchell <dustin@zmanda.com>
1885         * server-src/amlabel.pl: add warning when the old label is in the
1886           tapelist
1887
1888 2010-04-20  Dustin J. Mitchell <dustin@zmanda.com>
1889         * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE
1890         * device-src/rait-device.c: fix bugs
1891
1892 2010-04-19  Jean-Louis Martineau <martineau@zmanda.com>
1893         * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
1894           seen a second time.
1895
1896 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
1897         * perl/Amanda/Config.swg: move val_t output typemap to a function
1898
1899 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
1900         * server-src/amadmin.c: show all custom compression/encryption options
1901           in amadmin disklist
1902         * man/xml-source/amanda.conf.5.xml: document undocumented params
1903
1904 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
1905         * server-src/amcleanup.pl: don't fail when run with no args
1906
1907 2010-04-15  Paul C. Mantz <pcmantz@gmail.com>
1908         * perl/Amanda/Curinfo/Info.pm: fixed header parsing
1909         * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
1910         * installcheck/Amanda_Curinfo.pl: installchecks
1911
1912 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
1913         * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
1914
1915 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
1916         * device-src/xfer-dest-device.c: don't use queueing anymore; this
1917           removes the max_memory constructor argument
1918         * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype
1919           change
1920         * perl/Amanda/Xfer.pod: docs
1921         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
1922           installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl
1923           installcheck/amrestore.pl server-src/amvault.pl: change constructor
1924           invocation
1925
1926 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
1927         * common-src/util.c common-src/util.h: new interruptible_accept that
1928           uses a prolong function to stop waiting
1929         * common-src/stream.c: use interruptible_accept in stream_accept
1930         * xfer-src/element-glue.c: use interruptible_accept to allow
1931           directtcp_accept to be cancelled
1932         * installcheck/Amanda_Xfer.pl: test xfer cancellation
1933
1934 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
1935             Satya Ganga <gsat@zmanda.com>
1936         * application-src/amsamba.pl: Fix use of include/exclude list.
1937
1938 2010-04-14  Dustin J. Mitchell <dustin@zmanda.com>
1939         * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm
1940           server-src/taper.pl: rename dump_timestamp -> write_timestamp
1941
1942 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
1943         * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
1944
1945 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
1946         * common-src/conffile.c common-src/conffile.h: make file-pad and
1947           tapebufs parameters errors
1948         * perl/Amanda/Config.swg: remove parameters
1949         * server-src/taper.pl: don't check tapebufs
1950         * installcheck/Amanda_Config.pl: adjust testing
1951         * man/xml-source/amanda-compatibility.7.xml: add deprecation
1952           note about amrecover_do_fsf and amrecover_check_label
1953
1954 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
1955         * device-src/xfer-dest-taper-splitter.c
1956           device-src/xfer-dest-taper-directtcp.c: make sure duration is positive
1957
1958 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
1959         * common-src/conffile.c: fix derived value for autolabel
1960
1961 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
1962         * man/xml-source/amanda-applications.7.xml: info about properties
1963         * man/xml-source/amanda-devices.7.xml: info about properties
1964         * man/xml-source/amanda-scripts.7.xml: info about properties
1965         * man/xml-source/amzfs-snapshot.8.xml: fix typo
1966
1967 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
1968         * NEWS: add info about deprecations in 2.6.1
1969         * man/xml-source/amanda-compatibility.7.xml: update manpage to
1970           reflect info in NEWS
1971
1972 2010-04-13  Paul C. Mantz <pcmantz@zmanda.com>
1973         * server-src/amreport.pl: load holding disk before making report
1974         * perl/Amanda/Report/human.pm: report holding disk correctly
1975         * installcheck/amreport.pl: installcheck
1976
1977 2010-04-13  Jean-Louis Martineau <martineau@zmanda.com>
1978         * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
1979           Always log NOTIFY_DATA_HALTED.
1980
1981 2010-04-12  Dustin J. Mitchell <dustin@zmanda.com>
1982         * common-src/conffile.c: deprecate amrecover_do_fsf and
1983           amrecover_check_label
1984         * example/amanda.conf.in example/template.d/advanced.conf.in: remove
1985         * man/xml-source/amanda.conf.5.xml: indicate deprecation
1986         * NEWS: mention deprecation
1987
1988 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
1989         * perl/Amanda/Report/human.pm: typo.
1990
1991 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
1992         * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
1993         * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
1994         * perl/Amanda/Report/human.pm: Print taper error message.
1995         * server-src/find.c: Set current_label to "".
1996
1997 2010-04-08  Paul C. Mantz <pcmantz@zmanda.com>
1998         * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
1999           which search the logdir instead of the tapelist
2000         * perl/Amanda/Logfile.pod: documentation
2001         * server-src/amreport.pl: use find_latest_log insted of find_log
2002
2003 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
2004         * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
2005           eliminate reference loops created by use of %subs
2006         * perl/Amanda/MainLoop.pod: document it
2007         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
2008           installcheck/Amanda_Changer_disk.pl
2009           installcheck/Amanda_Changer_multi.pl
2010           installcheck/Amanda_Changer_ndmp.pl
2011           installcheck/Amanda_Changer_rait.pl
2012           installcheck/Amanda_Changer_robot.pl
2013           installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
2014           installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
2015           installcheck/Amanda_Recovery_Scan.pl
2016           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
2017           installcheck/amfetchdump.pl installcheck/amidxtaped.pl
2018           installcheck/amlabel.pl perl/Amanda/Changer.pm
2019           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
2020           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
2021           perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
2022           perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
2023           server-src/amcheck-device.pl server-src/amfetchdump.pl
2024           server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
2025           server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
2026
2027 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2028         * config/automake/scripts.am: comment double quote 'use lib'.
2029
2030 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2031         * application-src/amsamba.pl: Use tarmode.
2032
2033 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2034         * recover-src/amrecover.c: Print to debug what is sent to amindexd.
2035         * recover-src/uparse.y: Parse setdate correctly.
2036
2037 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
2038         * ndmp-src/ndma_comm_dispatch.c:
2039           Comment "Second add_dir entry is non-conforming".
2040
2041 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
2042         * server-src/planner.c: fix two bugs that caused planner to generate a
2043           bogus schedule; remove a redundant assignment
2044
2045 2010-04-07 Dan Locks <dwlocks@zmanda.com>
2046         *  packaging/rpm/amanda.spec: specify mandir explicitly to work around
2047            old autoconf
2048
2049 2010-04-07  Paul C. Mantz <pcmantz@zmanda.com>
2050         * server-src/amreport.pl perl/Amanda/Report.pm
2051         perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
2052         perl/Amanda/Report/xml.pm installcheck/amreport.pl
2053         installcheck/Amanda_Report.pl: taped segments called parts, not chunks
2054
2055
2056 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
2057         * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
2058
2059 2010-04-07  Dustin J. Mitchell <dustin@zmanda.com>
2060         * config/amanda/userid.m4: CHECK_USERID conditional
2061         * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
2062         * installcheck/Makefile.am: use it
2063
2064 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
2065         * server-src/amcheck.c: Don't exit on match_disklist error.
2066         * server-src/diskfile.c (match_disklist): Generate better message for
2067           strategy "skip" or ignore dle.
2068
2069 2010-04-06  Jean-Louis Martineau <martineau@zmanda.com>
2070         * recover-src/extract_list.c: Set restore_dir to NULL.
2071
2072 2010-04-06  Paul C. Mantz <pcmantz@zmanda.com>
2073         * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
2074         * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
2075           NDMP4_LOG_* messages for testing
2076
2077 2010-04-05  Jean-Louis Martineau <martineau@zmanda.com>
2078         * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
2079           property.
2080
2081 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2082         * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
2083         * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
2084           loading slot 'current'
2085         * installcheck/Amanda_Taper_Scan_traditional.pl: test it
2086
2087 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2088         * server-src/amidxtaped.pl: send changer error with MESSAGE
2089         * installcheck/amidxtaped.pl: test for it
2090
2091 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2092         * config/amanda/version.m4: be resilient to all but the first
2093           digit of the version number missing
2094
2095 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2096         * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
2097           reference loop in %subs (interim solution -- this arrangement
2098           leaks everywhere)
2099
2100 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2101         * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
2102           every Interface operation, so that objects are not unreffed
2103           during Perl's global cleanup.
2104
2105 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2106         * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
2107         * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
2108           search failure; check for failure before printing "slot N"
2109           prefix
2110         * server-src/amcheck-device.pl: implement new user_msg_fn key
2111           to print expected volume on failure
2112
2113 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2114         * perl/Amanda/Device.pod: document that finish() can be called even
2115           if start() was not, to release resources
2116         * device-src/ndmp-device.c: implement
2117         * device-src/tape-device.c: implement
2118         * perl/Amanda/Changer.pm: always finish() a device in $res->release()
2119
2120 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2121         * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
2122         * installcheck/Makefile.am: add util
2123
2124 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2125         * server-src/infofile.c: use %lld in scanning instead of %jd,
2126           since Solaris 8 doesn't have %j support; also fix handling
2127           of parse errors
2128
2129 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2130         * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
2131           DEVICE_STATUS_DEVICE_BUSY
2132
2133 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
2134         * perl/Amanda/Changer.pm: check $err->failed before returning reason
2135
2136 2010-04-02  Paul C. Mantz <pcmantz@zmanda.com>
2137         * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
2138         * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
2139         * installcheck/amreport.pl: installchecks
2140
2141 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
2142         * perl/Amanda/Util.pod: correct inaccurate claims in burp
2143
2144 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
2145         * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
2146           sizeof(gint)
2147
2148 2010-04-02  Jean-Louis Martineau <martineau@zmanda.com>
2149         * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
2150
2151 2010-04-01  Paul C. Mantz <pcmantz@gmail.com>
2152         * server-src/amreport.pl: accepts and ignores disk args in script mode
2153         * installcheck/amreport.pl: checks
2154
2155 2010-04-01  Jean-Louis Martineau <martineau@zmanda.com>
2156         * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
2157         * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
2158         * installcheck/amrecover.pl: Check 'localhost' hostname,
2159                                      remove '^' from expect regex
2160         * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
2161
2162 2010-04-01  Dustin J. Mitchell <dustin@zmanda.com>
2163         * application-src/ampgsql.pl: check permissions on archive dir, and
2164           fail selfcheck if they are not sufficient.  Also implement the
2165           wal-max-wait=0 that's already documented
2166         * man/xml-source/ampgsql.8.xml: document required permissions
2167
2168 2010-03-31  Dustin J. Mitchell <dustin@zmanda.com>
2169         * installcheck/amrecover.pl: fix diag()
2170
2171 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2172         * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
2173         * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
2174
2175 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2176         * config/set_full_version: fix.
2177         * config/amanda/config.m4: fix.
2178
2179 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2180         * config/amanda/config.m4: Use -a.
2181
2182 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2183         * config/set_full_version: Use -a.
2184
2185 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2186         * config/set_full_version: Use grep.
2187
2188 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2189         * config/Makefile.am: Add set_full_version to EXTRA_DIST.
2190         * config/set_full_version: Add the file.
2191
2192 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
2193         * config/set_full_version: New script to update FULL_VERSION from
2194                                    VERSION, svn and git
2195         * autogen: Execute config/set_full_version
2196         * Makefile.am: Add dependencies to execute set_full_version if VERSION
2197           change, and to re-run configure if FULL_VERSION change.
2198         * config/amanda/version.m4: Use FULL_VERSION.
2199         * packaging/deb/buildpkg: Use FULL_VERSION.
2200         * packaging/rpm/amanda.spec: Use FULL_VERSION.
2201         * packaging/rpm/buildpkg: Use FULL_VERSION.
2202
2203 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
2204         * installcheck/Installcheck/Run.pm: be selective in import from POSIX
2205         * server-src/amvault.pl: fix duplicate variable
2206
2207 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
2208         * Makefile.am: add VERSION to EXTRA_DIST
2209         * config/amanda/version.m4: use $srcdir/VERSION
2210
2211 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2212         * VERSION: 3.2.0alpha.
2213         * configure.in: Call AMANDA_VERSION.
2214         * config/amanda/version.m4: Add AMANDA_VERSION.
2215         * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
2216
2217 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
2218         * server-src/driver.c: Retry direct to tape all aborted dump because
2219                                of missing holdingdisk space.
2220
2221 2010-03-29  Paul C. Mantz <pcmantz@zmanda.com>
2222         * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
2223
2224 2010-03-28  Dustin J. Mitchell <dustin@zmanda.com>
2225         * server-src/amvault.pl: update with Changer and Catalog API changes
2226
2227 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2228         * installcheck/Makefile.am: don't run amrecover test under
2229           --without-restore
2230
2231 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2232         * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
2233           errors, e.g., "file changed as we read it"
2234
2235 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2236         * installcheck/amrecover.pl: fix stupid error in installcheck
2237
2238 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2239         * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
2240           to force WAL file archives on ancient postgres versions
2241         * installcheck/ampgsql.pl: don't skip tests on ancient versions
2242
2243 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
2244         * common-src/Makefile.am common-src/match-test.c: test (some) match
2245           functions
2246         * common-src/match.c: add make_exact_disk_expression and
2247           make_exact_host_expression
2248         * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
2249         * installcheck/Makefile.am installcheck/amrecover.pl: new integration
2250           tests
2251         * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
2252           make_exact_.. functions
2253         * common-src/amanda.h common-src/match.h application-src/amgtar.c
2254           application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
2255           client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
2256           common-src/local-security.c common-src/util.c
2257           oldrecover-src/set_commands.c recover-src/set_commands.c
2258           server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
2259           server-src/find.c server-src/tapefile.c: move match.c prototypes from
2260           amanda.h to match.h
2261
2262 2010-03-25  Jean-Louis Martineau <martineau@zmanda.com>
2263         * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
2264                                 or amflush is running.
2265
2266 2010-03-25  Paul C. Mantz <pcmantz@zmanda.com>
2267         * server-src/amreport.pl: amreport exits w/o error if mailer fails
2268         * installchecks/amreport.pl: installcheck
2269
2270 2010-03-25  Dustin J. Mitchell <dustin@zmanda.com>
2271         * perl/Amanda/Changer/compat.pm: err on the side of caution when
2272           emulating except_slots in chg-compat, preventing an infinite
2273           loop
2274
2275 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
2276         * application-src/amsamba.pl: check open failure correctly,
2277                                       improve debugging message.
2278
2279 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
2280         * NEWS, ReleaseNotes: Change for 3.1.0
2281
2282 2010-03-23  Dustin J. Mitchell <dustin@zmanda.com>
2283         * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
2284           files to be archived during full backup, don't backup postmaster.pid
2285           or pg_xlog
2286         * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
2287           describing the operation
2288         * installcheck/ampgsql.pl: test restores more carefully, including
2289           an empty incremental
2290
2291 2010-03-22  Dustin J. Mitchell <dustin@zmanda.com>
2292         * common-src/amfeatures.c common-src/amfeatures.h
2293           perl/Amanda/Feature.pod: add a new feature to indicate that
2294           amrecover quotes disks right: fe_amrecover_correct_disk_quoting
2295         * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
2296           clean_regex
2297         * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
2298           recover-src/extract_list.c recover-src/set_commands.c
2299           server-src/diskfile.c: use it
2300         * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
2301         * installcheck/amidxtaped.pl: test that
2302
2303 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
2304         * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
2305
2306 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
2307         * recover-src/amrecover.c: Do add_config_override before loading the
2308                                    config.
2309
2310 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
2311         * server-src/driver.c: Continue flush on new tape if holdingdisk is
2312                                full.
2313
2314 2010-03-18  Paul C. Mantz <pcmantz@zmanda.com>
2315         * perl/Amanda/Report.pm: updated POD
2316
2317 2010-03-18  Dustin J. Mitchell <dustin@zmanda.com>
2318         * application-src/ampgsql.pl: add a die_cb in command_validate and
2319           command_selfcheck
2320
2321 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
2322         * server-src/amreport.pl: added new command line options
2323         * server-src/amdump.sh: updated usage of amreport
2324         * installchecks/amreport.pl: installchecks
2325         * man/xml-source/amreport.8.xml: usage doc update
2326         * NEWS: added info about rewrite
2327
2328 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
2329         * perl/Amanda/Report/human.pm: fixed premature disk truncation in
2330          dump summary
2331
2332 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
2333         * perl/Amanda/Tests.swg: add a simple threaded function
2334         * perl/Makefile.am: and invoke it from 'make check'
2335
2336 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
2337         * man/xml-source/amcryptsimple.8.xml: Fix formatting
2338
2339 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
2340         * man/xml-source/ampgsql.8.xml: Fix formatting.
2341
2342 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
2343         * common-src/debug.c: Set open_time in debug_setup_1.
2344
2345 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2346         * man/xml-source/amsamba.8.xml: document include/exclude expressions
2347
2348 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2349         * UPGRADING: add note about accidentally linking new versions against old
2350
2351 2010-03-15  Paul C. Mantz <pcmantz@zmanda.com>
2352         * perl/Amanda/Util.pod: added POD for slurp and burp
2353
2354 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2355         * installcheck/amreport.pl: add tests for exit status for planner
2356           failure
2357
2358 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2359         * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
2360           caller's responsibility
2361         * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
2362         * server-src/taper.pl: handle input errors directly
2363
2364 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2365         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
2366           device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
2367           function
2368         * installcheck/Amanda_Device.pl: add lots of tape-positioning
2369           installcehcks
2370         * device-src/tape-device.c: fix positioning (adjust for funny bsf
2371           behavior only in tape_device_seek_file)
2372
2373 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
2374         * common-src/conffile.c: rename the default tapetype, since EXABYTE
2375           sounds like it might actually be useful, but it's only 2M
2376         * man/xml-source/amanda.conf.5.xml: remove default
2377         * server-src/amcheck.c: only check whether fallback_splitsize < tape
2378           length if splitting is enabled; check for a missing tapetype param
2379
2380 2010-03-14 Dan Locks <dwlocks@zmanda.com>
2381         *  configure.in: update to rc06.  NOTEST
2382
2383 2010-03-11 Dan Locks <dwlocks@zmanda.com>
2384         *  configure.in: update to rc05. 
2385
2386 2010-03-11  Paul C. Mantz <pcmantz@zmanda.com>
2387         * perl/Amanda/Report.pm: fixed order that messages are reported
2388
2389 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
2390         * perl/Amanda/Changer/null.pm: note that constructor will not fail
2391         * server-src/amidxtaped.pl: use chg-null if the changer constructor
2392           fails
2393
2394 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
2395         * perl/Amanda/Report.pm: count DLEs on the first tape
2396         * perl/Amanda/Report/postscript.pm: display total part count
2397         * installcheck/amreport.pl: changed output
2398
2399 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
2400         * config/amanda/progs.m4: add a define if LPR is found
2401         * server-src/amcheck.c: check it
2402
2403 2010-03-09  Paul C. Mantz <pcmantz@zmanda.com>
2404         * perl/Amanda/Report.pm: fixed caching of hostnames and dles
2405
2406 2010-03-09  Dustin J. Mitchell <dustin@zmanda.com>
2407         * man/xml-source/amanda-applications.7.xml: add brief example of
2408           setting properties for an application
2409
2410 2010-03-09  Paul C. Mantz
2411         * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
2412
2413 2010-03-08 Dan Locks <dwlocks@zmanda.com>
2414         *  packaging/deb/rules: add chmod lines for etc/amanda
2415         *  packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
2416            section, specify directories in 750 section to also be 750.
2417
2418 2010-03-08  Paul C. Mantz <pcmantz@zmanda.com>
2419         * perl/Amanda/Report.pm: record DLEs in seen order in the cache
2420         * installcheck/Amanda_Report.pm: installcheck fixes
2421
2422 2010-03-08 Dan Locks <dwlocks@zmanda.com>
2423         *  packaging/rpm/amanda.spec, packaging/deb/changelog: change version
2424            number to %%VERSION%%
2425         *  packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
2426            version from configure.in, substitute version in appropriate files
2427         *  packaging/README: correct list of packages, add note on debian
2428            package creation.
2429
2430 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2431         * installcheck/Installcheck/ClientService.pm: process error from fork
2432           correctly
2433
2434 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2435         * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
2436           cached dumps - it causes more problems than it solves
2437
2438 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2439         * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
2440           instead of %lf
2441
2442 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2443         * server-src/amfetchdump.pl: fix usage message
2444         * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
2445            default for mailto, as it is ignored
2446         * installcheck/Amanda_Report.pl installcheck/amreport.pl
2447           perl/Amanda/Report.pm perl/Amanda/Report/human.pm
2448           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
2449           server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
2450           add --help and --version, remove unused functions
2451         * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
2452
2453 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2454         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
2455           postscript output by filenum, not hostname/diskname
2456
2457 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2458         * installcheck/amreport.pl perl/Amanda/Report/human.pm
2459           perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
2460           dumpfile when calculating tape used
2461
2462 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2463         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
2464           print the on-medi size of a dumpfile, not its total size
2465
2466 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
2467         * installcheck/amreport.pl perl/Amanda/Report/human.pm
2468           perl/Amanda/Report/postscript.pm: remove rounding when orig and
2469           outsize are within 32k
2470
2471 2010-03-06  Dustin J. Mitchell <dustin@zmanda.com>
2472         * server-src/amreport.pl: don't use undef for stdout, stderr when
2473           invoking mail or lpr - some don't like to have their std streams
2474           closed
2475
2476 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
2477         * server-src/amreport.pl: fix use of relative path for -l argument.
2478
2479 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
2480         * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
2481         * installcheck/amreport.pl: check it.
2482
2483 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
2484         * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
2485           include conffile.h, not config.h.
2486
2487 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
2488         * config/amanda/version.m4: Allow 2 digits version.
2489
2490 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
2491         * packaging/deb/changelog, packaging/deb/rules,
2492           packaging/deb/buildpkg, packaging/rpm/buildpkg,
2493           packaging/rpm/amanda.spec,
2494           configure.in: Change version to 3.2alpha.
2495
2496 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>
2497         * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
2498           variables, and don't define them
2499         * perl/Amanda/Constants.pm.in: add LPR-related constants
2500         * installcheck/amreport.pl: lots of new tests, all hand-verified to
2501           pass for the C amreport as well, sometimes with minor differences
2502         * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
2503         * installcheck/mock/mail.pl: mock 'mail' for installchecks
2504         * installcheck/Makefile.am: new mocks
2505         * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
2506           support for amreport
2507         * server-src/Makefile.am server-src/amreport.pl
2508           server-src/amreport_new.pl server-src/reporter.c:
2509           make the perl amreport "live"
2510
2511 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>,
2512             Jean-Louis Martineau <martineau@zmanda.com>,
2513             Paul C. mantz <pcmantz@zmanda.com>
2514         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
2515           server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
2516           overhaul to perl reporting framework (collaborative effort of three
2517           developers)
2518
2519 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2520         * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
2521         * server-src/amreport_new.pl: Remove leading 0 on day date.
2522
2523 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2524         * perl/Amanda/Report.pm: Set $self->{hostname}.
2525         * perl/Amanda/Report/human.pm: Use $report->{hostname}.
2526
2527 2010-03-03  Paul C. mantz <pcmantz@zmanda.com>
2528         * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
2529
2530 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
2531         * perl/Amanda/Report.pm; added three-arg form of get_program_info()
2532         * perl/Amanda/Report/human.pm: usage of three-arg form
2533         * installcheck/Amanda_Report.pl: tests
2534
2535 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2536         * perl/Amanda/Report/human.pm: Remove coma.
2537
2538 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2539         * common-src/conffile.c: Correctly set autolabel from command line
2540                                  '-olabel_new_tapes=' options.
2541
2542 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2543         * server-src/amidxtaped.pl: Exit if receive ABORT message.
2544         * recover-src/extract_list.c: Send abort message on user request.
2545         * common-src/amfeatures.c: Add fe_amidxtaped_abort.
2546         * common-src/amfeatures.h: Add fe_amidxtaped_abort.
2547         * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
2548
2549 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2550         * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
2551
2552 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2553         * server-src/amflush.c: Delay creation of log file.
2554
2555 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
2556         * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
2557
2558 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
2559         * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
2560           tapelist loading
2561
2562 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
2563         * perl/Amanda/Report.pm: added tape_labels field for preserving tape
2564           order
2565         * perl/Amanda/Report/human.pm: use of tape_labels
2566         * installcheck/Amanda_report.pl: installcheck, cleanup
2567
2568 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2569         * server-src/reporter.c: Set and check repdata.
2570
2571 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2572         * server-src/amcheck.c: adjust split-size warnings for more
2573           detail with less overall verbosity
2574
2575 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2576         * server-src/reporter.c: Print FLUSH for failed flush.
2577
2578 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2579         * common-src/fileheader.c: fix typos
2580         * server-src/amfetchdump.pl: add support for decryption
2581         * server-src/amidxtaped.pl: same
2582         * server-src/amrestore.pl: same
2583
2584 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2585         * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
2586           perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
2587           perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
2588           perl/Amanda/Util.pod: fix bad POD formatting
2589         * perl/make_html.pl: fix perl warnings
2590
2591 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2592         * man/xml-source/amanda.conf.5.xml: add more detail about
2593           include/exclude
2594         * man/xml-source/amgtar.8.xml: and specific documentation of the
2595           patterns for amgtar
2596
2597 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2598         * perl/Amanda/Feature.pod: document known features
2599
2600 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2601         * perl/Amanda/Xfer.pod: no need to remove sources
2602         * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
2603
2604 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2605         * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
2606         * man/xml-source/amanda-changers.7.xml: no longer "in transition"
2607         * server-src/Makefile.am server-src/changer.c server-src/changer.h:
2608           remove changer.[ch]
2609         * server-src/amcheck.c: remove unused include
2610
2611 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
2612         * common-src/conffile.c: remove debug message
2613
2614 2010-03-01 Dan Locks <dwlocks@zmanda.com>
2615         *  packaging/rpm/amanda.spec: remove Provides: librestore
2616
2617 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
2618         * application-src/amgtar.c, application-src/amstar.c:
2619           new COMMAND-OPTIONS property.
2620         * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
2621           document new COMMAND-OPTIONS property.
2622
2623 2010-02-28  Jean-Louis Martineau <martineau@zmanda.com>
2624         * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
2625                             common-src/amfeatures.h is modified.
2626
2627 2010-02-27  Jean-Louis Martineau <martineau@zmanda.com>
2628         * ndmp-src/amndmjob_main.c: #include "config.h"
2629         * ndmp-src/ndma_cops_backreco.c: #include "util.h"
2630         * ndmp-src/ndmjob_main.c: #include "config.h"
2631
2632 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2633         * installcheck/amidxtaped.pl: Fix for datapath eq "none".
2634
2635 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2636         * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
2637         * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
2638         * perl/Amanda/Process.pm (set_master_process): New function.
2639         * server-src/amcleanup.pl: Use set_master_process.
2640
2641 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2642         * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
2643                                       DATAPATH-OK.
2644         * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
2645                                     DATAPATH-OK.
2646         * installcheck/amidxtaped.pl: Test them.
2647
2648 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
2649         * installcheck/Installcheck/ClientService.pm: fix to wait for streams
2650           to empty and hit EOF after exit
2651         * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
2652           comment, and use -1 to signal no data EOF received
2653
2654 2010-02-26  Paul C. Mantz <pcmantz@zmanda.com>
2655         * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
2656           summary
2657
2658 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
2659         * installcheck/Amanda_Changer_robot.pl: log test output too
2660         * installcheck/Installcheck.pm: typo
2661         * perl/Amanda/Changer.pm: note about member variables
2662         * perl/Amanda/Changer/robot.pm: make debug callable during constructor
2663
2664 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2665         * server-src/find.c: Compute dump_status and message.
2666         * server-src/find.c (print_find_result): Output dump_status and message.
2667         * server-src/find.c (search_logfile): Check if label is in tapelist.
2668         * server-src/find.h: Add dump_status and message to find_result_t.
2669         * perl/Amanda/Logfile.swg: Swig it.
2670         * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
2671         * installcheck/Amanda_DB_Catalog.pl: Test it.
2672         * installcheck/Amanda_Logfile.pl: Test it.
2673         * server-src/amcheckdump.pl: Use new search_logfile behaviour.
2674         * server-src/amindexd.c: Use dump_status.
2675         * server-src/amoverview.pl: Use new 'amadmin find' output.
2676         * server-src/disk_history.c: Remove code no longer needed.
2677         * server-src/tapefile.c (lookup_tapelabel): const the label argument.
2678         * server-src/tapefile.h (lookup_tapelabel): const the label argument.
2679
2680 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
2681         * common-src/conffile.c (set_config_overrides): new config override api.
2682         * common-src/conffile.h (set_config_overrides): New prototype.
2683         * perl/Amanda/Config.swg (set_config_overrides): Swigged.
2684         * changer-src/chg-glue.pl, common-src/amgetconf.pl,
2685         * common-src/file.c, device-src/amdevcheck.pl,
2686         * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
2687         * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
2688         * installcheck/amgetconf.pl, recover-src/amrecover.c,
2689         * server-src/amadmin.c, server-src/amcheck-device.pl,
2690         * server-src/amcheck.c, server-src/amcheckdump.pl,
2691         * server-src/amcleanup.pl, server-src/amfetchdump.pl,
2692         * server-src/amflush.c, server-src/amlabel.pl,
2693         * server-src/amlogroll.c, server-src/amreport_new.pl,
2694         * server-src/amrestore.pl, server-src/amrmtape.pl,
2695         * server-src/amservice.c, server-src/amtape.pl,
2696         * server-src/amtrmidx.c, server-src/amtrmlog.c,
2697         * server-src/amvault.pl, server-src/chunker.c,
2698         * server-src/driver.c, server-src/dumper.c,
2699         * server-src/planner.c, server-src/reporter.c,
2700         * server-src/taper.pl: Use new config override api.
2701
2702 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2703         * server-src/amcheck.c: add warning if the config might generate >1000
2704           parts on a volume
2705
2706 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2707         * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
2708           and use an appropriate prefix for debug messages
2709
2710 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2711         * Makefile.am: remove restore-src from lint rule
2712         * configure.in: remove restore-src/Makefile
2713         * restore-src/: remove
2714         * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
2715
2716 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2717         * Makefile.am: stop building restore-src
2718         * common-src/amfeatures.c: remove no-longer-supported
2719           fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
2720         * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
2721         * installcheck/Amanda_Util.pl: tests
2722         * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
2723
2724 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
2725         * installcheck/Installcheck/Dumpcache.pm: include more compressible
2726           data and clean up afterward
2727         * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
2728           better, and fix handling of failures to not loop forever
2729         * installcheck/amidxtaped.pl: test that compressed dumps come back at
2730           their orig_size; check for a holding device without a trailing ":0";
2731           send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
2732           and even missing FSF=; check failure on unrecognized command lines
2733
2734 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2735         * installcheck/amidxtaped.pl: installcheck improvements:
2736           create a "real" holding file; send a DATESTAMP= command
2737
2738 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2739         * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
2740         * installcheck/Amanda_Recovery_Planner.pl: test
2741
2742 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2743         * perl/Amanda/Xfer.swg: fix != override
2744         * installcheck/Amanda_Xfer.pl: test
2745         * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
2746         * perl/Amanda/MainLoop.pod: POD tweaks
2747         * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
2748           server-src/amfetchdump.pl: add directtcp_supported arg to
2749           xfer_src_cb; finish device when quitting clerk
2750         * perl/Amanda/Recovery/Scan.pm: add error handling
2751         * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
2752         * recover-src/extract_list.c: fix header debugging
2753
2754 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2755         * common-src/amanda.h installcheck/Installcheck/ClientService.pm
2756           perl/Amanda/Constants.pm.in: move stream constants to
2757           Amanda::Constants
2758         * perl/Makefile.am perl/Amanda/ClientService.pm: new package
2759         * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
2760
2761 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
2762         * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
2763           tapespec marhsalling support
2764         * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
2765
2766 2010-02-23  Paul C. Mantz <pcmantz@zmanda.com>
2767         * perl/Amanda/Report/human.pm: fixed hostname truncation
2768
2769 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
2770         * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
2771           make fake holding files; don't try to load a dumpcache unless both
2772           server and client components are present
2773         * installcheck/Amanda_Xfer.pl: count tests right in skip
2774
2775 2010-02-19  Paul C. Mantz <pcmantz@zmanda.com>
2776         * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
2777           the end of a string in per-dump summary
2778
2779 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
2780         * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
2781           boolean
2782         * xfer-src/xfer.c: if any setup operation fails, skip the starts and
2783           return
2784         * device-src/xfer-dest-taper-directtcp.c
2785           device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
2786           xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
2787           xfer-src/xfer-test.c: change setup() methods to return a boolean
2788         * device-src/ndmp-device.c: clean up listen_addrs if not null
2789
2790 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
2791         * common-src/file.c (mkpdir): Fix.
2792
2793 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
2794         * common-src/file.c (mkpdir): Don't use access.
2795
2796 2010-02-18  Paul C. Mantz <pcmantz@zmanda.com>
2797         * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
2798
2799 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
2800         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
2801           with attendant API changes (constructor takes a device; sends
2802           XMSG_READY)
2803         * device-src/xfer-device.h: prototype changes
2804         * xfer-src/element-glue.c: remove debug message
2805         * perl/Amanda/Xfer.pod: docs
2806         * perl/Amanda/XferServer.swg: SWIG new parameters
2807         * perl/Amanda/Recovery/Clerk.pm: use new API
2808         * installcheck/Amanda_Xfer.pl: test
2809         * installcheck/Amanda_Recovery_Clerk.pl: test some more
2810         * installcheck/Installcheck/Dumpcache.pm: add code to determine
2811           the timestamps for a cached dump after loading it
2812
2813 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
2814         * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
2815           add a get_xfer_mechs method to xfer elements so that elements can
2816           dynamically specify their mech pairs
2817
2818 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
2819         * device-src/ndmp-device.c: check for fatal errors in directtcp
2820           methods
2821         * device-src/xfer-dest-taper-directtcp.c: track device_listen
2822           failures better
2823         * installcheck/Amanda_Xfer.pl: test setup cancellation
2824         * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
2825         * xfer-src/element-glue.c: always send XMSG_DONE, even on error
2826
2827 2010-02-17  Dustin J. Mitchell <dustin@zmanda.com>
2828         * device-src/ndmp-device.c: sanity-check file number
2829         * device-src/xfer-dest-taper-directtcp.c: same
2830         * device-src/xfer-dest-taper-splitter.c: same
2831
2832 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
2833         * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
2834
2835 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
2836         * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
2837           fields
2838
2839 2010-02-17  Jean-Louis Martineau <martineau@zmanda.com>
2840         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
2841           add config_init(0, NULL);
2842         * recover-src/extract_list.c: Typo.
2843
2844 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
2845         * server-src/amadmin.c: Set a config for version subcommand.
2846
2847 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
2848         * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
2849         * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
2850         * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
2851         * common-src/fileheader.h (dumpfile_t): Add orig_size.
2852         * common-src/timestamp.c (get_time_from_timestamp): New function to
2853           convert a char timestamp to time_t.
2854         * common-src/timestamp.h (get_time_from_timestamp): Prototype.
2855         * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
2856         * server-src/driver.c: Protoocl change to send orig_kb to taper.
2857         * server-src/driverio.c: Protoocl change to send orig_kb to taper.
2858         * server-src/find.c: Get orig_kb from log files.
2859         * server-src/find.h (find_result_t): add orig_kb.
2860         * server-src/holding.c (holding_set_origsize): New function to seti
2861           'ORIGSIZE' in an holding file.
2862         * server-src/holding.h (holding_set_origsize): Prototype.
2863         * server-src/infofile.c: '(char *)0' to NULL.
2864         * server-src/taper.pl: Parse orig-kb in protocol, log it.
2865         * perl/Amanda/DB/Catalog.pm: Set orig_kb.
2866         * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
2867         * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
2868         * installcheck/taper.pl: Fix for orig-kb in protocol.
2869
2870 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
2871         * recover-src/extract_list.c: Fix crash for non application restore.
2872
2873 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
2874         * server-src/amcheckdump.pl: Less verbose, add --verbose option.
2875         * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
2876
2877 2010-02-15  Jean-Louis Martineau <martineau@zmanda.com>
2878         * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
2879
2880 2010-02-12  Jean-Louis Martineau <martineau@zmanda.com>
2881         * application-src/ampgsql.pl: Put stderr of tar in the debug file.
2882
2883 2010-02-12  Paul C. Mantz <pcmantz@zmanda.com>
2884         * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
2885           L_INFO lines
2886         * perl/Amanda/Report/human.pm: widen text field for tape usage
2887         * installcheck/Amanda_Report.pl: installchecks
2888
2889 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
2890         * common-src/conffile.c: Assert if a config is not set.
2891         * common-src/amgetconf.pl, client-src/calcsize.c,
2892           client-src/client_util.c, client-src/killpgrp.c,
2893           client-src/rundump.c, client-src/runtar.c,
2894           installcheck/Amanda_Debug.pl: Set a default config.
2895
2896 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
2897         * common-src/conffile.c: New debug_days option.
2898         * common-src/conffile.h: New debug_days option.
2899         * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
2900         * man/xml-source/amanda.conf.5.xml: Document debug_days option.
2901         * common-src/debug.c: Don't do unlink in debug_open.
2902         * common-src/Makefile.am: Fix for test program.
2903         * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
2904                                    Call Amanda::Util::finish_application.
2905         * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
2906         * perl/Amanda/Util.pod: Document.
2907         * common-src/file.c, client-src/getfsent.c,
2908           server-src/infofile.c: Call dbclose();
2909         * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
2910           device-src/amtapetype.pl, server-src/amcheckdump.pl,
2911           server-src/amcleanup.pl, server-src/amfetchdump.pl,
2912           server-src/amrestore.pl, server-src/amrmtape.pl,
2913           server-src/amvault.pl,
2914           server-src/taper.pl: Call Amanda::Util::finish_application.
2915
2916 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
2917         * perl/Amanda/Taper/Scan/traditional.pm,
2918           perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
2919         * perl/Amanda/Recovery/Scan.pm: Fix doc.
2920         * server-src/amcheck-device.pl: New user_msg_fn.
2921         * server-src/amlabel.pl: New user_msg_fn.
2922         * server-src/amtape.pl: New user_msg_fn.
2923         * installcheck/amlabel.pl: Fix installcheck.
2924
2925 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
2926         * xfer-src/xfer.c xfer-src/xfer-element.h: add
2927           XFER_MECH_DIRECTTCP_CONNECT
2928         * xfer-src/source-directtcp-connect.c: element that uses it
2929         * xfer-src/dest-directtcp-listen.c: element that uses it
2930         * xfer-src/element-glue.c: glue for it
2931         * xfer-src/xfer-test.c: test it
2932         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
2933         * installcheck/Amanda_Xfer.pl: test it some more
2934         * xfer-src/Makefile.am: new files
2935         * xfer-src/dest-directtcp-connect.c: check addrs is not empty
2936         * perl/amglue/directtcp.swg: handle empty address lists better
2937
2938 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
2939         * installcheck/Makefile.am: don't run amidxtaped on
2940           --without-restore
2941         * installcheck/Installcheck/ClientService.pm
2942           installcheck/amidxtaped.pl: kill amidxtaped on timeout
2943         * restore-src/amidxtaped.c: don't call safe_fd after the
2944           app has already started - it closes fd's in use by
2945           system libraries for e.g., LDAP access
2946
2947 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
2948         * perl/Amanda/Application.swg: Add read_magic_block and
2949                                        write_magic_block.
2950         * perl/Amanda/Application.pod: Document them.
2951
2952 2010-02-10  Paul C. Mantz <pcmantz@gmail.com>
2953         * perl/Amanda/Report/human.pm: fixed columnspec code
2954
2955 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
2956         * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
2957         * server-src/amtape.pl: New user_msg_fn.
2958
2959 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
2960         * perl/Amanda/Changer.pm: Document undef state.
2961         * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
2962         * perl/Amanda/Changer/single.pm: Set state to undef.
2963         * perl/Amanda/Recovery/Scan.pm: Handle undef state.
2964
2965 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
2966         * server-src/taper.pl: Log no-tape error if no available tape.
2967
2968 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
2969         * installcheck/amidxtaped.pl: skip DirectTCP tests if
2970           --without-ndmp
2971
2972 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
2973         * restore-src/restore.c: fix double-free error
2974
2975 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
2976         * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
2977           tests
2978         * amandad-src/amandad.c: comments
2979         * common-src/amanda.h: comments
2980         * restore-src/amidxtaped.c: don't check security when invoked with
2981           'installcheck' as argv[1]
2982
2983 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
2984         * installcheck/Installcheck/ClientService.pm: utility to test
2985           client services (noop, sendbackup, etc.)
2986         * installcheck/Makefile.am installcheck/noop.pl: new test
2987         * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
2988
2989 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
2990         * restore-src/amidxtaped.c: Check from_amandad before
2991                                     fe_recover_splits.
2992
2993 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
2994         * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
2995
2996 2010-02-09  Paul C. Mantz <pcmantz@zmanda.com>
2997         * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
2998
2999 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
3000         * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
3001         * man/xml-source/amanda-client.conf.5.xml,
3002           man/xml-source/amanda.conf.5.xml: Use them.
3003
3004 2010-02-09 Dan Locks <dwlocks@zmanda.com>
3005         *  amar-src/Makefile.am: add installperms stanza
3006
3007 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
3008         * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
3009
3010 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
3011         * client-src/client_util.c: New AMFEATURES application support option,
3012           application_property_add_to_argv take a amfeatures argument.
3013         * client-src/client_util.h: New protoype.
3014         * client-src/selfcheck.c, client-src/sendbackup.c,
3015           client-src/sendsize.c,
3016           recover-src/extract_list.c: Pass the server amfeatures as argument
3017           to application_property_add_to_argv.
3018         * common-src/amfeatures.c: New fe_sendbackup_noop.
3019         * common-src/amfeatures.h: New fe_sendbackup_noop.
3020         * server-src/dumper.c: Ignore "sendbackup: no-op' message.
3021
3022 2010-02-08  Dustin J. Mitchell <dustin@zmanda.com>
3023         * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
3024           SWIG amfeatures
3025         * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
3026           tests
3027         * common-src/amfeatures.h: add SWIG conditionals
3028         * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
3029
3030 2010-02-06  Dustin J. Mitchell <dustin@zmanda.com>
3031         * perl/Amanda/Config.pod: document autolabel format
3032         * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
3033
3034 2010-02-06  Jean-Louis Martineau <martineau@zmanda.com>
3035         * common-src/conffile.c: Add autolabel config option.
3036         * common-src/conffile.h: Add autolabel config option.
3037         * man/xml-source/amanda.conf.5.xml: Document autolabel.
3038         * perl/Amanda/Config.swg: Swig autolabel.
3039         * perl/Amanda/Taper/Scan/traditional.pm,
3040           perl/Amanda/Taper/Scan.pm: Use autolabel.
3041         * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
3042           installcheck/Amanda_Taper_Scan_traditional.pl,
3043           installcheck/Installcheck/Dumpcache.pm,
3044           installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
3045           installcheck/amcheck.pl, installcheck/amdevcheck.pl,
3046           installcheck/amdump.pl, installcheck/pp-scripts.pl,
3047           installcheck/taper.pl: Fix to use autolabel.
3048
3049 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
3050         * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
3051         * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
3052         * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
3053         * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
3054         * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
3055         STATUS" pod header
3056
3057 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
3058         * perl/Amanda/Report/human.pm: made fixed appearance of per-level
3059           column in output_stats
3060
3061 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
3062         * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
3063
3064 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
3065         * perl/Makefile.am: Fix bad merge.
3066
3067 2010-02-03  Paul C. Mantz <pcmantz@zmanda.com>
3068         * perl/Amanda/Report/human.c: increased width of output_stats
3069           fields
3070
3071 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3072         * server-src/amadmin.c: Use %jd for gint.
3073
3074 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3075         * server-src/amadmin.c: Add 'estimate' command'.
3076         * man/xml-source/amadmin.8.xml: Document estimate command.
3077         * server-src/planner.c, server-src/server_util.c,
3078           server-src/server_util.h: Move internal_server_estimate and
3079           server_can_do_estimate from planner.c to server_util.c
3080
3081 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3082         * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
3083         * installcheck/Amanda_Recovery_Clerk.pl: Test it.
3084
3085 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3086         * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
3087
3088 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3089         * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
3090         * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
3091         * perl/Amanda/Changer/compat.pm: Print device_name.
3092         * perl/Amanda/Interactive.pm: Base class for interactivity.
3093         * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
3094         * perl/Amanda/Recovery/Scan.pm: Scan changers
3095         * perl/Makefile.am: Add Amanda/Interactive.pm,
3096           Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
3097         * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
3098         * server-src/amtape.pl: Use Amanda::Recovery::Scan.
3099
3100 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3101         * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
3102         * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
3103         * installcheck/amdevcheck.pl: give an explicit device name, now that
3104           tapedev is not set
3105
3106 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3107         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
3108           add debug_recovery
3109         * perl/Amanda/Recovery/Clerk.pm: use it
3110         * perl/Amanda/Recovery/Planner.pm: use it
3111
3112 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3113         * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
3114
3115 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3116         * device-src/Makefile.am device-src/xfer-device.h
3117           device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
3118           installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
3119           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
3120           Amanda::Taper::Source to Amanda::Recovery::Source
3121
3122 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3123         * perl/Makefile.am: check all .pm files (some had been missed)
3124
3125 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
3126         * perl/Amanda/Changer.pm: fix bogus POD
3127
3128 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3129         * application-src/amsamba.pl: Fix parsing of unc if disk is noti
3130                                       defined.
3131
3132 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
3133         * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
3134
3135 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3136         * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
3137
3138 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3139         * server-src/amfetchdump.pl: only output a filename with a partnum
3140           when -n was given
3141
3142 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3143         * device-src/ndmp-device.c: fix failure to check for fatal errors, use
3144           signed 'delta'
3145         * device-src/tape-device.c: rewind correctly, even to the current file
3146         * device-src/vfs-device.c: set in_file=FALSE on finish()
3147         * installcheck/Amanda_Device.pl: check reading file header twice
3148
3149 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3150         * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
3151           installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
3152           installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
3153           installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
3154           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
3155           xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
3156           of xfer_state == XFER_DONE
3157
3158 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
3159         * man/xml-source/amanda-auth.7.xml: reduce circular references
3160
3161 2010-02-01  Dustin J. Mitchell <dustin@zmanda.com>
3162         * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
3163
3164 2010-01-31  Jean-Louis Martineau <martineau@zmanda.com>
3165         * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
3166
3167 2010-01-30  Jean-Louis Martineau <martineau@zmanda.com>
3168         * common-src/conffile.c: Allow multiple scripts on one line.
3169
3170 2010-01-29 Dan Locks <dwlocks@zmanda.com>
3171         *  packaging/rpm/amanda.spec: move manpages to
3172            defattr(644,root,root,..) section
3173
3174 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3175         * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
3176         * installcheck/Amanda_DB_Catalog.pl: tests
3177         * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
3178         * installcheck/Amanda_Recovery_Planner.pl: tests
3179         * perl/Amanda/Recovery/Clerk.pm: recover from holding with
3180           Amanda::Xfer::Source::Holding when appropriate
3181         * installcheck/Amanda_Recovery_Clerk.pl: tests
3182         * server-src/amfetchdump.pl: give better messaging when recovering
3183           from holding, don't append partnum unless it's a multipart dump
3184         * installcheck/amfetchdump.pl: tests
3185
3186 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3187         * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
3188           and -w options
3189         * restore-src/Makefile.am restore-src/amfetchdump.c: remove
3190         * server-src/Makefile.am server-src/amfetchdump.pl: new version
3191           of amfetchdump that uses Clerk and Planner
3192         * installcheck/amfetchdump.pl: updates to tests (change 'tape'
3193           to 'volume', no more -b, add quotes around labels
3194
3195 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3196         * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
3197         * installcheck/Amanda_Recovery_Planner.pl
3198           installcheck/Makefile.am: tests
3199
3200 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3201         * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
3202         * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
3203           tests
3204
3205 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3206         * installcheck/Amanda_MainLoop.pl: a call_after test that is more
3207           stable when the system clock is stepping
3208         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
3209
3210 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
3211         * installcheck/Amanda_Logfile.pl: note about checks
3212         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
3213         * server-src/find.c server-src/find.h: add dynamic_disklit param
3214           to search_holding_disk
3215
3216 2010-01-28  Jean-Louis Martineau <martineau@zmanda.com>
3217         * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
3218         * installcheck/Amanda_Changer_multi.pl: Test it.
3219
3220 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3221         * installcheck/amfetchdump.pl: don't use an END block for cleanup
3222
3223 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3224         * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
3225         * installcheck/Amanda_DB_Catalog.pl: test it
3226         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
3227
3228 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3229         * changer-src/chg-glue.pl: fix chg-glue to be more careful about
3230           releasing the device first
3231
3232 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3233         * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
3234           cached dumps
3235         * installcheck/amfetchdump.pl: more/better tests
3236         * man/xml-source/amfetchdump.8.xml: formatting
3237
3238 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
3239         * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
3240           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
3241           fix typos
3242
3243 2010-01-27  Paul C. Mantz <pcmantz@zmanda.com>
3244         * perl/Amanda/Util.pm: added safe_overwrite_file
3245         * installcheck/Amanda_Util.pl: installcheck
3246
3247 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
3248         * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
3249
3250 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
3251         * perl/Amanda/Changer.pm: Document new inventory result.
3252         * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
3253           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
3254           perl/Amanda/Changer/robot.pm,
3255           perl/Amanda/Changer/single.pm: Generate new inventory result.
3256         * installcheck/Amanda_Changer_disk.pl,
3257           installcheck/Amanda_Changer_multi.pl,
3258           installcheck/Amanda_Changer_ndmp.pl,
3259           installcheck/Amanda_Changer_rait.pl,
3260           installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
3261         * server-src/amtape.pl: Use new inventory result.
3262
3263 2010-01-26  Paul C. Mantz <pcmantz@zmanda.com>
3264         * perl/Amanda/Util.swg: added slurp and burp subs
3265         * installcheck/Amanda_Util.pl: installcheck for slurp and burp
3266         * installcheck/Installcheck/Run.pm: use of slurp in production
3267
3268 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
3269         * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
3270         * perl/Amanda/Report/human.pm: Many improvements.
3271         * installcheck/Amanda_Report.pl: Fix for new data.
3272         * perl/Makefile.am: Check AmandaReport_DATA.
3273
3274 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
3275         * common-src/conffile.h: Add getconf_linenum.
3276         * perl/Amanda/Config.swg: Add getconf_linenum.
3277         * perl/Amanda/Config.pod: Document getconf_linenum.
3278         * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
3279           line without setting the other to ''.
3280
3281 2010-01-25  Dustin J. Mitchell <dustin@zmanda.com>
3282         * perl/amglue/bigint.c: call SPAGAIN after loading
3283           Math::BigInt, in case the stack base has moved
3284         * perl/amglue/integers.swg: don't place a bigint on
3285           the stack until the stack pointer has been restored
3286         * perl/Amanda/Header.swg: use static
3287
3288 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
3289         * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
3290           confuse old is_deeply implementations
3291
3292 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
3293         * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
3294           more carefully; add ability to query and sort dumps; use weak refs to
3295           break reference loops
3296         * installcheck/Amanda_DB_Catalog.pl: tests
3297         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
3298         * server-src/amvault.pl: update to match
3299         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
3300           match_disk, and match_datestamp, and document dumps_match_dumpspecs
3301
3302 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
3303         * device-src/ndmp-device.c, device-src/rait-device.c,
3304           device-src/s3-device.c, device-src/tape-device.c,
3305           device-src/vfs-device.c: Set volume_header with the written header
3306           when opened in write mode.
3307
3308 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
3309         * perl/Amanda/Report/human.pm: Many fix.
3310         * server-src/amreport_new.pl: Many fix.
3311
3312 2010-01-18  Jean-Louis Martineau <martineau@zmanda.com>
3313         * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
3314         * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
3315                                data path.
3316
3317 2010-01-19  Paul C. Mantz <pcmantz@zmanda.com>
3318         * installcheck/amreport.pl: made output checks ignore spacing
3319
3320 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3321         * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
3322           close
3323
3324 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3325         * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
3326           ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
3327
3328 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3329         * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
3330
3331 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3332         * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
3333           that the scribe can cancel a transfer in an error situation
3334         * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
3335         * server-src/taper.pl: git it an xfer
3336
3337 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3338         * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
3339           and return NDMP_DEVICE_BUSY_ERR on a collision
3340         * device-src/ndmp-device.c: close the tape agent before switching
3341           connections, and before closing a device, to avoid
3342           NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
3343           tape agent, as the mover may already be active
3344
3345 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
3346         * restore-src/restore.c: add another htonl invocation for ipv4 address
3347
3348 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3349         * perl/Amanda/Xfer.pod: fix POD typo
3350
3351 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
3352         * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
3353
3354 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3355         * perl/Amanda/Changer/compat.pm: allow multiline responses
3356         * installcheck/Amanda_Changer_compat.pl: test
3357
3358 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3359         * installcheck/Amanda_Curinfo.pl: remove spurious diag()
3360
3361 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3362         * gnulib/regenerate/regenerate: add regex module, for Mac OS X
3363           compatibility; no change in gnulib version
3364         * config/gnulib/* gnulib/*: resulting gnulib updates
3365
3366 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
3367         * man/xml-source/amreport.8.xml: fix typo in manpage
3368
3369 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
3370         * perl/Amanda/Changer.pm: $chg->load always read ther label.
3371         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
3372         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
3373         * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
3374         * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
3375         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
3376         * server-src/amlabel.pl, server-src/amrestore.pl,
3377         * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
3378
3379 2010-01-15  Paul C. Mantz <pcmantz@zmanda.com>
3380         * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
3381           5.6 compatibility
3382
3383 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3384         * installcheck/Amanda_Changer_robot.pl: Typo.
3385
3386 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3387         * amandad-src/amandad.c: iread errfd and close it on termination.
3388
3389 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3390         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
3391           update '1-4=' syntax to mark slot as being in unknown state.
3392         * man/xml-source/amanda-changers.7.xml: Document new syntax.
3393         * installcheck/Amanda_Changer_multi.pl: Test new syntax.
3394         * installcheck/Amanda_Changer_robot.pl: Test new syntax.
3395
3396 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
3397         * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
3398                                                   skip disk.
3399         * server-src/diskfile.c (disable_skip_disk): New function to set todo
3400                                                      to 0 for skip disk.
3401         * server-src/diskfile.h (disable_skip_disk): Add prototype.
3402         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
3403           server-src/reporter.c: Call disable_skip_disk.
3404
3405 2010-01-14  Jean-Louis Martineau <martineau@zmanda.com>
3406         * perl/Makefile.am: typo.
3407
3408 2010-01-14  Paul C. Mantz <pcmantz@zmanda.com>
3409         * server-src/amreport_new.pl: amreport rewrite in perl
3410         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
3411           perl/Amanda/Report/xml.pm: factored out output formats and
3412           added legacy format
3413         * perl/Makefile.am server-src/Makefile.am: makefile changes
3414         * contrib/amreport.rnc: amreport xml spec in RelaxNG
3415
3416 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3417         * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
3418           make device_listen and device_accept callable anywhere; be explicit
3419           about conn refcount from accept
3420         * device-src/ndmp-device.c: don't call device_use_connection, as
3421           that method requires ACCESS_NULL
3422         * restore-src/restore.c: fix typo
3423
3424 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3425         * server-src/taper.pl: fix taper writing status too quickly
3426
3427 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3428         * client-src/client_util.c: fix to send the --direct-tcp and
3429           --data-path arguments to applications
3430         * client-src/sendbackup.c: add a bit of debugging to sendbackup
3431
3432 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3433         * restore-src/restore.c: add missing htonl to restore.c for ipv4
3434           address; fix typo
3435
3436 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3437         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
3438           messages, including a fancy connection ID to help debug problems
3439           using the wrong NDMP connection at the wrong time
3440
3441 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3442         * device-src/ndmp-device.c: work around record_size bug in ndmjob
3443
3444 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3445         * installcheck/amfetchdump.pl: check restored files more closely
3446
3447 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3448         * installcheck/taper.pl: taper installcheck to run multiple dumps
3449           on a spanned NDMP device
3450
3451 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3452         * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache 
3453         * installcheck/Installcheck/Mock.pm: add a way to revive it for
3454           recovery tests
3455         * installcheck/amfetchdump.pl: use it
3456
3457 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3458         * device-src/ndmp-device.c: correctly handle devices while they are
3459           coming online after a load
3460
3461 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3462         * ndmp-src/scsiconst.h: fix typo in constant name
3463
3464 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3465         * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
3466           'blank', mark them as unknown
3467
3468 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3469         * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
3470           with several
3471
3472 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3473         * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
3474
3475 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3476         * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
3477           MEDIUM
3478
3479 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3480         * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
3481
3482 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
3483         * device-src/ndmp-device.c: fix dangling reference
3484
3485 2010-01-11  Dustin J. Mitchell <dustin@zmanda.com>
3486         * common-src/Makefile.am common-src/fileheader-test.c: new test
3487         * common-src/fileheader.c common-src/fileheader.h: validate a lot
3488           of inputs; use g_debug; handle compressed/comp_suffix and
3489           encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
3490           bug in parsing empty heredoc
3491         * device-src/amtapetype.pl: add 'program' to header
3492         * installcheck/Amanda_Xfer.pl: add 'program' to header
3493         * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
3494           and document interrelationships of fields
3495
3496 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3497         * perl/Makefile.am: don't build useless static versions of perl libs
3498
3499 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3500         * device-src/xfer-source-taper.c: make element cancellation work
3501
3502 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3503         * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
3504           identity
3505
3506 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
3507         * common-src/simpleprng.c common-src/simpleprng.h: add a method to
3508           extract the current seed from the PRNG state
3509         * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
3510         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
3511
3512 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
3513         * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
3514           Text::Diff
3515
3516 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
3517         * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
3518         * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
3519         * installcheck/Amanda_Curinfo.pl: installcheck
3520         * perl/Makefile.am installcheck/Makefile.am: makefile additions
3521
3522 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
3523         * ndmp-src/ndma_tape.c: halt on media error
3524         * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
3525           ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
3526           NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
3527         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
3528           NDMP9_MOVER_HALT_MEDIA_ERROR
3529
3530 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
3531         * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
3532
3533 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
3534         * perl/Amanda/NDMP.pod: fix %}.
3535
3536 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
3537         * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
3538
3539 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
3540         * perl/Amanda/NDMP.pod: typo
3541         * perl/Amanda/NDMP.swg: actually include POD
3542
3543 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
3544         * device-src/device.c device-src/device.h: remove conn argument from
3545           read_to_connection and write_from_connection; check for ACCESS_NULL
3546         * device-src/ndmp-device.c: remove conn argument, call use_connection
3547           from accept_impl
3548         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
3549           perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
3550           device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
3551           call use_connection at the appropriate time
3552
3553 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
3554         * device-src/ndmp-device.c: add an eject() implementation
3555
3556 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3557         * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
3558           ndmjob does not output logging info to stdout during installchecks
3559
3560 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3561         * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
3562           initialized
3563
3564 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3565         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
3566           pattern and the identifiers that supported it
3567         * device-src/ndmp-device.c: don't worry about idents
3568         * perl/Amanda/Changer/ndmp.pm: don't worry about idents
3569         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
3570         * installcheck/Amanda_NDMP.pl: change tests
3571
3572 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3573         * device-src/device.c device-src/device.h: change can_use_connection
3574           to the imperative use_connection
3575         * device-src/ndmp-device.c: implement use_connection
3576         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
3577           device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
3578           add a use_device method, start_part no longer needs a device
3579         * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
3580           perl/Amanda/XferServer.swg: SWIG it 
3581         * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
3582         * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
3583
3584 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3585         * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
3586           on WANT_NDMP
3587
3588 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3589         * perl/amglue/directtcp.swg: initialize the other struct in_addr by
3590           member name, too (see 2009-12-29)
3591
3592 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3593         * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
3594         * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
3595         * installcheck/mock/chg-ndmjob.pl: remove
3596         * installcheck/Amanda_Changer_ndmp.pl: new test
3597         * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
3598           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
3599           installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
3600           tests via I::Mock
3601         * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
3602           time, process sense data correctly, use correct element addresses
3603           for MOVE MEDIUM
3604
3605 2010-01-04  Jean-Louis Martineau <martineau@zmanda.com>
3606         * common-src/bsd-security.c, common-src/bsdtcp-security.c,
3607           common-src/bsdudp-security.c: Check service != NULL.
3608
3609 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
3610         * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
3611           ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
3612           ndmp-src/ndmos_common.c ndmp-src/Makefile.am
3613           ndmp-src/ndma_robot_simulator.c: add robot simulator
3614         * ndmp-src/ndmos_glib.h: use robot simulator
3615         * ndmp-src/scsiconst.h: fix typo
3616
3617 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3618         * ndmp-src/ndma_tape.c: remove ndmta_belay
3619         * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
3620           NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
3621
3622 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3623         * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
3624           scan
3625
3626 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3627         * perl/amglue/directtcp.swg: initialize struct in_addr by member name
3628
3629 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3630         * installcheck/Makefile.am: sort tests
3631         * installcheck/=setupcache.pl: rename _setupcache so it sorts first
3632
3633 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
3634         * perl/Amanda/Config.swg: fix return type for config_init
3635         * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
3636
3637 2009-12-24  Charles Curley <charlescurley@charlescurley.com>
3638         * README: rewrite
3639
3640 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3641         * device-src/s3-device.c: don't set the throttling properties unless
3642           they are nonzero
3643
3644 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3645         * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
3646
3647 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3648         * perl/Amanda/Changer/ndmp.pm: set device authentication properties
3649         * perl/Makefile.am: actually include ndmp.pm
3650         * perl/Amanda/Device.pod: doc extended property_get
3651         * man/xml-source/amanda-changers.7.xml: document properties
3652
3653 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3654         * common-src/fileheader.c: try to generate parsable headers
3655         * perl/Amanda/Header.swg: add default values
3656         * server-src/amrestore.pl: fix typo
3657         * installcheck/amrestore.pl: ndmp-device test (not using directtcp
3658           yet)
3659
3660 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3661         * device-src/s3.c: recent versions of curl switched from #define
3662           to enum, so #ifdef no longer works; test specific versions
3663           instead
3664
3665 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3666         * ndmp-src/ndma_ctrl_robot.c: show error messages
3667
3668 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
3669         * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
3670
3671 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3672         * device-src/s3.c: remove debugging info
3673
3674 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3675         * device-src/s3.c: only including throttling code if the precompiler
3676           symbols are present
3677
3678 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3679         * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
3680         * installcheck/Amanda_Device.pl: test it
3681
3682 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3683         * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
3684           source generated with rpcgen contains constructs that cause
3685           warnings for which earlier gcc's have no -Wno-xxx option
3686         * configure.in: revert disabled warnings
3687
3688 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3689         * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
3690
3691 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
3692         * device-src/s3.c device-src/s3.h: add max send and receive speeds
3693         * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
3694           PROPERTY_MAX_RECV_SPEED
3695         * man/xml-source/amanda-devices.7.xml: document
3696
3697 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3698         * ndmp-src/Makefile.am configure.in: conditionalize warnings which
3699           are not present on all gcc version
3700         * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
3701           ndmp-src/ndmjob_main_util.c: fix warnings
3702         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
3703           long long constant should end in 'ull'
3704
3705 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3706         * installcheck/Amanda_NDMP.pl: add auth parameter here too
3707
3708 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3709         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
3710           parameter with four options
3711         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
3712         * device-src/ndmp-device.c: add NDMP_AUTH property
3713         * man/xml-source/amanda-devices.7.xml: doc it
3714         * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
3715         * man/xml-source/amanda-changers.7.xml: doc it
3716
3717 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3718         * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
3719         * ndmp-src/*.c: fix warnings, mostly sign differences
3720
3721 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3722         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
3723           return value to ndmp_connection_tape_mtio
3724         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
3725         * installcheck/Amanda_NDMP.pl: test it
3726         * installcheck/Makefile.am: actually run Amanda_NDMP tests
3727         * device-src/ndmp-device.c: compatible change
3728
3729 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3730         * man/xml-source/amanda.8.xml: remove amdd
3731
3732 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3733
3734         * changer-src/Makefile.am changer-src/chg-rait.sh
3735           changer-src/chg-null.sh: restore deleted files
3736
3737 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3738         * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
3739
3740 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
3741         * autogen: do not use sed --in-place
3742
3743 2009-12-20  Dustin J. Mitchell <dustin@zmanda.com>
3744         * man/xml-source/amgetconf.8.xml: fix formatting error by putting
3745           <note> on its own line
3746
3747 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
3748         * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
3749
3750 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
3751         * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
3752         * man/xml-source/amanda-changers.7.xml: docs
3753         * perl/Amanda/Changer.pm: better error handling
3754         * perl/Amanda/Changer/robot.pm: changes for subclassing
3755
3756 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
3757         * server-src/driver.c: Don't call validate_optionstr for flush dles.
3758
3759 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
3760         * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
3761         * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
3762         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
3763         * installcheck/Amanda_Device.pl: add ndmp-only tests
3764         * installcheck/Amanda_Xfer.pl: add server-only tests
3765         * installcheck/Amanda_Device_ndmp.pl: remove
3766         * installcheck/Amanda_Xfer_serveronly.pl: remove
3767         * installcheck/Makefile.am: remove files
3768         * installcheck/taper.pl: conditionalize ndmp tests
3769         * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
3770
3771 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
3772         * server-src/amtrmidx.c: Check index entry will all dles using the
3773                                  same index directory.
3774
3775 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
3776         * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
3777           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
3778           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
3779           perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
3780           Split the 'inuse' code into 'driveinuse' and 'volinuse'.
3781         * installcheck/Amanda_Changer_compat.pl,
3782           installcheck/Amanda_Changer_disk.pl,
3783           installcheck/Amanda_Changer_multi.pl,
3784           installcheck/Amanda_Changer_rait.pl,
3785           installcheck/Amanda_Changer_robot.pl,
3786           installcheck/Amanda_Changer_single.pl:
3787           Use 'driveinuse' and 'volinuse'.
3788
3789 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
3790         * common-src/conffile.c: etimeout must be positive.
3791         * common-src/protocol.c: Fix possible timeout of 0.
3792
3793 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
3794         * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
3795           Add a few debugging output.
3796
3797 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
3798         * server-src/amcheckdump.pl: Call $res->release() with a callback.
3799
3800 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
3801         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
3802           server-src/amrestore.pl,
3803           server-src/amvault.pl: Call $res->set_label after $dev->read_label.
3804
3805 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
3806         * installcheck/Amanda_Changer_robot.pl: fix installchecks
3807
3808 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
3809         * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
3810           subclass
3811
3812 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
3813         * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
3814           based on example/chg-multi.conf
3815
3816 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
3817         * device-src/ndmp-device.c: use err_code, instead of err_msg, to
3818           detect an NDMPConnection error
3819
3820 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
3821         * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
3822
3823 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
3824         * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
3825           drive if the pid is dead.
3826
3827 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
3828         * server-src/diskfile.c: Add validate_optionstr,  optionstr and
3829           xml_optionstr no longer do validation..
3830         * server-src/diskfile.h: Add validate_optionstr, change prototype for
3831           optionstr and xml_optionstr.
3832         * server-src/amadmin.c: Add missing case.
3833         * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
3834           Use validate_optionstr, Change for new *_optionstr prototype.
3835         * server-src/driver.c: Use validate_optionstr.
3836         * server-src/driverio.c: Change for new *_optionstr prototype.
3837         * installcheck/amdump.pl: Check planner error from validate_optionstr.
3838
3839 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
3840         * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
3841           ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
3842           an error set instead of just returning an error from the constructor
3843         * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
3844         * perl/Amanda/NDMP.pod: docs for same
3845
3846 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
3847         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
3848
3849 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
3850         * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
3851           when used in an outgoing typemap, due to stack stomping
3852         * perl/Amanda/Archive.swg perl/Amanda/Config.swg
3853           perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
3854           perl/amglue/integers.swg: exercise care as directed
3855
3856 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
3857         * recover-src/extract_list.c: Wait to parse the header before
3858           confirming destination directory. Unlink files only for GNUTAR
3859           and amgtar.
3860         * client-src/client_util.c: Parse RECOVER-PATH application support
3861                                     result.
3862         * client-src/client_util.h: Add recover_path_t.
3863
3864 2009-12-14  Dustin J. Mitchell <dustin@zmanda.com>
3865         * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
3866         * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
3867         * perl/Amanda/Changer/robot.pm: allow spaces between times and units
3868
3869 2009-12-14  Jean-Louis Martineau <martineau@zmanda.com>
3870         * server-src/amtape.pl: Call $res->set_label after reading a label.
3871
3872 2009-12-13  Dustin J. Mitchell <dustin@zmanda.com>
3873         * server-src/taper.pl: put header socket in blocking mode
3874
3875 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
3876         * perl/Amanda/Process.pm: Remove unneded 'use'.
3877         * perl/Makefile.am: Build Amanda::Process on client.
3878
3879 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
3880         * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
3881
3882 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
3883         * perl/Amanda/Changer/multi.pm: New changer.
3884         * perl/Makefile.am: Build Amanda::Changer::multi
3885         * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
3886         * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
3887         * installcheck/Makefile.am: build and test Amanda_Changer_multi.
3888         * perl/Amanda/Util.swg: Add is_pid_alive.
3889         * perl/Amanda/Util.pod: Document is_pid_alive.
3890
3891 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
3892         * server-src/amstatus.pl: Use wrong indice.
3893         * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
3894
3895 2009-12-11  Dustin J. Mitchell <dustin@zmanda.com>
3896         * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
3897         * server-src/driverio.c: do not send datapath to taper
3898         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
3899         * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
3900           changed on-tape format
3901         * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
3902         * ndmp-src/ndma_tape.c: fix typos
3903         * NEWS: document behavior changes
3904
3905 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
3906         * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
3907           server-src/driver.c server-src/driverio.c server-src/dumper.c
3908           server-src/taper.pl: Change protocol between chunker/taper and dumper:
3909           "PORT header_port  data_host:data_port", and dumper sends the header
3910           completely before sending the data
3911
3912 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
3913         * ndmp-src/ndmpconnobj.c: fix uninitialized variable
3914
3915 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
3916         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
3917           device-src/Makefile.am: new class
3918         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
3919         * installcheck/Amanda_Xfer_serveronly.pl: tests
3920         * perl/amglue/directtcp.swg: return undef for null addrs array
3921         * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
3922
3923 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
3924         * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
3925         * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
3926         * installcheck/Amanda_Device_ndmp.pl: new tests
3927
3928 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
3929         * xfer-src/element-glue.c: element-glue shouldn't complain when the
3930           xfer's already been cancelled
3931
3932 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
3933         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
3934           according to the spec (even though it's inconsistent)
3935
3936 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
3937         * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
3938           offset+length = G_MAXUINT64
3939
3940 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
3941         * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
3942           connection
3943
3944 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
3945         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
3946           ndmp-src/ndmagents.h: make mover seek to correct block number
3947
3948 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
3949         * common-src/simpleprng.c: better error message from simpleprng on
3950           random number mismatch
3951         * common-src/simpleprng.h: simpleprng_state_t is now a real struct
3952         * xfer-src/dest-null.c: no need to give buffer offset anymore
3953
3954 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
3955         * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
3956         * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
3957           reading from a holding disk.
3958
3959 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
3960         * device-src/device.c, device-src/device.h:
3961           Add device_unaliassed_name function.
3962         * perl/Amanda/Device.swg: Add unaliassed_name function.
3963
3964 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
3965         * restore-src/restore.c: Fix read_to_connection argument.
3966
3967 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
3968         * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
3969           unnecessary include
3970
3971 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
3972         * common-src/directtcp.h: mention IP byte order
3973         * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
3974           perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
3975           lengths; directtcp_supported is a boolean class attribute instead of a
3976           method; listen takes a for_writing argument; SWIG directtcp methods
3977         * perl/Amanda/Device.pod: document LEOM handling, new methods
3978         * device-src/directtcp-connection.c: call parent's finalize
3979         * restore-src/restore.c: pass correct for_writing to listen
3980
3981 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
3982         * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
3983         * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
3984
3985 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
3986         * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
3987           new class to encapsulate all of the NDMP transactions without
3988           requiring weird precompiler macros
3989
3990 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
3991         * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
3992           triggered by long filenames in buildbots
3993
3994 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
3995         * xfer-src/element-glue.c: one more uninitialized variable
3996
3997 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
3998         * device-src/device.h, device-src/device.c,
3999           man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
4000           perl/Amanda/Device.swg: Add an eject method to the device-api.
4001         * device-src/tape-device.c, device-src/tape-ops.h,
4002           device-src/tape-posix.c, device-src/tape-uware.c,
4003           device-src/tape-aix.c,
4004           device-src/tape-xenix.c: Implement eject method.
4005         * perl/Amanda/Changer/robot.pm: Use new eject method.
4006
4007 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4008         * device-src/dvdrw-device.c: fix uninitialized variable, don't use
4009           G_DEFINE_DEVICE
4010
4011 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4012         * xfer-src/element-glue.c: fix uninitialized use of variable
4013
4014 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4015         * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
4016           XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
4017         * xfer-src/xfer-test.c: tests for same
4018         * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
4019           perl/Amanda/Xfer.swg: new class
4020         * xfer-src/source-directtcp-listen.c: bugfix
4021         * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
4022           xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
4023         * common-src/testutils.c: support for leak-checking
4024         * xfer-src/dest-buffer.c xfer-src/dest-null.c
4025           server-src/xfer-source-holding.c device-src/xfer-dest-device.c
4026           device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
4027           device-src/xfer-source-taper.c: use revised error-handling
4028         * perl/amglue/source.c: fix refcount problem
4029         * xfer-src/Makefile.am: new files
4030
4031 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
4032         * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
4033           installcheck/Makefile.am: new mock changer for ndmjob
4034         * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
4035           ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
4036           PEOM) support to the tape simulator
4037
4038 2009-12-07  Sam Couter <sam@couter.id.au>
4039         * AUTHORS: add Sam to AUTHORS
4040         * device-src/device.c device-src/Makefile.am
4041           device-src/dvdrw-device.c: new dvd-rw device
4042         * configure.in config/amanda/dvdrw-device.m4: config
4043           for it
4044         * device-src/vfs-device.c device-src/vfs-device.h: enable
4045           subclassing of VFS device
4046         * man/xml-source/amanda-devices.7.xml: documentation
4047         * server-src/amcheck-device.pl: add usage() sub
4048
4049 2009-12-07  Sam Couter <sam@couter.id.au>
4050         * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
4051                                           builds work
4052
4053 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
4054         * client-src/calcsize.c: fix check_running_as.
4055
4056 2009-12-06  Dustin J. Mitchell <dustin@zmanda.com>
4057         * client-src/client_util.c: revert previous change
4058
4059 2009-12-05  Sam Couter <sam@couter.id.au>
4060         * client-src/client_util.c: Free correct memory
4061
4062 2009-12-05  Dustin J. Mitchell <dustin@zmanda.com>
4063         * config/automake/scripts.am: remove unnecessary -T
4064         * perl/Amanda/BigIntCompat.pm: remove unused $stringify
4065
4066 2009-12-04  Jean-Louis Martineau <martineau@zmanda.com>
4067         * server-src/amcheck.c: Give error if pre-host-backup or
4068                                 post-host-backup are executed on client.
4069         * man/xml-source/amanda.conf.5.xml: Document it.
4070
4071 2009-12-03  Paul C. Mantz <pcmantz@zmanda.com>
4072         * server-src/tapefile.c server-src/tapefile.h
4073           perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
4074           added and swigged get_last_reusable_tape_label(). 
4075         
4076 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
4077         * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
4078                                                  error.
4079
4080 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
4081         * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
4082
4083 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4084         * perl/Amanda/Device.swg: #include "glib-util.h".
4085
4086 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4087         * common-src/conffile.c: Fix conf_init_data_path argument type.
4088         * common-src/debug.c: Use gpointer.
4089         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
4090           #include "util.h" for set_pname prototype.
4091         * ndmp-src/ndma_cops_backreco.c: Add prototype.
4092         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
4093           Rename version_info to ndmjob_version_info to avoid conflict.
4094
4095 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4096         * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
4097         * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
4098         * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
4099
4100 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4101         * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
4102
4103 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4104         * server-src/find.c: Fix for older log entry.
4105         * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
4106         * perl/Amanda/Logfile.pod: Add totalparts.
4107         * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
4108                                           find_result_t.
4109
4110 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4111         * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
4112
4113 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4114         * perl/Amanda/Changer/single.pm: Use except_slot,
4115                                          It is not fast searchable.
4116
4117 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4118         * server-src/find.h: Keep partnum and totalparts as int.
4119         * server-src/find.c: Compute totalparts if -1.
4120         * perl/Amanda/Logfile.swg: Change api.
4121         * restore-src/amfetchdump.c, restore-src/restore.c,
4122           server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
4123
4124 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
4125         * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
4126                                 Build amndmjob with modifier tape simulator.
4127         * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
4128         * ndmp-src/amndmjob_main.c: Main amndmjob program.
4129         * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
4130
4131 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
4132         * server-src/amstatus.pl: Small fix.
4133
4134 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
4135         * server-src/taper.pl: Fix quote_string use.
4136
4137 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
4138         * server-src/amstatus.pl: Display % done on port-write.
4139         * device-src/xfer-device.h: New get_part_bytes_written method in
4140                                     XferDestTaperClass.
4141         * device-src/xfer-dest-taper.c: new
4142                         xfer_dest_taper_get_part_bytes_written function.
4143         * device-src/xfer-dest-taper-splitter.c: New 
4144                         get_part_bytes_written_impl function.
4145         * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
4146         * perl/Amanda/XferServer.swg: swig
4147                                       xfer_dest_taper_get_part_bytes_written.
4148         * server-src/taper.pl: Update status file every 5 seconds.
4149         * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
4150
4151 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4152         * installcheck/Amanda_Holding.pl: add one more unary +
4153
4154 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4155         * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
4156           of => when the left-hand-side shouldn't be quoted
4157
4158 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4159         * installcheck/Amanda_Config.pl installcheck/taper.pl
4160           perl/Amanda/Config.swg server-src/amrestore.pl
4161           server-src/taper.pl: handle older perls' bad conversions
4162           from BigInt to integers or strings
4163
4164 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4165         * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
4166           use unary + before the arguments to sort, since perl-5.6's
4167           parser gets confused otherwise
4168
4169 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4170         * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
4171           to strings, since older perls' Test::More::is_deeply do not
4172           handle this well
4173
4174 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4175         * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
4176           from the constructor, since => quotes its left-hand side
4177         * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
4178           callbacks
4179
4180 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4181         * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
4182           expects the path to point to a directory, not a file
4183
4184 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
4185         * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
4186           perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
4187           constant with a hash of constants.
4188
4189 2009-11-26  Jean-Louis Martineau <martineau@zmanda.com>
4190         * application-src/*.pl: Remove $action from all function arguments.
4191         * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
4192         * perl/Amanda/Application/Zfs.pm: Remove $action from all function
4193                                           arguments.
4194         * perl/Amanda/Script_App.pm: Set $self->{action}.
4195
4196 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
4197         * restore-src/restore.c: Always do data_path exchange.
4198
4199 2009-11-25  Dustin J. Mitchell <dustin@zmanda.com>
4200         * client-src/calcsize.c: fix check_running_as
4201
4202 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
4203         Patch by Dustin J. Mitchell <dustin@zmanda.com>
4204         * server-src/amcheckdump.pl: Fix hang in MainLoop.
4205
4206 2009-11-24  Jean-Louis Martineau <martineau@zmanda.com>
4207         * server-src/amindexd.c: Reduce logging.
4208
4209 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
4210         * perl/amglue/amglue.swg: Remove %begin section, we don't want to
4211                                   require swig 1.3.39.
4212
4213 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
4214         * device-src/s3-device.c: First include "amanda.h".
4215         * perl/Amanda/Cmdline.swg: include "amanda.h".
4216         * perl/amglue/amglue.h: include "../config/config.h"
4217         * perl/amglue/amglue.swg: %begin include ../config/config.h"
4218
4219 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
4220         * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
4221
4222 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
4223         * common-src/stream.c common-src/util.c: use g_debug instead
4224           of dbprintf
4225
4226 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
4227         * Revert to previous gnulib, keep fseeko, ftello.
4228
4229 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
4230         * ndmp-src/ndmjob_args.c: add "-o test-daemon"
4231         * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
4232           when stdin closes
4233         * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
4234         * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
4235           automatically kill the daemon when the test finishes
4236
4237 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4238         * common-src/amanda.h: Remove define of _LARGE_FILES.
4239         * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
4240
4241 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
4242         * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
4243           callback_sv, and hang onto the src through the callback invocation
4244
4245 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4246         * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
4247
4248 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4249         * gnulib/*, config/gnulib/*: Update gnulib
4250                                      Use getopt-gnu instead of getopt
4251                                      Add fseeko and ftello
4252                                      Remove visibility
4253
4254 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
4255         * config/amanda/progs.m4: require swig-1.3.32, as previous versions
4256           don't handle empty C strings correctly
4257
4258 2009-11-13  Dustin J. Mitchell <dustin@zmanda.com>
4259         * perl/Amanda/Device.pod perl/Amanda/Device.swg
4260           device-src/device.c device-src/device.h: add is_eom
4261         * device-src/rait-device.c
4262           device-src/s3-device.c device-src/tape-device.c
4263           device-src/vfs-device.c device-src/null-device.c: set is_eom
4264           and is_eof correctl
4265         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
4266           add an eom attribute to XMsgs
4267         * device-src/xfer-dest-taper-splitter.c: set the attribute
4268         * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
4269
4270 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
4271         * application-src/amgtar.c, application-src/amstar.c: Print restore
4272           and validate command with debug_executing.
4273         * common-src/util.c: New debug_executing function.
4274         * common-src/util.h: New debug_executing prototype.
4275
4276 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4277         * restore-src/amfetchdump.c: Small memory leak.
4278         * restore-src/restore.c, restore-src/restore.h: Many change to fix
4279           what was broken in previous patch.
4280
4281 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4282         * application-src/amgtar.c,
4283           application-src/amstar.c: Fix if none of --disk or --device is set.
4284
4285 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4286         * server-src/tapefile.c: Fix if list_new_tapes return NULL.
4287
4288 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4289         * server-src/amcheck.c, server-src/driver.c,
4290           server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
4291
4292 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4293         * application-src/amgtar.c, application-src/ampgsql.pl,
4294         * application-src/amraw.pl, application-src/amsamba.pl,
4295         * application-src/amstar.c, application-src/amsuntar.pl,
4296         * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
4297           They can get either --disk or --device or both.
4298
4299 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4300         * server-src/tapefile.c: New list_new_tapes function.
4301         * server-src/tapefile.h: Prototype for list_new_tapes function.
4302         * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
4303
4304 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4305         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
4306           ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
4307
4308 2009-11-18  Dustin J. Mitchell <dustin@zmanda.com>
4309         * device-src/directtcp-target.c
4310           device-src/directtcp-target.h: Removed files.
4311         * device-src/device.c,
4312           device-src/device.h: New device directtcp api.
4313         * device-src/directtcp-connection.c,
4314           device-src/directtcp-connection.h: directtcp_connection and
4315           directtcp_connection_socket object.
4316         * device-src/Makefile.am: Remove directtcp-target.*
4317                                   Add directtcp-connection.*
4318         * restore-src/restore.c,
4319           restore-src/restore.h: Fix for new device directtcp api.
4320
4321 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4322         * server-src/chunker.c: Fix checking result of full_write.
4323
4324 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
4325         * server-src/dumper.c,
4326           common-src/security-util.c: Correctly report write error.
4327
4328 2009-11-13 Dan Locks <dwlocks@zmanda.com>
4329         *  packaging/deb/control: update to use shlibs:Depends and
4330            perl:Depends
4331         *  packaging/deb/rules: tweak build dirs for clarity, update shlibs
4332            invocation, remove unneeded debhelper commands.
4333         *  packaging/deb/amanda-backup-server.substvars, 
4334            packaging/deb/amanda-backup-client.substvars: delete. These files
4335            are generated at build time
4336
4337 2009-11-13 Dan Locks <dwlocks@zmanda.com>
4338         *  packaging/deb/buildpkg: delete unused functions, detect and add 
4339            distro/release tag to version number changelog prior to build
4340
4341 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
4342         * recover-src/extract_list.c: Enable DATA-PATH.
4343         * restore-src/restore.c: Enable DATA-PATH.
4344         * restore-src/restore.h: Enable DATA-PATH.
4345         * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
4346         * common-src/amfeatures.h: Add fe_amidxtaped_datapath
4347         * common-src/conffile.c: Improve error message.
4348         * device-src/directtcp-target.h: Improve comment.
4349
4350 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
4351         * client-src/client_util.c, common-src/util.c,
4352           server-src/changer.c: Fix memory leak.
4353
4354 2009-11-11  Jean-Louis Martineau <martineau@zmanda.com>
4355         * ndmp-src/ndma_tape.c: Fix crash.
4356
4357 2009-11-09  Dustin J. Mitchell <dustin@zmanda.com>
4358         * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
4359           in the header are set by the caller
4360         * server-src/taper.pl: set them
4361         * installcheck/taper.pl: test that on-device headers are correct
4362
4363 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
4364         * restore-src/restore.c: Handle directtcp device.
4365         * restore-src/restore.h: Handle directtcp device.
4366         * device-src/directtcp-target.h (read_to_connection): Fix comment.
4367
4368 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
4369         * device-src/directtcp-target.c (directtcp_target_listen,
4370           directtcp_target_accept): don't assert for !self->in_file or
4371                                     self->access_mode == ACCESS_NULL.
4372
4373 2009-11-06  Dustin J. Mitchell <dustin@zmanda.com>
4374         * AUTHORS: add Ben Slusky
4375         * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
4376           to UMD license, with Ben's permission
4377
4378 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
4379         * client-src/sendbackup-dump.c, client-src/sendsize.c:
4380           Fix compiler error if VXDUMP or VDUMP is defined.
4381
4382 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
4383         * client-src/client_util.c: close FILE instead of fd.
4384         * client-src/selfcheck.c: fix fd leak with app_stderr.
4385
4386 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
4387         * client-src/client_util.c (merge_property, merge_properties):
4388                                                  New functions.
4389         * client-src/client_util.h: New prototypes.
4390         * common-src/conffile.c (amandaify_property_name): New function.
4391         * common-src/conffile.h (amandaify_property_name): New prototypes.
4392         * recover-src/extract_list.c: Call merge_properties, it merge property
4393           from amanda header with property set in amrecover.
4394           Report the directory property if set.
4395         * recover-src/set_commands.c: Call amandaify_property_name.
4396
4397 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
4398         * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
4399           to be un-paused before starting to cache a part
4400         * xfer-src/dest-null.c: add additional debugging info
4401
4402 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
4403         * device-src/Makefile.am device-src/directtcp-target.c
4404           device-src/directtcp-target.h: add new DirectTCPTarget interface, for
4405           use by devices supporting DirectTCP
4406
4407 2009-11-03  Paul C. Mantz  <pcmantz@zmanda.com>
4408         * perl/Amanda/Report.pm: added state flags
4409         * instalcheck/Amanda_Report.pl: tests
4410
4411 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
4412         * common-src/testutils.c: fix uninitialized variable, only run one
4413           test in non-fork mode
4414
4415 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
4416
4417         * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
4418           'first_device' and calculate slab size immediately instead of waiting
4419           for start_part
4420         * device-src/xfer-device.h: first_device parameter
4421         * perl/Amanda/XferServer.swg: swig
4422         * perl/Amanda/Xfer.pod: docs
4423         * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
4424         * perl/Amanda/Taper/Scribe.pm: send first_device properly
4425
4426 2009-10-30  Satya Ganga <gsat@zmanda.com>
4427         * application-src/amsuntar.pl: Validate include and exclude lists
4428           before using them at restore time.
4429
4430 2009-10-30  Dustin J. Mitchell <dustin@zmanda.com>
4431         * common-src/testutils.c: do not fork if -n is given (aids debugging)
4432
4433 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
4434         * perl/Amanda/Changer/robot.pm: add barcodes to reservations
4435         * perl/Amanda/Changer.pm: document
4436         * installcheck/Amanda_Changer_robot.pl: test
4437
4438 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
4439         * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
4440
4441 2009-10-29  Satya Ganga <gsat@zmanda.com>
4442         * application-src/amgtar.c,application-src/amstar.c: Correct validation 
4443           of directory property for existence and access.
4444
4445 2009-10-29  Satya Ganga <gsat@zmanda.com>
4446         * application-src/amsamba.pl: In command line use correct
4447                                         application property names
4448
4449 2009-10-29  Jean-Louis Martineau <martineau@zmanda.com>
4450         * client-src/sendsize.c: Fix error reporting.
4451
4452 2009-10-29  Satya Ganga <gsat@zmanda.com>
4453         * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific 
4454                                  environment for NDMP
4455
4456 2009-10-28  Jean-Louis Martineau <martineau@zmanda.com>
4457         * common-src/conffile.c (free_property_t): not static.
4458         * common-src/conffile.h (free_property_t): not static.
4459         * recover-src/amrecover.c, recover-src/amrecover.h,
4460           recover-src/help.c, recover-src/set_commands.c,
4461           recover-src/uparse.y,
4462           recover-src/uscan.l: New setproperty and listproperty commands.
4463         * man/xml-source/amrecover.8.xml: Document setproperty and
4464                                           listproperty commands.
4465
4466 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
4467         * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
4468
4469 2009-10-27  Dustin J. Mitchell <dustin@zmanda.com>
4470         * common-src/Makefile.am common-src/directtcp.h: new file to
4471           handle common directtcp-related code
4472         * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
4473           DirectTCPAddr
4474         * xfer-src/Makefile.am
4475           xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
4476         * xfer-src/source-directtcp-listen.c: new source element
4477           implementing it
4478         * xfer-src/element-glue.c: stubs - no glue yet for the new mech
4479         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
4480           perl/Makefile.am: SWIG new element
4481
4482 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
4483         * client-src/client_util.c: Add data-path and directtcp argument to
4484                                     application
4485         * client-src/selfcheck.c: Check application support the requested
4486                                   data-path
4487         * client-src/sendsize.c: Check application support the requested
4488                                  data-path
4489         * common-src/amfeatures.h: Add fe_xml_data_path and
4490                                    fe_xml_directtcp_list.
4491         * common-src/amfeatures.c: Add fe_xml_data_path and
4492                                    fe_xml_directtcp_list.
4493         * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
4494         * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
4495         * server-src/amcheck.c: Check client accpet datapath and directtcp tag
4496                                 in xml.
4497         * server-src/diskfile.c: Add datapath and directtcp tag
4498         * server-src/diskfile.h (disk_t): Add directtcp_list.
4499         * server-src/driver.c: Set dp->directtcp_list.
4500
4501 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
4502         * application-src/amgtar.c, application-src/ampgsql.pl,
4503           application-src/amraw.pl, application-src/amsamba.pl,
4504           application-src/amstar.c, application-src/amsuntar.pl,
4505           application-src/amzfs-sendrecv.pl: Handle directory, include-list
4506                         and exclude-list inrestore command.
4507         * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
4508           man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
4509           man/xml-source/amstar.8.xml,
4510           man/xml-source/amsuntar.8.xml: Document them.
4511         * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
4512
4513 2009-10-23  Jean-Louis Martineau <martineau@zmanda.com>
4514         * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
4515         * client-src/client_util.h (backup_support_option_t): Add data_path_set
4516         * common-src/conffile.h: (data_path_t): Change for bit value.
4517
4518 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
4519         * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
4520           now always called with the slab_mutex held; both invocations of
4521           the function guarantee this.
4522
4523 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
4524         * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
4525         * installcheck/Installcheck.pm: close SOCK after using it
4526         * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
4527
4528 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
4529         * perl/Amanda/Config.swg: Swig data_path_from_string.
4530         * server-src/diskfile.c: Add dirrecti-tcp property to application.
4531         * server-src/diskfile.h (disk_s): Add directtcp.
4532         * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
4533         * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
4534         * server-src/server_util.h: Add DIRECTTCP_PORT.
4535         * server-src/taper.pl: Reply with DIRECTTCP-PORT.
4536
4537 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
4538         * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
4539
4540 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
4541         * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
4542         * common-src/conffile.c: Add DATA-PATH config.
4543         * common-src/conffile.h: Add DATA-PATH config.
4544         * installcheck/taper.pl: Add AMANDA data-path.
4545         * perl/Amanda/Config.swg: Add DATA-PATH config.
4546         * server-src/amadmin.c (disklist_one): print data-path.
4547         * server-src/diskfile.c: Add dp argument to xml_application.
4548         * server-src/diskfile.h: New prototype for xml_application.
4549         * server-src/amcheck.c: Use new xml_application.
4550         * server-src/amindexd.c: Use new xml_application.
4551         * server-src/driverio.c: Send data-path to the dumper and taper,
4552                                  Use new xml_application.
4553         * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
4554         * server-src/planner.c: Use new xml_application.
4555         * server-src/taper.pl: Parse data-path in PORT-WRITE command.
4556
4557 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
4558         * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
4559           ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
4560           ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
4561                 Add '-o tape-tcp=HOST:PORT' option.
4562
4563 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4564         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
4565           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
4566           ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
4567         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
4568           common-src/Makefile.am: remove ndmp-proxy.*
4569         * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
4570           common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
4571         * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
4572         * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
4573           module
4574
4575 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4576         * perl/Amanda/Taper/Scribe.pm: get a device before starting
4577           the xfer
4578
4579 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
4580         * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
4581
4582 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4583         * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
4584           libndmlib.la
4585         * ndmp-src/ndml_conn.c: remove calls to libndmjob function
4586         * device-src/Makefile.am: compile without strict prototypes
4587         * device-src/ndmp-device.c: build against libndmlib, speaking
4588           NDMP natively to the NDMP server instead of via the proxy
4589         * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
4590
4591 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
4592         * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
4593           device-src/xfer-dest-taper.c device-src/xfer-device.h: make
4594           XferDestTaper an abstract base class, with XferDestTaperSplitter its
4595           only subclass (for now)
4596         * perl/Amanda/Xfer.swg: SWIG it
4597         * perl/Amanda/XferServer.swg: SWIG it
4598         * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
4599         * perl/Amanda/Taper/Scribe.pm: use subclass
4600
4601 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
4602         * installcheck/Installcheck.pm: $0 in double quote "$0".
4603
4604 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
4605         * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
4606         * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
4607         * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
4608         * installcheck/amadmin.pl: Remove set_pname call.
4609
4610 2009-10-20  Paul C. Mantz <pcmantz@zmanda.com>
4611         * server-src/amrmtape.pl: added config override option
4612         * installcheck/amrmtape.pl: regression test
4613
4614 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
4615         * device-src/xfer-dest-taper.c: add detailed debugging
4616         * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
4617         * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
4618         * server-src/taper.pl: pass debugging flags around
4619
4620 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
4621         * xfer-src/dest-buffer.c: fix Solaris cc compile errors
4622
4623 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
4624         * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
4625           new element
4626         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
4627         * installcheck/Amanda_Xfer.pl: tests
4628         * xfer-src/source-pattern.c: fix typo
4629
4630 2009-10-19  Paul C. Mantz <pcmantz@zmanda.com>
4631         * perl/Amanda/Report.pm: error handling for logfile reading.
4632         * perl/Amanda/Logfile.pod: documentation of open_logfile error
4633         behavior
4634
4635 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
4636         * installcheck/Makefile.am (full_tests): Add amadmin.
4637         * installcheck/amadmin.pl: Check diskname matching argument.
4638
4639 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
4640         * common-src/match.c: Fix match_word function.
4641
4642 2009-10-16 Dan Locks <dwlocks@zmanda.com>
4643         *  example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
4644            replace IPv6 with IPv4
4645
4646 2009-10-16  Nikolas Coukouma <atrus@zmanda.com>
4647         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
4648           application-src/amlog-script.pl, application-src/ampgsql.pl,
4649           application-src/amraw.pl, application-src/amsamba.pl,
4650           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
4651           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
4652           changer-src/chg-glue.pl, common-src/amaespipe.sh,
4653           common-src/amcryptsimple.pl, common-src/amgetconf.pl,
4654           common-src/amgpgcrypt.pl, common-src/event-test.c,
4655           common-src/glib-util.c, common-src/glib-util.h,
4656           common-src/hexencode-test.c, common-src/ipc-binary.c,
4657           common-src/ipc-binary.h, common-src/queueing-test.c,
4658           common-src/queueing.c, common-src/queueing.h,
4659           common-src/quoting-test.c, common-src/semaphore-test.c,
4660           common-src/semaphore.c, common-src/semaphore.h,
4661           common-src/simpleprng.c, common-src/simpleprng.h,
4662           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
4663           common-src/testutils.c, common-src/testutils.h,
4664           config/automake/scripts.am, config/automake/vars.am,
4665           config/macro-archive/docbook-dtd.m4,
4666           config/macro-archive/docbook-xslt-min.m4,
4667           config/macro-archive/docbook-xslt.m4,
4668           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
4669           device-src/amtapetype.pl, device-src/device-queueing.c,
4670           device-src/device-queueing.h, device-src/device.c,
4671           device-src/device.h, device-src/ndmp-device.c,
4672           device-src/null-device.c, device-src/property.c,
4673           device-src/property.h, device-src/rait-device.c,
4674           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
4675           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
4676           device-src/tape-device.c, device-src/tape-device.h,
4677           device-src/tape-ops.h, device-src/tape-posix.c,
4678           device-src/tape-uware.c, device-src/tape-xenix.c,
4679           device-src/vfs-device.c, device-src/vfs-test.c,
4680           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
4681           device-src/xfer-device.h, device-src/xfer-source-device.c,
4682           device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
4683           installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
4684           installcheck/Amanda_Changer_disk.pl,
4685           installcheck/Amanda_Changer_null.pl,
4686           installcheck/Amanda_Changer_rait.pl,
4687           installcheck/Amanda_Changer_robot.pl,
4688           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
4689           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
4690           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
4691           installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
4692           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
4693           installcheck/Amanda_IPC_Binary.pl,
4694           installcheck/Amanda_IPC_LineProtocol.pl,
4695           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
4696           installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
4697           installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
4698           installcheck/Amanda_Taper_Scan.pl,
4699           installcheck/Amanda_Taper_Scan_traditional.pl,
4700           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
4701           installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
4702           installcheck/Installcheck.pm,
4703           installcheck/Installcheck/Application.pm,
4704           installcheck/Installcheck/Changer.pm,
4705           installcheck/Installcheck/Config.pm,
4706           installcheck/Installcheck/Dumpcache.pm,
4707           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
4708           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
4709           installcheck/amcheck-device.pl, installcheck/amcheck.pl,
4710           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
4711           installcheck/amdump.pl, installcheck/amfetchdump.pl,
4712           installcheck/amgetconf.pl, installcheck/amgtar.pl,
4713           installcheck/amlabel.pl, installcheck/ampgsql.pl,
4714           installcheck/amraw.pl, installcheck/amreport.pl,
4715           installcheck/amrestore.pl, installcheck/amrmtape.pl,
4716           installcheck/amservice.pl, installcheck/amstatus.pl,
4717           installcheck/amtape.pl, installcheck/amtapetype.pl,
4718           installcheck/bigint.pl, installcheck/mock/mtx.pl,
4719           installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
4720           installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
4721           packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
4722           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
4723           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
4724           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
4725           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
4726           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
4727           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
4728           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
4729           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
4730           perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
4731           perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
4732           perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
4733           perl/Amanda/Header.pod, perl/Amanda/Header.swg,
4734           perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
4735           perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
4736           perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
4737           perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
4738           perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
4739           perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
4740           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
4741           perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
4742           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
4743           perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
4744           perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
4745           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
4746           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
4747           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
4748           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
4749           perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
4750           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
4751           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
4752           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
4753           server-src/amcleanup.pl, server-src/amlabel.pl,
4754           server-src/amrestore.pl, server-src/amrmtape.pl,
4755           server-src/amserverconfig.pl, server-src/amtape.pl,
4756           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
4757           server-src/taper.pl, server-src/xfer-server.h,
4758           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
4759           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
4760           xfer-src/element-glue.h, xfer-src/filter-process.c,
4761           xfer-src/filter-xor.c, xfer-src/source-fd.c,
4762           xfer-src/source-pattern.c, xfer-src/source-random.c,
4763           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
4764           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
4765           xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
4766
4767 2009-10-16  Dustin J. Mitchell <dustin@zmanda.com>
4768         * common-src/hexencode-test.c: avoid compiler warnings and a potential
4769           crash on test failure
4770
4771 2009-10-16  Jean-Louis Martineau <martineau@zmanda.com>
4772         * application-src/amsamba.pl: fix restore.
4773
4774 2009-10-15  Nikolas Coukouma <atrus@zmanda.com>
4775         * application-src/ampgsql.pl, common-src/Makefile.am,
4776           common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
4777           installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
4778           perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
4779           perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
4780           and decoding functions into C. SWIG, document, and test them. Also add
4781           exception-generating typemap for GErrors.
4782
4783 2009-10-14  Nikolas Coukouma <atrus@zmanda.com>
4784         * perl/Amanda/Changer.pm: forgot to import function
4785
4786 2009-10-14  Jean-Louis Martineau <martineau@zmanda.com>
4787             Dustin J. Mitchell <dustin@zmanda.com>
4788         * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
4789         * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
4790         * device-src/ndmp-device.c: Keep track if a device is openned, don't
4791           close the connection to the proxy in ndmp_device_finish().
4792         * installcheck/Amanda_Device_ndmp.pl: More check.
4793         * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
4794         * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
4795         * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
4796
4797 2009-10-13  Nikolas Coukouma <atrus@zmanda.com>
4798         * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
4799           installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
4800           and test it
4801         * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
4802           use string_to_boolean
4803         * perl/Amanda/MainLoop.pod: correct spelling
4804
4805 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
4806         Revert previous patch.
4807
4808 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
4809         * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
4810         * common-src/conffile.c: Add data_path
4811         * common-src/conffile.h: Add data-path
4812         * common-src/ndmp-proxy.c: Improve.
4813         * common-src/ndmp-proxy.h: Improve.
4814         * device-src/device.c (device_start_dump, device_finish_dump
4815                                device_write_from_data_path) New method.
4816         * device-src/device.h (device_start_dump, device_finish_dump
4817                                device_write_from_data_path) New method.
4818         * device-src/ndmp-device.c: Improve
4819         * device-src/xfer-dest-taper.c: data-path
4820         * device-src/xfer-device.h: data-path
4821         * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
4822         * ndmp-src/ndma_comm_proxy.c: Improve.
4823         * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
4824         * ndmp-src/ndmjob_main.c: Open debug file.
4825         * ndmp-src/ndml_log.c: Check for deliver..
4826         * perl/Amanda/Config.swg: Add data-path
4827         * perl/Amanda/Device.swg: Add new device api
4828         * perl/Amanda/Taper/Scribe.pm: data-path
4829         * perl/Amanda/XferServer.swg: data-path
4830         * server-src/amadmin.c: print data-path
4831         * server-src/amcheck.c: data-path and xml_application change
4832         * server-src/amindexd.c: xml_application change
4833         * server-src/diskfile.c: new xml_application
4834         * server-src/diskfile.h: xml_application prototype change.
4835         * server-src/driver.c: data-path
4836         * server-src/driverio.c: data-path
4837         * server-src/driverio.h (taper_device): new global variable.
4838         * server-src/dumper.c: data-path
4839         * server-src/planner.c: xml_application change
4840         * server-src/taper.pl: data-path
4841
4842 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
4843         * perl/Amanda/IPC/Binary.pod: finish docs
4844
4845 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
4846         * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
4847         * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
4848           ipc-binary
4849         * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
4850         * perl/Amanda/IPC/Binary.pod: stub documentation
4851         * perl/Amanda/IPC/LineProtocol.pm: whitespace
4852
4853 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
4854         * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
4855           ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
4856           <atrus@zmanda.com>
4857
4858 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
4859         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
4860           pass parameters
4861         * device-src/ndmp-device.c: bugfixes; open and close the conneciton
4862           for each service request, to avoid deadlocking the proxy
4863         * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
4864           ndmjob tape simulator
4865         * installcheck/Installcheck/Mock.pm: add run_ndmjob
4866         * installcheck/Makefile.am: new checks
4867         * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
4868         * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
4869         * ndmp-src/ndmjob.h: p_port
4870         * ndmp-src/ndmjob_args.c: add -p PORT
4871         * ndmp-src/ndmjob_main.c: use -p PORT
4872         * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
4873           connection
4874
4875 2009-10-07 Dan Locks <dwlocks@zmanda.com>
4876         *  packaging/deb/control: add mailx|bsd-mailx (also missing
4877            |gnuplot-nox)
4878
4879 2009-10-07  Jean-Louis Martineau <martineau@zmanda.com>
4880         * server-src/diskfile.c: Fix initialization of xml_app.result.
4881
4882 2009-10-06  Dustin J. Mitchell <dustin@zmanda.com>
4883         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
4884           remove ndmp-proxy-log-file and ndmp-proxy-debug-level
4885         * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
4886         * common-src/ipc-binary.h: don't recommend static allocation
4887         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
4888           demand; it will shut down when all of the connections are closed
4889         * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
4890         * installcheck/Installcheck.pm: add get_unused_port()
4891         * installcheck/Makefile.am: new check
4892         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
4893           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
4894           ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
4895           ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
4896           proxy into a different executable, and reference count the connections
4897           to it
4898         * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
4899         * perl/Amanda/NDMP.pod: add POD
4900         * server-src/amlabel.pl server-src/amcheck-device.pl: remove
4901           ndmp_stop_proxy()
4902
4903 2009-10-06  Paul C. Mantz <pcmantz@zmanda.com>
4904         * perl/Amanda/Reporter.pm: added log handling of amdump and
4905         amflush
4906         * installcheck/Amanda_Report.pl: regression tests
4907
4908 2009-10-06  Jean-Louis Martineau <martineau@zmanda.com>
4909         * installcheck/amraw.pl: Use File::Path::mkpath.
4910
4911 2009-10-05  Jean-Louis Martineau <martineau@zmanda.com>
4912         * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
4913         * application-src/amraw.pl: New application.
4914         * installcheck/Makefile.am (client_tests): Add amraw.
4915         * installcheck/amraw.pl: Check amraw functionnality.
4916         * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
4917         * man/xml-source/amanda-applications.7.xml: Add amraw.8.
4918         * man/xml-source/amanda.8.xml: Add amraw.8.
4919         * man/xml-source/amraw.8.xml: New man page for amraw application.
4920         * perl/Amanda/Constants.pm.in: Add DD.
4921
4922 2009-10-05  Paul C. Mantz <pcmantz@zmanda.com>
4923         * server-src/reporter.c: exit code 0 with no output format
4924         specified, fixed default output destination
4925
4926 2009-10-02  Jean-Louis Martineau <martineau@zmanda.com>
4927         * common-src/debug.c (msg_timestamp): Print time in human readable
4928                                               format.
4929
4930 2009-10-01  Dustin J. Mitchell <dustin@zmanda.com>
4931         * device-src/ndmp-device.c:  remove some includes, remove recycle and
4932           erase, streaming desired, close the tape service on finish(), rewind
4933           less, and be more careful about setting errors exactly once
4934         * man/xml-source/amanda-devices.7.xml: document the device
4935
4936 2009-10-01  Paul C. Mantz <pcmantz@zmanda.com>
4937         * server-src/reporter.c: no report made unless destination
4938         argument given
4939
4940 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
4941         * application-src/amgtar.c (build_re_table, add_type_table,
4942                                     add_list_table): Remove function.
4943         * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
4944         * client-src/client_util.c (build_re_table, add_type_table,
4945                                    add_list_table): Add function.
4946         * client-src/client_util.h (build_re_table, add_type_table,
4947                                     add_list_table): Add prototype.
4948         * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
4949                 Add declaration.
4950         * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
4951                 Remove declaration.
4952         * client-src/sendsize.c: Rename 'struct regex_s' to
4953                                         'struct regex_scale_s'.
4954         * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
4955                                        properties.
4956
4957 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
4958         * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
4959                                                           name.
4960
4961 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
4962         * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
4963                                     command.
4964         * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
4965
4966 2009-09-30  Dustin J. Mitchell <dustin@zmanda.com>
4967         * server-src/dumper.c: runs setuid root
4968         * common-src/local-security.c: drop root privs
4969         * common-src/rsh-security.c: drop root privs
4970         * common-src/ssh-security.c: drop root privs
4971
4972 2009-09-29  Dustin J. Mitchell <dustin@zmanda.com>
4973         * amandad-src/amandad.h common-src/amanda.h: move constants
4974           to amanda.h
4975         * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
4976           inform the OpenBSD pthread library about high-numbered fd's created
4977           by amandad
4978         * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
4979           client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
4980           use openbsd_fd_infom
4981
4982 2009-09-28  Dustin J. Mitchell <dustin@zmanda.com>
4983         * common-src/util.h: fix comment
4984         * server-src/planner.c: planner runs setuid, so tell check_running_as
4985
4986 2009-09-28  Nikolas Coukouma <atrus@zmanda.com>
4987         * device-src/s3.c: fix day of the week in Date header
4988
4989 2009-09-25  Dustin J. Mitchell <dustin@zmanda.com>
4990         * common-src/amflock.c: set the return value
4991         * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
4992         * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
4993         * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
4994           handle configurations where no tape device is specified better
4995         * server-src/amtape.pl: handle the case where loaded_in == 0
4996
4997 2009-09-25  Nikolas Coukouma <atrus@zmanda.com>
4998         * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
4999
5000 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
5001         * man/xml-source/amanda-devices.7.xml: fix typo
5002
5003 2009-09-24  Paul C. Mantz <pcmantz@zmanda.com>
5004         * perl/Amanda/Report.pm: added accessor functions
5005         * installcheck/Amanda_Report.pl: tests
5006
5007 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
5008         * device-src/property.c: remove old property instance
5009
5010 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
5011         * man/xml-source/amanda-devices.7.xml: update property documentation
5012           and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
5013         * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
5014           device-src/property.c device-src/property.h device-src/device.c
5015           man/xml-source/amanda-changers.7.xml: rename property
5016         * device-src/tape-device.c: accept old and new property names
5017         * installcheck/Amanda_Device.pl: tests
5018
5019 2009-09-10  Jean-Louis Martineau <martineau@zmanda.com>
5020         * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
5021           DIRECTORY properties on restore
5022
5023 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
5024         * installcheck/Amanda_Device.pl: fix skip count
5025
5026 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
5027         * common-src/util.c common-src/util.h: allow to drop root privs
5028           entirely
5029         * common-src/pipespawn.c: drop root
5030         * amandad-src/amandad.c: check effective userid
5031         * common-src/krb5-security.c: check effective userid
5032         * server-src/amcheck.c: check effective userid
5033
5034 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
5035         * device-src/s3-device.c: handle EOT correctly
5036         * installcheck/Amanda_Device.pl: check for it
5037
5038 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
5039         * changer-src/chg-glue.pl common-src/amgetconf.pl
5040           common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
5041           device-src/amtapetype.pl installcheck/Amanda_Config.pl
5042           installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
5043           perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
5044           restore-src/amfetchdump.c server-src/amadmin.c
5045           server-src/amcheck-device.pl server-src/amcheck.c
5046           server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
5047           server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
5048           server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
5049           server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
5050           server-src/driver.c server-src/dumper.c server-src/planner.c
5051           server-src/reporter.c server-src/taper.pl: change "config_overwrite"
5052           to "config_override"
5053
5054 2009-09-05  Dustin J. Mitchell <dustin@zmanda.com>
5055         * server-src/amvault.pl: use destination volume filenums in amvault
5056
5057 2009-09-04  Dustin J. Mitchell <dustin@zmanda.com>
5058         * common-src/util.c: setuid(0) initially, so that we can release
5059           and acquire root privs
5060
5061 2009-09-03  Jean-Louis Martineau <martineau@zmanda.com>
5062         * device-src/ndmp-device.c: Include "ndmp-proxy.h".
5063
5064 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
5065         * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
5066           binary communication protocol
5067         * common-src/ipc-binary-test.c: tests for same
5068         * common-src/ndmp-protocol.h: removed
5069         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
5070           with ndmp-proxy, including protocol
5071         * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
5072         * common-src/Makefile.am: rename/add files
5073         * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
5074           ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
5075           use new protocol
5076
5077 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
5078         * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
5079
5080 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
5081         * device-src/ndmp-device.c: remove spurious #include of stream.c
5082
5083 2009-09-02  Jean-Louis Martineau <martineau@zmanda.com>
5084         * common-src/debug.c: Improve debugging.
5085         * restore-src/restore.h (rst_flags_t): Add header_to_fd.
5086         * restore-src/amidxtaped.c: set header_to_fd to 1.
5087         * restore-src/restore.c: Write header to header_to_fd.
5088         * restore-src/amfetchdump.c: Add --header-fd and --header-file
5089                                      arguments.
5090         * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
5091                                             --header-file argument.
5092
5093 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
5094         * perl/Amanda/Header.swg: remove spurious references to cmdline.h
5095
5096 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
5097         * ndmp-src/Makefile.am: fix dumb typos
5098
5099 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com
5100         * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
5101
5102 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
5103         * man/entities/global.entities.in man/xml-source/amadmin.8.xml
5104           man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
5105           man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
5106           man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
5107           man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
5108           man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
5109           man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
5110           man/xml-source/amvault.8.xml: use entities to represent config
5111           overwrites consistently
5112
5113 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
5114         * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
5115           cmdline.h in a client-only package
5116         * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
5117         * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
5118           tests
5119
5120 2009-08-31 Dan Locks <dwlocks@zmanda.com>
5121         * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
5122           %files for server.
5123
5124 2009-08-31  Jean-Louis Martineau <martineau@zmanda.com>
5125         * config/amanda/dumpers.m4: Give only a warning if user specified path
5126                                     is not correct for gtar and star.
5127
5128 2009-08-28  Dustin J. Mitchell <dustin@zmanda.com>
5129         * perl/Amanda/Device.pod: be explicit: finish_file is not for read
5130           mode
5131
5132 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
5133         * xfer-src/filter-process.c: fixed write warnings which were
5134           breaking Ubuntu builds
5135
5136 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
5137         * perl/Amanda/Logfile.swg: added four previously omitted program
5138         types
5139         * installcheck/Amanda_Logfile.pl: regression tests for the program
5140         types
5141
5142 2009-08-26  Jean-Louis Martineau <martineau@zmanda.com>
5143         * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
5144         * configure.in: Use AMANDA_PROG_STAR.
5145
5146 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5147         * config/amanda/components.m4: Fix --with-amrecover=yes
5148
5149 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5150         * ndmp-src/ndmp-protocol.h: Remove file.
5151         * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
5152         * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
5153
5154 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5155         * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
5156         * configure.in: Use AMANDA_NDMP_DEVICE.
5157         * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
5158                                  andndmp_proxy_debug_level.
5159         * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
5160                                  and CNF_NDMP_PROXY_DEBUG_LEVEL
5161         * common-src/ndmp-protocol.h: Define protocol between amanda and
5162                                       ndmp-proxy.
5163         * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
5164                              connect_to_ndmp_proxy): New functions.
5165         * common-src/util.h: Add prototype for new functions.
5166         * device-src/Makefile.am: Build ndmp-device.
5167         * device-src/device.c: Use ndmp-device.
5168         * device-src/ndmp-device.c: New ndmp device.
5169         * device-src/tape-device.c: Small fix.
5170         * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
5171         * perl/Amanda/Config.swg: Export new CNF_* constants.
5172         * perl/Amanda/Ndmp.swg: New module for ndmp function.
5173         * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
5174         * perl/Amanda/Util.swg: New finish_application function.
5175         * perl/Makefile.am: Build Amanda::Ndmp
5176         * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
5177           stop_ndmp_proxy and finish_application.
5178
5179 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
5180         * man/xml-source/amfetchdump.8.xml: Document -h option.
5181         * restore-src/amfetchdump.c: Document -h option, pass the server
5182                                      feature set to search_tapes.
5183
5184 2009-08-24  Paul C. Mantz <pcmantz@zmanda.com>
5185         * perl/Amanda/Report.pm: Module for abstracting amreport data
5186         * perl/Makefile.am: compile the module
5187         * installcheck/Amanda_Report.pl: test for Amanda::Report
5188         * installcheck/Makefile.am: add the test to installcheck
5189
5190 2009-08-21  Dustin J. Mitchell <dustin@zmanda.com>
5191         * man/xml-source/amgtar.8.xml: changes suggested by Christopher
5192           <chrismcc@pricegrabber.com>
5193
5194 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5195         * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
5196         * ndmp-src/Makefile.am: Link with libamanda
5197         * ndmp-src/ndmos_glib.h: Use strtoll.
5198
5199 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5200         * ndmp-src/*: Import of ndmjob + ndmp-proxy.
5201         * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
5202         * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
5203         * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
5204         * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
5205         * Makefile.am: Build ndmp-src.
5206
5207 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5208         * common-src/ipc-binary.c: New protocol
5209         * common-src/ipc-binary.h: New protocol header
5210         * common-src/Makefile.am: Compile it.
5211
5212 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
5213         * man/xml-source/amanda-changers.7.xml: Typo.
5214
5215 2009-08-20  Dustin J. Mitchell <dustin@zmanda.com>
5216         * man/xml-source/amanda-devices.7.xml: tweak
5217         * perl/Amanda/Changer.pm: fix configuration to also include device
5218           alias configuration
5219         * perl/Amanda/Device.pod: deprecate $dev->configure()
5220         * man/xml-source/amanda-changers.7.xml: better documentation
5221           of device configuration via changers
5222
5223 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
5224         * restore-src/Makefile.am restore-src/amrestore.c: remove
5225         * common-src/fileheader.c common-src/fileheader.h: add
5226           summarize_header
5227         * common-src/match.c: fix match_level bugs
5228         * installcheck/Amanda_Header.pl: test matches_dumpspecs
5229         * server-src/Makefile.am server-src/amrestore.pl: new perl version
5230         * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
5231           on to the next dumpfile
5232         * man/xml-source/amrestore.8.xml: update docs
5233         * perl/Amanda/Cmdline.pod: typo
5234         * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
5235           matches_dumpspec
5236         * installcheck/Amanda_Util.pl: test sanitise_filename
5237         * perl/Amanda/Util.pod: add sanitise_filename
5238
5239 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
5240         * xfer-src/filter-process.c: new xfer element
5241         * xfer-src/xfer-element.h: declare it
5242         * perl/Amanda/Xfer.swg: SWIG it
5243         * perl/Amanda/Xfer.pod: doc it
5244         * xfer-src/Makefile.am: build it
5245         * installcheck/Amanda_Xfer.pl: test it
5246
5247 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
5248         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
5249           to start(), and make the get_source method "low-level"
5250         * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
5251           installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
5252           device-src/amtapetype.pl: don't use get_source
5253         * perl/Amanda/MainLoop.pod: documentation tweak
5254
5255 2009-08-17  Dustin J. Mitchell <dustin@zmanda.com>
5256         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
5257           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
5258           perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
5259           release()
5260         * server-src/amcheck-device.pl: fix stupid bug
5261
5262 2009-08-14 Dan Locks <dwlocks@zmanda.com>
5263         * example/Makefile.am: split example into server and client
5264           installperms statements.
5265
5266 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
5267         * server-src/amlabel.pl: handle error in Amanda::Changer->new
5268
5269 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
5270         * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
5271         * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
5272           add a 'multi' dumpcache and refactor Dumpcache.pm
5273         * installcheck/Installcheck/Run.pm: better diagnostics, better access
5274           to stderr from successful runs
5275
5276 2009-08-12  Dustin J. Mitchell <dustin@zmanda.com>
5277         * installcheck/taper.pl: add a check for taper startup err
5278         * server-src/taper.pl: properly send a startup err instead of die()ing
5279         * perl/Amanda/IPC/LineProtocol.pm: fix typos
5280
5281 2009-08-05  Dustin J. Mitchell <dustin@zmanda.com>
5282         * man/xml-source/amdevcheck.8.xml: manpage tweaks
5283
5284 2009-08-05 Dan Locks <dwlocks@zmanda.com>
5285         * Thanks to Jim Barber for pointing out these bugs.
5286         * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
5287           packaging/deb/amanda-backup-server.postinst: replace all instances
5288           of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
5289         * packaging/deb/control: add build-depends for libglib2.0-dev
5290
5291 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5292         * installcheck/amcheck.pl: fix typo
5293
5294 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5295         * installcheck/amcheck.pl: put options before args for old getopts
5296         * installcheck/Makefile.am: only run amcheck check on full install
5297
5298 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5299         * installcheck/Makefile.am installcheck/amcheck.pl: new tests
5300         * server-src/amcheck.c: fix usage message
5301
5302 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5303         * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
5304
5305 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5306         * server-src/amcheck.c: initialize success properly
5307         * installcheck/mock/mtx.pl: another workaround for bad perl parser
5308
5309 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5310         * installcheck/amlabel.pl: update tests for new messages
5311         * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
5312           rewrite amlabel in perl to use new changer API
5313         * man/xml-source/amlabel.8.xml: overhaul manpage
5314         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
5315
5316 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5317         * server-src/amlabel.c server-src/amcheck.c: remove include of
5318           taperscan.h
5319
5320 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5321         * server-src/Makefile.am server-src/amcheck-device.pl
5322           server-src/amcheck.c: break out device-checking into a perl script
5323           invoked from amcheck
5324         * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
5325           script
5326         * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
5327           volumes explicitly marked as blank (timestamp="X")
5328         * server-src/taperscan.c server-src/taperscan.h: remove
5329
5330 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5331         * device-src/device.h: remove some comments that are now redundant
5332         * perl/Amanda/Device.pod: put primary Device documentation here,
5333           centralizing what used to be in the header file and on the wiki
5334
5335 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5336         * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
5337           confusing
5338
5339 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
5340         * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
5341
5342 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5343         * device-src/tape-posix.c: use g_debug instead of dbprintf
5344
5345 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5346         * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
5347           more than once in a scan object's lifetime
5348         * man/xml-source/amanda-taperscan.7.xml: document this
5349
5350 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5351         * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
5352           rewrite amtape in perl
5353         * NEWS: describe changes
5354         * man/xml-source/amtape.8.xml: document behavior
5355         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
5356           perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
5357           perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
5358           user_msg_fn
5359         * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
5360           tests to match new behavior
5361
5362 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5363         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
5364           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
5365           perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
5366           except_slots, to allow slot scanning
5367         * installcheck/Amanda_Changer_compat.pl
5368           installcheck/Amanda_Changer_disk.pl
5369           installcheck/Amanda_Changer_rait.pl
5370           installcheck/Amanda_Changer_robot.pl: test each implementation
5371
5372 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
5373         * perl/Makefile.am perl/Amanda/Changer/robot.pm:
5374           new changer
5375         * example/amanda.conf.in: adjust to correspond to new changers
5376         * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
5377         * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
5378         * man/xml-source/amanda-changers.7.xml: documentation for new changer
5379         * perl/Amanda/Changer.pm: POD tweak
5380
5381 2009-07-31 Dan Locks <dwlocks@zmanda.com>
5382         * packaging/deb/control, packaging/rpm/amanda.spec: add native
5383           package names to conflict list
5384
5385 2009-07-30 Dan Locks <dwlocks@zmanda.com>
5386         * example/Makefile.am: separates client from server example,
5387           label, and template files.
5388
5389 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
5390         * device-src/Makefile.am device-src/xfer-source-taper.c
5391           device-src/xfer-device.h: new xfer element
5392         * device-src/xfer-source-device.c: typos
5393         * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
5394         * perl/Amanda/XferServer.swg: SWIG it
5395         * perl/Amanda/Xfer.pod: docs
5396         * installcheck/Amanda_Xfer_serveronly.pl: test it
5397
5398 2009-07-30  Jean-Louis Martineau <martineau@zmanda.com>
5399         * application-src/amsuntar.pl: Fix open of fd3.
5400
5401 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
5402         * device-src/xfer-dest-taper.c: open disk cache twice instead of
5403           incorrectly relying on dup(); use a local variable to stop the
5404           disk cacher for sure at the end of each part
5405
5406 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
5407         * perl/Amanda/Changer.pm: add an inventory() method
5408         * perl/Amanda/Changer/disk.pm: implement
5409         * perl/Amanda/Changer/rait.pm: implement
5410         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
5411           installcheck/Amanda_Changer_disk.pl
5412           installcheck/Amanda_Changer_rait.pl: test
5413
5414 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
5415         * perl/Amanda/Changer.pm: do not release() reservations automatically
5416           when they go out of scope
5417         * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
5418           installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
5419           installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
5420           installcheck/Amanda_Changer_single.pl: don't depend on auto-release
5421
5422 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
5423         * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
5424           shuffle vtapes instead of linking, and support 'nobarcode'
5425         * installcheck/mock_mtx.pl: test it
5426
5427 2009-07-28  Nikolas Coukouma <atrus@zmanda.com>
5428         * installcheck/Installcheck.pm: Add a function for including Test::More
5429           messages in debug logs (and document it). Move mkpath($TMP) into an
5430           INIT block.
5431         * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
5432           installcheck/Amanda_Changer_disk.pl,
5433           installcheck/Amanda_Changer_null.pl,
5434           installcheck/Amanda_Changer_rait.pl,
5435           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
5436           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
5437           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
5438           installcheck/Amanda_IPC_LineProtocol.pl,
5439           installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
5440           installcheck/Amanda_Taper_Scan_traditional.pl,
5441           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
5442           installcheck/Amanda_Xfer_serveronly.pl,
5443           installcheck/amrmtape.pl, installcheck/amtape.pl,
5444           installcheck/taper.pl: use Installcheck::log_test_output()
5445
5446 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
5447         * perl/Amanda/Changer.pm: add a get_boolean_property helper method
5448
5449 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
5450         * config/amanda/defaults.m4: remove --with-changer-device
5451         * common-src/conffile.c: make NULL the default
5452         * example/amanda.conf.in: remove reference to the default
5453         * NEWS: note that option is no longer available
5454
5455 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
5456         * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
5457           variables, and just syntax-check everything
5458         * amar-src/Makefile.am application-src/Makefile.am
5459           changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
5460           device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
5461           adjust makefiles to match
5462         * perl/Amanda/Changer/rait.pm: fix some warnings
5463
5464 2009-07-24  Jean-Louis Martineau <martineau@zmanda.com>
5465         * amandad-src/amandad.c: Fix fd allocation.
5466
5467 2009-07-21 Dan Locks <dwlocks@zmanda.com>
5468         * example/Makefile.am: add missing trailing slash
5469
5470 2009-07-18  Dustin J. Mitchell <dustin@zmanda.com>
5471         * installcheck/taper.pl: one more check for the taper's DONE
5472
5473 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5474         * installcheck/taper.pl: add a check for the taper's DONE
5475
5476 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5477         * server-src/xfer-source-holding.c: fix a race condition with
5478           self->dest_taper
5479
5480 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5481         * server-src/Makefile.am: fix to distribute taper.pl
5482
5483 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5484         * installcheck/Amanda_Taper_Scribe.pl: fix test
5485
5486 2009-07-17  Nikolas Coukouma <atrus@zmanda.com>
5487         * installcheck/taper.pl: remove cruft
5488         * server-src/Makefile.am: remove cruft
5489         * server-src/taper.pl: fix copyright statement
5490
5491 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5492         * server-src/taper.pl: new taper (in perl)
5493         * installcheck/taper.pl: update tests
5494         * server-src/Makefile.am server-src/taper-disk-port-source.c
5495           server-src/taper-disk-port-source.h server-src/taper-file-source.c
5496           server-src/taper-file-source.h server-src/taper-mem-port-source.c
5497           server-src/taper-mem-port-source.h server-src/taper-port-source.c
5498           server-src/taper-port-source.h server-src/taper-source-test.c
5499           server-src/taper-source.c server-src/taper-source.h
5500           server-src/taper.c: deleted
5501
5502 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
5503         * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
5504         * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
5505
5506 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
5507         * server-src/diskfile.c: add missing _()
5508
5509 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
5510         * man/Makefile.am man/xml-source/amanda.8.xml
5511           man/xml-source/amanda-compatibility.7.xml: add new manpage describing
5512           inter-version compatibility
5513         * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
5514
5515 2009-07-16  Jean-Louis Martineau <martineau@zmanda.com>
5516         * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
5517
5518 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5519         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
5520           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
5521           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
5522           remove $res->{'next_slot'} in favor of $chg->load(relative_slot
5523           => 'next', slot => $slot)
5524         * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
5525           server-src/amvault.pl: use new form
5526         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
5527           installcheck/Amanda_Changer_disk.pl
5528           installcheck/Amanda_Changer_rait.pl: test it
5529
5530 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5531         * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
5532         * NEWS: describe removed keyword
5533         * installcheck/Amanda_Config.pl: don't test for it anymore
5534
5535 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5536         * perl/Amanda/Changer.pm: new with_locked_state method to help
5537           subclasses access a locked statefile
5538         * installcheck/Amanda_Changer.pl: test new method
5539         * perl/Amanda/Changer/disk.pm: use new method
5540
5541 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5542         * common-src/amflock.h common-src/amflock.c: new fcntl-based
5543           file locking support
5544         * common-src/amflock-test.c: test them
5545         * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
5546         * installcheck/Amanda_Util.pl: test that too
5547
5548 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
5549         * gnulib/regenerate/regenerate: add ftruncate and lseek modules
5550         * config/config.rpath config/gnulib/* gnulib/*: new modules
5551
5552 2009-07-14  Dustin J. Mitchell <dustin@zmanda.com>
5553         * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
5554         * installcheck/Amanda_DB_Catalog.pl: test same
5555
5556 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
5557         * server-src/driverio.c: Print strerror if update of infofile failed.
5558
5559 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
5560         * config/automake/scripts.am: Fix *.nouselib creation.
5561
5562 2009-07-13  Dustin J. Mitchell <dustin@zmanda.com>
5563         * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
5564         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
5565           perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
5566           implement
5567         * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
5568           installcheck/Amanda_Changer_compat.pl
5569           installcheck/Amanda_Changer_disk.pl
5570           installcheck/Amanda_Changer_null.pl
5571           installcheck/Amanda_Changer_rait.pl
5572           installcheck/Amanda_Changer_single.pl
5573           server-src/amvault.pl: use new key
5574
5575 2009-07-13  Jean-Louis Martineau <martineau@zmanda.com>
5576         * application-src/amsamba.pl: Fix parsing domain in amandapass.
5577
5578 2009-07-11  Dustin J. Mitchell <dustin@zmanda.com>
5579         * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
5580
5581 2009-07-10  Nikolas Coukouma <atrus@zmanda.com>
5582         * device-src/s3-device.c: fix calls to erase() before start()
5583         * installcheck/data/aws-bundle.crt: use a larger certificate bundle
5584         * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
5585           with custom certificate bundle, test erase() before start(),
5586           try to do more with an invalid certificate bundle
5587
5588 2009-07-10  Dustin J. Mitchell <dustin@zmanda.com>
5589         * configure.in: don't generate all of the example/ files here
5590         * example/Makefile.am: generate them here
5591         * example/chg-mcutil.conf.in: removed
5592         * example/config.site: removed
5593
5594 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5595         * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
5596           instead of 'current', as required by previous change
5597
5598 2009-07-09  Alan Hodgson <ahodgson@simkin.ca>
5599         * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
5600         * man/xml-source/amgtar.8.xml: document them
5601
5602 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5603         * common-src/util.c common-src/util.h: add quote_string_always
5604         * common-src/conffile.c: use it to quote strings on output from config
5605
5606 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5607         * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
5608           VERSION_MAJOR, _MINOR, etc.
5609         * common-src/version.h: remove everything but version_info
5610         * client-src/versionsuffix.c client-src/Makefile.am: remove
5611           versionsuffix app
5612         * configure.in: remove versuff.c
5613         * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
5614           USE_VERSION_SUFFIXES
5615         * other source files: change version() to VERSION, remove
5616           versionsuffix() calls, remove unnecessary #include "version.h",
5617           and remove other uses of suffixes
5618
5619 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5620         * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
5621          of 'current', so the vtape root works as a device
5622         * man/xml-source/amanda-changers.7.xml: document
5623
5624 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5625         * amandad-src/amandad.c: conditionalize UID checks
5626
5627 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5628         * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
5629           prefer 'application' and 'script' to 'application-tool' and
5630           'script-tool', but accept both
5631         * common-src/amgetconf.pl: accept both
5632         * installcheck/Installcheck/Config.pm: add_text()
5633         * installcheck/Amanda_Config.pl: test changes
5634         * installcheck/amgetconf.pl: test changes
5635         * man/xml-source/amanda-client.conf.5.xml: document
5636         * man/xml-source/amanda.conf.5.xml: document
5637
5638 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
5639         * AUTHORS: update, add notes about contribution licensing
5640
5641 2009-07-06  Dustin J. Mitchell <dustin@zmanda.com>
5642         * changer-src/chg-glue.pl: unref the device, in hopes it will
5643           close the open file descriptor so that tape devices can be used
5644           from the process that invoked chg-glue
5645
5646 2009-07-03  Dustin J. Mitchell <dustin@zmanda.com>
5647         * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
5648
5649 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
5650         * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
5651
5652 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
5653         * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
5654           perl/Makefile.am: add Perl implementation of the traditional taperscan
5655           algorithm
5656         * installcheck/Amanda_Taper_Scan.pl
5657           installcheck/Amanda_Taper_Scan_traditional.pl
5658           installcheck/Makefile.am: test
5659         * perl/Amanda/Changer/disk.pm: test support tweak
5660         * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
5661           with a full description of the traditional algo
5662         * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
5663
5664 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
5665         * perl/Amanda/MainLoop.swg: add synchronized()
5666         * perl/Amanda/MainLoop.pod: document it
5667         * installcheck/Amanda_MainLoop.pl: test it
5668         * perl/Amanda/Changer/compat.pm: and use it
5669
5670 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
5671         * device-src/s3.c, installcheck/Amanda_Device.pl:
5672           Don't allow dots in bucket names, for compatability with
5673           libcurl built against NSS.
5674
5675 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
5676         * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
5677           Test using a certificate bundle with the S3 device
5678
5679 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
5680         * common-src/conffile.c: New ORDER keyword in script section.
5681         * common-src/conffile.h: New ORDER keyword in script section.
5682         * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
5683         * perl/Amanda/Config.swg: Bing ORDER keyword.
5684         * application-src/amlog-script.pl: Add --text parameter.
5685         * installcheck/pp-scripts.pl: Check execution order.
5686
5687 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
5688         * restore-src/amfetchdump.c, restore-src/amrestore.c,
5689           restore-src/restore.c: Add debugging.
5690
5691 2009-06-22  Jean-Louis Martineau <martineau@zmanda.com>
5692         * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
5693
5694 2009-06-19 Dan Locks <dwlocks@zmanda.com>
5695         * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
5696           changes to packages.
5697
5698 2009-06-19 Dan Locks <dwlocks@zmanda.com>
5699         * packaging/deb/server/control, packaging/deb/client/control: update
5700           depends to list libcurl3 or 4.
5701
5702 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
5703         * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
5704           explicit about maintaining tape order with a stable sort
5705         * perl/Amanda/Tapelist.pod: document it
5706         * man/xml-source/tapelist.5.xml: manpages too
5707         * installcheck/Amanda_Tapelist.pl: test it
5708         * installcheck/Makefile.am: sort alphabetically
5709
5710 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
5711         * perl/Amanda/Util.swg: expose get_fs_usage in perl
5712         * installcheck/Amanda_Util.pl: test it
5713         * perl/Amanda/Util.pod: document it
5714
5715 2009-06-19  Jean-Louis Martineau <martineau@zmanda.com>
5716         * server-src/reporter.c: Use the filenum from the PART line.
5717                                  Keep the filenum of the first part.
5718
5719 2009-06-19  Nikolas Coukouma <atrus@zmanda.com>
5720         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
5721           application-src/amlog-script.pl, application-src/ampgsql.pl,
5722           application-src/amsamba.pl, application-src/amsuntar.pl,
5723           application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
5724           application-src/script-email.pl, changer-src/chg-glue.pl,
5725           common-src/amaespipe.sh, common-src/amcryptsimple.pl,
5726           common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
5727           common-src/event-test.c, common-src/glib-util.c,
5728           common-src/glib-util.h, common-src/queueing-test.c,
5729           common-src/queueing.c, common-src/queueing.h,
5730           common-src/quoting-test.c, common-src/semaphore-test.c,
5731           common-src/semaphore.c, common-src/semaphore.h,
5732           common-src/simpleprng.c, common-src/simpleprng.h,
5733           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
5734           common-src/testutils.c, common-src/testutils.h,
5735           config/automake/scripts.am, config/automake/vars.am,
5736           config/macro-archive/docbook-dtd.m4,
5737           config/macro-archive/docbook-xslt-min.m4,
5738           config/macro-archive/docbook-xslt.m4,
5739           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
5740           device-src/amtapetype.pl, device-src/device-queueing.c,
5741           device-src/device-queueing.h, device-src/device.c,
5742           device-src/device.h, device-src/null-device.c, device-src/property.c,
5743           device-src/property.h, device-src/rait-device.c,
5744           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
5745           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
5746           device-src/tape-device.c, device-src/tape-device.h,
5747           device-src/tape-ops.h, device-src/tape-posix.c,
5748           device-src/tape-uware.c, device-src/tape-xenix.c,
5749           device-src/vfs-device.c, device-src/vfs-test.c,
5750           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
5751           device-src/xfer-device.h, device-src/xfer-source-device.c,
5752           installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
5753           installcheck/Amanda_Changer_compat.pl,
5754           installcheck/Amanda_Changer_disk.pl,
5755           installcheck/Amanda_Changer_null.pl,
5756           installcheck/Amanda_Changer_rait.pl,
5757           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
5758           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
5759           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
5760           installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
5761           installcheck/Amanda_Holding.pl,
5762           installcheck/Amanda_IPC_LineProtocol.pl,
5763           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
5764           installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
5765           installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
5766           installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
5767           installcheck/Installcheck/Application.pm,
5768           installcheck/Installcheck/Changer.pm,
5769           installcheck/Installcheck/Config.pm,
5770           installcheck/Installcheck/Dumpcache.pm,
5771           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
5772           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
5773           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
5774           installcheck/amdump.pl, installcheck/amfetchdump.pl,
5775           installcheck/amgetconf.pl, installcheck/amgtar.pl,
5776           installcheck/ampgsql.pl, installcheck/amreport.pl,
5777           installcheck/amrmtape.pl, installcheck/amservice.pl,
5778           installcheck/amstatus.pl, installcheck/amtape.pl,
5779           installcheck/amtapetype.pl, installcheck/bigint.pl,
5780           installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
5781           installcheck/pp-scripts.pl, installcheck/taper.pl,
5782           perl/Amanda/Application.pod, perl/Amanda/Application.swg,
5783           perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
5784           perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
5785           perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
5786           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
5787           perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
5788           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
5789           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
5790           perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
5791           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
5792           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
5793           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
5794           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
5795           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
5796           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
5797           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
5798           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
5799           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
5800           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
5801           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
5802           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
5803           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
5804           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
5805           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
5806           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
5807           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
5808           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
5809           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
5810           server-src/amcheckdump.pl, server-src/amcleanup.pl,
5811           server-src/amrmtape.pl, server-src/amserverconfig.pl,
5812           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
5813           server-src/taper-disk-port-source.c,
5814           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
5815           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
5816           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
5817           server-src/taper-port-source.h, server-src/taper-source.c,
5818           server-src/taper-source.h, server-src/taperscan.c,
5819           server-src/taperscan.h, server-src/xfer-server.h,
5820           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
5821           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
5822           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
5823           xfer-src/source-pattern.c, xfer-src/source-random.c,
5824           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
5825           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
5826           xfer-src/xmsg.c, xfer-src/xmsg.h:
5827           update/correct copyright notice years
5828
5829 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
5830         * config/automake/scripts.am: support scripts with subdirs
5831
5832 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
5833         * installcheck/mock/mtx.pl: new "mock" mtx for testing
5834         * installcheck/mock_mtx.pl: test the test mtx
5835         * installcheck/Installcheck/Mock.pm: support for using mtx
5836         * installcheck/Installcheck/Run.pm: don't apply sbindir if there
5837           are any slashes in the app name
5838         * installcheck/Makefile.am: new files
5839
5840 2009-06-16  Jean-Louis Martineau <martineau@zmanda.com>
5841         * server-src/planner.c: Fix for bump from level 9 to 10.
5842
5843 2009-06-13  Dustin J. Mitchell <dustin@zmanda.com>
5844         * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
5845           calls to chg-compat's info() (tests the fix committed 2009-06-01)
5846
5847 2009-06-12  Dustin J. Mitchell <dustin@zmanda.com>
5848         * config/amanda/flags.m4: fix --enable-werror macro
5849
5850 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
5851         * server-src/planner.c: Print how tape_length is computed.
5852
5853 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
5854         * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
5855         * man/xml-source/amanda-client.conf.5.xml: Typo.
5856         * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
5857
5858 2009-06-11  Nikolas Coukouma <atrus@zmanda.com>
5859         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
5860           common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
5861           common-src/queueing.h, common-src/semaphore-test.c,
5862           common-src/semaphore.c, common-src/semaphore.h,
5863           config/automake/scripts.am, config/automake/vars.am,
5864           device-src/device-queueing.c, device-src/device-queueing.h,
5865           device-src/device.c, device-src/device.h, device-src/null-device.c,
5866           device-src/property.c, device-src/property.h,
5867           device-src/rait-device.c, device-src/s3-device.c,
5868           device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
5869           device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
5870           device-src/tape-device.h, device-src/tape-ops.h,
5871           device-src/tape-posix.c, device-src/tape-uware.c,
5872           device-src/tape-xenix.c, device-src/vfs-device.c,
5873           device-src/vfs-test.c, device-src/xfer-dest-device.c,
5874           device-src/xfer-dest-taper.c, device-src/xfer-device.h,
5875           device-src/xfer-source-device.c, perl/Amanda/Application.pod,
5876           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
5877           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
5878           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
5879           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
5880           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
5881           perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
5882           perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
5883           perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
5884           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
5885           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
5886           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
5887           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
5888           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
5889           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
5890           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
5891           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
5892           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
5893           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
5894           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
5895           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
5896           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
5897           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
5898           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
5899           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
5900           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
5901           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
5902           perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
5903           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
5904           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
5905           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
5906           server-src/taper-port-source.h, server-src/taper-source.c,
5907           server-src/taper-source.h, server-src/xfer-server.h,
5908           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
5909           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
5910           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
5911           xfer-src/source-pattern.c, xfer-src/source-random.c,
5912           xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
5913           xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
5914           relincense LGPL files under the GPL
5915
5916 2009-06-10  Paul C. Mantz <pcmantz@zmanda.com>
5917         * perl/Amanda/Application.pod: moved from .swg file
5918         * perl/Amanda/Application.swg: removed pod documentation
5919         * perl/Amanda/Archive.pod: moved from .swg file
5920         * perl/Amanda/Archive.swg: removed pod documentation
5921         * perl/Amanda/Cmdline.pod: moved from .swg file
5922         * perl/Amanda/Cmdline.swg: removed pod documentation
5923         * perl/Amanda/Config.pod: moved from .swg file
5924         * perl/Amanda/Config.swg: removed pod documentation
5925         * perl/Amanda/Debug.pod: moved from .swg file
5926         * perl/Amanda/Debug.swg: removed pod documentation
5927         * perl/Amanda/Device.pod: moved from .swg file
5928         * perl/Amanda/Device.swg: removed pod documentation
5929         * perl/Amanda/Disklist.pod: moved from .swg file
5930         * perl/Amanda/Disklist.swg: removed pod documentation
5931         * perl/Amanda/Header.pod: moved from .swg file
5932         * perl/Amanda/Header.swg: removed pod documentation
5933         * perl/Amanda/Logfile.pod: moved from .swg file
5934         * perl/Amanda/Logfile.swg: removed pod documentation
5935         * perl/Amanda/MainLoop.pod: moved from .swg file
5936         * perl/Amanda/MainLoop.swg: removed pod documentation
5937         * perl/Amanda/Tapelist.pod: moved from .swg file
5938         * perl/Amanda/Tapelist.swg: removed pod documentation
5939         * perl/Amanda/Tests.pod: moved from .swg file
5940         * perl/Amanda/Tests.swg: removed pod documentation
5941         * perl/Amanda/Util.pod: moved from .swg file
5942         * perl/Amanda/Util.swg: removed pod documentation
5943         * perl/Amanda/Xfer.pod: moved from .swg file
5944         * perl/Amanda/Xfer.swg: removed pod documentation
5945         * perl/Amanda/XferServer.pod: moved from .swg file
5946         * perl/Amanda/XferServer.swg: removed pod documentation
5947         * perl/Makefile.am: added pod files to tar dist
5948
5949 2009-06-05  Nikolas Coukouma <atrus@zmanda.com>
5950         * installcheck/Amanda_Device.pl: test device named just "s3:"
5951
5952 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
5953         * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
5954           Olsen <herolsen@alumni.upenn.edu>
5955
5956 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
5957         * config/amanda/dumpers.m4: fix quoting for shell portability
5958
5959 2009-06-02  Nikolas Coukouma <atrus@zmanda.com>
5960         * device-src/s3.c: retry S3 uploads on DNS failure
5961
5962 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
5963         * installcheck/Installcheck/Config.pm: add remove_param
5964         * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
5965
5966 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
5967         * perl/Amanda/Header.swg: add :constant tag
5968         * server-src/amvault.pl: use it
5969
5970 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
5971         * device-src/s3-device.c: start delete at file 1
5972
5973 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
5974         * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
5975
5976 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
5977         * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
5978           message before existing; fixes problems on OS X
5979
5980 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
5981         * server-src/amindexd.c: fix sscanf.
5982
5983 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
5984         * server-src/reporter.c: Print only the first 100 lines in FAiL and
5985                                  STRANGE detail section.
5986
5987 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
5988         * common-src/match.c: Match UNC name diskname.
5989         * man/xml-source/amanda.8.xml: Document UNC matcher.
5990
5991 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
5992         * client-src/client_util.c: Improve error reporting.
5993         * client-src/sendsize.c: Typo
5994         * client-src/selfcheck.c: Execute application with --calcsize even if
5995                                   it not the first estimate.
5996         * application-src/amgtar.c: Check calcsize binary.
5997         * application-src/amstar.c: Check calcsize binary.
5998         * server-src/planner.c: log sendsize error as warning if a server
5999                                 estimate is available.
6000
6001 2009-05-26  Jean-Louis Martineau <martineau@zmanda.com>
6002         * application-src/amgtar.c: Set MAX_LEVEL to 399.
6003         * common-src/amanda.h: Set DUMP_LEVELS to 400.
6004         * client-src/amandates.h: Remove DUMP_LEVELS.
6005         * server-src/infofile.h: Remove DUMP_LEVELS
6006         * server-src/amtrmidx.c: Fix for level with more than one digit.
6007         * server-src/amindexd.c, server-src/find.c
6008           server-src/reporter.c: Use DUMP_LEVELS.
6009
6010 2009-05-25  Dustin J. Mitchell <dustin@zmanda.com>
6011         * device-src/xfer-dest-taper.c: make the pointers, not the objects,
6012           volatile
6013
6014 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
6015         * common-src/fileheader.c: use %zu for a size_t argument.
6016
6017 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
6018         * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
6019         * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
6020         * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
6021
6022 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
6023         * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
6024         * perl/Amanda/Util.swg: add split_quoted_strings
6025         * common-src/util.c: handle NULL string correctly
6026         * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
6027           installcheck/Makefile.am: tests for all
6028
6029 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
6030         * installcheck/amservice.pl: call $testconfig->write();
6031
6032 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
6033         * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
6034           size heuristic; handle the case where extra slabs are still in memory
6035           when rewinding a disk-cached part; add 'volatile' and make memory
6036           access safer; use a cache directory, not file
6037         * device-src/xfer-device.h: use a cache directory, not file
6038         * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
6039         * perl/Amanda/Xfer.swg: use cache directory
6040         * perl/Amanda/XferServer.swg: use cache directory
6041
6042 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6043         * common-src/fileheader.c: use %zd for a size_t argument
6044
6045 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6046         * common-src/fileheader.c: don't automatically call dump_fileheader_t
6047           in build_header
6048         * server-src/dumper.c server-src/holding.c server-src/taper.c
6049           server-src/chunker.c: add debug messages as necessary
6050
6051 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6052         * device-src/amdevcheck.pl: move from server-src/
6053         * device-src/Makefile.am server-src/Makefile.am: move script
6054
6055 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6056         * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
6057         * installcheck/Amanda_Changer_compat.pl: test it
6058
6059 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
6060         * amandad-src/Makefile.am application-src/Makefile.am
6061           oldrecover-src/Makefile.am recover-src/Makefile.am
6062           restore-src/Makefile.am: remove LIB_EXTENSION
6063         * config/amanda/defaults.m4 config/amanda/devprefix.m4
6064           config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
6065           config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
6066           config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
6067           config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
6068           AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
6069           compilers!)
6070
6071 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
6072         * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
6073
6074 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
6075         * client-src/sendbackup.c: Compatibity with 2.4.2 server.
6076
6077 2009-05-22  Dustin J. Mitchell <dustin@zmanda.com>
6078         * device-src/vfs-device.c: close the tapelabel file after reading it
6079
6080 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
6081         * server-src/planner.c: Fix for 'estimate calcsize server' with older
6082                                 client.
6083
6084 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
6085         * common-src/queueing.c: set queue_fd->errmsg.
6086         * restore-src/restore.c: report queue_fd.errmsg
6087         * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
6088           Check validation status before reporting status.
6089
6090
6091 2009-05-21  Dustin J. Mitchell <dustin@zmanda.com>
6092         * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
6093
6094 2009-05-20  Jean-Louis Martineau <martineau@zmanda.com>
6095         * restore-src/restore.c: Report error.
6096
6097 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6098         * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
6099           is true; same for tapedev
6100
6101 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6102         * server-src/changer.c: revert a change (from 2009-02-20) which caused
6103           taperscan to not do a sequential scan if stage one fails
6104
6105 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6106         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6107           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
6108           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
6109           add a fast_search info key
6110         * installcheck/Amanda_Changer_compat.pl
6111           installcheck/Amanda_Changer_disk.pl
6112           installcheck/Amanda_Changer_null.pl
6113           installcheck/Amanda_Changer_rait.pl
6114           installcheck/Amanda_Changer_single.pl: test it
6115         * changer-src/chg-glue.pl: and use it to reflect searchability to old
6116           changer API users
6117
6118 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
6119         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
6120           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
6121           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
6122           changers return full devices, not just device names, and
6123           configure those devices based on device_property parameters
6124           specified in 'changer' configuration sections
6125         * changer-src/chg-glue.pl: return the device_name from the device
6126           (thereby losing the config info)
6127         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
6128           add changer properties and device_properties
6129         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
6130           installcheck/Amanda_Changer_disk.pl
6131           installcheck/Amanda_Changer_null.pl
6132           installcheck/Amanda_Changer_rait.pl
6133           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
6134           installcheck/amrmtape.pl: test changer changes
6135         * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
6136           device manually
6137
6138 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
6139         * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
6140         * installcheck/Amanda_MainLoop.pl: ..so don't test it
6141
6142 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
6143         * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
6144           in many cases
6145
6146 2009-05-19  Jean-Louis Martineau <martineau@zmanda.com>
6147         * common-src/conffile.c: Add reapply_config_overwrites.
6148         * common-src/conffile.h: Add prototype of reapply_config_overwrites.
6149         * perl/Amanda/Config.swg: Add reapply_config_overwrites.
6150         * recover-src/amrecover.c: Call reapply_config_overwrites.
6151
6152 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
6153         * perl/Amanda/MainLoop.swg: new high-level call_after,
6154           call_on_child_termination, async_read, async_write; POD for new functions; and
6155           description of good async style
6156         * installcheck/Amanda_MainLoop.pl: test new functions
6157         * perl/amglue/filehandles.swg: use SvIOK
6158
6159 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
6160         * perl/Makefile.am: add -Werror on gcc
6161
6162 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
6163         * server-src/driver.c: Fix crash in amflush.
6164
6165 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6166         * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
6167           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
6168           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
6169           perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
6170           perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
6171
6172 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6173         * installcheck/Installcheck.pm:always create $Installcheck::TMP;
6174           package returns 1
6175         * installcheck/Installcheck/Run.pm: export run_expect
6176         * installcheck/amarchiver.pl: quote a path
6177
6178 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6179         * perl/Amanda/Changer/compat.pm: qualify one last debug message
6180
6181 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6182         * perl/Amanda/XferServer.swg: include xfer-server.h
6183
6184 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
6185         * common-src/debug.c common-src/debug.h: refactor set_logerr
6186           and erroutput_type into a more flexible amanda_log_handler system
6187         * server-src/logfile.c server-src/logfile.h: provide
6188           amanda_log_trace_log
6189         * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
6190         * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
6191         * amandad-src/amandad.c application-src/amgtar.c
6192           application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
6193           client-src/sendbackup.c client-src/sendsize.c
6194           restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
6195           server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
6196           server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
6197           server-src/chunker.c server-src/driver.c server-src/dumper.c
6198           server-src/planner.c server-src/reporter.c server-src/taper.c: use new
6199           system
6200
6201 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
6202         * common-src/debug.c: Fix memory leak.
6203
6204 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
6205         * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
6206           refactoring
6207         * installcheck/Amanda_Changer_rait.pl: update tests to expect it
6208
6209 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
6210         * perl/Amanda/Device.swg: parse string values for properties
6211         * installcheck/Amanda_Device.pl: test
6212
6213 2009-05-12  Jean-Louis Martineau <martineau@zmanda.com>
6214         * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
6215
6216 2009-05-08  Dustin J. Mitchell <dustin@zmanda.com>
6217         * perl/Amanda/Logfile.swg: add log_add
6218         * installcheck/Amanda_Logfile.pl: test it
6219
6220 2009-05-08  Jean-Louis Martineau <martineau@zmanda.com>
6221         * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
6222
6223 2009-05-07  Chris Hoogendyk <hoogendyk@bio.umass.edu>
6224         * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
6225           "service"
6226
6227 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
6228         * server-src/changer.c: remove unused variable
6229
6230 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
6231             Jean-Louis Martineau <martineau@zmanda.com>
6232         * common-src/debug.c: do not use a mutex in debug_printf
6233         * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
6234           do not call debug_printf after fork()
6235
6236 2009-05-06  Dustin J. Mitchell <dustin@zmanda.com>
6237         * server-src/taper.c: check for division by zero and don't print 'nan'
6238           for kbps
6239         * installcheck/taper.pl: don't expect 'nan'
6240
6241 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
6242         * server-src/amrmtape.pl: try loading disklist before erasing,
6243           before amadmin tries (and possibly fails)
6244
6245 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
6246         * man/xml-source/amdevcheck.8.xml: Document exit code.
6247         * server-src/amdevcheck.pl: change exit code.
6248
6249 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
6250         * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
6251           taper
6252         * installcheck/Installcheck/Config.pm: cleanup
6253         * installcheck/Installcheck/Run.pm: cleanup
6254
6255 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
6256         * server-src/taper-mem-port-source.c
6257           server-src/taper-disk-port-source.c: continue reading from the port
6258           after the cache is exhausted, instead of terminating the part abruptly
6259           (which can lead to insertion of spurious zeros into the dumpfile);
6260           also remove some unnecessary assertions (g_return_val_if_fail)
6261         * server-src/taper-file-source.c: use correct unit on part size;
6262           correctly calculate estimated number of parts
6263         * server-src/taper-port-source.c: replace assertion with 'if'
6264
6265 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
6266         * server-src/amdevcheck.pl: Add '--label' option.
6267         * man/xml-source/amdevcheck.8.xml: Document '--label' option.
6268
6269 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
6270         * application-src/ampgsql.pl: accept gnutar-path option;
6271           use absolute path when calling unlink()
6272
6273 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
6274         * server-src/taper.c: do not include a partial part in the size
6275           calculation
6276
6277 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6278         * server-src/driver.c: Fix deadlock.
6279
6280 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6281         * application-src/amgtar.c, application-src/amstar.c: Validate if
6282           binary not available.
6283
6284 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6285         * application-src/amstar.c: Compile pattern once.
6286                                     Remove a superfluous '\n'.
6287
6288 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
6289         * application-src/amstar.c: Handle hard link.
6290
6291 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
6292         * server-src/changer.c: s/execve/execv
6293
6294 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
6295         * server-src/changer.c: Pass command override to chg-glue.
6296         * changer-src/chg-glue.pl: Parse command override.
6297
6298 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6299         * server-src/amadmin.c: Fix error reporting in find subcommand.
6300
6301 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6302         * recover-src/amrecover.h: Change prototype.
6303         * recover-src/extract_list.c: merge_path, abort if cd_* failed.
6304         * recover-src/set_commands.c: Many functions return 0 or 1.
6305
6306 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6307         * application-src/amsuntar.pl: Fix redirection in validate command.
6308
6309 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6310         * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
6311           man/xml-source/amflush.8.xml,
6312           man/xml-source/amrestore.8.xml: Fix order of -o argument.
6313         * restore-src/amfetchdump.c, restore-src/amrestore.c,
6314           server-src/amcheck.c,
6315           server-src/amflush.c: Fix order of -o argument in usage function.
6316
6317 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
6318         * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
6319                                        expression section.
6320
6321 2009-04-28  Nikolas Coukouma <atrus@zmanda.com>
6322         * application-src/ampgsql.pl: remove checks for PG-DATADIR
6323
6324 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
6325         * application-src/ampgsql.pl: lowercase property names when accessing them
6326
6327 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
6328         * application-src/ampgsql.pl: fix debug printing of property names,
6329           add parent directory checks to selfcheck command,
6330           check psql binary path, fix whitespace
6331         * perl/Amanda/Application.swg: update usage docs
6332         * installcheck/Installcheck/Application.pm: fix formatting tags
6333           remove 'level' argument from selfcheck command
6334         * installcheck/ampgsql.pl: test selfcheck command a bit
6335
6336 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
6337         * server-src/amcheck.c: Remove "Usage of fully qualified hostname
6338           recommended for Client" warning.
6339
6340 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
6341         * application-src/amsamba.pl: Use device if specified.
6342
6343 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
6344         * client-src/sendbackup.c: Fix dbprintf statements.
6345
6346 2009-04-24  Jean-Louis Martineau <martineau@zmanda.com>
6347         * application-src/amsuntar.pl: Add LANG property.
6348         * man/xml-source/amsuntar.8.xml: Document LANG property.
6349
6350 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
6351         * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
6352           add strange regex for UTF-8, estimate fail only if an output match
6353           an error regex or if an output match nothing.
6354
6355 2009-04-23  Dustin J. Mitchell <dustin@zmanda.com>
6356         * server-src/amcheckdump.pl: request tapes manually when using
6357           Amanda::Changer::single
6358
6359 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
6360         * application-src/amsuntar.pl: Fix validate command.
6361
6362 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
6363         * server-src/amcheckdump.pl: Wait for an input before reading tape.
6364
6365 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
6366         * application-src/amsamba.pl: Parse username ending with '%'.
6367
6368 2009-04-22  Sam Couter <sam@couter.id.au>
6369         * changer-src/chg-glue.pl: return a helpful error message when
6370           Amanda::Changer->new() fails
6371
6372 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
6373         * server-src/amstatus.pl: Print percentage done when writing to tape.
6374
6375 2009-04-21  Dustin J. Mitchell <dustin@zmanda.com>
6376         * server-src/Makefile.am server-src/xfer-server.h
6377           server-src/xfer-source-holding.c: new module reading from holding
6378           files
6379         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
6380           perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
6381           Amanda::Xfer::Source::Holding
6382         * device-src/xfer-dest-taper.c: make class macros public; ignore
6383           cache_inform when part_size == 0
6384         * device-src/xfer-device.h: xfer-dest-taper class macros
6385         * xfer-src/amxfer.h: include element-glue.h
6386         * installcheck/Amanda_Xfer_serveronly.pl: updated tests
6387
6388 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
6389         * server-src/diskfile.c: Typo.
6390
6391 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
6392         * server-src/diskfile.c: Print ", quoting may not be correct".
6393
6394 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
6395         * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
6396           property to 'tape:' driver.
6397         * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
6398           property, set is_eof to FLASE where needed.
6399         * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
6400         * device-src/tape-aix.c, device-src/tape-uware.c,
6401           device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
6402           for FSF_AFTER_FILEMARK.
6403         * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
6404           property.
6405         * xfer-src/dest-null.c: Remove bogus assert.
6406         * device-src/amtapetype.pl: New -p option to discover driver properties,
6407           it can find value for the 'FSF_AFTER_FILEMARK' property.
6408         * man/xml-source/amtapetype.8.xml: Document -p options
6409
6410 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
6411         * client-src/sendsize.c: Typo
6412         * server-src/planner.c: Don't log failed estimate message.
6413
6414 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
6415         * device-src/tape-device.c: handle EROFS in open.
6416
6417 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
6418         * changer-src/chg-zd-mtx.sh: Improve error message.
6419
6420 2009-04-20  Dustin J. Mitchell <dustin@zmanda.com>
6421         * device-src/tape-device.c: improve error messages on reading/writing
6422
6423 2009-04-17  Nikolas Coukouma <atrus@zmanda.com>
6424         * device-src/device.c: fix error message for unparsable property
6425         * installcheck/Amanda_Device.pl: test error message
6426
6427 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
6428         * server-src/cmdline.c: host, disk and timestamp argument are not regex
6429
6430 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
6431         * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
6432
6433 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
6434         * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
6435                                        properties.
6436         * man/xml-source/amsuntar.8.xml: Document them.
6437
6438 2009-04-16  Dustin J. Mitchell <dustin@zmanda.com>
6439         * perl/Amanda/MainLoop.swg: get call_later order right, more useful
6440           sub names
6441         * installcheck/Amanda_MainLoop.pl: tests for same
6442
6443 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
6444         * server-src/amcheckdump.pl: Fix three typos.
6445
6446 2009-04-16  Nikolas Coukouma <atrus@zmanda.com>
6447         * server-src/amcheckdump.pl: Print per-image status messages,
6448           with detailed error info
6449
6450 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6451         * application-src/amsamba.pl: Fix parsing of username...
6452
6453 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6454         * server-src/amcheckdump.pl: Validate image if all part are available.
6455
6456 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6457         * client-src/sendsize.c: Don't report "can't estimate level" error.
6458
6459 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
6460         * server-src/taperscan.c: Make find_brand_new_tape_label return an
6461           error message instead of printing it to stderr.  Make scan_read_label
6462           use the error message from find_brand_new_tape_label.
6463
6464 2009-04-15  Dustin J. Mitchell <dustin@zmanda.com>
6465         * restore-src/amfetchdump.c: keep the order of tapes within a
6466           particular run of Amanda
6467
6468 2009-04-15  Nikolas Coukouma <atrus@zmanda.com>
6469         * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
6470           and more pleasant to debug.
6471         * installcheck/Amanda_Changer.pl,
6472           installcheck/Amanda_Changer_compat.pl,
6473           installcheck/Amanda_Changer_disk.pl,
6474           installcheck/Amanda_Changer_null.pl,
6475           installcheck/Amanda_Changer_rait.pl,
6476           installcheck/Amanda_Changer_single.pl,
6477           perl/Amanda/Changer.pm,
6478           perl/Amanda/Changer/compat.pm,
6479           perl/Amanda/Changer/disk.pm,
6480           perl/Amanda/Changer/null.pm,
6481           perl/Amanda/Changer/rait.pm,
6482           perl/Amanda/Changer/single.pm,
6483           perl/Amanda/MainLoop.swg,
6484           server-src/amrmtape.pl,
6485           server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
6486
6487 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6488         * application-src/amsamba.pl: Default amandapass file is
6489                                       CONFIG_DIR/amandapass.
6490
6491 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6492         * common-src/conffile.c: Fix inheriting properties.
6493         * installcheck/Amanda_Config.pl: Test it.
6494
6495 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6496         * amandad-src/amandad.c: Improve error message.
6497
6498 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
6499         * server-src/amstatus.pl: Remove spurious debug message.
6500
6501 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
6502             Satya Ganga <gsat@zmanda.com>
6503         * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
6504
6505 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
6506             Dustin J. Mitchell <dustin@zmanda.com>
6507         Bug found by Gene Heskett.
6508         * server-src/planner.c: Set dp before using it.
6509
6510 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
6511         * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
6512                                       Allow '\' in diskname and amandapass.
6513         * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
6514
6515 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
6516         * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
6517                                        Parse hard link in index.
6518         * server-src/amstatus.pl: Fix amstatus for partial chunker.
6519         * installcheck/amstatus.pl: Test it.
6520         * installcheck/Installcheck/Run.pm: export an $exit_code variable.
6521
6522 2009-04-10  Dustin J. Mitchell <dustin@zmanda.com>
6523         * common-src/conffile.c: fix handling of double-backslash in quoted
6524           strings
6525
6526 2009-04-09  Ray Tracer <RayTracer@irc.freenode.net>
6527         * application-src/amgtar.c: add missing 'break'
6528
6529 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
6530         * common-src/conffile.c: store properties in lower-case
6531         * perl/Amanda/Config.swg: document data formats for config values
6532         * installcheck/Amanda_Config.pl: test case-sensitivity
6533
6534 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
6535         * device-src/rait-device.c: add rait_device_new_from_children
6536         * device-src/device.h: prototype
6537         * perl/Amanda/Device.swg: wrap into perl
6538         * installcheck/Amanda_Device.pl: test
6539
6540 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
6541         * device-src/tape-device.c: fix typo to get device_name right
6542
6543 2009-04-08  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
6544         * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
6545
6546 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
6547         * common-src/fileheader.c: fix early return if PROGRAM not given
6548         * perl/Amanda/Disklist.swg: do not free the C disklist
6549         * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
6550           functionality similar to server-src/holding.[ch]
6551         * server-src/holding.h: clarify comments
6552         * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
6553           installcheck/Makefile.am: tests
6554
6555 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
6556         * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
6557
6558 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
6559         * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
6560
6561 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
6562         * device-src/xfer-dest-taper.c: new xfer element to handle splitting
6563           dumpfiles over multiple volumes, with retry of failed split parts
6564         * device-src/Makefile.am: new file
6565         * device-src/xfer-device.h: new prototype
6566         * installcheck/Amanda_Xfer_serveronly.pl: new tests
6567         * installcheck/Installcheck/Run.pm: increase default vtape size
6568         * perl/Amanda/Xfer.swg: POD for new element
6569         * perl/Amanda/XferDevice.swg: wrap new element
6570         * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
6571
6572 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
6573         * client-drc/sendbackup.c: Init result.
6574
6575 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
6576         * server-src/taper-source.c (default_taper_source_seek_to_part_start):
6577           returns FALSE on not splitted dump.
6578         * server-src/driverio.c: info.last_level should not be set on error
6579                          if level >= info.last_level.
6580         * server-src/driver.c: Rename update_failed_dump_to_tape to
6581           update_failed_dump.
6582           Call update_failed_dump on failed dump to holding disk.
6583         * application-src/amgtar.c: Don't update statefile if the backup failed.
6584         * client-drc/sendbackup.c: Don't update amandates if backup failed.
6585
6586 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
6587         * man/xml-source/amanda-changers.7.xml: Document changerfile for
6588                                                 chg-disk.
6589
6590 2009-04-03  Dustin J. Mitchell <dustin@zmanda.com>
6591         * perl/Amanda/Changer/compat.pm: always configure devices while
6592           scanning
6593         * server-src/amcheckdump.pl: configure devices returned from the
6594           changer
6595
6596 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6597         * application-src/amsamba.pl: Allow empty username.
6598         * man/xml-source/amsamba.8.xml: Document empty username and password.
6599
6600 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6601         * common-src/security-util.c: Fix isdigit use.
6602
6603 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6604         * common-src/conffile.c: New client_port option.
6605         * common-src/conffile.h: New client_port option.
6606         * man/xml-source/amanda-auth.7.xml,
6607           man/xml-source/amanda-client.conf.5.xml,
6608           man/xml-source/amanda.conf.5.xml: New client_port option.
6609         * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
6610         * common-src/bsd-security.c,
6611           common-src/bsdtcp-security.c,
6612           common-src/bsdudp-security.c: Use client_port option.
6613         * common-src/security-util.c: New find_port_for_service function.
6614         * common-src/security-util.h: Prototype for find_port_for_service.
6615         * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
6616         * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
6617         * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
6618         * server-src/amadmin.c (disklist_one): Print client_port.
6619         * server-src/amcheck.c: Fix remote_errors;
6620         * server-src/diskfile.h (disk_t): Add client_port.
6621         * server-src/diskfile.c: Set client_port.
6622         * server-src/driverio.c: Send client_port to dumper.
6623         * server-src/dumper.c: Parse client_port.
6624         * server-src/server_util.c: return client_port.
6625
6626 2009-04-03  Nikolas Coukouma <atrus@zmanda.com>
6627         * device-src/s3-device.c, installcheck/Amanda_Device.pl:
6628           don't require location-compatible name for ignored value
6629
6630 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
6631         * application-src/amsamba.pl: Allow empty password.
6632         * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
6633         * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
6634
6635 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
6636         * server-src/amstatus.pl: prefix error message with "backup failed:"
6637           if a dump to holding disk failed.
6638
6639 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
6640         * server-src/amstatus.pl: Print a taper status.
6641         * server-src/taper.c: Quote TAPE-ERROR reply.
6642
6643 2009-04-02  Dustin J. Mitchell <dustin@zmanda.com>
6644         * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
6645
6646 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
6647         * application-src/amsamba.pl: Typo.
6648
6649 2009-04-01  Dustin J. Mitchell <dustin@zmanda.com>
6650         * device-src/s3-device.c: always send errors from setup_handle
6651
6652 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
6653         * device-src/s3-device.c: don't clobber errors from setup_handle
6654
6655 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
6656         * NEWS: Note change to Amazon S3, add ampgsql
6657
6658 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
6659         * server-src/amcheck.c: Set l on error path.
6660
6661 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
6662         * device-src/s3.c: don't send empty location constraint,
6663           allocate error messages, fix constraint check in case of wildcard
6664         * installcheck/Amanda_Device.pl: actually test location constraints
6665
6666 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
6667         * application-src/ampgsql.pl: add newline to end of index entry
6668
6669 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
6670         * application-src/amsamba.pl: Set $self->{mesgout} before calling
6671                                       method that use it.
6672
6673 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
6674         * application-src/Makefile.am: Remove amgtar_perl.
6675         * application-src/amgtar_perl.pl: Remove file.
6676
6677 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6678         * man/xml-source/amsamba.8.xml: Document amandapass file location.
6679
6680 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6681         * application-src/amsamba.pl: allow relative AMANDAPASS property.
6682         * man/xml-source/amsamba.8.xml: Document amandapass file location.
6683         * ReleaseNotes: amsamba
6684
6685 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6686         * server-src/amcheck.c: exit(1) if match_disklist() return an error.
6687         * server-src/planner.c: Better logging if match_disklist() return an
6688                                 error.
6689
6690 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
6691         * server-src/planner.c: Use new one_est_t,
6692                                 print warning for server guessed estimate.
6693
6694 2009-03-29 Dan Locks <dwlocks@zmanda.com>
6695         * packaging/rpm/amanda.spec: change a number of %if conditionals to
6696           macros which expand if they are defined.
6697
6698 2009-03-29  Nikolas Coukouma <atrus@zmanda.com>
6699         * man/xml-source/amanda-devices.7.xml: add more notes
6700
6701 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
6702         * device-src/s3.c, installcheck/Amanda_Device.pl:
6703           ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
6704           pass others as-is
6705
6706 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
6707         * installcheck/Amanda_Util.pl: fix warning
6708         * perl/Amanda/Util.swg: fix typos
6709
6710 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
6711         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
6712           use a different dummy entry
6713
6714 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
6715         * recover-src/extract_list.c: Add --level argument to application.
6716
6717 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
6718         * application-src/amsuntar.pl: Check for 'symbolic link' in index.
6719
6720 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
6721         * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
6722
6723 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
6724         * installcheck/Amanda_Device.pl: fix test counts
6725         * installcheck/Amanda_Util.pl: fix shadow variable warning
6726
6727 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
6728         * device-src/s3.c: ignore empty s3_user_token
6729         * installcheck/Amanda_Device.pl: test empty s3_user_token
6730
6731 2009-03-26  Dustin J. Mitchell <dustin@zmanda.com>
6732         * man/xml-source/amanda.conf.5.xml: document new estimate changes made
6733           2009-02-04
6734
6735 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
6736         * server-src/planner.c: Remove logging of guessed estimate.
6737
6738 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
6739         * client-src/sendsize.c: Typo.
6740
6741 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
6742         * application-src/ampgsql.pl: Add command_validate.
6743         * application-src/amgtar_perl.pl, application-src/amsamba.pl,
6744           application-src/amsuntar.pl: Sanity check for command_validate.
6745         * perl/Amanda/Application.swg: Add a default_validate function.
6746         * perl/Amanda/Script_App.pm: Execute defulat_validate if
6747                                      command_validate is not defined.
6748
6749 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
6750         * perl/Amanda/Changer.pm: add a 'cmp' operator for
6751           Amanda::Changer::Error objects, to make testing easier
6752
6753 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
6754         * perl/Amanda/Changer.pm: add Amanda::Changer::Error
6755           class to give more detail in changer errors
6756         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
6757           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
6758           perl/Amanda/Changer/single.pm: use it
6759         * changer-src/chg-glue.pl: handle new errors
6760         * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
6761           (chg_err_like) utility function
6762         * installcheck/Amanda_Changer.pl
6763           installcheck/Amanda_Changer_compat.pl
6764           installcheck/Amanda_Changer_disk.pl
6765           installcheck/Amanda_Changer_null.pl
6766           installcheck/Amanda_Changer_rait.pl
6767           installcheck/Amanda_Changer_single.pl: change tests
6768
6769 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
6770         * perl/Amanda/Changer.pm: remove unused import() and export()
6771
6772 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
6773         * device-src/s3.c: fix segfault in s3_make_bucket with location
6774           constraint
6775
6776 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
6777         * perl/Amanda/Util.swg: add full_read and full_write
6778         * installcheck/Amanda_Util.pl: test 'em
6779
6780 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
6781         * application-src/amsuntar.pl: Generate valid index stream.
6782
6783 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
6784         * man/xml-source/amanda-applications.7.xml,
6785           man/xml-source/amanda.8.xml: add missing references to applications
6786
6787 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
6788         * application-src/ampgsql.pl: older versions of perl don't like
6789           mixing functions and export tags
6790
6791 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
6792         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
6793           generate more-complete index, improve debugging and error handling
6794
6795 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
6796         * common-src/conffile.c: Fix line counting, Remove check for plugin.
6797         * server-src/diskfile.c: Add check for plugin.
6798
6799 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
6800         * server-src/planner.c: Default server estimate not larger than half
6801                                 a tape. log a warning.
6802
6803 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
6804         * application-src/amsamba.pl: Fix typo and check if smbclient is set.
6805
6806 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
6807         * application-src/amgtar.c, application-src/amstar.c:
6808           Do sanity check if required arguments are not provided.
6809
6810 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
6811         * AUTHORS: remove "active" status if not committed in over 2 years
6812         * ChangeLog: clean up some messiness
6813         * contrib/changelog_parse.pl: simple parser for ChangeLog
6814
6815 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
6816         * application-src/amgtar.c: Add NO-UNQUOTE to restore.
6817
6818 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
6819         * application-src/amgtar.c, application-src/amgtar_perl.pl,
6820           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
6821           recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
6822         * application-src/amgtar.c: add NO-UNQUOTE property.
6823         * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
6824
6825 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
6826         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
6827           fix ampgsql installchecks
6828
6829 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
6830         * application-src/amgtar.c, application-src/amgtar_perl.pl,
6831           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
6832           recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
6833
6834 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
6835         * application-src/amgtar.c, application-src/amstar.c,
6836           client-src/client_util.c, client-src/client_util.h,
6837           client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
6838           client-src/sendbackup.c, client-src/sendsize.c,
6839           common-src/conffile.c, common-src/conffile.h,
6840           common-src/util.c, oldrecover-src/extract_list.c,
6841           recover-src/extract_list.c,
6842           server-src/server_util.c: Use GPtrArray instead of my_argv[].
6843
6844 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
6845         * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
6846           Document the fact that: The { must appear at the end of a line,
6847                                   and the } on its own line.
6848
6849 2009-03-21  Jean-Louis Martineau <martineau@zmanda.com>
6850         * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
6851
6852 2009-03-20  Jean-Louis Martineau <martineau@zmanda.com>
6853         * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
6854         * recover-src/amrecover.h: Add verbose to many prototype.
6855         * recover-src/extract_list.c: Allow to use path for many command.
6856         * recover-src/set_commands.c: Add verbose to many function.
6857         * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
6858
6859 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
6860         (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
6861         * common-src/Makefile.am: don't include genversion.h in distribution
6862           tarballs
6863
6864 2009-03-19  Jean-Louis Martineau <martineau@zmanda.com>
6865         * man/Makefile.am: Add .SECONDARY target.
6866
6867 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
6868         * man/xslt/expand-sambadoc.xsl:
6869         * man/entities/global.entities.in
6870           man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
6871           for 'SEE ALSO' sections
6872         * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
6873           symbol; tweak tapecycle description
6874
6875 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
6876         * xfer-src/Makefile.am: add -release to libamxfer
6877
6878 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
6879         * server-src/amrmtape.pl, installcheck/amrmtape.pl:
6880           re-label tapes if we --erase them and --keep-label is present
6881
6882 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
6883         * installcheck/Amanda_Process.pl: Fix for OS return perl.
6884
6885 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
6886         * perl/Amanda/Process.pm: Better match of argument.
6887                                   Match 'perl' to any process name.
6888
6889 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
6890         * installcheck/Amanda_Process.pl: Check second argument if first
6891                                           argument start with a dash.
6892         * perl/Amanda/Process.pm: The process name is now returned, not perl.
6893
6894 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
6895         * man/xml-source/amrmtape.8.xml: Fix.
6896         * perl/Amanda/Process.pm: Find the process name if it is a perl script.
6897         * server-src/amrmtape.pl: Check and create the "log" file if --erase.
6898
6899 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
6900         * application-src/ampgsql.pl: fix numerous bugs, improve debug info
6901
6902 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
6903         * application-src/amgtar.c: fix typo causing check-device to be
6904           interpreted incorrectly
6905
6906 2009-03-17  Dustin J. Mitchell <dustin@zmanda.com>
6907         * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
6908           implementation of the info() method
6909         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
6910           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
6911           perl/Amanda/Changer/single.pm: use them
6912         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
6913           test the results
6914
6915 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
6916         * server-src/amlabel.c: give correct exit status on failure
6917
6918 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
6919         * server-src/amstatus.pl: dump in "writing to tape" mode should also
6920                                   be included in the "dumped" summary.
6921
6922 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
6923         * server-src/find.c: Fix listing of partial dump in holding disk.
6924
6925 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
6926         * installcheck/amreport.pl: New file.
6927
6928 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
6929         * common-src/columnar.c: New defaults, allow precision to be set.
6930         * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
6931         * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
6932         * installcheck/Makefile.am: add amreport.
6933         * installcheck/amreport.pl: Check different value of columnspec.
6934         * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
6935
6936 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
6937         * server-src/planner.c: Log quoted qname.
6938
6939 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
6940         * device-src/amtapetype.pl: do not produce broken 'bytes' units
6941         * installcheck/amtapetype.pl: test changes
6942         * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
6943         * common-src/conffile.c: fix default for tapetype:length
6944
6945 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
6946         * common-src/amfeatures.c: improve error handling in
6947           am_string_to_feature, return NULL on error
6948         * amandad-src/amandad_util.c recover-src/amrecover.c
6949           server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
6950           server-src/driver.c server-src/dumper.c server-src/planner.c: always
6951           terminate the string passed to am_string_to_feature
6952
6953 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
6954         * server-src/taper.c: return DONE if input file is partial.
6955
6956 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
6957         * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
6958           value for boolean properties.
6959
6960 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
6961         * server-src/amstatus.pl: Print "failed: process terminated while" for
6962                                   dead run. Change "wait for" for "waiting for".
6963
6964 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
6965         * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
6966         * man/xml-source/amstar.8.xml: Document it.
6967
6968 2009-03-10  Dustin J. Mitchell <dustin@zmanda.com>
6969         * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
6970
6971 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
6972         * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
6973
6974 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
6975         * application-src/ampgsql.pl:
6976           set environment variables when running psql (from selfcheck)
6977
6978 2009-03-07  Nikolas Coukouma <atrus@zmanda.com>
6979         * application-src/ampgsql.pl: add selfcheck to ampgsql
6980
6981 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
6982         * perl/Amanda/Changer/rait.pm: replace die() with a proper error
6983           return
6984
6985 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
6986         * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
6987           config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
6988           configure.in: upgrade to libtool-2.2.4
6989
6990 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
6991         * restore-src/restore.c: remove incorrect assertion
6992
6993 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
6994         * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
6995           on a bad feature string
6996
6997 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
6998         * Makefile.am: always build xfer-src, on client or server
6999         * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
7000           device-src/xfer-device.h device-src/xfer-dest-device.c
7001           device-src/xfer-source-device.c: move device-specific xfer elts to
7002           device-src
7003         * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
7004           generic glue
7005         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
7006           only import server-specific symbols if they are available
7007         * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
7008           installcheck/Amanda_Xfer_serveronly.pl: split into general and
7009           server-specific checks
7010
7011 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
7012         * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
7013           options so we don't print "mkdir ..." lines into our backup data
7014
7015 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>
7016         * installcheck/Amanda_Device.pl: only perform property tests when we
7017           have a working S3 device; and get test counts right
7018
7019 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
7020         * man/xml-source/amanda.conf.5.xml,
7021           man/xml-source/amanda-devices.7.xml,
7022           installcheck/Amanda_Config.pl,
7023           installcheck/Amanda_Device.pl,
7024           common-src/util.c,
7025           common-src/glib-util.c,
7026           common-src/conffile.c,
7027           common-src/conffile.h:
7028           be consistent in the various names for 'true' and 'false' we allow,
7029           specifically in device properties
7030
7031 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
7032         * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
7033           while backing up data dir
7034
7035 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
7036         * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
7037           make ampgsql use runtar (so it can access PostgreSQL's files)
7038
7039 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
7040         * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
7041         * installcheck/Amanda_Changer_rait.pl: test it
7042         * man/xml-source/amanda-changers.7.xml: document it
7043
7044 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
7045         * device-src/rait-device.c: fix failure when parity (last) child
7046           has failed
7047         * installcheck/Amanda_Device.pl: test the fix
7048
7049 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
7050         * changer-src/chg-glue.pl: add debugging
7051         * perl/Amanda/Changer/compat.pm: add debugging
7052
7053 2009-03-03  Nikolas Coukouma <atrus@zmanda.com>
7054         * application-src/ampgsql.pl: don't hang if .backup file never appears
7055
7056 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
7057         * example/amanda-client-postgresql.conf.in:
7058           update example and make it more complete
7059
7060 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
7061         * application-src/ampgsql.pl,
7062           man/xml-source/ampgsql.8.xml: cleanup old WAL files
7063
7064 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
7065         * installcheck/amrmtape.pl,
7066           server-src/amrmtape.pl: zero datestamp with --keep-label
7067
7068 2009-03-01  Nikolas Coukouma <atrus@zmanda.com>
7069         * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
7070
7071 2009-02-27  Jean-Louis Martineau <martineau@zmanda.com>
7072         * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
7073
7074 2009-02-27  Dustin J. Mitchell <dustin@zmanda.com>
7075         * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
7076
7077 2009-02-26  Dustin J. Mitchell <dustin@zmanda.com>
7078         * restore-src/restore.c: if the changer does not provide a device,
7079           use the configured tapedev
7080
7081 2009-02-26  Dan Locks <dwlocks@zmanda.com>
7082         * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
7083           rpm builds will be broken for a bit longer in trunk
7084
7085 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
7086         * application-src/amgtar_perl.pl,
7087           application-src/amlog-script.pl,
7088           application-src/ampgsql.pl,
7089           application-src/amsamba.pl,
7090           application-src/amsuntar.pl,
7091           application-src/amzfs-sendrecv.pl,
7092           application-src/amzfs-snapshot.pl,
7093           application-src/script-email.pl,
7094           perl/Amanda/Application.swg,
7095           perl/Amanda/Script.pm,
7096           perl/Amanda/Script_App.pm:
7097           load config-name/amanda-client.conf as well as amanda-client.conf
7098
7099 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
7100         * application-src/ampgsql.pl,
7101           installcheck/amgtar.pl,
7102           installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
7103
7104 2009-02-25  Nikolas Coukouma <atrus@zmanda.com>
7105         * application-src/amoracle.pl,
7106           application-src/ampgsql.pl,
7107           example/amanda-client-oracle.conf.in,
7108           example/amanda-client-postgresql.conf.in,
7109           installcheck/ampgsql.pl,
7110           man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
7111           in line with conventions
7112
7113 2009-02-24  Jean-Louis Martineau <martineau@zmanda.com>
7114         * amandad-src/amandad.c, application-src/amgtar.c,
7115           changer-src/scsi-changer-driver.c, client-src/client_util.c,
7116           common-src/conffile.c, device-src/s3-device.c,
7117           oldrecover-src/set_commands.c, recover-src/set_commands.c,
7118           server-src/amindexd.c, server-src/planner.c,
7119           server-src/reporter.c: Replace all occurences of index by strchr,
7120                                  Replace all occurences of rindex by strrchr.
7121
7122 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
7123         * device-src/s3.c: make s3_list_keys use its own buffer
7124
7125 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
7126         * device-src/s3.c: fix error buffer handling of overflow data
7127
7128 2009-02-24  Dustin J. Mitchell <dustin@zmanda.com>
7129         * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
7130           property
7131
7132 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
7133         * man/xml-source/ampgsql.8.xml,
7134           man/xml-source/amsamba.8.xml,
7135           man/xml-source/amstar.8.xml,
7136           man/xml-source/amsuntar.8.xml:
7137           document the mapping of configure options to default application
7138           property values
7139
7140 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
7141         * device-src/rait-device.c: actually *report* mismatched child
7142           labels/timestamps; correctly detect the 'first' device; and free old
7143           device label/time
7144
7145 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
7146         * server-src/driver.c: improve confusing out-of-tapes error message
7147
7148 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
7149         * server-src/changer.c: if changer_find is used to search for a
7150           specific tape, do not try a redundant manual scan after the
7151           search fails
7152
7153 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7154         * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
7155           directory to test dumps
7156
7157 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7158         * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
7159           installcheck/Amanda_Changer_disk.pl
7160           installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
7161           installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
7162           installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
7163           installcheck/Installcheck/Config.pm
7164           installcheck/Installcheck/Dumpcache.pm
7165           installcheck/Installcheck/Run.pm installcheck/Makefile.am
7166           installcheck/amarchiver.pl installcheck/amfetchdump.pl
7167           installcheck/amgetconf.pl installcheck/amgtar.pl
7168           installcheck/ampgsql.pl installcheck/amservice.pl
7169           installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
7170           subdirectory of AMANDA_TMPDIR for installcheck temporary files
7171
7172 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7173         * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
7174         * amar-src/amar-test.c common-src/amflock-test.c
7175           common-src/event-test.c common-src/queueing-test.c
7176           common-src/quoting-test.c common-src/semaphore-test.c
7177           device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
7178           drastically
7179
7180 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7181         * common-src/conffile.c: change the default changerfile to
7182           $CONFIG_DIR/changer
7183
7184 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
7185         * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
7186         * device-src/device.c: support PROPERTY_COMMENT
7187         * installcheck/Amanda_Device.pl: test it
7188         * man/xml-source/amanda-devices.7.xml: document it
7189
7190 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
7191         * common-src/conffile.c: Add t, tb, tera, ... suffix.
7192         * man/xml-source/amanda.conf.5.xml: Document it.
7193
7194 2009-02-19  Nikolas Coukouma <atrus@zmanda.com>
7195         * example/amanda-client-postgresql.conf.in,
7196           example/Makefile.am,
7197           man/Makefile.am,
7198           man/xml-source/ampgsql.8.xml,
7199           configure.in,
7200           application-src/Makefile.am,
7201           application-src/ampgsql.pl,
7202           installcheck/Makefile.am,
7203           installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
7204         * installcheck/Installcheck/Application.pm:
7205           fix property names in case of underscores
7206         * installcheck/Installcheck/Run.pm:
7207           if application starts with /, don't assume it's in sbin
7208
7209 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7210         * perl/Amanda/Util.swg: move POD to the top of the file, refomat
7211
7212 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7213         * common-src/util.h common-src/util.c: remove unneeded needs_quotes
7214
7215 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7216         * installcheck/Amanda_Types.pl
7217           installcheck/Amanda_Header.pl: rename Amanda::Types to
7218           Amanda::Header, add to_string and from_string methods
7219         * common-src/fileheader.c: fix bug in returned size
7220         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
7221           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
7222           perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
7223           perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
7224           Amanda::Header
7225
7226 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
7227         * common-src/Makefile.am common-src/queue.h: remove file
7228         * amandad-src/amandad.c common-src/alloc.c
7229           common-src/bsdtcp-security.c common-src/krb5-security.c
7230           common-src/local-security.c common-src/rsh-security.c
7231           common-src/security-util.c common-src/security-util.h
7232           common-src/ssh-security.c: remove includes and replace TAILQ with
7233           GSList
7234
7235 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7236         * config/amanda/krb4-security.m4: Remove file
7237         * common-src/krb4-security.c: Remove file.
7238         * example/config.site, example/amanda.conf.in,
7239           client-src/client_util.c, amandad-src/amandad.c,
7240           man/xml-source/amanda-client.conf.5.xml,
7241           man/xml-source/amanda.conf.5.xml,
7242           man/xml-source/amgetconf.8.xml,
7243           configure.in, server-src/dumper.c,
7244           server-src/diskfile.c, perl/Amanda/Constants.pm.in,
7245           installcheck/Amanda_Config.pl, common-src/amfeatures.h,
7246           common-src/security.c, common-src/security.h,
7247           common-src/genversion.c, common-src/amgetconf.pl,
7248           common-src/conffile.c, common-src/Makefile.am,
7249           common-src/amfeatures.c: Remove krb4 support.
7250
7251 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7252         * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
7253
7254 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7255         * common-src/debug.h common-src/debug.c: add ability to supporess
7256           tracebacks
7257         * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
7258
7259 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7260         * perl/Makefile.am: actually install Amanda::Change::rait
7261
7262 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7263         * common-src/util.c: add missing 'const'
7264
7265 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7266         * common-src/util.c common-src/util.h device-src/rait-device.c
7267           perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
7268           expand_braced_alternates and collapse_braced_alternates out of
7269           rait-device.c and into util.c, and make them available from Perl
7270         * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
7271           perl/Makefile.am: new changers
7272         * installcheck/Amanda_Changer_null.pl
7273           installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
7274           changers
7275         * changer-src/Makefile.am changer-src/chg-null.sh
7276           changer-src/chg-rait.sh: remove old scripts
7277         * man/xml-source/amanda-changers.7.xml
7278           man/xml-source/amanda-devices.7.xml: update documentation
7279
7280 2009-02-18  John Hein <jhein@timing.com>
7281         * common-src/dgram.c: set the send buffer size when creating a new
7282           socket
7283
7284 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7285         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
7286           change PP_SCRIPT to SCRIPT, to match the name of the config param
7287         * server-src/diskfile.c installcheck/Amanda_Config.pl:
7288           use new symbols
7289
7290 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7291         * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
7292           and applications
7293
7294 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7295         * common-src/conffile.c common-src/conffile.h: use a simple
7296           identlist_t for pp_scripts
7297         * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
7298           server-src/server_util.c: use identlist_t's
7299
7300 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
7301         * perl/Amanda/Config.swg: perl bindings
7302
7303 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7304         * common-src/conffile.c common-src/conffile.h: Change
7305           DUMPTYPE_APPLICATION to give a string val_t; remove the
7306           pointer-to-application val_t subtype; also fix many
7307           memory leaks and simplify memory management
7308         * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
7309           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
7310           server-src/planner.c: use new val_t result correctly
7311
7312 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7313         * client-src/selfcheck.c: Do dle check without disk.
7314         * common-src/amxml.c: Accept a dle without a disk.
7315         * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
7316           application-src/amgtar_perl.pl,
7317           application-src/amsamba.pl, application-src/amstar.c,
7318           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
7319           application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
7320                                              a disk is not provided.
7321
7322 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7323         patch by glowkrantz
7324         * application-src/amzfs-sendrecv.pl: Use compression ratio for
7325                                              compressed filesystem.
7326
7327 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
7328         * server-src/amdump.sh: Check if planner/driver are executable and
7329                                 log error.
7330
7331 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
7332         * restore-src/amfetchdump.c: remove unintended debugging messages
7333
7334 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
7335         * changer-src/chg-manual.sh: make messages clearer
7336         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
7337           _manual_scan
7338         * server-src/amcheckdump.pl: handle errors better
7339
7340 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
7341         * changer-src/chg-manual.sh: make messages clearer
7342         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
7343           _manual_scan
7344         * server-src/amcheckdump.pl: handle errors better
7345
7346 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
7347         * recover-src/extract_list.c: Set all_level with level_t.
7348
7349 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
7350         * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
7351           Jose Hales-Garcia <jose@stat.ucla.edu>
7352
7353 2009-02-12  Jean-Louis Martineau <martineau@zmanda.com>
7354         * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
7355         * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
7356                                     NONBLOCKING_OPEN property.
7357         * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
7358         * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
7359                                                property.
7360         * server-src/amdevcheck.pl: Call $device->configure(1).
7361
7362 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
7363         * changer-src/chg-rait.sh: get directory handling right (patch from
7364           Jim.pennino on wiki.zmanda.com)
7365         * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
7366           do_eject
7367         * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
7368           volume that's not currently reserved
7369         * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
7370           after cleaning or ejecting
7371         * installcheck/Amanda_Changer_compat.pl: updated tests
7372
7373 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
7374         * perl/Makefile.am: add a version number to libamglue
7375
7376 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
7377         * restore-src/restore.c: fix incorrect assertion
7378
7379 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
7380         * config/amanda/debugging.m4: fix --disable-syntax-checks
7381
7382 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
7383         * config/amanda/debugging.m4: add --disable-syntax-checks
7384         * config/automake/scripts.am: disable them
7385         * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
7386
7387 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
7388         * man/xml-source/amanda.conf.5.xml: remove TODO
7389
7390 2009-02-07  Dustin J. Mitchell <dustin@zmanda.com>
7391         * common-src/event.c: use built-in child watch source on FreeBSD
7392
7393 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
7394         * server-src/dumper.c: options is already unquoted.
7395         * common-src/util.c: argument should not be quoted when added to argv.
7396
7397 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
7398         * installcheck/Amanda_Changer_compat.pl: remove debugging code
7399
7400 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
7401         patch by Yoshihiro Ishikawa
7402         * recover-src/extract_list.c: Handle application-api.
7403
7404 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
7405         * installcheck/Amanda_Changer_compat.pl: support 'eject'
7406         * perl/Amanda/Changer.pm: change release/do_relase relationship
7407         * perl/Amanda/Changer/compat.pm: same
7408         * perl/Amanda/Changer/disk.pm: same
7409         * perl/Amanda/Changer/single.pm: same
7410
7411 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7412         * common-src/conffile.h: Add ES_ES.
7413         * common-src/conffile.c: Handle ES_ES in switch.
7414         * server-src/amadmin.c: Handle ES_ES in switch.
7415         * client-src/sendsize.c: Works with many multiple estimate method.
7416         * server-src/planner.c: Works with many multiple estimate method.
7417
7418 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7419         * application-src/amgtar.c, application-src/amgtar_perl.pl,
7420           application-src/amsamba.pl, application-src/amstar.c,
7421           application-src/amsuntar.pl,
7422           application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
7423         * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
7424         * client-src/client_util.h: New field to keep its value.
7425
7426 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7427         * common-src/amfeatures.c,
7428           common-src/amfeatures.h: And fe_xml_level_server amfeature.
7429         * common-src/amxml.c: parse <server> tag in level tag.
7430         * server-src/planner.c: Send <server> tag,
7431                         Move estimate server calculation to its own function.
7432
7433 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7434         * client-src/client_util.c, client-src/sendbackup-gnutar.c,
7435           client-src/sendbackup.c, client-src/sendbackup-dump.c,
7436           client-src/sendsize.c,
7437           client-src/selfcheck.c, recover-src/extract_list.c,
7438           common-src/amxml.c,
7439           common-src/amxml.h: Change Change dle->level for dle->levellist,
7440                               each element is a level_t struct.
7441
7442 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7443         * amplot/amplot.awk: Set term to x11.
7444
7445 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
7446         * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
7447         * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
7448         * common-src/amxml.c: Parse multiple estimate value.
7449         * common-src/amxml.h: Change estimate for estimatelist in dle_t.
7450         * server-src/diskfile.h (xml_estimate): Protoype.
7451         * server-src/diskfile.c (xml_estimate): New function.
7452         * server-src/amcheck.c: Use xml_estimate.
7453         * server-src/planner.c: Use xml_estimate.
7454         * client-src/sendbackup.c, client-src/sendsize.c,
7455           client-src/selfcheck.c: Use first estimate in estimatelist.
7456
7457 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
7458         * common-src/conffile.c: Correctly copy pp_scriptlist.
7459
7460 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
7461         * server-src/amstatus.pl: Remove a bogus line.
7462
7463 2009-01-30  Dustin J. Mitchell <dustin@zmanda.com>
7464         * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
7465
7466 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7467         * recover-src/amrecover.c: Always print error.
7468         * server-src/amindexd.c: read stderr of uncompress and sort process,
7469           put the result in a GPtrArray, send the complete array to amrecover.
7470
7471 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7472         * common-src/conffile.c: Typo.
7473
7474 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7475         * common-src/conffile.c, common-src/conffile.h,
7476           server-src/diskfile.h, server-src/amcheck.c,
7477           server-src/planner.c, server-src/amadmin.c,
7478           server-src/diskfile.c, perl/Amanda/Config.swg,
7479           installcheck/Amanda_Config.pl: Use a list of estimate.
7480
7481 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
7482         * common-src/conffile.c, common-src/conffile.h,
7483           server-src/amcheck.c, server-src/holding.c,
7484           server-src/driver.c, perl/Amanda/Config.swg,
7485           installcheck/Amanda_Config.pl: 'define' keyword is use only to define
7486           an holding disk, you must use 'holdisgdisk' without 'define' if you
7487           want to use it.
7488
7489 2009-01-29  Dustin J. Mitchell <dustin@zmanda.com>
7490         * config/config.guess config/config.sub: new updates from FSF
7491
7492 2009-01-29  Benjamin Lewis <bhlewis@purdue.edu>
7493         * autogen: fix quoting error
7494         * config/amanda/dumpers.m4:  use a hostname we're more confident
7495           doesn't exist
7496
7497 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
7498         * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
7499           perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
7500           perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
7501
7502 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
7503         * common-src/conffile.c: support "." as a config name, indicating
7504           "this directory"
7505         * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
7506           old-school changer shell scripts
7507         * man/xml-source/amanda.8.xml: docs
7508         * perl/Amanda/Config.swg: docs
7509
7510 2009-01-28  Nikolas Coukouma <atrus@zmanda.com>
7511         * installcheck/Makefile.am: do not run client software checks --without-client
7512
7513 2009-01-28  Jean-Louis Martineau <martineau@zmanda.com>
7514         * config/automake/scripts.am: Fix another get line numbers right when
7515           syntax-checking perl scripts
7516
7517 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
7518         * installcheck/Installcheck/Application.pm: make sure all data is read
7519         * installcheck/amgtar.pl: check if GNU tar is present,
7520           avoid using atime-preserve, make sure reported and actual size match
7521
7522 2009-01-27  Dustin J. Mitchell <dustin@zmanda.com>
7523         * installcheck/amgtar.pl: fix typo
7524
7525 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
7526         * installcheck/Installcheck/Application.pm: Add Installcheck::Application
7527           harness for running things via the Application API
7528         * installcheck/amgtar.pl: Add installchecks for amgtar
7529         * installcheck/Makefile.am: Add files to build and distribution
7530
7531 2009-01-26  Dustin J. Mitchell <dustin@zmanda.com>
7532         * config/automake/scripts.am: get line numbers right when
7533           syntax-checking perl scripts
7534
7535 2009-01-26 Satya Ganga <gsat@zmanda.com>
7536         * xml-source/amsuntar.8.xml : Update man page with RBAC info
7537         * application-src/amsuntar.pl : Adding support for estimate
7538
7539 2009-01-23  Dustin J. Mitchell <dustin@zmanda.com>
7540         * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
7541           used by the tape device
7542         * device-src/tape-device.c: enable appending, using F_NOOP when
7543           necessary to avoid writing a double filemark
7544         * installcheck/Amanda_Device.pl: new tests
7545
7546 2009-01-22  Dustin J. Mitchell <dustin@zmanda.com>
7547         * common-src/fileheader.c common-src/fileheader.h
7548           device-src/device.c device-src/device.h: make header-
7549           building more flexible, allowing varying sizes
7550         * device-src/s3-device.c: use the new flexibility to write only the
7551           header data necessary to S3
7552         * device-src/tape-device.c device-src/vfs-device.c
7553           restore-src/restore.c server-src/chunker.c server-src/dumper.c
7554           server-src/holding.c: use new function signatures, without changing
7555           functionality
7556
7557 2009-01-22  Jean-Louis Martineau <martineau@zmanda.com>
7558         * man/xml-source/amstar.8.xml: Typo.
7559
7560 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7561         * server-src/driver.c: Add call to short_dump_state().
7562
7563 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7564         * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
7565
7566 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>,
7567             Dustin J. Mitchell <dustin@zmanda.com>
7568         * common-src/fileheader.c: Remove strquotedstr function.
7569         * common-src/quoting-test.c: Test strquotedstr function.
7570         * common-src/util.c: Add prototype for strquotedstr function.
7571         * common-src/util.h: Add new strquotedstr function.
7572
7573 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7574         * application-src/Makefile.am: Typo
7575
7576 2009-01-21  Dustin J. Mitchell <dustin@zmanda.com>
7577         Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
7578         * packaging/rpm/amanda.spec: detect and properly support suse11.1,
7579           with a temporary hack to support suse11, too
7580
7581 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
7582         * server-src/amstatus.pl: Fix use of %free and %qlen keys.
7583
7584 2009-01-20 Dan Locks <dwlocks@zmanda.com>
7585         * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
7586           libtermcap.so.2 for fedora, change tar requirement to %{tarver}
7587
7588 2009-01-20 Dan Locks <dwlocks@zmanda.com>
7589         * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
7590           install perl for the client package add "directory mode" to defattr
7591           statements where appropriate.
7592
7593 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
7594         * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
7595
7596 2009-01-19 Satya Ganga <gsat@zmanda.com>
7597         * application-src/amsuntar.pl : New amsuntar application
7598         * application-src/Makefile.am : Make file updates to include amsuntar
7599         * man/entities/global.entities.in : Add to gsat  to the name list
7600         * man/Makefile.am  man/xml-source/amsuntar.8.xml : add new man amsuntar man page
7601
7602 2009-01-19  Dustin J. Mitchell <dustin@zmanda.com>
7603         * device-src/vfs-device.c: remove bogus locking stubs that are
7604           making syscalls like close(-1); fix error handling in read_label
7605           if check_is_dir fails()
7606
7607 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
7608         * device-src/vfs-device.c: robust_open can return fd 0.
7609
7610 2009-01-19  Tom Robinson <tom.robinson@constantstream.com>
7611         * server-src/amoverview.pl: fix parsing of filenames containing colons
7612
7613 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
7614         * application-src/amzfs-sendrecv.pl: Handle incremental,
7615                                              new KEEP-SNAPSHOT property.
7616         * man/xml-source/amzfs-sendrecv.8.xml: Document it.
7617         * application-src/teecount.c: New program.
7618         * application-src/Makefile.am: Add teecount.
7619         * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
7620         * common-src/amanda.h: include "safe-read.h"
7621
7622 2009-01-17  Jean-Louis Martineau <martineau@zmanda.com>
7623         * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
7624                                   result.
7625
7626 2009-01-16 Dan Locks <dwlocks@zmanda.com>
7627         * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
7628
7629 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7630         * packaging/rpm/amanda.spec: Fix for fedora 10.
7631
7632 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
7633         * device-src/vfs-device.c: don't cache the dir_handle, as
7634           such caching does not work on some network filesystems
7635
7636 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
7637         * man/xml-source/amanda.conf.5.xml: add documentation
7638           of inheritance for config sections
7639
7640 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
7641         * device-src/amtapetype.pl: add a 'config' parameter
7642         * man/xml-source/amtapetype.8.xml: documentation
7643         * installcheck/amtapetype.pl: test with a small vtape
7644
7645 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7646         * server-src/driver.c: Use bitwise NOT for taper_state.
7647
7648 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7649         * server-src/taper.c: Go to next tape if device_start_file fail.
7650         * device-src/tape-device.c: write a filemark when a file is finished.
7651         * device-src/tape-device.h (TapeDevice): Remove first_file.
7652
7653 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
7654         * client-src/sendbackup.c: Fix for no index with application.
7655         * application-src/amstar.c: Improve error reporting.
7656         * application-src/amgtar.c: Improve error reporting.
7657
7658 2009-01-14  Jean-Louis Martineau <martineau@zmanda.com>
7659         * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
7660         * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
7661
7662 2009-01-13  Dustin J. Mitchell <dustin@zmanda.com>
7663         * perl/Amanda/Paths.pm.in: add $localstatedir
7664         * server-src/amserverconfig.pl: remove extraneous /
7665
7666 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
7667         * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
7668                                             defining an holdingdisk.
7669         * common-src/conffile.c: Document it.
7670
7671 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
7672         * server-src/amcheck.c: Check fallback_splitsize is smaller than
7673                                 physmem_total().
7674         * server-src/taper-mem-port-source.c: Dont; check physmem_available.
7675
7676 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
7677         * server-src/server_util.c: New get_pending_cmd function.
7678         * server-src/server_util.h: get_pending_cmd prototype.
7679         * server-src/driver.c: Send message to dumper in ABORT command.
7680         * server-src/driverio.c: Send message to dumper in ABORT command.
7681         * server-src/dumper.c: Check for ABORT cmd.
7682         * server-src/reporter.c: Don't log duplicate
7683                                  'Not enough holding disk space' error
7684
7685 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
7686         * server-src/driver.c: Fix result_argv subscript.
7687
7688 2009-01-08  Jean-Louis Martineau <martineau@zmanda.com>
7689         * restore-src/amfetchdump.c: Write to stderr.
7690
7691 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>,
7692             Dustin J. Mitchell <dustin@zmanda.com>
7693         * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
7694           after it is use.
7695         * installcheck/Amanda_Device.pl: Add more tape check.
7696
7697 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
7698         * server-src/taper.c: Don't call changer_label() if a changer is not
7699                               in use.
7700
7701 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
7702         * server-src/driverio.c: Set *result_argv to NULL on EOF.
7703         * server-src/taper-mem-port-source.c: Set an error if the memory can't
7704           be allocated for the memory buffer.
7705
7706 2009-01-05  Dustin J. Mitchell <dustin@zmanda.com>
7707         * client-src/runtar.c: remove unnecessary check for existence of
7708           CLIENT_LOGIN
7709
7710 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
7711         * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
7712           perl/Amanda/Xfer.swg: Fix compiler warning.
7713
7714 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
7715         * config/automake/scripts.am: Remove 'use lib' line before doing check.
7716
7717 2008-12-22  Paul Yeatman <pyeatman@zmanda.com>
7718         * man/entities/global.entities.in: added author/email entity for me
7719         * man/xml-source/amanda-auth.7.xml: newly added man page
7720         * man/Makefile.am: added amanda-auth to section 7
7721         * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
7722         and added link to amanda-auth man page
7723         * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
7724         amanda-auth and added link to amanda-auth man page
7725
7726 2008-12-22  Nikolas Coukouma <atrus@zmanda.com>
7727         * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
7728
7729 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7730         * device-src/s3.c: translate error code 0 to "None", not NULL
7731
7732 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7733         * application-src/amgtar.c,
7734           application-src/amstar.c: Use sizeof(line) for argument to fgets.
7735
7736 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
7737         * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
7738                                            in section 5.
7739
7740 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7741         * installcheck/Installcheck/Dumpcache.pm
7742           installcheck/Installcheck/Run.pm installcheck/amdump.pl
7743           installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
7744           it, and use it in amdump and pp-scripts
7745         * application-src/amlog-script.pl: don't pretend to be script-email
7746         * man/Makefile.am: amanda-archive-format should be section 5
7747         * man/xml-source/amanda-archive-format.5.xml: small tweaks
7748         * man/xml-source/amanda-changers.7.xml: fix authorship
7749         * man/xml-source/amanda.8.xml: add link to amvault(8)
7750         * man/xml-source/amvault.8.xml: enumerate limitations of this version
7751         * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
7752
7753 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
7754         * config/amanda/dirs.m4: add --with-amdatadir
7755         * example/Makefile.am: use it for examples and templates
7756         * perl/Amanda/Paths.pm.in: add $amdatadir
7757         * server-src/amserverconfig.pl: use it
7758         * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
7759           so that built packages still put examples and templates in
7760           /var/lib/amanda
7761
7762 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
7763         * application-src/amstar.c: Use fgets to read star output.
7764         * application-src/amgtar.c: Use fgets to read gtar output.
7765
7766 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>,
7767             Dustin J. Mitchell <dustin@zmanda.com>
7768         * common-src/util.c: Convert underscore in application and script
7769                              property name to dash.
7770         * device-src/property.c: Make underscore and dash equal in device
7771                                  property name.
7772         * installcheck/Amanda_Device.pl: Check device property name with
7773                                          mixed case and dash.
7774         * installcheck/pp-scripts.pl: Check property name with underscore.
7775
7776 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
7777         * server-src/reporter.c: Fix reporting of FLUSH.
7778
7779 2008-12-21  Dustin J. Mitchell <dustin@zmanda.com>
7780         * device-src/s3-device.c: use devpay if the user token property is
7781           given; otherwise, regular S3
7782         * installcheck/Amanda_Device.pl: adjust tests to correspond
7783
7784 2008-12-19  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
7785         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
7786           Reset read and write when retrying a failed request
7787
7788 2008-12-19  Dustin J. Mitchell <dustin@zmanda.com>
7789         * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
7790           to test the SSL_CA_INFO property
7791
7792 2008-12-19  Jean-Louis Martineau <martineau@zmanda.com>
7793         * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
7794
7795 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
7796         * common-src/security-util.c: Don't free 'rc'.
7797
7798 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
7799         * man/xml-source/amgtar.8.xml: Improve documentation of regex.
7800
7801 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
7802         * common-src/conffile.h (anonymous_value): New prototype.
7803         * common-src/conffile.c (anonymous_value): New function.
7804         * common-src/conffile.c: Use anonymous_value.
7805         * server-src/diskfile.c: Use anonymous_value.
7806
7807 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7808         * perl/Amanda/Script_App.pm: Fix infinite loop.
7809         * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
7810
7811 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7812         * server-src/planner.c: Run script only if todo is set.
7813
7814 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7815         * installcheck/amfetchdump.pl: chdir() before rmtree().
7816
7817 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
7818         * installcheck/amarchiver.pl: chdir() before rmtree().
7819
7820 2008-12-17  Dustin J. Mitchell <dustin@zmanda.com>
7821         * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
7822         * installcheck/pp-scripts.pl: add atime-preserve property
7823
7824 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
7825         * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
7826           of amanda.css.
7827
7828 2008-12-16 Dan Locks <dwlocks@zmanda.com>
7829         * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
7830           "present but cannot be compiled" warning during debian packaging.
7831
7832 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
7833         * common-src/security-util.c: Don't close if it's not open.
7834
7835 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
7836         * application-src/Makefile.am: Add amlog-script.
7837         * application-src/amlog-script.pl: New scripts.
7838         * server-src/amcheck.c , server-src/planner.c,
7839           server-src/server_util.c, server-src/server_util.h,
7840           server-src/driver.c: Add level argument to run_server_scripts().
7841           The script is executed with that level argument.
7842         * installcheck/pp-scripts.pl: Check scripts.
7843         * installcheck/Makefile.am: Add pp-scripts.
7844
7845 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
7846         * man/Makefile.am man/xml-source/amanda-changers.7.xml
7847           man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
7848           man/xml-source/amanda.conf.5.xml: new documentation
7849         * perl/Amanda/Changer.pm: not finished yet!
7850         * perl/Amanda/Changer/compat.pm: fix error message
7851         * server-src/changer.c changer-src/chg-glue.pl:
7852           better error handling
7853
7854 2008-12-15  Jean-Louis Martineau <martineau@zmanda.com>
7855         * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
7856
7857 2008-12-15  Dustin J. Mitchell <dustin@zmanda.com>
7858         * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
7859         * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
7860           stringify bigints in is_deeply arguments
7861         * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
7862         * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
7863           BigIntCompat for perl-5.6 compatibility
7864
7865 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
7866         * perl/Makefile.am,
7867           perl/amglue/amglue.swg,
7868           perl/amglue/filehandles.swg: add typemap to convert perl file handles
7869           to int file descriptors
7870         * installcheck/Amanda_Device.pl: update usage
7871         * perl/Amanda/Device.swg,
7872           perl/Amanda/Archive.swg,
7873           perl/Amanda/MainLoop.swg: update docs, make typemap apply
7874
7875 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
7876         * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
7877           ability to test well with just DevPay credentials
7878
7879 2008-12-14  Dustin J. Mitchell <dustin@zmanda.com>
7880         * man/Makefile.am: change manpage build process
7881         * man/entities/global.entities.in: generate with config.status
7882         * man/xslt/html.xsl.in: new templates to handle authors
7883         * man/xslt/man.xsl.in: new templates to handle authors
7884         * man/xml-source/*.xml: change specification of authors
7885         * man/xml-source/amanda-applications.7.xml: add links to apps
7886         * man/xml-source/amanda-scripts.7.xml: add links to scripts
7887
7888 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
7889         * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
7890                                             always be at the beginning of the line.
7891
7892 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
7893         * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
7894
7895 2008-12-12  John Hein <jhein@timing.com>
7896         * server-src/amdump.sh: fix Open3 invocation to work on
7897           FreeBSD-4.x
7898
7899 2008-12-12  Nikolas Coukouma <atrus@zmanda.com>
7900         * device-src/s3-device.c,
7901           device-src/s3.c,
7902           device-src/s3.h,
7903           installcheck/Amanda_Device.pl,
7904           man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
7905
7906 2008-12-12  Dustin J. Mitchell <dustin@zmanda.com>
7907         * client-src/sendbackup-dump.c: fix previous commit to not use
7908           precompiler directives in the middle of a macro invocation
7909
7910 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
7911         * NEWS, ReleaseNotes: Add amzfs-sendrecv.
7912         * client-src/sendbackup.c: Fix indexd test.
7913         * man/Makefile.am: Add amzfs-sendrecv.8.
7914         * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
7915         * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
7916         * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
7917         * man/xml-source/amzfs-sendrecv.8.xml: New man page.
7918         * application-src/amzfs-sendrecv.pl: New application.
7919         * application-src/amzfs-snapshot.pl: Fix to use
7920                                              Amanda::Application::Zfs
7921         * application-src/Makefile.am: Add amzfs-sendrecv.
7922         * perl/Amanda/Script_App.pm: Exit instead of die.
7923         * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
7924         * perl/Makefile.am: Add Amanda/Application and
7925                             Amanda/Application/Zfs.pm
7926
7927 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
7928         * recover-src/extract_list.c: Wait to read at least one byte from the
7929                                       data stream before forking the child.
7930
7931 2008-12-12  Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
7932         * changer-src/chg-zd-mtx.sh: fix bashisms
7933         * client-src/sendbackup-dump.c: use -L on systems that support it
7934
7935 2008-12-11 Dan Locks <dwlocks@zmanda.com>
7936         * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
7937
7938 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7939         * NEWS, ReleaseNotes: Add amsamba.
7940
7941 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
7942         * server-src/driver.c: Check start_t before doing a dump to tape.
7943
7944 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7945         * installcheck/Makefile.am: distribute Dumpcache.pm
7946
7947 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7948         * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
7949         * installcheck/Installcheck/Config.pm: add cleanup()
7950         * installcheck/Installcheck/Run.pm: call I::C::cleanup()
7951         * installcheck/Makefile.am: add _seupcache
7952         * installcheck/_setupcache.pl: set up the amdump cache first thing
7953         * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
7954           installcheck/amdump.pl installcheck/amfetchdump.pl
7955           installcheck/amrmtape.pl: use dumpcache
7956
7957 2008-12-10  Nikolas Coukouma <atrus@zmanda.com>
7958         * device-src/s3.c: Generate date header independently of locale
7959
7960 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
7961         * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
7962         * installcheck/Amanda_Disklist.pl: fix tests
7963
7964 2008-12-09  C R Ritson.
7965         * server-src/reporter.c: Add threshold to small and big estimate.
7966
7967 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
7968         * client-src/client_util.c: Parse RECOVER-MODE application support.
7969         * client-src/client_util.h (backup_support_option_t):
7970                                    Add smb_recover_mode.
7971         * client-src/sendsize.c: Fix size.
7972         * man/Makefile.am: Add amsamba.8.
7973         * man/xml-source/amsamba.8.xml: New man page.
7974         * man/xml-source/amanda-applications.7.xml: List amsamba.
7975         * man/xml-source/amanda.8.xml: List amsamba.
7976         * application-src/Makefile.am (CHECK_PERL): Add amsamba
7977         * application-src/amsamba.pl: New application.
7978         * recover-src/extract_list.c: Get support option from application
7979           and set --recover-mode if needed.
7980         * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
7981         * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
7982         * perl/Amanda/Paths.pm.in: Add $sysconfdir.
7983         * perl/Amanda/Util.swg: Add skip_quoted_string.
7984
7985 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
7986         * man/xml-source/amstar.8.xml: Typo.
7987
7988 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
7989         * man/xml-source/amanda.conf.5.xml: Fix plugin location.
7990
7991 2008-12-09  Nikolas Coukouma <atrus@zmanda.com>
7992         * installcheck/amrmtape.pl,
7993           man/xml-source/amrmtape.8.xml,
7994           server-src/amrmtape.pl: add --cleanup option to amrmtape
7995           alphabetize command-line options
7996
7997 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
7998         * perl/Amanda/Disklist.swg: return a value from
7999           read_disklist_internal
8000
8001 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
8002         * common-src/conffile.c common-src/conffile.h
8003           installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
8004           perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
8005           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
8006           server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
8007           DUMPTYPE_AUTH, with related changes to disk_t
8008
8009 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
8010         * perl/Makefile.am installcheck/Amanda_Disklist.pl
8011           perl/Amanda/Disklist.swg installcheck/Makefile.am:
8012           new module + tests
8013         * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
8014           parameter
8015         * common-src/conffile.h: tag host-related parameters
8016         * perl/Amanda/Config.swg: POD typo
8017         * server-src/diskfile.h: comments
8018
8019 2008-12-08  Nikolas Coukouma <atrus@zmanda.com>
8020         * installcheck/amrmtape.pl,
8021           man/xml-source/amrmtape.8.xml,
8022           server-src/amrmtape.pl: add --keep-label option to amrmtape
8023
8024 2008-12-07  Dustin J. Mitchell <dustin@zmanda.com>
8025         * server-src/Makefile.am server-src/amvault.pl: new, experimental
8026           script to copy data from secondary to tertiary volumes
8027         * common-src/fileheader.c: strip spurious ' ' from headers
8028         * man/Makefile.am man/xml-source/amvault.8.xml: docs
8029         * perl/Amanda/DB/Catalog.pm: add kbps calculation
8030         * perl/Amanda/Device.swg: add volume_header() method
8031
8032 2008-12-05  Dustin J. Mitchell <dustin@zmanda.com>
8033         * server-src/taper.c: remove dead code that can cause compiler errors
8034
8035 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
8036         * device-src/device.c,
8037           device-src/vfs-device.c,
8038           installcheck/Amanda_Device.pl: fix erase() for VFS device
8039         * server-src/amrmtape.pl: fix rollback, erase() call setup
8040
8041 2008-12-05  Jean-Louis Martineau <martineau@zmanda.com>
8042         * server-src/driverio.c: Send a message with NO-NEW-TAPE.
8043         * server-src/driver.c: Generate message for NO-NEW-TAPE, call
8044           start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
8045           for INPUT-ERROR and TAPE-ERROR
8046         * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
8047
8048 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
8049         * server-src/amrmtape.pl:
8050           man/xml-source/amrmtape.8.xml,
8051           installcheck/amrmtape.pl:  add --empty and --changer options for erasing media
8052
8053 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
8054         * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
8055           Add erase method to the device class
8056         * device-src/property.c, device-src/property.h:
8057           Add FULL_DELETION property so devices can indicate if they implement erase
8058         * xml-source/amanda-devices.7.xml: document FULL_DELETION property
8059         * device-src/null-device.c, device-src/rait-device.c:
8060           Indicate that these do not implement erase (via FULL_DELETION)
8061         * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
8062         * device-src/s3-device.c: Add delete_all_files helper.
8063           Return FALSE on error in one place.
8064         * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
8065         * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
8066           Don't usually retry when bucket is missing
8067
8068 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
8069         * device-src/device.c,
8070           device-src/s3-util.c,
8071           device-src/device.h,
8072           device-src/s3-util.h,
8073           device-src/null-device.c,
8074           device-src/s3-device.c,
8075           device-src/property.c,
8076           device-src/s3.c,
8077           device-src/tape-device.c,
8078           device-src/property.h,
8079           device-src/s3.h,
8080           device-src/vfs-device.c,
8081           device-src/rait-device.c: strip trailing whitespace
8082
8083 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
8084         * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
8085           the changer is not seekable (hack to make slotinfofile work)
8086
8087 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
8088         * changer-src/chg-glue.pl: add labelling support
8089         * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
8090           changers
8091         * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
8092           slots to labels on a best-information-available basis
8093
8094 2008-12-03  Nikolas Coukouma <atrus@zmanda.com>
8095         * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
8096           convert amrmtape to perl
8097         * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
8098         * man/xml-source/amrmtape.8.xml: document new long options
8099
8100 2008-12-03  Satya Ganga <gsat@zmanda.com>
8101         * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
8102           command instead of "eject" which is not supported on solaris.
8103
8104 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
8105         * man/xml-source/amanda.conf.5.xml: Provide default unit.
8106
8107 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
8108         * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
8109
8110 2008-12-01  Satya Ganga <gsat@zmanda.com>
8111         * server-src/amdevcheck.pl: add ability to print device properties
8112         * man/xml-source/amdevcheck.8.xml: new docs
8113         * installcheck/amdevcheck.pl: new tests
8114         * installcheck/Installcheck/Run.pm
8115           installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
8116
8117 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
8118         * device-src/s3.c: fix signedness
8119
8120 2008-12-01  Dustin J. Mitchell <dustin@zmanda.com>
8121         * common-src/util.c: fix mishandling of trailing backslash in
8122           unquote_string
8123
8124 2008-12-01  Jean-Louis Martineau <martineau@zmanda.com>
8125         * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
8126           packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
8127           configure.in: Change version to 2.6.2alpha.
8128
8129 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
8130         * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
8131           by adding some "null-op" read and write functions.
8132
8133 2008-11-27  Jean-Louis Martineau <martineau@zmanda.com>
8134         * server-src/amstatus.pl: Correctly parse degraded size.
8135
8136 2008-11-26  Jean-Louis Martineau <martineau@zmanda.com>
8137         * client-src/sendbackup.c: Set application in extraction command.
8138
8139 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
8140         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
8141         * ReleaseNotes: Release notes for 2.6.1b1.
8142         * NEWS: News for 2.6.1b1.
8143         * packaging/deb/rules, packaging/deb/buildpkg,
8144           packaging/rpm/buildpkg,
8145           packaging/rpm/amanda.spec: Change version to 2.6.1b1.
8146
8147 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
8148         * config/amanda/bsd-security.m4: Fix.
8149         * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
8150                                             default.
8151         * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
8152
8153 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
8154         * changer-src/Makefile.am changer-src/chg-glue.pl:
8155           add new c-to-perl glue script
8156         * server-src/changer.c: interface with new script
8157         * server-src/amtape.c man/xml-source/amtape.8.xml:
8158           remove 'slot last' and 'slot prev'
8159         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8160           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
8161           new Changer API
8162         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8163           installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
8164           installcheck/Makefile.am: tests for all of it
8165
8166 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
8167         * example/template.d/advanced.conf.in: don't imply that
8168           maxdumpsize is in bytes
8169
8170 2008-11-21  Nikolas Coukouma <atrus@zmanda.com>
8171         * device-src/s3.c: work around a bug in Amazon's HTTP implementation
8172           by avoiding HEAD requests.
8173
8174 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
8175         * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
8176                                                             argument is NULL.
8177         * restore-src/restore.c: Also check for F_EMPTY.
8178
8179 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
8180         * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
8181                                  that should terminate.
8182
8183 2008-11-21  Dustin J. Mitchell <dustin@zmanda.com>
8184         * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
8185                                  fail.
8186
8187 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
8188         * server-src/server_util.c: Skip one field in parsing INFO pid line.
8189
8190 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
8191         * oldrecover-src/extract_list.c: Use config.
8192         * server-src/dumper.c: Check dle_str for NULL.
8193
8194 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
8195         * server-src/amdump.sh: Run amreport if the 'log' file already exist.
8196
8197 2008-11-20  Urs Schurer <urs@sitb.de>
8198         * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
8199           in process_ls_dump
8200
8201 2008-11-19 Satya Ganga <gsat@zmanda.com>
8202         * example/inetd.conf.amandaserver.in: Add serverconfig file
8203         * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
8204
8205 2008-11-18 Dan Locks <dwlocks@zmanda.com>
8206         * packaging/rpm/amanda.spec: removed conditionals around
8207           perl(ExtUtils::Embed) so that buildrequires applies to all platforms
8208
8209 2008-11-18  Satya Ganga <gsat@zmanda.com>
8210         * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
8211
8212 2008-11-18  Jean-Louis Martineau <martineau@zmanda.com>
8213         * application-src/amstar.c: Free qdisk after the loop.
8214         * application-src/amgtar.c: Free qdisk after the loop.
8215
8216 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
8217         * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
8218
8219 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
8220         * server-src/taper.c: Fix formating.
8221
8222 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
8223         * server-src/amstatus.pl: Parse "taper: using label ..." line.
8224         * server-src/driver.c: Print tape size.
8225         * server-src/amtoc.pl: Fix for new log format.
8226         * server-src/reporter.c: Increase field width.
8227         * server-src/taper.c: Print number of kbytes written to each tape.
8228
8229 2008-11-14  Dustin J. Mitchell <dustin@zmanda.com>
8230         * device-src/s3-device.c: eliminate an extra buffer copy in the
8231           common case where the caller supplies a large enough buffer
8232         * device-src/s3.h: tweak a comment
8233
8234 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
8235         * server-src/holding.h: Improve comment.
8236         * server-src/reporter.c: Print holding disk size in displyaunit.
8237
8238 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
8239         * client-src/client_util.c: Get stderr of scripts and send it to
8240                                     server.
8241         * client-src/client_util.h: Add err in client_script_result_t.
8242         * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
8243         * client-src/sendsize.c: Fix.
8244         * server-src/planner.c: Get WARNING line from client.
8245         * server-src/reporter.c: Don't mark the dumper as FAILED if the
8246                                  planner FAILED.
8247         * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
8248         * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
8249
8250 2008-11-12  Dustin J. Mitchell <dustin@zmanda.com>
8251         * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
8252
8253 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8254         * amandad-src/amandad.c: Check that something is ready to be read
8255                                  before calling errfd_recv.
8256
8257 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8258         * changer-src/chg-manual.sh: fix typo
8259
8260 2008-11-11 Dan Locks <dwlocks@zmanda.com>
8261         * packaging/rpm/amanda.spec: add fedora 9 detection, add
8262           BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
8263           undetected instead of at all times
8264
8265 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8266         * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
8267           active test scripts; add a DLE in the amfetchdump installcheck
8268
8269 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8270         * config/macro-archive/ac_perl_module_version.m4: new macro
8271         * config/amanda/swig.m4: check for ExtUtils::Embed
8272
8273 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
8274         * installcheck/amarchiver.pl: quote $sbindir from regexp
8275           interpretation
8276
8277 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8278         * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
8279                             to DISTCLEANFILES.
8280
8281 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8282         * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
8283                                   amgtar application.
8284
8285 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
8286         * client-src/selfcheck.c: fix.
8287         * amandad-src/amandad.c: Read stderr of server and report it to server.
8288         * server-src/planner.c: Keep first line only.
8289
8290 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8291         * amar-src/amarchiver.c: fix filesize printf conversion
8292
8293 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
8294         * client-src/sendbackup.c, client-src/selfcheck.c: Check return
8295                                                            value of pipe.
8296
8297 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8298         * installcheck/Installcheck/Run.pm: change default DLEs
8299         * installcheck/amcheckdump.pl: add DLE explicitly
8300         * installcheck/amdevcheck.pl: add DLE explicitly
8301         * installcheck/amdump.pl: use the amgtar application in a dump
8302
8303 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8304         * installcheck/Makefile.am: only test amfetchdump if it was built
8305         * installcheck/amfetchdump.pl: use arguments in the right order
8306
8307 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8308         * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
8309         * man/Makefile.am man/xml-source/amarchiver.8.xml
8310           amar-src/Makefile.am amar-src/amarchiver.c: new application
8311         * installcheck/Makefile.am installcheck/amarchiver.pl: tests
8312
8313 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8314         * installcheck/Installcheck/Run.pm: add Expect support
8315         * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
8316           installcheck, using Expect support
8317
8318 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
8319         * common-src/amgetconf.pl: don't setup_application() in dbclose
8320
8321 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
8322         * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
8323
8324 2008-11-08  Dustin J. Mitchell <dustin@zmanda.com>
8325         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8326           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
8327           perl/Makefile.am: entirely new perl-based changer API
8328         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
8329           add changer subsections
8330         * man/xml-source/amanda.conf.5.xml: document them
8331         * server-src/amcheckdump.pl: use the new changer API
8332         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
8333           installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
8334           installcheck/Installcheck/Config.pm installcheck/Makefile.am
8335           installcheck/Amanda_Changer_Disk.pl: new/updated tests
8336
8337 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8338         * application-src/amstar.c: fix.
8339
8340 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8341         * perl/Amanda/Application.swg: Remove %init.
8342
8343 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8344         * application-src/amgtar.c, application-src/amgtar_perl.pl,
8345           application-src/amstar.c: Write backup image to fd3 and index to fd4.
8346         * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
8347         * recover-src/extract_list.c: Add more check.
8348         * client-src/client_util.c (backup_support_option): Get stderr of
8349           application and put it in errarray,
8350         * client-src/client_util.h (backup_support_option): New prototype.
8351         * client-src/selfcheck.c, client-src/sendbackup.c,
8352           client-src/sendsize.c: Get stderr of application and send it to
8353                                  server.
8354         * server-src/dumper.c: Log the first error message.
8355         * server-src/planner.c: Log the first error message.
8356         * server-src/reporter.c: Don't print some error in report.
8357
8358 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
8359         * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
8360         * client-src/client_util.c (run_calcsize): New function.
8361         * client-src/client_util.h (run_calcsize): Prototype.
8362         * client-src/sendbackup.c: Update amandates.
8363         * client-src/sendsize.c: Handling of calcsize and multi-estimate.
8364         * client-src/selfcheck.c: Check calcsize for application.
8365         * application-src/amgtar_perl.pl, application-src/amstar.c,
8366         * application-src/amgtar.c: handling of calcsize and multi-estimate.
8367         * perl/Amanda/Script_App.pm: Add a check.
8368         * perl/Amanda/Application.swg: Add run_calcsize.
8369         * perl/Amanda/Application.pm: Delete
8370         * perl/Makefile.am: Built from Application.swg
8371         * client-src/calcsize.c: Handling of STAR program.
8372
8373 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8374         * man/xml-source/amgtar.8.xml: Document new properties.
8375         * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
8376
8377 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8378         * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
8379                                      exit with a status != 0.
8380         * server-src/amtape.c: Display changer error.
8381
8382 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8383         * application-src/amgtar.c: Add exit-handling property.
8384
8385 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
8386         * application-src/amgtar.c: Add normal, ignore and strange property.
8387
8388 2008-11-04  Jean-Louis Martineau <martineau@zmanda.com>
8389         * server-src/amcheck.c: Check tape_splitsize < tape length.
8390
8391 2008-10-30  Dustin J. Mitchell <dustin@zmanda.com>
8392         * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
8393           add new sort key, 'w', for write_timestamp
8394         * server-src/amadmin.c: use it
8395         * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
8396           the oldest-written copy of a dump
8397
8398 2008-10-30  Jean-Louis Martineau <martineau@zmanda.com>
8399         * application-src/amgtar_perl.pl, application-src/amstar.c,
8400           application-src/amgtar.c: Implement validate command.
8401         * server-src/amcheckdump.pl: Execute the validate command of an
8402                                      application.
8403         * perl/Amanda/Script_App.pm (print_to_server): Add validate.
8404         * perl/Amanda/Application.pm (known_commands): Add validate.
8405         * common-src/security-util.c: Fix typo.
8406
8407 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
8408         * man/xml-source/amanda.conf.5.xml
8409           man/xml-source/amanda-devices.7.xml: improve device property
8410           documentation
8411
8412 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
8413         * man/xml-source/amanda.conf.5.xml: taperflush params can be
8414           greater than 100%
8415
8416 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
8417         * common-src/fileheader.c (dumpfile_free_data): New function.
8418         * common-src/fileheader.h (dumpfile_free_data): New prototype.
8419         * server-src/cmdline.c, server-src/dumper.c,
8420           server-src/planner.c, server-src/amadmin.c,
8421           server-src/amflush.c, server-src/holding.c,
8422           server-src/driver.c, server-src/find.c,
8423           server-src/taper-source.c, server-src/taper-file-source.c
8424           server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
8425
8426 2008-10-27  Dustin J. Mitchell <dustin@zmanda.com>
8427         * common-src/glib-util.c: check library version at runtime
8428
8429 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
8430         * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
8431
8432 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8433         * installcheck/Amanda_Archive.pl: fix to also test for identity of
8434           $user_data on perls that recognize such things
8435
8436 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8437         * amar-src/amar-test.c: don't ignore the return value of write()
8438
8439 2008-10-24  Nikolas Coukouma <atrus@zmanda.com>
8440             Jean-Louis Martineau <martineau@zmanda.com>
8441         * amar-src/amar.c: fix mis-aligned memory accesses
8442         * amar-src/amar-test.c: fix test_pipe
8443
8444 2008-10-24  Jean-Louis Martineau <martineau@zmanda.com>
8445         * perl/Amanda/Script_App.pm: New base module for script and application.
8446         * perl/Amanda/Script.pm: New base module for script.
8447         * perl/Amanda/Application.pm: New base module for application.
8448         * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
8449                                 Amanda::Application.
8450         * application-src/generic-dumper.pl: Remove file.
8451         * application-src/generic-script.pl: Remove file.
8452         * application-src/script-email.pl: Use Amanda::Script.
8453         * application-src/amgtar_perl.pl: Use Amanda::Application.
8454         * application-src/amzfs-snapshot.pl: Use Amanda::Script.
8455         * application-src/Makefile.am: Remove generic-*.pl files.
8456
8457 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8458         * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
8459           libamar
8460         * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
8461
8462 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
8463         * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
8464           $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
8465           lint
8466         * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
8467
8468 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
8469         * amar-src/Makefile.am: add amar.h to noinst_HEADERS
8470
8471 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
8472         * configure.in Makefile.am amar-src/Makefile.am: new directory
8473         * amar-src/amar.c amar-src/amar.h: amanda archive library
8474         * amar-src/amar-test.c: tests for library
8475         * common-src/security-util.c common-src/security-util.h
8476           common-src/util.c common-src/util.h: move net_writev to
8477           util.c, rename to full_writev
8478         * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
8479           man/xml-source/amanda.8.xml: new manpage to describe the format
8480
8481 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
8482         * configure.in: add tests for more headers, plus some defines
8483           for the presence of Amanda's headers
8484         * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
8485           POSIX regex API and a GRegex (PCRE) call-compatability layer.
8486         * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
8487           Use callbacks to write and read data. Provide callbacks for
8488           memory buffers and files. The callbacks for files are currently
8489           Windows-specific.
8490         * device-src/s3-device.c: update to use new API
8491
8492 2008-10-20  Dustin J. Mitchell <dustin@zmanda.com>
8493         * perl/Makefile.am: remove spurious variables
8494
8495 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
8496         * changer-src/chg-multi.sh: Check permission on the statefile and its
8497                                     directory.
8498
8499 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
8500         * server-src/planner.c: Set i to 0.
8501
8502 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
8503         * server-src/amcheck.c, server-src/dumper.c
8504           server-src/planner.c: Don't send appliaciton-api request if the
8505                                 client doesn't use the xml protocol.
8506
8507 2008-10-15  Jean-Louis Martineau <martineau@zmanda.com>
8508         * server-src/reporter.c: print space instead of N/A, dumper stats are
8509                                  set to "FLUSH" if it is a flush.
8510
8511 2008-10-13  Dustin J. Mitchell <dustin@zmanda.com>
8512         * device-src/vfs-device.c: re-open the dir handle on every
8513           device start or read label
8514         * installcheck/Amanda_Device.pl: adjust tests to degrade the
8515           VFS device *after* it is started
8516
8517 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8518         * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
8519
8520 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8521         * installcheck/Makefile.am: revert previous commit.
8522         * config/automake/scripts.am: Check for a server perl module.
8523
8524 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8525         * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
8526
8527 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
8528         * perl/Makefile.am: Don't check Amanda/Config files.
8529
8530 2008-10-11  Jean-Louis Martineau <martineau@zmanda.com>
8531         * perl/Makefile.am: Check file in top_srcdir if they are not
8532                             in top_builddir.
8533
8534 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8535         * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
8536
8537 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8538         * perl/Makefile.am: test for libConfig.so before doing check.
8539
8540 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8541         * config/automake/scripts.am: Check perl scripts on compilation.
8542           Add -I... to 'make check' to access perl module in build tree.
8543           Add installcheck rules to check perl scripts with installed perl
8544           modules.
8545         * application-src/amstar_perl.pl: Remove file.
8546         * device-src/Makefile.am, application-src/Makefile.am,
8547           server-src/Makefile.am, installcheck/Makefile.am,
8548           common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
8549         * installcheck/Makefile.am:
8550           Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
8551         * perl/Makefile.am: Add rules to check all .pm files for check-local.
8552         * device-src/amtapetype.pl, server-src/amaddclient.pl,
8553           common-src/amgetconf.pl: Fix syntax errors.
8554
8555 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
8556         * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
8557           application-src/script-email.pl, application-src/amgtar_perl.pl:
8558             fix typos.
8559
8560 2008-10-10  Nick Smith <nick.smith@techop.ch>
8561         * application-src/amzfs-snapshot.pl: fix typos
8562
8563 2008-10-08  Dustin J. Mitchell <dustin@zmanda.com>
8564         * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
8565         * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
8566           after writing
8567         * server-src/amcheckdump.pl: don't read tapelist
8568         * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
8569
8570 2008-10-08  Nick Smith <nick.smith@techop.ch>
8571         * server-src/driver.c: set degr_mesg to NULL when not degraded
8572
8573 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
8574         * application-src/amzfs-snapshot.pl: Accept execute-where argument.
8575         * application-src/script-email.pl: Accept execute-where argument.
8576         * client-src/client_util.c: Send execute-where argument to script.
8577         * server-src/server_util.c: Send execute-where argument to script.
8578
8579 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
8580         * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
8581                                              properties.
8582         * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
8583
8584 2008-10-03  Dustin J. Mitchell <dustin@zmanda.com>
8585         * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
8586         * common-src/timestamp.c: add comment
8587
8588 2008-10-02  Dustin J. Mitchell <dustin@zmanda.com>
8589         * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
8590         * installcheck/Amanda_DB_Catalog.pl: test it
8591         * perl/Amanda/Logfile.swg: fix typo
8592
8593 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
8594         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
8595           Add new property, S3_SSL, to control the use of SSL/TLS when
8596           connecting to Amazon S3
8597         * man/xml-source/amanda-devices.7.xml:
8598           document S3_SSL and S3_BUCKET_LOCATION
8599
8600 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
8601         * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
8602
8603 2008-10-01  Dustin J. Mitchell <dustin@zmanda.com>
8604         * common-src/amanda.h common-src/conffile.c
8605           oldrecover-src/extract_list.c recover-src/extract_list.c
8606           server-src/amcheck.c server-src/amflush.c server-src/planner.c:
8607           use g_ascii_isspace, as we assume ASCII (for now) and isspace()
8608           is affected by locale and encoding settings.  Thanks to Michael
8609           Reuland for helping track this down.
8610
8611 2008-09-30  Jean-Louis Martineau <martineau@zmanda.com>
8612         * server-src/diskfile.h (xml_optionstr): New prototype.
8613         * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
8614         * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
8615         * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
8616         * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
8617         * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
8618         * server-src/dumper.c: Call clean_dle_str_for_client.
8619         * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
8620         * server-src/diskfile.c (clean_dle_str_for_client): New function.
8621         * restore-src/restore.c: Call clean_dle_str_for_client.
8622         * common-src/amxml.c: Fix parsing.
8623         * common-src/amanda.h (match_no_newline): Prototype.
8624         * common-src/match.c (match_no_newline): New function.
8625
8626 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8627         * restore-src/restore.c: set data.flags for use by the changer_find
8628           callback
8629
8630 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8631         * perl/Amanda/MainLoop.swg: add call_later()
8632         * installcheck/Amanda_MainLoop.pl: test it
8633
8634 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8635         * device-src/rait-device.c: fix typos
8636
8637 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
8638         * common-src/semaphore.h: fix typo
8639         * device-src/rait-device.c: add a private threadpool-like
8640           implementation for old glibs, where GThreadPool is susceptible to
8641           deadlock
8642
8643 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
8644         * device-src/device.c device-src/device.h device-src/null-device.c
8645           device-src/property.c device-src/property.h device-src/rait-device.c
8646           device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
8647           device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
8648           device-src/tape-uware.c device-src/tape-xenix.c
8649           device-src/vfs-device.c: add a 'configure' method to the Device API;
8650           revamp device property handling to add source and surety and make
8651           implementation easier
8652         * device-src/rait-device.h device-src/rait-device.c: make RAIT device
8653           calculate block sized based on child devices, if they were configured
8654           explicitly.
8655         * man/xml-source/amanda-devices.7.xml: note that common properties are
8656           not implemented on all devices
8657         * common-src/glib-util.c common-src/glib-util.h: add helpers for
8658           case-insensitive hashes
8659         * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
8660           perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
8661           server-src/amlabel.c server-src/amtape.c server-src/taper.c
8662           server-src/taperscan.c: use new API
8663
8664 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
8665         * server-src/find.c: handle find_result->label == NULL
8666         * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
8667
8668 2008-09-26  Dustin J. Mitchell <dustin@zmanda.com>
8669         * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
8670
8671 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
8672         * server-src/driver.c: Parse dumpsize from taper result.
8673
8674 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
8675         * client-src/selfcheck.c: Set qdevice on common_exit path.
8676
8677 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8678         * common-src/fileheader.c: fix headers_are_equal
8679
8680 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8681         * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
8682         * device-src/device.c device-src/device.h: set blocksize in tape
8683           header
8684         * device-src/null-device.c device-src/s3-device.c
8685           device-src/tape-device.c device-src/vfs-device.c: set blocksize
8686           in headers when starting files
8687         * device-src/rait-device.c: duplicate headers for child devices, since
8688           they are no longer const
8689         * server-src/dumper.c: set blocksize on holding-disk files to
8690           DISK_BLOCK_BYTES
8691
8692 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
8693         * device-src/tape-device.c: mark device as non-appendable temporarily,
8694           since file numbers are incorrect when appending
8695         * installcheck/Amanda_Device.pl: handle non-appendable devices
8696
8697 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
8698         * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
8699           argument.
8700         * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
8701         * server-src/chunker.c: Get mesg from ABORT cmd and log it.
8702         * server-src/driver.c: Add the mesg argument to all dumper_cmd and
8703                                chunker_cmd.
8704
8705 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
8706         * server-src/planner.c: Set degr_mesg and send it to driver.
8707         * server-src/driverio.h (sched_t): Add degr_mesg field.
8708         * server-src/driver.c: Parse message if no degraded estimate.
8709
8710 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
8711         * common-src/conffile.c common-src/conffile.h: store a struct
8712           containing both filename and line number for each parameter, and use
8713           it when reporting errors and warnings
8714
8715 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
8716         * device-src/device.c: make 'unimplemented method' an assertion
8717
8718 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
8719         * device-src/s3.c: use max_keys, instead of maximum body size (which
8720           doesn't work) to limit the number of keys listed
8721
8722 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
8723         * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
8724         * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
8725         * server-src/taperscan.c: Check type != F_EMPTY.
8726         * server-src/taper.c: Call changer_label().
8727         * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
8728
8729 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
8730         * device-src/device.c: Don't g_value_unset a bzero value.
8731
8732 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
8733         * server-src/driver.c: Set result_argv=NULL, Fix typo.
8734
8735 2008-09-22  Dustin J. Mitchell <dustin@zmanda.com>
8736         * config/amanda/ps.m4: give up on runtime detection and just special-
8737           case the 'ps' arguments for various systems
8738         * perl/Amanda/Constants.pm.in: add $PS
8739         * perl/Amanda/Process.pm: use $PS
8740
8741 2008-09-19  Jean-Louis Martineau <martineau@zmanda.com>
8742         * server-src/reporter.c (addline): Done it constant time.
8743
8744 2008-09-19  Dustin J. Mitchell <dustin@zmanda.com>
8745         * common-src/Makefile.am common-src/quoting-test.c: new tests
8746         * common-src/token.c common-src/token.h: removed
8747         * common-src/util.c common-src/util.h: new home for quoting functions
8748         * configure.in: don't check for shquote
8749         * man/xml-source/amanda.conf.5.xml: info on quoting
8750         * perl/Amanda/Config/Server.pm: note about incompatibility
8751         * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
8752           server-src/driver.c server-src/driverio.c server-src/driverio.h
8753           server-src/dumper.c server-src/infofile.c server-src/server_util.c
8754           server-src/server_util.h server-src/taper-file-source.c
8755           server-src/taper-port-source.c server-src/taper.c: use new/updated
8756           quoting functions
8757
8758 2008-09-19  Nick Smith <nick.smith@techop.ch>
8759         * example/amanda.conf.in: fix incorrect execute_on examples
8760
8761 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
8762         * server-src/dumper.c: Call security_close_connection before
8763                                checking if pkt == NULL.
8764
8765 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
8766         Patch by Nick Smith
8767         * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
8768         * server-src/diskfile.c: Init xml_app.result to stralloc("").
8769
8770 2008-09-16 Dan Locks <dwlocks@zmanda.com>
8771         * packaging/rpm/amanda.spec:  Added detection of CentOS 4 and 5 as
8772           suggested by dswartz.  added graceful failure when Distro/version is
8773           not detected correctly
8774
8775 2008-09-15  Dustin J. Mitchell <dustin@zmanda.com>
8776         * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
8777
8778 2008-09-14  Dustin J. Mitchell <dustin@zmanda.com>
8779         * server-src/tapefile.c server-src/tapefile.h: add comments to
8780           tapelist
8781         * perl/Amanda/Tapelist.swg: perl tapelist parser, too
8782         * installcheck/Amanda_Tapelist.pl: tests
8783         * man/xml-source/tapelist.5.xml: docs
8784         * server-src/amlabel.c: no initial comments when labeling
8785         * server-src/taper.c: maintain comment when relabeling
8786
8787 2008-09-12  Jean-Louis Martineau <martineau@zmanda.com>
8788         * amandad-src/amandad.c: Fix typo: authetication -> authentication.
8789
8790 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
8791         * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
8792           Mike McConnell for spotting these
8793
8794 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
8795         * server-src/taper.c: improve handling of device errors in taper
8796
8797 2008-09-02  Jean-Louis Martineau <martineau@zmanda.com>
8798         * restore-src/amrestore.c: Load a default server config.
8799
8800 2008-08-29  Dustin J. Mitchell <dustin@zmanda.com>
8801         * autogen: revert glib's configure-time requirement for
8802           pkg-config-0.16
8803
8804 2008-08-28  Dustin J. Mitchell <dustin@zmanda.com>
8805         * device-src/tape-device.c: use the correct blocksize while reading
8806         * device-src/rait-device.c: fix typo
8807         * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
8808           the tape device
8809
8810 2008-08-28  Jean-Louis Martineau <martineau@zmanda.com>
8811         * server-src/dumper.c: Reset the MESG buffer for a new dump.
8812
8813 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
8814         * server-src/amcheck.c: make the check for tapelist result in a NOTE,
8815           not a failure
8816         * server-src/tapefile.c: make a missing tapelist equivalent to an
8817           empty one
8818
8819 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
8820         * config/amanda/types.m4: always include sys/types.h, if it exists,
8821           before trying other headers (fixes builds of FreeBSD-4.x); thanks
8822           to John Hein <jhein@timing.com>
8823         * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
8824           before event.h
8825
8826 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
8827         * perl/amglue/bigint.c: add #include "stdint.h"
8828
8829 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
8830         * config/amanda/ps.m4: search multiple ps invocations; thanks
8831           to John Hein <jhein@timing.com>
8832
8833 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
8834         * server-src/amadmin.ci (tape): Correctly print next tape to use.
8835         * server-src/tapefile.c (print_new_tapes): New function to print new
8836                                                    tapes.
8837         * server-src/tapefile.h (print_new_tapes): Prototype.
8838         * server-src/reporter.c: Correctly print next tape to use.
8839
8840 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
8841         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
8842           add new 'define device' config section
8843         * perl/Makefile.am perl/Amanda/Config/Server.pm
8844           perl/Amanda/Config/Server/Devices.pm
8845           perl/Amanda/Config/Server/Grammar: ditto
8846         * device-src/device.c device-src/device.h: configure devices from
8847           device definitions, with better error handling
8848         * device-src/rait-device.c: handle child devices better
8849         * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
8850           installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
8851           installcheck/amgetconf.pl: new tests, modifications to work with the
8852           new system
8853         * man/xml-source/amanda-devices.7.xml
8854           man/xml-source/amanda.conf.5.xml: corresponding documentation updates
8855         * perl/Amanda/Changer.pm perl/Amanda/Device.swg
8856           restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
8857           server-src/amcheckdump.pl server-src/amdevcheck.pl
8858           server-src/amlabel.c server-src/amtape.c server-src/taper.c
8859           server-src/taperscan.c: remove calls to
8860           set_startup_properties_from_config
8861         * device-src/vfs-test.c: load config before trying to use a device
8862         * common-src/conffile.c: fix use of uninitialized variable
8863
8864 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
8865         * changer-src/chg-disk.sh: replace == with =
8866         * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
8867
8868 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
8869         * server-src/reporter.c: Fix computation of compression ratio.
8870
8871 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
8872         * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
8873         * application-src/amgtar.c, application-src/amgtar_perl.pl:
8874           Ignore "Directory is new" and "Directory has been renamed".
8875
8876 2008-08-21  Jean-Louis Martineau <martineau@zmanda.com>
8877         * common-src/krb5-security.c: Fix security_seterror use.
8878
8879 2008-08-19  Dustin J. Mitchell <dustin@zmanda.com>
8880         * configure.in: check for getgrgid_r and getpwuid_r
8881         * common-src/security-util.c: conditionalize on checks
8882
8883 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8884         * common-src/version.h: remove #include of config.h
8885         * device-src/vfs-device.c: #include amanda.h first
8886
8887 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8888         * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
8889         * installcheck/Installcheck/Run.pm: report exit status
8890         * installcheck/Makefile.am installcheck/amtapetype.pl: new test
8891         * man/xml-source/amtapetype.8.xml: updated manpage
8892         * device-src/s3-device.c device-src/vfs-device.c
8893           device-src/tape-device.c: add compression property
8894         * perl/Amanda/Xfer.swg: add POD for the cancel() method
8895         * xfer-src/dest-device.c: add a default for max_memory
8896
8897 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8898         * common-src/conffile.c: make find_multiplier case-insensitive
8899         * device-src/device.c: reorder assertions
8900         * device-src/tape-device.c: don't set access_mode twice, but
8901           set in_file = FALSE in start
8902         * device-src/s3-device.c: fix property registration
8903         * perl/Amanda/MainLoop.swg: remove attach() from example
8904         * perl/Amanda/Xfer.swg: more detail in POD
8905         * xfer-src/source-pattern.c: operate byte-for-byte, like the random
8906           source, instead of using lots of memcpys and reallocs
8907         * xfer-src/source-random.c: remove redundant check
8908
8909 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8910         * configure.in Makefile.am tape-src/*: remove tape-src
8911         * changer-src/Makefile.am: don't link with libamtape
8912         * changer-src/chg-scsi.c: don't use libamtape
8913         * changer-src/scsi-changer-driver.c: don't use libamtape
8914         * config/amanda/tape.m4: fix comment
8915         * example/amanda.conf.in example/template.d/tapetypes: fix outdated
8916           comments
8917         * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
8918           remove amdd and ammt manpages
8919         * restore-src/Makefile.am: remove refs to tape-src/
8920         * server-src/Makefile.am: remove refs to tape-src/
8921
8922 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
8923         * common-src/krb4-security.c common-src/krb5-security.c
8924           config/amanda/tape.m4 common-src/amanda.h: remove
8925           --with-maxtapeblocksize
8926         * common-src/conffile.c: deprecate file-pad
8927         * device-src/device-queueing.c device-src/device-queueing.h
8928           device-src/device.c device-src/device.h device-src/null-device.c
8929           device-src/property.c device-src/property.h device-src/rait-device.c
8930           device-src/s3-device.c device-src/tape-device.c
8931           device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
8932           server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
8933           xfer-src/source-device.c perl/Amanda/Device.swg: devices have
8934           {min,max,current} block sizes; remove the short_block parameter from
8935           device_write_block; fix property initialization; rename
8936           PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
8937         * device-src/rait-device.c: set child block sizes explicitly
8938         * installcheck/Amanda_Device.pl: tests; better S3 test count
8939           calculations
8940         * installcheck/Amanda_Xfer.pl: tests
8941         * man/xml-source/amanda-devices.7.xml: update block sizes
8942           documentation
8943         * man/xml-source/amanda.conf.5.xml: refer to block size properties
8944         * restore-src/amrestore.c: use set_restore_device_read_buffer_size
8945         * restore-src/restore.h restore-src/restore.c: add
8946           set_restore_device_read_buffer_size
8947
8948 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
8949         * server-src/driver.c: handle taper_{input,tape}_error memory
8950           correctly, and add taper_tape_error to the trace log
8951
8952 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
8953         * application-src/amzfs-snapshot.pl application-src/script-email.pl:
8954           remove unnecessary 'use Amanda::Device'
8955
8956 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
8957         * common-src/amgetconf.pl: use filename-safe characters for $appname
8958         * installcheck/amgetconf.pl: test it
8959
8960 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
8961         * man/entities/global.entities: add manpage refs
8962         * packaging/rpm/amanda_enterprise.spec
8963           packaging/rpm/amanda_enterprise_client.spec
8964           man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
8965           man/Makefile.am: add disklist(5), tapelist(5)
8966         * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
8967           man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
8968           man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
8969           man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
8970           man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
8971           man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
8972           - remove references to "output drivers" in favor of "device drivers"
8973           - add more inter-page references
8974           - fix typos
8975           - add client_login to amanda-client.conf(5)
8976           - reformat informaltables, which don't render well in HTML or nroff,
8977             into variablelists, with fixes for bad xml->man conversion
8978           - fix funky replacement entities in HTML output
8979         * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
8980         * perl/Amanda/Device.swg: fix typo
8981         * perl/Amanda/MainLoop.swg: add hints for writing async functions
8982         * perl/Amanda/Types.swg: fix bad POD
8983         * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
8984         * perl/Amanda/Xfer.swg: tweaks
8985         * server-src/taper.c: fix typo
8986         * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
8987           will no longer overwrite such tapes
8988
8989 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
8990         * common-src/debug.c: lock debug logging on a per-line basis
8991
8992 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
8993         * device-src/rait-device.c: parse RAIT names with internal {..}
8994         * installcheck/Amanda_Device.pl: light testing
8995
8996 2008-08-15  Dustin J. Mitchell <dustin@zmanda.com>
8997         * common-src/debug.c: include backtraces on fatal errors
8998         * config/amanda/debugging.m4: look for glibc's backtrace support
8999         * configure.in: ditto
9000
9001 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>
9002         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
9003           device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
9004           to date with function signatures
9005
9006 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>,
9007             Nikolas Coukouma <atrus@zmanda.com>
9008         * xfer-src/*: add support for asynchronous cancellation of transfers
9009           and use it for error-handling
9010         * perl/Amanda/Xfer.swg: reflect into perl
9011         * installcheck/Amanda_Xfer.pl: test cancellation
9012
9013 2008-08-12  Dustin J. Mitchell <dustin@zmanda.com>
9014         * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
9015         * man/Makefile.am: remove config.log after running config.status
9016
9017 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
9018         * common-src/conffile.c: cleaner fix for signed compared to unsigned
9019           errors on older versions of GCC.
9020
9021 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
9022         * common-src/Makefile.am: second fix
9023
9024 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
9025         * common-src/Makefile.am: don't syntax-check amgetconf, since
9026           it uses Amanda::* modules
9027
9028 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
9029         * server-src/amgetconf.pl, common-src/amgetconf.pl:
9030           Add --execute-where=client|server and --client options
9031           to make amgetconf query the client configuration
9032           instead. Move from server-src to common-src.
9033         * man/xml-source/amgetconf.8.xml: Document the new options.
9034         * installcheck/amgetconf.pl: Test the new options.
9035         * server-src/Makefile.am, common-src/Makefile.am:
9036           Updated Makefiles for move.
9037         * packaging/deb/amanda-enterprise-backup-client.install,
9038           packaging/sun-pkg/i386/client/prototype:
9039           Add amgetconf to client packages.
9040
9041 2008-08-04 Dan Locks <dwlocks@zmanda.com>
9042         * packaging/rpm/amanda.spec:  add %{tarver} macro and set the correct
9043           minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
9044
9045 2008-08-04  Dustin J. Mitchell <dustin@zmanda.com>
9046         * common-src/conffile.c: workaround gcc<4.1.0 problems with long
9047           constants, don't use G_MAXINT64 in precompiler expressions
9048
9049 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
9050         * server-src/amrmtape.sh: use shell redirection with shell functions
9051
9052 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
9053         * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
9054         * common-src/dgram.c: address family debugging
9055         * common-src/stream.c: address family debugging
9056
9057 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
9058         * common-src/amanda.h common-src/conffile.c common-src/conffile.h
9059           installcheck/Amanda_Config.pl perl/Amanda/Config.swg
9060           server-src/planner.c: replace am64 type with gint64; also replace
9061           some uses of off_t
9062
9063 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
9064         * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
9065           stringify consistently (no '+' prefixing positive numbers).
9066         * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
9067         * installcheck/bigint.pl, perl/amglue/bigint.c:
9068           Use Amanda::BigIntCompat everywhere we use bigint.
9069
9070 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
9071         * common-src/match.c: Correct array index to be within bounds
9072
9073 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
9074         * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
9075           AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
9076           appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
9077           (which causes errors).
9078
9079 2008-07-30  Dustin J. Mitchell <dustin@zmanda.com>
9080         * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
9081         * installcheck/amgetconf.pl: ditto
9082
9083 2008-07-29 Dan Locks <dwlocks@zmanda.com>
9084         * packaging/rpm/amanda.spec:  Merged fixes from enterprise .spec for
9085           parsing redhat-release for fedora versions correctly.
9086
9087 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
9088         * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
9089
9090 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
9091         * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
9092           Also check the returned ETag to make sure it matches the sent MD5 hash.
9093           Use simpler s3_base64_encode() instead of base64_encode().
9094           Correct the use of character classes in several regular expressions.
9095         * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
9096           s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
9097           as some constants. Move regexec_wrap() into this and rename it to
9098           s3_regexec_wrap().
9099         * device-src/Makefile.am: add s3-util.c and s3-util.h
9100
9101 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
9102         * installcheck/Installcheck/Config.pm: don't set default tapetype
9103           unless not set explicitly.
9104         * installcheck/Amanda_Config.pl: test changes
9105         * man/xml-source/amanda-client.conf.5.xml
9106           man/xml-source/amanda.conf.5.xml: encourage, but don't require,
9107           quoted identifiers
9108
9109 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
9110         * server-src/amserverconfig.pl: apply perltidy, factor some common
9111           code, and create the config dir and changer conf only after the check
9112           for mtx is performed
9113
9114 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
9115         * device-src/tests/semaphore-test.c: move function call out of
9116           variable initialization
9117
9118 2008-07-25 Dan Locks <dwlocks@zmanda.com>
9119         * packaging/deb/control: added alternative dependency of libssl0.9.8 for
9120           Ubuntu 8.x builds.  Added build dependencies for debhelper, fakeroot,
9121           libcurl-dev, libssl-dev.  Updated server and client dependency for curl
9122           to libcurl3
9123
9124 2008-07-18 Dan Locks <dwlocks@zmanda.com>
9125         *  configure.in:  add format-security to gcc compile flags
9126         *  server-src/amindexd.c,
9127            server-src/dumper.c,
9128            server-src/reporter.c,
9129            restore-src/restore.c,
9130            common-src/security-util.c,
9131            common-src/bsd-security.c:  replacemented unquoted strings in
9132            function arguments with "%s", arg.  jrfranks's suggestion, dustin provided
9133            syntax for the fix.
9134
9135 2008-07-17 Dan Locks <dwlocks@zmanda.com>
9136         * packaging/debian/amanda-enterprise-backup-*.install: added entries for
9137           applications and devices man pages.
9138
9139 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
9140         * man/Makefile.am: Add amzfs-snapshot.8
9141         * man/xml-source/amzfs-snapshot.8.xml: New man page.
9142         * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
9143         * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
9144         * application-src/amzfs-snapshot.pl: New script
9145         * application-src/Makefile.am: Add amzfs-snapshot
9146         * perl/Amanda/Util.swg: Add sanitise_filename.
9147
9148 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
9149         * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
9150
9151 2008-07-16  Jean-Louis Martineau <martineau@zmanda.com>
9152         * server-src/driver.c: Improve message in failure to dump in degraded
9153                                mode.
9154
9155 2008-07-16 Dan Locks <dwlocks@zmanda.com>
9156         * packaging/deb/control,
9157           packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
9158           build dependency for openssl and curl development files.
9159
9160 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
9161         * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
9162           specifying both IPv{4,6} does not work; remove IPv4
9163
9164 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
9165         * man/Makefile.am: Add new man pages.
9166         * man/xml-source/script-email.8.xml: New man page.
9167         * man/xml-source/amanda.8.xml: List new man pages.
9168         * man/xml-source/amanda-scripts.7.xml: New man page.
9169
9170 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
9171         * configure.in: generate (x)inetd files
9172         * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
9173           example/xinetd.amandaserver.in: give appropriate path for amandad,
9174           from configure (fixes builds on 64-bit machines)
9175 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
9176         * client-src/client_util.c: #include "glib-util.h"
9177         * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
9178         * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
9179         * device-src/rait-device.c: Remove g_ptr_array_foreach.
9180
9181 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
9182         * client-src/client_util.c: Read stdout of scripts.
9183         * client-src/client_util.h: New prototype for run_client_scripts,
9184                                     New client_script_result_t struct.
9185         * client-src/sendbackup.c: Send scripts properties to application.
9186         * client-src/sendsize.c: Send scripts properties to application.
9187         * client-src/selfcheck.c: Send scripts properties to application.
9188         * recover-src/extract_list.c: Send scripts properties to application.
9189         * common-src/amxml.h (script_t) Add field to keep result of script.
9190         * common-src/amxml.c: Set script->result to NULL.
9191
9192 2008-07-14 Dan Locks <dwlocks@zmanda.com>
9193         * packaging/rpm/amanda.spec: fix macro detection of fedora version
9194
9195 2008-07-14 Dan Locks <dwlocks@zmanda.com>
9196         * packaging/rpm/amanda.spec: fix distribution detection, add
9197         activate-devpay to server files list
9198
9199 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9200         * installcheck/Amanda_Changer.pl: set up and parse a config, now that
9201           Amanda::Changer needs one
9202
9203 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9204         * perl/Amanda/Changer.pm: set device properties when testing device
9205           labels in the changer
9206
9207 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
9208         * application-src/amgtar.c: Add a DIRECTORY property.
9209         * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
9210
9211 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9212         * changer-src/chg-lib.sh.in: remove bogus Log() invocations
9213
9214 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9215         * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
9216           to new manpages
9217
9218 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
9219         * installcheck/Amanda_Device.pl: be more liberal in the flags that are
9220           accepted from S3's read_label; this will reduce false failures
9221
9222 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
9223         * client-src/client_util.c: Remove unused output_tool_property function.
9224         * client-src/client_util.h: Remove output_tool_property prototype.
9225         * man/xml-source/amanda-client.conf.5.xml: Add application and script
9226                                                    sections.
9227         * man/xml-source/amanda.conf.5.xml: Improve application and script
9228                                             sections.
9229         * device-src/device.c: Fix for new property_t.
9230         * server-src/diskfile.h: Change prototype for xml_application and
9231                                  xml_scripts.
9232         * server-src/diskfile.c: Add <priority> tag if client support it.
9233         * server-src/amindexd.c: Fix call to xml_application.
9234         * server-src/amcheck.c: Fix call to xml_application.
9235         * server-src/planner.c: Fix call to xml_application.
9236         * server-src/driverio.c: Fix call to xml_application.
9237         * server-src/server_util.c: Remove code to write property to stdin of
9238                                     script.
9239         * perl/Amanda/Config.swg: Fix for new property_t.
9240         * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
9241         * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
9242                                     function.
9243         * installcheck/Amanda_Config.pl: Fix for new property_t.
9244         * common-src/util.c: Remove unused output_tool_proplist fucntion,
9245                              Fix for new property_t.
9246         * common-src/util.h: Remove output_tool_proplist prototype.
9247         * common-src/amxml.c:Fix for new property_t, parse priority of property.
9248         * common-src/conffile.c: Parse priority of a property,
9249                           Add application and script to amanda-client.conf.
9250         * common-src/conffile.h: New property_t struct.
9251         * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
9252         * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
9253
9254 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
9255         * man/entities/global.entities: Add ENTITY email.jlm.
9256         * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
9257           amgtar.8 and amstar.8.
9258         * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
9259                                             at the begining of a line.
9260         * man/xml-source/amanda-applications.7.xml: New page.
9261         * man/xml-source/amgtar.8.xml: New page.
9262         * man/xml-source/amstar.8.xml: New page.
9263
9264 2008-07-09  Ian Turner <ian@zmanda.com>
9265         * device-src/device.h: Clarify documentation of device_read_label().
9266         * device-src/s3-device.c, device-src/tape-device.c,
9267           device-src/vfs-device.c (device_read_label): Always clear volume
9268           labels, even if device is in error.
9269         * device-src/rait-device.c: Ditto; also properly handle properties
9270           that change device labels.
9271
9272 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
9273         * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
9274           property (for setting location constraints).
9275
9276 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>
9277         * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
9278           when EOF occurs on writing
9279
9280 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>,
9281             Nikolas Coukouma <atrus@zmanda.com>,
9282             Ian Turner <ian@zmanda.com>,
9283             Jean-Louis Martineau <martineau@zmanda.com>
9284         Amanda has been analyzed with Klocwork source code analysis, the most
9285         accurate and comprehensive tool for finding critical programming
9286         errors and security vulnerabilities.
9287         * amandad-src/amandad.c changer-src/chg-scsi.c
9288           client-src/client_util.c client-src/selfcheck.c
9289           client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
9290           common-src/bsd-security.c common-src/fileheader.c
9291           common-src/local-security.c common-src/queueing.c
9292           common-src/security-util.c device-src/property.c
9293           device-src/rait-device.c device-src/tape-device.c
9294           device-src/vfs-device.c recover-src/set_commands.c
9295           restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
9296           server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
9297           server-src/changer.c server-src/chunker.c server-src/cmdline.c
9298           server-src/driver.c server-src/holding.c server-src/logfile.c
9299           server-src/reporter.c server-src/server_util.c
9300           server-src/taper-file-source.c: fix many issues identified
9301           by Klockwork, ranging in severity from stylistic to minor.
9302            - many memory leaks in error paths and application shutdown
9303            - better handling of incorrect commandline arguments
9304            - better resource management (file descriptors, etc.)
9305
9306 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
9307         * device-src/Makefile.am: conditionalize activate-devpay on
9308           WANT_S3_DEVICE
9309
9310 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
9311         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
9312           device-src/activate-devpay.c, device-src/Makefile.am:
9313           Allow both regular S3 and S3-with-DevPay to be used in
9314           the same installation. Remove WANT_DEVPAY macro.
9315         * device-src/s3-device.c: Added a flag, is_devpay, to the device
9316           and handled divergent cases. Removed useless device_error_set calls.
9317         * device-src/s3.c: Use DevPay authentication iff user_token is set.
9318           Replaced some if statements about non-NULL pointers with assertions.
9319         * config/amanda/s3-device.m4, device-src/Makefile.am:
9320           remove devpay flag and WANT_DEVPAY definition.
9321         * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
9322           other S3 tests.
9323
9324 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
9325         * device-src/s3.c: wait for bucket to appear after creation, treat
9326           missing bucket as temporary error, increase retries from 5 to 14
9327           (about 3min), explicitly handle HTTP verbs as libcurl expects.
9328         * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
9329           buckets taking too long to appear.
9330
9331 2008-07-06 Dan Locks <dwlocks@zmanda.com>
9332         * packaging/deb/amanda-backup-server.postrm
9333           packaging/deb/amanda-backup-client.postrm: removed unused
9334           code
9335         * packaging/deb/postrm: fixed typo in deluser command
9336         * packaging/deb/rules: added specific preinst and postrm scripts for
9337           client and server.
9338
9339 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
9340         * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
9341           new files for HTML output
9342         * man/xslt/man.xsl.in: substitute XSLT_VERS
9343         * man/xml-source/amanda-devices.7.xml: tweaks
9344         * man/xml-source/amanda.8.xml: tweaks
9345         * man/xml-source/amanda.conf.5.xml: tweaks
9346         * man/xml-source/amgetconf.8.xml: tweaks
9347         * man/xml-source/amtoc.8.xml: tweaks
9348
9349 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
9350         * common-src/genversion.c: correctly represent available amflock
9351           implementations
9352
9353 2008-07-03  Jean-Louis Martineau <martineau@zmanda.com>
9354         * perl/Amanda/Xfer.swg: #include "glib-util.h"
9355
9356 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9357         * device-src/rait-device.c: don't use self->device_name in open_device
9358
9359 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9360         * installcheck/amgetconf.pl: supply a plugin for scripts
9361
9362 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
9363         * server-src/diskfile.c: Check an application is set if
9364                                  program == "APPLICATION".
9365         * common-src/amxml.c: Check plugin is set for application and script.
9366         * common-src/conffile.c: Check plugin is set for application and script
9367
9368 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
9369         * server-src/amstatus.pl: Fix printing of config path on error.
9370
9371 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9372         * installcheck/Amanda_Device.pl: test that start(READ) without first
9373           reading the label doesn't cause errors
9374         * device-src/s3-device.c: call s3_device_read_label directly
9375
9376 2008-07-02  Ian Turner <ian@zmanda.com>
9377         * man/xml-source/amanda.8.xml: Document how to override device
9378           properties.
9379
9380 2008-07-02  Ian Turner <ian@zmanda.com>
9381         Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
9382         to this patch.
9383         * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
9384           to start RAIT device in degraded mode.
9385         * device/device.c: Be a little more forgiving of NULL devices.
9386         * device-src/vfs-device.c: Fix a bug where vfs_device_start()
9387           would sometimes throw an erroneous assertion.
9388         * device-src/rait-device.c: Be much more robust in error handling;
9389           new feature to start a RAIT device in degraded mode.
9390         * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
9391
9392 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9393         * common-src/amanda.h: remove unused #include <alloca.h>
9394
9395 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
9396         * device-src/tape-device.c: add "user" and "good" to feature flags
9397         * man/xml-source/amanda-devices.7.xml: document it
9398
9399 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
9400         * device-src/device.h: fix comments to reflect removal of
9401           autofinishing
9402         * device-src/tape-device.c: remove autofinishing
9403
9404 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
9405         * changer-src/chg-lib.sh.in: also handle bare tape dev names
9406
9407 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
9408         * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
9409         * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
9410           open the debug file
9411
9412 2008-06-30  Dustin J. Mitchell <dustin@zmanda.com>
9413         * common-src/match.c: fix multiple bugs in match_datestamp
9414
9415 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
9416         * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
9417           perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
9418           perl/Amanda/Device.swg perl/Amanda/Logfile.swg
9419           perl/Amanda/Util.swg: POD cleanup
9420         * perl/Makefile.am: new files, rules to make HTML
9421         * perl/amperl.css: CSS file for online POD
9422         * perl/make_html.pl: make online POD
9423
9424 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
9425         * installcheck/Makefile.am installcheck/amstatus.pl: new check
9426
9427 2008-06-27  Ian Turner <ian@zmanda.com>
9428         * server-src/taper.c: fix printing a NULL pointer in the error path
9429
9430 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
9431         * device-src/device.c: check for and fail on multiple
9432           short writes to the same file
9433         * device-src/null-device.c device-src/rait-device.c
9434           device-src/s3-device.c device-src/tape-device.c
9435           device-src/vfs-device.c: do not autofinish files
9436         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
9437           expect devices to autofinish anymore
9438         * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
9439         * device-src/device-queueing.c: comments
9440         * xfer-src/xfer-element.h: comments
9441
9442 2008-06-27  Nikolas Coukouma <atrus@zmanda.com>
9443         * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
9444           Add support for bucket location constraints
9445         * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
9446         * device-src/s3.c device-src/s3.h device-src/s3-device.c:
9447           Checks for libcurl and bucket name compatability with location constraints
9448         * device-src/s3.c: make s3_init() threadsafe,
9449           refactor regex compilation and calling,
9450           refactor perform_request() functions to construct URL later,
9451           use GString to tidy string generation
9452         * installcheck/Amanda_Device.pl: Add tests for location constraints
9453
9454 2008-06-27  Ian Turner <ian@zmanda.com>
9455         * device-src/rait-device.c: Fix a memory corruption issue on the last
9456           block of a file.
9457
9458 2008-06-27  Ian Turner <ian@zmanda.com>
9459         * device-src/rait-device.c: Fix a memory corruption issue on the last
9460           block of a file.
9461
9462 2008-06-27  Ian Turner <ian@zmanda.com>
9463         * device-src/rait-device.c: Track file numbers properly when child
9464           devices change them (that is, in rait_device_start_file() and
9465           rait_device_seek_file()).
9466         * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
9467
9468 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
9469         * device-src/s3-device.c (s3_device_read_label): Don't set
9470           volume_header if nothing is read.
9471
9472 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
9473         * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
9474
9475 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
9476         * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
9477         * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
9478           be busy or offline
9479
9480 2008-06-26  Jean-Louis Martineau <martineau@zmanda.com>
9481         * application-src/amstar.c: Use local start_time variable.
9482         * application-src/amgtar.c: Use local start_time variable.
9483         * common-src/clock.h: Remove times_zero and start_time extern.
9484         * common-src/clock.c: Remove times_zero.
9485
9486 2008-06-25  Jean-Louis Martineau <martineau@zmanda.com>
9487         * server-src/diskfile.c: Don't send encryption in xml req packet for
9488                                  server encryption.
9489
9490 2008-06-25  Dustin J. Mitchell <dustin@zmanda.com>
9491         * application-src/amgtar.c: revert --atime-preserve change
9492
9493 2008-06-22  Dustin J. Mitchell <dustin@zmanda.com>
9494         * application-src/amgtar.c: change --atime-preserve=system to
9495           --atime-preserve
9496
9497 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>
9498         * installcheck/amdump.pl: fix checks to refresh the test configuration
9499
9500 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
9501         * server-src/amdump.sh: correctly handle error exits from planner
9502         * server-src/planner.c: fail if planning fails
9503         * installcheck/amdump.pl: test changes
9504
9505 2008-06-20 Dan Locks <dwlocks@zmanda.com>
9506         * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
9507
9508 2008-06-20 Dan Locks <dwlocks@zmanda.com>
9509         * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
9510
9511 2008-06-20  Jean-Louis Martineau <martineau@zmanda.com>
9512         * client-src/client_util.c: Call check_access() only
9513                                     if getuid() == geteuid().
9514         * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
9515
9516 2008-06-19  Jean-Louis Martineau <martineau@zmanda.com>
9517         * server-src/amcleanup.pl: Correctly rename amdump files.
9518
9519 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
9520         * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
9521         * man/entities/global.entities: emails for dustin and ian
9522         * man/xml-source/amanda.8.xml: refer to new manpage
9523         * man/xml-source/amanda.conf.5.xml: refer to new manpage
9524         * man/xml-source/amrecover.8.xml: refer to new manpage
9525         * server-src/amcheck.c: fix message regarding WORM media
9526
9527 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9528         * server-src/amgetconf.pl: fail on bad parameters or subsections, but
9529           not empty values or subsection lists
9530         * perl/Amanda/Config.swg: publish a list of subsections
9531         * installcheck/amgetconf.pl: test it
9532
9533 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9534         * example/template.d/amanda-single-tape.conf.in
9535           example/template.d/amanda-harddisk.conf.in
9536           example/template.d/amanda-tape-changer.conf.in
9537           example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
9538           use application amgtar instead of program GNUTAR
9539
9540 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9541         * config/amanda/net.m4: AC_SUBST port ranges; update comments
9542
9543 2008-06-19  Satya Ganga <gsat@zmanda.com>
9544         * example/template.d/amanda-single-tape.conf.in
9545           example/template.d/advanced.conf.in: update displayunit to "g" and
9546           remove chg-manual for single tape configurations.
9547
9548 2008-06-19  Ian Turner <ian@zmanda.com>
9549         * device-src/rait-device.c (rait_device_start): Check for consistent
9550           volume label on all child devices, fail with
9551           DEVICE_STATUS_DEVICE_ERROR otherwise.
9552         * installcheck/Amanda_Device.pl: Test for foregoing.
9553
9554 2008-06-19  Paddy Sreenivasan <paddy@zmanda.com>
9555         * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
9556
9557 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
9558         * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
9559         * config/automake/scripts.am: explain why
9560
9561 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9562         * changer-src/chg-manual.sh: Make it interruptible.
9563
9564 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9565         * application-src/amgtar.c: Remove check for amandates file.
9566
9567 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9568         * common-src/amanda.h: Fix skip_quoted_string for "\\".
9569         * common-src/file.c: Fix debug_agets for "\\".
9570
9571 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9572         * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
9573
9574 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
9575         * client-src/sendsize.c: Report error from application to server.
9576         * application-src/amgtar.c: Report exit status of tar.
9577
9578 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
9579         * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
9580           xfer-src/dest-device.c xfer-src/source-device.c: new elements
9581           Amanda::Xfer:{Dest,Source}::Device
9582         * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
9583         * installcheck/Amanda_Xfer.pl: tests for new elements
9584
9585 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
9586         * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
9587           and amgtar
9588         * installcheck/amservice.pl: put -f switches first
9589
9590 2008-06-15  Dustin J. Mitchell <dustin@zmanda.com>
9591         * installcheck/Amanda_Config.pl: test config overwrites
9592         * common-src/conffile.c: don't segfault applying config overwrites
9593           after config_init(0, NULL)
9594
9595 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
9596         * client-src/sendbackup.c: Run compression and encryption for
9597                                    application-api.
9598
9599 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
9600         * perl/Amanda/Util.swg: Expose get_original_cwd.
9601         * application-src/amgtar_perl.pl, application-src/amoracle.pl:
9602           chdir(get_original_cwd()) before restore.
9603
9604 2008-06-13  Dustin J. Mitchell <dustin@zmanda.com>
9605         * device-src/property.c device-src/property.h: remove tape properties
9606         * device-src/tape-device.c device-src/tape-device.h: add tape
9607           properties
9608
9609 2008-06-12 Dan Locks <dwlocks@zmanda.com>
9610         * packaging/rpm/amanda_enterprise.spec,
9611           packaging/rpm/amanda_enterprise_client.spec,
9612           packaging/deb/rules: install amgtar and amstar suid root
9613
9614 2008-06-12  Jean-Louis Martineau <martineau@zmanda.com>
9615         * client-src/selfcheck.c: Typo.
9616
9617 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9618         * client-src/sendsize.c: Check MAX-LEVEL from application.
9619         * server-src/planner.c: Ask for estimate even if SERVER, estimate is
9620           valid if client return -1 and invelid if client return -2.
9621         * common-src/amfeatures.h: New fe_xml_estimate amfeature.
9622         * common-src/amxml.c: Parse <estimate> tag.
9623         * common-src/amxml.h (dle_t): New estimate field.
9624         * common-src/amfeatures.c: Set fe_xml_estimate.
9625
9626 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9627         * client-src/client_util.c (application_property_add_to_argv):
9628                                    Add include and exclude.
9629         * client-src/client_util.h (application_property_add_to_argv):
9630                                    New prototype.
9631         * client-src/sendbackup.c, client-src/sendsize.c,
9632           client-src/selfcheck.c, recover-src/extract_list.c:
9633           Add bsu param to application_property_add_to_argv.
9634         * client-src/selfcheck.c: Check if application support includ/exclude.
9635         * application-src/amgtar_perl.pl: Don't support include/exclude.
9636         * application-src/amgtar.c: Support include-optional and
9637                                     exclude-optional.
9638         * common-src/amxml.c: Fix include/exclude parsing.
9639
9640 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9641         * application-src/Makefile.am: Install amgtar and amstar suid root.
9642
9643 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
9644         * client-src/selfcheck.c: Print cmdline before execing the application.
9645         * application-src/generic-dumper.pl: Cleanup.
9646         * application-src/script-oracle.pl: Cleanup.
9647         * application-src/script-email.pl: Cleanup.
9648         * application-src/amgtar_perl.pl: Cleanup.
9649         * application-src/generic-script.pl: Cleanup.
9650         * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
9651         * perl/Amanda/Debug.swg: Typo.
9652
9653 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
9654         * common-src/Makefile.am: don't use $(builddir), fix comparison
9655         * installcheck/Makefile.am: don't use $(builddir)
9656
9657 2008-06-10  Ian Turner <ian@zmanda.com>
9658         * common-src/fileheader.c: Silence a compiler warning.
9659         * device-src/rait-device.c: ditto.
9660
9661 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
9662         * device-src/rait-device.c: hack around glib bug in versions <2.10.2
9663           using the precompiler macro instead of glib_check_version, which
9664           doesn't exist in every version of glib
9665
9666 2008-06-10 Dan Locks <dwlocks@zmanda.com>
9667         * packaging/rpm/amanda.spec:  Replaced individual SBINDIR/am... entries
9668           with SBINDIR/am* in %%files
9669
9670 2008-06-10  Jean-Louis Martineau <martineau@zmanda.com>
9671         * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
9672
9673 2008-06-09 Dan Locks <dwlocks@zmanda.com>
9674         * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
9675           cause the script to fail.
9676
9677 2008-06-09 Dan Locks <dwlocks@zmanda.com>
9678         * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
9679           use a single SBINDIR/am* entry in %files
9680
9681 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
9682         * common-src/fileheader.c: correctly free dle_str
9683         * device-src/device.c device-src/device.h: add volume_header Device
9684           attributes
9685         * device-src/rait-device.c device-src/s3-device.c
9686           device-src/tape-device.c device-src/vfs-device.c: populate
9687           volume_header
9688         * server-src/amlabel.c: use volume_header to detect a non-empty tape
9689           and require a force (-f) to overwrite it
9690         * server-src/taperscan.c: use volume_header to detect a non-empty tape
9691           and require 'amlabel -f' to overwrite it
9692         * device-src/tape-device.c device-src/vfs-device.c: fix read_label
9693           return values and remove useless chain-up calls
9694
9695 2008-06-09  Jean-Louis Martineau <martineau@zmanda.com>
9696         * server-src/amservice.c: Open input file in read mode, prepend
9697                                   get_original_cwd() to relative path.
9698         * installcheck/Makefile.am: Check amservice only on server.
9699
9700 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
9701         * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
9702
9703 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
9704         * man/xml-source/amanda.8.xml: add links to amservice
9705
9706 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9707         * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
9708         * configure.in: don't call AC_SOCKADDR_STORAGE
9709
9710 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9711         * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
9712
9713 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9714         * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
9715           handling so that checks can load/unload vtapes "manually"
9716
9717 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9718         * server-src/amdevcheck.pl: apply config_overwrites before printing
9719           config errors
9720
9721 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
9722         * application-src/amgtar_perl.pl application-src/amstar_perl.pl
9723           application-src/generic-dumper.pl application-src/generic-script.pl
9724           application-src/script-email.pl server-src/amgetconf.pl: add GPL
9725           notice
9726
9727 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9728         * server-src/amservice.c: Exit with 1 if the connection fail.
9729         * man/xml-source/amservice.8.xml: Document exit code.
9730
9731 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
9732         * device-src/device.c: make device_set_error bulletproof to NULLs
9733         * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
9734           not defined
9735
9736 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9737         * man/Makefile.am: Add amservice.8.
9738         * man/xml-source/amservice.8.xml: New man page for amservice.
9739         * server-src/amservice.c: New program to execute an amanda service
9740                                   on a client.
9741         * server-src/Makefile.am: Add amservice
9742         * installcheck/amservice.pl: New check for amservice program.
9743         * installcheck/Makefile.am: Add amservice
9744
9745 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9746         * server-src/dumper.c: Don't quote dle_str.
9747         * common-src/fileheader.c: DLE= in header is like heredoc.
9748
9749 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
9750         * device-src/*: major overhaul:
9751           - add device_set_error to set error status and message for Device
9752           - every error return from a device API method sets error status
9753           - device_status_error is now threadsave
9754           - a device in an error state will not perform further operations
9755           - ensure Device attributes are set correctly by member functions
9756           - device_open never returns NULL, but may return a null device with
9757             error status set
9758           - clearly define $device_name="$device_type:$device_node"
9759           - send RAIT logging to the debug log
9760           - vfs, tape devices don't touch the device until read_label or start
9761           - on out-of-space in write, set is_eof, finish the file, and return
9762             FALSE
9763           - use accessor functions in Amanda::Device
9764           - move device-specific properties to live with their devices
9765           - change g_return_val_if_fail to g_assert or explicit checks
9766           - remove most default Device methods, as they were more confusing
9767             than helpful
9768           - misc. other cleanup
9769         * device-src/null-device.h device-src/rait-device.h
9770           device-src/s3-device.h device-src/vfs-device.h: removed to make most
9771           device class declarations local to the source file
9772         * perl/Amanda/Device.swg: new error handling
9773         * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
9774           server-src/amcheck.c server-src/amcheckdump.pl
9775           server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
9776           server-src/taperscan.c: use new device error-handling
9777         * server-src/taper-file-source.c server-src/taper-port-source.c
9778           server-src/taper-source.c: rename GObject constants (typo)
9779         * server-src/taper-source.h:
9780         * server-src/taper.c: handle opening devices better, log on EOM
9781         * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
9782           correctly
9783         * installcheck/amdevcheck.pl: volume-unlabeled message has changed
9784         * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
9785           classes
9786         * configure.in device-src/tests/: removed
9787         * device-src/vfs-test.c: moved from device-src/tests/
9788
9789 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
9790         * client-src/sendbackup.c: Don't write the uncompression program if
9791                                    it is not client compressed.
9792
9793 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
9794         * server-src/taper.c: Log no-tape line.
9795
9796 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
9797         * server-src/reporter.c: Improve formating.
9798
9799 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
9800         * server-src/driver.c: start the degraded mode if it receive
9801                                NO-NEW-TAPE from taper.
9802
9803 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
9804         * server-src/amcheckdump.pl: Check log fiels in directory if find_log
9805                                      find no log for the timestamps.
9806
9807 2008-06-05  Dustin J. Mitchell <dustin@zmanda.com>
9808         * common-src/conffile.c common-src/conffile.h: expose config_add_error
9809         * server-src/diskfile.c server-src/diskfile.h: use config_add_error
9810           to send diskfile errors to conffile's error-handling mechanism
9811         * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
9812           server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
9813           server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
9814           server-src/planner.c: parse disklist along with config
9815
9816 2008-06-04  Jean-Louis Martineau <martineau@zmanda.com>
9817         And Dustin J. Mitchell <dustin@zmanda.com>
9818         * man/xml-source/amanda-client.conf.5.xml: Document property.
9819         * installcheck/Amanda_Config.pl: Add test for client property.
9820         * common-src/conffile.c (client_var): Add CONF_PROPERTY.
9821
9822 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
9823         * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
9824         * common-src/fileheader.c: Don't print NULL dle_str.
9825
9826 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
9827         * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
9828                                    add fe_amrecover_dle_in_header.
9829         * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
9830         * recover-src/set_commands.c: Use fe_amindexd_DLE.
9831         * server-src/dumper.c: Set dle_str and add it to the header.
9832         * restore-src/restore.c: Remove dle_str is client doesn't have
9833                                  fe_amrecover_dle_in_header.
9834         * common-src/fileheader.c: Parse and set dle_str from header.
9835         * common-src/fileheader.h: Add dle_str in dumpfile_t.
9836
9837 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
9838         * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
9839           man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
9840           man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
9841
9842 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
9843         * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
9844                                                  subsec_name.
9845         * installcheck/amgetconf.pl: Fix and add more tests.
9846
9847 2008-06-03  Dustin J. Mitchell <dustin@zmanda.com>
9848         * common-src/amxml.c: give parse error on an empty "disk" element
9849         * server-src/diskfile.c: give parse error on an empty "disk" element
9850
9851 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
9852         * common-src/security-util.c: Remove unneeded pointer cast.
9853         * common-src/stream.c: Fix compiler error.
9854
9855 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
9856         * installcheck/Installcheck/Config.pm: fix subsection inheritance
9857
9858 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
9859         * common-src/amanda.h, common-src/bsd-security.c,
9860           common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
9861           common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
9862           common-src/security-util.c, common-src/security-util.h,
9863           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
9864           common-src/stream.c, common-src/util.c, common-src/util.h,
9865           restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
9866           change all relevant functions to use it, to avoid aliasing violations
9867
9868 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
9869         * common-src/conffile.c (lookup_keyword): Use temporary variable.
9870         * installcheck/Amanda_Config.pl:  Check insentivity of -/_ in amanda
9871                                           keyword.
9872         * installcheck/Installcheck/Config.pm: Adjust to make the subsection
9873                                                inheritance work.
9874
9875 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
9876         * recover-src/extract_list.c: Send properties from dump_dle to
9877                                       application plugin.
9878
9879 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
9880         * client-src/client_util.c: New *-RECOVER scripts.
9881         * application-src/script-email.pl: Add new *-RECOVER scripts.
9882         * application-src/generic-script.pl: Add new *-RECOVER scripts.
9883         * application-src/amstar.c: Fix.
9884         * application-src/amgtar.c: Fix.
9885         * recover-src/amrecover.c: Add a global dump_dle variable.
9886         * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
9887                                       scripts.
9888         * recover-src/amrecover.h: Add an extern dump_dle variable.
9889         * recover-src/set_commands.c: Send to amindexd the DLE command.
9890         * server-src/amindexd.c: Handle the DLE command.
9891         * server-src/server_util.c: Add *-RECOVER scripts, they can't be
9892                                     executed on server.
9893         * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
9894         * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
9895         * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
9896         * common-src/amxml.c: Add *-RECOVER scripts.
9897         * common-src/conffile.c: Add *-RECOVER scripts.
9898         * common-src/conffile.h: Add *-RECOVER scripts.
9899
9900 2008-05-29  Dustin J. Mitchell <dustin@zmanda.com>
9901         * common-src/conffile.c: make config insensitive to
9902           differences between '-' and '_'
9903         * man/xml-source/amanda-client.conf.5.xml
9904           man/xml-source/amanda.conf.5.xml
9905           man/xml-source/amgetconf.8.xml: document it
9906         * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
9907           tests
9908
9909 2008-05-29  Orion Poplawski <orion@cora.nwra.com>
9910         * server-src/chunker.c: fix buffer overrun
9911
9912 2008-05-29  Jean-Louis Martineau <martineau@zmanda.com>
9913         * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
9914
9915 2008-05-28  Dustin J. Mitchell <dustin@zmanda.com>
9916         * device-src/rait-device.c: rait-device returns correct size when
9917           blocksize is too small
9918
9919 2008-05-28  Jean-Louis Martineau <martineau@zmanda.com>
9920         * server-src/reporter.c: Fix ignoring pid line.
9921
9922 2008-05-27  Jean-Louis Martineau <martineau@zmanda.com>
9923         * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
9924         * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
9925
9926 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
9927         * server-src/amstatus.pl: use lib '@amperldir@';
9928         * perl/Amanda/Process.pm: use Amanda::Constants;
9929
9930 2008-05-26  Dustin J. Mitchell <dustin@zmanda.com>
9931         * device-src/rait-device.c: temporarily remove the call to set the
9932           BLOCK_SIZE property on all RAIT children, as it fails with VFS
9933           devices
9934         * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
9935           correctly detect and handle child device failures
9936         * common-src/fileheader.c: fix parse_file_header to be threadsafe
9937
9938 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
9939         * device-src/tape-aix.c, device-src/tape-xenix.c
9940           device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
9941         * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
9942         * device-src/property.c: Add broken_gmt_online property.
9943         * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
9944         * device-src/tape-device.c: Use broken_gmt_online property.
9945         * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
9946         * device-src/tape-ops.h (tape_is_ready): Change prototype.
9947
9948 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
9949         * changer-src/chg-zd-mtx.sh: Fix logging.
9950
9951 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
9952         * packaging/rpm/amanda.spec: Fix output message.
9953
9954 2008-05-25  Dustin J. Mitchell <dustin@zmanda.com>
9955         * common-src/Makefile.am common-src/simpleprng.c
9956           common-src/simpleprng.h: new simple PRNG module for
9957           reproducible use in tests (bitlength bug fixed).
9958         * xfer-src/dest-null.c: verify stream against PRNG
9959         * xfer-src/source-random.c: use PRNG to create stream
9960         * installcheck/Amanda_Xfer.pl: verify streams in xfers
9961         * perl/Amanda/Xfer.swg: use PRNG
9962         * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
9963           PRNG to test glue elements
9964
9965 2008-05-23  Dustin J. Mitchell <dustin@zmanda.com>
9966         * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
9967           reading from dying child
9968
9969 2008-05-22  Dustin J. Mitchell <dustin@zmanda.com>
9970         * xfer-src/xfer-test.c: don't try to write to a file in the
9971           source directory
9972
9973 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
9974         * perl/Amanda/Process.pm (load_ps_table): Fix split.
9975
9976 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
9977         * configure.in: Call AMANDA_PS_ARGUMENT
9978         * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
9979                                                     argument.
9980         * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
9981         * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
9982
9983 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
9984         * perl/Amanda/Process.pm: process_alive return '' if the process is
9985                                   dead.
9986         * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
9987         * installcheck/Makefile.am (server_tests): Add Amanda_Process.
9988
9989 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
9990         * server-src/amstatus.pl: Add "failed: killed while" to some status if
9991                                   the driver process is dead.
9992         * perl/Amanda/Process.pm: New process_alive function.
9993
9994 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
9995         * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
9996           server-src/amflush.c, server-src/driver.c, server-src/taper.c,
9997           restore-src/amidxtaped.c, restore-src/restore.c,
9998           restore-src/amfetchdump.c: Convert all pid_t to long before printing.
9999
10000 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
10001         * man/xml-source/amcleanup.8.xml: Document new -p option.
10002         * server-src/logfile.c (program_str): Add many programs.
10003         * server-src/logfile.h (program_e): Add many programs.
10004         * server-src/dumper.c, server-src/planner.c,
10005           server-src/chunker.c, server-src/amflush.c,
10006           server-src/driver.c, server-src/taper.c,
10007           restore-src/amidxtaped.c, restore-src/restore.c,
10008           restore-src/amfetchdump.c,
10009           server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
10010         * server-src/server_util.c (run_amcleanup): New function to run
10011                                                     amcleanup.
10012         * server-src/server_util.c (get_master_process): New function get the
10013                                  name of the first pid line in a log file.
10014         * server-src/server_util.h (run_amcleanup): Prototype.
10015         * server-src/server_util.h (get_master_process): Prototype.
10016         * server-src/reporter.c: Ignore pid and pid-done lines.
10017         * server-src/amcleanup.pl: New amcleanup program written in perl.
10018         * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
10019                                   SCRIPTS_PERL.
10020         * server-src/amcleanup.sh: Old program removed.
10021         * perl/Amanda/Process.pm: New module to hanlde amanda process.
10022         * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
10023
10024 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
10025         * server-src/driver.c: Fix quoting of diskname.
10026
10027 2008-05-20  Dustin J. Mitchell <dustin@zmanda.com>
10028         * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
10029           necessarily socklen_t used by getpeername et al.
10030         * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
10031           common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
10032           common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
10033           use the type instead of socklen_t
10034
10035 2008-05-20  Jean-Louis Martineau <martineau@zmanda.com>
10036             Dustin J. Mitchell <dustin@zmanda.com>
10037             John Franks <jrfranks@zmanda.com>
10038         * server-src/amstatus.pl: quote disknames in amstatus
10039         * server-src/Makefile.am: don't check amstatus (since it
10040           uses Amanda::* libs)
10041         * perl/Amanda/Util.swg: add (un)quote_string
10042         * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
10043
10044 2008-05-16  Jean-Louis Martineau <martineau@zmanda.com>
10045         * common-src/conffile.c: Fix conf_parserror use.
10046
10047 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
10048         * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
10049           XFA in server builds
10050
10051 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
10052         * common-src/conffile.c: Parse send-amreport-on.
10053         * common-src/conffile.h (send_amreport_t): New enum for possible value
10054                                                    of send-amreport-on.
10055         * server-src/reporter.c: Use send-amreport-on setting.
10056         * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
10057         * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
10058
10059 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
10060         * client-src/client_util.c (application_property_argv_size): New
10061           function to count the number of argument needed to store all
10062           properties of an application for + * a dle in an ARGV.
10063         * client-src/client_util.c (application_property_add_to_argv): New
10064           function to add all properties of an application for a dle to an ARGV.
10065         * client-src/client_util.h (application_property_argv_size,
10066                                   application_property_add_to_argv): Prototype.
10067         * client-src/sendbackup.c, client-src/sendsize.c,
10068           client-src/selfcheck.c: Use new functions to pass properties as
10069                                   argument to application plugin.
10070         * application-src/script-email.pl, application-src/amstar.c,
10071           application-src/generic-script.pl,
10072           application-src/amgtar.c: Get properties from command line.
10073         * server-src/server_util.c: Use new functions to pass properties as
10074                                     argument to pre/post script.
10075         * common-src/util.c (count_proplist): Callback function to count the
10076                                               number of values of a property.
10077         * common-src/util.c (proplist_add_to_argv): callback function to store a
10078                                         property and it's value in an ARGV.
10079         * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
10080         * common-src/conffile.c (property_argv_size): New function to count the
10081                                                       number of properties.
10082         * common-src/conffile.c (property_add_to_argv): New function to store a
10083                                         property and it's value in an ARGV.
10084         * common-src/conffile.h (property_argv_size,
10085                                  property_add_to_argv): Prototype.
10086
10087 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
10088         * xfer-src/Makefile.am: add element-glue.h to the distribution
10089         * xfer-src/element-glue.h: add 'extern'
10090         * xfer-src/xfer-test.c: fix test elements
10091         * xfer-src/xfer.c: don't use the sometimes-undefined constant
10092           G_MAXINT32
10093         * xfer-src/source-random.c: Only use 'prolong' for threads, not
10094           push/pull methods
10095         * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
10096           XMSG_INFO
10097
10098 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
10099         * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
10100           xfer-src/source-random.c xfer-src/xfer-test.c
10101           xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
10102           xfer-src/source-fd.c xfer-src/element-glue.h
10103           xfer-src/Makefile.am xfer-src/filter-xor.c
10104           xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
10105           of transfer mechansims and new algorithm for linking xfers, with
10106           expanded unit tests to exercise new glue elements
10107         * installcheck/Amanda_Xfer.pl: updated installchecks
10108         * common-src/semaphore.h: fix comment typo
10109         * common-src/testutils.c common-src/testutils.h: optionally skip
10110           timeouts (-t), and only show g_debug messages if -d is given
10111
10112 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
10113         * client-src/amhpfixdevs.sh client-src/Makefile.am
10114           client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
10115           permanently remove amsinixfixdevs and amhpfixdevs
10116
10117 2008-05-12  Jean-Louis Martineau <martineau@zmanda.com>
10118           Patch by Orion Poplawski
10119         * server-src/planner.c: Warn about overwrite of last level 1, and
10120           force backup of level 1 if overwrite on this run.
10121
10122 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
10123         * common-src/conffile.c: Define default tapetype.
10124
10125 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
10126         * device-src/tape-device.c (tape_validate_properties): New function to
10127           validate properties.
10128
10129 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
10130         * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
10131
10132 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
10133         * common-src/conffile.c: Check the tapetype is defined.
10134
10135 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
10136         * device-src/tape-device.c: Allow user to set "read_buffer_size"
10137                                     property.
10138         * restore-src/amrestore.c: Don't limit blocksize to
10139                                    --with-maxtapeblocksize.
10140         * common-src/conffile.c: Increase readblocksize to blocksize.
10141           blocksize and readblocksize can be bigger than
10142           --with-maxtapeblocksize.
10143
10144 2008-05-06  Jean-Louis Martineau <martineau@zmanda.com>
10145         * common-src/conffile.c: Add a 'mailer' config parameter.
10146         * common-src/conffile.h: Add CNF_MAILER.
10147         * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
10148           changer-src/chg-manual.sh, application-src/script-email.pl
10149           server-src/amcheck.c server-src/amgetconf.pl
10150           server-src/reporter.c: Use mailer from config.
10151         * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
10152         * config/amanda/progs.m4: Set DEFAULT_MAILER.
10153         * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
10154         * man/xml-source/amanda-client.conf.5.xml,
10155           man/xml-source/amanda.conf.5.xml,
10156           man/xml-source/amgetconf.8.xml: Update man pages.
10157
10158 2008-05-02 Dan Locks <dwlocks@zmanda.com>
10159         * packaging/rpm/amanda.spec:  Replace ${ with %{ where applicable.
10160
10161 2008-05-02 Dan Locks <dwlocks@zmanda.com>
10162         *  packaging/deb/amanda-enterprise-backup-server.postinst
10163            packaging/rpm/amanda_enterprise.spec:  Change .am_passphrase to a
10164            semi-random number in both packages.
10165
10166 2008-04-29  Dustin J. Mitchell <dustin@zmanda.com>
10167         * config/amanda/dirs.m4: note that --with-dumperdir is
10168           deprecated in ./configure --help
10169
10170
10171 2008-04-28  Jean-Louis Martineau <martineau@zmanda.com>
10172         * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
10173
10174 2008-04-28  Dustin J. Mitchell <dustin@zmanda.com>
10175         * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
10176           xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
10177           Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
10178         * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
10179           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
10180           reorganize detection of transfer completion, to handle cases where
10181           elements don't do any active processing
10182         * installcheck/Amanda_Xfer.pl: test it all
10183
10184 2008-04-24  Jean-Louis Martineau <martineau@zmanda.com>
10185         * server-src/reporter.c: Correctly print truncated quoted diskname.
10186
10187 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
10188         * installcheck/Amanda_MainLoop.pl common-src/event-test.c
10189           common-src/queueing-test.c: try to make tests more resilient
10190           to heavily-loaded, slow machines
10191
10192 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
10193         * common-src/security-util.c: Typo.
10194
10195 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
10196         * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
10197         * common-src/event.c: Check event is not dead before fire it.
10198
10199 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
10200         * server-src/planner.c: Fix vstrextend use.
10201
10202 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
10203         * common-src/event.c: use internal child_watch_source
10204           for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
10205           signals and are thus unreliable
10206
10207 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
10208         * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
10209           parsing of 'sec' and 'kb' from logfile messages
10210         * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
10211         * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
10212           for new module
10213
10214 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
10215         * common-src/event.c: on glib <2.4.0, use a simple polling
10216           child_watch_source; on more recent glib, use glib's own
10217           child_watch_source
10218
10219 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
10220         * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
10221           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
10222           xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
10223           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
10224           - flatten XferElement hierarchy to one level
10225           - change test element argument order
10226           - rename XMsg.src to Xmsg.elt
10227           - Improve memory management (refcounting, perl interface)
10228         * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
10229           perl/Amanda/MainLoop.swg perl/Makefile.am
10230           perl/amglue/amglue.h perl/amglue/source.c:
10231           - rewrite handling of amglue_Source for better refcounting
10232           - Amanda::MainLoop callbacks get the event source as 1st argument,
10233             and will be called even if the event source goes out of scope in
10234             perl
10235           - MainLoop.swg significantly rewritten to get refcounting right
10236         * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
10237           file descriptors)
10238         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
10239            checks
10240
10241 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
10242         * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
10243                                    on ioctl error.
10244         * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
10245                          possible errors are VOLUME_MISSING or DEVICE_BUSY.
10246
10247 2008-04-22  Kevin Zembower <kzembowe@jhuccp.org>
10248         * man/xml-source/amflush.8.xml: add amflush example
10249
10250 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
10251         * device-src/tape-device.c: Move all device access from
10252           tape_device_open_device to tape_device_read_label.
10253           tape_device_start read the label if it is not already read.
10254         * device-src/vfs-device.c (vfs_device_open_device): remove read of the
10255                                                             label.
10256
10257 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
10258         * device-src/tape-device.c (check_resetofs): Compilation fix if
10259                                                      NEED_RESETOFS is defined.
10260         * device-src/tape-posix.c: Handle no ENOMEDIUM.
10261
10262 2008-04-21  Dan Locks <dwlocks@zmanda.com>
10263         * packaging/deb/buildpkg: modified build script to create unsigned
10264           packages
10265
10266 2008-04-21  Jean-Louis Martineau <martineau@zmanda.com>
10267         * changer-src/chg-lib.sh.in (amdevcheck_status):
10268           Set amdevcheck_message.
10269         * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
10270           changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
10271           changer-src/chg-multi.sh: Output amdevcheck_message
10272         * device-src/device.c: Set errmsg and status.
10273           device_open always return a device, the status and errmsg are set.
10274         * device-src/device.h: Define DeviceStatusFlags.
10275         * device-src/null-device.c, device-src/s3-device.c,
10276           device-src/tape-device.c, device-src/vfs-device.c,
10277           device-src/rait-device.c: Set errmsg and status.
10278         * device-src/tape-posix.c: Return status for VOLUME_MISSING.
10279         * device-src/tape-ops.h: Remove TapeCheckResult.
10280         * server-src/taper-source.h (_TaperSource): Add errmsg.
10281         * server-src/taper-source.c: Set errmsg
10282         * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
10283           server-src/taperscan.c, restore-src/amrestore.c,
10284           restore-src/restore.c: Use status and errmsg of a device.
10285         * server-src/taper-disk-port-source.c: Set errmsg.
10286         * server-src/reporter.c: Fix parsing of taper PARTIAL line.
10287         * server-src/taper.c: Use errmsg for device and _TaperSource.
10288         * server-src/taper-file-source.c: Set errmsg.
10289         * server-src/amcheckdump.pl,
10290           server-src/amdevcheck.pl: Use status and errmsg from device.
10291         * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
10292         * perl/Amanda/Device.swg: New interface.
10293         * installcheck/Makefile.am: Don't print some commands.
10294         * installcheck/Amanda_Device.pl: Check new device api.
10295         * common-src/queueing.c: Use new queue_fd_t.
10296         * common-src/queueing.h (queue_fd_t): new struct.
10297         * common-src/amanda-sh-lib.sh.in: Fix bug.
10298         * common-src/queueing-test.c: Use queue_fd_t.
10299
10300 2008-04-21  Dustin J. Mitchell <dustin@zmanda.com>
10301         * installcheck/amgetconf.pl: properly quote filenames in
10302           regex, to avoid spurious failures when e.g., '+' appears
10303           in the filename
10304
10305 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
10306         * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
10307           Amanda::MainLoop, allowing asynchronous operation of
10308           changers
10309         * server-src/amcheckdump.pl: use new Amanda::Changer
10310           interface (synchronously, until we have Amanda::Xfer)
10311         * installcheck/Amanda_Changer.pl: test new interface
10312
10313 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
10314         * installcheck/Makefile.am: build $(full_tests) too
10315
10316 2008-04-18  Cyrille Bollu <Cyrille.Bollu@fedasil.be>
10317         * client-src/sendsize.c: use --numeric-owner during 'sendsize'
10318
10319 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
10320         * installcheck/Makefile.am: segregate installchecks that require
10321           both client and server components
10322
10323 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
10324         * common-src/debug.c: add Amanda version to debug logs
10325
10326 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
10327         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
10328           process type and context process attributes
10329         * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
10330           debug_init to set up debugging according to the process context, and
10331           log nothing in CONTEXT_SCRIPTUTIL
10332         * server-src/amgetconf.pl server-src/amdevcheck.pl:
10333           CONTEXT_SCRIPTUTIL
10334         * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
10335         * installcheck/Amanda_Debug.pl: add comment
10336
10337 2008-04-16  Dan Locks <dwlocks@zmanda.com>
10338         * Fixes to debian package reported by daniel_P
10339         * packaging/deb/preinst: remove spaces near ${amanda_group}
10340         * packaging/deb/amanda-backup-server.dirs
10341           packaging/deb/amanda-backup-client.dirs: added var/amanda and
10342           usr/share/lintian/overrides
10343         * packaging/deb/rules: added logic to find PERLSITELIB and append that
10344           to amanda-backup-server.install, removed broken brace expansion
10345         * packaging/deb/buildpkg: removed extraneous configure step
10346         * packaging/deb/amanda-backup-server.postinst: added check for correct
10347           permissions on /tmp/amanda
10348
10349 2008-04-16  Dan Locks <dwlocks@zmanda.com>
10350         * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
10351           from configure invocation.  no longer necessary.
10352
10353 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
10354         * device-src/s3.c config/amanda/s3-device.m4: test curl features
10355           at runtime, instead of compile time, and always use SSL if it
10356           is available.
10357
10358 2008-04-16  Jean-Louis Martineau <martineau@zmanda.com>
10359         * server-src/amadmin.c: Improve message.
10360         * man/xml-source/amanda.conf.5.xml: Fix man page.
10361         * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
10362
10363 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
10364         * config/amanda/dumpers.m4: continue searching for gnutar if we
10365           find a binary claiming to be gnu tar that is not.  This gets
10366           around serious breakage on Ubuntu, where star is installed as
10367           /bin/gnutar, but /bin/tar is actually GNU Tar.
10368
10369 2008-04-15  Dustin J. Mitchell <dustin@zmanda.com>
10370         * common-src/file.c(mk1dir): fix reversed conditional to handle
10371           a race condition
10372
10373 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10374         * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
10375           msg_timestamp() to stderr.
10376
10377 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10378         * server-src/dumper.c: Call error() only after set_logerror is done.
10379         * server-src/planner.c: Call error() only after set_logerror is done.
10380         * server-src/chunker.c: Report a better error message.
10381         * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
10382
10383 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10384         * server-src/find.c (dumps_match_dumpspecs): New function to only keep
10385           dumps that match a dumpspecs, using it simplify amfetchdump.
10386         * server-src/find.h (dumps_match_dumpspecs): Prototype.
10387         * restore-src/amrestore.c: Add a first_restored_file to
10388           search_a_tape(), to allow restore ot stop after the first image.
10389         * restore-src/restore.c: Set first_restored_file, it was never set,
10390           it's needed to stop after the first image.
10391         * restore-src/restore.c (restore_from_tapelist): break if piping to
10392           stdout.
10393         * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
10394         * restore-src/amfetchdump.c: If -p, the keep only one dump.
10395         * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
10396         * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
10397         * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
10398         * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
10399         * installcheck/Amanda_Logfile.pl: Add many tests.
10400
10401 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10402         * tape-src/tapetype.c: Initialize an default config.
10403
10404 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
10405         * common-src/util.c (connect_portrange, connect_port, bind_portrange):
10406           Return the latest errno reported.
10407
10408 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10409         * common-src/conffile.c common-src/conffile.h
10410           perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
10411           new interface for config errors, re-introduce rawtapedev for
10412           deprectation purposes
10413         * installcheck/Installcheck/Config.pm: support test
10414           amanda-client.conf files
10415         * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
10416         * client-src/client_util.c client-src/client_util.h: add
10417           config_errors_to_error_string
10418         * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
10419           better, so users see client-side config errors
10420         * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
10421           changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
10422           client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
10423           application-src/amgtar.c recover-src/amrecover.c
10424           server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
10425           server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
10426           server-src/amtape.c server-src/amcheckdump.pl
10427           server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
10428           server-src/driver.c server-src/reporter.c server-src/taper.c
10429           server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
10430           server-src/amlabel.c installcheck/Amanda_Changer.pl
10431           installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
10432           installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
10433           restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
10434           error interface
10435
10436 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10437         * server-src/diskfile.c: improve messages when client does not
10438           support required features
10439
10440 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10441         * installcheck/Amanda_Config.pl common-src/conffile.c
10442           common-src/conffile.h: fix deprecation of keywords to
10443           actually issue a warning.  'netusage' is no longer
10444           deprecated.
10445
10446 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
10447         * common-src/event.c: use SA_RESTART for child_watch_source
10448
10449 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10450         * perl/Amanda/MainLoop.swg perl/amglue/source.c
10451           installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
10452           GSources defined in event.c, using an extensible model
10453         * common-src/event.c: check whether child_watch_source's signal
10454           handler has been replaced, and issue a warning if it has.
10455
10456 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10457         * common-src/queueing.c: fix condition (thanks to Jean-Louis
10458           Martineau)
10459
10460 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10461         * common-src/Makefile.am common-src/queueing-test.c: new tests
10462         * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
10463         * common-src/queueing.c: fix two bugs:
10464           - spurious in-place memmove on every buffer copy
10465           - silent discard of a final packet if the consumer does not
10466             completely consume it
10467         * common-src/queueing.h: update comments
10468         * common-src/testutils.h: add header-protection macros
10469
10470 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10471         * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
10472           for Amanda::Device
10473
10474 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
10475         * man/xml-source/amanda.conf.5.xml: fix typos
10476
10477 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
10478         * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
10479
10480 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
10481         * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
10482
10483 2008-04-01  Dustin J. Mitchell <dustin@zmanda.com>
10484         Suggested by Sunil Sawant <sunil@zmanda.com>
10485         * man/xml-source/amrecover.8.xml: suggest including a config in the
10486           amrecover command line
10487
10488 2008-04-01  John Franks <jfranks@zmanda.com>
10489         * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
10490           Patches to reapply after gnulib updates.
10491         * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
10492           gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
10493           gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
10494           gnulib/getaddrinfo.h:
10495           Remove restricted keywords from source files.
10496
10497 2008-04-01  Satya Ganga <gsat@zmanda.com>
10498         * example/template.d/amanda-S3.conf.in: S3 device should have
10499           "infinite" tape length
10500
10501 2008-03-31  John Franks <jfranks@zmanda.com>
10502         * common-src/stream.c
10503           Fix warning about ininitialized variables.
10504
10505 2008-03-31  John Franks <jfranks@zmanda.com>
10506         * oldrecover-src/Makefile.am xfer-src/Makefile.am
10507           recover-src/Makefile.am server-src/Makefile.am
10508           restore-src/Makefile.am:
10509           Fix build problems with multiply defined symbols.
10510
10511 2008-03-31  Dan Locks <dwlocks@zmanda.com>
10512         * packaging/deb/buildpkg
10513           packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
10514
10515 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
10516         * client-src/sendbackup-gnutar.c client-src/sendsize.c
10517           client-src/selfcheck.c: update amandates whenever possible, but only
10518           complain when it is really needed: when using calcsize, or when
10519           using GNUTAR and --without-gnutar-listdir.
10520         * client-src/amandates.c: Set errno before return of start_amandates
10521         * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
10522
10523 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
10524         * server-src/amgetconf.pl: Parse config after setup_applccation call.
10525
10526 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
10527         * server-src/amcheck.c: Check errno after full_read.
10528
10529 2008-03-31  Dan Locks <dwlocks@zmanda.com>
10530         * packaging/Makefile.am: add deb subdirectory.
10531
10532 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>
10533         * common-src/rsh-security.c common-src/ssh-security.c: improve error
10534           messages for resolve_hostname calls
10535
10536 2008-03-27  Dustin J. Mitchell <dustin@zmanda.com>
10537         * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
10538         * gnulib/regenerate/regenerate gnulib/Makefile.am
10539           config/gnulib/gnulib-cache.m4: add full-read, full-write modules
10540         * oldrecover-src/extract_list.c client-src/noop.c
10541           client-src/sendbackup-gnutar.c client-src/sendbackup.c
10542           client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
10543           application-src/amgtar.c recover-src/extract_list.c
10544           server-src/changer.c server-src/logfile.c server-src/amindexd.c
10545           server-src/amcheck.c server-src/dumper.c server-src/chunker.c
10546           server-src/taper-port-source.c server-src/driverio.c
10547           server-src/holding.c server-src/driver.c
10548           server-src/taper-file-source.c restore-src/restore.c
10549           common-src/security-util.c common-src/amanda.h
10550           tape-src/output-file.c: use gnulib full_read, full_write functions,
10551           which have slightly different error semantics than the corresponding
10552           Amanda functions.
10553
10554 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
10555         * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
10556
10557 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
10558         * device-src/activate-devpay.c (parse_commandline): Always return.
10559
10560 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10561         * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
10562         * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
10563         * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
10564         * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
10565         * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
10566         * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
10567         * amandad-src/Makefile.am,
10568         * client-src/Makefile.am, device-src/Makefile.am,
10569           server-src/Makefile.am, server-src/server_util.c,
10570           tape-src/Makefile.am: Add library to many *_LIBADD.
10571         * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
10572           WANT_CYGWIN_COPY_PERL_DLL.
10573
10574 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10575         * common-src/conffile.c: Fix typo and remove unused prefix.
10576
10577 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10578         * server-src/reporter.c: Check difference between origsize and outsize
10579           to find if the image is compressed.
10580
10581 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10582         Greg Troxel reported the bug and possible solution.
10583         * common-src/stream.c (stream_server): New family argument, it is used
10584                                                to create the socket.
10585         * common-src/stream.h (stream_server): New prototype.
10586         * server-src/chunker.c, server-src/taper.c: Call stream_server with
10587           family of 'localhost', it's the name dumper use to contact them.
10588         * restore-src/amidxtaped.c: Call stream_server with AF_INET.
10589         * common-src/bsd-security.c, common-src/security-util.c: Call
10590           stream_server with family of incoming packet.
10591
10592 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10593         Davor Ocelic reported the problem.
10594         * application-src/Makefile.am: Use applicationexec_PROGRAMS and
10595           applicationexec_SCRIPTS to install executable.
10596
10597 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
10598         * common-src/security-util.c (show_stat_info): Use getpwuid_r
10599                                                        and getgrgid_r.
10600 2008-03-25  Dustin J. Mitchell <dustin@zmanda.com>
10601         * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
10602           peculiar linking of threading libraries.
10603
10604 2008-03-20  Dan Locks <dwlocks@zmanda.com>
10605         * packaging/deb/control: removed grep dependency
10606         * packaging/deb/amanda-backup-client.postinst
10607           packaging/deb/amanda-backup-server.postinst
10608           packaging/deb/amanda-backup-server.postrm
10609           packaging/deb/amanda-backup-client.postrm:  removed call to
10610           ldconfig to satisfy lintian
10611         * packaging/deb/amanda-backup-server.lintian
10612           packaging/deb/amanda-backup-client.lintian: sorted and added new
10613           overrides
10614         * packaging/deb/amanda-backup-client.dirs: removed var/amanda
10615
10616 2008-03-18  Dustin J. Mitchell <dustin@zmanda.com>
10617         * device-src/activate-devpay.c: fix type warning
10618
10619 2008-03-17  Jean-Louis Martineau <martineau@zmanda.com>
10620         * server-src/diskfile.c: Correctly check if two hosts map to the same
10621                                  name.
10622
10623 2008-03-15  Dustin J. Mitchell <dustin@zmanda.com>
10624         * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
10625           perl/amglue/source.c: rename mainloop.c to source.c to avoid
10626           conflicts with MainLoop.c on case-insensitive filesystems
10627
10628 2008-03-14  Dan Locks <dwlocks@zmanda.com>
10629         * Initial debian release: This package is based on Bdale Garbee's
10630           work as the official debian maintainer for amanda.
10631
10632 2008-03-14  Jean-Louis Martineau <martineau@zmanda.com>
10633         * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
10634                                             property.
10635         * server-src/server_util.c: Rename _proplist to _property.
10636         * server-src/diskfile.c: Rename _proplist to _property.
10637         * server-src/amadmin.c (disklist_one): Print property.
10638         * perl/Amanda/Config.swg: Add new constants to Amanda::Config
10639         * installcheck/Amanda_Config.pl: Test global property.
10640         * common-src/conffile.c: Add global and by dumptype property.
10641         * common-src/conffile.h: Add global and by dumptype property.
10642
10643 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
10644         * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
10645         * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
10646         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
10647           new module
10648         * common-src/event.h: fix typo in comment
10649
10650 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
10651         * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
10652           expects an int, not a char.
10653
10654 2008-03-13  Dan Locks <dwlocks@zmanda.com>
10655         * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
10656           it works with rpm versions earlier than 4.4
10657
10658 2008-03-13  Dustin J. Mitchell <dustin@zmanda.com>
10659         * device-src/device-queueing.c device-src/device-queueing.h
10660           server-src/taper-source.c server-src/taper-source.h
10661           server-src/taper-source-test.c server-src/taper.c
10662           common-src/queueing.c common-src/queueing.h: change ints in
10663           consumer/producer to (s)size_t
10664         * device-src/device.c device-src/device-queueing.c
10665           device-src/tests/semaphore-test.c device-src/tests/Makefile.am
10666           device-src/queueing.c device-src/semaphore.c
10667           device-src/device-queueing.h device-src/queueing.h
10668           device-src/Makefile.am device-src/semaphore.h
10669           device-src/property.h server-src/taper.c common-src/queueing.c
10670           common-src/queueing.h common-src/semaphore-test.c
10671           common-src/semaphore.c common-src/semaphore.h
10672           common-src/Makefile.am: move queueing and semaphore into
10673           common-src, along with their tests
10674         * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
10675           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
10676           xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
10677           xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
10678           xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
10679         * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
10680           xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
10681           xfer-src/Makefile.am xfer-src/xfer.h: support for sending
10682           and receiving XMsgs.
10683         * common-src/event.c common-src/event.h: add default_event_loop().
10684         * device-src/device.c server-src/taper-source-test.c common-src/util.c
10685           common-src/util.h common-src/glib-util.c common-src/glib-util.h:
10686           create new glib_init() to do g_type_init(), initialize threads, etc.
10687
10688 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
10689         * client-src/sendsize.c: Don't use sscanf for est->qamname because it
10690                                  can have a '%'.
10691         * server-src/diskfile.c: Clean the diskname before using it as a regex.
10692         * common-src/protocol.c: Fix bug if packet have a '%' character.
10693
10694 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
10695         * installcheck/Installcheck/Run.pm: Increase size of TAPE.
10696
10697 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
10698         * common-src/event.c: Use %jd to print a pid_t, since it may be
10699           larger on some platforms.
10700
10701 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10702         * common-src/conffile.c: Fix solaris 8 cc warning.
10703
10704 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10705         * client-src/sendbackup.c: Set stroptions to "".
10706
10707 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
10708         * common-src/event.c common-src/event.h common-src/event-test.c:
10709           add two new GSources: child_watch_source (sends events when a child
10710           dies) and fdsource (sends events when file descriptors match
10711           conditions).  Thanks to Jean-Louis Martineau for finding and fixing
10712           a race condition.
10713
10714 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
10715         * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
10716           documentation to reflect use of gnulib's git repository
10717
10718 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10719         * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
10720                                     it is done automaticaly.
10721         * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
10722                                      conflict with make CLOBBER_MY_CONFIG.
10723
10724 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
10725         * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
10726                                     variable.
10727
10728 2008-03-12  Dan Locks <dwlocks@zmanda.com>
10729         * packaging/rpm/buildpkg: made the script quieter
10730
10731 2008-03-12  Dan Locks <dwlocks@zmanda.com>
10732         * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
10733           added --quiet to the configure invocation
10734
10735 2008-03-10  Jean-Louis Martineau <martineau@zmanda.com>
10736         * gnulib: Update to latest version, add getopt module.
10737
10738 2008-03-07  Jean-Louis Martineau <martineau@zmanda.com>
10739         * oldrecover-src/Makefile.am, example/Makefile.am,
10740           amandad-src/Makefile.am, recover-src/Makefile.am,
10741           restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
10742         * installcheck/Amanda_Config.pl: Check config_filename.
10743         * installcheck/Installcheck/Config.pm: Use local amandates and
10744                                                gnutar_listdir.
10745         * installcheck/Makefile.am: Take a copy of amanda-client.conf
10746         * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
10747         * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
10748         * config/automake/installperms.am: installperms.sh in top_builddir,
10749                                            DISTCLEANFILES += $(installperms_sh)
10750         * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
10751                        DISTCHECK_CONFIGURE_FLAGS.
10752         * common-src/Makefile.am: distclean-local: remove svn-info.h.
10753
10754 2008-03-07  Dan Locks <dwlocks@zmanda.com>
10755         * packaging/rpm/buildpkg:  Simplified usage of packaging script by
10756           creating a tarball from existing source.
10757
10758 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
10759         * installcheck/Installcheck/Run.pm: merge from application-api.
10760         * installcheck/Installcheck/Config.pm: merge from application-api.
10761
10762 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
10763         * merge application-api
10764
10765 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
10766         * common-src/Makefile.am: dest=$(amlibexecdir).
10767
10768 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
10769         * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
10770                                    Add chg-lib.sh.in to EXTRA_DIST.
10771         * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
10772                                   Add generic-dumper.pl to EXTRA_DIST.
10773         * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
10774                                   Add amanda-sh-lib.sh.in to EXTRA_DIST.
10775
10776 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10777         * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
10778         * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
10779
10780 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10781         * config/amanda/swig.m4: Check for *freebsd[123456]*
10782
10783 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10784         * changer-src/chg-scsi-chio.c: Compile fix.
10785         * changer-src/scsi-chio.c: Compile fix.
10786         * config/amanda/changer.m4: Check for linux/chio.h
10787
10788 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10789         * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
10790
10791 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
10792         * config/amanda/swig.m4: With many thanks to John E. Hein
10793           <jhein@timing.com>, fix the comment and make the change committed
10794           yesterday apply to all FreeBSD < 7.0.
10795
10796 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
10797         * config/amanda/summary.m4: quote all warning messages that will be
10798           included in heredocs, to avoid spurious interpretation of backquotes
10799
10800 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10801         * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
10802
10803 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10804         * restore-src/amidxtaped: Use default config if amrecover doesn't send
10805                         a config name.  (amoldrecover doesn't send a config).
10806         * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
10807           so desired_tape->numfiles == 0.
10808           If amidxtaped is launched directly from xinetd, then
10809           flags->pipe_to_fd == STDOUT_FILENO, but this test should only
10810           succeed for amrestore of amfetchdump.
10811
10812 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
10813         * device-src/tape-device.c: Set d_self->is_eof to FALSE.
10814
10815 2008-03-04  Dustin J. Mitchell <dustin@zmanda.com>
10816         * perl/Makefile.am config/amanda/swig.m4: add a special case for
10817           FreeBSD-6.2: include -lpthread in the linking of each perl
10818           extension, because libgthread does not pull in libpthread as
10819           it does on other platforms.
10820
10821 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
10822         * common-src/security-util.c: getnameinfo return != 0 on error.
10823
10824 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
10825         * config/amanda/dumpers.m4: Typo.
10826
10827 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
10828         * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
10829           return value of 'pipe', declared with attribute warn_unused_result.
10830
10831 2008-02-29  Dustin J. Mitchell <dustin@zmanda.com>
10832         * common-src/amanda.h: add <stdint.h>
10833
10834 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
10835         * config/automake/installperms.am: --without-installperms now
10836           generates a shell-parsable list of desired permissions
10837         * Makefile.am: erase installperms.sh before beginning a 'make
10838           install'
10839         * oldrecover-src/Makefile.am client-src/Makefile.am
10840           recover-src/Makefile.am server-src/Makefile.am: give mode
10841           bits in octal
10842
10843 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
10844         Thanks to John E. Hein <jhein@timing.com> for identifying this problem
10845         * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
10846         * installcheck/Amanda_Config.pl: use a properly-sized constant to
10847           check parsing of large configuration values
10848
10849
10850 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
10851         * server-src/amindexd.c: Compute maxpart, call clean_dump.
10852         * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
10853         * server-src/disk_history.h (add_dump): New prototype,
10854                                                 add maxpart argument.
10855         * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
10856                                         previous part is not already added.
10857         * server-src/disk_history.c (clean_dump): New function to remove
10858                                         DUMP_ITEM if all part are not added.
10859         * common-src/tapelist.h (tapelist_t): Add partnum field.
10860         * common-src/tapelist.h (append_to_tapelist): New prototype,
10861                                                       add partnum argument.
10862         * common-src/tapelist.c (append_to_tapelist): New partnum argument.
10863         * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
10864
10865 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
10866         * common-src/security-util.c: Don't write unclaimed warning if we have
10867                                       an accept function.
10868
10869 2008-02-27  Dustin J. Mitchell <dustin@zmanda.com>
10870         * common-src/testutils.c common-src/testutils.h
10871           common-src/Makefile.am: add libtestutils.la
10872         * common-src/event-test.c common-src/amflock-test.c:
10873           use libtestutils.la
10874
10875 2008-02-27  Jean-Louis Martineau <martineau@zmanda.com>
10876         * server-src/find.c: Use sort_key in switch statement.
10877
10878 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
10879         * NEWS, ReleaseNotes: Document --with-amlibdir.
10880         * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
10881                                  --without-amlibexecdir,
10882                                  Set AMPERLLIB to $amlibdir/perl.
10883
10884 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
10885         * common-src/event-test.c: a more robust and effective test of
10886           EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
10887
10888 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
10889         * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
10890           add --with-amperldir, --without-amperldir, and install perl modules
10891           in Perl's installsitearch by default; thanks to Orion Poplawski
10892           <orion@cora.nwra.com> for help and suggestions.
10893
10894 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
10895         * client-src/getfsent.c: Don't fail if stat of mount point fail.
10896
10897 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
10898         * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
10899                              RUNNING_AS_DUMPUSER_PREFERRED.
10900
10901 2008-02-25  Jean-Louis Martineau <martineau@zmanda.com>
10902         * server-src/reporter.c: Report size of data on holding disk.
10903
10904 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
10905         * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
10906
10907 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
10908         * server-src/amcheck.c, server-src/dumper.c,
10909           server-src/planner.c: Call waitpid to cleanup defunct process.
10910
10911 2008-02-20  Dustin J. Mitchell <dustin@zmanda.com>
10912         * device-src/tape-posix.c: keep ioctl error message in
10913           debug log
10914
10915 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
10916         * device-src/device.c, device-src/null-device.c,
10917           device-src/s3.c, device-src/tape-device.c,
10918           device-src/queueing.h, device-src/s3.h,
10919           device-src/vfs-device.c, device-src/rait-device.c,
10920           server-src/taper-source-test.c, server-src/server_util.c,
10921           server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
10922           perl/amglue/integers.swg, restore-src/restore.c,
10923           common-src/glib-util.c: Fix solaris compiler warning.
10924
10925 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
10926         * common-src/util.c (quote_string): Quote single quote (').
10927         * server-src/find.c:Correctly compute length of diskname.
10928
10929 2008-02-15  Dustin J. Mitchell <dustin@zmanda.com>
10930         * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
10931           use AC_PROG_EGREP instead of the Amanda version
10932         * server-src/find.c: fix compiler warning on Solaris 8
10933
10934 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
10935         * packaging/rpm/amanda.spec: Remove amverify*
10936
10937 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
10938         * oldrecover-src/Makefile.am: Build all files in the build directory.
10939         * recover-src/Makefile.am: Build all files in the build directory.
10940         * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
10941         * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
10942           AC_OUTPUT create the common-src directory.
10943
10944 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
10945         * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
10946         * file server-src/infofile.c: Use %jd to print intmax_t value.
10947         * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
10948
10949 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
10950         * packaging/rpm/amanda.spec: Fix typo.
10951
10952 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
10953         * server-src/amdump.sh: Don't use 'date -d', use sed.
10954
10955 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
10956         * installcheck/Installcheck/Run.pm: run test dumps of a smaller
10957           directory, to avoid overflowing test tapes
10958
10959 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
10960         * dumper-src/amstar.pl dumper-src/amgtar.pl
10961           device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
10962           server-src/amdevcheck.pl: add GPL header
10963
10964 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
10965         * installcheck/Makefile.am installcheck/amdump.pl: add a check
10966           that runs 'amdump' directly, since that fails often
10967
10968 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
10969         * common-src/event-test.c: make tests more robust to environmental
10970           variations, clean up forked children
10971
10972 2008-02-13  Dustin J. Mitchell <dustin@zmanda.com>
10973         * common-src/security-util.c
10974           common-src/security-util.h: don't cast pointers to
10975           integers for tcp_conn event id's
10976
10977 2008-02-13  Dan Locks <dwlocks@zmanda.com>
10978         * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
10979           build environment as well as if provided on rpmbuild commandline.
10980           Conditionalized this var to handle cross compiling on FC8.
10981
10982 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
10983         * amandad-src/amandad.c: use sizeof() instead of strlen()
10984           in a constant expression
10985
10986 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
10987         * amandad-src/amandad.c: initialize as->service
10988         * common-src/event.c common-src/event.h: new GMainLoop-based
10989           version of the event library, allowing GMainLoop-based and
10990           event-based processes to co-exist peacefully
10991
10992 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
10993         * installcheck/amcheckdump.pl: fix typo
10994
10995 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
10996         * server-src/dumper.c: Fail if no header or no data.
10997
10998 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
10999         * server-src/amstatus.pl: Report failure if dumper succeed and
11000                                   chunker failed.
11001
11002 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
11003         * common-src/conffile.h (config_name, config_dir, config_filename):
11004                                  Remove extern declaration.
11005         * common-src/conffile.h (get_config_name, get_config_dir,
11006                                  get_config_filename): New prototype.
11007         * common-src/conffile.c (config_name, config_dir, config_filename):
11008                                  Declare static.
11009         * common-src/conffile.h (get_config_name, get_config_dir,
11010                                  get_config_filename): New functions.
11011         * perl/Amanda/Config.swg: Don't inline the functions.
11012         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
11013           client-src/sendsize.c, client-src/selfcheck.c,
11014           recover-src/amrecover.c, recover-src/extract_list.c,
11015           server-src/changer.c, server-src/amlogroll.c,
11016           server-src/amindexd.c, server-src/amcheck.c,
11017           server-src/dumper.c, server-src/planner.c,
11018           server-src/chunker.c, server-src/amadmin.c,
11019           server-src/amtape.c, server-src/amcleanupdisk.c,
11020           server-src/amflush.c, server-src/amtrmlog.c,
11021           server-src/driverio.c, server-src/driver.c,
11022           server-src/reporter.c, server-src/taper.c,
11023           server-src/amtrmidx.c, server-src/diskfile.c,
11024           server-src/amlabel.c,
11025           restore-src/amfetchdump.c: Use new functions.
11026
11027 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11028         * common-src/event-test.c common-src/Makefile.am: add checks
11029           for the event module
11030
11031 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
11032         * server-src/dumper.c server-src/server_util.c
11033           server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
11034           common-src/file.c: Always call mkpdir without the 02000 bit set,
11035           as it is not needed and causes problems on MacOS X.
11036
11037 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
11038         * all source files: update GPL dates
11039         * perl/*: use LGPL instead of GPL
11040
11041 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
11042         * amandad-src/amandad.c: fix use of non-constant array size
11043
11044 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
11045         * amandad-src/amandad.c: add hack to avoid a race condition in
11046           sendbackup operation
11047         * common-src/security-util.c: issue debug log message when data
11048           tokens are dropped by the security API
11049
11050 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
11051         * recover-src/amrecover.c: Use tapedev from server if it is not set
11052                                    in amanda.client.conf
11053         * example/amanda-client.conf.in: Document it.
11054
11055 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
11056         * device-src/tape-device.c (tape_device_init): Init min_block_size
11057           and fixed_block_size to 32768.
11058
11059 2008-02-07  Dustin J. Mitchell <dustin@zmanda.com>
11060         * packaging/rpm/amanda_enterprise.spec man/Makefile.am
11061           man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
11062           man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
11063           server-src/amverify.sh server-src/Makefile.am: remove amverify*
11064         * server-src/amdevcheck.pl: tweak @ARGV parsing
11065         * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
11066           installcheck/amcheckdump.pl: significant rewrite to catch more errors
11067           and not loop for ever on some errors.
11068
11069 2008-02-01  Dustin J. Mitchell <dustin@zmanda.com>
11070         * server-src/amgetconf.pl installcheck/amgetconf.pl
11071           common-src/conffile.c: fix and test amgetconf to allow extra
11072           command-line arguments (undocumented), to allow -o options without a
11073           space, and to correctly return empty results for empty build
11074           variables
11075
11076 2008-02-01  Dan Locks <dwlocks@zmanda.com>
11077         * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
11078           for both client and server, removed amplot from client, added missing
11079           directory %{SYSCONFDIR}/amanda
11080
11081 2008-01-29  Dan Locks <dwlocks@zmanda.com>
11082         * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
11083           where amanda/amandates is concerned.  also added %{LOCALSTATEDIR} to
11084           the %files list.
11085
11086 2008-01-29  Dan Locks <dwlocks@zmanda.com>
11087         * man/xml-source/* added http://wiki.zmanda.com to the "see also"
11088           section
11089
11090 2008-01-29  Jean-Louis Martineau <martineau@zmanda.com>
11091         * client-src/sendbackup.c: Check for g_options.
11092         * client-src/sendsize.c: Check for g_options.
11093         * client-src/selfcheck.c: Check for g_options.
11094         * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
11095
11096 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11097         * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
11098
11099 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
11100         * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
11101           displayunit, and add a unit test to be sure.
11102
11103 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11104         * server-src/amstatus.pl: handle lowercase displayunit.
11105
11106 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
11107         * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
11108           for netinet/in.h and in_port_t, and define the latter if
11109           necessary.  Thanks to Craig Dewick <cdewick@lios.apana.org.au>
11110           for the suggestion.
11111
11112 2008-01-28  Paddy Sreenivasan <paddy@zmanda.com>
11113         * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
11114           status
11115
11116 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11117         * amandad-src/amandad.c: Send service stderr to amandad debug file,
11118           Wait for service termination and send error message to server.
11119
11120 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
11121         * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
11122                                Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
11123
11124 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11125         * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
11126         * server-src/amcheckdump.pl: fix usage message
11127
11128 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11129         * configure.in config/amanda/userid.m4: add --with-single-userid
11130
11131 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11132         * server-src/amfreetapes.sh: remove unused script
11133
11134 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11135         * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
11136           for all amglue files where they are missing from glib headers
11137
11138 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11139         * installcheck/Makefile.am: condition installchecks on the selected
11140           components
11141
11142 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11143         * installcheck/Makefile.am Makefile.am: distribute
11144           installcheck/Installcheck scripts, make sure enough parameters
11145           are passed along to distcheck for it to succeed, and also clean
11146           up properly after tests are run.
11147
11148 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
11149         * config/amanda/dumpers.m4: eliminate strange warning when
11150           --without-smbclient is given
11151
11152 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11153         * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
11154           installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
11155           installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
11156           installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
11157           installcheck/Installcheck/Config.pm
11158           installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
11159           installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
11160           accumulated tweaks and updates to installchecks
11161
11162 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11163         * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
11164           installcheck/Makefile.am: new tests for integer-handling
11165           SWIG support, including an installed module (Amanda::Test) that
11166           is not used except by this test.
11167
11168 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11169         * installcheck/Amanda_Types.pl
11170           installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
11171           installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
11172           installcheck/Installcheck installcheck/Installcheck/Run.pm
11173           installcheck/Installcheck/Config.pm installcheck/Makefile.am
11174           installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
11175           installcheck/amgetconf.pl: tweaks:
11176            - Move installcheck utilities to the Installcheck::* namespace
11177            - add Installcheck::Run to help with setting up amdump runs, and
11178              running applications in general
11179            - Add complete runs to amdevcheck, amcheckdump
11180            - Return a nonzero exit status from amgetconf when an invalid
11181              configuration parameter is specified.
11182
11183 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11184         * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
11185           new module (Tapelist) replaces old stub (Tapefile)
11186         * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
11187           module
11188         * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
11189           module
11190
11191 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11192         * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
11193           critical() and warning(), respectively
11194         * server-src/amgetconf.pl server-src/amcheckdump.pl
11195           server-src/amdevcheck.pl: use die()
11196         * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
11197           installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
11198           unit tests
11199
11200 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
11201         * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
11202           server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
11203           Perl, and add the ability to list available build variables.
11204         * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
11205           config/amanda/bsd-security.m4 config/amanda/dumpers.m4
11206           config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
11207           config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
11208           config/amanda/bsdudp-security.m4 config/amanda/compress.m4
11209           config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
11210           of constants for use in Amanda::Constants
11211         * perl/Makefile.am perl/Amanda/Paths.pm.in
11212           perl/Amanda/Constants.pm.in: add new constants
11213         * perl/Amanda/Config.swg: add getconf_byname_strs
11214         * installcheck/amgetconf.pl: check new functionality
11215         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
11216           RUNNING_AS_ANY
11217
11218 2008-01-17  Jean-Louis Martineau <martineau@zmanda.com>
11219         * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
11220           configure.in: Set for release 2.6.1alpha.
11221
11222 2008-01-16  Dustin J. Mitchell <dustin@zmanda.com>
11223         * installcheck/Makefile.am: Require user to specify
11224           CLOBBER_MY_CONFIG=OK when running installchecks
11225
11226 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
11227         * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
11228
11229 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
11230         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
11231           client-src/sendsize.c, client-src/selfcheck.c,
11232           recover-src/extract_list.c, server-src/changer.c,
11233           server-src/amflush.c, server-src/driverio.c,
11234           common-src/pipespawn.c: Call safe_fd before exec*.
11235
11236 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
11237         * packaging/rpm/amanda.spec: Remove build_host.
11238
11239 2008-01-15  Dustin J. Mitchell <dustin@zmanda.com>
11240         * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
11241           perl/amglue/integers.swg: fix typos and compiler warnings
11242
11243 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
11244         * packaging/Makefile.am: New file.
11245         * packaging/README: New file.
11246         * packaging/rpm/buildpkg: New file.
11247         * packaging/rpm/amanda.spec: New file.
11248         * configure.in
11249         * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
11250         * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
11251                                          ${amlibexecdir}/application
11252         * Makefile.am (SUBDIRS): Add packaging.
11253         * amanda.spec: Remove file.
11254
11255 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
11256         * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
11257         * device-src/tape-device.c, device-src/tape-posix.c,
11258           device-src/vfs-device.c: include "util.h"
11259         * device-src/rait-device.c: fix compiler warning.
11260
11261 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
11262         * perl/amglue/bigint.c: fix the range-checking mechanics for large
11263           integers, since the precompiler seems to get confused by large
11264           constants.
11265
11266 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
11267         * config/amanda/krb5-security.m4: abort configure run if krb5
11268           is requested by libraries aren't found
11269
11270 2008-01-13  Dustin J. Mitchell <dustin@zmanda.com>
11271         * man/xml-source/amanda.conf.5.xml: use &#215; instead of &times;
11272
11273 2008-01-11  Paddy Sreenivasan <paddy@zmanda.com>
11274         * device-src/Makefile.am: Don't install queueing.h and device.h
11275
11276 2008-01-11  Dustin J. Mitchell <dustin@zmanda.com>
11277         * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
11278
11279 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
11280         * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
11281         * installcheck/amgetconf.pl: usetimestamps defaults to yes.
11282         * NEWS, ReleaseNotes: Notes about make installcheck.
11283
11284 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
11285         * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
11286         * ReleaseNotes: Ditto.
11287
11288 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
11289         * ReleaseNotes: Update for amanda-2.6.0
11290         * News: Update for amanda-2.6.0
11291         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
11292         * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
11293         * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}