Imported Upstream version 3.3.2
[debian/amanda] / ChangeLog
1 2012-07-24  Jean-Louis Martineau <martineau@zmanda.com>
2         * device-src/s3-device.c: New REUSE-CONNECTION property.
3         * device-src/s3.c: Do not reuse connection if REUSE-CONNECTION is
4           FALSE.
5         * device-src/s3.h (s3_open): New reuse_connection argument.
6         * man/xml-source/amanda-devices.7.xml: Document REUSE-CONNECTION
7           property.
8         * ReleaseNotes, NEWS: Add REUSE-CONNECTION.
9
10 2012-07-24  Jean-Louis Martineau <martineau@zmanda.com>
11         * VERSION: 3.3.2
12
13 2012-07-24  Jean-Louis Martineau <martineau@zmanda.com>
14         * device-src/s3-device.c: Fix a big memory leak.
15
16 2012-07-23  Jean-Louis Martineau <martineau@zmanda.com>
17         * man/xml-source/amanda.conf.5.xml: Typo.
18
19 2012-07-23  Jean-Louis Martineau <martineau@zmanda.com>
20         * ReleaseNotes, NEWS: Add new features in 3.3.2.
21
22 2012-07-20 Dan Locks <dwlocks@zmanda.com>
23         * perl/Amanda/Feature.pod, perl/Amanda/MainLoop.swg,
24           perl/Amanda/Script.pm, perl/Amanda/NDMP.pod,
25           perl/Amanda/Logfile.swg, perl/Amanda/Curinfo.pm,
26           perl/Amanda/Changer.pm, perl/Amanda/Tests.pod,
27           perl/Amanda/Application.pod, perl/Amanda/Debug.swg,
28           perl/Amanda/Disklist.swg, perl/Amanda/Report.pm,
29           perl/Amanda/Config.pod, perl/Amanda/Header.swg,
30           perl/Amanda/Feature.swg, perl/Amanda/BigIntCompat.pm,
31           perl/Amanda/NDMP.swg, perl/Amanda/Recovery/Scan.pm,
32           perl/Amanda/Recovery/Planner.pm, perl/Amanda/Recovery/Clerk.pm,
33           perl/Amanda/Util.pod, perl/Amanda/Tests.swg,
34           perl/Amanda/Archive.pod, perl/Amanda/Application.swg,
35           perl/Amanda/Config.swg, perl/Amanda/Curinfo/Info.pm,
36           perl/Amanda/Tapelist.pod, perl/Amanda/Changer/disk.pm,
37           perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/null.pm,
38           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
39           perl/Amanda/Changer/single.pm, perl/Amanda/Changer/compat.pm,
40           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/aggregate.pm,
41           perl/Amanda/Report/human.pm, perl/Amanda/Report/postscript.pm,
42           perl/Amanda/Report/xml.pm, perl/Amanda/IPC/Binary.swg,
43           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/IPC/Binary.pod,
44           perl/Amanda/XferServer.pod, perl/Amanda/Util.swg,
45           perl/Amanda/ScanInventory.pm, perl/Amanda/Script_App.pm,
46           perl/Amanda/Device.pod, perl/Amanda/Archive.swg,
47           perl/Amanda/Tapelist.swg, perl/Amanda/Xfer.pod,
48           perl/Amanda/DB/Catalog.pm, perl/Amanda/Process.pm,
49           perl/Amanda/XferServer.swg, perl/Amanda/Constants.pm.in,
50           perl/Amanda/Cmdline.pod, perl/Amanda/Device.swg,
51           perl/Amanda/Interactivity/stdin.pm,
52           perl/Amanda/Interactivity/email.pm,
53           perl/Amanda/Interactivity/tty_email.pm,
54           perl/Amanda/Interactivity/tty.pm, perl/Amanda/MainLoop.pod,
55           perl/Amanda/Holding.pm, perl/Amanda/Paths.pm.in,
56           perl/Amanda/Logfile.pod, perl/Amanda/Application/Zfs.pm,
57           perl/Amanda/Xfer.swg, perl/Amanda/Debug.pod,
58           perl/Amanda/Disklist.pod, perl/Amanda/Interactivity.pm,
59           perl/Amanda/Header.pod, perl/Amanda/Cmdline.swg,
60           perl/Amanda/ClientService.pm, perl/Amanda/Taper/Protocol.pm,
61           perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Scan.pm,
62           perl/Amanda/Taper/Scribe.pm, perl/Amanda/Taper/Scan/oldest.pm,
63           perl/Amanda/Taper/Scan/traditional.pm,
64           perl/Amanda/Taper/Scan/lexical.pm,
65           perl/Amanda/Taper/Worker.pm, perl/amglue/objwrap.c,
66           perl/amglue/bigint.c, perl/amglue/amglue.h,
67           perl/amglue/dumpspecs.swg, perl/amglue/exports.swg,
68           perl/amglue/amglue.swg, perl/amglue/constants.swg,
69           perl/amglue/glib.swg, perl/amglue/filehandles.swg,
70           perl/amglue/integers.swg, perl/amglue/xferwrap.c,
71           perl/amglue/directtcp.swg, perl/amglue/source.c,
72           perl/amglue/ghashtable.c, perl/make_html.pl,
73           installcheck/amoverview.pl, installcheck/Amanda_Holding.pl,
74           installcheck/Amanda_Disklist.pl,
75           installcheck/Amanda_Taper_Scan_oldest.pl,
76           installcheck/amlabel.pl, installcheck/Amanda_NDMP.pl,
77           installcheck/amflush.pl, installcheck/Amanda_ClientService.pl,
78           installcheck/run-ndmp.pl, installcheck/amstatus.pl,
79           installcheck/Amanda_Taper_Scribe.pl,
80           installcheck/Amanda_Recovery_Scan.pl,
81           installcheck/Amanda_Curinfo.pl, installcheck/Amanda_Changer.pl,
82           installcheck/Amanda_Changer_single.pl,
83           installcheck/Amanda_Taper_Scan_traditional.pl,
84           installcheck/bigint.pl, installcheck/Amanda_Cmdline.pl,
85           installcheck/Amanda_Changer_robot.pl, installcheck/amservice.pl,
86           installcheck/Amanda_Recovery_Clerk.pl,
87           installcheck/Amanda_Taper_Scan_lexical.pl,
88           installcheck/amarchiver.pl, installcheck/amrecover.pl,
89           installcheck/Amanda_Changer_ndmp.pl,
90           installcheck/Installcheck/ClientService.pm,
91           installcheck/Installcheck/Application.pm,
92           installcheck/Installcheck/Run.pm,
93           installcheck/Installcheck/Config.pm,
94           installcheck/Installcheck/Changer.pm,
95           installcheck/Installcheck/Dumpcache.pm,
96           installcheck/Installcheck/Mock.pm,
97           installcheck/Installcheck/Catalogs.pm, installcheck/example.pl,
98           installcheck/gnutar.pl, installcheck/amrestore.pl,
99           installcheck/amgetconf.pl, installcheck/pp-scripts.pl,
100           installcheck/Amanda_IPC_LineProtocol.pl, installcheck/amtape.pl,
101           installcheck/amraw.pl, installcheck/amserverconfig.pl,
102           installcheck/amgtar.pl, installcheck/taper.pl,
103           installcheck/Amanda_Util.pl,
104           installcheck/Amanda_Recovery_Planner.pl,
105           installcheck/mock/mail.pl, installcheck/mock/mtx.pl,
106           installcheck/mock/lpr.pl, installcheck/Amanda_IPC_Binary.pl,
107           installcheck/=setupcache.pl, installcheck/amcheckdump.pl,
108           installcheck/amdump_client.pl, installcheck/Amanda_Tapelist.pl,
109           installcheck/Amanda_Debug.pl, installcheck/Amanda_Changer_rait.pl,
110           installcheck/amcheck-device.pl, installcheck/Amanda_Header.pl,
111           installcheck/amdevcheck.pl, installcheck/Amanda_Device.pl,
112           installcheck/Amanda_Changer_null.pl, installcheck/ampgsql.pl,
113           installcheck/Installcheck.pm, installcheck/amadmin.pl,
114           installcheck/amvault.pl, installcheck/Amanda_Changer_compat.pl,
115           installcheck/Amanda_Report.pl, installcheck/amidxtaped.pl,
116           installcheck/mock_mtx.pl, installcheck/Amanda_Changer_disk.pl,
117           installcheck/Amanda_Logfile.pl,
118           installcheck/Amanda_Changer_multi.pl,
119           installcheck/amdump.pl, installcheck/catalogs/bigdb.cat,
120           installcheck/amreport.pl, installcheck/amcheck.pl,
121           installcheck/Amanda_Feature.pl, installcheck/amfetchdump.pl,
122           installcheck/chunker.pl, installcheck/Amanda_Xfer.pl,
123           installcheck/amrmtape.pl, installcheck/Amanda_Config.pl,
124           installcheck/amtapetype.pl, installcheck/noop.pl,
125           installcheck/Amanda_Config_FoldingHash.pl,
126           installcheck/Amanda_Process.pl,
127           installcheck/Amanda_MainLoop.pl, installcheck/Amanda_DB_Catalog.pl,
128           installcheck/Amanda_Archive.pl, amar-src/amar.c,
129           amar-src/amarchiver.c, amar-src/amar.h,
130           config/automake/scripts.am, config/automake/vars.am,
131           config/macro-archive/docbook-xslt.m4,
132           config/macro-archive/docbook-dtd.m4,
133           config/macro-archive/docbook-xslt-min.m4,
134           config/macro-archive/xsltproc.m4,
135           common-src/directtcp.h, common-src/amgetconf.pl,
136           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
137           common-src/glib-util.c, common-src/glib-util.h,
138           common-src/ipc-binary.c, common-src/event-test.c,
139           common-src/ipc-binary.h, common-src/match-test.c,
140           common-src/amsemaphore-test.c, common-src/simpleprng.c,
141           common-src/simpleprng.h, common-src/amsemaphore.c,
142           common-src/quoting-test.c, common-src/fileheader-test.c,
143           common-src/amsemaphore.h, common-src/amcryptsimple.pl,
144           common-src/amaespipe.sh, common-src/testutils.c,
145           common-src/match.h, common-src/testutils.h,
146           common-src/amgpgcrypt.pl, application-src/script-email.pl,
147           application-src/amsuntar.pl, application-src/amzfs-snapshot.pl,
148           application-src/amlog-script.pl, application-src/amsamba.pl,
149           application-src/ampgsql.pl, application-src/amraw.pl,
150           application-src/amzfs-sendrecv.pl, contrib/amreport.rnc,
151           client-src/amdump_client.pl, ndmp-src/ndmpconnobj.c,
152           ndmp-src/ndmpconnobj.h, device-src/xfer-device.h,
153           device-src/s3-device.c, device-src/property.c,
154           device-src/s3.c, device-src/property.h,
155           device-src/xfer-dest-taper-directtcp.c, device-src/s3.h,
156           device-src/rait-device.c, device-src/device.c,
157           device-src/amtapetype.pl, device-src/device.h,
158           device-src/null-device.c, device-src/xfer-dest-taper.c,
159           device-src/directtcp-connection.c,
160           device-src/xfer-dest-taper-splitter.c,
161           device-src/xfer-dest-taper.h, device-src/amdevcheck.pl,
162           device-src/directtcp-connection.h, device-src/tape-device.c,
163           device-src/ndmp-device.c, device-src/vfs-device.c,
164           device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-device.c,
165           device-src/xfer-source-recovery.c, device-src/xfer-source-device.c,
166           device-src/s3-util.c, device-src/vfs-device.h,
167           device-src/s3-util.h, packaging/rpm/amanda.spec.src,
168           xfer-src/xfer-element.h, xfer-src/filter-process.c,
169           xfer-src/xfer.c, xfer-src/dest-directtcp-connect.c,
170           xfer-src/dest-buffer.c, xfer-src/source-directtcp-connect.c,
171           xfer-src/dest-null.c, xfer-src/xfer.h,
172           xfer-src/dest-directtcp-listen.c, xfer-src/source-pattern.c,
173           xfer-src/source-directtcp-listen.c, xfer-src/source-random.c,
174           xfer-src/xmsg.c, xfer-src/xfer-test.c,
175           xfer-src/xmsg.h, xfer-src/element-glue.c,
176           xfer-src/dest-fd.c, xfer-src/amxfer.h,
177           xfer-src/source-fd.c, xfer-src/element-glue.h,
178           xfer-src/filter-xor.c, xfer-src/xfer-element.c,
179           server-src/amcheckdump.pl, server-src/amoverview.pl,
180           server-src/amdumpd.pl, server-src/amcheck-device.pl,
181           server-src/amlogroll.pl, server-src/xfer-source-holding.c,
182           server-src/amlabel.pl, server-src/amvault.pl,
183           server-src/amcleanupdisk.pl, server-src/amidxtaped.pl,
184           server-src/cmdline.c, server-src/amdump.pl,
185           server-src/xfer-server.h, server-src/cmdline.h,
186           server-src/amreport.pl, server-src/amfetchdump.pl,
187           server-src/amrestore.pl, server-src/amcleanup.pl,
188           server-src/amaddclient.pl, server-src/amrmtape.pl,
189           server-src/amtape.pl, server-src/amserverconfig.pl,
190           server-src/taper.pl: update copyright dates
191
192 2012-07-20  Jean-Louis Martineau <martineau@zmanda.com>
193         * common-src/timestamp.c (get_time_from_timestamp): Initialize to 0.
194
195 2012-07-19  Jean-Louis Martineau <martineau@zmanda.com>
196         Patch by crocket
197         * perl/Makefile.am: Fix cygwin build.
198
199 2012-07-18  Jean-Louis Martineau <martineau@zmanda.com>
200         * device-src/s3.c: Parse application/json reply from cloudena.
201
202 2012-07-18  Jean-Louis Martineau <martineau@zmanda.com>
203         * installcheck/Amanda_IPC_LineProtocol.pl: Add synchonization to fix
204           race.
205
206 2012-07-17  Jean-Louis Martineau <martineau@zmanda.com>
207         * server-src/amcheckdump.pl: Wait for all filters to terminate before
208           going to next image.  Do not use '--ignore-zeros' for SMBCLIENT
209           backup.  Pass the dump size to $xfer->start().
210         * server-src/amfetchdump.pl: Wait for all filters to terminate before
211           going to next image.
212
213 2012-07-16  Dan Locks <dwlocks@zmanda.com>
214         * packaging/sun-pkg/buildpkg:
215         * packaging/sun-pkg/client/postremove.src,
216           packaging/sun-pkg/server/postremove.src: remove redundant usage of
217           basedir.
218         * packaging/sun-pkg/client/postinstall.src,
219           packaging/sun-pkg/server/postinstall.src: same as above, plus fix
220           case statement.
221         * packaging/sun-pkg/server/preinstall.src,
222           packaging/sun-pkg/client/preinstall.src: remove redundant basedir,
223           use new check_user_* functions.
224
225 2012-07-16  Dan Locks <dwlocks@zmanda.com>
226         * packaging/rpm/amanda.spec.src: refactor to use common functions
227         * packaging/rpm/buildpkg: check for ./configure, and exit if
228           substitute.pl fails.
229
230 2012-07-16  Dan Locks <dwlocks@zmanda.com>
231         * packaging/deb/rules: use FULL_VERSION file to fill AMVER var, use
232         * concatenation trick for postinst, rm trailing whitespace
233         * packaging/deb/buildpkg: process postinst.src postrm.src preinst.src with substitute.pl
234         * packaging/deb/postinst.src: refactor to use common functions.
235         * packaging/deb/amanda-backup-server.postrm,
236           packaging/deb/amanda-backup-client.postrm,
237           packaging/deb/amanda-backup-client.postinst,
238           packaging/deb/amanda-backup-server.postinst: delete everything, add
239           variables pkg_type and other_pkg_type.
240         * packaging/deb/preinst: moved to...
241         * packaging/deb/preinst.src: here. refactor using common functions
242         * packaging/deb/postrm: moved to...
243         * packaging/deb/postrm.src: here. refactor using common functions.
244
245 2012-07-16  Dan Locks <dwlocks@zmanda.com>
246         * packaging/common/common_functions.sh: remove trailing whitespace,
247           remove redundant usage of ${BASEDIR} in solaris functions, avoid
248           potentially non-portable test invocations.
249         * packaging/common/test_sh_libs.sh: fix some log messages, redirect
250           some unused output, split check_user_* tests into shorter testsr,
251           add tests for supplemental groups, fix running single test.
252         * packaging/common/mock_utils.sh: change id to error if any flags are
253           given, add mock for groups.
254         * packaging/common/post_inst_functions.sh: remove redundant leading /
255         * packaging/common/post_rm_functions.sh: rm trailing whitespace.
256         * packaging/common/pre_inst_functions.sh: use variable for user
257           shell, clarify log messages regarding user accounts, split
258           check_user into separate functions, mostly to ease testing, add
259           check_user_supplemental_group.
260
261 2012-07-12  Jean-Louis Martineau <martineau@zmanda.com>
262         * device-src/s3-device.c: Do not free ca_info if use_ssl is not set.
263         * device-src/s3.c:: Set CURLOPT_CAINFO even if use_ssl is not set.
264
265 2012-07-10  Jean-Louis Martineau <martineau@zmanda.com>
266         * server-src/amstatus.pl: Print 'dump done' if the dump succeeded.
267
268 2012-07-09  Jean-Louis Martineau <martineau@zmanda.com>
269         * common-src/conffile.c (val_t_display_strs): Add a print_unit argument.
270         * common-src/conffile.h (val_t_display_strs): Change prototype.
271         * perl/Amanda/Config.swg (getconf_byname_strs): Use val_t_display_strs
272           with a FALSE print_unit.
273
274 2012-07-09  Jean-Louis Martineau <martineau@zmanda.com>
275         * common-src/conffile.c: Correctly parse byte suffix.
276         * common-src/conffile.h: Add confunit_t.
277         * installcheck/amgetconf.pl: Fix for byte parsing.
278
279 2012-07-09  Jean-Louis Martineau <martineau@zmanda.com>
280         * server-src/driver.c (tape_action): Fix for flush_*.
281           Change debug level.
282
283 2012-06-29  Jean-Louis Martineau <martineau@zmanda.com>
284         * perl/Amanda/Taper/Scan/traditional.pm,
285           perl/Amanda/Taper/Scribe.pm: Correctly report error.
286
287 2012-06-29  Jean-Louis Martineau <martineau@zmanda.com>
288         * common-src/glib-util.c: Add initialization code for openssl and
289           gnutls.
290         * config/amanda/libs.m4: Detect ssl library used by libcurl.
291
292 2012-06-28  Jean-Louis Martineau <martineau@zmanda.com>
293         * device-src/s3.c: Fix compiler warning.
294
295 2012-06-28  Jean-Louis Martineau <martineau@zmanda.com>
296         * device-src/s3.c: Renew swift v2 x-auth-token before it expires, use
297           glib if >= 2.26.
298
299 2012-06-27 Dan Locks <dwlocks@zmanda.com>
300         * configure.in: update ac_prereq to 2.64
301
302 2012-06-27  Jean-Louis Martineau <martineau@zmanda.com>
303         * device-src/s3.c: remove code to Renew swift v2 x-auth-token, it
304           require glib 2.26.
305
306 2012-06-27  Jean-Louis Martineau <martineau@zmanda.com>
307         * device-src/s3-device.c: New CREATE-BUCKET property.
308         * device-src/s3.c: Improving error message parsing.
309         * man/xml-source/amanda-devices.7.xml: document new CREATE-BUCKET
310           property.
311
312 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
313         * device-src/s3.c: Remove bogus code.
314
315 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
316         * device-src/s3.c: Renew swift v2 x-auth-token before it expires.
317
318 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
319         * common-src/conffile.c: Fix crash when parsing an invalid config file.
320
321 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
322         * device-src/s3.c: Cloudena do not have xml_version of html tag in
323           their reply.
324
325 2012-06-26  Jean-Louis Martineau <martineau@zmanda.com>
326         * device-src/s3.c: Renew OAUTH2 token.
327
328 2012-06-21  Jean-Louis Martineau <martineau@zmanda.com>
329         * perl/Amanda/Report/human.pm: Change the default columspec to: HostName=0:-12:12,Disk=1:-11:11,Level=1:-1:1,OrigKB=1:-7:0,OutKB=1:-7:0,Compress=1:-6:1,DumpTime=1:-7:7,Dumprate=1:-6:1,TapeTime=1:-6:6,TapeRate=1:-6:1
330         * man/xml-source/amanda.conf.5.xml: Document new default columnspec.
331         * installcheck/catalogs/bigestimate.cat,
332           installcheck/catalogs/doublefailure.cat,
333           installcheck/catalogs/filesystemstaped.cat,
334           installcheck/catalogs/longstrange.cat,
335           installcheck/catalogs/multi-taper.cat,
336           installcheck/catalogs/normal.cat,
337           installcheck/catalogs/plannerfail.cat,
338           installcheck/catalogs/resultsmissing.cat,
339           installcheck/catalogs/retried-nofinish.cat,
340           installcheck/catalogs/retried-strange.cat,
341           installcheck/catalogs/retried.cat,
342           installcheck/catalogs/shortstrange.cat,
343           installcheck/catalogs/skipped.cat,
344           installcheck/catalogs/spanned.cat,
345           installcheck/catalogs/strontium.cat: fix for new default columnspec.
346
347 2012-06-21  Jean-Louis Martineau <martineau@zmanda.com>
348         * device-src/s3.c: OAUTH2 use 'max-keys'.
349
350 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
351         * perl/Amanda/Taper/Worker.pm: Fix update of the status file.
352
353 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
354         * common-src/security-util.c: Fix memory corruption.
355
356 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
357         * perl/Amanda/Taper/Scribe.pm: Cancel call dump_cb.
358         * perl/Amanda/Taper/Worker.pm: Cancel the header xfer.
359
360 2012-06-20  Jean-Louis Martineau <martineau@zmanda.com>
361         * server-src/planner.c: Fix 32 bits overflow.
362
363 2012-06-19  Jean-Louis Martineau <martineau@zmanda.com>
364         * amandad-src/amandad.c, common-src/amxml.c,
365           common-src/security-util.c, common-src/util.c,
366           server-src/tapefile.c: Fix small memory leak.
367         * perl/Amanda/Config.swg: Mark amandaify_property_name as %newobject
368         * perl/Amanda/Header.swg: Mark C_from_string as %newobject
369         * perl/Amanda/Tapelist.swg: Mark list_new_tapes as %newobject
370         * perl/Amanda/Util.swg: Mark sanitise_filename, quote_string,
371           unquote_string and split_quoted_strings as %newobject
372         * xfer-src/xfer-element.c: lock elt->xfer->status_mutex before looking
373           at elt->xfer->status.
374         * device-src/device.h (Device): Add a GMutex device_mutex to protect
375           method with concurent access.
376         * device-src/device.c, device-src/ndmp-device.c,
377           device-src/null-device.c, device-src/rait-device.c,
378           device-src/s3-device.c, device-src/tape-device.c,
379           device-src/vfs-device.c: Use the mutex to protext some Device field.
380
381 2012-06-18  Jean-Louis Martineau <martineau@zmanda.com>
382         * server-src/planner.c: Coorectly delay full dump if it doesn't fit in
383           the schedule.
384
385 2012-06-14 Dan Locks <dwlocks@zmanda.com>
386         * packaging/common/mock_utils.sh: update id mock to handle -Gn flags,
387           add groupadd mock, add usermod mock, correct silent errors in inetd
388           and install mocks
389         * packaging/common/pre_inst_functions.sh: add_group now attempts to
390           create a potentially missing suppmemental group, add_group does not
391           use -A or -a, instead generates a list of current groups from id -Gn,
392           update error_group_member to use the name of the group passed to
393           add_group.
394         * packaging/common/test_sh_libs.sh: add 2 add_group unit tests, update
395           check_user_group test.
396
397 2012-06-13  Jean-Louis Martineau <martineau@zmanda.com>
398         * application-src/amgtar.c: Check gtar support --no-check-device.
399
400 2012-06-08  Jean-Louis Martineau <martineau@zmanda.com>
401         * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
402           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/rait.pm,
403           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
404           perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm,
405           perl/Amanda/Recovery/Clerk.pm, perl/Amanda/Recovery/Planner.pm,
406           perl/Amanda/Recovery/Scan.pm, perl/Amanda/Report/human.pm,
407           perl/Amanda/Taper/Scribe.pm,
408           perl/Amanda/Taper/Worker.pm: Change many die by confess.
409
410 2012-06-07  Jean-Louis Martineau <martineau@zmanda.com>
411         * device-src/s3.c: Parse message attribute in cloudena error reply.
412           Parse details in HP error reply.
413
414 2012-06-04  Jean-Louis Martineau <martineau@zmanda.com>
415         * server-src/amrestore.pl: Typo.
416
417 2012-06-01  Jean-Louis Martineau <martineau@zmanda.com>
418         * server-src/amrestore.pl: Use the blocksize argument.
419
420 2012-06-01  Jean-Louis Martineau <martineau@zmanda.com>
421         * perl/Amanda/Changer/robot.pm: Print to debug if bc2lb change the
422           label for a barcode. Print to debug the mtx output.
423         * perl/Amanda/Taper/Scribe.pm: Do not use a tape if the barcode from
424           tapelist differ from the changer.
425
426 2012-05-28  Jean-Louis Martineau <martineau@zmanda.com>
427         * application-src/amzfs-sendrecv.pl: fix print_to_server argument.
428
429 2012-05-24  Jean-Louis Martineau <martineau@zmanda.com>
430         * application-src/amsamba.pl: Do not send a chomped line to index.
431
432 2012-05-24  Jean-Louis Martineau <martineau@zmanda.com>
433         * perl/Amanda/Application.swg: Use IO::Handle to open mesgout.
434
435 2012-05-23  Jean-Louis Martineau <martineau@zmanda.com>
436         * device-src/s3-device.c: Add project_id.
437         * device-src/s3.c: Add project_id. Add x-goog-project-id and
438           x-goo-api-version to headers.
439         * device-src/s3.h (s3_make_bucket, s3_is_bucket_exists) Add project_id
440           argument.
441         * man/xml-source/amanda-devices.7.xml: Document project-id property.
442
443 2012-05-23  Jean-Louis Martineau <martineau@zmanda.com>
444         * device-src/s3-device.c: Call s3_open2 after setting properties.
445         * device-src/s3.c (s3_open2): New function.
446         * device-src/s3.h (s3_open2): Prototype.
447
448 2012-05-17 Dan Locks <dwlocks@zmanda.com>
449         * packaging/sun-pkg/buildpkg: add missing --with-libcurl= for server
450
451 2012-05-17  Jean-Louis Martineau <martineau@zmanda.com>
452         * common-src/event.c: Add missing "\n" in debugging.
453         * perl/Amanda/Application.swg: Make mesgout autoflush.
454
455 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
456         * installcheck/Amanda_Device.pl: Correctly count NDMP test.
457
458 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
459         * server-src/amvault.pl: Abort if log file already exists.
460
461 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
462         * server-src/find.c: Fix crash when log are corrupted.
463
464 2012-05-15  Jean-Louis Martineau <martineau@zmanda.com>
465         * perl/Amanda/Recovery/Planner.pm (make_plan_from_filelist): Use the
466           changer inventory to try to use an already available dump.
467         * server-src/amidxtaped.pl: Pass the changer to make_plan.
468
469 2012-05-14  Jean-Louis Martineau <martineau@zmanda.com>
470         * common-src/util.c, device-src/s3.c: Fix for pragma and gcc-4.5.2.
471
472 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
473         * perl/Amanda/Taper/Worker.pm (FAILED): Do it correctly.
474
475 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
476         * server-src/amstatus.pl: Improve output on taper error.
477
478 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
479         * perl/Amanda/Taper/Worker.pm (FAILED): Ignore if dump is already
480           cancelled.
481
482 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
483         * common-src/event.c: Improve debugging.
484         * server-src/dumper.c: Close data output in stop_dump.
485
486 2012-05-11  Jean-Louis Martineau <martineau@zmanda.com>
487         * config/amanda/progs.m4: Define AMANDA_PROG_NC, set NC, NC6 and
488           NETCAT.
489         * configure.in: use AMANDA_PROG_NC.
490         * installcheck/Amanda_Device.pl: Use them.
491         * perl/Amanda/Constants.pm.in: Add NC, NC6 and NETCAT.
492
493 2012-05-10 Dan Locks <dwlocks@zmanda.com>
494         * configure.in: update AC_INIT usage, specify tar-ustar and minimum
495           automake version.
496         * config/amanda/version.m4: create new AMANDA_INIT_VERSION macro to
497           read FULL_VERSION or VERSION before AC_INIT.
498
499 2012-05-10 Dan Locks <dwlocks@zmanda.com>
500         * Makefile.am: update required automake version
501
502 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
503         * installcheck/Amanda_Device.pl: sleep to allow other process the time
504           to start listening.
505
506 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
507         * common-src/amflock.c, common-src/match.c, common-src/util.c,
508           device-src/s3.c: Fix for deprecated G_STATIC_MUTEX_INIT.
509
510 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
511         * installcheck/Amanda_Device.pl: Fix indirect tcp.
512
513 2012-05-08  Jean-Louis Martineau <martineau@zmanda.com>
514         * client-src/sendbackup.c: Handle indirect tcp.
515         * device-src/ndmp-device.c: Add INDIRECT property.
516         * installcheck/Amanda_Device.pl: Test indirect tcp.
517         * man/xml-source/amanda-devices.7.xml: Document INDIRECT property.
518         * ndmp-src/ndmp4_translate.c: remove debugging statement.
519
520 2012-05-01  Jean-Louis Martineau <martineau@zmanda.com>
521         * man/xml-source/amfetchdump.8.xml: Add --decrypt, --no-decrypt,
522           --server-decrypt, --client-decrypt, --compress, --no-compress,
523           --server-compress, --client-compress.
524         * server-src/amfetchdump.pl: Document new options.
525
526 2012-04-25  Jean-Louis Martineau <martineau@zmanda.com>
527         * ndmp-src/ndmos.h: Define NDMOS_MACRO_FREE
528         * ndmp-src/ndmos_glib.h: Define NDMOS_MACRO_FREE
529         * ndmp-src/ndmp_translate.h: define CNVT_FREE.
530         * ndmp-src/ndmp4_translate.c:#Add many free function.
531
532 2012-04-20  Jean-Louis Martineau <martineau@zmanda.com>
533         * server-src/amfetchdump.pl: Fix.
534
535 2012-04-20  Jean-Louis Martineau <martineau@zmanda.com>
536         * server-src/amadmin.c: Fix handling of optional arguments.
537         * installcheck/amadmin.pl: Check it.
538
539 2012-04-19  Jean-Louis Martineau <martineau@zmanda.com>
540         * client-src/amdump_client.pl: Fix warning.
541
542 2012-04-18  Jean-Louis Martineau <martineau@zmanda.com>
543         * server-src/amfetchdump.pl: add --decompress and --decrypt options.
544         * man/xml-source/amfetchdump.8.xml: Document new options.
545
546 2012-04-18  Jean-Louis Martineau <martineau@zmanda.com>
547         * common-src/conffile.c: Parse MAX_WARNINGS in dumptype.
548         * common-src/conffile.h: Add DUMPTYPE_MAX_WARNINGS and
549           dumptype_get_max_warnings
550         * man/xml-source/amanda.conf.5.xml: Document max_warning in dumptype.
551         * perl/Amanda/Config.swg: Add DUMPTYPE_MAX_WARNINGS.
552         * server-src/diskfile.c (add_disk): Copy max_warnings from dumptype.
553         * server-src/diskfile.h: Add max_warnings in disk_t.
554         * server-src/driverio.c (dumper_cmd): Send max_warnings to dumper.
555         * server-src/dumper.c: Use max_warnings.
556
557 2012-04-18  Jean-Louis Martineau <martineau@zmanda.com>
558         * ndmp-src/ndmpconnobj.c: Remove useless g_source_is_destroyed check.
559
560 2012-04-17  Jean-Louis Martineau <martineau@zmanda.com>
561         * common-src/amgetconf.pl: Read the disklist.
562         * common-src/conffile.h (seen_t): Add block.
563         * common-src/conffile.c: Set seen.block
564         * common-src/conffile.c (dump_configuration): New print_default and
565           print_source arguments.
566         * installcheck/Amanda_Config.pl: Fix dump_configuration call.
567         * server-src/amadmin.c: Add --no-default and --print-source arguments
568           for config and disklist command.
569         * man/xml-source/amadmin.8.xml: Document new arguments.
570         * perl/Amanda/Config.swg: Fix for new dump_configuration arguments.
571
572 2012-04-16  Jean-Louis Martineau <martineau@zmanda.com>
573         * application-src/amstar.c: Remove spurious space on directory entry.
574
575 2012-04-13  Jean-Louis Martineau <martineau@zmanda.com>
576         * common-src/conffile.c: Add TMPDIR.
577         * common-src/conffile.h: Add CNF_TMPDIR.
578         * man/xml-source/amanda.conf.5.xml: Document TMPDIR.
579         * perl/Amanda/Config.swg: Add CNF_TMPDIR.
580         * server-src/amindexd.c: Use CNF_TMPDIR.
581
582 2012-04-12  Jean-Louis Martineau <martineau@zmanda.com>
583         * application-src/amsamba.pl: Create incremental empty archive.
584
585 2012-04-11  Jean-Louis Martineau <martineau@zmanda.com>
586         * perl/Amanda/Changer.pm (make_new_tape_label): Fix error return.
587         * perl/Amanda/Taper/Scribe.pm ($_user_msg_fn): Improve message if tape
588           is relabeled with a new label.
589         * perl/Amanda/ScanInventory.pm: Set relabeled.
590         * installcheck/Amanda_Changer.pl: Fix for new message.
591
592 2012-04-11  Jean-Louis Martineau <martineau@zmanda.com>
593         Patch by Nathan Stratton Treadway
594         * device-src/vfs-device.c: Improve message for MAX_VOLUME_USAGE.
595         * installcheck/taper.pl: Fix.
596
597 2012-04-11  Jean-Louis Martineau <martineau@zmanda.com>
598         * man/xml-source/amgtar.8.xml: s/APPLCIATION/APPLICATION/
599
600 2012-04-06  Jean-Louis Martineau <martineau@zmanda.com>
601         * application-src/ampgsql.pl: psql /could not connect to server/
602           message result in STRANGE.
603
604 2012-04-06  Jean-Louis Martineau <martineau@zmanda.com>
605         * perl/Amanda/ScanInventory.pm: Fix for label not matching labelstr.
606
607 2012-04-06  Jean-Louis Martineau <martineau@zmanda.com>
608         * device-src/device.c (device_get_bytes_written): New function.
609         * device-src/device.h (device_get_bytes_written): New prototype.
610         * device-src/ndmp-device.c, device-src/rait-device.c,
611           device-src/s3-device.c, device-src/tape-device.c,
612           device-src/vfs-device.c: Implement get_bytes_written.
613         * device-src/xfer-dest-taper-cacher.c,
614           device-src/xfer-dest-taper-splitter.c: Use device_get_bytes_written.
615         * perl/Amanda/Device.swg: Swig device_get_bytes_written.
616
617 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
618         * device-src/s3-device.c: New CLIENT_ID, CLIENT_SECRET and
619           REFRESH_TOKEN properties. Handle OAUTH2.
620         * device-src/s3.c: Handle OAUTH2.
621         * device-src/s3.h (S3_api): Add S3_API_OAUTH2.
622         * man/xml-source/amanda-devices.7.xml: Document new CLIENT_ID,
623           CLIENT_SECRET and REFRESH_TOKEN properties.
624
625 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
626         * man/xml-source/amfetchdump.8.xml: Document -l do not unencrypt.
627
628 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
629         * device-src/device.c (device_accept_with_cond,
630           device_connect_with_cond): New functions.
631         * device-src/device.h (device_accept_with_cond,
632           device_connect_with_cond): New prototypes.
633         * device-src/ndmp-device.c (accept_with_cond_impl,
634           connect_with_cond_impl): new functions.
635         * device-src/xfer-dest-taper-directtcp.c: Use device_accept_with_cond.
636         * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond):
637           new function.
638         * ndmp-src/ndmpconnobj.h (ndmp_connection_wait_for_notify_with_cond):
639           new prototype.
640         * perl/Amanda/Device.swg: swig accept_with_cond and connect_with_cond.
641         * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONe message.
642         * server-src/driver.c (handle_dumper_result): Always send dumper
643           result to taper.
644         * server-src/dumper.c: Remove debugging statement.
645         * xfer-src/element-glue.c: Add debugging statement.
646         * xfer-src/xfer.c (xfer_cancel): Ignore duplicate cancel.
647         * xfer-src/xfer.h (struct Xfer): Add cancelled field.
648
649 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
650         * common-src/amcryptsimple.pl: Use gpg if available.
651         * common-src/amgpgcrypt.pl: Use gpg-agent and/or gpg2 if available.
652         * server-src/dumper.c: Log compression/encryption executed.
653
654 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
655         * device-src/s3-device.c: New S3_MULTI_DELETE property.
656         * device-src/s3.c: New S3_MULTI_DELETE property.
657         * device-src/s3.h (s3_multi_delete): New prototype.
658         * man/xml-source/amanda-devices.7.xml: Document new S3_MULTI_DELETE s3
659           device property.
660
661 2012-04-05  Jean-Louis Martineau <martineau@zmanda.com>
662         * device-src/s3-device.c: New PASSWORD, USERNAME, TENANT_ID,
663           TENANT_NAME and STORAGE_API property. Handle SWIFT-2.
664         * device-src/s3.c: Handle SWIFT-2.
665         * device-src/s3.h (s3_open): New prototype.
666         * device-src/s3.h (S3_api): New enum.
667         * man/xml-source/amanda-devices.7.xml: Document new PASSWORD,
668           USERNAME, TENANT_ID, TENANT_NAME and STORAGE_API S3 device
669           properties.
670
671 2012-04-02  Jean-Louis Martineau <martineau@zmanda.com>
672         * application-src/amsamba.pl: Do not set unc prematurely.
673
674 2012-04-02  Jean-Louis Martineau <martineau@zmanda.com>
675         * device-src/ndmp-device.c (listen_impl): Set the window offset and
676           length to blocksize when reading.
677
678 2012-03-29 Dan Locks <dwlocks@zmanda.com>
679         * packaging/sun-pkg/buildpkg: add missing GLIB_LIBS variable to intel
680           builds. Add flags to make invocation to reduce output.
681
682 2012-03-29  Jean-Louis Martineau <martineau@zmanda.com>
683         * server-src/driver.c: Fix hang if taper crash.
684
685 2012-03-29  Jean-Louis Martineau <martineau@zmanda.com>
686         * device-src/s3.c: Retry on {500, S3_ERROR_None} error.
687           Improving debugging.
688
689 2012-03-28  Jean-Louis Martineau <martineau@zmanda.com>
690         * server-src/amadmin.c: Fix bumpsize.
691
692 2012-03-22  Jean-Louis Martineau <martineau@zmanda.com>
693         * common-src/fileheader.c: header type for non-amanda header is
694           F_WEIRD.
695         * server-src/amcheck-device.pl,
696           server-src/amtape.pl: Improve output for non-Amanda volume.
697
698 2012-03-19  Jean-Louis Martineau <martineau@zmanda.com>
699         * application-src/amgtar.c: Use "TAR-BLOCKSIZE" on restore.
700
701 2012-03-16  Jean-Louis Martineau <martineau@zmanda.com>
702         * application-src/ampgsql.pl: Use statefile to find end_wal on
703           estimate.
704
705 2012-03-15  Jean-Louis Martineau <martineau@zmanda.com>
706         * application-src/amgtar.c: Add IGNORE-ZEROS property.
707         * man/xml-source/amgtar.8.xml: Document IGNORE-ZEROS property.
708
709 2012-03-13  Jean-Louis Martineau <martineau@zmanda.com>
710         * application-src/ampgsql.pl: Do not Execute pg_start_backup for
711           estimate.
712
713 2012-03-11  Jean-Louis Martineau <martineau@zmanda.com>
714         * common-src/glib-util.c: g_thread_supported always return TRUE on
715           newer version.
716
717 2012-03-10  Jean-Louis Martineau <martineau@zmanda.com>
718         * common-src/glib-util.c, common-src/glib-util.h: Remove
719           g_queue_free_full.
720
721 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
722         * client-src/client_util.c, common-src/Makefile.am, common-src/am_sl.c,
723           common-src/amxml.c: typo.
724
725 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
726         * client-src/client_util.c, client-src/selfcheck.c,
727           client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
728           client-src/sendbackup.c, client-src/sendsize.c,
729           common-src/amxml.c, common-src/amxml.h,
730           recover-src/extract_list.c: s/level_t/am_level_t/g
731         * client-src/calcsize.c, common-src/amxml.h,
732           common-src/conffile.c, common-src/conffile.h,
733           common-src/sl.c, common-src/sl.h,
734           perl/Amanda/Header.swg: s/sl_t/am_sl_t/g
735         * amandad-src/amandad.h, client-src/calcsize.c,
736           client-src/client_util.h, common-src/Makefile.am: s/sl.h/am_sl.h
737         * common-src/am_sl.h: renamed from common-src/sl.h
738         * common-src/am_sl.c: renamed from common-src/sl.c
739
740 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
741         * server-src/amfetchdump.pl: Print progress.
742         * device-src/device.c (device_get_bytes_read ): New API method.
743         * device-src/device.h (Device): Add bytes_read.
744         * device-src/device.h (_DeviceClass): Add get_bytes_read.
745         * device-src/device.h (device_get_bytes_read): Add prototype.
746         * device-src/ndmp-device.c: Set bytes_read.
747         * device-src/rait-device.c: Set bytes_read.
748         * device-src/s3-device.c: Use curl progress callback to set bytes_read.
749         * device-src/s3.c: Set a progress callback.
750         * device-src/tape-device.c: Set bytes_read.
751         * device-src/vfs-device.c: Set bytes_read.
752         * device-src/xfer-device.h (xfer_source_recovery_get_bytes_read): Add
753           prototype.
754         * device-src/xfer-source-recovery.c
755           (xfer_source_recovery_get_bytes_read): new function.
756         * perl/Amanda/Device.swg (device_get_bytes_read): New function.
757         * perl/Amanda/Recovery/Clerk.pm: Call get_bytes_read.
758         * perl/Amanda/XferServer.swg: (xfer_source_holding_get_bytes_read,
759         * xfer_source_recovery_get_bytes_read): New prototypes.
760         * server-src/xfer-server.h (xfer_source_holding_get_bytes_read):
761           New protoype.
762         * server-src/xfer-source-holding.c (xfer_source_holding_get_bytes_read):
763           New function.
764
765 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
766         * perl/Amanda/Recovery/Scan.pm: Do not rescan the same slot
767           indefinitely.
768
769 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
770         * perl/Amanda/Changer/multi.pm: Fix warning.
771
772 2012-03-09  Jean-Louis Martineau <martineau@zmanda.com>
773         * device-src/s3-device.c: New PROXY property.
774         * device-src/s3.c: Set CURLOPT_PROXY from PROXY property.
775         * device-src/s3.h (s3_open): Add proxy argument.
776         * man/xml-source/amanda-devices.7.xml: Document PROXY property.
777
778 2012-03-08  Jean-Louis Martineau <martineau@zmanda.com>
779         * perl/Amanda/Header.swg (get_dle): Return undef if not set.
780         * server-src/amidxtaped.pl: Check dle is set.
781
782 2012-03-08  Jean-Louis Martineau <martineau@zmanda.com>
783         * server-src/amvault.pl: Use the write-timestamp, not the
784           dump-timestamp.
785
786 2012-03-08  Jean-Louis Martineau <martineau@zmanda.com>
787         * common-src/ssh-security.c: use default port if client-port is not
788           set.
789
790 2012-03-07  Jean-Louis Martineau <martineau@zmanda.com>
791         * application-src/amsamba.pl:  Fix use of subdir for restore,
792           prepend subdir on include for restore.
793
794 2012-03-07  Jean-Louis Martineau <martineau@zmanda.com>
795         * ndmp-src/ndmjob_args.c: Add '-o D-agent-fd' argument.
796
797 2012-03-07  Jean-Louis Martineau <martineau@zmanda.com>
798         * application-src/ampgsql.pl: Do not execute pg_start_backup and
799           pg_stop_backup on selfcheck.
800
801 2012-02-23  Jean-Louis Martineau <martineau@zmanda.com>
802         * man/xml-source/amzfs-sendrecv.8.xml: Typo.
803
804 2012-02-23  Jean-Louis Martineau <martineau@zmanda.com>
805         * man/xml-source/disklist.5.xml: Document includefile directive.
806
807 2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
808         * perl/make_html.pl: Add link at top, better list display.
809         * perl/Makefile.am: Execute make_html with a --homeurl argument.
810
811 2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
812         * VERSION: 3.3.1
813         * ReleaseNotes, NEWS: update for 3.3.1
814
815 2012-02-16  Jean-Louis Martineau <martineau@zmanda.com>
816         * server-src/amadmin.c (disklist_one): print the filename.
817         * server-src/diskfile.c: Add includefile directive.
818         * server-src/diskfile.h (disk_t): Add filename.
819
820 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
821         * man/xml-source/amanda.conf.5.xml: Fix default netusage.
822
823 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
824         * perl/Amanda/Recovery/Clerk.pm: Typo.
825
826 2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
827         * perl/make_html.pl: generate correct absolute link.
828
829 2012-02-10  Jean-Louis Martineau <martineau@zmanda.com>
830         * device-src/s3.c: Do not print the data to the debug file.
831
832 2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
833         * application-src/ampgsql.pl: Do not use temporary disk space while
834           doing backup or recovery.
835
836 2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
837         * perl/Amanda/DB/Catalog.pm: filenum must be sorted numerically.
838
839 2012-02-07  Jean-Louis Martineau <martineau@zmanda.com>
840         * application-src/ampgsql.pl: pg_version 802000 => 80200.
841
842 2012-02-01  Jean-Louis Martineau <martineau@zmanda.com>
843         * application-src/ampgsql.pl: Do not print normal
844           pg_xlogfile_name_offset output to MESG stream.
845
846 2012-01-31 Dan Locks <dwlocks@zmanda.com>
847         * packaging/deb/preinst, packaging/rpm/amanda.spec.src: change /bin/sh
848           to /bin/bash.
849
850 2012-01-27  Jean-Louis Martineau <martineau@zmanda.com>
851         * application-src/ampgsql.pl: Run pg_switch_xlog() and wait for the
852           archived WAl before doing an incremental backup.
853
854 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
855         * device-src/s3.c: Set xmlns for IIJ.
856
857 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
858         * device-src/s3-device.c: Fix for openstack swift api.
859
860 2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
861         * perl/Amanda/Taper/Scribe.pm, server-src/amlabel.pl:use the 
862           block_size instead of the header-block_size to write the BLOCK_SIZE
863           in the tapelist.
864
865 2012-01-19  Jean-Louis Martineau <martineau@zmanda.com>
866         * device-src/s3-device.c: Add support for openstack swift api.
867         * device-src/s3.c: Add support for openstack swift api.
868         * device-src/s3.h: Add support for openstack swift api.
869         * man/xml-source/amanda-devices.7.xml: Add openstack-swift-api 
870           property.
871
872 2012-01-13  Jean-Louis Martineau <martineau@zmanda.com>
873         * device-src/s3-device.c: Fix deleting files.
874
875 2012-01-09  Jean-Louis Martineau <martineau@zmanda.com>
876         * server-src/amtape.pl: Fix amtape show for non numeric slot.
877
878 2012-01-04  Jean-Louis Martineau <martineau@zmanda.com>
879         * recover-src/extract_list.c: Fix for compilation on AIX.
880
881 2012-01-04 Dan Locks <dwlocks@zmanda.com>
882         *  packaging/sun-pkg/buildpkg: Add GLIB_* flags to sun packages
883         *  config/amanda/libs.m4: fix "exit when explicit flags are given"
884            error, and require all flags when one is given.
885
886 2012-01-03  Jean-Louis Martineau <martineau@zmanda.com>
887         * device-src/s3-device.c: Report DEVICE ERROR if s3_is_bucket_exists
888           response with curl error CURLE_COULDNT_CONNECT or
889           CURLE_COULDNT_RESOLVE_HOST.
890
891 2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
892         * perl/Amanda/Changer/multi.pm: Print the state filename to the debug
893           file.
894
895 2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
896         * perl/Amanda/ScanInventory.pm: Correctly set 'err'.
897         * server-src/amtape.pl: quit the changer even on error.
898
899 2011-12-23  Jean-Louis Martineau <martineau@zmanda.com>
900         Patch by Nathan Stratton Treadway.
901         * common-src/conffile.c (read_int_or_str): Fix error message.
902
903 2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
904         * server-src/planner.c: Fix force-bump with overdue filesystem.
905
906 2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
907         * server-src/amlabel.pl: --asign require --meta or --barcode.
908
909 2011-12-16  Jean-Louis Martineau <martineau@zmanda.com>
910         * application-src/amgtar.c: Fix GNUTAR-LISTDIR property.
911
912 2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
913         * device-src/s3.c (s3_is_bucket_exists): Set max-keys=1.
914
915 2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
916         * perl/Amanda/Recovery/Scan.pm (new): Return changer error.
917
918 2011-12-12  Jean-Louis Martineau <martineau@zmanda.com>
919         * common-src/amfeatures.c: Add fe_dumptype_property.
920         * common-src/amfeatures.h: Add fe_dumptype_property.
921         * common-src/amxml.c: Parse dumptype properties.
922         * common-src/amxml.h (dle_t): Add property field.
923         * perl/Amanda/Disklist.swg: Add clean_dle_str_for_client.
924         * perl/Amanda/Feature.pod: Add fe_dumptype_property.
925         * perl/Amanda/Feature.swg: Add Amanda::Feature::Set::features
926         * server-src/amidxtaped.pl: Call clean_dle_str_for_client.
927         * server-src/diskfile.c (xml_dumptype_properties): New function to
928           return dumptype propertyes.
929         * server-src/diskfile.h (xml_dumptype_properties) Add prototype.
930         * server-src/driverio.c: Add xml_dumptype_properties to dumper cmd.
931         * server-src/dumper.c: Call clean_dle_str_for_client.
932
933 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
934         * example/template.d/amanda-harddisk.conf.in: fix for installcheck.
935
936 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
937         * NEWS, ReleaseNotes: Update for 3.3.1
938
939 2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
940         * server-src/amindex.c (getheaderfname): New function.
941         * server-src/amindex.h (getheaderfname): New prototype.
942         * server-src/dumper.c: Wrtie header to a file in indexdir.
943
944 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
945         * example/template.d/amanda-S3.conf.in,
946           example/template.d/amanda-harddisk.conf.in,
947           example/template.d/amanda-single-tape.conf.in,
948           example/template.d/amanda-tape-changer.conf.in: Use new changer api.
949         * server-src/amserverconfig.pl: Use new changer api.
950
951 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
952         * man/xml-source/amvault.8.xml: Improve.
953
954 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
955         * perl/Amanda/ScanInventory.pm (volume_is_labelable): New method.
956         * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
957           Use volume_is_labelable from ScanInventory.
958         * perl/Amanda/Taper/Scan/traditional.pm: Fix bad logging.
959         * perl/Amanda/Taper/Scribe.pm: Print "autolabel disabled".
960         * perl/Amanda/Taper/Worker.pm: Add debugging.
961         * server-src/amvault.pl: Quit both changer, add debugging.
962
963 2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
964         * server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use
965           Amanda::Debug.
966
967 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
968         Fix for previous patch.
969         * application-src/amlog-script.pl, application-src/ampgsql.pl,
970           application-src/amraw.pl, application-src/amsamba.pl,
971           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
972           application-src/amzfs-snapshot.pl,
973           application-src/script-email.pl: Undo previous patch,
974         * perl/Amanda/Script_App.pm: Do it here instead.
975           server-src/amlogroll.pl, server-src/amvault.pl
976           server-src/taper.pl: Import the debug method.
977         * server-src/amoverview.pl, server-src/amserverconfig.pl,
978           server-src/amstatus.pl: Undo previous patch, they do not use the
979           debug file.
980
981 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
982         * application-src/amlog-script.pl, application-src/ampgsql.pl,
983           application-src/amraw.pl, application-src/amsamba.pl,
984           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
985           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
986           client-src/amdump_client.pl, common-src/amgetconf.pl,
987           device-src/amdevcheck.pl, device-src/amtapetype.pl,
988           server-src/amcheckdump.pl, server-src/amcleanup.pl,
989           server-src/amcleanupdisk.pl, server-src/amdump.pl,
990           server-src/amfetchdump.pl, server-src/amlabel.pl,
991           server-src/amlogroll.pl, server-src/amoverview.pl,
992           server-src/amreport.pl, server-src/amrestore.pl,
993           server-src/amrmtape.pl, server-src/amserverconfig.pl,
994           server-src/amstatus.pl, server-src/amtape.pl,
995           server-src/amvault.pl,
996           server-src/taper.pl: Print command line arguments to debug file.
997
998 2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
999         * device-src/device.c, device-src/ndmp-device.c,
1000           device-src/tape-device.c: Call device_set_error if setting a
1001           property fail.
1002         * perl/Amanda/Changer.pm: Use device error message.
1003
1004 2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
1005         * device-src/s3-device.c, device-src/vfs-device.c (*_device_erase):
1006           set the device state to unlabeled.
1007         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/multi.pm
1008           (set_label):  works with undefined label.
1009         * perl/Amanda/Changer/robot.pm: small cleanup.
1010         * server-src/amrmtape.pl: Call reservation set_label method to remove
1011           the label from the state.
1012
1013 2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
1014         * man/xml-source/amanda.conf.5.xml (autolabel): Document it must match
1015           labelstr.
1016
1017 2011-12-01  Jean-Louis Martineau <martineau@zmanda.com>
1018         * device-src/s3-device.c (delete_file): Use multiple threads.
1019
1020 2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1021         * device-src/xfer-dest-taper-splitter.c: Set the xmsg even if the xfer
1022           is cancelled.
1023         * perl/Amanda/Taper/Scribe.pm: result is PARTIAL|FAILED if
1024           !last_part_successful.
1025
1026 2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
1027         * device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock
1028           before calling wait_until_xfer_cancelled.
1029
1030 2011-11-28  Jean-Louis Martineau <martineau@zmanda.com>
1031         * server-src/amfetchdump.pl: Fix usage.
1032         * man/xml-source/amfetchdump.8.xml: Fix synopsis.
1033
1034 2011-11-25  Jean-Louis Martineau <martineau@zmanda.com>
1035         * installcheck/gnutar.pl: Change expectations to an array that can be
1036           scanned in order, fix for tar-1.25 on fc15.
1037
1038 2011-11-22  Jean-Louis Martineau <martineau@zmanda.com>
1039         * device-src/s3.c (build_url): curl is G_GNUC_UNUSED.
1040
1041 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1042         * server-src/amtape.pl: Fix 'amtape show' with one slot.
1043         * installcheck/amtape.pl: Test it.
1044
1045 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1046         * server-src/amreport.pl: Check if executable before open3().
1047         * installcheck/amreport.pl: Fix for new message.
1048
1049 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1050         * perl/Amanda/Changer.pm: Correctly check barcode is not defined.
1051
1052 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1053         * perl/Amanda/Changer.pm: Correctly substititue '%' if not present.
1054
1055 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1056         * server-src/amtape.pl: Add [slots] argument to amtape show.
1057         * man/xml-source/amtape.8.xml: Document it.
1058
1059 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1060         * device-src/s3.c: Disable the service_path if it is set to an empty
1061           string or '/', also remove trailing slash.
1062
1063 2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
1064         * server-src/amdump.pl: Log a 'START planner date' line on error'.
1065
1066 2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
1067         * device-src/s3.c: Use curl_easy_escape.
1068
1069 2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
1070         * installcheck/gnutar.pl: Fix for fc16.
1071
1072 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1073         * installcheck/mock/mtx.pl: Fix qw.
1074
1075 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1076         * server-src/amstatus.pl: Use Getopt::Long
1077
1078 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1079         * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE.
1080
1081 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1082         * perl/Amanda/Logfile.pod: Remove match_* functions
1083         * perl/Amanda/Logfile.swg: Remove match_* functions
1084         * perl/Amanda/Util.pod: Add match_* functions
1085         * perl/Amanda/Util.swg: Add match_* functions
1086         * client-src/amdump_client.pl, perl/Amanda/DB/Catalog.pm,
1087           server-src/amdumpd.pl, server-src/amidxtaped.pl,
1088           server-src/amvault.pl: Use match_* functions for Amanda::Util
1089
1090 2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
1091         * perl/Amanda/Report.pm: Always report the first 100 strange lines.
1092         * installcheck/catalogs/longstrange.cat: Fix test.
1093
1094
1095 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
1096         * server-src/amreport.pl: Fix for perl-5.14
1097         * installcheck/amreport.pl: Add test.
1098
1099 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
1100         * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14.
1101
1102 2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
1103         * application-src/ampgsql.pl: Print state filename to debug file.
1104
1105 2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
1106         * device-src/s3-device.c: Add S3_SERVER_SIDE_ENCRYPTION property.
1107         * device-src/s3.c: Add server_side_encryption.
1108         * device-src/s3.h: Add server_side_encryption.
1109         * man/xml-source/amanda-devices.7.xml: Document
1110           S3_SERVER_SIDE_ENCRYPTION property
1111
1112 2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
1113         * perl/Amanda/Changer.pm (release): Always call finished_cb.
1114         * installcheck/amcheck-device.pl: Add a check.
1115         
1116 2011-10-12  Jean-Louis Martineau <martineau@zmanda.com>
1117         * server-src/driverio.c (update_info_dumper): Set date to 0 if 
1118           datestamp is 0.
1119
1120 2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
1121         * application-src/ampgsql.pl: If datadir is not set, use the disk
1122           argument.
1123
1124 2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
1125         * common-src/conffile.c: Do not free cwd.
1126         * common-src/amgetconf.pl: Allow to get one property.
1127         * installcheck/amgetconf.pl: Test it.
1128
1129 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1130         * common-src/match.c: Update from trunk.
1131
1132 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1133         * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error.
1134
1135 2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
1136         * installcheck/gnutar.pl: Add support for fc14 and fc15.
1137
1138 2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
1139         * recover-src/extract_list.c: Do not crahs if amidxtaped close the 
1140           connection.
1141
1142 2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
1143         * device-src/s3.c: Correctly set thunk->next_marker.
1144
1145 2011-09-30 Dan Locks <dwlocks@zmanda.com>
1146         *  packaging/common/substitute.pl: fix PKG_REV missing message.
1147         *  packaging/sun-pkg/buildpkg, packaging/deb/buildpkg,
1148            packaging/rpm/buildpkg: create PKG_REV file until the machinery to
1149            process svn tags for PKG_REV is in place
1150
1151 2011-09-29 Dan Locks <dwlocks@zmanda.com>
1152         *  packaging/sun-pkg: sun package subdirectories
1153         *  packaging/sun-pkg/buildpkg: sun package building script
1154         *  packaging/common/mock_utils.sh: mocked utilities used by pre/post
1155            scripts
1156         *  packaging/common/post_inst_functions.sh,
1157            packaging/common/post_rm_functions.sh,
1158            packaging/common/pre_inst_functions.sh,
1159            packaging/common/common_functions.sh: shared shell functions for
1160            pre/post scripts.
1161         *  packaging/common/substitute.pl: update to handle sun packages and
1162            shell functions
1163         *  packaging/common/test_sh_libs.sh: unit tests for shell functions
1164         *  packaging/common/shunit2: unit test framework
1165         *  packaging/Makefile.am: add sun package to dist tarball.
1166         *  note: S3 device is not enabled; solaris compilation has me stumped.
1167
1168 2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
1169         * perl/Amanda/Holding.pm: fix dirfn.
1170
1171 2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
1172         Patch by Sam Stuck
1173         * man/xml-source/amanda-changers.7.xml: Typo.
1174
1175 2011-09-20  Jean-Louis Martineau <martineau@zmanda.com>
1176         * man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8
1177         * man/xml-source/amcleanup.8.xml:Add -r option.
1178         * man/xml-source/amcleanupdisk.8.xml: New man page.
1179         * perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp):
1180           New methods.
1181         * server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk.
1182         * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk.
1183         * server-src/amcleanup.pl: Add -r option.
1184         * server-src/amcleanupdisk.c: Remove file
1185         * server-src/amcleanupdisk.pl: New perl version.
1186         * server-src/holding.c: Fix max level to 399.
1187
1188 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
1189         * installcheck/Amanda_Device.pl: Check setting a property with an 
1190           invalid name.
1191
1192 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
1193         * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value.
1194
1195 2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
1196         * application-src/amzfs-sendrecv.pl: restore works without --device.
1197
1198 2011-09-06  Jean-Louis Martineau <martineau@zmanda.com>
1199         * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not
1200           available.
1201
1202 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
1203         * client-src/selfcheck.c (print_platform): Another fix.
1204
1205 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
1206         * common-src/amcryptsimple.pl: Use gpg-agent.
1207
1208 2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
1209         * client-src/selfcheck.c (print_platform): Fix.
1210
1211 2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
1212         * server-src/amadmin.c (export) parse version without patch number.
1213
1214 2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
1215         * perl/Amanda/ScanInventory.pm: Get the meta label before
1216           calling make_new_tape_label.
1217         * perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before
1218           calling make_new_tape_label.
1219         * perl/Amanda/Taper/Scribe.pm: Return the reservation on error.
1220         * server-src/amcheck-device.pl: Release the reservation on error.
1221         * server-src/amtape.pl: Release the reservation on error,
1222           change 'amtape taper' output to be the same as amcheck.
1223         * installcheck/amtape.pl: Fix for new amtape output.
1224
1225 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1226         * common-src/debug.c (debug_printf): Print a thread id.
1227         * device-src/xfer-dest-taper-cacher.c,
1228           device-src/xfer-dest-taper-directtcp.c,
1229           device-src/xfer-dest-taper-splitter.c,
1230           device-src/xfer-source-recovery.c: Remove printing of thread id.
1231
1232 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1233         * server-src/dumper.c: filter stderr make result strange,
1234                                filter exit_code != 0 make it fail.
1235
1236 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1237         * application-src/amgtar.c: Do not rename gnutar-list if record is not
1238           set.
1239
1240 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1241         * server-src/tapefile.h (struct tape_s): Add blocksize.
1242         * server-src/tapefile.c: Print and parse blocksize in tapelist file.
1243         * perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file.
1244         * perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel.
1245         * server-src/amlabel.pl: Add blocksize argument to add_tapelabel.
1246         * installcheck/Amanda_Tapelist.pl: Fix for tapelist file format.
1247         * installcheck/amlabel.pl: Fix for tapelist file format.
1248
1249 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1250         * device-src/device.h (struct Device): Add header_block_size.
1251         * device-src/null-device.c, device-src/rait-device.c,
1252           device-src/s3-device.c, device-src/tape-device.c,
1253           device-src/vfs-device.c: Set header_block_size.
1254         * perl/Amanda/Device.swg: Swig header_block_size.
1255
1256 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1257         * installcheck/Amanda_Device.pl: Fix number of skipped test for S3.
1258
1259 2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
1260         * server-src/planner.c: Print why a disk is skip if DS_NOINC.
1261
1262 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
1263         * installcheck/Amanda_Device.pl: Check invalid location on s3 device.
1264
1265 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
1266         * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do
1267           not exists.
1268
1269 2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
1270         * device-src/s3.c (s3_is_bucket_exists): New function to check if a 
1271           bucket exists.
1272         * device-src/s3.h (s3_is_bucket_exists): Prototype.
1273         * device-src/s3-device.c: Call s3_is_bucket_exists before
1274           s3_make_bucket.
1275
1276 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1277         * perl/Amanda/Changer/multi.pm: Keep the device_error in the state file.
1278         * perl/Amanda/Changer/robot.pm: Keep the device_error in the state file.
1279         * server-src/amtape.pl (inventory): Print inventory device error.
1280         * installcheck/Amanda_Changer_multi.pl,
1281           installcheck/Amanda_Changer_ndmp.pl,
1282           installcheck/Amanda_Changer_robot.pl: Fix for device_error in
1283           state file.
1284
1285 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1286         * perl/Amanda/Changer.pm: Fix warning.
1287
1288 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1289         * installcheck/Amanda_Changer_ndmp.pl,
1290           installcheck/Amanda_Changer_robot.pl: Fix for previous patch.
1291
1292 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1293         * perl/Amanda/Changer/robot.pm: return a reservation even on error.
1294
1295 2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
1296         Patch by Gunar Gunnarsson
1297         * server-src/amvault.pl: Cast $dump->{'kb'} to int.
1298                 
1299 2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
1300         * man/xml-source/amanda-devices.7.xml: Update S3 location url.
1301
1302 2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
1303         * common-src/match.c: Fix for 'Trailing backslash' error
1304         * common-src/match-test.c: Add test
1305                 
1306 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1307         * amandad-src/amandad.c, client-src/calcsize.c,
1308           client-src/killpgrp.c, client-src/noop.c,
1309           client-src/rundump.c, client-src/runtar.c,
1310           client-src/selfcheck.c, client-src/sendbackup.c,
1311           client-src/sendsize.c, ndmp-src/amndmjob_main.c,
1312           server-src/amcleanupdisk.c, server-src/amindexd.c,
1313           server-src/amtrmidx.c, server-src/amtrmlog.c,
1314           server-src/driver.c, server-src/dumper.c,
1315           server-src/planner.c: Add a --version argument.
1316
1317 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1318         * common-src/amservice.c, recover-src/amrecover.c,
1319           server-src/amflush.c: #include "getopt.h"
1320
1321 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1322         * application-src/ampgsql.pl: add ARCHIVEDIR, CLEANUPWAL, DB,
1323           HOST, MAX-WAL-WAIT, PASSFILE, PORT, PSQL-PATH and USER
1324           properties.
1325         * man/xml-source/ampgsql.8.xml: Document them.
1326
1327 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1328         * common-src/amservice.c, recover-src/amrecover.c,
1329           server-src/amcheck.c, server-src/amflush.c: Add a --version argument.
1330
1331 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1332         * client-src/selfcheck.c: Check return value of fgets.
1333
1334 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1335         * many */*.pl: add --version option.
1336
1337 2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
1338         * application-src/ampgsql.pl: print to debug file and server if unlink
1339           fail.
1340                   
1341 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
1342         * man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml,
1343           man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml,
1344           man/xml-source/amsuntar.8.xml,
1345           man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice.
1346
1347 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
1348         * client-src/client_util.c: fix
1349
1350 2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
1351         * server-src/amcheck.c: new '--client-verbose' option.
1352         * man/xml-source/amcheck.8.xml: Document --client-verbos
1353         * config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname
1354           path.
1355         * configure.in: call AMANDA_PROG_UNAME.
1356         * client-src/client_util.c (check_access, check_file, check_dir,
1357           check_suid): return a gboolean.
1358         * client-src/client_util.h: Change prototypes.
1359         * client-src/selfcheck.c: Print the platform.
1360         * common-src/util.c (get_first_line): new function to return the first
1361           output line of a command.
1362         * common-src/util.h (get_first_line): add prototype.
1363         * application-src/amgtar.c, application-src/ampgsql.pl,
1364           application-src/amraw.pl, application-src/amsamba.pl,
1365           application-src/amstar.c, application-src/amsuntar.pl,
1366           application-src/amzfs-sendrecv.pl: print version of program.
1367             
1368 2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
1369         * perl/Amanda/Changer.pm: Fix warning if $s is not used.
1370
1371 2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
1372         * perl/Amanda/Changer.pm: Support minimun number of digit in $3s
1373           autolabel template.
1374         * man/xml-source/amanda.conf.5.xml: Document it.
1375
1376 2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
1377         * perl/Amanda/Changer/multi.pm (do_release): Support eject params.
1378         * perl/Amanda/Changer/single.pm (do_release): Do the eject correctly.
1379
1380 2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
1381         * man/xml-source/amanda-taperscan.7.xml: Typo.
1382
1383 2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
1384         * common-src/conffile.h: Add CONF_EJECT_VOLUME
1385         * common-src/conffile.c: Add CNF_EJECT_VOLUME
1386         * man/xml-source/amanda.conf.5.xml: Document eject-volume.
1387         * perl/Amanda/Config.swg: Add CNF_EJECT_VOLUME.
1388         * perl/Amanda/Changer/single.pm: Eject the device if the eject
1389           params is set in $res->release()
1390         * perl/Amanda/Taper/Scribe.pm (new): Get eject_volume params.
1391         * perl/Amanda/Taper/Scribe.pm (_release_reservation): Call
1392           $res->release with the eject params if needed.
1393         * perl/Amanda/Taper/Worker.pm: Make the Scribe with the eject_volume
1394           params set to $CNF_EJECT_VOLUME
1395
1396 2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
1397         * perl/Amanda/Changer.pm (make_error): callback is optional.
1398         * perl/Amanda/Changer/disk.pm: Check if disk is mounted before locking.
1399         * perl/Amanda/ScanInventory.pm (_scan): fail only on fatal error.
1400         * perl/Amanda/Taper/Controller.pm: Put error message in double quote.
1401         * perl/Amanda/Taper/Worker.pm: Put message in double quote.
1402
1403 2011-07-19  Jean-Louis Martineau <martineau@zmanda.com>
1404         * server-src/driver.c (tape_action): consider number of dle on volume
1405           and max-dle-by-volume for allowing use of new volume.
1406
1407 2011-07-15  Jean-Louis Martineau <martineau@zmanda.com>
1408         * man/xml-source/amanda-changers.7.xml: Add chg-single documentation.
1409
1410 2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
1411         * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB.
1412
1413 2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
1414         * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB.
1415
1416 2011-07-13  Jean-Louis Martineau <martineau@zmanda.com>
1417         * common-src/conffile.c: Add CONF_MAX_DLE_BY_VOLUME.
1418         * common-src/conffile.h: Add CNF_MAX_DLE_BY_VOLUME.
1419         * man/xml-source/amanda.conf.5.xml: Document max-dle-by-volume.
1420         * perl/Amanda/Config.swg: Add CNF_MAX_DLE_BY_VOLUME.
1421         * perl/Amanda/Taper/Controller.pm: Add msg_CLOSE_VOLUME method.
1422         * perl/Amanda/Taper/Protocol.pm: Add CLOSE_VOLUME.
1423         * perl/Amanda/Taper/Scribe.pm: Add close_volume method, call
1424           _get_new_volume() is close_volume was called.
1425         * perl/Amanda/Taper/Worker.pm: Add CLOSE_VOLUME method.
1426         * server-src/driver.c: Send CLOSE_VOLUME command to taper if the
1427           number of dle on a volume is larger than max-dle-by-volume
1428         * server-src/driverio.c: Send CLOSE_VOLUME command.
1429         * server-src/driverio.h: Add nb_dle to taper_t.
1430         * server-src/server_util.c: Add "CLOSE-VOLUME" to cmdstr.
1431         * server-src/server_util.h: Add CLOSE_VOLUME.
1432
1433 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
1434         * device-src/s3-device.c: Fix gcc warning for s3_rval set but not used
1435
1436 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
1437         * config/amanda/libs.m4: Fix use of AC_LINK_IFELSE.
1438
1439 2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
1440         * common-src/match.c (match_word): better matching for anchored 
1441           expression.
1442         * common-src/match-test.c: Add new tests.
1443
1444 2011-07-11  Jean-Louis Martineau <martineau@zmanda.com>
1445         Add '$s' substitution to autolabel.
1446         * perl/Amanda/Changer.pm (make_new_tape_label): Handle $s.
1447         * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm,
1448           perl/Amanda/Taper/Scribe.pm: Call make_new_tape_label with the slot.
1449         * man/xml-source/amanda.conf.5.xml: Document $s substitution.
1450
1451 2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
1452         * config/amanda/libs.m4: Fix for newer aclocal.
1453         * config/libtool.m4, config/ltmain.sh,
1454           config/ltoptions.m4, config/ltsugar.m4,
1455           config/ltversion.m4,
1456           config/lt~obsolete.m4: Upgrade libtool to 2.4.
1457
1458 2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
1459         * Many *.c files: Fix for gcc-4.6.0 warning: variable â€˜NAME’ set but
1460           not used.
1461
1462 2011-07-07  Jean-Louis Martineau <martineau@zmanda.com>
1463         * perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape
1464
1465 2011-07-05  Jean-Louis Martineau <martineau@zmanda.com>
1466         * perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense
1467           key is 'Not Ready'
1468
1469 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1470         * application-src/amstar.c: typo.
1471
1472 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1473         * server-src/driver.c: Call short_dump_state on all state change.
1474
1475 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1476         Patch by p_michalczyk
1477         * application-src/amstar.c: Place command_options at the and of
1478           command line.
1479
1480 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1481         Patch by p_michalczyk
1482         * application-src/amstar.c: Add missing break statement.
1483
1484 2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
1485         Replace semaphore by amsemaphore.
1486         * common-src/Makefile.am: Remove semaphore.*, add amsemaphore.*
1487         * common-src/amsemaphore-test.c: New copy of semaphore-test.c
1488         * common-src/amsemaphore.c: New copy of semaphore.c
1489         * common-src/amsemaphore.h: New copy of semaphore.h
1490         * common-src/semaphore-test.c: Removed file.
1491         * common-src/semaphore.c: Removed file.
1492         * common-src/semaphore.h: Removed file.
1493         * device-src/rait-device.c: s/semaphore_/amsemaphore_/g
1494         * xfer-src/element-glue.c: s/semaphore_/amsemaphore_/g
1495         * xfer-src/element-glue.h: s/semaphore_/amsemaphore_/g
1496
1497 2011-06-28  Jean-Louis Martineau <martineau@zmanda.com>
1498         * server-src/driver.c: Check holding file is in a holding directory.
1499
1500 2011-06-27  Jean-Louis Martineau <martineau@zmanda.com>
1501         * man/xml-source/amanda-devices.7.xml: s/Witout/Without/
1502
1503 2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
1504         * man/xml-source/amanda-client.conf.5.xml: Add amdump-server.
1505         * man/xml-source/amdump_client.8.xml: Fix doc.
1506
1507 2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
1508         * perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call.
1509
1510 2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
1511         * perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode
1512
1513 2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
1514         * man/xml-source/amrecover.8.xml: Document new settranslate command.
1515         * recover-src/amrecover.c: Add disk_tpath,
1516         * recover-src/amrecover.c (translate_octal): New function.
1517         * recover-src/amrecover.h: Add tpath to DIR_ITEM.
1518         * recover-src/display_commands.c: Set and use tpath.
1519         * recover-src/extract_list.c: Use tpath
1520         * recover-src/help.c: Add settranslate command.
1521         * recover-src/set_commands.c: Set and tpath.
1522         * recover-src/uparse.y: Parse settranslate command.
1523         * recover-src/uscan.l: Add SETTRANSLATE keyword.
1524
1525 2011-06-17  Jean-Louis Martineau <martineau@zmanda.com>
1526         * perl/Amanda/Changer/robot.pm, perl/Amanda/Recovery/Planner.pm,
1527           perl/Amanda/Recovery/Clerk.pm,
1528           perl/Amanda/Taper/Scribe.pm: Fix for qw syntax in perl 5.14.
1529
1530 2011-06-13  Jean-Louis Martineau <martineau@zmanda.com>
1531         * perl/Amanda/Taper/Worker.pm: s/messsage/message/.
1532
1533 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1534         * VERSION: 3.3.0
1535
1536 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1537         * configure.in: Move AMANDA_S3_DEVICE to do libcurl detection later.
1538
1539 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
1540         * NEWS, ReleaseNotes: Update for 3.3.0 release.
1541
1542 2011-05-30  Jean-Louis Martineau <martineau@zmanda.com>
1543         * server-src/list_dir.c: fix add_dir_list_item.
1544
1545 2011-05-27 Dan Locks <dwlocks@zmanda.com>
1546         *  packaging/rpm/amanda.spec.src: replace enable-as-needed rpm macro
1547            with enable_as_needed.
1548
1549 2011-05-24 Dan Locks <dwlocks@zmanda.com>
1550         *  packaging/deb/rules: use --enable-as-needed
1551         *  packaging/rpm/amanda.spec.src: use --enable-as-needed except on
1552            sles9, where ld does not have the --as-needed flag.
1553
1554 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
1555         * installcheck/gnutar.pl: Fix gnutar pattern matching for gtar 1.25.
1556
1557 2011-05-24  Jean-Louis Martineau <martineau@zmanda.com>
1558         * application-src/ampgsql.pl: Parse and filter stdout/stderr of
1559           commands.
1560
1561 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
1562         * server-src/driverio.c: fix non-NULL terminated argument list in
1563           vstralloc()
1564
1565 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
1566         * Fix for default BSDTCP auth.
1567
1568 2011-05-18  Jean-Louis Martineau <martineau@zmanda.com>
1569         * amandad-src/amandad.c,
1570           common-src/conffile.c: Change default auth to bsdtcp.
1571         * NEWS, ReleaseNotes: Change default auth to bsdtcp.
1572         * example/amanda-client.conf.in,
1573           example/amanda.conf.in: Change default auth to bsdtcp.
1574         * man/xml-source/amanda-auth.7.xml,
1575           man/xml-source/amanda-client.conf.5.xml,
1576           man/xml-source/amanda.conf.5.xml,
1577           man/xml-source/amrecover.8.xml: Change default auth to bsdtcp.
1578
1579 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
1580         * device-src/ndmp-device.c: s/NDMP4_/NDMP9_/g
1581
1582 2011-05-17  Jean-Louis Martineau <martineau@zmanda.com>
1583         * man/xml-source/amrecover.8.xml: Add an AUTH section.
1584
1585 2011-05-13  Jean-Louis Martineau <martineau@zmanda.com>
1586         * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm,
1587           perl/Amanda/Taper/Worker.pm: Remove uneeded '#! @PERL@' first line.
1588
1589 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
1590         * server-src/amdump.pl: s/Catched/Caught/
1591
1592 2011-05-12  Jean-Louis Martineau <martineau@zmanda.com>
1593         * server-src/amdump.pl: Trap ctrl-c while backup is running, resume by
1594           sending email and log rotation.
1595
1596 2011-05-10  Jean-Louis Martineau <martineau@zmanda.com>
1597         * perl/Amanda/Taper/Scribe.pm: Call $device->finish() before
1598           $device->read_label(), A device must be in ACCESS_NULL for read_label.
1599
1600 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
1601         * common-src/conffile.c: Do not crash on unterminated quoted string.
1602
1603 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
1604         * application-src/amzfs-sendrecv.pl: Implement restore.
1605           Generate index with only '/'.
1606         * perl/Amanda/Application/Zfs.pm: Add $self->{filesystem} on some
1607           command, improve zfs_build_snapshotname.
1608         * server-src/list_dir.c (add_dir_list_item): Check if same dump.
1609
1610 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
1611         * common-src/local-security.c: Call initgroups before executing amandad
1612
1613 2011-05-05  Jean-Louis Martineau <martineau@zmanda.com>
1614         * server-src/driver.c: Do not count dup to tape when checking space
1615           on holdingdisk.
1616
1617 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
1618         * device-src/s3.c: Do not get "location" if bucket_location is not set.
1619
1620 2011-04-29  Jean-Louis Martineau <martineau@zmanda.com>
1621         * server-src/driver.c: Reply immediately a NO_NEW_TAPE if taper ask
1622           REQUEST_NEW_TAPE after it is in TAPER_STATE_DONE.
1623
1624 2011-04-27  Jean-Louis Martineau <martineau@zmanda.com>
1625         * perl/Amanda/Device.swg: Do not crash if an unknown device-property
1626           is set.
1627
1628 2011-04-26  Jean-Louis Martineau <martineau@zmanda.com>
1629         * device-src/s3-device.c: Add thread and new properties to identify
1630           the device.
1631         * device-src/s3.c: New properties to identify the device.
1632         * device-src/s3.h: New s3_open prototype.
1633         * man/xml-source/amanda-devices.7.xml: Document new properties.
1634         * NEWS, ReleaseNotes: Document new features.
1635
1636 2011-04-20  Jean-Louis Martineau <martineau@zmanda.com>
1637         * server-src/planner.c: Improve balancing if some dle have strategy
1638           noinc or a smaller dumpcycle.
1639
1640 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
1641         * server-src/amidxtaped.pl: Do the uncompress if client can't do it.
1642
1643 2011-04-19  Jean-Louis Martineau <martineau@zmanda.com>
1644         * perl/Amanda/Changer.pm: new changer error: empty.
1645         * perl/Amanda/Changer/robot.pm: return empty slot.
1646         * perl/Amanda/Taper/Scan/traditional.pm: Handle empty slot.
1647
1648 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
1649         * perl/Amanda/Changer.pm: Check generated label and meta-label.
1650
1651 2011-04-18  Jean-Louis Martineau <martineau@zmanda.com>
1652         * man/xml-source/amlabel.8.xml: Improve doc.
1653         * server-src/amlabel.pl: Remove spurious print.
1654
1655 2011-04-12  Jean-Louis Martineau <martineau@zmanda.com>
1656         * server-src/amadmin.c: Do not free find result string.
1657         * server-src/find.c: Use GStringChunk to store all find_dump string.
1658
1659 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
1660         * configure.in: Use AMANDA_AS_NEEDED.
1661         * config/amanda/as_needed.m4: Add --as-needed, set AS_NEEDED_FLAGS.
1662         * client-src/Makefile.am, amandad-src/Makefile.am,
1663           ndmp-src/Makefile.am, device-src/Makefile.am,
1664           application-src/Makefile.am, xfer-src/Makefile.am,
1665           server-src/Makefile.am, amar-src/Makefile.am,
1666           common-src/Makefile.am: Add AS_NEEDED_FLAGS to many *_LDFLAGS.
1667
1668 2011-04-11  Jean-Louis Martineau <martineau@zmanda.com>
1669         * perl/Amanda/DB/Catalog.pm: Parse negative kb and orig-kb.
1670         * perl/Amanda/Logfile.swg: Do not write negative orig-kb.
1671
1672 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
1673         * man/xml-source/amanda-devices.7.xml: Typo.
1674
1675 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
1676         * perl/Amanda/Interactivity.pm: Add documentation.
1677
1678 2011-04-06  Jean-Louis Martineau <martineau@zmanda.com>
1679         * server-src/driver.c: Fix Computation of data_lost on current and
1680           next tape.
1681
1682 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
1683         * NEWS, ReleaseNotes: Update for 3.3.0beta1.
1684
1685 2011-04-01  Jean-Louis Martineau <martineau@zmanda.com>
1686         * amplot/amplot.awk: Fix for new log format, fix small -t display,
1687           fix 'set key' syntax.
1688         * amplot/amplot.g: Fix 'set data' and 'plot' syntax.
1689
1690 2011-03-31  Jean-Louis Martineau <martineau@zmanda.com>
1691         * VERSION: 3.3.0beta1
1692
1693 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
1694         * installcheck/taper.pl: Fix installcheck for 'splitting not enabled'.
1695
1696 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
1697         * VERSION: 3.3.0_beta1
1698
1699 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
1700         * device-src/vfs-device.c: LEOM property default to TRUE.
1701
1702 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
1703         * perl/Amanda/Taper/Scribe.pm: Log 'splitting not enabled' on write
1704           failure.
1705
1706 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
1707         * NEWS, ReleaseNotes: Update for 3.3.0
1708
1709 2011-03-30  Jean-Louis Martineau <martineau@zmanda.com>
1710         * common-src/conffile.c: Add client-name option to application and
1711                                  script
1712         * common-src/conffile.h: Add client-name option to application and
1713                                  script
1714         * perl/Amanda/Config.swg: Add APPLICATION_CLIENT_NAME and
1715                                   PP_SCRIPT_CLIENT_NAME.
1716         * common-src/amfeatures.c: Add fe_application_client_name and
1717                                    fe_script_client_name.
1718         * common-src/amfeatures.h: Add fe_application_client_name and
1719                                    fe_script_client_name.
1720         * common-src/amxml.c: Pares client_name
1721         * common-src/amxml.h: Add application_client_nake in dle_t and
1722                               client_name in script_t.
1723         * server-src/diskfile.c: Put client-name in xml output.
1724         * server-src/amcheck.c: Check client-name and fe_*_client_name.
1725         * client-src/client_util.c (merge_properties, merge_dles_properties):
1726                                     new function.
1727         * client-src/client_util.h (merge_properties, merge_dles_properties):
1728                                     new prototype.
1729         * client-src/selfcheck.c, client-src/sendbackup.c,
1730           client-src/sendsize.c: Call merge_dles_properties to merge properties
1731         * man/xml-source/amanda-client.conf.5.xml,
1732           man/xml-source/amanda.conf.5.xml: Document client-name.
1733         * recover-src/extract_list.c: merge properties.
1734         * NEWS: Add new features.
1735
1736 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
1737         * application-src/amlog-script.pl: Remove warning of unused variable.
1738
1739 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
1740         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
1741           server-src/amidxtaped.pl, server-src/amrestore.pl: Use int().
1742
1743 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
1744         * xfer-src/filter-process.c: Call g_critical if pipe() fail.
1745
1746 2011-03-28  Jean-Louis Martineau <martineau@zmanda.com>
1747         Change the Amanda:Xfer::Filter::Process api, it always create a pipe
1748         for the process stderr, the callers must read from it. Callers can send
1749         it to debug file, stderr or to amrecover.
1750         * installcheck/Amanda_Xfer.pl: Change for new AXF::Process API.
1751         * perl/Amanda/Xfer.pod: Document new AXF::Process API.
1752         * perl/Amanda/Xfer.swg: Change for new AXF::Process API.
1753         * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
1754           server-src/amrestore.pl: Use new AXF::Process API, send it to stderr
1755           and debug file.
1756         * server-src/amidxtaped.pl: Use new AXF::Process API, send it to debug
1757           file and amrecover.
1758         * xfer-src/filter-process.c: Remove log_stderr argument of
1759           xfer_filter_process, add new get_err_fd method.
1760         * xfer-src/xfer-element.h: Change xfer_filter_process prototype.
1761
1762 2011-03-27  Dustin J. Mitchell <dustin@mozilla.com>
1763         * perl/Amanda/Util.swg: revert previous patch
1764         * gnulib/Makefile.am gnulib/fsusage.h
1765           gnulib/regenerate/fsusage-no-bool.patch gnulib/regenerate/regenerate:
1766           patch fsusage.h to not use stdbool
1767         * device-src/vfs-device.c: don't use 'false' and 'true' (from stdbool)
1768
1769 2011-03-26  Dustin J. Mitchell <dustin@mozilla.com>
1770         * perl/Amanda/Util.swg: include fsusage.h early in the generated C
1771           to avoid problems with SWIG #undefine-ing 'bool' on Mac OS X with
1772           the system-installed Perl
1773
1774 2011-03-25  Jan Görig <jgorig@redhat.com>
1775         * config/amanda/krb5-security.m4: fix linking against wrong libraries
1776           on systems where krb5 directory is libdir and amanda is installed
1777
1778 2011-03-25  Jean-Louis Martineau <martineau@zmanda.com>
1779         * server-src/driver.c: Fix iteration over a list it modify.
1780
1781 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
1782         * application-src/amstar.c: read include_list and pass each line as
1783           argument for restore operation.
1784
1785 2011-03-22  Jean-Louis Martineau <martineau@zmanda.com>
1786         * application-src/amgtar.c: Cast with off_t.
1787         * application-src/amstar.c: Cast with off_t.
1788
1789 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
1790         * application-src/amstar.c: Add ACL property.
1791         * man/xml-source/amstar.8.xml: Document ACL property.
1792
1793 2011-03-21  Jean-Louis Martineau <martineau@zmanda.com>
1794         * config/amanda/dumpers.m4: Add AMANDA_PROG_SUNTAR, --with-suntar=??
1795         * configure.in: Use AMANDA_PROG_SUNTAR.
1796         * perl/Amanda/Constants.pm.in: Define $Amanda::Constants::SUNTAR
1797         * application-src/amsuntar.pl: Use $Amanda::Constants::SUNTAR,
1798                                        Add SUNTAR-PATH property.
1799         * man/xml-source/amsuntar.8.xml: Document SUNTAR-PATH property.
1800
1801 2011-03-15  Jean-Louis Martineau <martineau@zmanda.com>
1802         * server-src/find.c: Compute maxparts from the list of part.
1803
1804 2011-03-11  Jean-Louis Martineau <martineau@zmanda.com>
1805         * perl/Amanda/Taper/Scribe.pm: If leom is supported by device,
1806           then the dle can be split.
1807         * perl/Amanda/Taper/Worker.pm: Send leom setting to
1808           get_splitting_args_from_config.
1809         * server-src/planner.c: dle can use more than one tape if allow-split
1810           is set, this is to handle leom device where splitsize can be 0.
1811
1812 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
1813         * perl/Amanda/Changer/disk.pm: Use -l to check symlink existance.
1814
1815 2011-03-10  Jean-Louis Martineau <martineau@zmanda.com>
1816         * server-src/amadmin.c: export quote host and disk name, import parse
1817           quoted host and disk name.
1818
1819 2011-03-09  Jean-Louis Martineau <martineau@zmanda.com>
1820         * ReleaseNotes, NEWS: Add changes for 3.2.2 and 3.3.0.
1821
1822 2011-03-08  Jean-Louis Martineau <martineau@zmanda.com>
1823         * application-src/amsamba.pl: Use smbclient -TF for restore.
1824
1825 2011-03-07  Jean-Louis Martineau <martineau@zmanda.com>
1826         * server-src/amtrmidx.c: Fix memory leak.
1827
1828 2011-03-02  Jean-Louis Martineau <martineau@zmanda.com>
1829         * common-src/amservice.c; Moved from server-src/amservice.c
1830         * server-src/amservice.c: Moved to server-src/amservice.c
1831         * common-src/Makefile.am: Add amservice
1832         * man/Makefile.am: Install amservice man page on client.
1833         * server-src/Makefile.am: Remove amservice
1834
1835 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
1836         * perl/Amanda/Changer.pm (make_new_tape_label): Fix if $tle is undef.
1837         * perl/Amanda/ScanInventory.pm: Call _user_msg with label argument.
1838         * perl/Amanda/Taper/Scan.pm: Document new user_msg_fn argument.
1839         * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on various
1840           tape error.
1841         * perl/Amanda/Taper/Scribe.pm (_user_msg_fn): Call
1842           scribe_notif_log_info with error message.
1843         * perl/Amanda/Taper/Worker.pm: Log error in scribe_notif_new_tape.
1844         * installcheck/Installcheck/Config.pm: Add taperscan definition.
1845         * installcheck/taper.pl: Test new log.
1846
1847 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
1848         * perl/Amanda/Header.swg: Remove bogus %module.
1849
1850 2011-03-01  Jean-Louis Martineau <martineau@zmanda.com>
1851         * common-src/amfeatures.c: Add fe_amrecover_receive_unfiltered.
1852         * common-src/amfeatures.h: Add fe_amrecover_receive_unfiltered.
1853         * perl/Amanda/Feature.pod: Add fe_amrecover_receive_unfiltered.
1854         * perl/Amanda/Header.swg: Add get_dle method, handle dle_t.
1855         * recover-src/extract_list.c: Pipe decompression or decyption.
1856         * server-src/amidxtaped.pl: Do not decompress/decrypt if amrecover
1857                                     can do it.
1858
1859 2011-02-14  Jean-Louis Martineau <martineau@zmanda.com>
1860         * server-src/driver.c: flush even if flush threshold are not met if
1861           it save tape space.
1862
1863 2011-02-03  Jean-Louis Martineau <martineau@zmanda.com>
1864         * perl/Amanda/Taper/Scribe.pm: get_splitting_args_from_config() always
1865           return 'allow_split', get_xfer_dest() take a allow_split param,
1866           set $self->{'allow_split'}, Abort a dump on EOM if splitting is
1867           not allowed.
1868         * perl/Amanda/Taper/Worker.pm: Do not set can_cache_inform if splitting
1869           is not allowed.
1870         * installcheck/Amanda_Taper_Scribe.pl: Fix for previous change.
1871         * installcheck/taper.pl: Test that dump are aborted on EOM.
1872
1873 2011-02-01  Jean-Louis Martineau <martineau@zmanda.com>
1874         Patch by Jan Görig
1875         * server-src/amrestore.pl: Allow to go to next file with -p.
1876
1877 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
1878         * perl/Amanda/Logfile.swg: "%lld" do not works with perl-5.6.
1879
1880 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
1881         * server-src/amdumpd.pl: Add CHECK command.
1882         * client-src/amdump_client.pl: Add check command.
1883         * man/xml-source/amdump_client.8.xml: Document check command.
1884
1885 2011-01-26  Jean-Louis Martineau <martineau@zmanda.com>
1886         * server-src/driver.c: Parse 'bytes' in reply.
1887
1888 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
1889         * server-src/driver.c: Fix taperalog *FIT no going to second volume.
1890
1891 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
1892         * perl/Amanda/Logfile.swg: print 'bytes' with 64 bits type.
1893
1894 2011-01-25  Jean-Louis Martineau <martineau@zmanda.com>
1895         * perl/Amanda/Logfile.swg: kb must be integer.
1896
1897 2011-01-24  Jean-Louis Martineau <martineau@zmanda.com>
1898         * server-src/amcheckdump.pl: Do not quit the clerk if it is not defined
1899
1900 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1901         * server-src/amdumpd.pl: Execute "$sbindir/amdump"
1902
1903 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1904         * installcheck/Amanda_Config.pl: Check recovery-limit, dump-limit,
1905           amdump-server, index-server, tape-server.
1906         * installcheck/Makefile.am: Add amdump_client.
1907         * installcheck/amdump_client.pl: Test new amdump_client program.
1908
1909 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1910         * client-src/Makefile.am: Add amdump_client.
1911         * client-src/amdump_client.pl: New client program.
1912         * common-src/conffile.c: Add amdump-server in client config file.
1913         * common-src/conffile.h: Add CNF_AMDUMP_SERVER
1914         * perl/Amanda/Config.swg: Add CNF_AMDUMP_SERVER
1915         * man/Makefile.am: Add amdump_client.8.
1916         * man/xml-source/amdump_client.8.xml: New man page for amdump_client.
1917
1918 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1919         * amandad-src/amandad.c: Add SERVICE_AMDUMPD, All service are active
1920           by default for rsh, ssh and local auth.
1921         * common-src/conffile.c: Add dump-limit dumptype option.
1922         * common-src/conffile.h: Add dump-limit dumptype option.
1923         * man/xml-source/amanda.conf.5.xml: Document new dump-limit option.
1924         * common-src/local-security.c, common-src/rsh-security.c,
1925           common-src/ssh-security.c: Do not add the service on the command line
1926         * perl/Amanda/Config.swg: swig dump-limt
1927         * server-src/Makefile.am: Add amdumpd perl script.
1928         * server-src/amadmin.c (disklist_one): Print dump-limit.
1929         * server-src/amdumpd.pl: New deamon script.
1930         * server-src/amdump.pl: New --from-client option.
1931         * server-src/diskfile.h: Add dump_limit in disk_t.
1932         * server-src/diskfile.c: Set dump_limit.
1933         * server-src/driver.c: New --from-client option.
1934         * server-src/planner.c: New --from-client option.
1935
1936 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1937         * common-src/conffile.c: Rename *recovery_limit* *host_limit*,
1938           add 'server' in a host-limit.
1939         * common-src/conffile.h: Rename.
1940         * common-src/local-security.c: Use
1941           sec_get_authenticated_peer_name_gethostname.
1942         * common-src/security-util.c:
1943           New sec_get_authenticated_peer_name_gethostname function to return
1944           gethostname.
1945         * common-src/security-util.h: New prototype.
1946         * man/xml-source/amanda.conf.5.xml: Document 'server' for
1947           recovery-limit.
1948         * perl/Amanda/Config.swg: Return $Amanda::Config::LIMIT_SAMEHOST
1949           same-host, return $Amanda::Config::LIMIT_SERVER for server.
1950         * server-src/amidxtaped.pl: Use $Amanda::Config::LIMIT_SAMEHOST and
1951           $Amanda::Config::LIMIT_SERVER.
1952         * server-src/amindexd.c: Use 'server' value.
1953         * installcheck/Amanda_Config.pl: Fix for change.
1954
1955 2011-01-22  Jean-Louis Martineau <martineau@zmanda.com>
1956         * server-src/driver.c: Fix driver doing nothing if taper crash early.
1957
1958 2011-01-20  Francis Galiegue <fgaliegue@gmail.com>
1959         * xfer-src/source-pattern.c: remove duplicate test
1960
1961 2011-01-20  Dustin J. Mitchell <dustin@mozilla.com>
1962         * man/xml-source/amanda-interactivity.7.xml
1963           man/xml-source/amanda-taperscan.7.xml
1964           man/xml-source/amanda.conf.5.xml: copyediting
1965         * perl/Amanda/Interactivity/tty_email.pm: fix POD to indicate
1966           the nature of the class
1967
1968 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1969         * man/xml-source/amservice.8.xml: typo, </programlisting> must be at
1970           the beginning of a line.
1971
1972 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1973         * server-src/amservice.c: Use full_write, check for error.
1974
1975 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1976         * server-src/diskfile.c: Do not report error if a dle is listed twice
1977           in argument list.
1978         * installcheck/amadmin.pl: Test it.
1979
1980 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1981         * server-src/amservice.c: Add -s option.
1982         * man/xml-source/amservice.8.xml: Document -s option.
1983
1984 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1985         * installcheck/Amanda_Taper_Scan_lexical.pl,
1986           installcheck/Amanda_Taper_Scan_oldest.pl: Fix for perl-5.6.
1987
1988 2011-01-20  Jean-Louis Martineau <martineau@zmanda.com>
1989         * common-src/conffile.c: Add interactivity and taperscan section.
1990         * common-src/conffile.h: Add interactivity and taperscan section.
1991         * perl/Amanda/Config.swg: Add interactivity and taperscan.
1992         * example/amanda.conf.in: Add interactivity and taperscan example.
1993         * man/Makefile.am: Add new amanda-interactivity.7
1994         * man/xml-source/amanda-interactivity.7.xml: Document interactivity.
1995         * man/xml-source/amanda-taperscan.7.xml: Document new taperscan.
1996         * man/xml-source/amanda.8.xml: Add link to amanda-interactivity man
1997                                        page.
1998         * man/xml-source/amanda.conf.5.xml: Document interactivity and
1999                                             taperscan section.
2000         * perl/Amanda/Changer.pm (new): Take tapelist, labelstr, autolabel and
2001           meta_autolabel arguments.
2002         * perl/Amanda/Changer.pm (volume_is_labelable, make_new_meta_label, 
2003           make_new_tape_label, have_inventory: New method.
2004         * perl/Amanda/Interactive.pm: Renamed
2005         * perl/Amanda/Interactive/stdin.pm: Renamed
2006         * perl/Amanda/Interactivity.pm: Copy of Interactive.pm:
2007         * perl/Amanda/Interactivity/stdin.pm: Copy of Interactive/stdin.pm.
2008         * perl/Amanda/Interactivity/email.pm: New interactivity module.
2009         * perl/Amanda/Interactivity/tty.pm: New interactivity module.
2010         * perl/Amanda/Interactivity/tty_email.pm: New interactivity module.
2011         * perl/Amanda/Recovery/Scan.pm: s/Interactive/Interactivity/.
2012         * perl/Amanda/ScanInventory.pm: Base class for scan algorithm.
2013         * perl/Amanda/Tapelist.swg (add_tapelabel): Do the add in order.
2014         * perl/Amanda/Taper/Controller.pm: Use interactivity and taperscan.
2015         * perl/Amanda/Taper/Scan.pm: Allow plugable module.
2016         * perl/Amanda/Taper/Scan/lexical.pm: new scan algorithm.
2017         * perl/Amanda/Taper/Scan/oldest.pm: new scan algorithm.
2018         * perl/Makefile.am: Add new files.
2019         * server-src/amcheck-device.pl: Use interactivity and taperscan.
2020         * server-src/amcheckdump.pl: Use interactivity and taperscan.
2021         * server-src/amfetchdump.pl: Use interactivity and taperscan.
2022         * server-src/amidxtaped.pl: Use interactivity and taperscan.
2023         * server-src/amtape.pl: Use interactivity and taperscan.
2024         * server-src/amvault.pl: Use interactivity and taperscan.
2025         * installcheck/Amanda_Changer.pl: Test new methods.
2026         * installcheck/Amanda_Changer_compat.pl: Test have_inventory.
2027         * installcheck/Amanda_Changer_disk.pl: Test have_inventory.
2028         * installcheck/Amanda_Changer_multi.pl: Test have_inventory.
2029         * installcheck/Amanda_Changer_ndmp.pl: Test have_inventory.
2030         * installcheck/Amanda_Changer_null.pl: Test have_inventory.
2031         * installcheck/Amanda_Changer_rait.pl: Test have_inventory.
2032         * installcheck/Amanda_Changer_robot.pl: Test have_inventory.
2033         * installcheck/Amanda_Config.pl: Test new interactivity and taperscan
2034           section.
2035         * installcheck/Amanda_Recovery_Scan.pl: s/Interactive/Interactivity/
2036         * installcheck/Amanda_Tapelist.pl: test new add_tapelabel behavior.
2037         * installcheck/Amanda_Taper_Scan_lexical.pl: Test new module.
2038         * installcheck/Amanda_Taper_Scan_oldest.pl: Test new module.
2039         * installcheck/Installcheck/Config.pm (add_interactivity,
2040           add_taperscan): New methods.
2041         * installcheck/Makefile.am: Add new files.
2042
2043 2011-01-17  Francis Galiegue <fgaliegue@gmail.com>
2044         * xfer-src/element-glue.c: fix memory leak in read_and_push()
2045
2046 2011-01-16  Francis Galiegue <fgaliegue@gmail.com>
2047         * xfer-src/element-glue.c xfer-src/filter-xor.c
2048           xfer-src/xfer-element.c xfer-src/xfer-element.h: xfer: rename
2049           xfer_element_drain* utility functions - Both functions are used to
2050           pulling data from an upstream element, either buffers or reading a
2051           file descriptor, until it is "empty". 
2052
2053 2011-01-14  Jean-Louis Martineau <martineau@zmanda.com>
2054         * ndmp-src/amndma_tape_simulator.c: Use full_read.
2055         * ndmp-src/ndma_tape.c: Use ndmchan_n_avail_record to guarantee space
2056           for a record.
2057         * ndmp-src/ndml_chan.c (ndmchan_n_avail_record): New function.
2058         * ndmp-src/ndmlib.h  (ndmchan_n_avail_record): New prototype.
2059
2060 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
2061         * xfer-src/source-pattern.c: xfer-src/source-pattern.c: externalize
2062           pattern copying
2063
2064 2011-01-13  Francis Galiegue <fgaliegue@gmail.com>
2065         * xfer-src/element-glue.c: xfer-src/element-glue.c: fix memory leak in
2066           pull_buffer_impl()
2067
2068 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
2069         * xfer-src/xfer-element.h: xfer: define XFER_NROPS() and
2070           XFER_NTHREADS() macros
2071         * xfer-src/dest-buffer.c xfer-src/dest-directtcp-connect.c
2072           xfer-src/dest-directtcp-listen.c xfer-src/dest-fd.c
2073           xfer-src/dest-null.c xfer-src/element-glue.c xfer-src/filter-process.c
2074           xfer-src/filter-xor.c xfer-src/source-directtcp-connect.c
2075           xfer-src/source-directtcp-listen.c xfer-src/source-fd.c
2076           xfer-src/source-pattern.c xfer-src/source-random.c
2077           xfer-src/xfer-test.c: use them
2078
2079 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
2080         * common-src/match.c: match.c: rename ammtch_to_regex() into
2081           amglob_to_regex()
2082
2083 2011-01-11  Francis Galiegue <fgaliegue@gmail.com>
2084         * common-src/match.c: match.c: rename full_regex_from_expression() to
2085           full_amglob_from_expression()
2086
2087 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
2088         * server-src/planner.c: Change message of "timeout waiting for REP" to
2089           "Some estimate timeout on %s, using server estimate if possible".
2090
2091 2011-01-11  Jean-Louis Martineau <martineau@zmanda.com>
2092         * man/xml-source/amanda-scripts.7.xml: Document script output property.
2093
2094 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2095         * common-src/match.c: match.c: rework regex generation from globs
2096
2097 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2098         * common-src/match.c: match.c: match_word(): change the way regex
2099           begin and end are calculated/copied
2100
2101 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2102         * common-src/match.c: match.c: better handling of "separator only"
2103           globs in match_word()
2104
2105 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2106         * common-src/match.c: match.c: move glob/disk backslash substitution
2107           out of match_word()
2108
2109 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2110         * common-src/match.c: match.c: factorize regex construction from
2111           expression
2112
2113 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2114         * common-src/match.c: match.c: factorize character escaping in
2115           make_exact_*_expression()
2116
2117 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2118         * common-src/match.c: match.c: factorize regex matching
2119         * common-src/match.h: make match and match_no_newline into
2120           macros calling do_match
2121
2122 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2123         * common-src/match.c: match.c: factorize regex compile
2124
2125 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2126         * common-src/match.c: match.c: match_host(): use g_ascii_strdown() to
2127           convert to lowercase
2128
2129 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2130         * common-src/match.c: match.c: fix '*' and '?' expansion in
2131           match_word()
2132
2133 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2134         * common-src/match.c: match.c: define a macro to recognize regex
2135           metacharacters
2136
2137 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2138         * common-src/match.c: match.c: match_host(): remove unneeded cast
2139
2140 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2141         * common-src/match.c: match.c: match_word(): rename "i" local variable
2142           to "ret"
2143
2144 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2145         * common-src/match.c: match.c: match_word(): rename two local
2146           variables. Rename r to dst, and w to src, in order to clarify their
2147           roles.
2148
2149 2011-01-10  Francis Galiegue <fgaliegue@gmail.com>
2150         * common-src/match.c: match.c: match_word(): remove unused assignment
2151
2152 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
2153         * application-src/amgtar.c, application-src/amstar.c: Do not call
2154           amname_to_dirname.
2155
2156 2011-01-07  Jean-Louis Martineau <martineau@zmanda.com>
2157         * common-src/bsd-security.c: Check input fd is a socket.
2158
2159 2011-01-07  Dustin J. Mitchell <dustin@mozilla.com>
2160         * common-src/testutils.c: use %ju instead of %lu to print big numbers
2161
2162 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
2163         * testutils.c: report time of execution for each test
2164
2165 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
2166         * common-src/testutils.c: add -c <count> option to run tests more than
2167           once
2168
2169 2011-01-07  Francis Galiegue <fgaliegue@gmail.com>
2170         * testutils.c: create a run_one_test() function The way to run a test
2171           is the same, whether we fork() or not. Make that a function.
2172
2173 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
2174         * common-src/testutils.c: testutils.c: externalize test behaviour
2175           variables
2176
2177 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
2178         * common-src/amflock-test.c common-src/event-test.c
2179           common-src/fileheader-test.c common-src/hexencode-test.c
2180           common-src/ipc-binary-test.c common-src/match-test.c
2181           common-src/quoting-test.c: Ensure all tests return gbooleans.  Most,
2182           if not all, tests returned ints, and quite a few of them returned TRUE
2183           or FALSE. While the effect is basically the same as a gboolean, make
2184           all tests return a gboolean for coherency, since this is what
2185           callinfork() expects anyway.
2186         * common-src/testutils.c: Also enforce that callinfork() return that
2187           type, which, in turn, allows the "success" local variable in
2188           testutil_run_tests() to also be converted.
2189
2190 2011-01-06  Francis Galiegue <fgaliegue@gmail.com>
2191         * common-src/testutils.c: convert ints to gbooleans where appropriate;
2192           run_all, tu_debugging_enabled and ignore_timeouts are all used as
2193           gbooleans in the code even though they are declared as ints. Convert
2194           them to booleans, and also change declarations.
2195
2196 2011-01-05  Jean-Louis Martineau <martineau@zmanda.com>
2197         * perl/Amanda/Xfer.pod: new offset and size arguments of xfer->start.
2198         * perl/Amanda/Xfer.swg: Add xfer_element_set_size.
2199
2200 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
2201         * device-src/xfer-source-recovery.c: Never send more than the number
2202           of bytes requested.
2203         * perl/Amanda/Xfer.swg (xfer_start): New offset and size arguments.
2204         * xfer-src/xfer-element.c: Add set_size method.
2205         * xfer-src/xfer-element.h (XferElement): Add size field.
2206         * xfer-src/xfer-test.c: Add offset=0 and size=0 to xfer_start call.
2207         * xfer-src/xfer.c (xfer_start): Add offset and size arguments. Call
2208           xfer_element_set_size for the first element if size is set.
2209         * xfer-src/xfer.h (xfer_start): New prototype.
2210         * server-src/amfetchdump.pl, server-src/amidxtaped.pl,
2211           server-src/amvault.pl: Call xfer->start() with offset and size
2212           arguments.
2213
2214 2011-01-04  Jean-Louis Martineau <martineau@zmanda.com>
2215         * perl/Amanda/Logfile.swg: Print size in bytes for taper log.
2216         * server-src/find.h (find_result_t): Add bytes.
2217         * server-src/find.c: Parse 'bytes' in 'log' file.
2218         * perl/Amanda/Report.pm: Parse 'bytes' in 'log' file.
2219         * perl/Amanda/DB/Catalog.pm: Parse 'bytes' in 'log' file.
2220         * server-src/amstatus.pl: Parse 'bytes' in 'amdump' log file.
2221         * installcheck/Amanda_DB_Catalog.pl: Fix for log file format change.
2222         * installcheck/taper.pl: Fix for log file format change.
2223
2224 2011-01-03  Jean-Louis Martineau <martineau@zmanda.com>
2225         * example/template.d/advanced.conf.in: Remove dumpuser.
2226         * server-src/amaddclient.pl: mkdir -p
2227         * server-src/amserverconfig.pl: Print dumpuser, Print the
2228           authorized_keys file location based on $amhomedir
2229
2230 2010-12-27 Dan Locks <dwlocks@zmanda.com>
2231         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add missing
2232            amservice entry to set perms at install time. Thanks to vpatton for
2233            finding this.
2234
2235 2010-12-23  Dustin J. Mitchell <dustin@mozilla.com>
2236         * client-src/client_util.c: improve error message when no includes
2237           match on disk
2238
2239 2010-12-23  Jean-Louis Martineau <martineau@zmanda.com>
2240         * perl/Amanda/Script_App.pm: Add FAILURE.
2241
2242 2010-12-21  Jean-Louis Martineau <martineau@zmanda.com>
2243         * perl/Amanda/Taper/Scribe.pm: Use 'blocksize' to compute the
2244           available space.
2245
2246 2010-12-20  Jean-Louis Martineau <martineau@zmanda.com>
2247         * server-src/find.c: Fix parsing 'PARTIAL taper' line with no part.
2248         * perl/Amanda/DB/Catalog.pm: Ditto
2249
2250 2010-12-16  Jean-Louis Martineau <martineau@zmanda.com>
2251         * amar-src/amar.c: Don't fail on trailing NUL bytes.
2252
2253 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
2254         * common-src/ssh-security.c: Use client_port.
2255
2256 2010-12-14  Daniel Néri <dne@mayonnaise.net>
2257         * application-src/ampgsql.pl: Don't assume that gtar is configured to
2258           use stdin/stdout as default archive.
2259
2260 2010-12-14  Jean-Louis Martineau <martineau@zmanda.com>
2261         * server-src/amidxtaped.pl: Don't crash if same-host doesn't match.
2262
2263 2010-12-13  Jean-Louis Martineau <martineau@zmanda.com>
2264         * perl/Amanda/Interactive.pm: rename finished_cb to request_cb.
2265         * installcheck/Amanda_Recovery_Scan.pl,
2266           perl/Amanda/Interactive/stdin.pm,
2267           perl/Amanda/Recovery/Scan.pm, server-src/amcheckdump.pl,
2268           server-src/amfetchdump.pl, server-src/amidxtaped.pl,
2269           server-src/amvault.pl: s/finished_cb/request_cb/
2270
2271 2010-12-12  Jean-Louis Martineau <martineau@zmanda.com>
2272         * perl/Amanda/Changer/disk.pm: inventory must return the same as
2273                                        read_label.
2274         * server-src/amtape.pl: Fix for new inventory.
2275         * installcheck/Amanda_Changer_disk.pl: Fix for new inventory.
2276         * installcheck/Amanda_Changer_rait.pl: Fix for new inventory.
2277
2278 2010-12-11  Daniel Néri <dne@mayonnaise.net>
2279         * application-src/ampgsql.pl: Don't assume that gtar is configured to
2280           use stdin/stdout as default archive
2281
2282 2010-12-11  Daniel Néri <dne@mayonnaise.net>
2283         * application-src/ampgsql.pl: Use diskname, not devicename, as prefix
2284           when checking for properties. Now works as documented in the ampgsql
2285           man page.
2286
2287 2010-12-10 Dan Locks <dwlocks@zmanda.com>
2288         *  packaging/deb/control: move gnuplot to Suggests: and swap the order
2289
2290 2010-12-10  David Bogen <bogen@wisc.edu>
2291         * server-src/amoverview.pl: fix amoverview's argument parsing
2292
2293 2010-12-10  Jean-Louis Martineau <martineau@zmanda.com>
2294         * server-src/amcheck-device.pl: Fix possible hang if
2295           Amanda::MainLoop::quit is called before Amanda::MainLoop::run.
2296         * perl/Amanda/Changer.pm: Return the error.
2297
2298 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
2299         * server-src/driver.c: Check if taper is flushing something before
2300           moving a dle to directq.
2301
2302 2010-12-09  Jean-Louis Martineau <martineau@zmanda.com>
2303         * device-src/xfer-dest-taper-cacher.c: Print why the malloc failed.
2304
2305 2010-12-08  Dustin J. Mitchell <dustin@mozilla.com>
2306         * common-src/glib-util.c common-src/glib-util.h: do not define
2307           symbol g_slist_free_full, as it exists in glib-2.27 and higher;
2308           use slist_free_full, and alias that to g_slist_free_full when
2309           building against glib-2.28 or higher.
2310         * client-src/client_util.c: make g_slist_free_full_gpointer into
2311           a local, static function
2312         * common-src/amxml.c common-src/conffile.c recover-src/extract_list.c
2313           server-src/amadmin.c server-src/amflush.c server-src/cmdline.c
2314           server-src/cmdline.h server-src/find.c server-src/holding.c
2315           server-src/planner.c: rename function
2316
2317 2010-12-07 Dan Locks <dwlocks@zmanda.com>
2318         *  packaging/rpm/amanda.spec.src: remove manual library requires and
2319            set curl vs libcurl based on distro.
2320
2321 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
2322         * common-src/util.c: s/HAVE_READLINE/HAVE_LIBREADLINE/
2323         * config/amanda/readline.m4: s/HAVE_READLINE/HAVE_LIBREADLINE/
2324
2325 2010-12-07  Jean-Louis Martineau <martineau@zmanda.com>
2326         * config/amanda/readline.m4: Merge with latest AX_LIB_READLINE.
2327         * common-src/util.h: Fix for latest AX_LIB_READLINE.
2328
2329 2010-12-06 Dan Locks <dwlocks@zmanda.com>
2330         *  packaging/rpm/amanda.spec.src: remove libtermcap.so.2 requirement
2331            for newer distros.
2332
2333 2010-12-06  Jean-Louis Martineau <martineau@zmanda.com>
2334         * server-src/server_util.c (internal_server_estimate): Do not use
2335           level 0 estimate if is not available.
2336
2337 2010-12-04  Jean-Louis Martineau <martineau@zmanda.com>
2338         * server-src/dumper.c: Put them in AMANDA_DBGDIR/log.error
2339
2340 2010-12-03  Jean-Louis Martineau <martineau@zmanda.com>
2341         * server-src/dumper.c: Put error message in separate files to
2342           reduce the size of the log file.
2343
2344 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
2345         * server-src/chunker.c, xfer-src/element-glue.c: Prefer IPV4 over IPV6.
2346
2347 2010-12-01  Jean-Louis Martineau <martineau@zmanda.com>
2348         * common-src/directtcp.h: DirectTCPAddr is a sockaddr_union.
2349         * common-src/sockaddr-util.c (str_sockaddr_no_port): new function.
2350         * common-src/sockaddr-util.h (str_sockaddr_no_port): New prototype.
2351         * perl/amglue/directtcp.swg: Swig new DirectTCPAddr.
2352         * server-src/dumper.c: Parse IPV6 in dataport_list.
2353         * ndmp-src/ndmpconnobj.c, perl/Amanda/Device.swg,
2354           perl/Amanda/Taper/Worker.pm, perl/Amanda/Xfer.swg,
2355           server-src/chunker.c, xfer-src/dest-directtcp-connect.c,
2356           xfer-src/element-glue.c, xfer-src/source-directtcp-connect.c,
2357           xfer-src/source-directtcp-listen.c, xfer-src/xfer-element.h,
2358           xfer-src/xfer-test.c: Use new DirectTCPAddr.
2359
2360 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
2361         * common-src/conffile.c: Add pre-amcheck, post-amcheck, pre-estimate,
2362           post-estimate, pre-backup and post-backup to execute-on of script.
2363         * common-src/conffile.h: Add EXECUTE_ON_* constants.
2364         * application-src/amlog-script.pl: Add new execute-on.
2365         * common-src/amxml.c: Parse new execute-on.
2366         * man/xml-source/amanda.conf.5.xml: Document them.
2367         * perl/Amanda/Config.swg: Add new EXECUTE_ON_* constants.
2368         * perl/Amanda/Script.pm: Add new execute-on.
2369         * server-src/amcheck.c: Call run_server_global_scripts.
2370         * server-src/diskfile.c (get_hostlist): Return the host list.
2371         * server-src/diskfile.h (get_hostlist): Add prototype.
2372         * server-src/driver.c: Call run_server_global_scripts.
2373         * server-src/planner.c: Call run_server_global_scripts.
2374         * server-src/server_util.c (run_server_global_scripts): New function.
2375         * server-src/server_util.h (run_server_global_scripts): Prototype.
2376
2377 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
2378         * server-src/server_util.c: Search scripts in APPLICATION_DIR,
2379           CONFIG_DIR/<conf>/application and CONFIG_DIR/application.
2380
2381 2010-11-30  Jean-Louis Martineau <martineau@zmanda.com>
2382         * common-src/conffile.c: Add SINGLE-EXECUTION in scripts.
2383         * common-src/conffile.h: Add pp_script_get_single_execution.
2384         * installcheck/pp-scripts.pl: Test single-execution.
2385         * man/xml-source/amanda.conf.5.xml: Document single-execution.
2386         * perl/Amanda/Config.swg: Add PP_SCRIPT_SINGLE_EXECUTION.
2387         * server-src/server_util.c: Add run_server_host_scripts,
2388           rename run_server_scripts to run_server_dle_scripts.
2389         * server-src/server_util.h: New prototype.
2390         * server-src/amcheck.c, server-src/driver.c,
2391           server-src/planner.c: Call new functions.
2392
2393 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
2394         * installcheck/amreport.pl: Fix for previous patch.
2395
2396 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
2397         * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
2398           man/xml-source/amcheckdump.8.xml, man/xml-source/amdevcheck.8.xml,
2399           man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
2400           man/xml-source/amflush.8.xml, man/xml-source/amgetconf.8.xml,
2401           man/xml-source/amlabel.8.xml, man/xml-source/amoverview.8.xml,
2402           man/xml-source/amrecover.8.xml, man/xml-source/amreport.8.xml,
2403           man/xml-source/amservice.8.xml, man/xml-source/amstatus.8.xml,
2404           man/xml-source/amtape.8.xml: Fix synopsis.
2405         * device-src/amdevcheck.pl, server-src/amadmin.c,
2406           server-src/amcheckdump.pl, server-src/amlabel.pl,
2407           server-src/amoverview.pl, server-src/amreport.pl,
2408           server-src/amstatus.pl, server-src/amtape.pl: Fix usage.
2409
2410 2010-11-26  Jean-Louis Martineau <martineau@zmanda.com>
2411         * common-src/conffile.c: Print configuration option with '-'.
2412         * installcheck/Amanda_Config.pl: Fix for '-'.
2413
2414 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
2415         * perl/make_html.pl: make relative url in index.html.
2416
2417 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
2418         * perl/make_html.pl: Add amanda version in html headers and footers.
2419
2420 2010-11-25  Jean-Louis Martineau <martineau@zmanda.com>
2421         * man/xslt/html.xsl.in: Include Amanda version in HTML headers.
2422
2423 2010-11-22  Jean-Louis Martineau <martineau@zmanda.com>
2424         * device-src/Makefile.am: activate-devpay needs gnulib.
2425
2426 2010-11-18 Dan Locks <dwlocks@zmanda.com>
2427         *  packaging/rpm/amanda.spec.src: quote both items in boolean
2428            comparison to avoid type mismatch.
2429
2430 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2431         * common-src/conffile.c: Add CONFTYPE_NO_YES_ALL, change type for
2432           autoflush.
2433         * common-src/conffile.h: Add CONFTYPE_NO_YES_ALL.
2434         * man/xml-source/amanda.conf.5.xml: New autoflush option.
2435         * perl/Amanda/Config.swg: Add CONFTYPE_NO_YES_ALL.
2436         * server-src/amcheck.c: Use new value of autoflush.
2437         * server-src/planner.c: Use new value of autoflush.
2438
2439 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2440         * server-src/driver.c: Correctly handle INPUT-ERROR and TAPE-ERROR.
2441
2442 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2443         * device-src/xfer-dest-taper-cacher.c,
2444           device-src/xfer-dest-taper-splitter.c: Cancel in correct order.
2445           Other thread own self->state_mutex while it wait for self->ring* or
2446           self->slab*
2447
2448 2010-11-17  Jean-Louis Martineau <martineau@zmanda.com>
2449         * device-src/xfer-dest-taper-cacher.c,
2450           device-src/xfer-dest-taper-splitter.c: Always call device_finish_file
2451           if device_start_file succeed.
2452
2453 2010-11-16 Dan Locks <dwlocks@zmanda.com>
2454         *  packaging/rpm/amanda.spec.src: add rhel6 stanza to distro detection
2455
2456 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2457         * installcheck/Amanda_Changer_single.pl: Typo.
2458         * server-src/amtape.pl: Typo.
2459
2460 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2461         * server-src/find.c: Keep the complete error message.
2462
2463 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2464         * perl/Amanda/Changer/disk.pm: new MOUNT, UMOUNT, UMOUNT-LOCKFILE and
2465                                        UMOUNT-IDLE properties.
2466         * man/xml-source/amanda-changers.7.xml: Add new chg-disk property.
2467         * NEWS: Add new chg-disk property.
2468
2469 2010-11-16  Jean-Louis Martineau <martineau@zmanda.com>
2470         * perl/Amanda/Changer.pm: Add quit method.
2471         * perl/Amanda/Changer/aggregate.pm: Add quit method.
2472         * perl/Amanda/Changer/rait.pm: Add quit method.
2473         * perl/Amanda/Recovery/Clerk.pm: Call scan quit method.
2474         * perl/Amanda/Recovery/Scan.pm: Add quit method.
2475         * perl/Amanda/Taper/Controller.pm: Call scan quit method.
2476         * perl/Amanda/Taper/Scan.pm: Add quit method.
2477         * perl/Amanda/Taper/Scribe.pm: finished_cb to Add scribe_notif_tape_done
2478         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
2479           server-src/amidxtaped.pl, server-src/amlabel.pl,
2480           server-src/amrestore.pl, server-src/amrmtape.pl,
2481           server-src/amtape.pl: Call scan/changer quit method.
2482         * server-src/amvault.pl scribe_notif_tape_done with finished_cb.
2483         * installcheck/Amanda_Changer.pl,
2484           installcheck/Amanda_Changer_compat.pl,
2485           installcheck/Amanda_Changer_disk.pl,
2486           installcheck/Amanda_Changer_multi.pl,
2487           installcheck/Amanda_Changer_ndmp.pl,
2488           installcheck/Amanda_Changer_null.pl,
2489           installcheck/Amanda_Changer_rait.pl,
2490           installcheck/Amanda_Changer_robot.pl,
2491           installcheck/Amanda_Changer_single.pl,
2492           installcheck/Amanda_Recovery_Clerk.pl,
2493           installcheck/Amanda_Recovery_Scan.pl,
2494           installcheck/Amanda_Taper_Scan.pl,
2495           installcheck/Amanda_Taper_Scan_traditional.pl,
2496           installcheck/Amanda_Taper_Scribe.pl,
2497           installcheck/amvault.pl: Add call to scan/changer quit method.
2498
2499 2010-11-12  Jean-Louis Martineau <martineau@zmanda.com>
2500         * server-src/driverio.c: Don't update last_level/consecutive_runs if
2501           the dump failed.
2502
2503 2010-11-11  Nikhil Bhupale <nikhilb@zmanda.com>
2504         * server-src/amtape.pl: Remove call to set_label.
2505         * server-src/amrestore.pl: Remove call to set_label.
2506
2507 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2508         * config/amanda/progs.m4(AMANDA_PROG_MOUNT, AMANDA_PROG_UMOUNT):
2509           find mount and umount binaries
2510         * configure.in: Use AMANDA_PROG_MOUNT and AMANDA_PROG_UMOUNT.
2511         * perl/Amanda/Constants.pm.in: Define MOUNT and UMOUNT.
2512
2513 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2514         * device-src/tape-device.c: Accept LEOM property.
2515
2516 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2517         * perl/Amanda/Changer/robot.pm: Fix use of Amanda::Changer->make_error
2518
2519 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2520         * common-src/amflock.c (lock_wr, lock_rd, lock_locked): New function
2521         * common-src/amflock.h: Add their prototype.
2522         * perl/Amanda/Util.swg: Swig them.
2523         * perl/Amanda/Util.pod: Docuemnt them.
2524
2525 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2526         * perl/Amanda/Changer.pm: Remove the changer cache.
2527         * installcheck/Amanda_Taper_Scan_traditional.pl,
2528           installcheck/Amanda_Changer_robot.pl,
2529           installcheck/Amanda_Changer_ndmp.pl: Do not reset the changer cache.
2530
2531 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2532         * perl/Amanda/MainLoop.swg: Add finalize in define_step.
2533         * perl/Amanda/MainLoop.pod: Document finalize.
2534
2535 2010-11-10  Jean-Louis Martineau <martineau@zmanda.com>
2536         * application-src/amstar.c: Support 'exclude file' and 'exclude list'.
2537         * man/xml-source/amstar.8.xml: Document exclude limitation.
2538
2539 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
2540         * server-src/driver.c: Better handling of dump to tape.
2541           Set force_flush to 0 as soon as the runq is empty.
2542         * server-src/dumper.c: Improving debugging.
2543
2544 2010-11-08  Jean-Louis Martineau <martineau@zmanda.com>
2545         * perl/Amanda/Report.pm: Report driver FAIL as FAILED (not missing).
2546         * perl/Amanda/Report/human.pm: Do not report driver error if there
2547                                        is a try.
2548
2549 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
2550         * man/xml-source/tapelist.5.xml: Document BARCODE and META.
2551
2552 2010-11-05  Jean-Louis Martineau <martineau@zmanda.com>
2553         * server-src/amdump.pl: Execute subprocess with the config overwrite.
2554         * server-src/amvault.pl: Execute subprocess with the config overwrite.
2555
2556 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
2557         * server-src/amreport.pl: Set date correctly for amvault run.
2558         * perl/Amanda/Report/human.pm: Fix warning.
2559
2560 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
2561         * perl/Amanda/Changer/aggregate.pm: New changer.
2562         * man/xml-source/amanda-changers.7.xml: Document chg-aggregate.
2563         * perl/Makefile.am: Add it.
2564         * server-src/amtape.pl: Print better message if inventory is not
2565                                 implemented.
2566
2567 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
2568         * perl/Amanda/Changer.pm: $o $c $m $b in autolabel.
2569         * perl/Amanda/Changer.pm: $o $c in meta-autolabel.
2570         * server-src/amlabel.pl: New --barcode option, <label> is no longer
2571           required, an autolabel can be generated.
2572         * server-src/find.c: Fix for quoted label.
2573         * man/xml-source/amanda.conf.5.xml: Document new autolable variable.
2574         * man/xml-source/amlabel.8.xml: Document new amlabel features.
2575         * installcheck/Amanda_Tapelist.pl: Test it.
2576         * installcheck/Installcheck/Run.pm (setup): Argument to set the number
2577                                                     of slot.
2578         * installcheck/amlabel.pl: Test it.
2579
2580 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
2581         * server-src/tapefile.c: Add barcode intapelist.
2582         * server-src/tapefile.h: Add barcode intapelist.
2583         * perl/Amanda/Tapelist.swg: Add barcode intapelist.
2584         * perl/Amanda/Taper/Scribe.pm: Set the barcode.
2585         * server-src/amlabel.pl: Set the barcode.
2586         * installcheck/Amanda_Tapelist.pl: Test it.
2587         * installcheck/amlabel.pl: Test it.
2588
2589 2010-11-04  Jean-Louis Martineau <martineau@zmanda.com>
2590         * perl/Amanda/Taper/Scan.pm (new): Take a tapelist argument, not a
2591                                            filename.
2592         * perl/Amanda/Taper/Scan.pm: Remove make_new_tape_label and
2593                                      make_new_meta_label methods.
2594         * perl/Amanda/Changer.pm (new): Take a tapelist argument.
2595         * perl/Amanda/Changer.pm: Add make_new_tape_label and
2596           make_new_meta_label methods to Amanda::Changer::Reservation.
2597         * installcheck/Amanda_Taper_Scan.pl,
2598           installcheck/Amanda_Taper_Scan_traditional.pl,
2599           installcheck/amdevcheck.pl, perl/Amanda/Taper/Controller.pm,
2600           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
2601           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
2602           server-src/amidxtaped.pl, server-src/amlabel.pl,
2603           server-src/amrestore.pl, server-src/amrmtape.pl,
2604           server-src/amtape.pl, server-src/amvault.pl,
2605           server-src/taper.pl: Change for new tapelist argument.
2606
2607 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
2608         * common-src/util.c (quote_string_maybe): Don't use match.
2609         * common-src/util.c (len_quote_string_maybe): New function.
2610         * common-src/util.h (len_quote_string): Define.
2611         * server-src/amadmin.c: Don't call find_dump twice.
2612         * server-src/find.c (search_logfile): Don't use regex.
2613         * server-src/find.c (print_find_result): Use len_quote_string.
2614
2615 2010-11-02  Jean-Louis Martineau <martineau@zmanda.com>
2616         * common-src/conffile.c: debug-recovery default to 1.
2617         * man/xml-source/amanda.conf.5.xml: Document it.
2618
2619 2010-11-02  Nikhil Bhupale <nikhilb@zmanda.com>
2620         * server-src/amtape.pl: Remove call to set_label.
2621         * server-src/amcheck-device.pl: Remove call to set_label.
2622  
2623 2010-10-29  Dustin J. Mitchell <dustin@mozilla.com>
2624         * man/xml-source/amanda-changers.7.xml: improve chg-disk properties
2625           documentation
2626
2627 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
2628         * server-src/chunker.c: Close listening socket are accepted socket.
2629         * xfer-src/element-glue.c: Close listening socket are accepted socket.
2630
2631 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
2632         * server-src/amflush.c: Open 'amflush' log file in append mode.
2633
2634 2010-10-29  Jean-Louis Martineau <martineau@zmanda.com>
2635         * server-src/amdump.pl: Open 'amdump' log file in append mode.
2636
2637 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
2638         * common-src/conffile.c: Fix quoting in recovery-limit output.
2639         * server-src/amadmin.c (disklist_one): Print recovery-limit.
2640
2641 2010-10-28  Jean-Louis Martineau <martineau@zmanda.com>
2642         * client-src/client_util.c: Don't free script->result.
2643
2644 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
2645         * man/xml-source/amanda.conf.5.xml: What is a meta label.
2646
2647 2010-10-27  Jean-Louis Martineau <martineau@zmanda.com>
2648         * server-src/dumper.c: Typo.
2649
2650 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
2651         * common-src/conffile.c: New meta-autolabel.
2652         * common-src/conffile.h: CNF_META_AUTOLABEL.
2653         * perl/Amanda/Config.swg: CNF_META_AUTOLABEL.
2654         * man/xml-source/amanda.conf.5.xml: Document meta-autolabel
2655         * server-src/tapefile.c: Read/write meta-label to tapelist file
2656         * server-src/tapefile.h (struct tape_s): Add meta.
2657         * perl/Amanda/Tapelist.swg: Read/write meta-label to tapelist file
2658         * perl/Amanda/Changer.pm (get_meta_label, set_meta_label): New methods
2659           in A::Changer and A::Changer::Reservation.
2660         * perl/Amanda/Changer/disk.pm: Keep meta-label in state file.
2661         * perl/Amanda/Changer/disk.pm (get_meta_label, set_meta_label):
2662           New methods
2663         * perl/Amanda/Taper/Scan.pm (make_new_meta_label): New method.
2664         * perl/Amanda/Taper/Scribe.pm: get/set meta label.
2665         * server-src/amlabel.pl: New --meta and --assign option.
2666         * server-src/amtape.pl (inventory): Print meta-label.
2667         * man/xml-source/amlabel.8.xml: Document --meta and --assign options.
2668         * installcheck/Amanda_Tapelist.pl: Test tapelist with meta-label.
2669         * installcheck/amlabel.pl: Check meta.
2670
2671 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
2672         * man/xml-source/amanda-changers.7.xml: Document new NUM-SLOT,
2673           AUTO-CREATE-SLOT and REMOVABLE chg-disk properties.
2674         * perl/Amanda/Changer.pm (get_boolean_property) Moved from A::Changer
2675           to A::Changer::Config.
2676         * perl/Amanda/Changer/disk.pm: New NUM-SLOT, AUTO-CREATE-SLOT and
2677           REMOVABLE properties. Use new get_boolean_property.
2678         * perl/Amanda/Changer/robot.pm: Use new get_boolean_property.
2679
2680 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
2681         * common-src/fileheader.c (parse_file_header): Print buf.
2682         * patching file recover-src/extract_list.c: Read header in multiple
2683                                                     block.
2684
2685 2010-10-26  Jean-Louis Martineau <martineau@zmanda.com>
2686         * perl/Amanda/Report/human.pm: Use chunker size to find big estimate.
2687         * installcheck/catalogs/bigestimate.cat: Fix.
2688
2689 2010-10-25  Jean-Louis Martineau <martineau@zmanda.com>
2690         * perl/Amanda/Taper/Worker.pm: Use 4*block_size for
2691           device_output_buffer_size if it is not set by the user.
2692         * server-src/amcheck-device.pl: Check device_output_buffer_size is at
2693           least 2*block_size.
2694
2695 2010-10-25 Dan Locks <dwlocks@zmanda.com>
2696         *  config/amanda/libs.m4: update AMANDA_CHECK_CURL to add runtime link
2697            flags for all solaris platforms, remove our AC_PATH_PROG for curl-config,
2698            and trust LIBCURL_CHECK_CONFIG (which is now fixed)
2699
2700 2010-10-25 Dan Locks <dwlocks@zmanda.com>
2701         *  packaging/rpm/amanda.spec.src: exclude sles9 from
2702            LDFLAGS=-Wl,--as-needed
2703
2704 2010-10-21 Dan Locks <dwlocks@zmanda.com>
2705
2706 2010-10-20  Jean-Louis Martineau <martineau@zmanda.com>
2707         * server-src/amtape.pl: Typo.
2708
2709 2010-10-19 Dan Locks <dwlocks@zmanda.com>
2710         *  packaging/deb/rules, packaging/rpm/amanda.spec.src: add
2711            -Wl,--as-needed to ./configure invocation in packages
2712
2713 2010-10-19  Jean-Louis Martineau <martineau@zmanda.com>
2714         * ReleaseNotes NEWS: amdump --no-taper option.
2715
2716 2010-10-19  Nikhil Bhupale <nikhilb@zmanda.com>
2717         * device-src/vfs-device.h device-src/vfs-device.c:
2718           add enforce_max_volume_usage
2719         * device-src/s3-device.c: Added support for MAX_VOLUME_USAGE and
2720           ENFORCE_MAX_VOLUME_USAGE
2721         * device-src/property.h device-src/property.c: Added property
2722           ENFORCE_MAX_VOLUME_USAGE
2723         * device-src/s3.h device-src/s3.c: Calculate total volume usage for
2724           s3 device
2725         * installcheck/Amanda_Device.pl: Test it
2726         * man/xml-source/amanda-devices.7.xml: Document it
2727
2728 2010-10-18  Jean-Louis Martineau <martineau@zmanda.com>
2729         * application-src/ampgsql.pl: Give an error if client property
2730           pg-datadir is different than diskdevice. Use diskdevice if client
2731           property pg-datadir is not set.
2732
2733 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
2734         * common-src/security-util.c: Quote error message for invalid size.
2735
2736 2010-10-17  Jean-Louis Martineau <martineau@zmanda.com>
2737         * common-src/conffile.c (read_size_byte/get_size_byte):
2738           CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes.
2739
2740 2010-10-14  Jean-Louis Martineau <martineau@zmanda.com>
2741         * server-src/amtape.pl (inventory): print current slot.
2742         * installcheck/amtape.pl: check it.
2743
2744 2010-10-14 Dan Locks <dwlocks@zmanda.com>
2745         *  packaging/deb/rules, packaging/deb/buildpkg,
2746            packaging/rpm/amanda.spec.src: remove port range limits for
2747            rpm and deb packages
2748
2749 2010-10-13  Jean-Louis Martineau <martineau@zmanda.com>
2750         * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied.
2751
2752 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
2753         * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'.
2754
2755 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
2756         * ndmp-src/ndma_comm_session.c: add a g_debug message
2757         * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof
2758
2759 2010-10-12 Dan Locks <dwlocks@zmanda.com>
2760         *  config/amanda/progs.m4: add comment about sysloc- and locsys- path,
2761            make MTX a precious variable.
2762
2763 2010-10-12  Jean-Louis Martineau <martineau@zmanda.com>
2764         * common-src/conffile.c: Set default netusage to 80000 kbps.
2765
2766 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
2767         * perl/Amanda/Util.pod: fix typo
2768         * server-src/amserverconfig.pl: don't specify duplicate 'dumpuser'
2769           parameter in amserverconfig (it's also in advanced.conf); use
2770           get_fs_usage; include weird size requirements in error message
2771         * installcheck/amserverconfig.pl: test for this arrangement (used in
2772           the template + custom options case, I think)
2773
2774 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
2775         * ndmp-src/amndmjob_main.c: remove exit on eof thread
2776         * ndmp-src/ndmjob_main.c: add it here, in the right place
2777
2778 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
2779         * common-src/ssh-security.c: don't munge $SSH_CONNETION
2780
2781 2010-10-12  Dustin J. Mitchell <dustin@zmanda.com>
2782         * config/amanda/swig.m4: add '.' to freebsd versions
2783         * perl/Makefile.am: spell it -pthread
2784
2785 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
2786         * server-src/amvault.pl: add fake driver finish first
2787
2788 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
2789         * server-src/amflush.c: write a "pid done" line when cancelling
2790         * server-src/amcleanup.pl: run amlogroll internally
2791
2792 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
2793         * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before
2794           writing to a real volume
2795         * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too
2796
2797 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
2798         * installcheck/amvault.pl: update the tests to use --autolabel=any
2799
2800 2010-10-08  Dustin J. Mitchell <dustin@zmanda.com>
2801         * server-src/amvault.pl: --autolabel any, not --autolabel all
2802
2803 2010-10-08  Jean-Louis Martineau <martineau@zmanda.com>
2804         * device-src/s3-device.c: Don't give an error is ssl_ca_info is set
2805           and ssl is not used.
2806
2807 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
2808         * client-src/client_util.c: Use property_add_to_argv.
2809         * client-src/client_util.h (application_property_argv_size):
2810           Remove prototype.
2811         * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal
2812           for property hash.
2813         * common-src/conffile.c (property_add_to_argv): Remove function
2814         * common-src/conffile.h (property_add_to_argv): Remove prototype.
2815         * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal):
2816           Add function
2817         * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal):
2818           Add prototype.
2819         * common-src/util.c (proplist_add_to_argv, property_add_to_argv):
2820           Add function.
2821         * common-src/util.h (proplist_add_to_argv, property_add_to_argv):
2822           Add prototype.
2823         * perl/Amanda/Config.pod: Document amandaify_property_name.
2824         * perl/Amanda/Config.swg: Add amandaify_property_name.
2825         * perl/Amanda/Config/FoldingHash.pm: New class.
2826         * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm
2827         * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash.
2828         * recover-src/extract_list.c: Use property_add_to_argv
2829         * installcheck/Amanda_Config.pl: Check property case matching.
2830         * installcheck/Amanda_Config_FoldingHash.pl:
2831           Check Amanda::Config::FoldingHash.
2832         * installcheck/Makefile.am:
2833           Add installcheck/Amanda_Config_FoldingHash.pl
2834
2835 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
2836         * man/xml-source/amoverview.8.xml: fix typos in usage
2837         * server-src/amoverview.pl: config is mandatory; --config is not
2838
2839 2010-10-07  Jean-Louis Martineau <martineau@zmanda.com>
2840         * server-src/planner.c: Log packet sent and received.
2841
2842 2010-10-07  Dustin J. Mitchell <dustin@zmanda.com>
2843         * amandad-src/amandad.c: don't wait 5 seconds if the service has
2844           already exited
2845
2846 2010-10-06 Dan Locks <dwlocks@zmanda.com>
2847         *  config/amanda/libs.m4: update LIBCURL_CHECK_CONFIG help string,
2848            fix AC_PATH_PROG usage.
2849
2850 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
2851         * perl/Makefile.am: only run the threading test after install
2852
2853 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
2854         * VERSION: 3.3.0alpha
2855
2856 2010-10-06  Dustin J. Mitchell <dustin@zmanda.com>
2857         * perl/Makefile.am: fix the FreeBSD threading test to actually fail
2858
2859 2010-10-06  Jean-Louis Martineau <martineau@zmanda.com>
2860         * device-src/dvdrw-device.c: Always call parent_class->finish(dself).
2861         * device-src/ndmp-device.c: Always call close_tape_agent and
2862                                     close_connection.
2863         * device-src/null-device.c: Always set pself->access_mode to
2864                                     ACCESS_NULL.
2865         * device-src/rait-device.c: Always call child finish.
2866         * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL.
2867         * device-src/tape-device.c: Always close self->fd.
2868         * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL.
2869
2870 2010-10-06  Nandan Athawale <nandan.athawale@gmail.com>
2871         * device-src/s3.c: replaced deprecated functions g_strncasecmp
2872           and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp.
2873
2874 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
2875         * man/entities/global.entities.in: better formatting for config
2876           overrides
2877         * man/xml-source/amvault.8.xml: better synopsis formatting
2878         * server-src/amvault.pl: better synopsis formatting
2879
2880 2010-10-05  Dustin J. Mitchell <dustin@zmanda.com>
2881         * perl/Amanda/Logfile.swg: don't produce negative durations
2882         * perl/Amanda/DB/Catalog.pm: but handle them when they occur
2883
2884 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
2885         * perl/Amanda/Report/human.pm: Correctly print "Level:#".
2886
2887 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
2888         * server-src/planner.c: Use last_level to compute the bump level.
2889
2890 2010-10-05  Jean-Louis Martineau <martineau@zmanda.com>
2891         * server-src/dumper.c: Fix memory allocation.
2892
2893 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
2894         * server-src/amidxtaped.pl: exact match for same-host, allow dumps
2895           that are not in the disklist
2896         * server-src/amindexd.c: fix trivially permissive same-host
2897
2898 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
2899         * common-src/amxml.c: set the correct fields (encryption or
2900           compression)
2901         * server-src/dumper.c: strdup strings so they are not gone after
2902           free_dle
2903
2904 2010-10-04  Dustin J. Mitchell <dustin@zmanda.com>
2905         * perl/Amanda/Report.pm: fix autovivification bug
2906         * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of 
2907           undefined's
2908
2909 2010-10-04  Jean-Louis Martineau <martineau@zmanda.com>
2910         * server-src/amtape.pl: Add a 'return' for every usage() call.
2911           Add step in main.
2912
2913 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
2914         * man/xml-source/amvault.8.xml: mention that DLE splitting parameters
2915           are ignored by amvault
2916         * server-src/amvault.pl: use tapetype parameters for splitting
2917         * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight
2918           from Amanda::Config
2919
2920 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
2921         * packaging/deb/rules: remove misleading comment about automake-1.2
2922
2923 2010-10-01  Dustin J. Mitchell <dustin@zmanda.com>
2924         * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask
2925           user to clear out 'tapedev' too
2926
2927 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
2928         * common-src/event.c: Set the priority of EV_TIME to 10.
2929
2930 2010-09-30  Jean-Louis Martineau <martineau@zmanda.com>
2931         * perl/Amanda/Report/postscript.pm: print all dles that have a part
2932           on the volume.
2933         * installcheck/catalogs/spanned.cat: Check it.
2934
2935 2010-09-30  Dustin J. Mitchell <dustin@zmanda.com>
2936         * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1,
2937           too
2938
2939 2010-09-29  Dustin J. Mitchell <dustin@zmanda.com>
2940         * server-src/dumper.c: fix prints; use the correct disk_t fields
2941
2942 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
2943         * common-src/alloc.c: Remove a print to stderr.
2944
2945 2010-09-29  Jean-Louis Martineau <martineau@zmanda.com>
2946         * NEWS, ReleaseNotes: Update.
2947
2948 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2949         * installcheck/amvault.pl: fix tests for total size
2950
2951 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2952         * common-src/util.c: remove debugging call
2953         * installcheck/Amanda_Util.pl: fix tests on perl-5.6
2954
2955 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2956         * server-src/amvault.pl: print total size on --dry-run
2957
2958 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2959         * installcheck/Amanda_Config.pl: fix test
2960
2961 2010-09-28  Dustin J. Mitchell <dustin@zmanda.com>
2962         * NEWS: update NEWS about it
2963         * common-src/conffile.c common-src/conffile.h: add recovery-list
2964           parameters
2965         * man/xml-source/amanda.conf.5.xml: document them
2966         * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them
2967         * installcheck/Amanda_Config.pl: test them
2968         * server-src/amidxtaped.pl: check recovery limits
2969         * installcheck/amidxtaped.pl
2970           installcheck/Installcheck/ClientService.pm: test it
2971         * server-src/amindexd.c: check recovery limits
2972
2973 2010-09-28  Jean-Louis Martineau <martineau@zmanda.com>
2974         * recover-src/extract_list.c: Print number of bytes read.
2975
2976 2010-09-28 Dan Locks <dwlocks@zmanda.com>
2977         *  config/amanda/progs.m4: remove first instance of
2978            AMANDA_PROG_GNUPLOT
2979
2980 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
2981         * common-src/amanda.h common-src/alloc.c: add save_env_full
2982         * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services
2983
2984 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
2985         * common-src/amxml.c: Fix unallocating NULL g_hash.
2986         * server-src/chunker.c: Don't free cmdargs.
2987
2988 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
2989         * common-src/security-util.c: Fix pointer arithmetic.
2990
2991 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
2992         * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with
2993           descriptions of match expressions
2994         * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
2995           man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml
2996           man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml
2997           man/xml-source/amvault.8.xml: reference it
2998
2999 2010-09-27  Dustin J. Mitchell <dustin@zmanda.com>
3000         * common-src/util.c common-src/util.h: support ##.## in braced
3001           alternates
3002         * installcheck/Amanda_Util.pl: test it
3003         * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml
3004           man/xml-source/amanda-devices.7.xml: document it
3005
3006 2010-09-27  Jean-Louis Martineau <martineau@zmanda.com>
3007         * amandad-src/amandad.c, client-src/client_util.c,
3008           client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c,
3009           common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h,
3010           common-src/security-util.c, common-src/util.c,
3011           perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c,
3012           server-src/chunker.c, server-src/diskfile.c, server-src/driver.c,
3013           server-src/driverio.c, server-src/dumper.c, server-src/find.c,
3014           server-src/holding.c, server-src/planner.c, server-src/server_util.c,
3015           server-src/xfer-source-holding.c: Fix memory leak.
3016
3017 2010-09-25  Dustin J. Mitchell <dustin@zmanda.com>
3018         * common-src/alloc.c: remove amtable functions
3019         * common-src/amanda.h: remove prototypes
3020
3021 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3022         * application-src/amstar.c: Check root can cd to the directory.
3023
3024 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3025         * perl/Amanda/Report/human.pm: Correctly print new tapes to use.
3026         * installcheck/catalogs/filesystemstaped.cat: write the tapelist file
3027         * installcheck/amreport.pl: Test it.
3028
3029 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
3030         * NEWS: amvault and other new news
3031         * server-src/amvault.pl: support --dry-run
3032         * man/xml-source/amvault.8.xml: docs
3033         * installcheck/amvault.pl: tests
3034
3035 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
3036         * common-src/security.h: add get_authenticated_peer_name method
3037         * common-src/security-util.c common-src/security-util.h: add two
3038           implementations
3039         * common-src/sockaddr-util.c common-src/sockaddr-util.h: add
3040           str_to_sockaddr
3041         * amandad-src/amandad.c: log authenticated peer name
3042         * common-src/bsd-security.c common-src/bsdtcp-security.c
3043           common-src/bsdudp-security.c common-src/krb5-security.c
3044           common-src/local-security.c common-src/rsh-security.c
3045           common-src/ssh-security.c: implement get_authenticated_peer_name
3046         * common-src/util.h: fix comments
3047         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
3048           config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c
3049           gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add
3050           inet_pton module
3051         * man/xml-source/amanda-auth.7.xml: update manual to describe
3052           authenticated peer names
3053
3054 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3055         * common-src/security-util.c: Check size before allocating.
3056
3057 2010-09-24  Dustin J. Mitchell <dustin@zmanda.com>
3058         * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only
3059
3060 2010-09-24  Jean-Louis Martineau <martineau@zmanda.com>
3061         * device-src/xfer-dest-taper-splitter.c (device_thread_write_part):
3062           Don't write more than the block size.
3063
3064 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
3065         * installcheck/amreport.pl: update checks to match amreport change
3066
3067 2010-09-23  Dustin J. Mitchell <dustin@zmanda.com>
3068         * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add
3069           exports
3070         * server-src/amreport.pl: don't print anything in script mode when
3071           there is nothing to do
3072         * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault
3073         * server-src/amvault.pl: make dst-changer and src-timestamp into
3074           --options and add support for dumpspecs
3075         * man/xml-source/amvault.8.xml: document
3076         * installcheck/amvault.pl: test changes
3077         * installcheck/Amanda_Cmdline.pl: remove TODO
3078
3079 2010-09-22  Jean-Louis Martineau <martineau@zmanda.com>
3080         * server-src/driver.c (startaflush_tape): Use tape_length if the
3081           tape is not started.
3082
3083 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
3084         * man/xslt/html.xsl.in: include Amanda version in HTML footers
3085
3086 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
3087         * server-src/amvault.pl: add an INFO line for every source volume read
3088
3089 2010-09-22  Dustin J. Mitchell <dustin@zmanda.com>
3090         * server-src/amvault.pl: add extra logging for amreport, and invoke
3091           amreport at the end of a run
3092         * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h:
3093           add P_AMVAULT
3094         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
3095           server-src/amreport.pl: handle amvault logs, too
3096
3097 2010-09-21  Orion Poplawski <orion@cora.nwra.com>
3098         * server-src/amoverview.pl: fix remaining uninitialized value warnings
3099
3100 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3101         * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no
3102           successful parts on tape; comments and POD
3103
3104 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3105         * installcheck/catalogs/amflush.cat
3106           installcheck/catalogs/bigestimate.cat
3107           installcheck/catalogs/doublefailure.cat
3108           installcheck/catalogs/fatal.cat
3109           installcheck/catalogs/filesystemstaped.cat
3110           installcheck/catalogs/flush-noorigsize.cat
3111           installcheck/catalogs/flush-origsize.cat
3112           installcheck/catalogs/longstrange.cat
3113           installcheck/catalogs/multi-taper.cat installcheck/catalogs/normal.cat
3114           installcheck/catalogs/plannerfail.cat
3115           installcheck/catalogs/resultsmissing.cat
3116           installcheck/catalogs/retried-nofinish.cat
3117           installcheck/catalogs/retried-strange.cat
3118           installcheck/catalogs/retried.cat
3119           installcheck/catalogs/shortstrange.cat
3120           installcheck/catalogs/skipped.cat installcheck/catalogs/spanned.cat
3121           installcheck/catalogs/strontium.cat installcheck/catalogs/taperr.cat:
3122           update expected reports to match updated amreport output
3123
3124 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
3125         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c:
3126           Don't print warning for 'holdingdisk auto' and directtcp data path.
3127
3128 2010-09-21  Jean-Louis Martineau <martineau@zmanda.com>
3129         * application-src/amgtar.c: Add VERBOSE property,
3130           unlink include/exclude file if VERBOSE if NO.
3131         * man/xml-source/amgtar.8.xml: Document VERBOSE property.
3132
3133 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3134         * perl/Makefile.am: make the thread check mandatory on FreeBSD
3135         * config/amanda/swig.m4: detect FreeBSD
3136
3137 2010-09-21  Dustin J. Mitchell <dustin@zmanda.com>
3138         * perl/Amanda/Report/human.pm: change some strings, and make
3139           the statistics section more succinct; suggested by Jon LaBadie
3140
3141 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3142         * server-src/amadmin.c: add 'dles' and 'hosts' subcommands
3143         * man/xml-source/amadmin.8.xml: document them
3144
3145 2010-09-20  Jean-Louis Martineau <martineau@zmanda.com>
3146         * perl/Amanda/Script_App.pm: Call _set_mesgout.
3147         * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout):
3148           Set $self->{mesgout}.
3149         * application-src/amraw.pl, application-src/amsamba.pl
3150           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
3151           Don't set $self->{mesgout}.
3152
3153 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3154         * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming
3155
3156 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3157         * server-src/find.c: only expect partnum/totalparts in taper log lines
3158         * installcheck/catalogs/bigdb.cat: tests
3159
3160 2010-09-20  Dustin J. Mitchell <dustin@zmanda.com>
3161         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to
3162           XferSourceRecovery
3163
3164 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
3165         * perl/Amanda/Changer/disk.pm: but still return stringy slot names
3166
3167 2010-09-19  Dustin J. Mitchell <dustin@zmanda.com>
3168         * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by
3169           'ghosts' on forums.zmanda.com
3170
3171 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
3172         * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in
3173           tape device
3174
3175 2010-09-18  Dustin J. Mitchell <dustin@zmanda.com>
3176         * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server
3177           component
3178
3179 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
3180         * server-src/dumper.c: Send filter STDERR to log file, backup is
3181           marked as failed.
3182
3183 2010-09-17  Jean-Louis Martineau <martineau@zmanda.com>
3184         * device-src/ndmp-device.c, device-src/tape-device.c,
3185         * device-src/vfs-device.c: Don't set the header if nothing is read.
3186         * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't
3187           exists
3188         * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device
3189           status and header.
3190         * installcheck/Amanda_Changer_multi.pl: Updated.
3191         * installcheck/amcheck-device.pl: Updated.
3192         * installcheck/amdevcheck.pl: Updated.
3193
3194 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
3195         * server-src/driver.c: start up correctly with --no-taper
3196         * server-src/driverio.c server-src/driverio.h: take no_taper as
3197           argument to startup_tape_process
3198
3199 2010-09-17  Dustin J. Mitchell <dustin@zmanda.com>
3200         * perl/Amanda/DB/Catalog.pm: new methods to determine the type of
3201           a run
3202         * installcheck/Amanda_DB_Catalog.pl: test them
3203         * server-src/amvault.pl: 'latest' excludes amvault runs; add START
3204           amvault to identify such runs
3205         * installcheck/catalogs/bigdb.cat: add 'START planner' where missing
3206         * installcheck/amvault.pl: cleanup after tests
3207
3208 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
3209         * NEWS: mention improvements to amvault
3210         * server-src/amvault.pl: Add --autolabel=.. and --label-template=..
3211         * installcheck/amvault.pl: update tests
3212         * man/xml-source/amvault.8.xml: update manpage
3213
3214 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
3215         * server-src/amreport.pl: support more than one email address
3216         * installcheck/amreport.pl: change error message
3217
3218 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
3219         * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them
3220           in the tapelist file.
3221           Remove the "Will write new label `$LABEL' to new tape" message.
3222         * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist
3223            in the argument.
3224         * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file.
3225         * server-src/amvault.pl: Don't update the tapelist file.
3226         * installcheck/Amanda_Report.pl: Remove 'Will write ...' message.
3227           installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message.
3228           installcheck/taper.pl: Remove 'Will write ...' message.
3229
3230 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
3231         * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock.
3232         * perl/Amanda/Tapelist.pod: Document new API.
3233           perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm,
3234           perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm,
3235           perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl,
3236           server-src/amlabel.pl, server-src/amreport.pl,
3237           server-src/amrmtape.pl, server-src/amvault.pl: Use new API
3238         * installcheck/Amanda_Logfile.pl,
3239           installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl,
3240           installcheck/amrmtape.pl, installcheck/amtape.pl,
3241           installcheck/Amanda_Recovery_Clerk.pl: Fix for new API.
3242
3243 2010-09-16  Dustin J. Mitchell <dustin@zmanda.com>
3244         * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd
3245         * xfer-src/xfer-element.c xfer-src/xfer-element.h: add
3246           xfer_element_swap_input_fd and xfer_element_swap_output_fd and
3247           use them to access input_fd and output_fd atomically
3248         * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle
3249           taking ownership of fd's even in pull_and_write and read_and_push
3250         * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c
3251           xfer-src/dest-fd.c: use xfer_element_swap_*_fd
3252
3253 2010-09-16  Jean-Louis Martineau <martineau@zmanda.com>
3254         * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'.
3255         * installcheck/taper.pl: Fix for correct tape_num.
3256
3257 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3258         * server-src/driver.c: Use many worker.
3259         * server-src/driverio.c: Init many worker.
3260         * server-src/driverio.h (TaperState): New taper state.
3261         * server-src/server_util.c: Add "TAKE-SCRIBE-FROM".
3262         * server-src/server_util.h: Add TAKE_SCRIBE_FROM.
3263
3264 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3265         * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol.
3266         * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function.
3267         * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb.
3268           transfert the xfer to a new scribe.
3269         * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method.
3270         * perl/Amanda/Xfer.swg (xfer_set_callback): New method.
3271         * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command.
3272
3273 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3274         * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup.
3275         * installcheck/Installcheck/Run.pm (setup): Take an argument to set
3276                                                     new vtapes.
3277         * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb.
3278         * installcheck/taper.pl: Fix and test for START_SCAN cmd.
3279         * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function.
3280         * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol.
3281         * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan,
3282           new perm_cb argument, new start_scan method.
3283         * perl/Amanda/Taper/Worker.pm (START_SCAN): New method,
3284           call perm_cb with new argument.
3285         * server-src/amvault.pl: Call start_scan and perm_cb with new argument.
3286         * server-src/driver.c: Send START_SCAN command to taper.
3287         * server-src/driverio.c (taper_cmd): Add START_SCAN.
3288         * server-src/server_util.c (cmdstr): add "START-SCAN".
3289         * server-src/server_util.h: Add START_SCAN.
3290
3291 2010-09-15  Jean-Louis Martineau <martineau@zmanda.com>
3292         * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol.
3293         * perl/Amanda/Taper/Controller.pm,
3294         * perl/Amanda/Taper/Worker.pm: Use worker_name.
3295         * server-src/driverio.c (taper_cmd): Send worker_name to taper.
3296         * server-src/driver.c: New argument to taper_cmd.
3297         * server-src/amstatus.pl: Parse worker_name.
3298         * installcheck/catalogs/chunker-partial.cat,
3299           installcheck/catalogs/normal.cat,
3300           installcheck/catalogs/quoted.cat: Add worker_name.
3301         * installcheck/taper.pl: Add worker_name.
3302
3303 2010-09-14  Jean-Louis Martineau <martineau@zmanda.com>
3304         * server-src/taper.pl: Split in many files, add the worker.
3305         * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl
3306         * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl
3307         * perl/Amanda/Taper/Worker.pm: New class
3308         * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm.
3309
3310 2010-09-14  Dustin J. Mitchell <dustin@zmanda.com>
3311         * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description
3312
3313 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3314         * server-src/amflush.c: Don't include driverio.h
3315         * server-src/driver.c, server-src/driverio.c, server-src/driverio.h:
3316           Put all taper variables in a taper_t structure.
3317
3318 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3319         * installcheck/amreport.pl: Load the config instead of using amgetconf.
3320
3321 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3322         * installcheck/amreport.pl: Use full path to amgetconf.
3323
3324 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3325         * server-src/find.c: Parse log with taper lines mixed.
3326         * perl/Amanda/Report.pm: Parse log with taper lines mixed.
3327         * installcheck/Amanda_DB_Catalog.pl: Check it.
3328         * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat.
3329         * installcheck/amreport.pl: Check it;
3330         * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed.
3331
3332 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
3333         * man/xml-source/amoverview.8.xml: document long options
3334         * server-src/amoverview.pl: fix bugs, stop using perl formats, and
3335           give long options in the usage message
3336         * installcheck/catalogs/bigdb.cat: add disklist
3337         * installcheck/amoverview.pl: more thorough tests based on bigdb
3338
3339 2010-09-13  Dustin J. Mitchell <dustin@zmanda.com>
3340         * man/xml-source/amdump.8.xml: document --no-taper
3341         * server-src/Makefile.am: rename amdump.sh -> .pl
3342         * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add
3343           --no-taper
3344         * server-src/driver.c: support --no-taper by not starting taper
3345         * server-src/planner.c: support --no-taper by not sending flushes
3346
3347 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3348         * server-src/find.c (find_dump): Don't print the
3349                                          'log files found for tape' warning.
3350         * server-src/amadmin.c: Call find_log to print the warning.
3351
3352 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3353         * server-src/amserverconfig.pl: Use $pw[0].
3354
3355 2010-09-13  Jean-Louis Martineau <martineau@zmanda.com>
3356         * common-src/conffile.c: Add taper-parallel-write.
3357         * common-src/conffile.h: Add taper-parallel-write.
3358         * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write.
3359
3360 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
3361         * installcheck/Makefile.am installcheck/amflush.pl: new installcheck
3362
3363         * server-src/amflush.c: flush DLEs that aren't in the disklist anymore
3364         * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile,
3365           based on match_disklist
3366         * server-src/driver.c: load holding-disk pseudo-DLEs at startup
3367         * server-src/driverio.c: survive configuration-free DLEs
3368         * server-src/holding.c server-src/holding.h: search_holding_file no
3369           longer checks against disklist
3370         * server-src/planner.c: use match_dumpfile for holding-disk DLEs
3371
3372 2010-09-10  Dustin J. Mitchell <dustin@zmanda.com>
3373         * installcheck/Amanda_Device.pl: use srcdir
3374         * installcheck/Installcheck.pm: set srcdir from env
3375         * installcheck/Installcheck/Catalogs.pm: use srcdir
3376         * installcheck/Makefile.am: set $srcdir for tests
3377
3378 2010-09-09  Lyndon Nerenberg <lyndon@orthanc.ca>
3379         * Makefile.am: fix to enable builds outside srcdir
3380
3381 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
3382         * server-src/amvault.pl: add --export
3383         * man/xml-source/amvault.8.xml: doc it
3384         * installcheck/amvault.pl: test it
3385
3386 2010-09-09  Dustin J. Mitchell <dustin@zmanda.com>
3387         * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog
3388           hack
3389
3390 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3391         * installcheck/Makefile.am: include
3392           installcheck/catalog/retried-strange.cat in distribution
3393
3394 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3395         * installcheck/catalogs/retried-strange.cat: add a retried dump
3396           where the retry is strange
3397         * installcheck/amreport.pl: test it
3398         * perl/Amanda/Report/human.pm: fix the bug it reveals
3399
3400 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3401         * gnulib/regenerate/regenerate: add 'environ' module
3402         * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4
3403           gnulib/Makefile.am config/gnulib/environ.m4: new module
3404
3405 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3406         * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4
3407         * gnulib/regenerate/regenerate: change gnulib sha1
3408
3409 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3410         * man/xml-source/amreport.8.xml: describe the format of the dump, with
3411           notes and details
3412
3413 2010-09-08  Dustin J. Mitchell <dustin@zmanda.com>
3414         * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done
3415         * installcheck/Amanda_Taper_Scribe.pl: test it
3416
3417 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
3418         * application-src/ampgsql.pl: Send tar stderr to the server.
3419
3420 2010-09-08  Jean-Louis Martineau <martineau@zmanda.com>
3421         * server-src/amserverconfig.pl: use RUNNING_AS_ANY and
3422                                         set dumpuser in amanda.conf.
3423
3424 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3425         * common-src/alloc.c: remove unnecessary declaration of 'environ'
3426
3427 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3428         * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes
3429         * installcheck/Amanda_Changer_robot.pl: test it
3430
3431 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3432         * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the
3433           ndmlib_mutex
3434
3435 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3436         * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see
3437           http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html
3438
3439 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3440         * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer
3441           slots, to save space
3442
3443 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3444         * perl/Amanda/Changer.pm: fix make_combined_error
3445         * perl/Amanda/Changer/robot.pm: correctly set up polling for device
3446           ready; use 'unknown', not 'device', as a reason; always return a
3447           changer error, not a string
3448
3449 2010-09-07  Dustin J. Mitchell <dustin@zmanda.com>
3450         * device-src/tape-aix.c device-src/tape-uware.c
3451           device-src/tape-xenix.c: remove unmaintained, and apparently unused,
3452           implementations
3453         * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c
3454         * device-src/tape-device.h: remove
3455         * device-src/tape-ops.h: remove
3456
3457         * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore
3458         * device-src/Makefile.am: remove tape ops conditionals
3459
3460 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
3461         * configure.in: add check for unsetenv
3462
3463 2010-09-01  Dustin J. Mitchell <dustin@zmanda.com>
3464         * installcheck/Makefile.am: add Installcheck::Catalog and the
3465           catalogs to the distribution
3466
3467 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3468         * installcheck/amserverconfig.pl: skip the correct number of tests
3469
3470 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3471         * installcheck/amserverconfig.pl: don't try running tape-changer if
3472           MTX is not installed
3473         * server-src/amserverconfig.pl: create $CONFIG_DIR if required.  This
3474           passes on my system and should pass on the Mac systems.
3475
3476 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3477         * config/.gitignore: don't ignore these files
3478         * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add
3479           ignored, but required, gnulib files
3480
3481 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3482         * NEWS: note removal of changers
3483         * changer-src/Makefile.am changer-src/chg-chio.pl
3484           changer-src/chg-chs.sh changer-src/chg-iomega.pl
3485           changer-src/chg-juke.sh changer-src/chg-mcutil.sh
3486           changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh
3487           changer-src/chg-rth.pl changer-src/chg-scsi-chio.c
3488           changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c
3489           changer-src/scsi-bsd.c changer-src/scsi-cam.c
3490           changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
3491           changer-src/scsi-defs.h changer-src/scsi-hpux.c
3492           changer-src/scsi-hpux_new.c changer-src/scsi-irix.c
3493           changer-src/scsi-linux.c changer-src/scsi-proto.c
3494           changer-src/scsi-solaris.c changer-src/sense.c: remove changers and
3495           system-specific SCSI code
3496         * config/amanda/changer.m4: remove unnecessary checks
3497         * config/amanda/progs.m4: remove checks for chio, chs, and mcutil
3498         * configure.in: remove changer invocations
3499
3500 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3501         * server-src/driverio.c: Don't write negative origsizes to the taper
3502
3503 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3504         * server-src/amcheck.c: drop root privs during the server check, so
3505           that access() will test the dumpuser's perms, not root's perms
3506
3507 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3508         * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir
3509         * installcheck/amtapetype.pl: spell it device-property
3510         * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long
3511           option
3512         * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of
3513           mkdir
3514
3515 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3516         * installcheck/Makefile.am: new tests
3517         * installcheck/amserverconfig.pl: run amserverconfig
3518         * installcheck/example.pl: test that templates parse properly
3519         * server-src/amserverconfig.pl: minor cleanup of old perl
3520
3521 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3522         * server-src/dumper.c changer-src/chg-scsi.c: use fseeko
3523         * config/.gitignore config/config.rpath config/gnulib/* gnulib/*:
3524           upgrade gnulib
3525         * gnulib/regenerate/no-error.patch: updated patch
3526         * gnulib/regenerate/regenerate: drop visibility module; specify new
3527           git hash
3528
3529 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3530         * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0
3531           to logfiles to check handling of those cases
3532         * perl/Amanda/Report.pm: fix (egregious) typo
3533         * perl/Amanda/Report/human.pm: handle compression better, handle
3534           printing non-contiguous levels
3535
3536 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3537         * application-src/ampgsql.pl: remove check for a directory that
3538           should not be readable to the amanda user
3539
3540 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3541         * application-src/amgtar.c application-src/ampgsql.pl
3542           recover-src/extract_list.c server-src/amcheckdump.pl: Use
3543           --ignore-zeros in all -t or -x invocations of gtar
3544
3545 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3546         * man/xml-source/amanda-auth.7.xml
3547           man/xml-source/amanda-changers.7.xml
3548           man/xml-source/amanda-client.conf.5.xml
3549           man/xml-source/amanda-compatibility.7.xml
3550           man/xml-source/amanda-devices.7.xml
3551           man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml
3552           man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove
3553           references to krb4 and to the pre-spanning days, and canonicalize
3554           all configuration parameters to use -, not _
3555         * common-src/conffile.c device-src/activate-devpay.c
3556           device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm
3557           perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c
3558           server-src/amreport.pl server-src/driver.c server-src/planner.c:
3559           canonicalize configuration parameter names in error messages to use -,
3560           not _
3561
3562 2010-08-31  Dustin J. Mitchell <dustin@zmanda.com>
3563         * installcheck/Installcheck/Catalogs.pm: tool to install catalogs
3564           dynamically, rather than including them in __DATA__
3565         * installcheck/catalogs/*: new catalog files
3566         * installcheck/Amanda_DB_Catalog.pl
3567           installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl
3568           installcheck/amstatus.pl: use Installcheck::Catalog
3569         * perl/Amanda/Recovery/Planner.pm: check that parameters exist
3570
3571 2010-08-25 Dan Locks <dwlocks@zmanda.com>
3572         *  packaging/deb/control: Fix missing line break so dpkg can parse the
3573            control file
3574
3575 2010-08-23  Dustin J. Mitchell <dustin@zmanda.com>
3576         * server-src/amvault.pl: add --fulls-only option
3577         * man/xml-source/amvault.8.xml: document
3578
3579 2010-08-23 Dan Locks <dwlocks@zmanda.com>
3580         *  packaging/deb/control: add ca-certificates and procps
3581
3582 2010-08-21  Dustin J. Mitchell <dustin@zmanda.com>
3583         * common-src/fileheader.c: remove incorrect validations for
3584           CONT_FILENAME and APPLICATION
3585
3586 2010-08-20 Dan Locks <dwlocks@zmanda.com>
3587         *  The error fixed here was reported by ssgelm.
3588         *  packaging/common/substitute.pl: Use FULL_VERSION instead of
3589            VERSION.
3590         *  packaging/rpm/amanda.spec.src: renamed from amanda.spec, added
3591            %%VERSION%% macro for substitute.pl, fixed glib2 requires typo
3592         *  packaging/rpm/buildpkg: refactored into "do_thing" functions, added
3593            substitute.pl machinery.
3594
3595 2010-08-20 Dan Locks <dwlocks@zmanda.com>
3596         *  packaging/rpm/amanda.spec: add openSuSE 11 detection and
3597            buildrequires glib2-devel, as written by ssgelm
3598
3599 2010-08-13  Dustin J. Mitchell <dustin@zmanda.com>
3600         * config/amanda/debugging.m4: make the default for syntax-checks
3601           "disabled", add a warning when enabling
3602         * perl/Makefile.am config/automake/scripts.am: don't do any checks
3603           that require linking perl extension modules unless SYNTAX_CHECKS is
3604           set
3605         * installcheck/Makefile.am: always skip syntax checks
3606         * application-src/amlog-script.pl application-src/amraw.pl
3607           application-src/amsamba.pl application-src/amsuntar.pl
3608           application-src/amzfs-sendrecv.pl application-src/amzfs-snapshot.pl
3609           application-src/script-email.pl common-src/amgetconf.pl
3610           device-src/amdevcheck.pl device-src/amtapetype.pl
3611           installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_ndmp.pl
3612           installcheck/Amanda_Changer_null.pl
3613           installcheck/Amanda_Changer_rait.pl
3614           installcheck/Amanda_Changer_robot.pl
3615           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Cmdline.pl
3616           installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl
3617           installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl
3618           installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl
3619           installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl
3620           installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl
3621           installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl
3622           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
3623           installcheck/amadmin.pl installcheck/amarchiver.pl
3624           installcheck/amcheck-device.pl installcheck/amcheck.pl
3625           installcheck/amcheckdump.pl installcheck/amdevcheck.pl
3626           installcheck/amdump.pl installcheck/amgetconf.pl
3627           installcheck/amlabel.pl installcheck/amoverview.pl
3628           installcheck/amrmtape.pl installcheck/amservice.pl
3629           installcheck/amstatus.pl installcheck/amtape.pl
3630           installcheck/amtapetype.pl installcheck/amvault.pl
3631           installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl
3632           server-src/amcheckdump.pl server-src/amcleanup.pl
3633           server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add
3634           strict and/or warnings, and fix (trivial) resulting warnings
3635
3636 2010-08-13  Nikhil Bhupale <nikhilb@zmanda.com>
3637         * AUTHORS: add Nikhil
3638         * device-src/ndmp-device.c: add READ_BLOCK_SIZE support
3639         * installcheck/Amanda_Device.pl: test it
3640         * man/xml-source/amanda-devices.7.xml: document it
3641
3642 2010-08-11  Dustin J. Mitchell <dustin@zmanda.com>
3643         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly
3644         * installcheck/Amanda_Util.pl: test it
3645         * application-src/amsamba.pl: use it to parse amandapass
3646
3647 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
3648         * server-src/find.c: parse old SUCCESS lines properly
3649         * perl/Amanda/DB/Catalog.pm: same
3650         * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines
3651
3652 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
3653         * amandad-src/amandad.c: unset SUN_PERSONALITY on startup
3654         * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY
3655
3656 2010-08-10  Dustin J. Mitchell <dustin@zmanda.com>
3657         * server-src/amlogroll.pl: ignore arguments after the first
3658
3659 2010-08-06  Dustin J. Mitchell <dustin@zmanda.com>
3660         * installcheck/amvault.pl: correct test count
3661         * perl/Amanda/Taper/Scribe.pm: fix nparts calculation
3662
3663 2010-08-06  Stephen Gelman <ssgelm@gmail.com>
3664         * AUTHORS: add Stephen
3665         * client-src/rundump.c client-src/runtar.c: unset
3666           SUN_PERSONALITY in runtar and rundump, to shut off
3667           Nexenta's tendency to magically run Sun binaries
3668
3669 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
3670         * server-src/amvault.pl: rewrite to use scribe, clerk
3671         * installcheck/amvault.pl: check results better
3672         * server-src/logfile.c server-src/logfile.h: add log_add_full
3673         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full
3674           and make_stats methods
3675         * perl/Amanda/MainLoop.pod: POD typos
3676         * perl/Amanda/Recovery/Planner.pm: add shift_dump method
3677         * perl/Amanda/Taper/Scan.pm: add POD, fix typos
3678         * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb
3679         * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile
3680
3681 2010-08-05  Dustin J. Mitchell <dustin@zmanda.com>
3682         * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE
3683           property
3684
3685 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
3686         * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_*
3687         * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_*
3688         * installcheck/Amanda_Recovery_Clerk.pl
3689           installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl
3690           server-src/amfetchdump.pl server-src/amidxtaped.pl
3691           server-src/taper.pl: use renamed methods
3692
3693 2010-08-04  Dustin J. Mitchell <dustin@zmanda.com>
3694         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename
3695           and a method to find the proper timestamp for the current log
3696         * installcheck/Amanda_Logfile.pl: test it
3697         * server-src/Makefile.am server-src/amlogroll.c
3698           server-src/amlogroll.pl: rewrite in perl
3699
3700 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
3701         * config/amanda/ipv6.m4: fix config messages to not use the
3702           autoconf-specific word "target"
3703
3704 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
3705         * man/xml-source/amanda.conf.5.xml: add more info about appropriate
3706           settings for autolabel
3707
3708 2010-08-03  Dustin J. Mitchell <dustin@zmanda.com>
3709         * common-src/security.h: move comments from wiki, reorder functions
3710
3711 2010-08-03  Jean-Louis Martineau <martineau@zmanda.com>
3712         * server-src/amdump.sh: Check it own the log file.
3713
3714 2010-08-02  Jean-Louis Martineau <martineau@zmanda.com>
3715         * common-src/util.c (interruptible_accept): Set the read set and
3716           timeout before each select call.
3717
3718 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
3719         * server-src/amvault.pl: only run as dumpuser
3720
3721 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
3722         * man/xml-source/amanda-auth.7.xml: consistently use the same
3723           username in examples (thanks to Amar Takhar)
3724
3725 2010-07-29  Dustin J. Mitchell <dustin@zmanda.com>
3726         * xfer-src/filter-process.c: handle fd's <= 2 correctly
3727
3728 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
3729         * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a
3730           copy of tcpm_recv_token.
3731         * common-src/security-util.c: New tcpm_recv_token without a timeout.
3732         * common-src/security-util.h: Add field to keep a buffer in tcp_conn.
3733
3734 2010-07-28  Jean-Louis Martineau <martineau@zmanda.com>
3735         * perl/Amanda/Script_App.pm: Print restore message to STDERR.
3736
3737 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
3738         * config/amanda/progs.m4: require SWIG-1.3.39
3739         * (all .c files): #include amanda.h first
3740         * perl/amglue/amglue.swg: use %begin to include config.h first
3741
3742 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
3743         * device-src/amtapetype.pl: detect LEOM and add appropriate
3744           comments
3745         * device-src/xfer-dest-device.c device-src/xfer-device.h: add
3746           cancel_at_leom constructor arg
3747         * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
3748           installcheck/Amanda_Xfer.pl installcheck/amrestore.pl
3749           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg
3750           server-src/amvault.pl: pass new argument
3751
3752 2010-07-28  Dustin J. Mitchell <dustin@zmanda.com>
3753         * device-src/tape-device.c device-src/tape-device.h: autodetect
3754           the LEOM property, and handle various operating systems' LEOM
3755           indications
3756         * device-src/tape-aix.c device-src/tape-posix.c
3757           device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to
3758           FALSE by default
3759
3760 2010-07-27  Jean-Louis Martineau <martineau@zmanda.com>
3761         * server-src/find.c (find_result_t): Add a write_timestamp.
3762         * server-src/find.h: Set the write_timestamp.
3763         * server-src/amcheckdump.pl: Use the write_timestamp.
3764         * server-src/amidxtaped.pl: write_timestamp is undef.
3765         * server-src/cmdline.h (dumpspec_t): Add a write_timestamp.
3766         * server-src/cmdline.c (dumpspec_new): New write_timestamp argument.
3767         * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp.
3768         * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp.
3769         * perl/Amanda/Cmdline.pod: Document write_timestamp.
3770         * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec
3771           write_timestamp.
3772         * installcheck/Amanda_Cmdline.pl: Fix and check new api.
3773         * installcheck/Amanda_DB_Catalog.pl: Fix and check new api.
3774         * installcheck/Amanda_Logfile.pl: Fix and check new api.
3775         * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api.
3776
3777 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
3778         * configure.in perl/amglue/Makefile.am: new Makefile for
3779           libamglue
3780         * perl/Makefile.am: use SUBDIRS to build libamglue before
3781           any SWIG modules, as automake does not get inter-library
3782           dependencies right at install time if the libraries are
3783           all built in the same directory
3784
3785 2010-07-27  Dustin J. Mitchell <dustin@zmanda.com>
3786         * application-src/ampgsql.pl: also check PG-DATADIR
3787
3788 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
3789         * installcheck/Amanda_DB_Catalog.pl
3790           installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl
3791           installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio
3792           buffering when writing holding-file headers
3793
3794 2010-07-26  Jean-Louis Martineau <martineau@zmanda.com>
3795         * server-src/planner.c: Ignore the FORCE command if strategy is
3796           INCRONLY.
3797
3798 2010-07-26  Dustin J. Mitchell <dustin@zmanda.com>
3799         * installcheck/Amanda_Xfer.pl: *real* correct number of tests for
3800           --without-server
3801
3802 2010-07-25  Dustin J. Mitchell <dustin@zmanda.com>
3803         * installcheck/Amanda_Xfer.pl: correct number of tests for
3804           --without-server
3805
3806 2010-07-25  Orion Poplawski <orion@cora.nwra.com>
3807         * server-src/amoverview.pl: fix host iteration and handle case of only
3808           one write_timestamp
3809
3810 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
3811         * device-src/vfs-device.c: announce LEOM one byte later
3812         * installcheck/Amanda_Xfer.pl: set device properties before starting
3813
3814 2010-07-24  Dustin J. Mitchell <dustin@zmanda.com>
3815         * perl/Amanda/Changer/robot.pm: use correct device field volume_header
3816
3817 2010-07-23  Dustin J. Mitchell <dustin@zmanda.com>
3818         * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS
3819           timeout to 60s and set CURDATA=1 to use cached state
3820
3821 2010-07-23  Jean-Louis Martineau <martineau@zmanda.com>
3822         * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file.
3823         * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and
3824                                        devhandling reservation.
3825         * server-src/taper.pl: Write quit error meesage to debug file.
3826
3827 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3828         * device-src/vfs-device.c device-src/vfs-device.h: add support for
3829           monitoring free space to generate LEOM before ENOSPC hits; set LEOM
3830           property to TRUE by default
3831         * installcheck/Amanda_Device.pl: test monitor_free_space prop
3832         * man/xml-source/amanda-devices.7.xml: document VFS device LEOM
3833           support and the MONITOR_FREE_SPACE property
3834
3835 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3836         * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test
3837         * device-src/property.c device-src/property.h: remove FREE_SPACE
3838           property, QualifiedSize, and SizeAccuracy
3839         * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE
3840           support
3841         * man/xml-source/amanda-devices.7.xml: remove docs
3842         * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize
3843
3844 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3845         * device-src/Makefile.am: add reference to new header file
3846
3847 2010-07-22  Dustin J. Mitchell <dustin@zmanda.com>
3848         * device-src/xfer-dest-taper-cacher.c: remove support for
3849           cache_inform, simplify disk cache
3850         * device-src/xfer-dest-taper-splitter.c: add support for cache_inform,
3851           use it even when LEOM is available
3852         * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h
3853           device-src/xfer-device.h: move common methods to new header file; add
3854           instance_init
3855         * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use
3856           splitter for cache_inform
3857         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function
3858           signatures
3859         * perl/amglue/glib.swg: take any perl true or flase value to make
3860           a gboolean
3861
3862 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
3863         * server-src/diskfile.h (disk_t) Add allow_split and splitsize.
3864         * server-src/diskfile.c: Set allow_split and splitsize.
3865         * server-src/driver.c: Use allow_split and splitsize.
3866         * server-src/planner.c: Use allow_split and splitsize.
3867         * server-src/amadmin.c (disklist_one): Print allow_split.
3868
3869 2010-07-19  Jean-Louis Martineau <martineau@zmanda.com>
3870         * server-src/taper.pl: Use ' to quote label in 'wrote label' line.
3871         * server-src/amstatus.pl: Parse it.
3872         * installcheck/amstatus.pl: Check it.
3873
3874 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3875         * ndmp-src/Makefile.am: use += with BUILT_SOURCES
3876
3877 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3878         * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h
3879           parameter that sets the initial host
3880         * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet
3881           with no net connection
3882
3883 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3884         * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported
3885         * config/amanda/tape.m4: fix bugs causing tape support to always be
3886           built (symbols aren't defined in Snow Leopard)
3887         * device-src/device.c: fix bug
3888         * perl/Amanda/Device.swg: return undef for undefined properties,
3889           rather than crashing
3890         * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do
3891           not assume tape device is defined
3892
3893 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3894         * config/macro-archive/ac_prog_swig.m4: fix swig version detection
3895           - swig-2.0.0 works fine
3896
3897 2010-07-16  Dustin J. Mitchell <dustin@zmanda.com>
3898         * perl/Amanda/Tapelist.swg: better fix for temp filename
3899
3900 2010-07-15  Jean-Louis Martineau <martineau@zmanda.com>
3901         * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for
3902                                        incremental.
3903         * installcheck/amreport.pl: Test it.
3904
3905 2010-07-15  Satya Ganga  <gast@zmanda.com>
3906         * config/amanda/progs.m4: Use correct search path for mt binary.
3907
3908 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
3909         * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error
3910           messages better
3911
3912 2010-07-14  Dustin J. Mitchell <dustin@zmanda.com>
3913         * configure.in config/amanda/shmem.m4: remove unnecessary config
3914           checks
3915
3916 2010-07-13  Dustin J. Mitchell <dustin@zmanda.com>
3917         * perl/Amanda/Report.pm: parse the planner's skipping a dump
3918         * perl/Amanda/Report/human.pm: present it correctly
3919         * installcheck/amreport.pl: adjust tests accordingly
3920
3921 2010-07-12  Nandan Athawale <nandan.athawale@gmail.com>
3922         * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper
3923           is set
3924
3925 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
3926         * server-src/amoverview.pl: fix variable references in evals
3927
3928 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3929         * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck
3930           for amoverview
3931
3932 2010-07-12  Orion Poplawski <orion@cora.nwra.com>
3933         * server-src/amoverview.pl: update to use Amanda::DB::Catalog
3934         * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys
3935         * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness
3936         * AUTHORS: add Orion
3937
3938 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3939         * common-src/conffile.c: fix error message
3940
3941 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3942         * example/amanda.conf.in example/template.d/advanced.conf.in
3943           example/template.d/amanda-S3.conf.in: replace label_new_tapes with
3944           autolabel
3945
3946 2010-07-12  Dustin J. Mitchell <dustin@zmanda.com>
3947         * installcheck/Amanda_Xfer.pl: fix test counts under -without-server
3948
3949 2010-07-10  Dustin J. Mitchell <dustin@zmanda.com>
3950         * config/amanda/userid.m4: apply the default value for --with-group
3951           to the correct variable
3952
3953 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3954         * server-src/amcheck.c: small bugfixes
3955         * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support
3956           LEOM configurations
3957         * server-src/taper.pl: use new args; log warnings with L_WARNING, not
3958           L_FAIL
3959         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test
3960           changes
3961
3962 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3963         * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest
3964         * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter
3965         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class
3966           and renamed class
3967         * device-src/xfer-dest-taper-directtcp.c 
3968           device-src/xfer-dest-taper.c: move null cach_inform to parent class
3969         * device-src/xfer-device.h: prototypes
3970         * device-src/Makefile.am: new file
3971         * installcheck/Amanda_Device.pl: LEOM tests
3972         * installcheck/Amanda_Xfer.pl: tests for new taper dest
3973         * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher)
3974
3975 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3976         * device-src/property.c device-src/property.h device-src/device.c: add
3977           LEOM property
3978         * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml
3979           man/xml-source/amanda.conf.5.xml: document it
3980         * installcheck/Amanda_Device.pl: test it
3981         * device-src/dvdrw-device.c device-src/ndmp-device.c
3982           device-src/null-device.c device-src/rait-device.c
3983           device-src/s3-device.c device-src/tape-device.c: set LEOM property
3984           appropriately
3985         * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support
3986           property, and allow it to be changed for testing
3987         * server-src/taper.pl: small bugfix
3988
3989 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3990         * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump
3991
3992 2010-07-08  Dustin J. Mitchell <dustin@zmanda.com>
3993         * perl/amglue/constants.swg: new SWIG precompiler magic to allow
3994           flexible handling of lists of constants
3995         * perl/Amanda/Config.pod: add section header
3996         * perl/Amanda/Config.swg: include all config param constants in the
3997           POD
3998
3999 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
4000         * installcheck/Amanda_Device.pl: erase each S3 volume after the tests
4001           are finished with it
4002
4003 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
4004         * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors
4005
4006 2010-07-07  Dustin J. Mitchell <dustin@zmanda.com>
4007         * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial
4008           of use of a second tape due to user configuration; dump_cb adds
4009           the config_denial_message parameter
4010         * server-src/taper.pl: use new parameter
4011         * installcheck/Amanda_Taper_Scribe.pl: updated tests
4012
4013 2010-07-06  Orion Poplawski <orion@cora.nwra.com>
4014         * server-src/amoverview.pl: fix parsing for newer amadmin find output
4015
4016 2010-07-06  Dustin J. Mitchell <dustin@zmanda.com>
4017         * device-src/s3.c: fix typo (that I added, not Nandan)
4018
4019 2010-07-06  Nandan Athawale <nandan.athawale@gmail.com>
4020         * device-src/s3.c: use Amazon's HTTP response headers to calculate a
4021           time offset for the local clock, to automatically work around time
4022           skew
4023
4024 2010-06-29  Dustin J. Mitchell <dustin@zmanda.com>
4025         * installcheck/Makefile.am installcheck/chunker.pl: new check
4026         * perl/Amanda/Header.swg: bug fix
4027         * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for
4028           testing
4029
4030 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
4031         * server-src/driverio.c: fix format specifies
4032
4033 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
4034         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
4035           add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR,
4036           and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print
4037           deprecation warnings once per process; deprecate TAPE_SPLITSIZE,
4038           FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER
4039         * example/amanda.conf.in example/template.d/amanda-S3.conf.in
4040           example/template.d/amanda-harddisk.conf.in
4041           example/template.d/dumptypes: remove old params
4042         * installcheck/Amanda_Config.pl
4043           installcheck/Amanda_Taper_Scribe.pl
4044           installcheck/Installcheck/Dumpcache.pm
4045           installcheck/taper.pl: update tests
4046         * man/xml-source/amanda-compatibility.7.xml: document deprecations
4047           and what to do about them
4048         * man/xml-source/amanda.conf.5.xml: document deprecations and new
4049           params
4050         * perl/Amanda/Device.pod: add doc about size=0 for
4051           write_from_connection, fix typo
4052         * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config
4053         * server-src/diskfile.c server-src/diskfile.h: add dumptype->config
4054         * server-src/amcheck.c: checks for the new params
4055         * server-src/driverio.c server-src/taper.pl: add all config params to
4056           the driver/taper protocol
4057
4058 2010-06-28  Dustin J. Mitchell <dustin@zmanda.com>
4059         * device-src/xfer-dest-taper-directtcp.c: round part size to a
4060           multiple of the block size
4061         * installcheck/Amanda_Xfer.pl: test it
4062
4063 2010-06-24  Dustin J. Mitchell <dustin@zmanda.com>
4064         * application-src/ampgsql.pl: use conditionals to skip useless
4065           selfcheck checks
4066
4067 2010-06-23  Dustin J. Mitchell <dustin@zmanda.com>
4068         * application-src/ampgsql.pl: conditionalize some checks on property
4069           being set
4070
4071 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
4072         * server-src/amfetchdump.pl: fix parsing levels and -p
4073
4074 2010-06-22  Dustin J. Mitchell <dustin@zmanda.com>
4075         * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens
4076          and Marco Poli
4077
4078 2010-06-22  Jean-Louis Martineau <martineau@zmanda.com>
4079         * device-src/tape-device.c: Handle write returning 0 for LEOM.
4080
4081 2010-06-21  Dustin J. Mitchell <dustin@zmanda.com>
4082         * perl/Makefile.am: list libamglue in _SOURCES variables, too,
4083           so that dependencies are correct and parallel makes do not
4084           fail
4085
4086 2010-06-18  Jean-Louis Martineau <martineau@zmanda.com>
4087         * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline.
4088
4089 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
4090         * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS
4091
4092 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
4093         * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs
4094           to match new changer API
4095
4096 2010-06-17  Dustin J. Mitchell <dustin@zmanda.com>
4097         * common-src/bsd-security.c common-src/bsdtcp-security.c
4098           common-src/bsdudp-security.c common-src/local-security.c
4099           common-src/security-util.c common-src/ssh-security.c: zero out new
4100           structures, and protect logtime messages from NULL dereferences
4101
4102 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
4103         * installcheck/Makefile.am: use chmod a-x instead of chmod -x
4104
4105 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
4106         * installcheck/Makefile.am: remove comment from Makefile rule
4107
4108 2010-06-16  Jean-Louis Martineau <martineau@zmanda.com>
4109         * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE.
4110
4111 2010-06-16  Dustin J. Mitchell <dustin@zmanda.com>
4112         * installcheck/Makefile.am: add chmod -x for more recent Test::Harness
4113           implementations that are confused by executable tests
4114
4115 2010-06-15  Jean-Louis Martineau <martineau@zmanda.com>
4116         * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner'
4117           line should result in FAILED dump (not MISSING dump).
4118         * installcheck/amreport.pl: Test it.
4119
4120 2010-06-14  Dustin J. Mitchell <dustin@zmanda.com>
4121         * config/automake/installperms.am: add new special cases
4122
4123         * application-src/Makefile.am client-src/Makefile.am
4124           oldrecover-src/Makefile.am recover-src/Makefile.am
4125           server-src/Makefile.am: only use installperms for setuid executables
4126
4127 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
4128         * perl/Amanda/Report.pm: POD overhaul
4129
4130 2010-06-12  Dustin J. Mitchell <dustin@zmanda.com>
4131         * perl/amglue/directtcp.swg: fix unterminated array
4132
4133 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4134         * config/amanda/net.m4: remove use of AS_HELP_STRING
4135
4136 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4137         * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles
4138         * common-src/fileheader.c: don't put partnum=1 on tape headers, etc.
4139
4140 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4141         * common-src/fileheader.c: fix inaccurate partnum in such headers
4142         * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with
4143           DUMPFILE headers
4144
4145 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4146         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix
4147           NDMOS_OPTION_NO_NDMPvX precompiler conditionals
4148
4149 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4150         * installcheck/Amanda_Device.pl: test the connect method
4151
4152 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4153         * ndmp-src/ndma_comm_dispatch.c: uncomment and update code
4154           to support NDMP_MOVER_CONNECT via ndmta.
4155
4156 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4157         * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c
4158           device-src/device.h: add a device_connect method
4159         * device-src/ndmp-device.c: implement it
4160         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add
4161           ndmp_connection_mover_connect
4162         * perl/Amanda/Xfer.pod: update documentation using the word
4163           "initiator"
4164
4165 2010-06-11  Dustin J. Mitchell <dustin@zmanda.com>
4166         * device-src/s3-device.c: add S3_STORAGE_CLASS property
4167         * device-src/s3.c device-src/s3.h: add storage_class
4168         * installcheck/Amanda_Device.pl: set the property
4169         * man/xml-source/amanda-devices.7.xml: document it
4170
4171 2010-06-10  Dustin J. Mitchell <dustin@zmanda.com>
4172         * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes
4173           problems with amidxtaped: "Specified file list matches multiple
4174           dumps"
4175
4176 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4177         * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags.
4178         * server-src/amreport.pl: Add STRANGE or MISSING to email subject.
4179         * installcheck/Amanda_Report.pl: Test new flags.
4180
4181 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4182         * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of
4183           timestamps, each value is an array of try.
4184         * perl/Amanda/Report/human.pm: Use 'dumps'.
4185         * perl/Amanda/Report/postscript.pm: Use 'dumps'.
4186         * perl/Amanda/Report/xml.pm: Use 'dumps'.
4187         * contrib/amreport.rnc: Add 'dumps'
4188         * server-src/amreport.pl: Use 'dumps'
4189         * installcheck/amreport.pl: Check 'dumps'
4190         * installcheck/Amanda_Report.pl: Check 'dumps'
4191
4192 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4193         * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check
4194           the data_path.
4195         * server-src/driver.c: Check FAILED result after PORT command.
4196         * server-src/driverio.c: Send data_path in taper PORT-WRITE command.
4197         * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the
4198           scribe check_data_path method.
4199         * installcheck/taper.pl: Test it.
4200
4201 2010-06-09 Dan Locks <dwlocks@zmanda.com>
4202         *  packaging/rpm/amanda.spec: remove Provides from main section,
4203            remove amanda-client from server provides section.
4204
4205 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4206         * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl,
4207           installcheck/Amanda_Recovery_Planner.pl,
4208           installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl,
4209           installcheck/taper.pl, perl/Amanda/Report.pm,
4210           perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm,
4211           server-src/find.c, server-src/taper.pl: taper log a "config|error"
4212           keyword in the "ERROR no-tape" line.
4213
4214 2010-06-09  Jean-Louis Martineau <martineau@zmanda.com>
4215         * common-src/conffile.c: Allow negative etimeout.
4216
4217 2010-06-08  Dustin J. Mitchell <dustin@zmanda.com>
4218         * ndmp-src/ndmp4_enum_strs.c: add missing enum
4219
4220 2010-06-07  Dustin J. Mitchell <dustin@zmanda.com>
4221         * ndmp-src/ndml_agent.c: add INADDR_NONE
4222         * ndmp-src/ndmos_glib.h: remove solaris-specific conditional
4223
4224 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
4225         * perl/Amanda/Device.swg: fix uninitialized variable
4226
4227 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
4228         * common-src/amfeatures.h: New fe_amindexd_quote_label.
4229         * common-src/amfeatures.c: fe_amindexd_quote_label.
4230         * perl/Amanda/Feature.pod: fe_amindexd_quote_label.
4231         * server-src/amindexd.c: Quote label if fe_amindexd_quote_label.
4232         * recover-src/amrecover.c: Add debugging statement.
4233         * recover-src/display_commands.c: Parse quoted label.
4234         * recover-src/extract_list.c: Parse quoted label.
4235
4236 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
4237         * xfer-src/xfer-element.h common-src/Makefile.am
4238           common-src/queueing-test.c common-src/queueing.c
4239           common-src/queueing.h: remove queueing support
4240         * installcheck/Amanda_Device.pl device-src/Makefile.am
4241           device-src/device-queueing.c device-src/device-queueing.h
4242           device-src/device.c device-src/device.h device-src/property.h: remove
4243           queue_fd, device_write_from_fd and device_read_to_fd
4244         * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd,
4245           write_from_fd, and read_to_fd; add test utilities to move random data
4246           onto and off of devices
4247
4248 2010-06-04  Dustin J. Mitchell <dustin@zmanda.com>
4249         * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod
4250           perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm
4251           server-src/amfetchdump.pl server-src/amidxtaped.pl
4252           server-src/amrestore.pl xfer-src/filter-process.c
4253           xfer-src/xfer-element.h: add a log_stderr argument to
4254           Amanda::Xfer::Filter::Process
4255         * server-src/amcheckdump.pl: use the transfer architecture
4256
4257 2010-06-04  Jean-Louis Martineau <martineau@zmanda.com>
4258         * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded"
4259           by "label '$label' not found" for old changer scripts.
4260
4261 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
4262         * server-src/find.c: zero-pad timestamps out to 14 digits for
4263           comparison
4264         * perl/Amanda/Recovery/Clerk.pm: same
4265
4266 2010-06-03 Dan Locks <dwlocks@zmanda.com>
4267         *  packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead.
4268
4269 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
4270         * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect
4271           redhat systems that change the wildcard default for include; and
4272           consider 1.15.91 >= 1.16
4273
4274 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4275         * server-src/planner.c: Fix printf format.
4276
4277 2010-06-03  Dustin J. Mitchell <dustin@zmanda.com>
4278         * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql
4279           restore process
4280
4281 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4282         * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file.
4283         * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely.
4284         * installcheck/amrmtape.pl: Fix.
4285
4286 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4287         * server-src/amcleanupdisk.c: Use CLR and SET.
4288         * server-src/planner.c: Use CLR, SET and ISSET.
4289           Don't update csize if level < 0.
4290
4291 2010-06-03  Jean-Louis Martineau <martineau@zmanda.com>
4292         * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't
4293           exists.
4294
4295 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
4296         * common-src/security-util.c: Print a debug message every 10 minutes if
4297           something is transmitted.
4298         * common-src/security-util.h (tcp_conn): Add logstamp.
4299
4300 2010-06-02  Jean-Louis Martineau <martineau@zmanda.com>
4301         * server-src/dumper.c: Drop root privilege before executing compression
4302           or encryption program.
4303
4304 2010-06-02  Dustin J. Mitchell <dustin@zmanda.com>
4305         * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly
4306           high-ascii characters in -t test
4307
4308 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
4309         * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23.
4310
4311 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
4312         * server-src/find.c(print_find_result): Quote label.
4313
4314 2010-05-31  Jean-Louis Martineau <martineau@zmanda.com>
4315         * config/set_full_version: Add comments.
4316
4317 2010-05-28  Dustin J. Mitchell <dustin@zmanda.com>
4318         * installcheck/gnutar.pl: tests for gnutar globbing behavior
4319         * installcheck/Makefile.am: run them
4320
4321 2010-05-28 Dan Locks <dwlocks@zmanda.com>
4322         *  packaging/Makefile.am: include common in EXTRA_DIST
4323
4324 2010-05-28 Dan Locks <dwlocks@zmanda.com>
4325
4326 2010-05-27  Jean-Louis Martineau <martineau@zmanda.com>
4327         * server-src/find.c: Don't report taper line with filenum=0.
4328
4329 2010-05-27  Dustin J. Mitchell <dustin@zmanda.com>
4330         * installcheck/taper.pl: test for a new write after EOM without
4331           splitting
4332         * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking
4333           this condition and switching to a new volume appropriately
4334
4335 2010-05-26  Dustin J. Mitchell <dustin@zmanda.com>
4336         * config/amanda/libs.m4: Allow user to specify glib config explicitly
4337
4338 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
4339         * perl/Makefile.am: add libamxfer as a dependency of libamglue
4340
4341 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
4342         * installcheck/amtapetype.pl: use force for subsequent runs
4343
4344 2010-05-25  Dustin J. Mitchell <dustin@zmanda.com>
4345         * device-src/amtapetype.pl: close and re-open devices between tests
4346         * device-src/xfer-dest-device.c: fix memory leak
4347         * man/xml-source/amtapetype.8.xml: fix -f docs
4348
4349 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
4350         * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed'
4351           with level if NDMP9_ILLEGAL_STATE_ERR.
4352
4353 2010-05-21  Dustin J. Mitchell <dustin@zmanda.com>
4354         * device-src/amtapetype.pl: get the block_size property earlier
4355         * device-src/device.c: allow property_get after a DEVICE_ERROR
4356
4357 2010-05-21  Jean-Louis Martineau <martineau@zmanda.com>
4358         * server-src/driver.c: Always report "taperflush criteria not met".
4359
4360 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
4361         * installcheck/Amanda_Changer.pl: test more configs
4362         * man/xml-source/amanda.conf.5.xml: point users to
4363           amanda-changers(7)
4364         * perl/Amanda/Changer.pm: support either tpchanger or
4365           tapedev in changer defs
4366
4367 2010-05-20  Dustin J. Mitchell <dustin@zmanda.com>
4368         * config/amanda/progs.m4: always use rpcgen
4369         * ndmp-src/Makefile.am: always build rpc outputs
4370         * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h
4371           ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c
4372           ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h
4373           ndmp-src/ndmp9_xdr.c: remove from version control (and dist)
4374
4375 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
4376         * common-src/fileheader.c: don't print to stderr anymore
4377
4378 2010-05-19  Dustin J. Mitchell <dustin@zmanda.com>
4379         * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products
4380           first, since they are not solaris-compatible
4381
4382 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
4383         * application-src/amsamba.pl: filter "Server not using user level ..."
4384
4385 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
4386         * server-src/amtape.pl (inventory): print barcode from unknown state.
4387
4388 2010-05-19  Jean-Louis Martineau <martineau@zmanda.com>
4389         * perl/Amanda/Application.swg (default_validate): Use sysread.
4390
4391 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4392         * device-src/amtapetype.pl: don't fail when fsf_after_filemark is
4393           required
4394
4395 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4396         * perl/Amanda/Changer/rait.pm: add debug message when child slot
4397           counts differ
4398
4399 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4400         * config/amanda/net.m4: correct help messages
4401
4402 2010-05-18  Dustin J. Mitchell <dustin@zmanda.com>
4403         * man/xml-source/amanda.conf.5.xml: fix typo
4404
4405 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
4406         * server-src/amfetchdump.pl: use syswrite so the filehandle gets
4407           properly flushed
4408
4409 2010-05-17  Dustin J. Mitchell <dustin@zmanda.com>
4410         * perl/Amanda/Changer/ndmp.pm: add verbose property
4411         * installcheck/Amanda_Changer_ndmp.pl: use it
4412
4413 2010-05-14  Dustin J. Mitchell <dustin@zmanda.com>
4414         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and
4415           window_offset to mover_get_state
4416         * device-src/ndmp-device.c: insert corresponding NULLs
4417
4418 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4419         * server-src/amcheckdump.pl: Check subprocess exit status and print
4420           their stderr.
4421
4422 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4423         * common-src/amcryptsimple.pl: Exit on error if gpg fail.
4424
4425 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4426         * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument.
4427
4428 2010-05-13  Jean-Louis Martineau <martineau@zmanda.com>
4429         * application-src/amgtar.c: fix exclude-file.
4430
4431 2010-05-12  Dustin J. Mitchell <dustin@zmanda.com>
4432         * installcheck/Amanda_Device.pl: add regression test
4433         * device-src/tape-device.c: set self->fd to -1 when closing; add
4434           better error messages
4435
4436 2010-05-11 Dan Locks <dwlocks@zmanda.com>
4437         *  packaging/common/substitute.pl: added.  contains much machinery not
4438            yet used in packaging. 
4439         *  packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and
4440            %%DATE%% macros which are expanded by substitute.pl.
4441         *  packaging/deb/changelog: renamed to above
4442         *  packaging/deb/rules: fix stray configure option
4443         *  packaging/deb/buildpkg: adjust to use substitute.pl instead of
4444            figuring VERSION out directly.
4445
4446 2010-05-10  Jean-Louis Martineau <martineau@zmanda.com>
4447         * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync
4448
4449 2010-05-07  Jean-Louis Martineau <martineau@zmanda.com>
4450         * common-src/security-util.c: Use global buffer for 
4451           security_stream_read_sync.
4452         * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer
4453           returnned by security_stream_read_sync.
4454
4455 2010-05-07  Dustin J. Mitchell <dustin@zmanda.com>
4456         * device-src/rait-device.c: fix assertion failure when a child device
4457           gives an error
4458         * perl/Amanda/Changer/rait.pm: add support for braced drive specs
4459         * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed
4460           for an eject operation
4461         * man/xml-source/amanda-changers.7.xml: document rait changer drive
4462           specifications
4463
4464 2010-05-06  Jean-Louis Martineau <martineau@zmanda.com>
4465         * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB
4466           for restore, escape the non glob include and exclude.
4467         * client-src/client_util.h: Add include_list_glob and exclude_list_glob
4468           to backup_support_option_t.
4469         * client-src/client_util.c: Parse new support option.
4470         * man/xml-source/amgtar.8.xml: Ducument new properties.
4471         * server-src/amindexd.c: Don't clean_backslash, indexd should be sent
4472           asis to amrecover.
4473
4474 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
4475         * perl/Amanda/Changer/rait.pm: eliminate warning when device does not
4476           have a valid status
4477
4478 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
4479         * device-src/s3-device.c: fix several fatal flaws in the
4480           read_block implementation
4481
4482 2010-05-05  Dustin J. Mitchell <dustin@zmanda.com>
4483         * perl/Amanda/Report/human.pm: don't assume parts are defined
4484
4485 2010-05-04  Dustin J. Mitchell <dustin@zmanda.com>
4486         * man/xml-source/amanda-devices.7.xml: add more regions
4487         * man/xml-source/amcheckdump.8.xml: remove duplicate section
4488
4489 2010-05-04  Jean-Louis Martineau <martineau@zmanda.com>
4490         * common-src/security-util.c: Free packet on close.
4491
4492 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4493         * common-src/glib-util.c: reorgnize glib_init to be compatible with
4494           glib-2.24+
4495
4496 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4497         * server-src/amlabel.pl: change the text to be less ambiguous
4498
4499 2010-05-03  Jean-Louis Martineau <martineau@zmanda.com>
4500         * server-src/disk_history.c: Keep all parts.
4501
4502 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4503         * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts
4504
4505 2010-05-03  Dustin J. Mitchell <dustin@zmanda.com>
4506         * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume
4507           recovery
4508         * device-src/ndmp-device.c: add extra assertion
4509         * device-src/xfer-dest-device.c: remove debug print
4510         * device-src/xfer-device.h device-src/xfer-source-recovery.c
4511           installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg
4512           perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation
4513         * perl/Amanda/Recovery/Clerk.pm: call use_device
4514
4515 2010-04-30  Dustin J. Mitchell <dustin@zmanda.com>
4516         * installcheck/Amanda_Changer_robot.pl: fix installchecks
4517           to pass after previous change
4518
4519 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
4520         * perl/Amanda/Changer/robot.pm: Default state file is in
4521                                         $localstatedir/amanda
4522         * man/xml-source/amanda-changers.7.xml: Document new location.
4523
4524 2010-04-29  Jean-Louis Martineau <martineau@zmanda.com>
4525         * device-src/directtcp-connection.c: Typo.
4526
4527 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
4528         * server-src/amreport.pl: Print "FAIL" in email subject header if run
4529                                   failed.
4530         * installcheck/amreport.pl: Test it.
4531
4532 2010-04-27  Paul C. Mantz <pcmantz@zmanda.com>
4533         * perl/Amanda/Report/human.pm: better per-tape stat labels
4534         * installcheck/amreport.pl: updated tests
4535
4536 2010-04-27  Jean-Louis Martineau <martineau@zmanda.com>
4537         * perl/Amanda/Logfile.swg (find_all_logs): Sort the list.
4538
4539 2010-04-27  Dustin J. Mitchell <dustin@zmanda.com>
4540         * server-src/planner.c: change degraded-mode messages to make more
4541           sense to the user
4542
4543 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
4544         * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new
4545           changer have no inventory.
4546
4547 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
4548         * server-src/amreport.pl: print org & config in xml output
4549
4550 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
4551         * perl/Amanda/Recovery/Scan.pm: Use default change if message is
4552                                         $DEFAULT_CHANGER
4553         * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq
4554                                     AMRECOVER_CHANGER
4555
4556 2010-04-26  Dustin J. Mitchell <dustin@zmanda.com>
4557         * perl/Amanda/Taper/Scribe.pm: give total time from
4558           dump start to dump end as total_duration
4559         * server-src/taper.pl: use total_duration
4560
4561 2010-04-26  Jean-Louis Martineau <martineau@zmanda.com>
4562         * server-src/planner.c: Do not promote if no full estimate.
4563
4564 2010-04-26  Paul C. Mantz <pcmantz@zmanda.com>
4565         * installcheck/Amanda_Report.pl: changed part to partnum
4566
4567 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
4568         * server-src/amcheckdump.pl: Check all process status.
4569
4570 2010-04-23  Paul C. Mantz <pcmantz@zmanda.com>
4571         * server-src/amreport.pl perl/Amanda/Report.pm
4572           perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm
4573           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed
4574           location of tape parts in Amanda::Report
4575         * installcheck/Amanda_Report.pl: installchecks
4576
4577 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
4578         * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread.
4579         * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread.
4580         * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static.
4581
4582 2010-04-23  Jean-Louis Martineau <martineau@zmanda.com>
4583         * ndmp-src/ndml_nmb.c: Don't log successful halt.
4584         * server-src/dumper.c: Don't log no-op command.
4585
4586 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
4587         * man/xml-source/amanda-devices.7.xml: more detail for
4588           STREAMING property
4589
4590 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
4591         * device-src/xfer-dest-taper-splitter.c: fix assertion failure
4592           reported by Wojciech Giel <wojciech.giel@cimr.cam.ac.uk>
4593
4594 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
4595         * installcheck/Amanda_Header.pl: add checks for all fields
4596
4597 2010-04-23  Dustin J. Mitchell <dustin@zmanda.com>
4598         * common-src/util.c: add debugging check to interruptible_accept
4599         * server-src/taper.pl: don't use IO::Socket, as it is badly broken
4600           and not thread-safe on Solaris 8
4601         * xfer-src/element-glue.c: add debugging checks
4602
4603 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
4604         * server-src/amcleanup.pl: Fix running command with system.
4605
4606 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
4607         * example/Makefile.am: fix 'make clean' to not erase source files.
4608
4609 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
4610         * config/amanda/progs.m4: check for, and reject, Solaris's
4611           SGU lex, which is badly broken
4612         * configure.in: use AMANDA_PROG_LEX
4613
4614 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
4615         * man/xml-source/amanda-changers.7.xml: fix typo, thanks to
4616           Jean-Francois Malouin
4617
4618 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
4619         * perl/Amanda/Report/xml.pm: use bytes as data unit
4620
4621 2010-04-22  Paul C. Mantz <pcmantz@zmanda.com>
4622         * perl/Amanda/Report/xml.pm: tries need to show all programs
4623
4624 2010-04-22  Jean-Louis Martineau <martineau@zmanda.com>
4625         * perl/Amanda/Changer/ndmp.pm: $conn = undef
4626
4627 2010-04-22  Dustin J. Mitchell <dustin@zmanda.com>
4628         * common-src/match-test.c: lots of new tests
4629         * common-src/match.c: fix comments, minor bugs in tar_to_regex and
4630           match_level
4631         * common-src/match.h: comments to describe each function
4632         * man/xml-source/amanda.8.xml: update expression docs
4633
4634 2010-04-21  Dustin J. Mitchell <dustin@zmanda.com>
4635         * server-src/amlabel.pl: add warning when the old label is in the
4636           tapelist
4637
4638 2010-04-20  Dustin J. Mitchell <dustin@zmanda.com>
4639         * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE
4640         * device-src/rait-device.c: fix bugs
4641
4642 2010-04-19  Jean-Louis Martineau <martineau@zmanda.com>
4643         * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is
4644           seen a second time.
4645
4646 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
4647         * perl/Amanda/Config.swg: move val_t output typemap to a function
4648
4649 2010-04-16  Dustin J. Mitchell <dustin@zmanda.com>
4650         * server-src/amadmin.c: show all custom compression/encryption options
4651           in amadmin disklist
4652         * man/xml-source/amanda.conf.5.xml: document undocumented params
4653
4654 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
4655         * server-src/amcleanup.pl: don't fail when run with no args
4656
4657 2010-04-15  Paul C. Mantz <pcmantz@gmail.com>
4658         * perl/Amanda/Curinfo/Info.pm: fixed header parsing
4659         * perl/Amanda/Curinfo.pm: corrected paths and infofile writing
4660         * installcheck/Amanda_Curinfo.pl: installchecks
4661
4662 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
4663         * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path
4664
4665 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
4666         * device-src/xfer-dest-device.c: don't use queueing anymore; this
4667           removes the max_memory constructor argument
4668         * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype
4669           change
4670         * perl/Amanda/Xfer.pod: docs
4671         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
4672           installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl
4673           installcheck/amrestore.pl server-src/amvault.pl: change constructor
4674           invocation
4675
4676 2010-04-15  Dustin J. Mitchell <dustin@zmanda.com>
4677         * common-src/util.c common-src/util.h: new interruptible_accept that
4678           uses a prolong function to stop waiting
4679         * common-src/stream.c: use interruptible_accept in stream_accept
4680         * xfer-src/element-glue.c: use interruptible_accept to allow
4681           directtcp_accept to be cancelled
4682         * installcheck/Amanda_Xfer.pl: test xfer cancellation
4683
4684 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
4685             Satya Ganga <gsat@zmanda.com>
4686         * application-src/amsamba.pl: Fix use of include/exclude list.
4687
4688 2010-04-14  Dustin J. Mitchell <dustin@zmanda.com>
4689         * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm
4690           server-src/taper.pl: rename dump_timestamp -> write_timestamp
4691
4692 2010-04-14  Jean-Louis Martineau <martineau@zmanda.com>
4693         * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED.
4694
4695 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
4696         * common-src/conffile.c common-src/conffile.h: make file-pad and
4697           tapebufs parameters errors
4698         * perl/Amanda/Config.swg: remove parameters
4699         * server-src/taper.pl: don't check tapebufs
4700         * installcheck/Amanda_Config.pl: adjust testing
4701         * man/xml-source/amanda-compatibility.7.xml: add deprecation
4702           note about amrecover_do_fsf and amrecover_check_label
4703
4704 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
4705         * device-src/xfer-dest-taper-splitter.c
4706           device-src/xfer-dest-taper-directtcp.c: make sure duration is positive
4707
4708 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
4709         * common-src/conffile.c: fix derived value for autolabel
4710
4711 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
4712         * man/xml-source/amanda-applications.7.xml: info about properties
4713         * man/xml-source/amanda-devices.7.xml: info about properties
4714         * man/xml-source/amanda-scripts.7.xml: info about properties
4715         * man/xml-source/amzfs-snapshot.8.xml: fix typo
4716
4717 2010-04-13  Dustin J. Mitchell <dustin@zmanda.com>
4718         * NEWS: add info about deprecations in 2.6.1
4719         * man/xml-source/amanda-compatibility.7.xml: update manpage to
4720           reflect info in NEWS
4721
4722 2010-04-13  Paul C. Mantz <pcmantz@zmanda.com>
4723         * server-src/amreport.pl: load holding disk before making report
4724         * perl/Amanda/Report/human.pm: report holding disk correctly
4725         * installcheck/amreport.pl: installcheck
4726
4727 2010-04-13  Jean-Louis Martineau <martineau@zmanda.com>
4728         * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c:
4729           Always log NOTIFY_DATA_HALTED.
4730
4731 2010-04-12  Dustin J. Mitchell <dustin@zmanda.com>
4732         * common-src/conffile.c: deprecate amrecover_do_fsf and
4733           amrecover_check_label
4734         * example/amanda.conf.in example/template.d/advanced.conf.in: remove
4735         * man/xml-source/amanda.conf.5.xml: indicate deprecation
4736         * NEWS: mention deprecation
4737
4738 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
4739         * perl/Amanda/Report/human.pm: typo.
4740
4741 2010-04-12  Jean-Louis Martineau <martineau@zmanda.com>
4742         * server-src/taper.pl: Check hdr_buf, cancel_dump on error.
4743         * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method.
4744         * perl/Amanda/Report/human.pm: Print taper error message.
4745         * server-src/find.c: Set current_label to "".
4746
4747 2010-04-08  Paul C. Mantz <pcmantz@zmanda.com>
4748         * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log
4749           which search the logdir instead of the tapelist
4750         * perl/Amanda/Logfile.pod: documentation
4751         * server-src/amreport.pl: use find_latest_log insted of find_log
4752
4753 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
4754         * perl/Amanda/MainLoop.swg: introduce define_steps and step, to
4755           eliminate reference loops created by use of %subs
4756         * perl/Amanda/MainLoop.pod: document it
4757         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
4758           installcheck/Amanda_Changer_disk.pl
4759           installcheck/Amanda_Changer_multi.pl
4760           installcheck/Amanda_Changer_ndmp.pl
4761           installcheck/Amanda_Changer_rait.pl
4762           installcheck/Amanda_Changer_robot.pl
4763           installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl
4764           installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl
4765           installcheck/Amanda_Recovery_Scan.pl
4766           installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl
4767           installcheck/amfetchdump.pl installcheck/amidxtaped.pl
4768           installcheck/amlabel.pl perl/Amanda/Changer.pm
4769           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm
4770           perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm
4771           perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm
4772           perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
4773           server-src/amcheck-device.pl server-src/amfetchdump.pl
4774           server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl
4775           server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it
4776
4777 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
4778         * config/automake/scripts.am: comment double quote 'use lib'.
4779
4780 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
4781         * application-src/amsamba.pl: Use tarmode.
4782
4783 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
4784         * recover-src/amrecover.c: Print to debug what is sent to amindexd.
4785         * recover-src/uparse.y: Parse setdate correctly.
4786
4787 2010-04-08  Jean-Louis Martineau <martineau@zmanda.com>
4788         * ndmp-src/ndma_comm_dispatch.c:
4789           Comment "Second add_dir entry is non-conforming".
4790
4791 2010-04-08  Dustin J. Mitchell <dustin@zmanda.com>
4792         * server-src/planner.c: fix two bugs that caused planner to generate a
4793           bogus schedule; remove a redundant assignment
4794
4795 2010-04-07 Dan Locks <dwlocks@zmanda.com>
4796         *  packaging/rpm/amanda.spec: specify mandir explicitly to work around
4797            old autoconf
4798
4799 2010-04-07  Paul C. Mantz <pcmantz@zmanda.com>
4800         * server-src/amreport.pl perl/Amanda/Report.pm
4801         perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm
4802         perl/Amanda/Report/xml.pm installcheck/amreport.pl
4803         installcheck/Amanda_Report.pl: taped segments called parts, not chunks
4804
4805
4806 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
4807         * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man.
4808
4809 2010-04-07  Dustin J. Mitchell <dustin@zmanda.com>
4810         * config/amanda/userid.m4: CHECK_USERID conditional
4811         * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST
4812         * installcheck/Makefile.am: use it
4813
4814 2010-04-07  Jean-Louis Martineau <martineau@zmanda.com>
4815         * server-src/amcheck.c: Don't exit on match_disklist error.
4816         * server-src/diskfile.c (match_disklist): Generate better message for
4817           strategy "skip" or ignore dle.
4818
4819 2010-04-06  Jean-Louis Martineau <martineau@zmanda.com>
4820         * recover-src/extract_list.c: Set restore_dir to NULL.
4821
4822 2010-04-06  Paul C. Mantz <pcmantz@zmanda.com>
4823         * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log
4824         * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added
4825           NDMP4_LOG_* messages for testing
4826
4827 2010-04-05  Jean-Louis Martineau <martineau@zmanda.com>
4828         * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory
4829           property.
4830
4831 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4832         * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots
4833         * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when
4834           loading slot 'current'
4835         * installcheck/Amanda_Taper_Scan_traditional.pl: test it
4836
4837 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4838         * server-src/amidxtaped.pl: send changer error with MESSAGE
4839         * installcheck/amidxtaped.pl: test for it
4840
4841 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4842         * config/amanda/version.m4: be resilient to all but the first
4843           digit of the version number missing
4844
4845 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4846         * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up
4847           reference loop in %subs (interim solution -- this arrangement
4848           leaks everywhere)
4849
4850 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4851         * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after
4852           every Interface operation, so that objects are not unreffed
4853           during Perl's global cleanup.
4854
4855 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4856         * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key
4857         * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on
4858           search failure; check for failure before printing "slot N"
4859           prefix
4860         * server-src/amcheck-device.pl: implement new user_msg_fn key
4861           to print expected volume on failure
4862
4863 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4864         * perl/Amanda/Device.pod: document that finish() can be called even
4865           if start() was not, to release resources
4866         * device-src/ndmp-device.c: implement
4867         * device-src/tape-device.c: implement
4868         * perl/Amanda/Changer.pm: always finish() a device in $res->release()
4869
4870 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4871         * installcheck/run-ndmp.pl: development util to run ndmjob test daemon
4872         * installcheck/Makefile.am: add util
4873
4874 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4875         * server-src/infofile.c: use %lld in scanning instead of %jd,
4876           since Solaris 8 doesn't have %j support; also fix handling
4877           of parse errors
4878
4879 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4880         * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as
4881           DEVICE_STATUS_DEVICE_BUSY
4882
4883 2010-04-05  Dustin J. Mitchell <dustin@zmanda.com>
4884         * perl/Amanda/Changer.pm: check $err->failed before returning reason
4885
4886 2010-04-02  Paul C. Mantz <pcmantz@zmanda.com>
4887         * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode
4888         * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON
4889         * installcheck/amreport.pl: installchecks
4890
4891 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
4892         * perl/Amanda/Util.pod: correct inaccurate claims in burp
4893
4894 2010-04-02  Dustin J. Mitchell <dustin@zmanda.com>
4895         * perl/Amanda/Application.swg: fix situation where sizeof(IV) >
4896           sizeof(gint)
4897
4898 2010-04-02  Jean-Louis Martineau <martineau@zmanda.com>
4899         * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd.
4900
4901 2010-04-01  Paul C. Mantz <pcmantz@gmail.com>
4902         * server-src/amreport.pl: accepts and ignores disk args in script mode
4903         * installcheck/amreport.pl: checks
4904
4905 2010-04-01  Jean-Louis Martineau <martineau@zmanda.com>
4906         * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID
4907         * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID.
4908         * installcheck/amrecover.pl: Check 'localhost' hostname,
4909                                      remove '^' from expect regex
4910         * recover-src/uscan.l: Add [[:space:]]* in LINEFEED.
4911
4912 2010-04-01  Dustin J. Mitchell <dustin@zmanda.com>
4913         * application-src/ampgsql.pl: check permissions on archive dir, and
4914           fail selfcheck if they are not sufficient.  Also implement the
4915           wal-max-wait=0 that's already documented
4916         * man/xml-source/ampgsql.8.xml: document required permissions
4917
4918 2010-03-31  Dustin J. Mitchell <dustin@zmanda.com>
4919         * installcheck/amrecover.pl: fix diag()
4920
4921 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4922         * perl/Amanda/Changer.pm: use Carp qw( confess cluck );
4923         * perl/Amanda/Changer/robot.pm: $self->make_error("failed",...
4924
4925 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4926         * config/set_full_version: fix.
4927         * config/amanda/config.m4: fix.
4928
4929 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4930         * config/amanda/config.m4: Use -a.
4931
4932 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4933         * config/set_full_version: Use -a.
4934
4935 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4936         * config/set_full_version: Use grep.
4937
4938 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4939         * config/Makefile.am: Add set_full_version to EXTRA_DIST.
4940         * config/set_full_version: Add the file.
4941
4942 2010-03-31  Jean-Louis Martineau <martineau@zmanda.com>
4943         * config/set_full_version: New script to update FULL_VERSION from
4944                                    VERSION, svn and git
4945         * autogen: Execute config/set_full_version
4946         * Makefile.am: Add dependencies to execute set_full_version if VERSION
4947           change, and to re-run configure if FULL_VERSION change.
4948         * config/amanda/version.m4: Use FULL_VERSION.
4949         * packaging/deb/buildpkg: Use FULL_VERSION.
4950         * packaging/rpm/amanda.spec: Use FULL_VERSION.
4951         * packaging/rpm/buildpkg: Use FULL_VERSION.
4952
4953 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
4954         * installcheck/Installcheck/Run.pm: be selective in import from POSIX
4955         * server-src/amvault.pl: fix duplicate variable
4956
4957 2010-03-30  Dustin J. Mitchell <dustin@zmanda.com>
4958         * Makefile.am: add VERSION to EXTRA_DIST
4959         * config/amanda/version.m4: use $srcdir/VERSION
4960
4961 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
4962         * VERSION: 3.2.0alpha.
4963         * configure.in: Call AMANDA_VERSION.
4964         * config/amanda/version.m4: Add AMANDA_VERSION.
4965         * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO.
4966
4967 2010-03-30  Jean-Louis Martineau <martineau@zmanda.com>
4968         * server-src/driver.c: Retry direct to tape all aborted dump because
4969                                of missing holdingdisk space.
4970
4971 2010-03-29  Paul C. Mantz <pcmantz@zmanda.com>
4972         * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage
4973
4974 2010-03-28  Dustin J. Mitchell <dustin@zmanda.com>
4975         * server-src/amvault.pl: update with Changer and Catalog API changes
4976
4977 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4978         * installcheck/Makefile.am: don't run amrecover test under
4979           --without-restore
4980
4981 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4982         * application-src/ampgsql.pl: don't die when gnutar issues non-fatal
4983           errors, e.g., "file changed as we read it"
4984
4985 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4986         * installcheck/amrecover.pl: fix stupid error in installcheck
4987
4988 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4989         * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack
4990           to force WAL file archives on ancient postgres versions
4991         * installcheck/ampgsql.pl: don't skip tests on ancient versions
4992
4993 2010-03-26  Dustin J. Mitchell <dustin@zmanda.com>
4994         * common-src/Makefile.am common-src/match-test.c: test (some) match
4995           functions
4996         * common-src/match.c: add make_exact_disk_expression and
4997           make_exact_host_expression
4998         * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer
4999         * installcheck/Makefile.am installcheck/amrecover.pl: new integration
5000           tests
5001         * oldrecover-src/extract_list.c recover-src/extract_list.c: use the
5002           make_exact_.. functions
5003         * common-src/amanda.h common-src/match.h application-src/amgtar.c
5004           application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c
5005           client-src/sendsize.c common-src/amxml.c common-src/fileheader.c
5006           common-src/local-security.c common-src/util.c
5007           oldrecover-src/set_commands.c recover-src/set_commands.c
5008           server-src/amflush.c server-src/cmdline.c server-src/diskfile.c
5009           server-src/find.c server-src/tapefile.c: move match.c prototypes from
5010           amanda.h to match.h
5011
5012 2010-03-25  Jean-Louis Martineau <martineau@zmanda.com>
5013         * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump
5014                                 or amflush is running.
5015
5016 2010-03-25  Paul C. Mantz <pcmantz@zmanda.com>
5017         * server-src/amreport.pl: amreport exits w/o error if mailer fails
5018         * installchecks/amreport.pl: installcheck
5019
5020 2010-03-25  Dustin J. Mitchell <dustin@zmanda.com>
5021         * perl/Amanda/Changer/compat.pm: err on the side of caution when
5022           emulating except_slots in chg-compat, preventing an infinite
5023           loop
5024
5025 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
5026         * application-src/amsamba.pl: check open failure correctly,
5027                                       improve debugging message.
5028
5029 2010-03-23  Jean-Louis Martineau <martineau@zmanda.com>
5030         * NEWS, ReleaseNotes: Change for 3.1.0
5031
5032 2010-03-23  Dustin J. Mitchell <dustin@zmanda.com>
5033         * application-src/ampgsql.pl: handle empty incrementals, wait for WAL
5034           files to be archived during full backup, don't backup postmaster.pid
5035           or pg_xlog
5036         * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section
5037           describing the operation
5038         * installcheck/ampgsql.pl: test restores more carefully, including
5039           an empty incremental
5040
5041 2010-03-22  Dustin J. Mitchell <dustin@zmanda.com>
5042         * common-src/amfeatures.c common-src/amfeatures.h
5043           perl/Amanda/Feature.pod: add a new feature to indicate that
5044           amrecover quotes disks right: fe_amrecover_correct_disk_quoting
5045         * common-src/match.c common-src/amanda.h: add an 'anchor' arg to
5046           clean_regex
5047         * oldrecover-src/extract_list.c oldrecover-src/set_commands.c
5048           recover-src/extract_list.c recover-src/set_commands.c
5049           server-src/diskfile.c: use it
5050         * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly
5051         * installcheck/amidxtaped.pl: test that
5052
5053 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
5054         * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA.
5055
5056 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
5057         * recover-src/amrecover.c: Do add_config_override before loading the
5058                                    config.
5059
5060 2010-03-19  Jean-Louis Martineau <martineau@zmanda.com>
5061         * server-src/driver.c: Continue flush on new tape if holdingdisk is
5062                                full.
5063
5064 2010-03-18  Paul C. Mantz <pcmantz@zmanda.com>
5065         * perl/Amanda/Report.pm: updated POD
5066
5067 2010-03-18  Dustin J. Mitchell <dustin@zmanda.com>
5068         * application-src/ampgsql.pl: add a die_cb in command_validate and
5069           command_selfcheck
5070
5071 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
5072         * server-src/amreport.pl: added new command line options
5073         * server-src/amdump.sh: updated usage of amreport
5074         * installchecks/amreport.pl: installchecks
5075         * man/xml-source/amreport.8.xml: usage doc update
5076         * NEWS: added info about rewrite
5077
5078 2010-03-17  Paul C. Mantz <pcmantz@zmanda.com>
5079         * perl/Amanda/Report/human.pm: fixed premature disk truncation in
5080          dump summary
5081
5082 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
5083         * perl/Amanda/Tests.swg: add a simple threaded function
5084         * perl/Makefile.am: and invoke it from 'make check'
5085
5086 2010-03-16  Dustin J. Mitchell <dustin@zmanda.com>
5087         * man/xml-source/amcryptsimple.8.xml: Fix formatting
5088
5089 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
5090         * man/xml-source/ampgsql.8.xml: Fix formatting.
5091
5092 2010-03-16  Jean-Louis Martineau <martineau@zmanda.com>
5093         * common-src/debug.c: Set open_time in debug_setup_1.
5094
5095 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5096         * man/xml-source/amsamba.8.xml: document include/exclude expressions
5097
5098 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5099         * UPGRADING: add note about accidentally linking new versions against old
5100
5101 2010-03-15  Paul C. Mantz <pcmantz@zmanda.com>
5102         * perl/Amanda/Util.pod: added POD for slurp and burp
5103
5104 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5105         * installcheck/amreport.pl: add tests for exit status for planner
5106           failure
5107
5108 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5109         * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the
5110           caller's responsibility
5111         * installcheck/Amanda_Taper_Scribe.pl: corresponding changes
5112         * server-src/taper.pl: handle input errors directly
5113
5114 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5115         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c
5116           device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno
5117           function
5118         * installcheck/Amanda_Device.pl: add lots of tape-positioning
5119           installcehcks
5120         * device-src/tape-device.c: fix positioning (adjust for funny bsf
5121           behavior only in tape_device_seek_file)
5122
5123 2010-03-15  Dustin J. Mitchell <dustin@zmanda.com>
5124         * common-src/conffile.c: rename the default tapetype, since EXABYTE
5125           sounds like it might actually be useful, but it's only 2M
5126         * man/xml-source/amanda.conf.5.xml: remove default
5127         * server-src/amcheck.c: only check whether fallback_splitsize < tape
5128           length if splitting is enabled; check for a missing tapetype param
5129
5130 2010-03-14 Dan Locks <dwlocks@zmanda.com>
5131         *  configure.in: update to rc06.  NOTEST
5132
5133 2010-03-11 Dan Locks <dwlocks@zmanda.com>
5134         *  configure.in: update to rc05. 
5135
5136 2010-03-11  Paul C. Mantz <pcmantz@zmanda.com>
5137         * perl/Amanda/Report.pm: fixed order that messages are reported
5138
5139 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
5140         * perl/Amanda/Changer/null.pm: note that constructor will not fail
5141         * server-src/amidxtaped.pl: use chg-null if the changer constructor
5142           fails
5143
5144 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
5145         * perl/Amanda/Report.pm: count DLEs on the first tape
5146         * perl/Amanda/Report/postscript.pm: display total part count
5147         * installcheck/amreport.pl: changed output
5148
5149 2010-03-10  Dustin J. Mitchell <dustin@zmanda.com>
5150         * config/amanda/progs.m4: add a define if LPR is found
5151         * server-src/amcheck.c: check it
5152
5153 2010-03-09  Paul C. Mantz <pcmantz@zmanda.com>
5154         * perl/Amanda/Report.pm: fixed caching of hostnames and dles
5155
5156 2010-03-09  Dustin J. Mitchell <dustin@zmanda.com>
5157         * man/xml-source/amanda-applications.7.xml: add brief example of
5158           setting properties for an application
5159
5160 2010-03-09  Paul C. Mantz
5161         * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART
5162
5163 2010-03-08 Dan Locks <dwlocks@zmanda.com>
5164         *  packaging/deb/rules: add chmod lines for etc/amanda
5165         *  packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750
5166            section, specify directories in 750 section to also be 750.
5167
5168 2010-03-08  Paul C. Mantz <pcmantz@zmanda.com>
5169         * perl/Amanda/Report.pm: record DLEs in seen order in the cache
5170         * installcheck/Amanda_Report.pm: installcheck fixes
5171
5172 2010-03-08 Dan Locks <dwlocks@zmanda.com>
5173         *  packaging/rpm/amanda.spec, packaging/deb/changelog: change version
5174            number to %%VERSION%%
5175         *  packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct
5176            version from configure.in, substitute version in appropriate files
5177         *  packaging/README: correct list of packages, add note on debian
5178            package creation.
5179
5180 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5181         * installcheck/Installcheck/ClientService.pm: process error from fork
5182           correctly
5183
5184 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5185         * installcheck/Installcheck/Dumpcache.pm: don't automatically generate
5186           cached dumps - it causes more problems than it solves
5187
5188 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5189         * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f
5190           instead of %lf
5191
5192 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5193         * server-src/amfetchdump.pl: fix usage message
5194         * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove
5195            default for mailto, as it is ignored
5196         * installcheck/Amanda_Report.pl installcheck/amreport.pl
5197           perl/Amanda/Report.pm perl/Amanda/Report/human.pm
5198           perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm
5199           server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb,
5200           add --help and --version, remove unused functions
5201         * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer'
5202
5203 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5204         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort
5205           postscript output by filenum, not hostname/diskname
5206
5207 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5208         * installcheck/amreport.pl perl/Amanda/Report/human.pm
5209           perl/Amanda/Report/postscript.pm: stop counting an extra filemark per
5210           dumpfile when calculating tape used
5211
5212 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5213         * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always
5214           print the on-medi size of a dumpfile, not its total size
5215
5216 2010-03-07  Dustin J. Mitchell <dustin@zmanda.com>
5217         * installcheck/amreport.pl perl/Amanda/Report/human.pm
5218           perl/Amanda/Report/postscript.pm: remove rounding when orig and
5219           outsize are within 32k
5220
5221 2010-03-06  Dustin J. Mitchell <dustin@zmanda.com>
5222         * server-src/amreport.pl: don't use undef for stdout, stderr when
5223           invoking mail or lpr - some don't like to have their std streams
5224           closed
5225
5226 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
5227         * server-src/amreport.pl: fix use of relative path for -l argument.
5228
5229 2010-03-06  Jean-Louis Martineau <martineau@zmanda.com>
5230         * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line.
5231         * installcheck/amreport.pl: check it.
5232
5233 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
5234         * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c:
5235           include conffile.h, not config.h.
5236
5237 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
5238         * config/amanda/version.m4: Allow 2 digits version.
5239
5240 2010-03-05  Jean-Louis Martineau <martineau@zmanda.com>
5241         * packaging/deb/changelog, packaging/deb/rules,
5242           packaging/deb/buildpkg, packaging/rpm/buildpkg,
5243           packaging/rpm/amanda.spec,
5244           configure.in: Change version to 3.2alpha.
5245
5246 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>
5247         * configure.in config/amanda/progs.m4: AC_SUBST LPR-related
5248           variables, and don't define them
5249         * perl/Amanda/Constants.pm.in: add LPR-related constants
5250         * installcheck/amreport.pl: lots of new tests, all hand-verified to
5251           pass for the C amreport as well, sometimes with minor differences
5252         * installcheck/mock/lpr.pl: mock 'lpr' for installchecks
5253         * installcheck/mock/mail.pl: mock 'mail' for installchecks
5254         * installcheck/Makefile.am: new mocks
5255         * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output
5256           support for amreport
5257         * server-src/Makefile.am server-src/amreport.pl
5258           server-src/amreport_new.pl server-src/reporter.c:
5259           make the perl amreport "live"
5260
5261 2010-03-05  Dustin J. Mitchell <dustin@zmanda.com>,
5262             Jean-Louis Martineau <martineau@zmanda.com>,
5263             Paul C. mantz <pcmantz@zmanda.com>
5264         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
5265           server-src/amreport_new.pl installcheck/Amanda_Report.pl: major
5266           overhaul to perl reporting framework (collaborative effort of three
5267           developers)
5268
5269 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5270         * perl/Amanda/Report/human.pm: Remove leading 0 on day date.
5271         * server-src/amreport_new.pl: Remove leading 0 on day date.
5272
5273 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5274         * perl/Amanda/Report.pm: Set $self->{hostname}.
5275         * perl/Amanda/Report/human.pm: Use $report->{hostname}.
5276
5277 2010-03-03  Paul C. mantz <pcmantz@zmanda.com>
5278         * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined
5279
5280 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
5281         * perl/Amanda/Report.pm; added three-arg form of get_program_info()
5282         * perl/Amanda/Report/human.pm: usage of three-arg form
5283         * installcheck/Amanda_Report.pl: tests
5284
5285 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5286         * perl/Amanda/Report/human.pm: Remove coma.
5287
5288 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5289         * common-src/conffile.c: Correctly set autolabel from command line
5290                                  '-olabel_new_tapes=' options.
5291
5292 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5293         * server-src/amidxtaped.pl: Exit if receive ABORT message.
5294         * recover-src/extract_list.c: Send abort message on user request.
5295         * common-src/amfeatures.c: Add fe_amidxtaped_abort.
5296         * common-src/amfeatures.h: Add fe_amidxtaped_abort.
5297         * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort.
5298
5299 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5300         * amandad-src/amandad.c: Wait up to 5 seconds for children termination.
5301
5302 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5303         * server-src/amflush.c: Delay creation of log file.
5304
5305 2010-03-02  Jean-Louis Martineau <martineau@zmanda.com>
5306         * common-src/conffile.c: Correctly set autolabel from label_new_tapes.
5307
5308 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
5309         * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed
5310           tapelist loading
5311
5312 2010-03-02  Paul C. Mantz <pcmantz@zmanda.com>
5313         * perl/Amanda/Report.pm: added tape_labels field for preserving tape
5314           order
5315         * perl/Amanda/Report/human.pm: use of tape_labels
5316         * installcheck/Amanda_report.pl: installcheck, cleanup
5317
5318 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
5319         * server-src/reporter.c: Set and check repdata.
5320
5321 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5322         * server-src/amcheck.c: adjust split-size warnings for more
5323           detail with less overall verbosity
5324
5325 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
5326         * server-src/reporter.c: Print FLUSH for failed flush.
5327
5328 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5329         * common-src/fileheader.c: fix typos
5330         * server-src/amfetchdump.pl: add support for decryption
5331         * server-src/amidxtaped.pl: same
5332         * server-src/amrestore.pl: same
5333
5334 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5335         * perl/Amanda/Changer.pm perl/Amanda/Feature.pod
5336           perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm
5337           perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm
5338           perl/Amanda/Util.pod: fix bad POD formatting
5339         * perl/make_html.pl: fix perl warnings
5340
5341 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5342         * man/xml-source/amanda.conf.5.xml: add more detail about
5343           include/exclude
5344         * man/xml-source/amgtar.8.xml: and specific documentation of the
5345           patterns for amgtar
5346
5347 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5348         * perl/Amanda/Feature.pod: document known features
5349
5350 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5351         * perl/Amanda/Xfer.pod: no need to remove sources
5352         * perl/Amanda/Xfer.swg: remove reference loop, call correct callback
5353
5354 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5355         * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue
5356         * man/xml-source/amanda-changers.7.xml: no longer "in transition"
5357         * server-src/Makefile.am server-src/changer.c server-src/changer.h:
5358           remove changer.[ch]
5359         * server-src/amcheck.c: remove unused include
5360
5361 2010-03-01  Dustin J. Mitchell <dustin@zmanda.com>
5362         * common-src/conffile.c: remove debug message
5363
5364 2010-03-01 Dan Locks <dwlocks@zmanda.com>
5365         *  packaging/rpm/amanda.spec: remove Provides: librestore
5366
5367 2010-03-01  Jean-Louis Martineau <martineau@zmanda.com>
5368         * application-src/amgtar.c, application-src/amstar.c:
5369           new COMMAND-OPTIONS property.
5370         * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml:
5371           document new COMMAND-OPTIONS property.
5372
5373 2010-02-28  Jean-Louis Martineau <martineau@zmanda.com>
5374         * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if
5375                             common-src/amfeatures.h is modified.
5376
5377 2010-02-27  Jean-Louis Martineau <martineau@zmanda.com>
5378         * ndmp-src/amndmjob_main.c: #include "config.h"
5379         * ndmp-src/ndma_cops_backreco.c: #include "util.h"
5380         * ndmp-src/ndmjob_main.c: #include "config.h"
5381
5382 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5383         * installcheck/amidxtaped.pl: Fix for datapath eq "none".
5384
5385 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5386         * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS.
5387         * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS.
5388         * perl/Amanda/Process.pm (set_master_process): New function.
5389         * server-src/amcleanup.pl: Use set_master_process.
5390
5391 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5392         * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and
5393                                       DATAPATH-OK.
5394         * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and
5395                                     DATAPATH-OK.
5396         * installcheck/amidxtaped.pl: Test them.
5397
5398 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
5399         * installcheck/Installcheck/ClientService.pm: fix to wait for streams
5400           to empty and hit EOF after exit
5401         * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus
5402           comment, and use -1 to signal no data EOF received
5403
5404 2010-02-26  Paul C. Mantz <pcmantz@zmanda.com>
5405         * perl/Amanda/Report/human.pm: added quoting of disks in per-disk
5406           summary
5407
5408 2010-02-26  Dustin J. Mitchell <dustin@zmanda.com>
5409         * installcheck/Amanda_Changer_robot.pl: log test output too
5410         * installcheck/Installcheck.pm: typo
5411         * perl/Amanda/Changer.pm: note about member variables
5412         * perl/Amanda/Changer/robot.pm: make debug callable during constructor
5413
5414 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5415         * server-src/find.c: Compute dump_status and message.
5416         * server-src/find.c (print_find_result): Output dump_status and message.
5417         * server-src/find.c (search_logfile): Check if label is in tapelist.
5418         * server-src/find.h: Add dump_status and message to find_result_t.
5419         * perl/Amanda/Logfile.swg: Swig it.
5420         * perl/Amanda/DB/Catalog.pm: Set dump_status and message.
5421         * installcheck/Amanda_DB_Catalog.pl: Test it.
5422         * installcheck/Amanda_Logfile.pl: Test it.
5423         * server-src/amcheckdump.pl: Use new search_logfile behaviour.
5424         * server-src/amindexd.c: Use dump_status.
5425         * server-src/amoverview.pl: Use new 'amadmin find' output.
5426         * server-src/disk_history.c: Remove code no longer needed.
5427         * server-src/tapefile.c (lookup_tapelabel): const the label argument.
5428         * server-src/tapefile.h (lookup_tapelabel): const the label argument.
5429
5430 2010-02-26  Jean-Louis Martineau <martineau@zmanda.com>
5431         * common-src/conffile.c (set_config_overrides): new config override api.
5432         * common-src/conffile.h (set_config_overrides): New prototype.
5433         * perl/Amanda/Config.swg (set_config_overrides): Swigged.
5434         * changer-src/chg-glue.pl, common-src/amgetconf.pl,
5435         * common-src/file.c, device-src/amdevcheck.pl,
5436         * device-src/amtapetype.pl, installcheck/Amanda_Config.pl,
5437         * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm,
5438         * installcheck/amgetconf.pl, recover-src/amrecover.c,
5439         * server-src/amadmin.c, server-src/amcheck-device.pl,
5440         * server-src/amcheck.c, server-src/amcheckdump.pl,
5441         * server-src/amcleanup.pl, server-src/amfetchdump.pl,
5442         * server-src/amflush.c, server-src/amlabel.pl,
5443         * server-src/amlogroll.c, server-src/amreport_new.pl,
5444         * server-src/amrestore.pl, server-src/amrmtape.pl,
5445         * server-src/amservice.c, server-src/amtape.pl,
5446         * server-src/amtrmidx.c, server-src/amtrmlog.c,
5447         * server-src/amvault.pl, server-src/chunker.c,
5448         * server-src/driver.c, server-src/dumper.c,
5449         * server-src/planner.c, server-src/reporter.c,
5450         * server-src/taper.pl: Use new config override api.
5451
5452 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5453         * server-src/amcheck.c: add warning if the config might generate >1000
5454           parts on a volume
5455
5456 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5457         * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name,
5458           and use an appropriate prefix for debug messages
5459
5460 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5461         * Makefile.am: remove restore-src from lint rule
5462         * configure.in: remove restore-src/Makefile
5463         * restore-src/: remove
5464         * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src
5465
5466 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5467         * Makefile.am: stop building restore-src
5468         * common-src/amfeatures.c: remove no-longer-supported
5469           fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!)
5470         * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case
5471         * installcheck/Amanda_Util.pl: tests
5472         * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped
5473
5474 2010-02-25  Dustin J. Mitchell <dustin@zmanda.com>
5475         * installcheck/Installcheck/Dumpcache.pm: include more compressible
5476           data and clean up afterward
5477         * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data
5478           better, and fix handling of failures to not loop forever
5479         * installcheck/amidxtaped.pl: test that compressed dumps come back at
5480           their orig_size; check for a holding device without a trailing ":0";
5481           send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label,
5482           and even missing FSF=; check failure on unrecognized command lines
5483
5484 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5485         * installcheck/amidxtaped.pl: installcheck improvements:
5486           create a "real" holding file; send a DATESTAMP= command
5487
5488 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5489         * perl/Amanda/Recovery/Planner.pm: add support for predefined plans
5490         * installcheck/Amanda_Recovery_Planner.pl: test
5491
5492 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5493         * perl/Amanda/Xfer.swg: fix != override
5494         * installcheck/Amanda_Xfer.pl: test
5495         * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type
5496         * perl/Amanda/MainLoop.pod: POD tweaks
5497         * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl
5498           server-src/amfetchdump.pl: add directtcp_supported arg to
5499           xfer_src_cb; finish device when quitting clerk
5500         * perl/Amanda/Recovery/Scan.pm: add error handling
5501         * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size
5502         * recover-src/extract_list.c: fix header debugging
5503
5504 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5505         * common-src/amanda.h installcheck/Installcheck/ClientService.pm
5506           perl/Amanda/Constants.pm.in: move stream constants to
5507           Amanda::Constants
5508         * perl/Makefile.am perl/Amanda/ClientService.pm: new package
5509         * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests
5510
5511 2010-02-24  Dustin J. Mitchell <dustin@zmanda.com>
5512         * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and
5513           tapespec marhsalling support
5514         * installcheck/Amanda_Util.pl: tests (for tapespec anyway)
5515
5516 2010-02-23  Paul C. Mantz <pcmantz@zmanda.com>
5517         * perl/Amanda/Report/human.pm: fixed hostname truncation
5518
5519 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
5520         * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to
5521           make fake holding files; don't try to load a dumpcache unless both
5522           server and client components are present
5523         * installcheck/Amanda_Xfer.pl: count tests right in skip
5524
5525 2010-02-19  Paul C. Mantz <pcmantz@zmanda.com>
5526         * perl/Amanda/Report/human.pm: percents not displayed at 100%, print
5527           the end of a string in per-dump summary
5528
5529 2010-02-19  Dustin J. Mitchell <dustin@zmanda.com>
5530         * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a
5531           boolean
5532         * xfer-src/xfer.c: if any setup operation fails, skip the starts and
5533           return
5534         * device-src/xfer-dest-taper-directtcp.c
5535           device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c
5536           xfer-src/element-glue.c xfer-src/source-directtcp-connect.c
5537           xfer-src/xfer-test.c: change setup() methods to return a boolean
5538         * device-src/ndmp-device.c: clean up listen_addrs if not null
5539
5540 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
5541         * common-src/file.c (mkpdir): Fix.
5542
5543 2010-02-19  Jean-Louis Martineau <martineau@zmanda.com>
5544         * common-src/file.c (mkpdir): Don't use access.
5545
5546 2010-02-18  Paul C. Mantz <pcmantz@zmanda.com>
5547         * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD
5548
5549 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
5550         * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT,
5551           with attendant API changes (constructor takes a device; sends
5552           XMSG_READY)
5553         * device-src/xfer-device.h: prototype changes
5554         * xfer-src/element-glue.c: remove debug message
5555         * perl/Amanda/Xfer.pod: docs
5556         * perl/Amanda/XferServer.swg: SWIG new parameters
5557         * perl/Amanda/Recovery/Clerk.pm: use new API
5558         * installcheck/Amanda_Xfer.pl: test
5559         * installcheck/Amanda_Recovery_Clerk.pl: test some more
5560         * installcheck/Installcheck/Dumpcache.pm: add code to determine
5561           the timestamps for a cached dump after loading it
5562
5563 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
5564         * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h:
5565           add a get_xfer_mechs method to xfer elements so that elements can
5566           dynamically specify their mech pairs
5567
5568 2010-02-18  Dustin J. Mitchell <dustin@zmanda.com>
5569         * device-src/ndmp-device.c: check for fatal errors in directtcp
5570           methods
5571         * device-src/xfer-dest-taper-directtcp.c: track device_listen
5572           failures better
5573         * installcheck/Amanda_Xfer.pl: test setup cancellation
5574         * perl/Amanda/Taper/Scribe.pm: remove leftover debug code
5575         * xfer-src/element-glue.c: always send XMSG_DONE, even on error
5576
5577 2010-02-17  Dustin J. Mitchell <dustin@zmanda.com>
5578         * device-src/ndmp-device.c: sanity-check file number
5579         * device-src/xfer-dest-taper-directtcp.c: same
5580         * device-src/xfer-dest-taper-splitter.c: same
5581
5582 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
5583         * perl/Amanda/Util.swg (finish_application): Don't check $config_name.
5584
5585 2010-02-17  Paul C. Mantz <pcmantz@zmanda.com>
5586         * perl/Amanda/Report/human.pm: fixed output of 'incr dump only'
5587           fields
5588
5589 2010-02-17  Jean-Louis Martineau <martineau@zmanda.com>
5590         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
5591           add config_init(0, NULL);
5592         * recover-src/extract_list.c: Typo.
5593
5594 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
5595         * server-src/amadmin.c: Set a config for version subcommand.
5596
5597 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
5598         * common-src/amfeatures.c: New fe_amrecover_origsize_in_header.
5599         * common-src/amfeatures.h: New fe_amrecover_origsize_in_header.
5600         * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header.
5601         * common-src/fileheader.h (dumpfile_t): Add orig_size.
5602         * common-src/timestamp.c (get_time_from_timestamp): New function to
5603           convert a char timestamp to time_t.
5604         * common-src/timestamp.h (get_time_from_timestamp): Prototype.
5605         * restore-src/restore.c: Check fe_amrecover_origsize_in_header.
5606         * server-src/driver.c: Protoocl change to send orig_kb to taper.
5607         * server-src/driverio.c: Protoocl change to send orig_kb to taper.
5608         * server-src/find.c: Get orig_kb from log files.
5609         * server-src/find.h (find_result_t): add orig_kb.
5610         * server-src/holding.c (holding_set_origsize): New function to seti
5611           'ORIGSIZE' in an holding file.
5612         * server-src/holding.h (holding_set_origsize): Prototype.
5613         * server-src/infofile.c: '(char *)0' to NULL.
5614         * server-src/taper.pl: Parse orig-kb in protocol, log it.
5615         * perl/Amanda/DB/Catalog.pm: Set orig_kb.
5616         * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb.
5617         * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats.
5618         * installcheck/taper.pl: Fix for orig-kb in protocol.
5619
5620 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
5621         * recover-src/extract_list.c: Fix crash for non application restore.
5622
5623 2010-02-16  Jean-Louis Martineau <martineau@zmanda.com>
5624         * server-src/amcheckdump.pl: Less verbose, add --verbose option.
5625         * man/xml-source/amcheckdump.8.xml: Document new --verbose option.
5626
5627 2010-02-15  Jean-Louis Martineau <martineau@zmanda.com>
5628         * server-src/taper.pl: Log 'no-tape' if the changer creation failed.
5629
5630 2010-02-12  Jean-Louis Martineau <martineau@zmanda.com>
5631         * application-src/ampgsql.pl: Put stderr of tar in the debug file.
5632
5633 2010-02-12  Paul C. Mantz <pcmantz@zmanda.com>
5634         * perl/Amanda/Report.pm: get per-tape info from L_PART instead of
5635           L_INFO lines
5636         * perl/Amanda/Report/human.pm: widen text field for tape usage
5637         * installcheck/Amanda_Report.pl: installchecks
5638
5639 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
5640         * common-src/conffile.c: Assert if a config is not set.
5641         * common-src/amgetconf.pl, client-src/calcsize.c,
5642           client-src/client_util.c, client-src/killpgrp.c,
5643           client-src/rundump.c, client-src/runtar.c,
5644           installcheck/Amanda_Debug.pl: Set a default config.
5645
5646 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
5647         * common-src/conffile.c: New debug_days option.
5648         * common-src/conffile.h: New debug_days option.
5649         * man/xml-source/amanda-client.conf.5.xml: Document debug_days option.
5650         * man/xml-source/amanda.conf.5.xml: Document debug_days option.
5651         * common-src/debug.c: Don't do unlink in debug_open.
5652         * common-src/Makefile.am: Fix for test program.
5653         * common-src/amgetconf.pl: Correctly do dbopen and dbclose.
5654                                    Call Amanda::Util::finish_application.
5655         * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext.
5656         * perl/Amanda/Util.pod: Document.
5657         * common-src/file.c, client-src/getfsent.c,
5658           server-src/infofile.c: Call dbclose();
5659         * changer-src/chg-glue.pl, device-src/amdevcheck.pl,
5660           device-src/amtapetype.pl, server-src/amcheckdump.pl,
5661           server-src/amcleanup.pl, server-src/amfetchdump.pl,
5662           server-src/amrestore.pl, server-src/amrmtape.pl,
5663           server-src/amvault.pl,
5664           server-src/taper.pl: Call Amanda::Util::finish_application.
5665
5666 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
5667         * perl/Amanda/Taper/Scan/traditional.pm,
5668           perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument.
5669         * perl/Amanda/Recovery/Scan.pm: Fix doc.
5670         * server-src/amcheck-device.pl: New user_msg_fn.
5671         * server-src/amlabel.pl: New user_msg_fn.
5672         * server-src/amtape.pl: New user_msg_fn.
5673         * installcheck/amlabel.pl: Fix installcheck.
5674
5675 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
5676         * xfer-src/xfer.c xfer-src/xfer-element.h: add
5677           XFER_MECH_DIRECTTCP_CONNECT
5678         * xfer-src/source-directtcp-connect.c: element that uses it
5679         * xfer-src/dest-directtcp-listen.c: element that uses it
5680         * xfer-src/element-glue.c: glue for it
5681         * xfer-src/xfer-test.c: test it
5682         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
5683         * installcheck/Amanda_Xfer.pl: test it some more
5684         * xfer-src/Makefile.am: new files
5685         * xfer-src/dest-directtcp-connect.c: check addrs is not empty
5686         * perl/amglue/directtcp.swg: handle empty address lists better
5687
5688 2010-02-11  Dustin J. Mitchell <dustin@zmanda.com>
5689         * installcheck/Makefile.am: don't run amidxtaped on
5690           --without-restore
5691         * installcheck/Installcheck/ClientService.pm
5692           installcheck/amidxtaped.pl: kill amidxtaped on timeout
5693         * restore-src/amidxtaped.c: don't call safe_fd after the
5694           app has already started - it closes fd's in use by
5695           system libraries for e.g., LDAP access
5696
5697 2010-02-11  Jean-Louis Martineau <martineau@zmanda.com>
5698         * perl/Amanda/Application.swg: Add read_magic_block and
5699                                        write_magic_block.
5700         * perl/Amanda/Application.pod: Document them.
5701
5702 2010-02-10  Paul C. Mantz <pcmantz@gmail.com>
5703         * perl/Amanda/Report/human.pm: fixed columnspec code
5704
5705 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
5706         * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument.
5707         * server-src/amtape.pl: New user_msg_fn.
5708
5709 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
5710         * perl/Amanda/Changer.pm: Document undef state.
5711         * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN.
5712         * perl/Amanda/Changer/single.pm: Set state to undef.
5713         * perl/Amanda/Recovery/Scan.pm: Handle undef state.
5714
5715 2010-02-10  Jean-Louis Martineau <martineau@zmanda.com>
5716         * server-src/taper.pl: Log no-tape error if no available tape.
5717
5718 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
5719         * installcheck/amidxtaped.pl: skip DirectTCP tests if
5720           --without-ndmp
5721
5722 2010-02-10  Dustin J. Mitchell <dustin@zmanda.com>
5723         * restore-src/restore.c: fix double-free error
5724
5725 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
5726         * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped
5727           tests
5728         * amandad-src/amandad.c: comments
5729         * common-src/amanda.h: comments
5730         * restore-src/amidxtaped.c: don't check security when invoked with
5731           'installcheck' as argv[1]
5732
5733 2010-02-09  Dustin J. Mitchell <dustin@zmanda.com>
5734         * installcheck/Installcheck/ClientService.pm: utility to test
5735           client services (noop, sendbackup, etc.)
5736         * installcheck/Makefile.am installcheck/noop.pl: new test
5737         * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking
5738
5739 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
5740         * restore-src/amidxtaped.c: Check from_amandad before
5741                                     fe_recover_splits.
5742
5743 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
5744         * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle.
5745
5746 2010-02-09  Paul C. Mantz <pcmantz@zmanda.com>
5747         * perl/Amanda/Report/human.pm: renamed variables to be more descriptive
5748
5749 2010-02-09  Jean-Louis Martineau <martineau@zmanda.com>
5750         * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault.
5751         * man/xml-source/amanda-client.conf.5.xml,
5752           man/xml-source/amanda.conf.5.xml: Use them.
5753
5754 2010-02-09 Dan Locks <dwlocks@zmanda.com>
5755         *  amar-src/Makefile.am: add installperms stanza
5756
5757 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
5758         * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type.
5759
5760 2010-02-08  Jean-Louis Martineau <martineau@zmanda.com>
5761         * client-src/client_util.c: New AMFEATURES application support option,
5762           application_property_add_to_argv take a amfeatures argument.
5763         * client-src/client_util.h: New protoype.
5764         * client-src/selfcheck.c, client-src/sendbackup.c,
5765           client-src/sendsize.c,
5766           recover-src/extract_list.c: Pass the server amfeatures as argument
5767           to application_property_add_to_argv.
5768         * common-src/amfeatures.c: New fe_sendbackup_noop.
5769         * common-src/amfeatures.h: New fe_sendbackup_noop.
5770         * server-src/dumper.c: Ignore "sendbackup: no-op' message.
5771
5772 2010-02-08  Dustin J. Mitchell <dustin@zmanda.com>
5773         * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg:
5774           SWIG amfeatures
5775         * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run
5776           tests
5777         * common-src/amfeatures.h: add SWIG conditionals
5778         * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it
5779
5780 2010-02-06  Dustin J. Mitchell <dustin@zmanda.com>
5781         * perl/Amanda/Config.pod: document autolabel format
5782         * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val
5783
5784 2010-02-06  Jean-Louis Martineau <martineau@zmanda.com>
5785         * common-src/conffile.c: Add autolabel config option.
5786         * common-src/conffile.h: Add autolabel config option.
5787         * man/xml-source/amanda.conf.5.xml: Document autolabel.
5788         * perl/Amanda/Config.swg: Swig autolabel.
5789         * perl/Amanda/Taper/Scan/traditional.pm,
5790           perl/Amanda/Taper/Scan.pm: Use autolabel.
5791         * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl,
5792           installcheck/Amanda_Taper_Scan_traditional.pl,
5793           installcheck/Installcheck/Dumpcache.pm,
5794           installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl,
5795           installcheck/amcheck.pl, installcheck/amdevcheck.pl,
5796           installcheck/amdump.pl, installcheck/pp-scripts.pl,
5797           installcheck/taper.pl: Fix to use autolabel.
5798
5799 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
5800         * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm,
5801         * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm,
5802         * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod,
5803         * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod,
5804         * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API
5805         STATUS" pod header
5806
5807 2010-02-05  Paul C. Mantz <pcmantz@zmanda.com>
5808         * perl/Amanda/Report/human.pm: made fixed appearance of per-level
5809           column in output_stats
5810
5811 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
5812         * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist.
5813
5814 2010-02-04  Jean-Louis Martineau <martineau@zmanda.com>
5815         * perl/Makefile.am: Fix bad merge.
5816
5817 2010-02-03  Paul C. Mantz <pcmantz@zmanda.com>
5818         * perl/Amanda/Report/human.c: increased width of output_stats
5819           fields
5820
5821 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5822         * server-src/amadmin.c: Use %jd for gint.
5823
5824 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5825         * server-src/amadmin.c: Add 'estimate' command'.
5826         * man/xml-source/amadmin.8.xml: Document estimate command.
5827         * server-src/planner.c, server-src/server_util.c,
5828           server-src/server_util.h: Move internal_server_estimate and
5829           server_can_do_estimate from planner.c to server_util.c
5830
5831 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5832         * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan
5833         * installcheck/Amanda_Recovery_Clerk.pl: Test it.
5834
5835 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5836         * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan.
5837
5838 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5839         * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan
5840         * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan.
5841         * perl/Amanda/Changer/compat.pm: Print device_name.
5842         * perl/Amanda/Interactive.pm: Base class for interactivity.
5843         * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout.
5844         * perl/Amanda/Recovery/Scan.pm: Scan changers
5845         * perl/Makefile.am: Add Amanda/Interactive.pm,
5846           Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm.
5847         * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan.
5848         * server-src/amtape.pl: Use Amanda::Recovery::Scan.
5849
5850 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5851         * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir
5852         * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk
5853         * installcheck/amdevcheck.pl: give an explicit device name, now that
5854           tapedev is not set
5855
5856 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5857         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
5858           add debug_recovery
5859         * perl/Amanda/Recovery/Clerk.pm: use it
5860         * perl/Amanda/Recovery/Planner.pm: use it
5861
5862 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5863         * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat
5864
5865 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5866         * device-src/Makefile.am device-src/xfer-device.h
5867           device-src/xfer-source-recovery.c device-src/xfer-source-taper.c
5868           installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm
5869           perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename
5870           Amanda::Taper::Source to Amanda::Recovery::Source
5871
5872 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5873         * perl/Makefile.am: check all .pm files (some had been missed)
5874
5875 2010-02-03  Dustin J. Mitchell <dustin@zmanda.com>
5876         * perl/Amanda/Changer.pm: fix bogus POD
5877
5878 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5879         * application-src/amsamba.pl: Fix parsing of unc if disk is noti
5880                                       defined.
5881
5882 2010-02-03  Jean-Louis Martineau <martineau@zmanda.com>
5883         * perl/Amanda/Changer.pm: Set $chg->{'chg_name'}
5884
5885 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5886         * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger=
5887
5888 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5889         * server-src/amfetchdump.pl: only output a filename with a partnum
5890           when -n was given
5891
5892 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5893         * device-src/ndmp-device.c: fix failure to check for fatal errors, use
5894           signed 'delta'
5895         * device-src/tape-device.c: rewind correctly, even to the current file
5896         * device-src/vfs-device.c: set in_file=FALSE on finish()
5897         * installcheck/Amanda_Device.pl: check reading file header twice
5898
5899 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5900         * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl
5901           installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl
5902           installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl
5903           installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm
5904           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl
5905           xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead
5906           of xfer_state == XFER_DONE
5907
5908 2010-02-02  Dustin J. Mitchell <dustin@zmanda.com>
5909         * man/xml-source/amanda-auth.7.xml: reduce circular references
5910
5911 2010-02-01  Dustin J. Mitchell <dustin@zmanda.com>
5912         * perl/Amanda/Changer.pm: add a :constants tag, clean up POD
5913
5914 2010-01-31  Jean-Louis Martineau <martineau@zmanda.com>
5915         * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN.
5916
5917 2010-01-30  Jean-Louis Martineau <martineau@zmanda.com>
5918         * common-src/conffile.c: Allow multiple scripts on one line.
5919
5920 2010-01-29 Dan Locks <dwlocks@zmanda.com>
5921         *  packaging/rpm/amanda.spec: move manpages to
5922            defattr(644,root,root,..) section
5923
5924 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5925         * perl/Amanda/DB/Catalog.pm: inculde dumps on holding
5926         * installcheck/Amanda_DB_Catalog.pl: tests
5927         * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding
5928         * installcheck/Amanda_Recovery_Planner.pl: tests
5929         * perl/Amanda/Recovery/Clerk.pm: recover from holding with
5930           Amanda::Xfer::Source::Holding when appropriate
5931         * installcheck/Amanda_Recovery_Clerk.pl: tests
5932         * server-src/amfetchdump.pl: give better messaging when recovering
5933           from holding, don't append partnum unless it's a multipart dump
5934         * installcheck/amfetchdump.pl: tests
5935
5936 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5937         * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b,
5938           and -w options
5939         * restore-src/Makefile.am restore-src/amfetchdump.c: remove
5940         * server-src/Makefile.am server-src/amfetchdump.pl: new version
5941           of amfetchdump that uses Clerk and Planner
5942         * installcheck/amfetchdump.pl: updates to tests (change 'tape'
5943           to 'volume', no more -b, add quotes around labels
5944
5945 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5946         * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package
5947         * installcheck/Amanda_Recovery_Planner.pl
5948           installcheck/Makefile.am: tests
5949
5950 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5951         * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module
5952         * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl:
5953           tests
5954
5955 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5956         * installcheck/Amanda_MainLoop.pl: a call_after test that is more
5957           stable when the system clock is stepping
5958         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday()
5959
5960 2010-01-29  Dustin J. Mitchell <dustin@zmanda.com>
5961         * installcheck/Amanda_Logfile.pl: note about checks
5962         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it
5963         * server-src/find.c server-src/find.h: add dynamic_disklit param
5964           to search_holding_disk
5965
5966 2010-01-28  Jean-Louis Martineau <martineau@zmanda.com>
5967         * perl/Amanda/Changer/multi.pm: Fix current in inventory result.
5968         * installcheck/Amanda_Changer_multi.pl: Test it.
5969
5970 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5971         * installcheck/amfetchdump.pl: don't use an END block for cleanup
5972
5973 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5974         * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps
5975         * installcheck/Amanda_DB_Catalog.pl: test it
5976         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level
5977
5978 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5979         * changer-src/chg-glue.pl: fix chg-glue to be more careful about
5980           releasing the device first
5981
5982 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5983         * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress'
5984           cached dumps
5985         * installcheck/amfetchdump.pl: more/better tests
5986         * man/xml-source/amfetchdump.8.xml: formatting
5987
5988 2010-01-27  Dustin J. Mitchell <dustin@zmanda.com>
5989         * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm
5990           perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod:
5991           fix typos
5992
5993 2010-01-27  Paul C. Mantz <pcmantz@zmanda.com>
5994         * perl/Amanda/Util.pm: added safe_overwrite_file
5995         * installcheck/Amanda_Util.pl: installcheck
5996
5997 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
5998         * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch.
5999
6000 2010-01-27  Jean-Louis Martineau <martineau@zmanda.com>
6001         * perl/Amanda/Changer.pm: Document new inventory result.
6002         * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
6003           perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
6004           perl/Amanda/Changer/robot.pm,
6005           perl/Amanda/Changer/single.pm: Generate new inventory result.
6006         * installcheck/Amanda_Changer_disk.pl,
6007           installcheck/Amanda_Changer_multi.pl,
6008           installcheck/Amanda_Changer_ndmp.pl,
6009           installcheck/Amanda_Changer_rait.pl,
6010           installcheck/Amanda_Changer_robot.pl: Fix for new inventory result.
6011         * server-src/amtape.pl: Use new inventory result.
6012
6013 2010-01-26  Paul C. Mantz <pcmantz@zmanda.com>
6014         * perl/Amanda/Util.swg: added slurp and burp subs
6015         * installcheck/Amanda_Util.pl: installcheck for slurp and burp
6016         * installcheck/Installcheck/Run.pm: use of slurp in production
6017
6018 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
6019         * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements.
6020         * perl/Amanda/Report/human.pm: Many improvements.
6021         * installcheck/Amanda_Report.pl: Fix for new data.
6022         * perl/Makefile.am: Check AmandaReport_DATA.
6023
6024 2010-01-26  Jean-Louis Martineau <martineau@zmanda.com>
6025         * common-src/conffile.h: Add getconf_linenum.
6026         * perl/Amanda/Config.swg: Add getconf_linenum.
6027         * perl/Amanda/Config.pod: Document getconf_linenum.
6028         * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command
6029           line without setting the other to ''.
6030
6031 2010-01-25  Dustin J. Mitchell <dustin@zmanda.com>
6032         * perl/amglue/bigint.c: call SPAGAIN after loading
6033           Math::BigInt, in case the stack base has moved
6034         * perl/amglue/integers.swg: don't place a bigint on
6035           the stack until the stack pointer has been restored
6036         * perl/Amanda/Header.swg: use static
6037
6038 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
6039         * installcheck/Amanda_DB_Catalog.pl: remove recursive links that
6040           confuse old is_deeply implementations
6041
6042 2010-01-22  Dustin J. Mitchell <dustin@zmanda.com>
6043         * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit
6044           more carefully; add ability to query and sort dumps; use weak refs to
6045           break reference loops
6046         * installcheck/Amanda_DB_Catalog.pl: tests
6047         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref
6048         * server-src/amvault.pl: update to match
6049         * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host,
6050           match_disk, and match_datestamp, and document dumps_match_dumpspecs
6051
6052 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
6053         * device-src/ndmp-device.c, device-src/rait-device.c,
6054           device-src/s3-device.c, device-src/tape-device.c,
6055           device-src/vfs-device.c: Set volume_header with the written header
6056           when opened in write mode.
6057
6058 2010-01-21  Jean-Louis Martineau <martineau@zmanda.com>
6059         * perl/Amanda/Report/human.pm: Many fix.
6060         * server-src/amreport_new.pl: Many fix.
6061
6062 2010-01-18  Jean-Louis Martineau <martineau@zmanda.com>
6063         * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines.
6064         * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP
6065                                data path.
6066
6067 2010-01-19  Paul C. Mantz <pcmantz@zmanda.com>
6068         * installcheck/amreport.pl: made output checks ignore spacing
6069
6070 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6071         * ndmp-src/ndmpconnobj.c: even better logging for connection setup and
6072           close
6073
6074 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6075         * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c
6076           ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad
6077
6078 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6079         * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo
6080
6081 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6082         * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so
6083           that the scribe can cancel a transfer in an error situation
6084         * installcheck/Amanda_Taper_Scribe.pl: git it an xfer
6085         * server-src/taper.pl: git it an xfer
6086
6087 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6088         * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device,
6089           and return NDMP_DEVICE_BUSY_ERR on a collision
6090         * device-src/ndmp-device.c: close the tape agent before switching
6091           connections, and before closing a device, to avoid
6092           NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the
6093           tape agent, as the mover may already be active
6094
6095 2010-01-18  Dustin J. Mitchell <dustin@zmanda.com>
6096         * restore-src/restore.c: add another htonl invocation for ipv4 address
6097
6098 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6099         * perl/Amanda/Xfer.pod: fix POD typo
6100
6101 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
6102         * perl/Amanda/Changer/robot.pm: Set drive state to unknown.
6103
6104 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6105         * perl/Amanda/Changer/compat.pm: allow multiline responses
6106         * installcheck/Amanda_Changer_compat.pl: test
6107
6108 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6109         * installcheck/Amanda_Curinfo.pl: remove spurious diag()
6110
6111 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6112         * gnulib/regenerate/regenerate: add regex module, for Mac OS X
6113           compatibility; no change in gnulib version
6114         * config/gnulib/* gnulib/*: resulting gnulib updates
6115
6116 2010-01-17  Dustin J. Mitchell <dustin@zmanda.com>
6117         * man/xml-source/amreport.8.xml: fix typo in manpage
6118
6119 2010-01-17  Jean-Louis Martineau <martineau@zmanda.com>
6120         * perl/Amanda/Changer.pm: $chg->load always read ther label.
6121         * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
6122         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm,
6123         * perl/Amanda/Changer/single.pm: $chg->load always read ther label.
6124         * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
6125         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
6126         * server-src/amlabel.pl, server-src/amrestore.pl,
6127         * server-src/amtape.pl, server-src/amvault.pl: Don't read the label.
6128
6129 2010-01-15  Paul C. Mantz <pcmantz@zmanda.com>
6130         * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl
6131           5.6 compatibility
6132
6133 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6134         * installcheck/Amanda_Changer_robot.pl: Typo.
6135
6136 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6137         * amandad-src/amandad.c: iread errfd and close it on termination.
6138
6139 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6140         * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add
6141           update '1-4=' syntax to mark slot as being in unknown state.
6142         * man/xml-source/amanda-changers.7.xml: Document new syntax.
6143         * installcheck/Amanda_Changer_multi.pl: Test new syntax.
6144         * installcheck/Amanda_Changer_robot.pl: Test new syntax.
6145
6146 2010-01-15  Jean-Louis Martineau <martineau@zmanda.com>
6147         * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for
6148                                                   skip disk.
6149         * server-src/diskfile.c (disable_skip_disk): New function to set todo
6150                                                      to 0 for skip disk.
6151         * server-src/diskfile.h (disable_skip_disk): Add prototype.
6152         * server-src/amcheck.c, server-src/driver.c, server-src/planner.c
6153           server-src/reporter.c: Call disable_skip_disk.
6154
6155 2010-01-14  Jean-Louis Martineau <martineau@zmanda.com>
6156         * perl/Makefile.am: typo.
6157
6158 2010-01-14  Paul C. Mantz <pcmantz@zmanda.com>
6159         * server-src/amreport_new.pl: amreport rewrite in perl
6160         * perl/Amanda/Report.pm perl/Amanda/Report/human.pm
6161           perl/Amanda/Report/xml.pm: factored out output formats and
6162           added legacy format
6163         * perl/Makefile.am server-src/Makefile.am: makefile changes
6164         * contrib/amreport.rnc: amreport xml spec in RelaxNG
6165
6166 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6167         * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg:
6168           make device_listen and device_accept callable anywhere; be explicit
6169           about conn refcount from accept
6170         * device-src/ndmp-device.c: don't call device_use_connection, as
6171           that method requires ACCESS_NULL
6172         * restore-src/restore.c: fix typo
6173
6174 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6175         * server-src/taper.pl: fix taper writing status too quickly
6176
6177 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6178         * client-src/client_util.c: fix to send the --direct-tcp and
6179           --data-path arguments to applications
6180         * client-src/sendbackup.c: add a bit of debugging to sendbackup
6181
6182 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6183         * restore-src/restore.c: add missing htonl to restore.c for ipv4
6184           address; fix typo
6185
6186 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6187         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging
6188           messages, including a fancy connection ID to help debug problems
6189           using the wrong NDMP connection at the wrong time
6190
6191 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6192         * device-src/ndmp-device.c: work around record_size bug in ndmjob
6193
6194 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6195         * installcheck/amfetchdump.pl: check restored files more closely
6196
6197 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6198         * installcheck/taper.pl: taper installcheck to run multiple dumps
6199           on a spanned NDMP device
6200
6201 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6202         * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache 
6203         * installcheck/Installcheck/Mock.pm: add a way to revive it for
6204           recovery tests
6205         * installcheck/amfetchdump.pl: use it
6206
6207 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6208         * device-src/ndmp-device.c: correctly handle devices while they are
6209           coming online after a load
6210
6211 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6212         * ndmp-src/scsiconst.h: fix typo in constant name
6213
6214 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6215         * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as
6216           'blank', mark them as unknown
6217
6218 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6219         * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems
6220           with several
6221
6222 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6223         * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling
6224
6225 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6226         * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE
6227           MEDIUM
6228
6229 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6230         * device-src/ndmp-device.c: fix parsing of device node in ndmp-device
6231
6232 2010-01-13  Dustin J. Mitchell <dustin@zmanda.com>
6233         * device-src/ndmp-device.c: fix dangling reference
6234
6235 2010-01-11  Dustin J. Mitchell <dustin@zmanda.com>
6236         * common-src/Makefile.am common-src/fileheader-test.c: new test
6237         * common-src/fileheader.c common-src/fileheader.h: validate a lot
6238           of inputs; use g_debug; handle compressed/comp_suffix and
6239           encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix
6240           bug in parsing empty heredoc
6241         * device-src/amtapetype.pl: add 'program' to header
6242         * installcheck/Amanda_Xfer.pl: add 'program' to header
6243         * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd
6244           and document interrelationships of fields
6245
6246 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6247         * perl/Makefile.am: don't build useless static versions of perl libs
6248
6249 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6250         * device-src/xfer-source-taper.c: make element cancellation work
6251
6252 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6253         * perl/Amanda/Xfer.swg: allow xfer elements to be compared for
6254           identity
6255
6256 2010-01-08  Dustin J. Mitchell <dustin@zmanda.com>
6257         * common-src/simpleprng.c common-src/simpleprng.h: add a method to
6258           extract the current seed from the PRNG state
6259         * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed()
6260         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
6261
6262 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
6263         * installcheck/Amanda_Curinfo.pl: fixed optional dependency on
6264           Text::Diff
6265
6266 2010-01-07  Paul C. Mantz <pcmantz@zmanda.com>
6267         * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h
6268         * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo
6269         * installcheck/Amanda_Curinfo.pl: installcheck
6270         * perl/Makefile.am installcheck/Makefile.am: makefile additions
6271
6272 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
6273         * ndmp-src/ndma_tape.c: halt on media error
6274         * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c
6275           ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove
6276           NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR
6277         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add
6278           NDMP9_MOVER_HALT_MEDIA_ERROR
6279
6280 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
6281         * perl/Makefile.am: add a dependency to run swig if the .pod is modified.
6282
6283 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
6284         * perl/Amanda/NDMP.pod: fix %}.
6285
6286 2010-01-06  Jean-Louis Martineau <martineau@zmanda.com>
6287         * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error.
6288
6289 2010-01-06  Dustin J. Mitchell <dustin@zmanda.com>
6290         * perl/Amanda/NDMP.pod: typo
6291         * perl/Amanda/NDMP.swg: actually include POD
6292
6293 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
6294         * device-src/device.c device-src/device.h: remove conn argument from
6295           read_to_connection and write_from_connection; check for ACCESS_NULL
6296         * device-src/ndmp-device.c: remove conn argument, call use_connection
6297           from accept_impl
6298         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl
6299           perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c
6300           device-src/xfer-dest-taper-directtcp.c: don't supply conn argument,
6301           call use_connection at the appropriate time
6302
6303 2010-01-05  Dustin J. Mitchell <dustin@zmanda.com>
6304         * device-src/ndmp-device.c: add an eject() implementation
6305
6306 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6307         * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that
6308           ndmjob does not output logging info to stdout during installchecks
6309
6310 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6311         * perl/amglue/directtcp.swg: don't use inet_ntoa until in is
6312           initialized
6313
6314 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6315         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton
6316           pattern and the identifiers that supported it
6317         * device-src/ndmp-device.c: don't worry about idents
6318         * perl/Amanda/Changer/ndmp.pm: don't worry about idents
6319         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document
6320         * installcheck/Amanda_NDMP.pl: change tests
6321
6322 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6323         * device-src/device.c device-src/device.h: change can_use_connection
6324           to the imperative use_connection
6325         * device-src/ndmp-device.c: implement use_connection
6326         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
6327           device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c:
6328           add a use_device method, start_part no longer needs a device
6329         * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod
6330           perl/Amanda/XferServer.swg: SWIG it 
6331         * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part
6332         * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it
6333
6334 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6335         * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests
6336           on WANT_NDMP
6337
6338 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6339         * perl/amglue/directtcp.swg: initialize the other struct in_addr by
6340           member name, too (see 2009-12-29)
6341
6342 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6343         * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks
6344         * installcheck/Installcheck/Mock.pm: use chg-ndmp directly
6345         * installcheck/mock/chg-ndmjob.pl: remove
6346         * installcheck/Amanda_Changer_ndmp.pl: new test
6347         * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl
6348           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
6349           installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for
6350           tests via I::Mock
6351         * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every
6352           time, process sense data correctly, use correct element addresses
6353           for MOVE MEDIUM
6354
6355 2010-01-04  Jean-Louis Martineau <martineau@zmanda.com>
6356         * common-src/bsd-security.c, common-src/bsdtcp-security.c,
6357           common-src/bsdudp-security.c: Check service != NULL.
6358
6359 2010-01-04  Dustin J. Mitchell <dustin@zmanda.com>
6360         * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c
6361           ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h
6362           ndmp-src/ndmos_common.c ndmp-src/Makefile.am
6363           ndmp-src/ndma_robot_simulator.c: add robot simulator
6364         * ndmp-src/ndmos_glib.h: use robot simulator
6365         * ndmp-src/scsiconst.h: fix typo
6366
6367 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6368         * ndmp-src/ndma_tape.c: remove ndmta_belay
6369         * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use
6370           NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator
6371
6372 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6373         * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the
6374           scan
6375
6376 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6377         * perl/amglue/directtcp.swg: initialize struct in_addr by member name
6378
6379 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6380         * installcheck/Makefile.am: sort tests
6381         * installcheck/=setupcache.pl: rename _setupcache so it sorts first
6382
6383 2009-12-29  Dustin J. Mitchell <dustin@zmanda.com>
6384         * perl/Amanda/Config.swg: fix return type for config_init
6385         * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans
6386
6387 2009-12-24  Charles Curley <charlescurley@charlescurley.com>
6388         * README: rewrite
6389
6390 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6391         * device-src/s3-device.c: don't set the throttling properties unless
6392           they are nonzero
6393
6394 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6395         * perl/Makefile.am: only build chg-ndmp when WANT_NDMP
6396
6397 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6398         * perl/Amanda/Changer/ndmp.pm: set device authentication properties
6399         * perl/Makefile.am: actually include ndmp.pm
6400         * perl/Amanda/Device.pod: doc extended property_get
6401         * man/xml-source/amanda-changers.7.xml: document properties
6402
6403 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6404         * common-src/fileheader.c: try to generate parsable headers
6405         * perl/Amanda/Header.swg: add default values
6406         * server-src/amrestore.pl: fix typo
6407         * installcheck/amrestore.pl: ndmp-device test (not using directtcp
6408           yet)
6409
6410 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6411         * device-src/s3.c: recent versions of curl switched from #define
6412           to enum, so #ifdef no longer works; test specific versions
6413           instead
6414
6415 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6416         * ndmp-src/ndma_ctrl_robot.c: show error messages
6417
6418 2009-12-23  Dustin J. Mitchell <dustin@zmanda.com>
6419         * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt
6420
6421 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6422         * device-src/s3.c: remove debugging info
6423
6424 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6425         * device-src/s3.c: only including throttling code if the precompiler
6426           symbols are present
6427
6428 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6429         * device-src/ndmp-device.c: fix TAPEEND handling in seek_file
6430         * installcheck/Amanda_Device.pl: test it
6431
6432 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6433         * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the
6434           source generated with rpcgen contains constructs that cause
6435           warnings for which earlier gcc's have no -Wno-xxx option
6436         * configure.in: revert disabled warnings
6437
6438 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6439         * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize
6440
6441 2009-12-22  Dustin J. Mitchell <dustin@zmanda.com>
6442         * device-src/s3.c device-src/s3.h: add max send and receive speeds
6443         * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and
6444           PROPERTY_MAX_RECV_SPEED
6445         * man/xml-source/amanda-devices.7.xml: document
6446
6447 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6448         * ndmp-src/Makefile.am configure.in: conditionalize warnings which
6449           are not present on all gcc version
6450         * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c
6451           ndmp-src/ndmjob_main_util.c: fix warnings
6452         * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned
6453           long long constant should end in 'ull'
6454
6455 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6456         * installcheck/Amanda_NDMP.pl: add auth parameter here too
6457
6458 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6459         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth
6460           parameter with four options
6461         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
6462         * device-src/ndmp-device.c: add NDMP_AUTH property
6463         * man/xml-source/amanda-devices.7.xml: doc it
6464         * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property
6465         * man/xml-source/amanda-changers.7.xml: doc it
6466
6467 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6468         * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob
6469         * ndmp-src/*.c: fix warnings, mostly sign differences
6470
6471 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6472         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count
6473           return value to ndmp_connection_tape_mtio
6474         * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it
6475         * installcheck/Amanda_NDMP.pl: test it
6476         * installcheck/Makefile.am: actually run Amanda_NDMP tests
6477         * device-src/ndmp-device.c: compatible change
6478
6479 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6480         * man/xml-source/amanda.8.xml: remove amdd
6481
6482 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6483
6484         * changer-src/Makefile.am changer-src/chg-rait.sh
6485           changer-src/chg-null.sh: restore deleted files
6486
6487 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6488         * man/xml-source/amanda-devices.7.xml: update NDMP Device docs
6489
6490 2009-12-21  Dustin J. Mitchell <dustin@zmanda.com>
6491         * autogen: do not use sed --in-place
6492
6493 2009-12-20  Dustin J. Mitchell <dustin@zmanda.com>
6494         * man/xml-source/amgetconf.8.xml: fix formatting error by putting
6495           <note> on its own line
6496
6497 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
6498         * installcheck/Installcheck.pm: disable log_test_output on perl-5.6
6499
6500 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
6501         * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer
6502         * man/xml-source/amanda-changers.7.xml: docs
6503         * perl/Amanda/Changer.pm: better error handling
6504         * perl/Amanda/Changer/robot.pm: changes for subclassing
6505
6506 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
6507         * server-src/driver.c: Don't call validate_optionstr for flush dles.
6508
6509 2009-12-18  Dustin J. Mitchell <dustin@zmanda.com>
6510         * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS
6511         * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS
6512         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component
6513         * installcheck/Amanda_Device.pl: add ndmp-only tests
6514         * installcheck/Amanda_Xfer.pl: add server-only tests
6515         * installcheck/Amanda_Device_ndmp.pl: remove
6516         * installcheck/Amanda_Xfer_serveronly.pl: remove
6517         * installcheck/Makefile.am: remove files
6518         * installcheck/taper.pl: conditionalize ndmp tests
6519         * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda
6520
6521 2009-12-18  Jean-Louis Martineau <martineau@zmanda.com>
6522         * server-src/amtrmidx.c: Check index entry will all dles using the
6523                                  same index directory.
6524
6525 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
6526         * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
6527           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm,
6528           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
6529           perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl,
6530           Split the 'inuse' code into 'driveinuse' and 'volinuse'.
6531         * installcheck/Amanda_Changer_compat.pl,
6532           installcheck/Amanda_Changer_disk.pl,
6533           installcheck/Amanda_Changer_multi.pl,
6534           installcheck/Amanda_Changer_rait.pl,
6535           installcheck/Amanda_Changer_robot.pl,
6536           installcheck/Amanda_Changer_single.pl:
6537           Use 'driveinuse' and 'volinuse'.
6538
6539 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
6540         * common-src/conffile.c: etimeout must be positive.
6541         * common-src/protocol.c: Fix possible timeout of 0.
6542
6543 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
6544         * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file.
6545           Add a few debugging output.
6546
6547 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
6548         * server-src/amcheckdump.pl: Call $res->release() with a callback.
6549
6550 2009-12-17  Jean-Louis Martineau <martineau@zmanda.com>
6551         * server-src/amcheck-device.pl, server-src/amcheckdump.pl,
6552           server-src/amrestore.pl,
6553           server-src/amvault.pl: Call $res->set_label after $dev->read_label.
6554
6555 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
6556         * installcheck/Amanda_Changer_robot.pl: fix installchecks
6557
6558 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
6559         * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to
6560           subclass
6561
6562 2009-12-16  Dustin J. Mitchell <dustin@zmanda.com>
6563         * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi,
6564           based on example/chg-multi.conf
6565
6566 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
6567         * device-src/ndmp-device.c: use err_code, instead of err_msg, to
6568           detect an NDMPConnection error
6569
6570 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
6571         * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types
6572
6573 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
6574         * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove
6575           drive if the pid is dead.
6576
6577 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
6578         * server-src/diskfile.c: Add validate_optionstr,  optionstr and
6579           xml_optionstr no longer do validation..
6580         * server-src/diskfile.h: Add validate_optionstr, change prototype for
6581           optionstr and xml_optionstr.
6582         * server-src/amadmin.c: Add missing case.
6583         * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c:
6584           Use validate_optionstr, Change for new *_optionstr prototype.
6585         * server-src/driver.c: Use validate_optionstr.
6586         * server-src/driverio.c: Change for new *_optionstr prototype.
6587         * installcheck/amdump.pl: Check planner error from validate_optionstr.
6588
6589 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
6590         * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c
6591           ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with
6592           an error set instead of just returning an error from the constructor
6593         * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj
6594         * perl/Amanda/NDMP.pod: docs for same
6595
6596 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
6597         * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_*
6598
6599 2009-12-15  Dustin J. Mitchell <dustin@zmanda.com>
6600         * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care
6601           when used in an outgoing typemap, due to stack stomping
6602         * perl/Amanda/Archive.swg perl/Amanda/Config.swg
6603           perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c
6604           perl/amglue/integers.swg: exercise care as directed
6605
6606 2009-12-15  Jean-Louis Martineau <martineau@zmanda.com>
6607         * recover-src/extract_list.c: Wait to parse the header before
6608           confirming destination directory. Unlink files only for GNUTAR
6609           and amgtar.
6610         * client-src/client_util.c: Parse RECOVER-PATH application support
6611                                     result.
6612         * client-src/client_util.h: Add recover_path_t.
6613
6614 2009-12-14  Dustin J. Mitchell <dustin@zmanda.com>
6615         * contrib/convert-zd-mtx-to-robot.sh: useful conversion script
6616         * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script
6617         * perl/Amanda/Changer/robot.pm: allow spaces between times and units
6618
6619 2009-12-14  Jean-Louis Martineau <martineau@zmanda.com>
6620         * server-src/amtape.pl: Call $res->set_label after reading a label.
6621
6622 2009-12-13  Dustin J. Mitchell <dustin@zmanda.com>
6623         * server-src/taper.pl: put header socket in blocking mode
6624
6625 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
6626         * perl/Amanda/Process.pm: Remove unneded 'use'.
6627         * perl/Makefile.am: Build Amanda::Process on client.
6628
6629 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
6630         * perl/Amanda/Changer/disk.pm: 'next' always set current_slot.
6631
6632 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
6633         * perl/Amanda/Changer/multi.pm: New changer.
6634         * perl/Makefile.am: Build Amanda::Changer::multi
6635         * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi
6636         * installcheck/Amanda_Changer_multi.pl: installcheck for multi.
6637         * installcheck/Makefile.am: build and test Amanda_Changer_multi.
6638         * perl/Amanda/Util.swg: Add is_pid_alive.
6639         * perl/Amanda/Util.pod: Document is_pid_alive.
6640
6641 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
6642         * server-src/amstatus.pl: Use wrong indice.
6643         * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts.
6644
6645 2009-12-11  Dustin J. Mitchell <dustin@zmanda.com>
6646         * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP
6647         * server-src/driverio.c: do not send datapath to taper
6648         * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP
6649         * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle
6650           changed on-tape format
6651         * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup
6652         * ndmp-src/ndma_tape.c: fix typos
6653         * NEWS: document behavior changes
6654
6655 2009-12-11  Jean-Louis Martineau <martineau@zmanda.com>
6656         * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h
6657           server-src/driver.c server-src/driverio.c server-src/dumper.c
6658           server-src/taper.pl: Change protocol between chunker/taper and dumper:
6659           "PORT header_port  data_host:data_port", and dumper sends the header
6660           completely before sending the data
6661
6662 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
6663         * ndmp-src/ndmpconnobj.c: fix uninitialized variable
6664
6665 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
6666         * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c
6667           device-src/Makefile.am: new class
6668         * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document
6669         * installcheck/Amanda_Xfer_serveronly.pl: tests
6670         * perl/amglue/directtcp.swg: return undef for null addrs array
6671         * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY
6672
6673 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
6674         * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation
6675         * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args
6676         * installcheck/Amanda_Device_ndmp.pl: new tests
6677
6678 2009-12-10  Dustin J. Mitchell <dustin@zmanda.com>
6679         * xfer-src/element-glue.c: element-glue shouldn't complain when the
6680           xfer's already been cancelled
6681
6682 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
6683         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num
6684           according to the spec (even though it's inconsistent)
6685
6686 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
6687         * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window
6688           offset+length = G_MAXUINT64
6689
6690 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
6691         * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to
6692           connection
6693
6694 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
6695         * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c
6696           ndmp-src/ndmagents.h: make mover seek to correct block number
6697
6698 2009-12-09  Dustin J. Mitchell <dustin@zmanda.com>
6699         * common-src/simpleprng.c: better error message from simpleprng on
6700           random number mismatch
6701         * common-src/simpleprng.h: simpleprng_state_t is now a real struct
6702         * xfer-src/dest-null.c: no need to give buffer offset anymore
6703
6704 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
6705         * recover-src/extract_list.c: Fix for GNUTAR/DUMP.
6706         * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for
6707           reading from a holding disk.
6708
6709 2009-12-08  Jean-Louis Martineau <martineau@zmanda.com>
6710         * device-src/device.c, device-src/device.h:
6711           Add device_unaliassed_name function.
6712         * perl/Amanda/Device.swg: Add unaliassed_name function.
6713
6714 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
6715         * restore-src/restore.c: Fix read_to_connection argument.
6716
6717 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6718         * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove
6719           unnecessary include
6720
6721 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6722         * common-src/directtcp.h: mention IP byte order
6723         * perl/amglue/directtcp.swg device-src/device.c device-src/device.h
6724           perl/Amanda/Device.swg: use guint64 instead of gsize for read/write
6725           lengths; directtcp_supported is a boolean class attribute instead of a
6726           method; listen takes a for_writing argument; SWIG directtcp methods
6727         * perl/Amanda/Device.pod: document LEOM handling, new methods
6728         * device-src/directtcp-connection.c: call parent's finalize
6729         * restore-src/restore.c: pass correct for_writing to listen
6730
6731 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6732         * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe
6733         * ndmp-src/ndmagents.h: expand drive_name to 256 bytes
6734
6735 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6736         * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h:
6737           new class to encapsulate all of the NDMP transactions without
6738           requiring weird precompiler macros
6739
6740 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6741         * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code
6742           triggered by long filenames in buildbots
6743
6744 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6745         * xfer-src/element-glue.c: one more uninitialized variable
6746
6747 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
6748         * device-src/device.h, device-src/device.c,
6749           man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod
6750           perl/Amanda/Device.swg: Add an eject method to the device-api.
6751         * device-src/tape-device.c, device-src/tape-ops.h,
6752           device-src/tape-posix.c, device-src/tape-uware.c,
6753           device-src/tape-aix.c,
6754           device-src/tape-xenix.c: Implement eject method.
6755         * perl/Amanda/Changer/robot.pm: Use new eject method.
6756
6757 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6758         * device-src/dvdrw-device.c: fix uninitialized variable, don't use
6759           G_DEFINE_DEVICE
6760
6761 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6762         * xfer-src/element-glue.c: fix uninitialized use of variable
6763
6764 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6765         * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for
6766           XFER_MECH_DIRECTTCP_LISTEN (source reorganized)
6767         * xfer-src/xfer-test.c: tests for same
6768         * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod
6769           perl/Amanda/Xfer.swg: new class
6770         * xfer-src/source-directtcp-listen.c: bugfix
6771         * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c
6772           xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks
6773         * common-src/testutils.c: support for leak-checking
6774         * xfer-src/dest-buffer.c xfer-src/dest-null.c
6775           server-src/xfer-source-holding.c device-src/xfer-dest-device.c
6776           device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c
6777           device-src/xfer-source-taper.c: use revised error-handling
6778         * perl/amglue/source.c: fix refcount problem
6779         * xfer-src/Makefile.am: new files
6780
6781 2009-12-07  Dustin J. Mitchell <dustin@zmanda.com>
6782         * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm
6783           installcheck/Makefile.am: new mock changer for ndmjob
6784         * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h
6785           ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and
6786           PEOM) support to the tape simulator
6787
6788 2009-12-07  Sam Couter <sam@couter.id.au>
6789         * AUTHORS: add Sam to AUTHORS
6790         * device-src/device.c device-src/Makefile.am
6791           device-src/dvdrw-device.c: new dvd-rw device
6792         * configure.in config/amanda/dvdrw-device.m4: config
6793           for it
6794         * device-src/vfs-device.c device-src/vfs-device.h: enable
6795           subclassing of VFS device
6796         * man/xml-source/amanda-devices.7.xml: documentation
6797         * server-src/amcheck-device.pl: add usage() sub
6798
6799 2009-12-07  Sam Couter <sam@couter.id.au>
6800         * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree
6801                                           builds work
6802
6803 2009-12-07  Jean-Louis Martineau <martineau@zmanda.com>
6804         * client-src/calcsize.c: fix check_running_as.
6805
6806 2009-12-06  Dustin J. Mitchell <dustin@zmanda.com>
6807         * client-src/client_util.c: revert previous change
6808
6809 2009-12-05  Sam Couter <sam@couter.id.au>
6810         * client-src/client_util.c: Free correct memory
6811
6812 2009-12-05  Dustin J. Mitchell <dustin@zmanda.com>
6813         * config/automake/scripts.am: remove unnecessary -T
6814         * perl/Amanda/BigIntCompat.pm: remove unused $stringify
6815
6816 2009-12-04  Jean-Louis Martineau <martineau@zmanda.com>
6817         * server-src/amcheck.c: Give error if pre-host-backup or
6818                                 post-host-backup are executed on client.
6819         * man/xml-source/amanda.conf.5.xml: Document it.
6820
6821 2009-12-03  Paul C. Mantz <pcmantz@zmanda.com>
6822         * server-src/tapefile.c server-src/tapefile.h
6823           perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl:
6824           added and swigged get_last_reusable_tape_label(). 
6825         
6826 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
6827         * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse
6828                                                  error.
6829
6830 2009-12-02  Jean-Louis Martineau <martineau@zmanda.com>
6831         * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error.
6832
6833 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6834         * perl/Amanda/Device.swg: #include "glib-util.h".
6835
6836 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6837         * common-src/conffile.c: Fix conf_init_data_path argument type.
6838         * common-src/debug.c: Use gpointer.
6839         * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c:
6840           #include "util.h" for set_pname prototype.
6841         * ndmp-src/ndma_cops_backreco.c: Add prototype.
6842         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c:
6843           Rename version_info to ndmjob_version_info to avoid conflict.
6844
6845 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6846         * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api.
6847         * installcheck/Amanda_Logfile.pl: Fix for perl-5.6.
6848         * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6.
6849
6850 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6851         * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c
6852
6853 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6854         * server-src/find.c: Fix for older log entry.
6855         * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t.
6856         * perl/Amanda/Logfile.pod: Add totalparts.
6857         * installcheck/Amanda_Logfile.pl: Fix for new totalparts in
6858                                           find_result_t.
6859
6860 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6861         * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable.
6862
6863 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6864         * perl/Amanda/Changer/single.pm: Use except_slot,
6865                                          It is not fast searchable.
6866
6867 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6868         * server-src/find.h: Keep partnum and totalparts as int.
6869         * server-src/find.c: Compute totalparts if -1.
6870         * perl/Amanda/Logfile.swg: Change api.
6871         * restore-src/amfetchdump.c, restore-src/restore.c,
6872           server-src/amcheckdump.pl, server-src/amindexd.c: Use new api.
6873
6874 2009-12-01  Jean-Louis Martineau <martineau@zmanda.com>
6875         * ndmp-src/Makefile.am: Build ndmjob with original tape simulator.
6876                                 Build amndmjob with modifier tape simulator.
6877         * ndmp-src/amndma_tape_simulator.c: The modified tape simulator.
6878         * ndmp-src/amndmjob_main.c: Main amndmjob program.
6879         * ndmp-src/ndma_tape_simulator.c: The original tape simulator.
6880
6881 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
6882         * server-src/amstatus.pl: Small fix.
6883
6884 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
6885         * server-src/taper.pl: Fix quote_string use.
6886
6887 2009-11-27  Jean-Louis Martineau <martineau@zmanda.com>
6888         * server-src/amstatus.pl: Display % done on port-write.
6889         * device-src/xfer-device.h: New get_part_bytes_written method in
6890                                     XferDestTaperClass.
6891         * device-src/xfer-dest-taper.c: new
6892                         xfer_dest_taper_get_part_bytes_written function.
6893         * device-src/xfer-dest-taper-splitter.c: New 
6894                         get_part_bytes_written_impl function.
6895         * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method.
6896         * perl/Amanda/XferServer.swg: swig
6897                                       xfer_dest_taper_get_part_bytes_written.
6898         * server-src/taper.pl: Update status file every 5 seconds.
6899         * perl/Amanda/Xfer.pod: Document get_part_bytes_written.
6900
6901 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6902         * installcheck/Amanda_Holding.pl: add one more unary +
6903
6904 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6905         * installcheck/Amanda_IPC_LineProtocol.pl: use , instead
6906           of => when the left-hand-side shouldn't be quoted
6907
6908 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6909         * installcheck/Amanda_Config.pl installcheck/taper.pl
6910           perl/Amanda/Config.swg server-src/amrestore.pl
6911           server-src/taper.pl: handle older perls' bad conversions
6912           from BigInt to integers or strings
6913
6914 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6915         * installcheck/Amanda_Holding.pl installcheck/amrestore.pl:
6916           use unary + before the arguments to sort, since perl-5.6's
6917           parser gets confused otherwise
6918
6919 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6920         * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors
6921           to strings, since older perls' Test::More::is_deeply do not
6922           handle this well
6923
6924 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6925         * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks
6926           from the constructor, since => quotes its left-hand side
6927         * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message
6928           callbacks
6929
6930 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6931         * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path
6932           expects the path to point to a directory, not a file
6933
6934 2009-11-27  Dustin J. Mitchell <dustin@zmanda.com>
6935         * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm
6936           perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use
6937           constant with a hash of constants.
6938
6939 2009-11-26  Jean-Louis Martineau <martineau@zmanda.com>
6940         * application-src/*.pl: Remove $action from all function arguments.
6941         * installcheck/pp-scripts.pl: Fix for new output of amlog-script.
6942         * perl/Amanda/Application/Zfs.pm: Remove $action from all function
6943                                           arguments.
6944         * perl/Amanda/Script_App.pm: Set $self->{action}.
6945
6946 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
6947         * restore-src/restore.c: Always do data_path exchange.
6948
6949 2009-11-25  Dustin J. Mitchell <dustin@zmanda.com>
6950         * client-src/calcsize.c: fix check_running_as
6951
6952 2009-11-25  Jean-Louis Martineau <martineau@zmanda.com>
6953         Patch by Dustin J. Mitchell <dustin@zmanda.com>
6954         * server-src/amcheckdump.pl: Fix hang in MainLoop.
6955
6956 2009-11-24  Jean-Louis Martineau <martineau@zmanda.com>
6957         * server-src/amindexd.c: Reduce logging.
6958
6959 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
6960         * perl/amglue/amglue.swg: Remove %begin section, we don't want to
6961                                   require swig 1.3.39.
6962
6963 2009-11-23  Jean-Louis Martineau <martineau@zmanda.com>
6964         * device-src/s3-device.c: First include "amanda.h".
6965         * perl/Amanda/Cmdline.swg: include "amanda.h".
6966         * perl/amglue/amglue.h: include "../config/config.h"
6967         * perl/amglue/amglue.swg: %begin include ../config/config.h"
6968
6969 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
6970         * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello.
6971
6972 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
6973         * common-src/stream.c common-src/util.c: use g_debug instead
6974           of dbprintf
6975
6976 2009-11-20  Jean-Louis Martineau <martineau@zmanda.com>
6977         * Revert to previous gnulib, keep fseeko, ftello.
6978
6979 2009-11-20  Dustin J. Mitchell <dustin@zmanda.com>
6980         * ndmp-src/ndmjob_args.c: add "-o test-daemon"
6981         * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon
6982           when stdin closes
6983         * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype
6984         * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to
6985           automatically kill the daemon when the test finishes
6986
6987 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6988         * common-src/amanda.h: Remove define of _LARGE_FILES.
6989         * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES.
6990
6991 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
6992         * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for
6993           callback_sv, and hang onto the src through the callback invocation
6994
6995 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6996         * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp
6997
6998 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
6999         * gnulib/*, config/gnulib/*: Update gnulib
7000                                      Use getopt-gnu instead of getopt
7001                                      Add fseeko and ftello
7002                                      Remove visibility
7003
7004 2009-11-19  Dustin J. Mitchell <dustin@zmanda.com>
7005         * config/amanda/progs.m4: require swig-1.3.32, as previous versions
7006           don't handle empty C strings correctly
7007
7008 2009-11-13  Dustin J. Mitchell <dustin@zmanda.com>
7009         * perl/Amanda/Device.pod perl/Amanda/Device.swg
7010           device-src/device.c device-src/device.h: add is_eom
7011         * device-src/rait-device.c
7012           device-src/s3-device.c device-src/tape-device.c
7013           device-src/vfs-device.c device-src/null-device.c: set is_eom
7014           and is_eof correctl
7015         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h:
7016           add an eom attribute to XMsgs
7017         * device-src/xfer-dest-taper-splitter.c: set the attribute
7018         * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success
7019
7020 2009-11-19  Jean-Louis Martineau <martineau@zmanda.com>
7021         * application-src/amgtar.c, application-src/amstar.c: Print restore
7022           and validate command with debug_executing.
7023         * common-src/util.c: New debug_executing function.
7024         * common-src/util.h: New debug_executing prototype.
7025
7026 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7027         * restore-src/amfetchdump.c: Small memory leak.
7028         * restore-src/restore.c, restore-src/restore.h: Many change to fix
7029           what was broken in previous patch.
7030
7031 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7032         * application-src/amgtar.c,
7033           application-src/amstar.c: Fix if none of --disk or --device is set.
7034
7035 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7036         * server-src/tapefile.c: Fix if list_new_tapes return NULL.
7037
7038 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7039         * server-src/amcheck.c, server-src/driver.c,
7040           server-src/planner.c: Do sanity check for DIRECT-TCP data-path.
7041
7042 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7043         * application-src/amgtar.c, application-src/ampgsql.pl,
7044         * application-src/amraw.pl, application-src/amsamba.pl,
7045         * application-src/amstar.c, application-src/amsuntar.pl,
7046         * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl:
7047           They can get either --disk or --device or both.
7048
7049 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7050         * server-src/tapefile.c: New list_new_tapes function.
7051         * server-src/tapefile.h: Prototype for list_new_tapes function.
7052         * perl/Amanda/Tapelist.swg: swig of list_new_tapes.
7053
7054 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7055         * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c,
7056           ndmp-src/ndmjob_main_util.c: Use g_debug for logging.
7057
7058 2009-11-18  Dustin J. Mitchell <dustin@zmanda.com>
7059         * device-src/directtcp-target.c
7060           device-src/directtcp-target.h: Removed files.
7061         * device-src/device.c,
7062           device-src/device.h: New device directtcp api.
7063         * device-src/directtcp-connection.c,
7064           device-src/directtcp-connection.h: directtcp_connection and
7065           directtcp_connection_socket object.
7066         * device-src/Makefile.am: Remove directtcp-target.*
7067                                   Add directtcp-connection.*
7068         * restore-src/restore.c,
7069           restore-src/restore.h: Fix for new device directtcp api.
7070
7071 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7072         * server-src/chunker.c: Fix checking result of full_write.
7073
7074 2009-11-18  Jean-Louis Martineau <martineau@zmanda.com>
7075         * server-src/dumper.c,
7076           common-src/security-util.c: Correctly report write error.
7077
7078 2009-11-13 Dan Locks <dwlocks@zmanda.com>
7079         *  packaging/deb/control: update to use shlibs:Depends and
7080            perl:Depends
7081         *  packaging/deb/rules: tweak build dirs for clarity, update shlibs
7082            invocation, remove unneeded debhelper commands.
7083         *  packaging/deb/amanda-backup-server.substvars, 
7084            packaging/deb/amanda-backup-client.substvars: delete. These files
7085            are generated at build time
7086
7087 2009-11-13 Dan Locks <dwlocks@zmanda.com>
7088         *  packaging/deb/buildpkg: delete unused functions, detect and add 
7089            distro/release tag to version number changelog prior to build
7090
7091 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
7092         * recover-src/extract_list.c: Enable DATA-PATH.
7093         * restore-src/restore.c: Enable DATA-PATH.
7094         * restore-src/restore.h: Enable DATA-PATH.
7095         * common-src/amfeatures.c: Add fe_amidxtaped_datapath.
7096         * common-src/amfeatures.h: Add fe_amidxtaped_datapath
7097         * common-src/conffile.c: Improve error message.
7098         * device-src/directtcp-target.h: Improve comment.
7099
7100 2009-11-12  Jean-Louis Martineau <martineau@zmanda.com>
7101         * client-src/client_util.c, common-src/util.c,
7102           server-src/changer.c: Fix memory leak.
7103
7104 2009-11-11  Jean-Louis Martineau <martineau@zmanda.com>
7105         * ndmp-src/ndma_tape.c: Fix crash.
7106
7107 2009-11-09  Dustin J. Mitchell <dustin@zmanda.com>
7108         * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts
7109           in the header are set by the caller
7110         * server-src/taper.pl: set them
7111         * installcheck/taper.pl: test that on-device headers are correct
7112
7113 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
7114         * restore-src/restore.c: Handle directtcp device.
7115         * restore-src/restore.h: Handle directtcp device.
7116         * device-src/directtcp-target.h (read_to_connection): Fix comment.
7117
7118 2009-11-09  Jean-Louis Martineau <martineau@zmanda.com>
7119         * device-src/directtcp-target.c (directtcp_target_listen,
7120           directtcp_target_accept): don't assert for !self->in_file or
7121                                     self->access_mode == ACCESS_NULL.
7122
7123 2009-11-06  Dustin J. Mitchell <dustin@zmanda.com>
7124         * AUTHORS: add Ben Slusky
7125         * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change
7126           to UMD license, with Ben's permission
7127
7128 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
7129         * client-src/sendbackup-dump.c, client-src/sendsize.c:
7130           Fix compiler error if VXDUMP or VDUMP is defined.
7131
7132 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
7133         * client-src/client_util.c: close FILE instead of fd.
7134         * client-src/selfcheck.c: fix fd leak with app_stderr.
7135
7136 2009-11-05  Jean-Louis Martineau <martineau@zmanda.com>
7137         * client-src/client_util.c (merge_property, merge_properties):
7138                                                  New functions.
7139         * client-src/client_util.h: New prototypes.
7140         * common-src/conffile.c (amandaify_property_name): New function.
7141         * common-src/conffile.h (amandaify_property_name): New prototypes.
7142         * recover-src/extract_list.c: Call merge_properties, it merge property
7143           from amanda header with property set in amrecover.
7144           Report the directory property if set.
7145         * recover-src/set_commands.c: Call amandaify_property_name.
7146
7147 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
7148         * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait
7149           to be un-paused before starting to cache a part
7150         * xfer-src/dest-null.c: add additional debugging info
7151
7152 2009-11-03  Dustin J. Mitchell <dustin@zmanda.com>
7153         * device-src/Makefile.am device-src/directtcp-target.c
7154           device-src/directtcp-target.h: add new DirectTCPTarget interface, for
7155           use by devices supporting DirectTCP
7156
7157 2009-11-03  Paul C. Mantz  <pcmantz@zmanda.com>
7158         * perl/Amanda/Report.pm: added state flags
7159         * instalcheck/Amanda_Report.pl: tests
7160
7161 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
7162         * common-src/testutils.c: fix uninitialized variable, only run one
7163           test in non-fork mode
7164
7165 2009-11-02  Dustin J. Mitchell <dustin@zmanda.com>
7166
7167         * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take
7168           'first_device' and calculate slab size immediately instead of waiting
7169           for start_part
7170         * device-src/xfer-device.h: first_device parameter
7171         * perl/Amanda/XferServer.swg: swig
7172         * perl/Amanda/Xfer.pod: docs
7173         * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly
7174         * perl/Amanda/Taper/Scribe.pm: send first_device properly
7175
7176 2009-10-30  Satya Ganga <gsat@zmanda.com>
7177         * application-src/amsuntar.pl: Validate include and exclude lists
7178           before using them at restore time.
7179
7180 2009-10-30  Dustin J. Mitchell <dustin@zmanda.com>
7181         * common-src/testutils.c: do not fork if -n is given (aids debugging)
7182
7183 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
7184         * perl/Amanda/Changer/robot.pm: add barcodes to reservations
7185         * perl/Amanda/Changer.pm: document
7186         * installcheck/Amanda_Changer_robot.pl: test
7187
7188 2009-10-29  Dustin J. Mitchell <dustin@zmanda.com>
7189         * ndmp-src/ndml_log.c: use static to eliminate unnecessary global
7190
7191 2009-10-29  Satya Ganga <gsat@zmanda.com>
7192         * application-src/amgtar.c,application-src/amstar.c: Correct validation 
7193           of directory property for existence and access.
7194
7195 2009-10-29  Satya Ganga <gsat@zmanda.com>
7196         * application-src/amsamba.pl: In command line use correct
7197                                         application property names
7198
7199 2009-10-29  Jean-Louis Martineau <martineau@zmanda.com>
7200         * client-src/sendsize.c: Fix error reporting.
7201
7202 2009-10-29  Satya Ganga <gsat@zmanda.com>
7203         * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific 
7204                                  environment for NDMP
7205
7206 2009-10-28  Jean-Louis Martineau <martineau@zmanda.com>
7207         * common-src/conffile.c (free_property_t): not static.
7208         * common-src/conffile.h (free_property_t): not static.
7209         * recover-src/amrecover.c, recover-src/amrecover.h,
7210           recover-src/help.c, recover-src/set_commands.c,
7211           recover-src/uparse.y,
7212           recover-src/uscan.l: New setproperty and listproperty commands.
7213         * man/xml-source/amrecover.8.xml: Document setproperty and
7214                                           listproperty commands.
7215
7216 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
7217         * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name.
7218
7219 2009-10-27  Dustin J. Mitchell <dustin@zmanda.com>
7220         * common-src/Makefile.am common-src/directtcp.h: new file to
7221           handle common directtcp-related code
7222         * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for
7223           DirectTCPAddr
7224         * xfer-src/Makefile.am
7225           xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN
7226         * xfer-src/source-directtcp-listen.c: new source element
7227           implementing it
7228         * xfer-src/element-glue.c: stubs - no glue yet for the new mech
7229         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg
7230           perl/Makefile.am: SWIG new element
7231
7232 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
7233         * client-src/client_util.c: Add data-path and directtcp argument to
7234                                     application
7235         * client-src/selfcheck.c: Check application support the requested
7236                                   data-path
7237         * client-src/sendsize.c: Check application support the requested
7238                                  data-path
7239         * common-src/amfeatures.h: Add fe_xml_data_path and
7240                                    fe_xml_directtcp_list.
7241         * common-src/amfeatures.c: Add fe_xml_data_path and
7242                                    fe_xml_directtcp_list.
7243         * common-src/amxml.c: Parse <datapath> and <directtcp> tag.
7244         * common-src/amxml.h (dle_t): Add data_path and directtcp_list.
7245         * server-src/amcheck.c: Check client accpet datapath and directtcp tag
7246                                 in xml.
7247         * server-src/diskfile.c: Add datapath and directtcp tag
7248         * server-src/diskfile.h (disk_t): Add directtcp_list.
7249         * server-src/driver.c: Set dp->directtcp_list.
7250
7251 2009-10-27  Jean-Louis Martineau <martineau@zmanda.com>
7252         * application-src/amgtar.c, application-src/ampgsql.pl,
7253           application-src/amraw.pl, application-src/amsamba.pl,
7254           application-src/amstar.c, application-src/amsuntar.pl,
7255           application-src/amzfs-sendrecv.pl: Handle directory, include-list
7256                         and exclude-list inrestore command.
7257         * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml,
7258           man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml,
7259           man/xml-source/amstar.8.xml,
7260           man/xml-source/amsuntar.8.xml: Document them.
7261         * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory.
7262
7263 2009-10-23  Jean-Louis Martineau <martineau@zmanda.com>
7264         * client-src/client_util.c (backup_support_option): Parse DATA-PATH.
7265         * client-src/client_util.h (backup_support_option_t): Add data_path_set
7266         * common-src/conffile.h: (data_path_t): Change for bit value.
7267
7268 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
7269         * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is
7270           now always called with the slab_mutex held; both invocations of
7271           the function guarantee this.
7272
7273 2009-10-22  Dustin J. Mitchell <dustin@zmanda.com>
7274         * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost
7275         * installcheck/Installcheck.pm: close SOCK after using it
7276         * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid()
7277
7278 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
7279         * perl/Amanda/Config.swg: Swig data_path_from_string.
7280         * server-src/diskfile.c: Add dirrecti-tcp property to application.
7281         * server-src/diskfile.h (disk_s): Add directtcp.
7282         * server-src/driver.c: handle DIRECTTCP_PORT reply form taper.
7283         * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT".
7284         * server-src/server_util.h: Add DIRECTTCP_PORT.
7285         * server-src/taper.pl: Reply with DIRECTTCP-PORT.
7286
7287 2009-10-22  Jean-Louis Martineau <martineau@zmanda.com>
7288         * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob.
7289
7290 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
7291         * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS.
7292         * common-src/conffile.c: Add DATA-PATH config.
7293         * common-src/conffile.h: Add DATA-PATH config.
7294         * installcheck/taper.pl: Add AMANDA data-path.
7295         * perl/Amanda/Config.swg: Add DATA-PATH config.
7296         * server-src/amadmin.c (disklist_one): print data-path.
7297         * server-src/diskfile.c: Add dp argument to xml_application.
7298         * server-src/diskfile.h: New prototype for xml_application.
7299         * server-src/amcheck.c: Use new xml_application.
7300         * server-src/amindexd.c: Use new xml_application.
7301         * server-src/driverio.c: Send data-path to the dumper and taper,
7302                                  Use new xml_application.
7303         * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH.
7304         * server-src/planner.c: Use new xml_application.
7305         * server-src/taper.pl: Parse data-path in PORT-WRITE command.
7306
7307 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
7308         * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c,
7309           ndmp-src/ndmagents.h, ndmp-src/ndmjob.h,
7310           ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c:
7311                 Add '-o tape-tcp=HOST:PORT' option.
7312
7313 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7314         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
7315           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h
7316           ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy
7317         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h
7318           common-src/Makefile.am: remove ndmp-proxy.*
7319         * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg
7320           common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port
7321         * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test
7322         * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove
7323           module
7324
7325 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7326         * perl/Amanda/Taper/Scribe.pm: get a device before starting
7327           the xfer
7328
7329 2009-10-21  Jean-Louis Martineau <martineau@zmanda.com>
7330         * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order.
7331
7332 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7333         * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and
7334           libndmlib.la
7335         * ndmp-src/ndml_conn.c: remove calls to libndmjob function
7336         * device-src/Makefile.am: compile without strict prototypes
7337         * device-src/ndmp-device.c: build against libndmlib, speaking
7338           NDMP natively to the NDMP server instead of via the proxy
7339         * installcheck/Amanda_Device_ndmp.pl: no need for a proxy
7340
7341 2009-10-21  Dustin J. Mitchell <dustin@zmanda.com>
7342         * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c
7343           device-src/xfer-dest-taper.c device-src/xfer-device.h: make
7344           XferDestTaper an abstract base class, with XferDestTaperSplitter its
7345           only subclass (for now)
7346         * perl/Amanda/Xfer.swg: SWIG it
7347         * perl/Amanda/XferServer.swg: SWIG it
7348         * installcheck/Amanda_Xfer_serveronly.pl: adjust tests
7349         * perl/Amanda/Taper/Scribe.pm: use subclass
7350
7351 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
7352         * installcheck/Installcheck.pm: $0 in double quote "$0".
7353
7354 2009-10-20  Jean-Louis Martineau <martineau@zmanda.com>
7355         * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call.
7356         * installcheck/Amanda_Logfile.pl: Fix for changed name in log.
7357         * installcheck/Installcheck.pm: Call set_pname($0) in INIT section.
7358         * installcheck/amadmin.pl: Remove set_pname call.
7359
7360 2009-10-20  Paul C. Mantz <pcmantz@zmanda.com>
7361         * server-src/amrmtape.pl: added config override option
7362         * installcheck/amrmtape.pl: regression test
7363
7364 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
7365         * device-src/xfer-dest-taper.c: add detailed debugging
7366         * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging
7367         * perl/Amanda/Taper/Scribe.pm: pass debugging flags around
7368         * server-src/taper.pl: pass debugging flags around
7369
7370 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
7371         * xfer-src/dest-buffer.c: fix Solaris cc compile errors
7372
7373 2009-10-20  Dustin J. Mitchell <dustin@zmanda.com>
7374         * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c:
7375           new element
7376         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it
7377         * installcheck/Amanda_Xfer.pl: tests
7378         * xfer-src/source-pattern.c: fix typo
7379
7380 2009-10-19  Paul C. Mantz <pcmantz@zmanda.com>
7381         * perl/Amanda/Report.pm: error handling for logfile reading.
7382         * perl/Amanda/Logfile.pod: documentation of open_logfile error
7383         behavior
7384
7385 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
7386         * installcheck/Makefile.am (full_tests): Add amadmin.
7387         * installcheck/amadmin.pl: Check diskname matching argument.
7388
7389 2009-10-19  Jean-Louis Martineau <martineau@zmanda.com>
7390         * common-src/match.c: Fix match_word function.
7391
7392 2009-10-16 Dan Locks <dwlocks@zmanda.com>
7393         *  example/xinetd.amandaclient.in, example/xinetd.amandaserver.in:
7394            replace IPv6 with IPv4
7395
7396 2009-10-16  Nikolas Coukouma <atrus@zmanda.com>
7397         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
7398           application-src/amlog-script.pl, application-src/ampgsql.pl,
7399           application-src/amraw.pl, application-src/amsamba.pl,
7400           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
7401           application-src/amzfs-snapshot.pl, application-src/script-email.pl,
7402           changer-src/chg-glue.pl, common-src/amaespipe.sh,
7403           common-src/amcryptsimple.pl, common-src/amgetconf.pl,
7404           common-src/amgpgcrypt.pl, common-src/event-test.c,
7405           common-src/glib-util.c, common-src/glib-util.h,
7406           common-src/hexencode-test.c, common-src/ipc-binary.c,
7407           common-src/ipc-binary.h, common-src/queueing-test.c,
7408           common-src/queueing.c, common-src/queueing.h,
7409           common-src/quoting-test.c, common-src/semaphore-test.c,
7410           common-src/semaphore.c, common-src/semaphore.h,
7411           common-src/simpleprng.c, common-src/simpleprng.h,
7412           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
7413           common-src/testutils.c, common-src/testutils.h,
7414           config/automake/scripts.am, config/automake/vars.am,
7415           config/macro-archive/docbook-dtd.m4,
7416           config/macro-archive/docbook-xslt-min.m4,
7417           config/macro-archive/docbook-xslt.m4,
7418           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
7419           device-src/amtapetype.pl, device-src/device-queueing.c,
7420           device-src/device-queueing.h, device-src/device.c,
7421           device-src/device.h, device-src/ndmp-device.c,
7422           device-src/null-device.c, device-src/property.c,
7423           device-src/property.h, device-src/rait-device.c,
7424           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
7425           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
7426           device-src/tape-device.c, device-src/tape-device.h,
7427           device-src/tape-ops.h, device-src/tape-posix.c,
7428           device-src/tape-uware.c, device-src/tape-xenix.c,
7429           device-src/vfs-device.c, device-src/vfs-test.c,
7430           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
7431           device-src/xfer-device.h, device-src/xfer-source-device.c,
7432           device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl,
7433           installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
7434           installcheck/Amanda_Changer_disk.pl,
7435           installcheck/Amanda_Changer_null.pl,
7436           installcheck/Amanda_Changer_rait.pl,
7437           installcheck/Amanda_Changer_robot.pl,
7438           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
7439           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
7440           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
7441           installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl,
7442           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
7443           installcheck/Amanda_IPC_Binary.pl,
7444           installcheck/Amanda_IPC_LineProtocol.pl,
7445           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
7446           installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl,
7447           installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl,
7448           installcheck/Amanda_Taper_Scan.pl,
7449           installcheck/Amanda_Taper_Scan_traditional.pl,
7450           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl,
7451           installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl,
7452           installcheck/Installcheck.pm,
7453           installcheck/Installcheck/Application.pm,
7454           installcheck/Installcheck/Changer.pm,
7455           installcheck/Installcheck/Config.pm,
7456           installcheck/Installcheck/Dumpcache.pm,
7457           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
7458           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
7459           installcheck/amcheck-device.pl, installcheck/amcheck.pl,
7460           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
7461           installcheck/amdump.pl, installcheck/amfetchdump.pl,
7462           installcheck/amgetconf.pl, installcheck/amgtar.pl,
7463           installcheck/amlabel.pl, installcheck/ampgsql.pl,
7464           installcheck/amraw.pl, installcheck/amreport.pl,
7465           installcheck/amrestore.pl, installcheck/amrmtape.pl,
7466           installcheck/amservice.pl, installcheck/amstatus.pl,
7467           installcheck/amtape.pl, installcheck/amtapetype.pl,
7468           installcheck/bigint.pl, installcheck/mock/mtx.pl,
7469           installcheck/mock_mtx.pl, installcheck/pp-scripts.pl,
7470           installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c,
7471           packaging/rpm/amanda.spec, perl/Amanda/Application.pod,
7472           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
7473           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
7474           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
7475           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
7476           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
7477           perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
7478           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
7479           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
7480           perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod,
7481           perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg,
7482           perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg,
7483           perl/Amanda/Header.pod, perl/Amanda/Header.swg,
7484           perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod,
7485           perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm,
7486           perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg,
7487           perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg,
7488           perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in,
7489           perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm,
7490           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
7491           perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm,
7492           perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm,
7493           perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod,
7494           perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
7495           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
7496           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
7497           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
7498           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
7499           perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg,
7500           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
7501           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
7502           server-src/amcheck-device.pl, server-src/amcheckdump.pl,
7503           server-src/amcleanup.pl, server-src/amlabel.pl,
7504           server-src/amrestore.pl, server-src/amrmtape.pl,
7505           server-src/amserverconfig.pl, server-src/amtape.pl,
7506           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
7507           server-src/taper.pl, server-src/xfer-server.h,
7508           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
7509           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
7510           xfer-src/element-glue.h, xfer-src/filter-process.c,
7511           xfer-src/filter-xor.c, xfer-src/source-fd.c,
7512           xfer-src/source-pattern.c, xfer-src/source-random.c,
7513           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
7514           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
7515           xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers
7516
7517 2009-10-16  Dustin J. Mitchell <dustin@zmanda.com>
7518         * common-src/hexencode-test.c: avoid compiler warnings and a potential
7519           crash on test failure
7520
7521 2009-10-16  Jean-Louis Martineau <martineau@zmanda.com>
7522         * application-src/amsamba.pl: fix restore.
7523
7524 2009-10-15  Nikolas Coukouma <atrus@zmanda.com>
7525         * application-src/ampgsql.pl, common-src/Makefile.am,
7526           common-src/hexencode-test.c, common-src/util.c, common-src/util.h,
7527           installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg,
7528           perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am,
7529           perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding
7530           and decoding functions into C. SWIG, document, and test them. Also add
7531           exception-generating typemap for GErrors.
7532
7533 2009-10-14  Nikolas Coukouma <atrus@zmanda.com>
7534         * perl/Amanda/Changer.pm: forgot to import function
7535
7536 2009-10-14  Jean-Louis Martineau <martineau@zmanda.com>
7537             Dustin J. Mitchell <dustin@zmanda.com>
7538         * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command.
7539         * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command.
7540         * device-src/ndmp-device.c: Keep track if a device is openned, don't
7541           close the connection to the proxy in ndmp_device_finish().
7542         * installcheck/Amanda_Device_ndmp.pl: More check.
7543         * installcheck/Installcheck/Mock.pm: tapefile based on pid number.
7544         * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP.
7545         * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP.
7546
7547 2009-10-13  Nikolas Coukouma <atrus@zmanda.com>
7548         * perl/Amanda/Config.pod, perl/Amanda/Config.swg,
7549           installcheck/Amanda_Config.pl: SWIG string_to_boolean, document,
7550           and test it
7551         * application-src/ampgsql.pl, perl/Amanda/Changer.pm:
7552           use string_to_boolean
7553         * perl/Amanda/MainLoop.pod: correct spelling
7554
7555 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
7556         Revert previous patch.
7557
7558 2009-10-09  Jean-Louis Martineau <martineau@zmanda.com>
7559         * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40.
7560         * common-src/conffile.c: Add data_path
7561         * common-src/conffile.h: Add data-path
7562         * common-src/ndmp-proxy.c: Improve.
7563         * common-src/ndmp-proxy.h: Improve.
7564         * device-src/device.c (device_start_dump, device_finish_dump
7565                                device_write_from_data_path) New method.
7566         * device-src/device.h (device_start_dump, device_finish_dump
7567                                device_write_from_data_path) New method.
7568         * device-src/ndmp-device.c: Improve
7569         * device-src/xfer-dest-taper.c: data-path
7570         * device-src/xfer-device.h: data-path
7571         * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files.
7572         * ndmp-src/ndma_comm_proxy.c: Improve.
7573         * ndmp-src/ndma_comm_session.c: #include "ndmjob.h"
7574         * ndmp-src/ndmjob_main.c: Open debug file.
7575         * ndmp-src/ndml_log.c: Check for deliver..
7576         * perl/Amanda/Config.swg: Add data-path
7577         * perl/Amanda/Device.swg: Add new device api
7578         * perl/Amanda/Taper/Scribe.pm: data-path
7579         * perl/Amanda/XferServer.swg: data-path
7580         * server-src/amadmin.c: print data-path
7581         * server-src/amcheck.c: data-path and xml_application change
7582         * server-src/amindexd.c: xml_application change
7583         * server-src/diskfile.c: new xml_application
7584         * server-src/diskfile.h: xml_application prototype change.
7585         * server-src/driver.c: data-path
7586         * server-src/driverio.c: data-path
7587         * server-src/driverio.h (taper_device): new global variable.
7588         * server-src/dumper.c: data-path
7589         * server-src/planner.c: xml_application change
7590         * server-src/taper.pl: data-path
7591
7592 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
7593         * perl/Amanda/IPC/Binary.pod: finish docs
7594
7595 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
7596         * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes
7597         * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to
7598           ipc-binary
7599         * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks
7600         * perl/Amanda/IPC/Binary.pod: stub documentation
7601         * perl/Amanda/IPC/LineProtocol.pm: whitespace
7602
7603 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
7604         * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c
7605           ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma
7606           <atrus@zmanda.com>
7607
7608 2009-10-08  Dustin J. Mitchell <dustin@zmanda.com>
7609         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and
7610           pass parameters
7611         * device-src/ndmp-device.c: bugfixes; open and close the conneciton
7612           for each service request, to avoid deadlocking the proxy
7613         * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the
7614           ndmjob tape simulator
7615         * installcheck/Installcheck/Mock.pm: add run_ndmjob
7616         * installcheck/Makefile.am: new checks
7617         * ndmp-src/ndma_comm_proxy.c: formulate the agent string better
7618         * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port
7619         * ndmp-src/ndmjob.h: p_port
7620         * ndmp-src/ndmjob_args.c: add -p PORT
7621         * ndmp-src/ndmjob_main.c: use -p PORT
7622         * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming
7623           connection
7624
7625 2009-10-07 Dan Locks <dwlocks@zmanda.com>
7626         *  packaging/deb/control: add mailx|bsd-mailx (also missing
7627            |gnuplot-nox)
7628
7629 2009-10-07  Jean-Louis Martineau <martineau@zmanda.com>
7630         * server-src/diskfile.c: Fix initialization of xml_app.result.
7631
7632 2009-10-06  Dustin J. Mitchell <dustin@zmanda.com>
7633         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
7634           remove ndmp-proxy-log-file and ndmp-proxy-debug-level
7635         * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port
7636         * common-src/ipc-binary.h: don't recommend static allocation
7637         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on
7638           demand; it will shut down when all of the connections are closed
7639         * installcheck/Amanda_NDMP.pl: check Amanda::NDMP
7640         * installcheck/Installcheck.pm: add get_unused_port()
7641         * installcheck/Makefile.am: new check
7642         * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c
7643           ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h
7644           ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c
7645           ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP
7646           proxy into a different executable, and reference count the connections
7647           to it
7648         * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface
7649         * perl/Amanda/NDMP.pod: add POD
7650         * server-src/amlabel.pl server-src/amcheck-device.pl: remove
7651           ndmp_stop_proxy()
7652
7653 2009-10-06  Paul C. Mantz <pcmantz@zmanda.com>
7654         * perl/Amanda/Reporter.pm: added log handling of amdump and
7655         amflush
7656         * installcheck/Amanda_Report.pl: regression tests
7657
7658 2009-10-06  Jean-Louis Martineau <martineau@zmanda.com>
7659         * installcheck/amraw.pl: Use File::Path::mkpath.
7660
7661 2009-10-05  Jean-Louis Martineau <martineau@zmanda.com>
7662         * application-src/Makefile.am (SCRIPTS_PERL): Add amraw.
7663         * application-src/amraw.pl: New application.
7664         * installcheck/Makefile.am (client_tests): Add amraw.
7665         * installcheck/amraw.pl: Check amraw functionnality.
7666         * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8.
7667         * man/xml-source/amanda-applications.7.xml: Add amraw.8.
7668         * man/xml-source/amanda.8.xml: Add amraw.8.
7669         * man/xml-source/amraw.8.xml: New man page for amraw application.
7670         * perl/Amanda/Constants.pm.in: Add DD.
7671
7672 2009-10-05  Paul C. Mantz <pcmantz@zmanda.com>
7673         * server-src/reporter.c: exit code 0 with no output format
7674         specified, fixed default output destination
7675
7676 2009-10-02  Jean-Louis Martineau <martineau@zmanda.com>
7677         * common-src/debug.c (msg_timestamp): Print time in human readable
7678                                               format.
7679
7680 2009-10-01  Dustin J. Mitchell <dustin@zmanda.com>
7681         * device-src/ndmp-device.c:  remove some includes, remove recycle and
7682           erase, streaming desired, close the tape service on finish(), rewind
7683           less, and be more careful about setting errors exactly once
7684         * man/xml-source/amanda-devices.7.xml: document the device
7685
7686 2009-10-01  Paul C. Mantz <pcmantz@zmanda.com>
7687         * server-src/reporter.c: no report made unless destination
7688         argument given
7689
7690 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
7691         * application-src/amgtar.c (build_re_table, add_type_table,
7692                                     add_list_table): Remove function.
7693         * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties.
7694         * client-src/client_util.c (build_re_table, add_type_table,
7695                                    add_list_table): Add function.
7696         * client-src/client_util.h (build_re_table, add_type_table,
7697                                     add_list_table): Add prototype.
7698         * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE):
7699                 Add declaration.
7700         * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE):
7701                 Remove declaration.
7702         * client-src/sendsize.c: Rename 'struct regex_s' to
7703                                         'struct regex_scale_s'.
7704         * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE
7705                                        properties.
7706
7707 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
7708         * common-src/security-util.c (bsd_prefix_packet): Use geteuid login
7709                                                           name.
7710
7711 2009-10-01  Jean-Louis Martineau <martineau@zmanda.com>
7712         * application-src/amgtar.c: Add --no-wildcards argument to gtar extract
7713                                     command.
7714         * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1.
7715
7716 2009-09-30  Dustin J. Mitchell <dustin@zmanda.com>
7717         * server-src/dumper.c: runs setuid root
7718         * common-src/local-security.c: drop root privs
7719         * common-src/rsh-security.c: drop root privs
7720         * common-src/ssh-security.c: drop root privs
7721
7722 2009-09-29  Dustin J. Mitchell <dustin@zmanda.com>
7723         * amandad-src/amandad.h common-src/amanda.h: move constants
7724           to amanda.h
7725         * common-src/util.c common-src/util.h: add openbsd_fd_inform, to
7726           inform the OpenBSD pthread library about high-numbered fd's created
7727           by amandad
7728         * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c
7729           client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c:
7730           use openbsd_fd_infom
7731
7732 2009-09-28  Dustin J. Mitchell <dustin@zmanda.com>
7733         * common-src/util.h: fix comment
7734         * server-src/planner.c: planner runs setuid, so tell check_running_as
7735
7736 2009-09-28  Nikolas Coukouma <atrus@zmanda.com>
7737         * device-src/s3.c: fix day of the week in Date header
7738
7739 2009-09-25  Dustin J. Mitchell <dustin@zmanda.com>
7740         * common-src/amflock.c: set the return value
7741         * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering
7742         * perl/Amanda/Changer.pm: check for locking errors in Changer.pm
7743         * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and
7744           handle configurations where no tape device is specified better
7745         * server-src/amtape.pl: handle the case where loaded_in == 0
7746
7747 2009-09-25  Nikolas Coukouma <atrus@zmanda.com>
7748         * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP
7749
7750 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
7751         * man/xml-source/amanda-devices.7.xml: fix typo
7752
7753 2009-09-24  Paul C. Mantz <pcmantz@zmanda.com>
7754         * perl/Amanda/Report.pm: added accessor functions
7755         * installcheck/Amanda_Report.pl: tests
7756
7757 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
7758         * device-src/property.c: remove old property instance
7759
7760 2009-09-24  Dustin J. Mitchell <dustin@zmanda.com>
7761         * man/xml-source/amanda-devices.7.xml: update property documentation
7762           and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE
7763         * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h
7764           device-src/property.c device-src/property.h device-src/device.c
7765           man/xml-source/amanda-changers.7.xml: rename property
7766         * device-src/tape-device.c: accept old and new property names
7767         * installcheck/Amanda_Device.pl: tests
7768
7769 2009-09-10  Jean-Louis Martineau <martineau@zmanda.com>
7770         * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and
7771           DIRECTORY properties on restore
7772
7773 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
7774         * installcheck/Amanda_Device.pl: fix skip count
7775
7776 2009-09-09  Dustin J. Mitchell <dustin@zmanda.com>
7777         * common-src/util.c common-src/util.h: allow to drop root privs
7778           entirely
7779         * common-src/pipespawn.c: drop root
7780         * amandad-src/amandad.c: check effective userid
7781         * common-src/krb5-security.c: check effective userid
7782         * server-src/amcheck.c: check effective userid
7783
7784 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
7785         * device-src/s3-device.c: handle EOT correctly
7786         * installcheck/Amanda_Device.pl: check for it
7787
7788 2009-09-08  Dustin J. Mitchell <dustin@zmanda.com>
7789         * changer-src/chg-glue.pl common-src/amgetconf.pl
7790           common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl
7791           device-src/amtapetype.pl installcheck/Amanda_Config.pl
7792           installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod
7793           perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c
7794           restore-src/amfetchdump.c server-src/amadmin.c
7795           server-src/amcheck-device.pl server-src/amcheck.c
7796           server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c
7797           server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl
7798           server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c
7799           server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c
7800           server-src/driver.c server-src/dumper.c server-src/planner.c
7801           server-src/reporter.c server-src/taper.pl: change "config_overwrite"
7802           to "config_override"
7803
7804 2009-09-05  Dustin J. Mitchell <dustin@zmanda.com>
7805         * server-src/amvault.pl: use destination volume filenums in amvault
7806
7807 2009-09-04  Dustin J. Mitchell <dustin@zmanda.com>
7808         * common-src/util.c: setuid(0) initially, so that we can release
7809           and acquire root privs
7810
7811 2009-09-03  Jean-Louis Martineau <martineau@zmanda.com>
7812         * device-src/ndmp-device.c: Include "ndmp-proxy.h".
7813
7814 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
7815         * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic
7816           binary communication protocol
7817         * common-src/ipc-binary-test.c: tests for same
7818         * common-src/ndmp-protocol.h: removed
7819         * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact
7820           with ndmp-proxy, including protocol
7821         * common-src/util.c common-src/util.h: remove ndmp-proxy stuff
7822         * common-src/Makefile.am: rename/add files
7823         * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c
7824           ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c:
7825           use new protocol
7826
7827 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
7828         * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline
7829
7830 2009-09-03  Dustin J. Mitchell <dustin@zmanda.com>
7831         * device-src/ndmp-device.c: remove spurious #include of stream.c
7832
7833 2009-09-02  Jean-Louis Martineau <martineau@zmanda.com>
7834         * common-src/debug.c: Improve debugging.
7835         * restore-src/restore.h (rst_flags_t): Add header_to_fd.
7836         * restore-src/amidxtaped.c: set header_to_fd to 1.
7837         * restore-src/restore.c: Write header to header_to_fd.
7838         * restore-src/amfetchdump.c: Add --header-fd and --header-file
7839                                      arguments.
7840         * man/xml-source/amfetchdump.8.xml: Document new --header-fd and
7841                                             --header-file argument.
7842
7843 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
7844         * perl/Amanda/Header.swg: remove spurious references to cmdline.h
7845
7846 2009-09-02  Dustin J. Mitchell <dustin@zmanda.com>
7847         * ndmp-src/Makefile.am: fix dumb typos
7848
7849 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com
7850         * ndmp-src/ndmjob_main.c ndmp-src/ndmjob_job.c: don't use fopen64
7851
7852 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
7853         * man/entities/global.entities.in man/xml-source/amadmin.8.xml
7854           man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml
7855           man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml
7856           man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml
7857           man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml
7858           man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml
7859           man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml
7860           man/xml-source/amvault.8.xml: use entities to represent config
7861           overwrites consistently
7862
7863 2009-08-31  Dustin J. Mitchell <dustin@zmanda.com>
7864         * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on
7865           cmdline.h in a client-only package
7866         * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs
7867         * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust
7868           tests
7869
7870 2009-08-31 Dan Locks <dwlocks@zmanda.com>
7871         * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of
7872           %files for server.
7873
7874 2009-08-31  Jean-Louis Martineau <martineau@zmanda.com>
7875         * config/amanda/dumpers.m4: Give only a warning if user specified path
7876                                     is not correct for gtar and star.
7877
7878 2009-08-28  Dustin J. Mitchell <dustin@zmanda.com>
7879         * perl/Amanda/Device.pod: be explicit: finish_file is not for read
7880           mode
7881
7882 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
7883         * xfer-src/filter-process.c: fixed write warnings which were
7884           breaking Ubuntu builds
7885
7886 2009-08-26  Paul C. Mantz <pcmantz@zmanda.com>
7887         * perl/Amanda/Logfile.swg: added four previously omitted program
7888         types
7889         * installcheck/Amanda_Logfile.pl: regression tests for the program
7890         types
7891
7892 2009-08-26  Jean-Louis Martineau <martineau@zmanda.com>
7893         * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star.
7894         * configure.in: Use AMANDA_PROG_STAR.
7895
7896 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7897         * config/amanda/components.m4: Fix --with-amrecover=yes
7898
7899 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7900         * ndmp-src/ndmp-protocol.h: Remove file.
7901         * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h.
7902         * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h.
7903
7904 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7905         * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE.
7906         * configure.in: Use AMANDA_NDMP_DEVICE.
7907         * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file
7908                                  andndmp_proxy_debug_level.
7909         * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE
7910                                  and CNF_NDMP_PROXY_DEBUG_LEVEL
7911         * common-src/ndmp-protocol.h: Define protocol between amanda and
7912                                       ndmp-proxy.
7913         * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy,
7914                              connect_to_ndmp_proxy): New functions.
7915         * common-src/util.h: Add prototype for new functions.
7916         * device-src/Makefile.am: Build ndmp-device.
7917         * device-src/device.c: Use ndmp-device.
7918         * device-src/ndmp-device.c: New ndmp device.
7919         * device-src/tape-device.c: Small fix.
7920         * ndmp-src/ndma_comm_proxy.c: Convert to network byte order.
7921         * perl/Amanda/Config.swg: Export new CNF_* constants.
7922         * perl/Amanda/Ndmp.swg: New module for ndmp function.
7923         * perl/Amanda/Util.pod: Document Amanda::Util::finish_application.
7924         * perl/Amanda/Util.swg: New finish_application function.
7925         * perl/Makefile.am: Build Amanda::Ndmp
7926         * server-src/amcheck-device.pl, server-src/amlabel.pl: Call
7927           stop_ndmp_proxy and finish_application.
7928
7929 2009-08-25  Jean-Louis Martineau <martineau@zmanda.com>
7930         * man/xml-source/amfetchdump.8.xml: Document -h option.
7931         * restore-src/amfetchdump.c: Document -h option, pass the server
7932                                      feature set to search_tapes.
7933
7934 2009-08-24  Paul C. Mantz <pcmantz@zmanda.com>
7935         * perl/Amanda/Report.pm: Module for abstracting amreport data
7936         * perl/Makefile.am: compile the module
7937         * installcheck/Amanda_Report.pl: test for Amanda::Report
7938         * installcheck/Makefile.am: add the test to installcheck
7939
7940 2009-08-21  Dustin J. Mitchell <dustin@zmanda.com>
7941         * man/xml-source/amgtar.8.xml: changes suggested by Christopher
7942           <chrismcc@pricegrabber.com>
7943
7944 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7945         * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h"
7946         * ndmp-src/Makefile.am: Link with libamanda
7947         * ndmp-src/ndmos_glib.h: Use strtoll.
7948
7949 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7950         * ndmp-src/*: Import of ndmjob + ndmp-proxy.
7951         * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy.
7952         * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src.
7953         * config/amanda/progs.m4: AMANDA_PROG_RPCGEN.
7954         * config/amanda/components.m4: AMANDA_WITHOUT_NDMP.
7955         * Makefile.am: Build ndmp-src.
7956
7957 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7958         * common-src/ipc-binary.c: New protocol
7959         * common-src/ipc-binary.h: New protocol header
7960         * common-src/Makefile.am: Compile it.
7961
7962 2009-08-20  Jean-Louis Martineau <martineau@zmanda.com>
7963         * man/xml-source/amanda-changers.7.xml: Typo.
7964
7965 2009-08-20  Dustin J. Mitchell <dustin@zmanda.com>
7966         * man/xml-source/amanda-devices.7.xml: tweak
7967         * perl/Amanda/Changer.pm: fix configuration to also include device
7968           alias configuration
7969         * perl/Amanda/Device.pod: deprecate $dev->configure()
7970         * man/xml-source/amanda-changers.7.xml: better documentation
7971           of device configuration via changers
7972
7973 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
7974         * restore-src/Makefile.am restore-src/amrestore.c: remove
7975         * common-src/fileheader.c common-src/fileheader.h: add
7976           summarize_header
7977         * common-src/match.c: fix match_level bugs
7978         * installcheck/Amanda_Header.pl: test matches_dumpspecs
7979         * server-src/Makefile.am server-src/amrestore.pl: new perl version
7980         * installcheck/amrestore.pl: remove TODO's, don't expect -p to go
7981           on to the next dumpfile
7982         * man/xml-source/amrestore.8.xml: update docs
7983         * perl/Amanda/Cmdline.pod: typo
7984         * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and
7985           matches_dumpspec
7986         * installcheck/Amanda_Util.pl: test sanitise_filename
7987         * perl/Amanda/Util.pod: add sanitise_filename
7988
7989 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
7990         * xfer-src/filter-process.c: new xfer element
7991         * xfer-src/xfer-element.h: declare it
7992         * perl/Amanda/Xfer.swg: SWIG it
7993         * perl/Amanda/Xfer.pod: doc it
7994         * xfer-src/Makefile.am: build it
7995         * installcheck/Amanda_Xfer.pl: test it
7996
7997 2009-08-18  Dustin J. Mitchell <dustin@zmanda.com>
7998         * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument
7999           to start(), and make the get_source method "low-level"
8000         * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl
8001           installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl
8002           device-src/amtapetype.pl: don't use get_source
8003         * perl/Amanda/MainLoop.pod: documentation tweak
8004
8005 2009-08-17  Dustin J. Mitchell <dustin@zmanda.com>
8006         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8007           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm
8008           perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in
8009           release()
8010         * server-src/amcheck-device.pl: fix stupid bug
8011
8012 2009-08-14 Dan Locks <dwlocks@zmanda.com>
8013         * example/Makefile.am: split example into server and client
8014           installperms statements.
8015
8016 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
8017         * server-src/amlabel.pl: handle error in Amanda::Changer->new
8018
8019 2009-08-14  Dustin J. Mitchell <dustin@zmanda.com>
8020         * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck
8021         * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl:
8022           add a 'multi' dumpcache and refactor Dumpcache.pm
8023         * installcheck/Installcheck/Run.pm: better diagnostics, better access
8024           to stderr from successful runs
8025
8026 2009-08-12  Dustin J. Mitchell <dustin@zmanda.com>
8027         * installcheck/taper.pl: add a check for taper startup err
8028         * server-src/taper.pl: properly send a startup err instead of die()ing
8029         * perl/Amanda/IPC/LineProtocol.pm: fix typos
8030
8031 2009-08-05  Dustin J. Mitchell <dustin@zmanda.com>
8032         * man/xml-source/amdevcheck.8.xml: manpage tweaks
8033
8034 2009-08-05 Dan Locks <dwlocks@zmanda.com>
8035         * Thanks to Jim Barber for pointing out these bugs.
8036         * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules,
8037           packaging/deb/amanda-backup-server.postinst: replace all instances
8038           of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600.
8039         * packaging/deb/control: add build-depends for libglib2.0-dev
8040
8041 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8042         * installcheck/amcheck.pl: fix typo
8043
8044 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8045         * installcheck/amcheck.pl: put options before args for old getopts
8046         * installcheck/Makefile.am: only run amcheck check on full install
8047
8048 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8049         * installcheck/Makefile.am installcheck/amcheck.pl: new tests
8050         * server-src/amcheck.c: fix usage message
8051
8052 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8053         * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback
8054
8055 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8056         * server-src/amcheck.c: initialize success properly
8057         * installcheck/mock/mtx.pl: another workaround for bad perl parser
8058
8059 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8060         * installcheck/amlabel.pl: update tests for new messages
8061         * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl:
8062           rewrite amlabel in perl to use new changer API
8063         * man/xml-source/amlabel.8.xml: overhaul manpage
8064         * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt
8065
8066 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8067         * server-src/amlabel.c server-src/amcheck.c: remove include of
8068           taperscan.h
8069
8070 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8071         * server-src/Makefile.am server-src/amcheck-device.pl
8072           server-src/amcheck.c: break out device-checking into a perl script
8073           invoked from amcheck
8074         * installcheck/Makefile.am installcheck/amcheck-device.pl: check new
8075           script
8076         * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite
8077           volumes explicitly marked as blank (timestamp="X")
8078         * server-src/taperscan.c server-src/taperscan.h: remove
8079
8080 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8081         * device-src/device.h: remove some comments that are now redundant
8082         * perl/Amanda/Device.pod: put primary Device documentation here,
8083           centralizing what used to be in the header file and on the wiki
8084
8085 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8086         * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds
8087           confusing
8088
8089 2009-08-04  Dustin J. Mitchell <dustin@zmanda.com>
8090         * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests
8091
8092 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8093         * device-src/tape-posix.c: use g_debug instead of dbprintf
8094
8095 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8096         * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot
8097           more than once in a scan object's lifetime
8098         * man/xml-source/amanda-taperscan.7.xml: document this
8099
8100 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8101         * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl:
8102           rewrite amtape in perl
8103         * NEWS: describe changes
8104         * man/xml-source/amtape.8.xml: document behavior
8105         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8106           perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg
8107           perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add
8108           user_msg_fn
8109         * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update
8110           tests to match new behavior
8111
8112 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8113         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8114           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm
8115           perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add
8116           except_slots, to allow slot scanning
8117         * installcheck/Amanda_Changer_compat.pl
8118           installcheck/Amanda_Changer_disk.pl
8119           installcheck/Amanda_Changer_rait.pl
8120           installcheck/Amanda_Changer_robot.pl: test each implementation
8121
8122 2009-08-03  Dustin J. Mitchell <dustin@zmanda.com>
8123         * perl/Makefile.am perl/Amanda/Changer/robot.pm:
8124           new changer
8125         * example/amanda.conf.in: adjust to correspond to new changers
8126         * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests
8127         * installcheck/Installcheck/Mock.pm: add $mock_mtx_path
8128         * man/xml-source/amanda-changers.7.xml: documentation for new changer
8129         * perl/Amanda/Changer.pm: POD tweak
8130
8131 2009-07-31 Dan Locks <dwlocks@zmanda.com>
8132         * packaging/deb/control, packaging/rpm/amanda.spec: add native
8133           package names to conflict list
8134
8135 2009-07-30 Dan Locks <dwlocks@zmanda.com>
8136         * example/Makefile.am: separates client from server example,
8137           label, and template files.
8138
8139 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
8140         * device-src/Makefile.am device-src/xfer-source-taper.c
8141           device-src/xfer-device.h: new xfer element
8142         * device-src/xfer-source-device.c: typos
8143         * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too
8144         * perl/Amanda/XferServer.swg: SWIG it
8145         * perl/Amanda/Xfer.pod: docs
8146         * installcheck/Amanda_Xfer_serveronly.pl: test it
8147
8148 2009-07-30  Jean-Louis Martineau <martineau@zmanda.com>
8149         * application-src/amsuntar.pl: Fix open of fd3.
8150
8151 2009-07-30  Dustin J. Mitchell <dustin@zmanda.com>
8152         * device-src/xfer-dest-taper.c: open disk cache twice instead of
8153           incorrectly relying on dup(); use a local variable to stop the
8154           disk cacher for sure at the end of each part
8155
8156 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
8157         * perl/Amanda/Changer.pm: add an inventory() method
8158         * perl/Amanda/Changer/disk.pm: implement
8159         * perl/Amanda/Changer/rait.pm: implement
8160         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8161           installcheck/Amanda_Changer_disk.pl
8162           installcheck/Amanda_Changer_rait.pl: test
8163
8164 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
8165         * perl/Amanda/Changer.pm: do not release() reservations automatically
8166           when they go out of scope
8167         * server-src/amrmtape.pl installcheck/Amanda_Changer.pl
8168           installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl
8169           installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl
8170           installcheck/Amanda_Changer_single.pl: don't depend on auto-release
8171
8172 2009-07-29  Dustin J. Mitchell <dustin@zmanda.com>
8173         * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots',
8174           shuffle vtapes instead of linking, and support 'nobarcode'
8175         * installcheck/mock_mtx.pl: test it
8176
8177 2009-07-28  Nikolas Coukouma <atrus@zmanda.com>
8178         * installcheck/Installcheck.pm: Add a function for including Test::More
8179           messages in debug logs (and document it). Move mkpath($TMP) into an
8180           INIT block.
8181         * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl,
8182           installcheck/Amanda_Changer_disk.pl,
8183           installcheck/Amanda_Changer_null.pl,
8184           installcheck/Amanda_Changer_rait.pl,
8185           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl,
8186           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
8187           installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl,
8188           installcheck/Amanda_IPC_LineProtocol.pl,
8189           installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl,
8190           installcheck/Amanda_Taper_Scan_traditional.pl,
8191           installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl,
8192           installcheck/Amanda_Xfer_serveronly.pl,
8193           installcheck/amrmtape.pl, installcheck/amtape.pl,
8194           installcheck/taper.pl: use Installcheck::log_test_output()
8195
8196 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
8197         * perl/Amanda/Changer.pm: add a get_boolean_property helper method
8198
8199 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
8200         * config/amanda/defaults.m4: remove --with-changer-device
8201         * common-src/conffile.c: make NULL the default
8202         * example/amanda.conf.in: remove reference to the default
8203         * NEWS: note that option is no longer available
8204
8205 2009-07-27  Dustin J. Mitchell <dustin@zmanda.com>
8206         * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO
8207           variables, and just syntax-check everything
8208         * amar-src/Makefile.am application-src/Makefile.am
8209           changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am
8210           device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am:
8211           adjust makefiles to match
8212         * perl/Amanda/Changer/rait.pm: fix some warnings
8213
8214 2009-07-24  Jean-Louis Martineau <martineau@zmanda.com>
8215         * amandad-src/amandad.c: Fix fd allocation.
8216
8217 2009-07-21 Dan Locks <dwlocks@zmanda.com>
8218         * example/Makefile.am: add missing trailing slash
8219
8220 2009-07-18  Dustin J. Mitchell <dustin@zmanda.com>
8221         * installcheck/taper.pl: one more check for the taper's DONE
8222
8223 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8224         * installcheck/taper.pl: add a check for the taper's DONE
8225
8226 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8227         * server-src/xfer-source-holding.c: fix a race condition with
8228           self->dest_taper
8229
8230 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8231         * server-src/Makefile.am: fix to distribute taper.pl
8232
8233 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8234         * installcheck/Amanda_Taper_Scribe.pl: fix test
8235
8236 2009-07-17  Nikolas Coukouma <atrus@zmanda.com>
8237         * installcheck/taper.pl: remove cruft
8238         * server-src/Makefile.am: remove cruft
8239         * server-src/taper.pl: fix copyright statement
8240
8241 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8242         * server-src/taper.pl: new taper (in perl)
8243         * installcheck/taper.pl: update tests
8244         * server-src/Makefile.am server-src/taper-disk-port-source.c
8245           server-src/taper-disk-port-source.h server-src/taper-file-source.c
8246           server-src/taper-file-source.h server-src/taper-mem-port-source.c
8247           server-src/taper-mem-port-source.h server-src/taper-port-source.c
8248           server-src/taper-port-source.h server-src/taper-source-test.c
8249           server-src/taper-source.c server-src/taper-source.h
8250           server-src/taper.c: deleted
8251
8252 2009-07-17  Dustin J. Mitchell <dustin@zmanda.com>
8253         * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package
8254         * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests
8255
8256 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
8257         * server-src/diskfile.c: add missing _()
8258
8259 2009-07-16  Dustin J. Mitchell <dustin@zmanda.com>
8260         * man/Makefile.am man/xml-source/amanda.8.xml
8261           man/xml-source/amanda-compatibility.7.xml: add new manpage describing
8262           inter-version compatibility
8263         * man/xml-source/amanda-taperscan.7.xml: fix use of &A;
8264
8265 2009-07-16  Jean-Louis Martineau <martineau@zmanda.com>
8266         * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed.
8267
8268 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8269         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8270           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
8271           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
8272           remove $res->{'next_slot'} in favor of $chg->load(relative_slot
8273           => 'next', slot => $slot)
8274         * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl
8275           server-src/amvault.pl: use new form
8276         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8277           installcheck/Amanda_Changer_disk.pl
8278           installcheck/Amanda_Changer_rait.pl: test it
8279
8280 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8281         * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev'
8282         * NEWS: describe removed keyword
8283         * installcheck/Amanda_Config.pl: don't test for it anymore
8284
8285 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8286         * perl/Amanda/Changer.pm: new with_locked_state method to help
8287           subclasses access a locked statefile
8288         * installcheck/Amanda_Changer.pl: test new method
8289         * perl/Amanda/Changer/disk.pm: use new method
8290
8291 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8292         * common-src/amflock.h common-src/amflock.c: new fcntl-based
8293           file locking support
8294         * common-src/amflock-test.c: test them
8295         * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them
8296         * installcheck/Amanda_Util.pl: test that too
8297
8298 2009-07-15  Dustin J. Mitchell <dustin@zmanda.com>
8299         * gnulib/regenerate/regenerate: add ftruncate and lseek modules
8300         * config/config.rpath config/gnulib/* gnulib/*: new modules
8301
8302 2009-07-14  Dustin J. Mitchell <dustin@zmanda.com>
8303         * perl/Amanda/DB/Catalog.pm: sort numeric values numerically
8304         * installcheck/Amanda_DB_Catalog.pl: test same
8305
8306 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
8307         * server-src/driverio.c: Print strerror if update of infofile failed.
8308
8309 2009-07-14  Jean-Louis Martineau <martineau@zmanda.com>
8310         * config/automake/scripts.am: Fix *.nouselib creation.
8311
8312 2009-07-13  Dustin J. Mitchell <dustin@zmanda.com>
8313         * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current'
8314         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8315           perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm:
8316           implement
8317         * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl
8318           installcheck/Amanda_Changer_compat.pl
8319           installcheck/Amanda_Changer_disk.pl
8320           installcheck/Amanda_Changer_null.pl
8321           installcheck/Amanda_Changer_rait.pl
8322           installcheck/Amanda_Changer_single.pl
8323           server-src/amvault.pl: use new key
8324
8325 2009-07-13  Jean-Louis Martineau <martineau@zmanda.com>
8326         * application-src/amsamba.pl: Fix parsing domain in amandapass.
8327
8328 2009-07-11  Dustin J. Mitchell <dustin@zmanda.com>
8329         * example/Makefile.am: fix typo (lbtempl vs. lbltempl)
8330
8331 2009-07-10  Nikolas Coukouma <atrus@zmanda.com>
8332         * device-src/s3-device.c: fix calls to erase() before start()
8333         * installcheck/data/aws-bundle.crt: use a larger certificate bundle
8334         * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com
8335           with custom certificate bundle, test erase() before start(),
8336           try to do more with an invalid certificate bundle
8337
8338 2009-07-10  Dustin J. Mitchell <dustin@zmanda.com>
8339         * configure.in: don't generate all of the example/ files here
8340         * example/Makefile.am: generate them here
8341         * example/chg-mcutil.conf.in: removed
8342         * example/config.site: removed
8343
8344 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8345         * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink
8346           instead of 'current', as required by previous change
8347
8348 2009-07-09  Alan Hodgson <ahodgson@simkin.ca>
8349         * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties
8350         * man/xml-source/amgtar.8.xml: document them
8351
8352 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8353         * common-src/util.c common-src/util.h: add quote_string_always
8354         * common-src/conffile.c: use it to quote strings on output from config
8355
8356 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8357         * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE
8358           VERSION_MAJOR, _MINOR, etc.
8359         * common-src/version.h: remove everything but version_info
8360         * client-src/versionsuffix.c client-src/Makefile.am: remove
8361           versionsuffix app
8362         * configure.in: remove versuff.c
8363         * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove
8364           USE_VERSION_SUFFIXES
8365         * other source files: change version() to VERSION, remove
8366           versionsuffix() calls, remove unnecessary #include "version.h",
8367           and remove other uses of suffixes
8368
8369 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8370         * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead
8371          of 'current', so the vtape root works as a device
8372         * man/xml-source/amanda-changers.7.xml: document
8373
8374 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8375         * amandad-src/amandad.c: conditionalize UID checks
8376
8377 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8378         * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c:
8379           prefer 'application' and 'script' to 'application-tool' and
8380           'script-tool', but accept both
8381         * common-src/amgetconf.pl: accept both
8382         * installcheck/Installcheck/Config.pm: add_text()
8383         * installcheck/Amanda_Config.pl: test changes
8384         * installcheck/amgetconf.pl: test changes
8385         * man/xml-source/amanda-client.conf.5.xml: document
8386         * man/xml-source/amanda.conf.5.xml: document
8387
8388 2009-07-09  Dustin J. Mitchell <dustin@zmanda.com>
8389         * AUTHORS: update, add notes about contribution licensing
8390
8391 2009-07-06  Dustin J. Mitchell <dustin@zmanda.com>
8392         * changer-src/chg-glue.pl: unref the device, in hopes it will
8393           close the open file descriptor so that tape devices can be used
8394           from the process that invoked chg-glue
8395
8396 2009-07-03  Dustin J. Mitchell <dustin@zmanda.com>
8397         * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7)
8398
8399 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
8400         * perl/Makefile.am: change "Scribe.pm" to "Scan.pm"
8401
8402 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
8403         * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm
8404           perl/Makefile.am: add Perl implementation of the traditional taperscan
8405           algorithm
8406         * installcheck/Amanda_Taper_Scan.pl
8407           installcheck/Amanda_Taper_Scan_traditional.pl
8408           installcheck/Makefile.am: test
8409         * perl/Amanda/Changer/disk.pm: test support tweak
8410         * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage
8411           with a full description of the traditional algo
8412         * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search
8413
8414 2009-06-30  Dustin J. Mitchell <dustin@zmanda.com>
8415         * perl/Amanda/MainLoop.swg: add synchronized()
8416         * perl/Amanda/MainLoop.pod: document it
8417         * installcheck/Amanda_MainLoop.pl: test it
8418         * perl/Amanda/Changer/compat.pm: and use it
8419
8420 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
8421         * device-src/s3.c, installcheck/Amanda_Device.pl:
8422           Don't allow dots in bucket names, for compatability with
8423           libcurl built against NSS.
8424
8425 2009-06-29  Nikolas Coukouma <atrus@zmanda.com>
8426         * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt:
8427           Test using a certificate bundle with the S3 device
8428
8429 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
8430         * common-src/conffile.c: New ORDER keyword in script section.
8431         * common-src/conffile.h: New ORDER keyword in script section.
8432         * man/xml-source/amanda.conf.5.xml: Document ORDER keyword.
8433         * perl/Amanda/Config.swg: Bing ORDER keyword.
8434         * application-src/amlog-script.pl: Add --text parameter.
8435         * installcheck/pp-scripts.pl: Check execution order.
8436
8437 2009-06-26  Jean-Louis Martineau <martineau@zmanda.com>
8438         * restore-src/amfetchdump.c, restore-src/amrestore.c,
8439           restore-src/restore.c: Add debugging.
8440
8441 2009-06-22  Jean-Louis Martineau <martineau@zmanda.com>
8442         * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f.
8443
8444 2009-06-19 Dan Locks <dwlocks@zmanda.com>
8445         * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet"
8446           changes to packages.
8447
8448 2009-06-19 Dan Locks <dwlocks@zmanda.com>
8449         * packaging/deb/server/control, packaging/deb/client/control: update
8450           depends to list libcurl3 or 4.
8451
8452 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
8453         * perl/Amanda/Tapelist.swg: add tapes at the beginning and be
8454           explicit about maintaining tape order with a stable sort
8455         * perl/Amanda/Tapelist.pod: document it
8456         * man/xml-source/tapelist.5.xml: manpages too
8457         * installcheck/Amanda_Tapelist.pl: test it
8458         * installcheck/Makefile.am: sort alphabetically
8459
8460 2009-06-19  Dustin J. Mitchell <dustin@zmanda.com>
8461         * perl/Amanda/Util.swg: expose get_fs_usage in perl
8462         * installcheck/Amanda_Util.pl: test it
8463         * perl/Amanda/Util.pod: document it
8464
8465 2009-06-19  Jean-Louis Martineau <martineau@zmanda.com>
8466         * server-src/reporter.c: Use the filenum from the PART line.
8467                                  Keep the filenum of the first part.
8468
8469 2009-06-19  Nikolas Coukouma <atrus@zmanda.com>
8470         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
8471           application-src/amlog-script.pl, application-src/ampgsql.pl,
8472           application-src/amsamba.pl, application-src/amsuntar.pl,
8473           application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl,
8474           application-src/script-email.pl, changer-src/chg-glue.pl,
8475           common-src/amaespipe.sh, common-src/amcryptsimple.pl,
8476           common-src/amgetconf.pl, common-src/amgpgcrypt.pl,
8477           common-src/event-test.c, common-src/glib-util.c,
8478           common-src/glib-util.h, common-src/queueing-test.c,
8479           common-src/queueing.c, common-src/queueing.h,
8480           common-src/quoting-test.c, common-src/semaphore-test.c,
8481           common-src/semaphore.c, common-src/semaphore.h,
8482           common-src/simpleprng.c, common-src/simpleprng.h,
8483           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
8484           common-src/testutils.c, common-src/testutils.h,
8485           config/automake/scripts.am, config/automake/vars.am,
8486           config/macro-archive/docbook-dtd.m4,
8487           config/macro-archive/docbook-xslt-min.m4,
8488           config/macro-archive/docbook-xslt.m4,
8489           config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl,
8490           device-src/amtapetype.pl, device-src/device-queueing.c,
8491           device-src/device-queueing.h, device-src/device.c,
8492           device-src/device.h, device-src/null-device.c, device-src/property.c,
8493           device-src/property.h, device-src/rait-device.c,
8494           device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h,
8495           device-src/s3.c, device-src/s3.h, device-src/tape-aix.c,
8496           device-src/tape-device.c, device-src/tape-device.h,
8497           device-src/tape-ops.h, device-src/tape-posix.c,
8498           device-src/tape-uware.c, device-src/tape-xenix.c,
8499           device-src/vfs-device.c, device-src/vfs-test.c,
8500           device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c,
8501           device-src/xfer-device.h, device-src/xfer-source-device.c,
8502           installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl,
8503           installcheck/Amanda_Changer_compat.pl,
8504           installcheck/Amanda_Changer_disk.pl,
8505           installcheck/Amanda_Changer_null.pl,
8506           installcheck/Amanda_Changer_rait.pl,
8507           installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl,
8508           installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
8509           installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl,
8510           installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl,
8511           installcheck/Amanda_Holding.pl,
8512           installcheck/Amanda_IPC_LineProtocol.pl,
8513           installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl,
8514           installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl,
8515           installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl,
8516           installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm,
8517           installcheck/Installcheck/Application.pm,
8518           installcheck/Installcheck/Changer.pm,
8519           installcheck/Installcheck/Config.pm,
8520           installcheck/Installcheck/Dumpcache.pm,
8521           installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm,
8522           installcheck/_setupcache.pl, installcheck/amarchiver.pl,
8523           installcheck/amcheckdump.pl, installcheck/amdevcheck.pl,
8524           installcheck/amdump.pl, installcheck/amfetchdump.pl,
8525           installcheck/amgetconf.pl, installcheck/amgtar.pl,
8526           installcheck/ampgsql.pl, installcheck/amreport.pl,
8527           installcheck/amrmtape.pl, installcheck/amservice.pl,
8528           installcheck/amstatus.pl, installcheck/amtape.pl,
8529           installcheck/amtapetype.pl, installcheck/bigint.pl,
8530           installcheck/mock/mtx.pl, installcheck/mock_mtx.pl,
8531           installcheck/pp-scripts.pl, installcheck/taper.pl,
8532           perl/Amanda/Application.pod, perl/Amanda/Application.swg,
8533           perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod,
8534           perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm,
8535           perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm,
8536           perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm,
8537           perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm,
8538           perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg,
8539           perl/Amanda/Config.pod, perl/Amanda/Config.swg,
8540           perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm,
8541           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
8542           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
8543           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
8544           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
8545           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
8546           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
8547           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
8548           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
8549           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
8550           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
8551           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
8552           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
8553           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
8554           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
8555           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
8556           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
8557           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
8558           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
8559           perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl,
8560           server-src/amcheckdump.pl, server-src/amcleanup.pl,
8561           server-src/amrmtape.pl, server-src/amserverconfig.pl,
8562           server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h,
8563           server-src/taper-disk-port-source.c,
8564           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
8565           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
8566           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
8567           server-src/taper-port-source.h, server-src/taper-source.c,
8568           server-src/taper-source.h, server-src/taperscan.c,
8569           server-src/taperscan.h, server-src/xfer-server.h,
8570           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
8571           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
8572           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
8573           xfer-src/source-pattern.c, xfer-src/source-random.c,
8574           xfer-src/xfer-element.c, xfer-src/xfer-element.h,
8575           xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h,
8576           xfer-src/xmsg.c, xfer-src/xmsg.h:
8577           update/correct copyright notice years
8578
8579 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
8580         * config/automake/scripts.am: support scripts with subdirs
8581
8582 2009-06-17  Dustin J. Mitchell <dustin@zmanda.com>
8583         * installcheck/mock/mtx.pl: new "mock" mtx for testing
8584         * installcheck/mock_mtx.pl: test the test mtx
8585         * installcheck/Installcheck/Mock.pm: support for using mtx
8586         * installcheck/Installcheck/Run.pm: don't apply sbindir if there
8587           are any slashes in the app name
8588         * installcheck/Makefile.am: new files
8589
8590 2009-06-16  Jean-Louis Martineau <martineau@zmanda.com>
8591         * server-src/planner.c: Fix for bump from level 9 to 10.
8592
8593 2009-06-13  Dustin J. Mitchell <dustin@zmanda.com>
8594         * installcheck/Amanda_Changer_compat.pl: add test case for concurrent
8595           calls to chg-compat's info() (tests the fix committed 2009-06-01)
8596
8597 2009-06-12  Dustin J. Mitchell <dustin@zmanda.com>
8598         * config/amanda/flags.m4: fix --enable-werror macro
8599
8600 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
8601         * server-src/planner.c: Print how tape_length is computed.
8602
8603 2009-06-12  Jean-Louis Martineau <martineau@zmanda.com>
8604         * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root
8605         * man/xml-source/amanda-client.conf.5.xml: Typo.
8606         * man/xml-source/amanda.conf.5.xml: Add ssh_keys.
8607
8608 2009-06-11  Nikolas Coukouma <atrus@zmanda.com>
8609         * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c,
8610           common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c,
8611           common-src/queueing.h, common-src/semaphore-test.c,
8612           common-src/semaphore.c, common-src/semaphore.h,
8613           config/automake/scripts.am, config/automake/vars.am,
8614           device-src/device-queueing.c, device-src/device-queueing.h,
8615           device-src/device.c, device-src/device.h, device-src/null-device.c,
8616           device-src/property.c, device-src/property.h,
8617           device-src/rait-device.c, device-src/s3-device.c,
8618           device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c,
8619           device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c,
8620           device-src/tape-device.h, device-src/tape-ops.h,
8621           device-src/tape-posix.c, device-src/tape-uware.c,
8622           device-src/tape-xenix.c, device-src/vfs-device.c,
8623           device-src/vfs-test.c, device-src/xfer-dest-device.c,
8624           device-src/xfer-dest-taper.c, device-src/xfer-device.h,
8625           device-src/xfer-source-device.c, perl/Amanda/Application.pod,
8626           perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm,
8627           perl/Amanda/Archive.pod, perl/Amanda/Archive.swg,
8628           perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm,
8629           perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm,
8630           perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm,
8631           perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod,
8632           perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod,
8633           perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in,
8634           perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod,
8635           perl/Amanda/Device.swg, perl/Amanda/Disklist.pod,
8636           perl/Amanda/Disklist.swg, perl/Amanda/Header.pod,
8637           perl/Amanda/Header.swg, perl/Amanda/Holding.pm,
8638           perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod,
8639           perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod,
8640           perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in,
8641           perl/Amanda/Process.pm, perl/Amanda/Script.pm,
8642           perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod,
8643           perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod,
8644           perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg,
8645           perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg,
8646           perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg,
8647           perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c,
8648           perl/amglue/constants.swg, perl/amglue/dumpspecs.swg,
8649           perl/amglue/exports.swg, perl/amglue/filehandles.swg,
8650           perl/amglue/ghashtable.c, perl/amglue/glib.swg,
8651           perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c,
8652           perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c,
8653           server-src/taper-disk-port-source.h, server-src/taper-file-source.c,
8654           server-src/taper-file-source.h, server-src/taper-mem-port-source.c,
8655           server-src/taper-mem-port-source.h, server-src/taper-port-source.c,
8656           server-src/taper-port-source.h, server-src/taper-source.c,
8657           server-src/taper-source.h, server-src/xfer-server.h,
8658           server-src/xfer-source-holding.c, xfer-src/amxfer.h,
8659           xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c,
8660           xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c,
8661           xfer-src/source-pattern.c, xfer-src/source-random.c,
8662           xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c,
8663           xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h:
8664           relincense LGPL files under the GPL
8665
8666 2009-06-10  Paul C. Mantz <pcmantz@zmanda.com>
8667         * perl/Amanda/Application.pod: moved from .swg file
8668         * perl/Amanda/Application.swg: removed pod documentation
8669         * perl/Amanda/Archive.pod: moved from .swg file
8670         * perl/Amanda/Archive.swg: removed pod documentation
8671         * perl/Amanda/Cmdline.pod: moved from .swg file
8672         * perl/Amanda/Cmdline.swg: removed pod documentation
8673         * perl/Amanda/Config.pod: moved from .swg file
8674         * perl/Amanda/Config.swg: removed pod documentation
8675         * perl/Amanda/Debug.pod: moved from .swg file
8676         * perl/Amanda/Debug.swg: removed pod documentation
8677         * perl/Amanda/Device.pod: moved from .swg file
8678         * perl/Amanda/Device.swg: removed pod documentation
8679         * perl/Amanda/Disklist.pod: moved from .swg file
8680         * perl/Amanda/Disklist.swg: removed pod documentation
8681         * perl/Amanda/Header.pod: moved from .swg file
8682         * perl/Amanda/Header.swg: removed pod documentation
8683         * perl/Amanda/Logfile.pod: moved from .swg file
8684         * perl/Amanda/Logfile.swg: removed pod documentation
8685         * perl/Amanda/MainLoop.pod: moved from .swg file
8686         * perl/Amanda/MainLoop.swg: removed pod documentation
8687         * perl/Amanda/Tapelist.pod: moved from .swg file
8688         * perl/Amanda/Tapelist.swg: removed pod documentation
8689         * perl/Amanda/Tests.pod: moved from .swg file
8690         * perl/Amanda/Tests.swg: removed pod documentation
8691         * perl/Amanda/Util.pod: moved from .swg file
8692         * perl/Amanda/Util.swg: removed pod documentation
8693         * perl/Amanda/Xfer.pod: moved from .swg file
8694         * perl/Amanda/Xfer.swg: removed pod documentation
8695         * perl/Amanda/XferServer.pod: moved from .swg file
8696         * perl/Amanda/XferServer.swg: removed pod documentation
8697         * perl/Makefile.am: added pod files to tar dist
8698
8699 2009-06-05  Nikolas Coukouma <atrus@zmanda.com>
8700         * installcheck/Amanda_Device.pl: test device named just "s3:"
8701
8702 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
8703         * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric
8704           Olsen <herolsen@alumni.upenn.edu>
8705
8706 2009-06-03  Dustin J. Mitchell <dustin@zmanda.com>
8707         * config/amanda/dumpers.m4: fix quoting for shell portability
8708
8709 2009-06-02  Nikolas Coukouma <atrus@zmanda.com>
8710         * device-src/s3.c: retry S3 uploads on DNS failure
8711
8712 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
8713         * installcheck/Installcheck/Config.pm: add remove_param
8714         * installcheck/Makefile.am installcheck/amtape.pl: new installcheck
8715
8716 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
8717         * perl/Amanda/Header.swg: add :constant tag
8718         * server-src/amvault.pl: use it
8719
8720 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
8721         * device-src/s3-device.c: start delete at file 1
8722
8723 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
8724         * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info
8725
8726 2009-06-01  Dustin J. Mitchell <dustin@zmanda.com>
8727         * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a
8728           message before existing; fixes problems on OS X
8729
8730 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
8731         * server-src/amindexd.c: fix sscanf.
8732
8733 2009-05-28  Jean-Louis Martineau <martineau@zmanda.com>
8734         * server-src/reporter.c: Print only the first 100 lines in FAiL and
8735                                  STRANGE detail section.
8736
8737 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
8738         * common-src/match.c: Match UNC name diskname.
8739         * man/xml-source/amanda.8.xml: Document UNC matcher.
8740
8741 2009-05-27  Jean-Louis Martineau <martineau@zmanda.com>
8742         * client-src/client_util.c: Improve error reporting.
8743         * client-src/sendsize.c: Typo
8744         * client-src/selfcheck.c: Execute application with --calcsize even if
8745                                   it not the first estimate.
8746         * application-src/amgtar.c: Check calcsize binary.
8747         * application-src/amstar.c: Check calcsize binary.
8748         * server-src/planner.c: log sendsize error as warning if a server
8749                                 estimate is available.
8750
8751 2009-05-26  Jean-Louis Martineau <martineau@zmanda.com>
8752         * application-src/amgtar.c: Set MAX_LEVEL to 399.
8753         * common-src/amanda.h: Set DUMP_LEVELS to 400.
8754         * client-src/amandates.h: Remove DUMP_LEVELS.
8755         * server-src/infofile.h: Remove DUMP_LEVELS
8756         * server-src/amtrmidx.c: Fix for level with more than one digit.
8757         * server-src/amindexd.c, server-src/find.c
8758           server-src/reporter.c: Use DUMP_LEVELS.
8759
8760 2009-05-25  Dustin J. Mitchell <dustin@zmanda.com>
8761         * device-src/xfer-dest-taper.c: make the pointers, not the objects,
8762           volatile
8763
8764 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
8765         * common-src/fileheader.c: use %zu for a size_t argument.
8766
8767 2009-05-25  Jean-Louis Martineau <martineau@zmanda.com>
8768         * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
8769         * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS.
8770         * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR.
8771
8772 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
8773         * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package
8774         * perl/Amanda/Util.swg: add split_quoted_strings
8775         * common-src/util.c: handle NULL string correctly
8776         * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl
8777           installcheck/Makefile.am: tests for all
8778
8779 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
8780         * installcheck/amservice.pl: call $testconfig->write();
8781
8782 2009-05-24  Dustin J. Mitchell <dustin@zmanda.com>
8783         * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab
8784           size heuristic; handle the case where extra slabs are still in memory
8785           when rewinding a disk-cached part; add 'volatile' and make memory
8786           access safer; use a cache directory, not file
8787         * device-src/xfer-device.h: use a cache directory, not file
8788         * installcheck/Amanda_Xfer_serveronly.pl: use cache directory
8789         * perl/Amanda/Xfer.swg: use cache directory
8790         * perl/Amanda/XferServer.swg: use cache directory
8791
8792 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8793         * common-src/fileheader.c: use %zd for a size_t argument
8794
8795 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8796         * common-src/fileheader.c: don't automatically call dump_fileheader_t
8797           in build_header
8798         * server-src/dumper.c server-src/holding.c server-src/taper.c
8799           server-src/chunker.c: add debug messages as necessary
8800
8801 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8802         * device-src/amdevcheck.pl: move from server-src/
8803         * device-src/Makefile.am server-src/Makefile.am: move script
8804
8805 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8806         * perl/Amanda/Changer/compat.pm: run a full manual scan on update()
8807         * installcheck/Amanda_Changer_compat.pl: test it
8808
8809 2009-05-23  Dustin J. Mitchell <dustin@zmanda.com>
8810         * amandad-src/Makefile.am application-src/Makefile.am
8811           oldrecover-src/Makefile.am recover-src/Makefile.am
8812           restore-src/Makefile.am: remove LIB_EXTENSION
8813         * config/amanda/defaults.m4 config/amanda/devprefix.m4
8814           config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4
8815           config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4
8816           config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4
8817           config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use
8818           AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for
8819           compilers!)
8820
8821 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
8822         * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp.
8823
8824 2009-05-22  Jean-Louis Martineau <martineau@zmanda.com>
8825         * client-src/sendbackup.c: Compatibity with 2.4.2 server.
8826
8827 2009-05-22  Dustin J. Mitchell <dustin@zmanda.com>
8828         * device-src/vfs-device.c: close the tapelabel file after reading it
8829
8830 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
8831         * server-src/planner.c: Fix for 'estimate calcsize server' with older
8832                                 client.
8833
8834 2009-05-21  Jean-Louis Martineau <martineau@zmanda.com>
8835         * common-src/queueing.c: set queue_fd->errmsg.
8836         * restore-src/restore.c: report queue_fd.errmsg
8837         * server-src/amcheckdump.pl: report $queue_fd->{errmsg}
8838           Check validation status before reporting status.
8839
8840
8841 2009-05-21  Dustin J. Mitchell <dustin@zmanda.com>
8842         * changer-src/chg-zd-mtx.sh: make -search errors non-fatal
8843
8844 2009-05-20  Jean-Louis Martineau <martineau@zmanda.com>
8845         * restore-src/restore.c: Report error.
8846
8847 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8848         * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen
8849           is true; same for tapedev
8850
8851 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8852         * server-src/changer.c: revert a change (from 2009-02-20) which caused
8853           taperscan to not do a sequential scan if stage one fails
8854
8855 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8856         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8857           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
8858           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
8859           add a fast_search info key
8860         * installcheck/Amanda_Changer_compat.pl
8861           installcheck/Amanda_Changer_disk.pl
8862           installcheck/Amanda_Changer_null.pl
8863           installcheck/Amanda_Changer_rait.pl
8864           installcheck/Amanda_Changer_single.pl: test it
8865         * changer-src/chg-glue.pl: and use it to reflect searchability to old
8866           changer API users
8867
8868 2009-05-20  Dustin J. Mitchell <dustin@zmanda.com>
8869         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
8870           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm
8871           perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm:
8872           changers return full devices, not just device names, and
8873           configure those devices based on device_property parameters
8874           specified in 'changer' configuration sections
8875         * changer-src/chg-glue.pl: return the device_name from the device
8876           (thereby losing the config info)
8877         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
8878           add changer properties and device_properties
8879         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
8880           installcheck/Amanda_Changer_disk.pl
8881           installcheck/Amanda_Changer_null.pl
8882           installcheck/Amanda_Changer_rait.pl
8883           installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl
8884           installcheck/amrmtape.pl: test changer changes
8885         * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate
8886           device manually
8887
8888 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
8889         * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors
8890         * installcheck/Amanda_MainLoop.pl: ..so don't test it
8891
8892 2009-05-19  Dustin J. Mitchell <dustin@zmanda.com>
8893         * perl/Makefile.am: revert -Werror change - SWIG output is invalid C
8894           in many cases
8895
8896 2009-05-19  Jean-Louis Martineau <martineau@zmanda.com>
8897         * common-src/conffile.c: Add reapply_config_overwrites.
8898         * common-src/conffile.h: Add prototype of reapply_config_overwrites.
8899         * perl/Amanda/Config.swg: Add reapply_config_overwrites.
8900         * recover-src/amrecover.c: Call reapply_config_overwrites.
8901
8902 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
8903         * perl/Amanda/MainLoop.swg: new high-level call_after,
8904           call_on_child_termination, async_read, async_write; POD for new functions; and
8905           description of good async style
8906         * installcheck/Amanda_MainLoop.pl: test new functions
8907         * perl/amglue/filehandles.swg: use SvIOK
8908
8909 2009-05-18  Dustin J. Mitchell <dustin@zmanda.com>
8910         * perl/Makefile.am: add -Werror on gcc
8911
8912 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
8913         * server-src/driver.c: Fix crash in amflush.
8914
8915 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8916         * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm
8917           perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
8918           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
8919           perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg
8920           perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup
8921
8922 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8923         * installcheck/Installcheck.pm:always create $Installcheck::TMP;
8924           package returns 1
8925         * installcheck/Installcheck/Run.pm: export run_expect
8926         * installcheck/amarchiver.pl: quote a path
8927
8928 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8929         * perl/Amanda/Changer/compat.pm: qualify one last debug message
8930
8931 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8932         * perl/Amanda/XferServer.swg: include xfer-server.h
8933
8934 2009-05-15  Dustin J. Mitchell <dustin@zmanda.com>
8935         * common-src/debug.c common-src/debug.h: refactor set_logerr
8936           and erroutput_type into a more flexible amanda_log_handler system
8937         * server-src/logfile.c server-src/logfile.h: provide
8938           amanda_log_trace_log
8939         * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it
8940         * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it
8941         * amandad-src/amandad.c application-src/amgtar.c
8942           application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c
8943           client-src/sendbackup.c client-src/sendsize.c
8944           restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c
8945           server-src/amcheck.c server-src/amflush.c server-src/amlabel.c
8946           server-src/amlogroll.c server-src/amservice.c server-src/amtape.c
8947           server-src/chunker.c server-src/driver.c server-src/dumper.c
8948           server-src/planner.c server-src/reporter.c server-src/taper.c: use new
8949           system
8950
8951 2009-05-15  Jean-Louis Martineau <martineau@zmanda.com>
8952         * common-src/debug.c: Fix memory leak.
8953
8954 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
8955         * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small
8956           refactoring
8957         * installcheck/Amanda_Changer_rait.pl: update tests to expect it
8958
8959 2009-05-13  Dustin J. Mitchell <dustin@zmanda.com>
8960         * perl/Amanda/Device.swg: parse string values for properties
8961         * installcheck/Amanda_Device.pl: test
8962
8963 2009-05-12  Jean-Louis Martineau <martineau@zmanda.com>
8964         * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error
8965
8966 2009-05-08  Dustin J. Mitchell <dustin@zmanda.com>
8967         * perl/Amanda/Logfile.swg: add log_add
8968         * installcheck/Amanda_Logfile.pl: test it
8969
8970 2009-05-08  Jean-Louis Martineau <martineau@zmanda.com>
8971         * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL.
8972
8973 2009-05-07  Chris Hoogendyk <hoogendyk@bio.umass.edu>
8974         * man/xml-source/amanda-auth.7.xml: explain default for amandahosts
8975           "service"
8976
8977 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
8978         * server-src/changer.c: remove unused variable
8979
8980 2009-05-07  Dustin J. Mitchell <dustin@zmanda.com>
8981             Jean-Louis Martineau <martineau@zmanda.com>
8982         * common-src/debug.c: do not use a mutex in debug_printf
8983         * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c:
8984           do not call debug_printf after fork()
8985
8986 2009-05-06  Dustin J. Mitchell <dustin@zmanda.com>
8987         * server-src/taper.c: check for division by zero and don't print 'nan'
8988           for kbps
8989         * installcheck/taper.pl: don't expect 'nan'
8990
8991 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
8992         * server-src/amrmtape.pl: try loading disklist before erasing,
8993           before amadmin tries (and possibly fails)
8994
8995 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
8996         * man/xml-source/amdevcheck.8.xml: Document exit code.
8997         * server-src/amdevcheck.pl: change exit code.
8998
8999 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
9000         * installcheck/Makefile.am installcheck/taper.pl: new installcheck for
9001           taper
9002         * installcheck/Installcheck/Config.pm: cleanup
9003         * installcheck/Installcheck/Run.pm: cleanup
9004
9005 2009-05-04  Dustin J. Mitchell <dustin@zmanda.com>
9006         * server-src/taper-mem-port-source.c
9007           server-src/taper-disk-port-source.c: continue reading from the port
9008           after the cache is exhausted, instead of terminating the part abruptly
9009           (which can lead to insertion of spurious zeros into the dumpfile);
9010           also remove some unnecessary assertions (g_return_val_if_fail)
9011         * server-src/taper-file-source.c: use correct unit on part size;
9012           correctly calculate estimated number of parts
9013         * server-src/taper-port-source.c: replace assertion with 'if'
9014
9015 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
9016         * server-src/amdevcheck.pl: Add '--label' option.
9017         * man/xml-source/amdevcheck.8.xml: Document '--label' option.
9018
9019 2009-05-04  Nikolas Coukouma <atrus@zmanda.com>
9020         * application-src/ampgsql.pl: accept gnutar-path option;
9021           use absolute path when calling unlink()
9022
9023 2009-05-04  Jean-Louis Martineau <martineau@zmanda.com>
9024         * server-src/taper.c: do not include a partial part in the size
9025           calculation
9026
9027 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9028         * server-src/driver.c: Fix deadlock.
9029
9030 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9031         * application-src/amgtar.c, application-src/amstar.c: Validate if
9032           binary not available.
9033
9034 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9035         * application-src/amstar.c: Compile pattern once.
9036                                     Remove a superfluous '\n'.
9037
9038 2009-04-30  Jean-Louis Martineau <martineau@zmanda.com>
9039         * application-src/amstar.c: Handle hard link.
9040
9041 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
9042         * server-src/changer.c: s/execve/execv
9043
9044 2009-04-29  Jean-Louis Martineau <martineau@zmanda.com>
9045         * server-src/changer.c: Pass command override to chg-glue.
9046         * changer-src/chg-glue.pl: Parse command override.
9047
9048 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9049         * server-src/amadmin.c: Fix error reporting in find subcommand.
9050
9051 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9052         * recover-src/amrecover.h: Change prototype.
9053         * recover-src/extract_list.c: merge_path, abort if cd_* failed.
9054         * recover-src/set_commands.c: Many functions return 0 or 1.
9055
9056 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9057         * application-src/amsuntar.pl: Fix redirection in validate command.
9058
9059 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9060         * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml,
9061           man/xml-source/amflush.8.xml,
9062           man/xml-source/amrestore.8.xml: Fix order of -o argument.
9063         * restore-src/amfetchdump.c, restore-src/amrestore.c,
9064           server-src/amcheck.c,
9065           server-src/amflush.c: Fix order of -o argument in usage function.
9066
9067 2009-04-28  Jean-Louis Martineau <martineau@zmanda.com>
9068         * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk
9069                                        expression section.
9070
9071 2009-04-28  Nikolas Coukouma <atrus@zmanda.com>
9072         * application-src/ampgsql.pl: remove checks for PG-DATADIR
9073
9074 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
9075         * application-src/ampgsql.pl: lowercase property names when accessing them
9076
9077 2009-04-27  Nikolas Coukouma <atrus@zmanda.com>
9078         * application-src/ampgsql.pl: fix debug printing of property names,
9079           add parent directory checks to selfcheck command,
9080           check psql binary path, fix whitespace
9081         * perl/Amanda/Application.swg: update usage docs
9082         * installcheck/Installcheck/Application.pm: fix formatting tags
9083           remove 'level' argument from selfcheck command
9084         * installcheck/ampgsql.pl: test selfcheck command a bit
9085
9086 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
9087         * server-src/amcheck.c: Remove "Usage of fully qualified hostname
9088           recommended for Client" warning.
9089
9090 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
9091         * application-src/amsamba.pl: Use device if specified.
9092
9093 2009-04-27  Jean-Louis Martineau <martineau@zmanda.com>
9094         * client-src/sendbackup.c: Fix dbprintf statements.
9095
9096 2009-04-24  Jean-Louis Martineau <martineau@zmanda.com>
9097         * application-src/amsuntar.pl: Add LANG property.
9098         * man/xml-source/amsuntar.8.xml: Document LANG property.
9099
9100 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
9101         * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header,
9102           add strange regex for UTF-8, estimate fail only if an output match
9103           an error regex or if an output match nothing.
9104
9105 2009-04-23  Dustin J. Mitchell <dustin@zmanda.com>
9106         * server-src/amcheckdump.pl: request tapes manually when using
9107           Amanda::Changer::single
9108
9109 2009-04-23  Jean-Louis Martineau <martineau@zmanda.com>
9110         * application-src/amsuntar.pl: Fix validate command.
9111
9112 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
9113         * server-src/amcheckdump.pl: Wait for an input before reading tape.
9114
9115 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
9116         * application-src/amsamba.pl: Parse username ending with '%'.
9117
9118 2009-04-22  Sam Couter <sam@couter.id.au>
9119         * changer-src/chg-glue.pl: return a helpful error message when
9120           Amanda::Changer->new() fails
9121
9122 2009-04-22  Jean-Louis Martineau <martineau@zmanda.com>
9123         * server-src/amstatus.pl: Print percentage done when writing to tape.
9124
9125 2009-04-21  Dustin J. Mitchell <dustin@zmanda.com>
9126         * server-src/Makefile.am server-src/xfer-server.h
9127           server-src/xfer-source-holding.c: new module reading from holding
9128           files
9129         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg
9130           perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add
9131           Amanda::Xfer::Source::Holding
9132         * device-src/xfer-dest-taper.c: make class macros public; ignore
9133           cache_inform when part_size == 0
9134         * device-src/xfer-device.h: xfer-dest-taper class macros
9135         * xfer-src/amxfer.h: include element-glue.h
9136         * installcheck/Amanda_Xfer_serveronly.pl: updated tests
9137
9138 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
9139         * server-src/diskfile.c: Typo.
9140
9141 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
9142         * server-src/diskfile.c: Print ", quoting may not be correct".
9143
9144 2009-04-21  Jean-Louis Martineau <martineau@zmanda.com>
9145         * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK'
9146           property to 'tape:' driver.
9147         * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK'
9148           property, set is_eof to FLASE where needed.
9149         * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice.
9150         * device-src/tape-aix.c, device-src/tape-uware.c,
9151           device-src/tape-xenix.c, device-src/tape-posix.c: Set default value
9152           for FSF_AFTER_FILEMARK.
9153         * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK'
9154           property.
9155         * xfer-src/dest-null.c: Remove bogus assert.
9156         * device-src/amtapetype.pl: New -p option to discover driver properties,
9157           it can find value for the 'FSF_AFTER_FILEMARK' property.
9158         * man/xml-source/amtapetype.8.xml: Document -p options
9159
9160 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
9161         * client-src/sendsize.c: Typo
9162         * server-src/planner.c: Don't log failed estimate message.
9163
9164 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
9165         * device-src/tape-device.c: handle EROFS in open.
9166
9167 2009-04-20  Jean-Louis Martineau <martineau@zmanda.com>
9168         * changer-src/chg-zd-mtx.sh: Improve error message.
9169
9170 2009-04-20  Dustin J. Mitchell <dustin@zmanda.com>
9171         * device-src/tape-device.c: improve error messages on reading/writing
9172
9173 2009-04-17  Nikolas Coukouma <atrus@zmanda.com>
9174         * device-src/device.c: fix error message for unparsable property
9175         * installcheck/Amanda_Device.pl: test error message
9176
9177 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
9178         * server-src/cmdline.c: host, disk and timestamp argument are not regex
9179
9180 2009-04-17  Jean-Louis Martineau <martineau@zmanda.com>
9181         * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match.
9182
9183 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
9184         * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR
9185                                        properties.
9186         * man/xml-source/amsuntar.8.xml: Document them.
9187
9188 2009-04-16  Dustin J. Mitchell <dustin@zmanda.com>
9189         * perl/Amanda/MainLoop.swg: get call_later order right, more useful
9190           sub names
9191         * installcheck/Amanda_MainLoop.pl: tests for same
9192
9193 2009-04-16  Jean-Louis Martineau <martineau@zmanda.com>
9194         * server-src/amcheckdump.pl: Fix three typos.
9195
9196 2009-04-16  Nikolas Coukouma <atrus@zmanda.com>
9197         * server-src/amcheckdump.pl: Print per-image status messages,
9198           with detailed error info
9199
9200 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9201         * application-src/amsamba.pl: Fix parsing of username...
9202
9203 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9204         * server-src/amcheckdump.pl: Validate image if all part are available.
9205
9206 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9207         * client-src/sendsize.c: Don't report "can't estimate level" error.
9208
9209 2009-04-15  Jean-Louis Martineau <martineau@zmanda.com>
9210         * server-src/taperscan.c: Make find_brand_new_tape_label return an
9211           error message instead of printing it to stderr.  Make scan_read_label
9212           use the error message from find_brand_new_tape_label.
9213
9214 2009-04-15  Dustin J. Mitchell <dustin@zmanda.com>
9215         * restore-src/amfetchdump.c: keep the order of tapes within a
9216           particular run of Amanda
9217
9218 2009-04-15  Nikolas Coukouma <atrus@zmanda.com>
9219         * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use
9220           and more pleasant to debug.
9221         * installcheck/Amanda_Changer.pl,
9222           installcheck/Amanda_Changer_compat.pl,
9223           installcheck/Amanda_Changer_disk.pl,
9224           installcheck/Amanda_Changer_null.pl,
9225           installcheck/Amanda_Changer_rait.pl,
9226           installcheck/Amanda_Changer_single.pl,
9227           perl/Amanda/Changer.pm,
9228           perl/Amanda/Changer/compat.pm,
9229           perl/Amanda/Changer/disk.pm,
9230           perl/Amanda/Changer/null.pm,
9231           perl/Amanda/Changer/rait.pm,
9232           perl/Amanda/Changer/single.pm,
9233           perl/Amanda/MainLoop.swg,
9234           server-src/amrmtape.pl,
9235           server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it
9236
9237 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9238         * application-src/amsamba.pl: Default amandapass file is
9239                                       CONFIG_DIR/amandapass.
9240
9241 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9242         * common-src/conffile.c: Fix inheriting properties.
9243         * installcheck/Amanda_Config.pl: Test it.
9244
9245 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9246         * amandad-src/amandad.c: Improve error message.
9247
9248 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>
9249         * server-src/amstatus.pl: Remove spurious debug message.
9250
9251 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
9252             Satya Ganga <gsat@zmanda.com>
9253         * application-src/amzfs-sendrecv.pl: Use complete compress ratio.
9254
9255 2009-04-14  Jean-Louis Martineau <martineau@zmanda.com>,
9256             Dustin J. Mitchell <dustin@zmanda.com>
9257         Bug found by Gene Heskett.
9258         * server-src/planner.c: Set dp before using it.
9259
9260 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
9261         * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property.
9262                                       Allow '\' in diskname and amandapass.
9263         * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property.
9264
9265 2009-04-11  Jean-Louis Martineau <martineau@zmanda.com>
9266         * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0
9267                                        Parse hard link in index.
9268         * server-src/amstatus.pl: Fix amstatus for partial chunker.
9269         * installcheck/amstatus.pl: Test it.
9270         * installcheck/Installcheck/Run.pm: export an $exit_code variable.
9271
9272 2009-04-10  Dustin J. Mitchell <dustin@zmanda.com>
9273         * common-src/conffile.c: fix handling of double-backslash in quoted
9274           strings
9275
9276 2009-04-09  Ray Tracer <RayTracer@irc.freenode.net>
9277         * application-src/amgtar.c: add missing 'break'
9278
9279 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
9280         * common-src/conffile.c: store properties in lower-case
9281         * perl/Amanda/Config.swg: document data formats for config values
9282         * installcheck/Amanda_Config.pl: test case-sensitivity
9283
9284 2009-04-09  Dustin J. Mitchell <dustin@zmanda.com>
9285         * device-src/rait-device.c: add rait_device_new_from_children
9286         * device-src/device.h: prototype
9287         * perl/Amanda/Device.swg: wrap into perl
9288         * installcheck/Amanda_Device.pl: test
9289
9290 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
9291         * device-src/tape-device.c: fix typo to get device_name right
9292
9293 2009-04-08  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
9294         * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location
9295
9296 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
9297         * common-src/fileheader.c: fix early return if PROGRAM not given
9298         * perl/Amanda/Disklist.swg: do not free the C disklist
9299         * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with
9300           functionality similar to server-src/holding.[ch]
9301         * server-src/holding.h: clarify comments
9302         * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm
9303           installcheck/Makefile.am: tests
9304
9305 2009-04-08  Dustin J. Mitchell <dustin@zmanda.com>
9306         * device-src/xfer-dest-taper.c: fix uninitialized-value warnings
9307
9308 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
9309         * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks
9310
9311 2009-04-07  Dustin J. Mitchell <dustin@zmanda.com>
9312         * device-src/xfer-dest-taper.c: new xfer element to handle splitting
9313           dumpfiles over multiple volumes, with retry of failed split parts
9314         * device-src/Makefile.am: new file
9315         * device-src/xfer-device.h: new prototype
9316         * installcheck/Amanda_Xfer_serveronly.pl: new tests
9317         * installcheck/Installcheck/Run.pm: increase default vtape size
9318         * perl/Amanda/Xfer.swg: POD for new element
9319         * perl/Amanda/XferDevice.swg: wrap new element
9320         * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE
9321
9322 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
9323         * client-drc/sendbackup.c: Init result.
9324
9325 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
9326         * server-src/taper-source.c (default_taper_source_seek_to_part_start):
9327           returns FALSE on not splitted dump.
9328         * server-src/driverio.c: info.last_level should not be set on error
9329                          if level >= info.last_level.
9330         * server-src/driver.c: Rename update_failed_dump_to_tape to
9331           update_failed_dump.
9332           Call update_failed_dump on failed dump to holding disk.
9333         * application-src/amgtar.c: Don't update statefile if the backup failed.
9334         * client-drc/sendbackup.c: Don't update amandates if backup failed.
9335
9336 2009-04-07  Jean-Louis Martineau <martineau@zmanda.com>
9337         * man/xml-source/amanda-changers.7.xml: Document changerfile for
9338                                                 chg-disk.
9339
9340 2009-04-03  Dustin J. Mitchell <dustin@zmanda.com>
9341         * perl/Amanda/Changer/compat.pm: always configure devices while
9342           scanning
9343         * server-src/amcheckdump.pl: configure devices returned from the
9344           changer
9345
9346 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9347         * application-src/amsamba.pl: Allow empty username.
9348         * man/xml-source/amsamba.8.xml: Document empty username and password.
9349
9350 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9351         * common-src/security-util.c: Fix isdigit use.
9352
9353 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9354         * common-src/conffile.c: New client_port option.
9355         * common-src/conffile.h: New client_port option.
9356         * man/xml-source/amanda-auth.7.xml,
9357           man/xml-source/amanda-client.conf.5.xml,
9358           man/xml-source/amanda.conf.5.xml: New client_port option.
9359         * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT.
9360         * common-src/bsd-security.c,
9361           common-src/bsdtcp-security.c,
9362           common-src/bsdudp-security.c: Use client_port option.
9363         * common-src/security-util.c: New find_port_for_service function.
9364         * common-src/security-util.h: Prototype for find_port_for_service.
9365         * installcheck/Amanda_Config.pl: Check reaad_int_or_str function.
9366         * recover-src/amrecover.c: Remove amindexd_client_get_security_conf.
9367         * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf
9368         * server-src/amadmin.c (disklist_one): Print client_port.
9369         * server-src/amcheck.c: Fix remote_errors;
9370         * server-src/diskfile.h (disk_t): Add client_port.
9371         * server-src/diskfile.c: Set client_port.
9372         * server-src/driverio.c: Send client_port to dumper.
9373         * server-src/dumper.c: Parse client_port.
9374         * server-src/server_util.c: return client_port.
9375
9376 2009-04-03  Nikolas Coukouma <atrus@zmanda.com>
9377         * device-src/s3-device.c, installcheck/Amanda_Device.pl:
9378           don't require location-compatible name for ignored value
9379
9380 2009-04-03  Jean-Louis Martineau <martineau@zmanda.com>
9381         * application-src/amsamba.pl: Allow empty password.
9382         * perl/Amanda/Util.swg: Small fix in skip_quoted_string.
9383         * installcheck/Amanda_Util.pl: Check skip_quoted_string fix.
9384
9385 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
9386         * server-src/amstatus.pl: prefix error message with "backup failed:"
9387           if a dump to holding disk failed.
9388
9389 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
9390         * server-src/amstatus.pl: Print a taper status.
9391         * server-src/taper.c: Quote TAPE-ERROR reply.
9392
9393 2009-04-02  Dustin J. Mitchell <dustin@zmanda.com>
9394         * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client"
9395
9396 2009-04-02  Jean-Louis Martineau <martineau@zmanda.com>
9397         * application-src/amsamba.pl: Typo.
9398
9399 2009-04-01  Dustin J. Mitchell <dustin@zmanda.com>
9400         * device-src/s3-device.c: always send errors from setup_handle
9401
9402 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
9403         * device-src/s3-device.c: don't clobber errors from setup_handle
9404
9405 2009-04-01  Nikolas Coukouma <atrus@zmanda.com>
9406         * NEWS: Note change to Amazon S3, add ampgsql
9407
9408 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
9409         * server-src/amcheck.c: Set l on error path.
9410
9411 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
9412         * device-src/s3.c: don't send empty location constraint,
9413           allocate error messages, fix constraint check in case of wildcard
9414         * installcheck/Amanda_Device.pl: actually test location constraints
9415
9416 2009-03-31  Nikolas Coukouma <atrus@zmanda.com>
9417         * application-src/ampgsql.pl: add newline to end of index entry
9418
9419 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
9420         * application-src/amsamba.pl: Set $self->{mesgout} before calling
9421                                       method that use it.
9422
9423 2009-03-31  Jean-Louis Martineau <martineau@zmanda.com>
9424         * application-src/Makefile.am: Remove amgtar_perl.
9425         * application-src/amgtar_perl.pl: Remove file.
9426
9427 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9428         * man/xml-source/amsamba.8.xml: Document amandapass file location.
9429
9430 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9431         * application-src/amsamba.pl: allow relative AMANDAPASS property.
9432         * man/xml-source/amsamba.8.xml: Document amandapass file location.
9433         * ReleaseNotes: amsamba
9434
9435 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9436         * server-src/amcheck.c: exit(1) if match_disklist() return an error.
9437         * server-src/planner.c: Better logging if match_disklist() return an
9438                                 error.
9439
9440 2009-03-30  Jean-Louis Martineau <martineau@zmanda.com>
9441         * server-src/planner.c: Use new one_est_t,
9442                                 print warning for server guessed estimate.
9443
9444 2009-03-29 Dan Locks <dwlocks@zmanda.com>
9445         * packaging/rpm/amanda.spec: change a number of %if conditionals to
9446           macros which expand if they are defined.
9447
9448 2009-03-29  Nikolas Coukouma <atrus@zmanda.com>
9449         * man/xml-source/amanda-devices.7.xml: add more notes
9450
9451 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
9452         * device-src/s3.c, installcheck/Amanda_Device.pl:
9453           ignore s3_bucket_location if set to "", pass "*" as "" (wildcard),
9454           pass others as-is
9455
9456 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
9457         * installcheck/Amanda_Util.pl: fix warning
9458         * perl/Amanda/Util.swg: fix typos
9459
9460 2009-03-27  Nikolas Coukouma <atrus@zmanda.com>
9461         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
9462           use a different dummy entry
9463
9464 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
9465         * recover-src/extract_list.c: Add --level argument to application.
9466
9467 2009-03-27  Jean-Louis Martineau <martineau@zmanda.com>
9468         * application-src/amsuntar.pl: Check for 'symbolic link' in index.
9469
9470 2009-03-27  Dustin J. Mitchell <dustin@zmanda.com>
9471         * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard.
9472
9473 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
9474         * installcheck/Amanda_Device.pl: fix test counts
9475         * installcheck/Amanda_Util.pl: fix shadow variable warning
9476
9477 2009-03-26  Nikolas Coukouma <atrus@zmanda.com>
9478         * device-src/s3.c: ignore empty s3_user_token
9479         * installcheck/Amanda_Device.pl: test empty s3_user_token
9480
9481 2009-03-26  Dustin J. Mitchell <dustin@zmanda.com>
9482         * man/xml-source/amanda.conf.5.xml: document new estimate changes made
9483           2009-02-04
9484
9485 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
9486         * server-src/planner.c: Remove logging of guessed estimate.
9487
9488 2009-03-26  Jean-Louis Martineau <martineau@zmanda.com>
9489         * client-src/sendsize.c: Typo.
9490
9491 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
9492         * application-src/ampgsql.pl: Add command_validate.
9493         * application-src/amgtar_perl.pl, application-src/amsamba.pl,
9494           application-src/amsuntar.pl: Sanity check for command_validate.
9495         * perl/Amanda/Application.swg: Add a default_validate function.
9496         * perl/Amanda/Script_App.pm: Execute defulat_validate if
9497                                      command_validate is not defined.
9498
9499 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9500         * perl/Amanda/Changer.pm: add a 'cmp' operator for
9501           Amanda::Changer::Error objects, to make testing easier
9502
9503 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9504         * perl/Amanda/Changer.pm: add Amanda::Changer::Error
9505           class to give more detail in changer errors
9506         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
9507           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
9508           perl/Amanda/Changer/single.pm: use it
9509         * changer-src/chg-glue.pl: handle new errors
9510         * installcheck/Makefile.am installcheck/Installcheck/Changer.pm:
9511           (chg_err_like) utility function
9512         * installcheck/Amanda_Changer.pl
9513           installcheck/Amanda_Changer_compat.pl
9514           installcheck/Amanda_Changer_disk.pl
9515           installcheck/Amanda_Changer_null.pl
9516           installcheck/Amanda_Changer_rait.pl
9517           installcheck/Amanda_Changer_single.pl: change tests
9518
9519 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9520         * perl/Amanda/Changer.pm: remove unused import() and export()
9521
9522 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9523         * device-src/s3.c: fix segfault in s3_make_bucket with location
9524           constraint
9525
9526 2009-03-25  Dustin J. Mitchell <dustin@zmanda.com>
9527         * perl/Amanda/Util.swg: add full_read and full_write
9528         * installcheck/Amanda_Util.pl: test 'em
9529
9530 2009-03-25  Jean-Louis Martineau <martineau@zmanda.com>
9531         * application-src/amsuntar.pl: Generate valid index stream.
9532
9533 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
9534         * man/xml-source/amanda-applications.7.xml,
9535           man/xml-source/amanda.8.xml: add missing references to applications
9536
9537 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
9538         * application-src/ampgsql.pl: older versions of perl don't like
9539           mixing functions and export tags
9540
9541 2009-03-24  Nikolas Coukouma <atrus@zmanda.com>
9542         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
9543           generate more-complete index, improve debugging and error handling
9544
9545 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
9546         * common-src/conffile.c: Fix line counting, Remove check for plugin.
9547         * server-src/diskfile.c: Add check for plugin.
9548
9549 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
9550         * server-src/planner.c: Default server estimate not larger than half
9551                                 a tape. log a warning.
9552
9553 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
9554         * application-src/amsamba.pl: Fix typo and check if smbclient is set.
9555
9556 2009-03-24  Jean-Louis Martineau <martineau@zmanda.com>
9557         * application-src/amgtar.c, application-src/amstar.c:
9558           Do sanity check if required arguments are not provided.
9559
9560 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
9561         * AUTHORS: remove "active" status if not committed in over 2 years
9562         * ChangeLog: clean up some messiness
9563         * contrib/changelog_parse.pl: simple parser for ChangeLog
9564
9565 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
9566         * application-src/amgtar.c: Add NO-UNQUOTE to restore.
9567
9568 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
9569         * application-src/amgtar.c, application-src/amgtar_perl.pl,
9570           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
9571           recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments.
9572         * application-src/amgtar.c: add NO-UNQUOTE property.
9573         * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property.
9574
9575 2009-03-23  Nikolas Coukouma <atrus@zmanda.com>
9576         * application-src/ampgsql.pl, installcheck/ampgsql.pl:
9577           fix ampgsql installchecks
9578
9579 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
9580         * application-src/amgtar.c, application-src/amgtar_perl.pl,
9581           client-src/sendbackup-gnutar.c, client-src/sendsize.c,
9582           recover-src/extract_list.c: Add '--no-unquote' to gtar arguments.
9583
9584 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
9585         * application-src/amgtar.c, application-src/amstar.c,
9586           client-src/client_util.c, client-src/client_util.h,
9587           client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
9588           client-src/sendbackup.c, client-src/sendsize.c,
9589           common-src/conffile.c, common-src/conffile.h,
9590           common-src/util.c, oldrecover-src/extract_list.c,
9591           recover-src/extract_list.c,
9592           server-src/server_util.c: Use GPtrArray instead of my_argv[].
9593
9594 2009-03-23  Jean-Louis Martineau <martineau@zmanda.com>
9595         * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml:
9596           Document the fact that: The { must appear at the end of a line,
9597                                   and the } on its own line.
9598
9599 2009-03-21  Jean-Louis Martineau <martineau@zmanda.com>
9600         * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match.
9601
9602 2009-03-20  Jean-Louis Martineau <martineau@zmanda.com>
9603         * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o
9604         * recover-src/amrecover.h: Add verbose to many prototype.
9605         * recover-src/extract_list.c: Allow to use path for many command.
9606         * recover-src/set_commands.c: Add verbose to many function.
9607         * recover-src/uparse.y, recover-src/uscan.l: Improve parser.
9608
9609 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
9610         (thanks to Peter Kunst <peter.kunst@swissrisk.com>)
9611         * common-src/Makefile.am: don't include genversion.h in distribution
9612           tarballs
9613
9614 2009-03-19  Jean-Louis Martineau <martineau@zmanda.com>
9615         * man/Makefile.am: Add .SECONDARY target.
9616
9617 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
9618         * man/xslt/expand-sambadoc.xsl:
9619         * man/entities/global.entities.in
9620           man/xml-source/*.xml: add a handy <manref> tag and a <seealso> tag
9621           for 'SEE ALSO' sections
9622         * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times"
9623           symbol; tweak tapecycle description
9624
9625 2009-03-19  Dustin J. Mitchell <dustin@zmanda.com>
9626         * xfer-src/Makefile.am: add -release to libamxfer
9627
9628 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
9629         * server-src/amrmtape.pl, installcheck/amrmtape.pl:
9630           re-label tapes if we --erase them and --keep-label is present
9631
9632 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
9633         * installcheck/Amanda_Process.pl: Fix for OS return perl.
9634
9635 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
9636         * perl/Amanda/Process.pm: Better match of argument.
9637                                   Match 'perl' to any process name.
9638
9639 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
9640         * installcheck/Amanda_Process.pl: Check second argument if first
9641                                           argument start with a dash.
9642         * perl/Amanda/Process.pm: The process name is now returned, not perl.
9643
9644 2009-03-18  Jean-Louis Martineau <martineau@zmanda.com>
9645         * man/xml-source/amrmtape.8.xml: Fix.
9646         * perl/Amanda/Process.pm: Find the process name if it is a perl script.
9647         * server-src/amrmtape.pl: Check and create the "log" file if --erase.
9648
9649 2009-03-18  Nikolas Coukouma <atrus@zmanda.com>
9650         * application-src/ampgsql.pl: fix numerous bugs, improve debug info
9651
9652 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
9653         * application-src/amgtar.c: fix typo causing check-device to be
9654           interpreted incorrectly
9655
9656 2009-03-17  Dustin J. Mitchell <dustin@zmanda.com>
9657         * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease
9658           implementation of the info() method
9659         * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm
9660           perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
9661           perl/Amanda/Changer/single.pm: use them
9662         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl:
9663           test the results
9664
9665 2009-03-17  Jean-Louis Martineau <martineau@zmanda.com>
9666         * server-src/amlabel.c: give correct exit status on failure
9667
9668 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
9669         * server-src/amstatus.pl: dump in "writing to tape" mode should also
9670                                   be included in the "dumped" summary.
9671
9672 2009-03-13  Jean-Louis Martineau <martineau@zmanda.com>
9673         * server-src/find.c: Fix listing of partial dump in holding disk.
9674
9675 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
9676         * installcheck/amreport.pl: New file.
9677
9678 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
9679         * common-src/columnar.c: New defaults, allow precision to be set.
9680         * man/xml-source/amanda.conf.5.xml: Document new columnspec format.
9681         * installcheck/Installcheck/Config.pm: Always set org to "DailySet1".
9682         * installcheck/Makefile.am: add amreport.
9683         * installcheck/amreport.pl: Check different value of columnspec.
9684         * installcheck/Amanda_Config.pl: Check with dumporder instead of org.
9685
9686 2009-03-12  Jean-Louis Martineau <martineau@zmanda.com>
9687         * server-src/planner.c: Log quoted qname.
9688
9689 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
9690         * device-src/amtapetype.pl: do not produce broken 'bytes' units
9691         * installcheck/amtapetype.pl: test changes
9692         * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes!
9693         * common-src/conffile.c: fix default for tapetype:length
9694
9695 2009-03-11  Dustin J. Mitchell <dustin@zmanda.com>
9696         * common-src/amfeatures.c: improve error handling in
9697           am_string_to_feature, return NULL on error
9698         * amandad-src/amandad_util.c recover-src/amrecover.c
9699           server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
9700           server-src/driver.c server-src/dumper.c server-src/planner.c: always
9701           terminate the string passed to am_string_to_feature
9702
9703 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
9704         * server-src/taper.c: return DONE if input file is partial.
9705
9706 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
9707         * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO
9708           value for boolean properties.
9709
9710 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
9711         * server-src/amstatus.pl: Print "failed: process terminated while" for
9712                                   dead run. Change "wait for" for "waiting for".
9713
9714 2009-03-10  Jean-Louis Martineau <martineau@zmanda.com>
9715         * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated.
9716         * man/xml-source/amstar.8.xml: Document it.
9717
9718 2009-03-10  Dustin J. Mitchell <dustin@zmanda.com>
9719         * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1.
9720
9721 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
9722         * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML
9723
9724 2009-03-09  Nikolas Coukouma <atrus@zmanda.com>
9725         * application-src/ampgsql.pl:
9726           set environment variables when running psql (from selfcheck)
9727
9728 2009-03-07  Nikolas Coukouma <atrus@zmanda.com>
9729         * application-src/ampgsql.pl: add selfcheck to ampgsql
9730
9731 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
9732         * perl/Amanda/Changer/rait.pm: replace die() with a proper error
9733           return
9734
9735 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
9736         * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4
9737           config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4
9738           configure.in: upgrade to libtool-2.2.4
9739
9740 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
9741         * restore-src/restore.c: remove incorrect assertion
9742
9743 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
9744         * common-src/amfeatures.c: fix am_string_to_feature to fail correctly
9745           on a bad feature string
9746
9747 2009-03-06  Dustin J. Mitchell <dustin@zmanda.com>
9748         * Makefile.am: always build xfer-src, on client or server
9749         * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am
9750           device-src/xfer-device.h device-src/xfer-dest-device.c
9751           device-src/xfer-source-device.c: move device-specific xfer elts to
9752           device-src
9753         * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c:
9754           generic glue
9755         * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg:
9756           only import server-specific symbols if they are available
9757         * installcheck/Makefile.am installcheck/Amanda_Xfer.pl
9758           installcheck/Amanda_Xfer_serveronly.pl: split into general and
9759           server-specific checks
9760
9761 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
9762         * application-src/ampgsql.pl: use older-style (<perl 5.10) mkpath
9763           options so we don't print "mkdir ..." lines into our backup data
9764
9765 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>
9766         * installcheck/Amanda_Device.pl: only perform property tests when we
9767           have a working S3 device; and get test counts right
9768
9769 2009-03-05  Dustin J. Mitchell <dustin@zmanda.com>, Nikolas Coukouma <atrus@zmanda.com>
9770         * man/xml-source/amanda.conf.5.xml,
9771           man/xml-source/amanda-devices.7.xml,
9772           installcheck/Amanda_Config.pl,
9773           installcheck/Amanda_Device.pl,
9774           common-src/util.c,
9775           common-src/glib-util.c,
9776           common-src/conffile.c,
9777           common-src/conffile.h:
9778           be consistent in the various names for 'true' and 'false' we allow,
9779           specifically in device properties
9780
9781 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
9782         * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs
9783           while backing up data dir
9784
9785 2009-03-05  Nikolas Coukouma <atrus@zmanda.com>
9786         * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml:
9787           make ampgsql use runtar (so it can access PostgreSQL's files)
9788
9789 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
9790         * perl/Amanda/Changer/rait.pm: add a slot-name shorthand
9791         * installcheck/Amanda_Changer_rait.pl: test it
9792         * man/xml-source/amanda-changers.7.xml: document it
9793
9794 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
9795         * device-src/rait-device.c: fix failure when parity (last) child
9796           has failed
9797         * installcheck/Amanda_Device.pl: test the fix
9798
9799 2009-03-04  Dustin J. Mitchell <dustin@zmanda.com>
9800         * changer-src/chg-glue.pl: add debugging
9801         * perl/Amanda/Changer/compat.pm: add debugging
9802
9803 2009-03-03  Nikolas Coukouma <atrus@zmanda.com>
9804         * application-src/ampgsql.pl: don't hang if .backup file never appears
9805
9806 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
9807         * example/amanda-client-postgresql.conf.in:
9808           update example and make it more complete
9809
9810 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
9811         * application-src/ampgsql.pl,
9812           man/xml-source/ampgsql.8.xml: cleanup old WAL files
9813
9814 2009-03-02  Nikolas Coukouma <atrus@zmanda.com>
9815         * installcheck/amrmtape.pl,
9816           server-src/amrmtape.pl: zero datestamp with --keep-label
9817
9818 2009-03-01  Nikolas Coukouma <atrus@zmanda.com>
9819         * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag
9820
9821 2009-02-27  Jean-Louis Martineau <martineau@zmanda.com>
9822         * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property.
9823
9824 2009-02-27  Dustin J. Mitchell <dustin@zmanda.com>
9825         * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too
9826
9827 2009-02-26  Dustin J. Mitchell <dustin@zmanda.com>
9828         * restore-src/restore.c: if the changer does not provide a device,
9829           use the configured tapedev
9830
9831 2009-02-26  Dan Locks <dwlocks@zmanda.com>
9832         * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1
9833           rpm builds will be broken for a bit longer in trunk
9834
9835 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
9836         * application-src/amgtar_perl.pl,
9837           application-src/amlog-script.pl,
9838           application-src/ampgsql.pl,
9839           application-src/amsamba.pl,
9840           application-src/amsuntar.pl,
9841           application-src/amzfs-sendrecv.pl,
9842           application-src/amzfs-snapshot.pl,
9843           application-src/script-email.pl,
9844           perl/Amanda/Application.swg,
9845           perl/Amanda/Script.pm,
9846           perl/Amanda/Script_App.pm:
9847           load config-name/amanda-client.conf as well as amanda-client.conf
9848
9849 2009-02-26  Nikolas Coukouma <atrus@zmanda.com>
9850         * application-src/ampgsql.pl,
9851           installcheck/amgtar.pl,
9852           installcheck/ampgsql.pl: use $@ to get eval errors (not $!)
9853
9854 2009-02-25  Nikolas Coukouma <atrus@zmanda.com>
9855         * application-src/amoracle.pl,
9856           application-src/ampgsql.pl,
9857           example/amanda-client-oracle.conf.in,
9858           example/amanda-client-postgresql.conf.in,
9859           installcheck/ampgsql.pl,
9860           man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties
9861           in line with conventions
9862
9863 2009-02-24  Jean-Louis Martineau <martineau@zmanda.com>
9864         * amandad-src/amandad.c, application-src/amgtar.c,
9865           changer-src/scsi-changer-driver.c, client-src/client_util.c,
9866           common-src/conffile.c, device-src/s3-device.c,
9867           oldrecover-src/set_commands.c, recover-src/set_commands.c,
9868           server-src/amindexd.c, server-src/planner.c,
9869           server-src/reporter.c: Replace all occurences of index by strchr,
9870                                  Replace all occurences of rindex by strrchr.
9871
9872 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
9873         * device-src/s3.c: make s3_list_keys use its own buffer
9874
9875 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
9876         * device-src/s3.c: fix error buffer handling of overflow data
9877
9878 2009-02-24  Dustin J. Mitchell <dustin@zmanda.com>
9879         * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE
9880           property
9881
9882 2009-02-24  Nikolas Coukouma <atrus@zmanda.com>
9883         * man/xml-source/ampgsql.8.xml,
9884           man/xml-source/amsamba.8.xml,
9885           man/xml-source/amstar.8.xml,
9886           man/xml-source/amsuntar.8.xml:
9887           document the mapping of configure options to default application
9888           property values
9889
9890 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
9891         * device-src/rait-device.c: actually *report* mismatched child
9892           labels/timestamps; correctly detect the 'first' device; and free old
9893           device label/time
9894
9895 2009-02-23  Dustin J. Mitchell <dustin@zmanda.com>
9896         * server-src/driver.c: improve confusing out-of-tapes error message
9897
9898 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
9899         * server-src/changer.c: if changer_find is used to search for a
9900           specific tape, do not try a redundant manual scan after the
9901           search fails
9902
9903 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9904         * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk'
9905           directory to test dumps
9906
9907 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9908         * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl
9909           installcheck/Amanda_Changer_disk.pl
9910           installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl
9911           installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl
9912           installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm
9913           installcheck/Installcheck/Config.pm
9914           installcheck/Installcheck/Dumpcache.pm
9915           installcheck/Installcheck/Run.pm installcheck/Makefile.am
9916           installcheck/amarchiver.pl installcheck/amfetchdump.pl
9917           installcheck/amgetconf.pl installcheck/amgtar.pl
9918           installcheck/ampgsql.pl installcheck/amservice.pl
9919           installcheck/amstatus.pl installcheck/pp-scripts.pl: use a
9920           subdirectory of AMANDA_TMPDIR for installcheck temporary files
9921
9922 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9923         * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout
9924         * amar-src/amar-test.c common-src/amflock-test.c
9925           common-src/event-test.c common-src/queueing-test.c
9926           common-src/quoting-test.c common-src/semaphore-test.c
9927           device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts
9928           drastically
9929
9930 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9931         * common-src/conffile.c: change the default changerfile to
9932           $CONFIG_DIR/changer
9933
9934 2009-02-20  Dustin J. Mitchell <dustin@zmanda.com>
9935         * device-src/property.c device-src/property.h: add PROPERTY_COMMENT
9936         * device-src/device.c: support PROPERTY_COMMENT
9937         * installcheck/Amanda_Device.pl: test it
9938         * man/xml-source/amanda-devices.7.xml: document it
9939
9940 2009-02-20  Jean-Louis Martineau <martineau@zmanda.com>
9941         * common-src/conffile.c: Add t, tb, tera, ... suffix.
9942         * man/xml-source/amanda.conf.5.xml: Document it.
9943
9944 2009-02-19  Nikolas Coukouma <atrus@zmanda.com>
9945         * example/amanda-client-postgresql.conf.in,
9946           example/Makefile.am,
9947           man/Makefile.am,
9948           man/xml-source/ampgsql.8.xml,
9949           configure.in,
9950           application-src/Makefile.am,
9951           application-src/ampgsql.pl,
9952           installcheck/Makefile.am,
9953           installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql)
9954         * installcheck/Installcheck/Application.pm:
9955           fix property names in case of underscores
9956         * installcheck/Installcheck/Run.pm:
9957           if application starts with /, don't assume it's in sbin
9958
9959 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9960         * perl/Amanda/Util.swg: move POD to the top of the file, refomat
9961
9962 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9963         * common-src/util.h common-src/util.c: remove unneeded needs_quotes
9964
9965 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9966         * installcheck/Amanda_Types.pl
9967           installcheck/Amanda_Header.pl: rename Amanda::Types to
9968           Amanda::Header, add to_string and from_string methods
9969         * common-src/fileheader.c: fix bug in returned size
9970         * device-src/amtapetype.pl installcheck/Amanda_Device.pl
9971           installcheck/Amanda_Xfer.pl installcheck/Makefile.am
9972           perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg
9973           perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use
9974           Amanda::Header
9975
9976 2009-02-19  Dustin J. Mitchell <dustin@zmanda.com>
9977         * common-src/Makefile.am common-src/queue.h: remove file
9978         * amandad-src/amandad.c common-src/alloc.c
9979           common-src/bsdtcp-security.c common-src/krb5-security.c
9980           common-src/local-security.c common-src/rsh-security.c
9981           common-src/security-util.c common-src/security-util.h
9982           common-src/ssh-security.c: remove includes and replace TAILQ with
9983           GSList
9984
9985 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
9986         * config/amanda/krb4-security.m4: Remove file
9987         * common-src/krb4-security.c: Remove file.
9988         * example/config.site, example/amanda.conf.in,
9989           client-src/client_util.c, amandad-src/amandad.c,
9990           man/xml-source/amanda-client.conf.5.xml,
9991           man/xml-source/amanda.conf.5.xml,
9992           man/xml-source/amgetconf.8.xml,
9993           configure.in, server-src/dumper.c,
9994           server-src/diskfile.c, perl/Amanda/Constants.pm.in,
9995           installcheck/Amanda_Config.pl, common-src/amfeatures.h,
9996           common-src/security.c, common-src/security.h,
9997           common-src/genversion.c, common-src/amgetconf.pl,
9998           common-src/conffile.c, common-src/Makefile.am,
9999           common-src/amfeatures.c: Remove krb4 support.
10000
10001 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10002         * perl/Amanda/Debug.swg: correctly check $^S in _my_die()
10003
10004 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10005         * common-src/debug.h common-src/debug.c: add ability to supporess
10006           tracebacks
10007         * perl/Amanda/Debug.swg: fix typo and suppress traceback on die()
10008
10009 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10010         * perl/Makefile.am: actually install Amanda::Change::rait
10011
10012 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10013         * common-src/util.c: add missing 'const'
10014
10015 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10016         * common-src/util.c common-src/util.h device-src/rait-device.c
10017           perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move
10018           expand_braced_alternates and collapse_braced_alternates out of
10019           rait-device.c and into util.c, and make them available from Perl
10020         * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm
10021           perl/Makefile.am: new changers
10022         * installcheck/Amanda_Changer_null.pl
10023           installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new
10024           changers
10025         * changer-src/Makefile.am changer-src/chg-null.sh
10026           changer-src/chg-rait.sh: remove old scripts
10027         * man/xml-source/amanda-changers.7.xml
10028           man/xml-source/amanda-devices.7.xml: update documentation
10029
10030 2009-02-18  John Hein <jhein@timing.com>
10031         * common-src/dgram.c: set the send buffer size when creating a new
10032           socket
10033
10034 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10035         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
10036           change PP_SCRIPT to SCRIPT, to match the name of the config param
10037         * server-src/diskfile.c installcheck/Amanda_Config.pl:
10038           use new symbols
10039
10040 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10041         * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts
10042           and applications
10043
10044 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10045         * common-src/conffile.c common-src/conffile.h: use a simple
10046           identlist_t for pp_scripts
10047         * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h
10048           server-src/server_util.c: use identlist_t's
10049
10050 2009-02-18  Dustin J. Mitchell <dustin@zmanda.com>
10051         * perl/Amanda/Config.swg: perl bindings
10052
10053 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10054         * common-src/conffile.c common-src/conffile.h: Change
10055           DUMPTYPE_APPLICATION to give a string val_t; remove the
10056           pointer-to-application val_t subtype; also fix many
10057           memory leaks and simplify memory management
10058         * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
10059           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
10060           server-src/planner.c: use new val_t result correctly
10061
10062 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10063         * client-src/selfcheck.c: Do dle check without disk.
10064         * common-src/amxml.c: Accept a dle without a disk.
10065         * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c,
10066           application-src/amgtar_perl.pl,
10067           application-src/amsamba.pl, application-src/amstar.c,
10068           application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
10069           application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if
10070                                              a disk is not provided.
10071
10072 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10073         patch by glowkrantz
10074         * application-src/amzfs-sendrecv.pl: Use compression ratio for
10075                                              compressed filesystem.
10076
10077 2009-02-18  Jean-Louis Martineau <martineau@zmanda.com>
10078         * server-src/amdump.sh: Check if planner/driver are executable and
10079                                 log error.
10080
10081 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
10082         * restore-src/amfetchdump.c: remove unintended debugging messages
10083
10084 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
10085         * changer-src/chg-manual.sh: make messages clearer
10086         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
10087           _manual_scan
10088         * server-src/amcheckdump.pl: handle errors better
10089
10090 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
10091         * changer-src/chg-manual.sh: make messages clearer
10092         * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from
10093           _manual_scan
10094         * server-src/amcheckdump.pl: handle errors better
10095
10096 2009-02-17  Jean-Louis Martineau <martineau@zmanda.com>
10097         * recover-src/extract_list.c: Set all_level with level_t.
10098
10099 2009-02-17  Dustin J. Mitchell <dustin@zmanda.com>
10100         * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from
10101           Jose Hales-Garcia <jose@stat.ucla.edu>
10102
10103 2009-02-12  Jean-Louis Martineau <martineau@zmanda.com>
10104         * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN.
10105         * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and
10106                                     NONBLOCKING_OPEN property.
10107         * device-src/tape-device.h (TapeDevice): Add nonblocking_open.
10108         * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN
10109                                                property.
10110         * server-src/amdevcheck.pl: Call $device->configure(1).
10111
10112 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
10113         * changer-src/chg-rait.sh: get directory handling right (patch from
10114           Jim.pennino on wiki.zmanda.com)
10115         * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix
10116           do_eject
10117         * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a
10118           volume that's not currently reserved
10119         * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current'
10120           after cleaning or ejecting
10121         * installcheck/Amanda_Changer_compat.pl: updated tests
10122
10123 2009-02-11  Dustin J. Mitchell <dustin@zmanda.com>
10124         * perl/Makefile.am: add a version number to libamglue
10125
10126 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
10127         * restore-src/restore.c: fix incorrect assertion
10128
10129 2009-02-10  Dustin J. Mitchell <dustin@zmanda.com>
10130         * config/amanda/debugging.m4: fix --disable-syntax-checks
10131
10132 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
10133         * config/amanda/debugging.m4: add --disable-syntax-checks
10134         * config/automake/scripts.am: disable them
10135         * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS
10136
10137 2009-02-09  Dustin J. Mitchell <dustin@zmanda.com>
10138         * man/xml-source/amanda.conf.5.xml: remove TODO
10139
10140 2009-02-07  Dustin J. Mitchell <dustin@zmanda.com>
10141         * common-src/event.c: use built-in child watch source on FreeBSD
10142
10143 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
10144         * server-src/dumper.c: options is already unquoted.
10145         * common-src/util.c: argument should not be quoted when added to argv.
10146
10147 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
10148         * installcheck/Amanda_Changer_compat.pl: remove debugging code
10149
10150 2009-02-06  Jean-Louis Martineau <martineau@zmanda.com>
10151         patch by Yoshihiro Ishikawa
10152         * recover-src/extract_list.c: Handle application-api.
10153
10154 2009-02-06  Dustin J. Mitchell <dustin@zmanda.com>
10155         * installcheck/Amanda_Changer_compat.pl: support 'eject'
10156         * perl/Amanda/Changer.pm: change release/do_relase relationship
10157         * perl/Amanda/Changer/compat.pm: same
10158         * perl/Amanda/Changer/disk.pm: same
10159         * perl/Amanda/Changer/single.pm: same
10160
10161 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10162         * common-src/conffile.h: Add ES_ES.
10163         * common-src/conffile.c: Handle ES_ES in switch.
10164         * server-src/amadmin.c: Handle ES_ES in switch.
10165         * client-src/sendsize.c: Works with many multiple estimate method.
10166         * server-src/planner.c: Works with many multiple estimate method.
10167
10168 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10169         * application-src/amgtar.c, application-src/amgtar_perl.pl,
10170           application-src/amsamba.pl, application-src/amstar.c,
10171           application-src/amsuntar.pl,
10172           application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line.
10173         * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line.
10174         * client-src/client_util.h: New field to keep its value.
10175
10176 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10177         * common-src/amfeatures.c,
10178           common-src/amfeatures.h: And fe_xml_level_server amfeature.
10179         * common-src/amxml.c: parse <server> tag in level tag.
10180         * server-src/planner.c: Send <server> tag,
10181                         Move estimate server calculation to its own function.
10182
10183 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10184         * client-src/client_util.c, client-src/sendbackup-gnutar.c,
10185           client-src/sendbackup.c, client-src/sendbackup-dump.c,
10186           client-src/sendsize.c,
10187           client-src/selfcheck.c, recover-src/extract_list.c,
10188           common-src/amxml.c,
10189           common-src/amxml.h: Change Change dle->level for dle->levellist,
10190                               each element is a level_t struct.
10191
10192 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10193         * amplot/amplot.awk: Set term to x11.
10194
10195 2009-02-04  Jean-Louis Martineau <martineau@zmanda.com>
10196         * common-src/amfeatures.h: Add fe_xml_estimatelist feature.
10197         * common-src/amfeatures.c: Add fe_xml_estimatelist feature.
10198         * common-src/amxml.c: Parse multiple estimate value.
10199         * common-src/amxml.h: Change estimate for estimatelist in dle_t.
10200         * server-src/diskfile.h (xml_estimate): Protoype.
10201         * server-src/diskfile.c (xml_estimate): New function.
10202         * server-src/amcheck.c: Use xml_estimate.
10203         * server-src/planner.c: Use xml_estimate.
10204         * client-src/sendbackup.c, client-src/sendsize.c,
10205           client-src/selfcheck.c: Use first estimate in estimatelist.
10206
10207 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
10208         * common-src/conffile.c: Correctly copy pp_scriptlist.
10209
10210 2009-02-02  Jean-Louis Martineau <martineau@zmanda.com>
10211         * server-src/amstatus.pl: Remove a bogus line.
10212
10213 2009-01-30  Dustin J. Mitchell <dustin@zmanda.com>
10214         * man/xml-source/amrmtape.8.xml: clarify meaning of --erase
10215
10216 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10217         * recover-src/amrecover.c: Always print error.
10218         * server-src/amindexd.c: read stderr of uncompress and sort process,
10219           put the result in a GPtrArray, send the complete array to amrecover.
10220
10221 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10222         * common-src/conffile.c: Typo.
10223
10224 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10225         * common-src/conffile.c, common-src/conffile.h,
10226           server-src/diskfile.h, server-src/amcheck.c,
10227           server-src/planner.c, server-src/amadmin.c,
10228           server-src/diskfile.c, perl/Amanda/Config.swg,
10229           installcheck/Amanda_Config.pl: Use a list of estimate.
10230
10231 2009-01-30  Jean-Louis Martineau <martineau@zmanda.com>
10232         * common-src/conffile.c, common-src/conffile.h,
10233           server-src/amcheck.c, server-src/holding.c,
10234           server-src/driver.c, perl/Amanda/Config.swg,
10235           installcheck/Amanda_Config.pl: 'define' keyword is use only to define
10236           an holding disk, you must use 'holdisgdisk' without 'define' if you
10237           want to use it.
10238
10239 2009-01-29  Dustin J. Mitchell <dustin@zmanda.com>
10240         * config/config.guess config/config.sub: new updates from FSF
10241
10242 2009-01-29  Benjamin Lewis <bhlewis@purdue.edu>
10243         * autogen: fix quoting error
10244         * config/amanda/dumpers.m4:  use a hostname we're more confident
10245           doesn't exist
10246
10247 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
10248         * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg
10249           perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg
10250           perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos
10251
10252 2009-01-28  Dustin J. Mitchell <dustin@zmanda.com>
10253         * common-src/conffile.c: support "." as a config name, indicating
10254           "this directory"
10255         * changer-src/chg-lib.sh.in: use that support to run amdevcheck in
10256           old-school changer shell scripts
10257         * man/xml-source/amanda.8.xml: docs
10258         * perl/Amanda/Config.swg: docs
10259
10260 2009-01-28  Nikolas Coukouma <atrus@zmanda.com>
10261         * installcheck/Makefile.am: do not run client software checks --without-client
10262
10263 2009-01-28  Jean-Louis Martineau <martineau@zmanda.com>
10264         * config/automake/scripts.am: Fix another get line numbers right when
10265           syntax-checking perl scripts
10266
10267 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
10268         * installcheck/Installcheck/Application.pm: make sure all data is read
10269         * installcheck/amgtar.pl: check if GNU tar is present,
10270           avoid using atime-preserve, make sure reported and actual size match
10271
10272 2009-01-27  Dustin J. Mitchell <dustin@zmanda.com>
10273         * installcheck/amgtar.pl: fix typo
10274
10275 2009-01-27  Nikolas Coukouma <atrus@zmanda.com>
10276         * installcheck/Installcheck/Application.pm: Add Installcheck::Application
10277           harness for running things via the Application API
10278         * installcheck/amgtar.pl: Add installchecks for amgtar
10279         * installcheck/Makefile.am: Add files to build and distribution
10280
10281 2009-01-26  Dustin J. Mitchell <dustin@zmanda.com>
10282         * config/automake/scripts.am: get line numbers right when
10283           syntax-checking perl scripts
10284
10285 2009-01-26 Satya Ganga <gsat@zmanda.com>
10286         * xml-source/amsuntar.8.xml : Update man page with RBAC info
10287         * application-src/amsuntar.pl : Adding support for estimate
10288
10289 2009-01-23  Dustin J. Mitchell <dustin@zmanda.com>
10290         * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header,
10291           used by the tape device
10292         * device-src/tape-device.c: enable appending, using F_NOOP when
10293           necessary to avoid writing a double filemark
10294         * installcheck/Amanda_Device.pl: new tests
10295
10296 2009-01-22  Dustin J. Mitchell <dustin@zmanda.com>
10297         * common-src/fileheader.c common-src/fileheader.h
10298           device-src/device.c device-src/device.h: make header-
10299           building more flexible, allowing varying sizes
10300         * device-src/s3-device.c: use the new flexibility to write only the
10301           header data necessary to S3
10302         * device-src/tape-device.c device-src/vfs-device.c
10303           restore-src/restore.c server-src/chunker.c server-src/dumper.c
10304           server-src/holding.c: use new function signatures, without changing
10305           functionality
10306
10307 2009-01-22  Jean-Louis Martineau <martineau@zmanda.com>
10308         * man/xml-source/amstar.8.xml: Typo.
10309
10310 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10311         * server-src/driver.c: Add call to short_dump_state().
10312
10313 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10314         * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash.
10315
10316 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>,
10317             Dustin J. Mitchell <dustin@zmanda.com>
10318         * common-src/fileheader.c: Remove strquotedstr function.
10319         * common-src/quoting-test.c: Test strquotedstr function.
10320         * common-src/util.c: Add prototype for strquotedstr function.
10321         * common-src/util.h: Add new strquotedstr function.
10322
10323 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10324         * application-src/Makefile.am: Typo
10325
10326 2009-01-21  Dustin J. Mitchell <dustin@zmanda.com>
10327         Patch suggested by Ingo Schaefer <ingo@ingo-schaefer.de>
10328         * packaging/rpm/amanda.spec: detect and properly support suse11.1,
10329           with a temporary hack to support suse11, too
10330
10331 2009-01-21  Jean-Louis Martineau <martineau@zmanda.com>
10332         * server-src/amstatus.pl: Fix use of %free and %qlen keys.
10333
10334 2009-01-20 Dan Locks <dwlocks@zmanda.com>
10335         * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize
10336           libtermcap.so.2 for fedora, change tar requirement to %{tarver}
10337
10338 2009-01-20 Dan Locks <dwlocks@zmanda.com>
10339         * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to
10340           install perl for the client package add "directory mode" to defattr
10341           statements where appropriate.
10342
10343 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
10344         * server-src/diskfile.c: Use dp->hostnext to scan dles of a host.
10345
10346 2009-01-19 Satya Ganga <gsat@zmanda.com>
10347         * application-src/amsuntar.pl : New amsuntar application
10348         * application-src/Makefile.am : Make file updates to include amsuntar
10349         * man/entities/global.entities.in : Add to gsat  to the name list
10350         * man/Makefile.am  man/xml-source/amsuntar.8.xml : add new man amsuntar man page
10351
10352 2009-01-19  Dustin J. Mitchell <dustin@zmanda.com>
10353         * device-src/vfs-device.c: remove bogus locking stubs that are
10354           making syscalls like close(-1); fix error handling in read_label
10355           if check_is_dir fails()
10356
10357 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
10358         * device-src/vfs-device.c: robust_open can return fd 0.
10359
10360 2009-01-19  Tom Robinson <tom.robinson@constantstream.com>
10361         * server-src/amoverview.pl: fix parsing of filenames containing colons
10362
10363 2009-01-19  Jean-Louis Martineau <martineau@zmanda.com>
10364         * application-src/amzfs-sendrecv.pl: Handle incremental,
10365                                              new KEEP-SNAPSHOT property.
10366         * man/xml-source/amzfs-sendrecv.8.xml: Document it.
10367         * application-src/teecount.c: New program.
10368         * application-src/Makefile.am: Add teecount.
10369         * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot.
10370         * common-src/amanda.h: include "safe-read.h"
10371
10372 2009-01-17  Jean-Louis Martineau <martineau@zmanda.com>
10373         * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped'
10374                                   result.
10375
10376 2009-01-16 Dan Locks <dwlocks@zmanda.com>
10377         * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros
10378
10379 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10380         * packaging/rpm/amanda.spec: Fix for fedora 10.
10381
10382 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
10383         * device-src/vfs-device.c: don't cache the dir_handle, as
10384           such caching does not work on some network filesystems
10385
10386 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
10387         * man/xml-source/amanda.conf.5.xml: add documentation
10388           of inheritance for config sections
10389
10390 2009-01-16  Dustin J. Mitchell <dustin@zmanda.com>
10391         * device-src/amtapetype.pl: add a 'config' parameter
10392         * man/xml-source/amtapetype.8.xml: documentation
10393         * installcheck/amtapetype.pl: test with a small vtape
10394
10395 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10396         * server-src/driver.c: Use bitwise NOT for taper_state.
10397
10398 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10399         * server-src/taper.c: Go to next tape if device_start_file fail.
10400         * device-src/tape-device.c: write a filemark when a file is finished.
10401         * device-src/tape-device.h (TapeDevice): Remove first_file.
10402
10403 2009-01-16  Jean-Louis Martineau <martineau@zmanda.com>
10404         * client-src/sendbackup.c: Fix for no index with application.
10405         * application-src/amstar.c: Improve error reporting.
10406         * application-src/amgtar.c: Improve error reporting.
10407
10408 2009-01-14  Jean-Louis Martineau <martineau@zmanda.com>
10409         * application-src/amgtar.c: Add TAR-BLOCKSIZE property.
10410         * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property.
10411
10412 2009-01-13  Dustin J. Mitchell <dustin@zmanda.com>
10413         * perl/Amanda/Paths.pm.in: add $localstatedir
10414         * server-src/amserverconfig.pl: remove extraneous /
10415
10416 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
10417         * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for
10418                                             defining an holdingdisk.
10419         * common-src/conffile.c: Document it.
10420
10421 2009-01-13  Jean-Louis Martineau <martineau@zmanda.com>
10422         * server-src/amcheck.c: Check fallback_splitsize is smaller than
10423                                 physmem_total().
10424         * server-src/taper-mem-port-source.c: Dont; check physmem_available.
10425
10426 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
10427         * server-src/server_util.c: New get_pending_cmd function.
10428         * server-src/server_util.h: get_pending_cmd prototype.
10429         * server-src/driver.c: Send message to dumper in ABORT command.
10430         * server-src/driverio.c: Send message to dumper in ABORT command.
10431         * server-src/dumper.c: Check for ABORT cmd.
10432         * server-src/reporter.c: Don't log duplicate
10433                                  'Not enough holding disk space' error
10434
10435 2009-01-12  Jean-Louis Martineau <martineau@zmanda.com>
10436         * server-src/driver.c: Fix result_argv subscript.
10437
10438 2009-01-08  Jean-Louis Martineau <martineau@zmanda.com>
10439         * restore-src/amfetchdump.c: Write to stderr.
10440
10441 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>,
10442             Dustin J. Mitchell <dustin@zmanda.com>
10443         * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE
10444           after it is use.
10445         * installcheck/Amanda_Device.pl: Add more tape check.
10446
10447 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
10448         * server-src/taper.c: Don't call changer_label() if a changer is not
10449                               in use.
10450
10451 2009-01-06  Jean-Louis Martineau <martineau@zmanda.com>
10452         * server-src/driverio.c: Set *result_argv to NULL on EOF.
10453         * server-src/taper-mem-port-source.c: Set an error if the memory can't
10454           be allocated for the memory buffer.
10455
10456 2009-01-05  Dustin J. Mitchell <dustin@zmanda.com>
10457         * client-src/runtar.c: remove unnecessary check for existence of
10458           CLIENT_LOGIN
10459
10460 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
10461         * perl/Amanda/Archive.swg, perl/Amanda/Device.swg,
10462           perl/Amanda/Xfer.swg: Fix compiler warning.
10463
10464 2009-01-05  Jean-Louis Martineau <martineau@zmanda.com>
10465         * config/automake/scripts.am: Remove 'use lib' line before doing check.
10466
10467 2008-12-22  Paul Yeatman <pyeatman@zmanda.com>
10468         * man/entities/global.entities.in: added author/email entity for me
10469         * man/xml-source/amanda-auth.7.xml: newly added man page
10470         * man/Makefile.am: added amanda-auth to section 7
10471         * man/xml-source/amanda.conf.5.xml: removed details on auth parameter
10472         and added link to amanda-auth man page
10473         * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to
10474         amanda-auth and added link to amanda-auth man page
10475
10476 2008-12-22  Nikolas Coukouma <atrus@zmanda.com>
10477         * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer"
10478
10479 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10480         * device-src/s3.c: translate error code 0 to "None", not NULL
10481
10482 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10483         * application-src/amgtar.c,
10484           application-src/amstar.c: Use sizeof(line) for argument to fgets.
10485
10486 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
10487         * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is
10488                                            in section 5.
10489
10490 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10491         * installcheck/Installcheck/Dumpcache.pm
10492           installcheck/Installcheck/Run.pm installcheck/amdump.pl
10493           installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix
10494           it, and use it in amdump and pp-scripts
10495         * application-src/amlog-script.pl: don't pretend to be script-email
10496         * man/Makefile.am: amanda-archive-format should be section 5
10497         * man/xml-source/amanda-archive-format.5.xml: small tweaks
10498         * man/xml-source/amanda-changers.7.xml: fix authorship
10499         * man/xml-source/amanda.8.xml: add link to amvault(8)
10500         * man/xml-source/amvault.8.xml: enumerate limitations of this version
10501         * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper
10502
10503 2008-12-22  Dustin J. Mitchell <dustin@zmanda.com>
10504         * config/amanda/dirs.m4: add --with-amdatadir
10505         * example/Makefile.am: use it for examples and templates
10506         * perl/Amanda/Paths.pm.in: add $amdatadir
10507         * server-src/amserverconfig.pl: use it
10508         * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes
10509           so that built packages still put examples and templates in
10510           /var/lib/amanda
10511
10512 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
10513         * application-src/amstar.c: Use fgets to read star output.
10514         * application-src/amgtar.c: Use fgets to read gtar output.
10515
10516 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>,
10517             Dustin J. Mitchell <dustin@zmanda.com>
10518         * common-src/util.c: Convert underscore in application and script
10519                              property name to dash.
10520         * device-src/property.c: Make underscore and dash equal in device
10521                                  property name.
10522         * installcheck/Amanda_Device.pl: Check device property name with
10523                                          mixed case and dash.
10524         * installcheck/pp-scripts.pl: Check property name with underscore.
10525
10526 2008-12-22  Jean-Louis Martineau <martineau@zmanda.com>
10527         * server-src/reporter.c: Fix reporting of FLUSH.
10528
10529 2008-12-21  Dustin J. Mitchell <dustin@zmanda.com>
10530         * device-src/s3-device.c: use devpay if the user token property is
10531           given; otherwise, regular S3
10532         * installcheck/Amanda_Device.pl: adjust tests to correspond
10533
10534 2008-12-19  Nikolas Coukouma <atrus@zmanda.com>, Dustin J. Mitchell <dustin@zmanda.com>
10535         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
10536           Reset read and write when retrying a failed request
10537
10538 2008-12-19  Dustin J. Mitchell <dustin@zmanda.com>
10539         * installcheck/Amanda_Device.pl: if SSL is not supported, don't try
10540           to test the SSL_CA_INFO property
10541
10542 2008-12-19  Jean-Louis Martineau <martineau@zmanda.com>
10543         * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1.
10544
10545 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
10546         * common-src/security-util.c: Don't free 'rc'.
10547
10548 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
10549         * man/xml-source/amgtar.8.xml: Improve documentation of regex.
10550
10551 2008-12-18  Jean-Louis Martineau <martineau@zmanda.com>
10552         * common-src/conffile.h (anonymous_value): New prototype.
10553         * common-src/conffile.c (anonymous_value): New function.
10554         * common-src/conffile.c: Use anonymous_value.
10555         * server-src/diskfile.c: Use anonymous_value.
10556
10557 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
10558         * perl/Amanda/Script_App.pm: Fix infinite loop.
10559         * perl/Amanda/Application/Zfs.pm: Fix for freebsd.
10560
10561 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
10562         * server-src/planner.c: Run script only if todo is set.
10563
10564 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
10565         * installcheck/amfetchdump.pl: chdir() before rmtree().
10566
10567 2008-12-17  Jean-Louis Martineau <martineau@zmanda.com>
10568         * installcheck/amarchiver.pl: chdir() before rmtree().
10569
10570 2008-12-17  Dustin J. Mitchell <dustin@zmanda.com>
10571         * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve
10572         * installcheck/pp-scripts.pl: add atime-preserve property
10573
10574 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
10575         * man/xslt/html.xsl.in: add <div class="refentry" /> for the benefit
10576           of amanda.css.
10577
10578 2008-12-16 Dan Locks <dwlocks@zmanda.com>
10579         * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of
10580           "present but cannot be compiled" warning during debian packaging.
10581
10582 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
10583         * common-src/security-util.c: Don't close if it's not open.
10584
10585 2008-12-16  Jean-Louis Martineau <martineau@zmanda.com>
10586         * application-src/Makefile.am: Add amlog-script.
10587         * application-src/amlog-script.pl: New scripts.
10588         * server-src/amcheck.c , server-src/planner.c,
10589           server-src/server_util.c, server-src/server_util.h,
10590           server-src/driver.c: Add level argument to run_server_scripts().
10591           The script is executed with that level argument.
10592         * installcheck/pp-scripts.pl: Check scripts.
10593         * installcheck/Makefile.am: Add pp-scripts.
10594
10595 2008-12-16  Dustin J. Mitchell <dustin@zmanda.com>
10596         * man/Makefile.am man/xml-source/amanda-changers.7.xml
10597           man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml
10598           man/xml-source/amanda.conf.5.xml: new documentation
10599         * perl/Amanda/Changer.pm: not finished yet!
10600         * perl/Amanda/Changer/compat.pm: fix error message
10601         * server-src/changer.c changer-src/chg-glue.pl:
10602           better error handling
10603
10604 2008-12-15  Jean-Louis Martineau <martineau@zmanda.com>
10605         * amandad-src/amandad.c: Set wait_30s to 0 for local auth.
10606
10607 2008-12-15  Dustin J. Mitchell <dustin@zmanda.com>
10608         * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6
10609         * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl:
10610           stringify bigints in is_deeply arguments
10611         * perl/Amanda/Archive.swg: grok_number is not in perl-5.6
10612         * perl/Amanda/BigIntCompat.pm: additional overloads and methods for
10613           BigIntCompat for perl-5.6 compatibility
10614
10615 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
10616         * perl/Makefile.am,
10617           perl/amglue/amglue.swg,
10618           perl/amglue/filehandles.swg: add typemap to convert perl file handles
10619           to int file descriptors
10620         * installcheck/Amanda_Device.pl: update usage
10621         * perl/Amanda/Device.swg,
10622           perl/Amanda/Archive.swg,
10623           perl/Amanda/MainLoop.swg: update docs, make typemap apply
10624
10625 2008-12-15  Nikolas Coukouma <atrus@zmanda.com>
10626         * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing
10627           ability to test well with just DevPay credentials
10628
10629 2008-12-14  Dustin J. Mitchell <dustin@zmanda.com>
10630         * man/Makefile.am: change manpage build process
10631         * man/entities/global.entities.in: generate with config.status
10632         * man/xslt/html.xsl.in: new templates to handle authors
10633         * man/xslt/man.xsl.in: new templates to handle authors
10634         * man/xml-source/*.xml: change specification of authors
10635         * man/xml-source/amanda-applications.7.xml: add links to apps
10636         * man/xml-source/amanda-scripts.7.xml: add links to scripts
10637
10638 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
10639         * man/xml-source/amanda.conf.5.xml: Fix use of <programlisting>, it must
10640                                             always be at the beginning of the line.
10641
10642 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
10643         * application-src/amgtar.c: Fix coredump if GNUTAR is not set.
10644
10645 2008-12-12  John Hein <jhein@timing.com>
10646         * server-src/amdump.sh: fix Open3 invocation to work on
10647           FreeBSD-4.x
10648
10649 2008-12-12  Nikolas Coukouma <atrus@zmanda.com>
10650         * device-src/s3-device.c,
10651           device-src/s3.c,
10652           device-src/s3.h,
10653           installcheck/Amanda_Device.pl,
10654           man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property
10655
10656 2008-12-12  Dustin J. Mitchell <dustin@zmanda.com>
10657         * client-src/sendbackup-dump.c: fix previous commit to not use
10658           precompiler directives in the middle of a macro invocation
10659
10660 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
10661         * NEWS, ReleaseNotes: Add amzfs-sendrecv.
10662         * client-src/sendbackup.c: Fix indexd test.
10663         * man/Makefile.am: Add amzfs-sendrecv.8.
10664         * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example.
10665         * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8.
10666         * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8.
10667         * man/xml-source/amzfs-sendrecv.8.xml: New man page.
10668         * application-src/amzfs-sendrecv.pl: New application.
10669         * application-src/amzfs-snapshot.pl: Fix to use
10670                                              Amanda::Application::Zfs
10671         * application-src/Makefile.am: Add amzfs-sendrecv.
10672         * perl/Amanda/Script_App.pm: Exit instead of die.
10673         * perl/Amanda/Application/Zfs.pm: New perl module for zfs.
10674         * perl/Makefile.am: Add Amanda/Application and
10675                             Amanda/Application/Zfs.pm
10676
10677 2008-12-12  Jean-Louis Martineau <martineau@zmanda.com>
10678         * recover-src/extract_list.c: Wait to read at least one byte from the
10679                                       data stream before forking the child.
10680
10681 2008-12-12  Jun Kuriyama <kuriyama@freebsd.org>, Göran Löwkran
10682         * changer-src/chg-zd-mtx.sh: fix bashisms
10683         * client-src/sendbackup-dump.c: use -L on systems that support it
10684
10685 2008-12-11 Dan Locks <dwlocks@zmanda.com>
10686         * packaging/rpm/amanda.spec: add detection for SLES11 (Beta)
10687
10688 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
10689         * NEWS, ReleaseNotes: Add amsamba.
10690
10691 2008-12-11  Jean-Louis Martineau <martineau@zmanda.com>
10692         * server-src/driver.c: Check start_t before doing a dump to tape.
10693
10694 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
10695         * installcheck/Makefile.am: distribute Dumpcache.pm
10696
10697 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
10698         * installcheck/Installcheck/Dumpcache.pm: cache amdump runs
10699         * installcheck/Installcheck/Config.pm: add cleanup()
10700         * installcheck/Installcheck/Run.pm: call I::C::cleanup()
10701         * installcheck/Makefile.am: add _seupcache
10702         * installcheck/_setupcache.pl: set up the amdump cache first thing
10703         * installcheck/amcheckdump.pl installcheck/amdevcheck.pl
10704           installcheck/amdump.pl installcheck/amfetchdump.pl
10705           installcheck/amrmtape.pl: use dumpcache
10706
10707 2008-12-10  Nikolas Coukouma <atrus@zmanda.com>
10708         * device-src/s3.c: Generate date header independently of locale
10709
10710 2008-12-10  Dustin J. Mitchell <dustin@zmanda.com>
10711         * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs
10712         * installcheck/Amanda_Disklist.pl: fix tests
10713
10714 2008-12-09  C R Ritson.
10715         * server-src/reporter.c: Add threshold to small and big estimate.
10716
10717 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
10718         * client-src/client_util.c: Parse RECOVER-MODE application support.
10719         * client-src/client_util.h (backup_support_option_t):
10720                                    Add smb_recover_mode.
10721         * client-src/sendsize.c: Fix size.
10722         * man/Makefile.am: Add amsamba.8.
10723         * man/xml-source/amsamba.8.xml: New man page.
10724         * man/xml-source/amanda-applications.7.xml: List amsamba.
10725         * man/xml-source/amanda.8.xml: List amsamba.
10726         * application-src/Makefile.am (CHECK_PERL): Add amsamba
10727         * application-src/amsamba.pl: New application.
10728         * recover-src/extract_list.c: Get support option from application
10729           and set --recover-mode if needed.
10730         * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT".
10731         * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT".
10732         * perl/Amanda/Paths.pm.in: Add $sysconfdir.
10733         * perl/Amanda/Util.swg: Add skip_quoted_string.
10734
10735 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
10736         * man/xml-source/amstar.8.xml: Typo.
10737
10738 2008-12-09  Jean-Louis Martineau <martineau@zmanda.com>
10739         * man/xml-source/amanda.conf.5.xml: Fix plugin location.
10740
10741 2008-12-09  Nikolas Coukouma <atrus@zmanda.com>
10742         * installcheck/amrmtape.pl,
10743           man/xml-source/amrmtape.8.xml,
10744           server-src/amrmtape.pl: add --cleanup option to amrmtape
10745           alphabetize command-line options
10746
10747 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
10748         * perl/Amanda/Disklist.swg: return a value from
10749           read_disklist_internal
10750
10751 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
10752         * common-src/conffile.c common-src/conffile.h
10753           installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg
10754           perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c
10755           server-src/diskfile.c server-src/diskfile.h server-src/driverio.c
10756           server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to
10757           DUMPTYPE_AUTH, with related changes to disk_t
10758
10759 2008-12-08  Dustin J. Mitchell <dustin@zmanda.com>
10760         * perl/Makefile.am installcheck/Amanda_Disklist.pl
10761           perl/Amanda/Disklist.swg installcheck/Makefile.am:
10762           new module + tests
10763         * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific
10764           parameter
10765         * common-src/conffile.h: tag host-related parameters
10766         * perl/Amanda/Config.swg: POD typo
10767         * server-src/diskfile.h: comments
10768
10769 2008-12-08  Nikolas Coukouma <atrus@zmanda.com>
10770         * installcheck/amrmtape.pl,
10771           man/xml-source/amrmtape.8.xml,
10772           server-src/amrmtape.pl: add --keep-label option to amrmtape
10773
10774 2008-12-07  Dustin J. Mitchell <dustin@zmanda.com>
10775         * server-src/Makefile.am server-src/amvault.pl: new, experimental
10776           script to copy data from secondary to tertiary volumes
10777         * common-src/fileheader.c: strip spurious ' ' from headers
10778         * man/Makefile.am man/xml-source/amvault.8.xml: docs
10779         * perl/Amanda/DB/Catalog.pm: add kbps calculation
10780         * perl/Amanda/Device.swg: add volume_header() method
10781
10782 2008-12-05  Dustin J. Mitchell <dustin@zmanda.com>
10783         * server-src/taper.c: remove dead code that can cause compiler errors
10784
10785 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
10786         * device-src/device.c,
10787           device-src/vfs-device.c,
10788           installcheck/Amanda_Device.pl: fix erase() for VFS device
10789         * server-src/amrmtape.pl: fix rollback, erase() call setup
10790
10791 2008-12-05  Jean-Louis Martineau <martineau@zmanda.com>
10792         * server-src/driverio.c: Send a message with NO-NEW-TAPE.
10793         * server-src/driver.c: Generate message for NO-NEW-TAPE, call
10794           start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error
10795           for INPUT-ERROR and TAPE-ERROR
10796         * server-src/taper.c: Get message from NO-NEW-TAPE command and log it.
10797
10798 2008-12-05  Nikolas Coukouma <atrus@zmanda.com>
10799         * server-src/amrmtape.pl:
10800           man/xml-source/amrmtape.8.xml,
10801           installcheck/amrmtape.pl:  add --empty and --changer options for erasing media
10802
10803 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
10804         * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg:
10805           Add erase method to the device class
10806         * device-src/property.c, device-src/property.h:
10807           Add FULL_DELETION property so devices can indicate if they implement erase
10808         * xml-source/amanda-devices.7.xml: document FULL_DELETION property
10809         * device-src/null-device.c, device-src/rait-device.c:
10810           Indicate that these do not implement erase (via FULL_DELETION)
10811         * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase
10812         * device-src/s3-device.c: Add delete_all_files helper.
10813           Return FALSE on error in one place.
10814         * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION
10815         * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket.
10816           Don't usually retry when bucket is missing
10817
10818 2008-12-04  Nikolas Coukouma <atrus@zmanda.com>
10819         * device-src/device.c,
10820           device-src/s3-util.c,
10821           device-src/device.h,
10822           device-src/s3-util.h,
10823           device-src/null-device.c,
10824           device-src/s3-device.c,
10825           device-src/property.c,
10826           device-src/s3.c,
10827           device-src/tape-device.c,
10828           device-src/property.h,
10829           device-src/s3.h,
10830           device-src/vfs-device.c,
10831           device-src/rait-device.c: strip trailing whitespace
10832
10833 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
10834         * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if
10835           the changer is not seekable (hack to make slotinfofile work)
10836
10837 2008-12-04  Dustin J. Mitchell <dustin@zmanda.com>
10838         * changer-src/chg-glue.pl: add labelling support
10839         * perl/Amanda/Changer/compat.pm: call -label even for non-searchable
10840           changers
10841         * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping
10842           slots to labels on a best-information-available basis
10843
10844 2008-12-03  Nikolas Coukouma <atrus@zmanda.com>
10845         * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh:
10846           convert amrmtape to perl
10847         * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape
10848         * man/xml-source/amrmtape.8.xml: document new long options
10849
10850 2008-12-03  Satya Ganga <gsat@zmanda.com>
10851         * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline
10852           command instead of "eject" which is not supported on solaris.
10853
10854 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
10855         * man/xml-source/amanda.conf.5.xml: Provide default unit.
10856
10857 2008-12-03  Jean-Louis Martineau <martineau@zmanda.com>
10858         * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image.
10859
10860 2008-12-01  Satya Ganga <gsat@zmanda.com>
10861         * server-src/amdevcheck.pl: add ability to print device properties
10862         * man/xml-source/amdevcheck.8.xml: new docs
10863         * installcheck/amdevcheck.pl: new tests
10864         * installcheck/Installcheck/Run.pm
10865           installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root
10866
10867 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
10868         * device-src/s3.c: fix signedness
10869
10870 2008-12-01  Dustin J. Mitchell <dustin@zmanda.com>
10871         * common-src/util.c: fix mishandling of trailing backslash in
10872           unquote_string
10873
10874 2008-12-01  Jean-Louis Martineau <martineau@zmanda.com>
10875         * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg,
10876           packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
10877           configure.in: Change version to 2.6.2alpha.
10878
10879 2008-12-01  Nikolas Coukouma <atrus@zmanda.com>
10880         * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket
10881           by adding some "null-op" read and write functions.
10882
10883 2008-11-27  Jean-Louis Martineau <martineau@zmanda.com>
10884         * server-src/amstatus.pl: Correctly parse degraded size.
10885
10886 2008-11-26  Jean-Louis Martineau <martineau@zmanda.com>
10887         * client-src/sendbackup.c: Set application in extraction command.
10888
10889 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
10890         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1")
10891         * ReleaseNotes: Release notes for 2.6.1b1.
10892         * NEWS: News for 2.6.1b1.
10893         * packaging/deb/rules, packaging/deb/buildpkg,
10894           packaging/rpm/buildpkg,
10895           packaging/rpm/amanda.spec: Change version to 2.6.1b1.
10896
10897 2008-11-25  Jean-Louis Martineau <martineau@zmanda.com>
10898         * config/amanda/bsd-security.m4: Fix.
10899         * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by
10900                                             default.
10901         * config/amanda/ssh-security.m4: Enable --with-ssh-security by default.
10902
10903 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
10904         * changer-src/Makefile.am changer-src/chg-glue.pl:
10905           add new c-to-perl glue script
10906         * server-src/changer.c: interface with new script
10907         * server-src/amtape.c man/xml-source/amtape.8.xml:
10908           remove 'slot last' and 'slot prev'
10909         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
10910           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to
10911           new Changer API
10912         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl
10913           installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl
10914           installcheck/Makefile.am: tests for all of it
10915
10916 2008-11-25  Dustin J. Mitchell <dustin@zmanda.com>
10917         * example/template.d/advanced.conf.in: don't imply that
10918           maxdumpsize is in bytes
10919
10920 2008-11-21  Nikolas Coukouma <atrus@zmanda.com>
10921         * device-src/s3.c: work around a bug in Amazon's HTTP implementation
10922           by avoiding HEAD requests.
10923
10924 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
10925         * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if
10926                                                             argument is NULL.
10927         * restore-src/restore.c: Also check for F_EMPTY.
10928
10929 2008-11-21  Jean-Louis Martineau <martineau@zmanda.com>
10930         * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process
10931                                  that should terminate.
10932
10933 2008-11-21  Dustin J. Mitchell <dustin@zmanda.com>
10934         * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE
10935                                  fail.
10936
10937 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
10938         * server-src/server_util.c: Skip one field in parsing INFO pid line.
10939
10940 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
10941         * oldrecover-src/extract_list.c: Use config.
10942         * server-src/dumper.c: Check dle_str for NULL.
10943
10944 2008-11-20  Jean-Louis Martineau <martineau@zmanda.com>
10945         * server-src/amdump.sh: Run amreport if the 'log' file already exist.
10946
10947 2008-11-20  Urs Schurer <urs@sitb.de>
10948         * server-src/amindexd.c: remove unnecessary stralloc()/free() calls
10949           in process_ls_dump
10950
10951 2008-11-19 Satya Ganga <gsat@zmanda.com>
10952         * example/inetd.conf.amandaserver.in: Add serverconfig file
10953         * configure.in,example/Makefile.am: Include inetd.conf.amandaserver
10954
10955 2008-11-18 Dan Locks <dwlocks@zmanda.com>
10956         * packaging/rpm/amanda.spec: removed conditionals around
10957           perl(ExtUtils::Embed) so that buildrequires applies to all platforms
10958
10959 2008-11-18  Satya Ganga <gsat@zmanda.com>
10960         * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls.
10961
10962 2008-11-18  Jean-Louis Martineau <martineau@zmanda.com>
10963         * application-src/amstar.c: Free qdisk after the loop.
10964         * application-src/amgtar.c: Free qdisk after the loop.
10965
10966 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
10967         * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default.
10968
10969 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
10970         * server-src/taper.c: Fix formating.
10971
10972 2008-11-17  Jean-Louis Martineau <martineau@zmanda.com>
10973         * server-src/amstatus.pl: Parse "taper: using label ..." line.
10974         * server-src/driver.c: Print tape size.
10975         * server-src/amtoc.pl: Fix for new log format.
10976         * server-src/reporter.c: Increase field width.
10977         * server-src/taper.c: Print number of kbytes written to each tape.
10978
10979 2008-11-14  Dustin J. Mitchell <dustin@zmanda.com>
10980         * device-src/s3-device.c: eliminate an extra buffer copy in the
10981           common case where the caller supplies a large enough buffer
10982         * device-src/s3.h: tweak a comment
10983
10984 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
10985         * server-src/holding.h: Improve comment.
10986         * server-src/reporter.c: Print holding disk size in displyaunit.
10987
10988 2008-11-14  Jean-Louis Martineau <martineau@zmanda.com>
10989         * client-src/client_util.c: Get stderr of scripts and send it to
10990                                     server.
10991         * client-src/client_util.h: Add err in client_script_result_t.
10992         * client-src/sendbackup.c: Call run_client_scripts with mesgstream.
10993         * client-src/sendsize.c: Fix.
10994         * server-src/planner.c: Get WARNING line from client.
10995         * server-src/reporter.c: Don't mark the dumper as FAILED if the
10996                                  planner FAILED.
10997         * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature
10998         * common-src/amfeatures.c: Add fe_sendsize_rep_warning.
10999
11000 2008-11-12  Dustin J. Mitchell <dustin@zmanda.com>
11001         * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting
11002
11003 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11004         * amandad-src/amandad.c: Check that something is ready to be read
11005                                  before calling errfd_recv.
11006
11007 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11008         * changer-src/chg-manual.sh: fix typo
11009
11010 2008-11-11 Dan Locks <dwlocks@zmanda.com>
11011         * packaging/rpm/amanda.spec: add fedora 9 detection, add
11012           BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when
11013           undetected instead of at all times
11014
11015 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11016         * installcheck/Makefile.am installcheck/amfetchdump.pl: build all
11017           active test scripts; add a DLE in the amfetchdump installcheck
11018
11019 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11020         * config/macro-archive/ac_perl_module_version.m4: new macro
11021         * config/amanda/swig.m4: check for ExtUtils::Embed
11022
11023 2008-11-11  Dustin J. Mitchell <dustin@zmanda.com>
11024         * installcheck/amarchiver.pl: quote $sbindir from regexp
11025           interpretation
11026
11027 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11028         * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm
11029                             to DISTCLEANFILES.
11030
11031 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11032         * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in
11033                                   amgtar application.
11034
11035 2008-11-11  Jean-Louis Martineau <martineau@zmanda.com>
11036         * client-src/selfcheck.c: fix.
11037         * amandad-src/amandad.c: Read stderr of server and report it to server.
11038         * server-src/planner.c: Keep first line only.
11039
11040 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11041         * amar-src/amarchiver.c: fix filesize printf conversion
11042
11043 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
11044         * client-src/sendbackup.c, client-src/selfcheck.c: Check return
11045                                                            value of pipe.
11046
11047 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11048         * installcheck/Installcheck/Run.pm: change default DLEs
11049         * installcheck/amcheckdump.pl: add DLE explicitly
11050         * installcheck/amdevcheck.pl: add DLE explicitly
11051         * installcheck/amdump.pl: use the amgtar application in a dump
11052
11053 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11054         * installcheck/Makefile.am: only test amfetchdump if it was built
11055         * installcheck/amfetchdump.pl: use arguments in the right order
11056
11057 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11058         * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes
11059         * man/Makefile.am man/xml-source/amarchiver.8.xml
11060           amar-src/Makefile.am amar-src/amarchiver.c: new application
11061         * installcheck/Makefile.am installcheck/amarchiver.pl: tests
11062
11063 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11064         * installcheck/Installcheck/Run.pm: add Expect support
11065         * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump
11066           installcheck, using Expect support
11067
11068 2008-11-10  Dustin J. Mitchell <dustin@zmanda.com>
11069         * common-src/amgetconf.pl: don't setup_application() in dbclose
11070
11071 2008-11-10  Jean-Louis Martineau <martineau@zmanda.com>
11072         * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT.
11073
11074 2008-11-08  Dustin J. Mitchell <dustin@zmanda.com>
11075         * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm
11076           perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm
11077           perl/Makefile.am: entirely new perl-based changer API
11078         * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h:
11079           add changer subsections
11080         * man/xml-source/amanda.conf.5.xml: document them
11081         * server-src/amcheckdump.pl: use the new changer API
11082         * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl
11083           installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl
11084           installcheck/Installcheck/Config.pm installcheck/Makefile.am
11085           installcheck/Amanda_Changer_Disk.pl: new/updated tests
11086
11087 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11088         * application-src/amstar.c: fix.
11089
11090 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11091         * perl/Amanda/Application.swg: Remove %init.
11092
11093 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11094         * application-src/amgtar.c, application-src/amgtar_perl.pl,
11095           application-src/amstar.c: Write backup image to fd3 and index to fd4.
11096         * perl/Amanda/Script_App.pm: Use $self->{mesgout}.
11097         * recover-src/extract_list.c: Add more check.
11098         * client-src/client_util.c (backup_support_option): Get stderr of
11099           application and put it in errarray,
11100         * client-src/client_util.h (backup_support_option): New prototype.
11101         * client-src/selfcheck.c, client-src/sendbackup.c,
11102           client-src/sendsize.c: Get stderr of application and send it to
11103                                  server.
11104         * server-src/dumper.c: Log the first error message.
11105         * server-src/planner.c: Log the first error message.
11106         * server-src/reporter.c: Don't print some error in report.
11107
11108 2008-11-07  Jean-Louis Martineau <martineau@zmanda.com>
11109         * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE.
11110         * client-src/client_util.c (run_calcsize): New function.
11111         * client-src/client_util.h (run_calcsize): Prototype.
11112         * client-src/sendbackup.c: Update amandates.
11113         * client-src/sendsize.c: Handling of calcsize and multi-estimate.
11114         * client-src/selfcheck.c: Check calcsize for application.
11115         * application-src/amgtar_perl.pl, application-src/amstar.c,
11116         * application-src/amgtar.c: handling of calcsize and multi-estimate.
11117         * perl/Amanda/Script_App.pm: Add a check.
11118         * perl/Amanda/Application.swg: Add run_calcsize.
11119         * perl/Amanda/Application.pm: Delete
11120         * perl/Makefile.am: Built from Application.swg
11121         * client-src/calcsize.c: Handling of STAR program.
11122
11123 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11124         * man/xml-source/amgtar.8.xml: Document new properties.
11125         * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS.
11126
11127 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11128         * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx
11129                                      exit with a status != 0.
11130         * server-src/amtape.c: Display changer error.
11131
11132 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11133         * application-src/amgtar.c: Add exit-handling property.
11134
11135 2008-11-06  Jean-Louis Martineau <martineau@zmanda.com>
11136         * application-src/amgtar.c: Add normal, ignore and strange property.
11137
11138 2008-11-04  Jean-Louis Martineau <martineau@zmanda.com>
11139         * server-src/amcheck.c: Check tape_splitsize < tape length.
11140
11141 2008-10-30  Dustin J. Mitchell <dustin@zmanda.com>
11142         * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml:
11143           add new sort key, 'w', for write_timestamp
11144         * server-src/amadmin.c: use it
11145         * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer
11146           the oldest-written copy of a dump
11147
11148 2008-10-30  Jean-Louis Martineau <martineau@zmanda.com>
11149         * application-src/amgtar_perl.pl, application-src/amstar.c,
11150           application-src/amgtar.c: Implement validate command.
11151         * server-src/amcheckdump.pl: Execute the validate command of an
11152                                      application.
11153         * perl/Amanda/Script_App.pm (print_to_server): Add validate.
11154         * perl/Amanda/Application.pm (known_commands): Add validate.
11155         * common-src/security-util.c: Fix typo.
11156
11157 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
11158         * man/xml-source/amanda.conf.5.xml
11159           man/xml-source/amanda-devices.7.xml: improve device property
11160           documentation
11161
11162 2008-10-29  Dustin J. Mitchell <dustin@zmanda.com>
11163         * man/xml-source/amanda.conf.5.xml: taperflush params can be
11164           greater than 100%
11165
11166 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
11167         * common-src/fileheader.c (dumpfile_free_data): New function.
11168         * common-src/fileheader.h (dumpfile_free_data): New prototype.
11169         * server-src/cmdline.c, server-src/dumper.c,
11170           server-src/planner.c, server-src/amadmin.c,
11171           server-src/amflush.c, server-src/holding.c,
11172           server-src/driver.c, server-src/find.c,
11173           server-src/taper-source.c, server-src/taper-file-source.c
11174           server-src/taper.c: Call dumpfile_free or dumpfile_free_data.
11175
11176 2008-10-27  Dustin J. Mitchell <dustin@zmanda.com>
11177         * common-src/glib-util.c: check library version at runtime
11178
11179 2008-10-27  Jean-Louis Martineau <martineau@zmanda.com>
11180         * perl/Amanda/Device.swg (start_file): Remove const for jobInfo.
11181
11182 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11183         * installcheck/Amanda_Archive.pl: fix to also test for identity of
11184           $user_data on perls that recognize such things
11185
11186 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11187         * amar-src/amar-test.c: don't ignore the return value of write()
11188
11189 2008-10-24  Nikolas Coukouma <atrus@zmanda.com>
11190             Jean-Louis Martineau <martineau@zmanda.com>
11191         * amar-src/amar.c: fix mis-aligned memory accesses
11192         * amar-src/amar-test.c: fix test_pipe
11193
11194 2008-10-24  Jean-Louis Martineau <martineau@zmanda.com>
11195         * perl/Amanda/Script_App.pm: New base module for script and application.
11196         * perl/Amanda/Script.pm: New base module for script.
11197         * perl/Amanda/Application.pm: New base module for application.
11198         * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And
11199                                 Amanda::Application.
11200         * application-src/generic-dumper.pl: Remove file.
11201         * application-src/generic-script.pl: Remove file.
11202         * application-src/script-email.pl: Use Amanda::Script.
11203         * application-src/amgtar_perl.pl: Use Amanda::Application.
11204         * application-src/amzfs-snapshot.pl: Use Amanda::Script.
11205         * application-src/Makefile.am: Remove generic-*.pl files.
11206
11207 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11208         * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to
11209           libamar
11210         * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it.
11211
11212 2008-10-24  Dustin J. Mitchell <dustin@zmanda.com>
11213         * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for
11214           $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running
11215           lint
11216         * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS
11217
11218 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
11219         * amar-src/Makefile.am: add amar.h to noinst_HEADERS
11220
11221 2008-10-23  Dustin J. Mitchell <dustin@zmanda.com>
11222         * configure.in Makefile.am amar-src/Makefile.am: new directory
11223         * amar-src/amar.c amar-src/amar.h: amanda archive library
11224         * amar-src/amar-test.c: tests for library
11225         * common-src/security-util.c common-src/security-util.h
11226           common-src/util.c common-src/util.h: move net_writev to
11227           util.c, rename to full_writev
11228         * man/Makefile.am man/xml-source/amanda-archive-format.7.xml
11229           man/xml-source/amanda.8.xml: new manpage to describe the format
11230
11231 2008-10-20 Nikolas Coukouma <atrus@zmanda.com>
11232         * configure.in: add tests for more headers, plus some defines
11233           for the presence of Amanda's headers
11234         * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between
11235           POSIX regex API and a GRegex (PCRE) call-compatability layer.
11236         * device-src/s3.c, device-src/s3.h: Add a curl progress callback.
11237           Use callbacks to write and read data. Provide callbacks for
11238           memory buffers and files. The callbacks for files are currently
11239           Windows-specific.
11240         * device-src/s3-device.c: update to use new API
11241
11242 2008-10-20  Dustin J. Mitchell <dustin@zmanda.com>
11243         * perl/Makefile.am: remove spurious variables
11244
11245 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
11246         * changer-src/chg-multi.sh: Check permission on the statefile and its
11247                                     directory.
11248
11249 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
11250         * server-src/planner.c: Set i to 0.
11251
11252 2008-10-17  Jean-Louis Martineau <martineau@zmanda.com>
11253         * server-src/amcheck.c, server-src/dumper.c
11254           server-src/planner.c: Don't send appliaciton-api request if the
11255                                 client doesn't use the xml protocol.
11256
11257 2008-10-15  Jean-Louis Martineau <martineau@zmanda.com>
11258         * server-src/reporter.c: print space instead of N/A, dumper stats are
11259                                  set to "FLUSH" if it is a flush.
11260
11261 2008-10-13  Dustin J. Mitchell <dustin@zmanda.com>
11262         * device-src/vfs-device.c: re-open the dir handle on every
11263           device start or read label
11264         * installcheck/Amanda_Device.pl: adjust tests to degrade the
11265           VFS device *after* it is started
11266
11267 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11268         * perl/Makefile.am: Moce EXTRA_DIST out of conditionals.
11269
11270 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11271         * installcheck/Makefile.am: revert previous commit.
11272         * config/automake/scripts.am: Check for a server perl module.
11273
11274 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11275         * installcheck/Makefile.am: SCRIPTS_PERL = $(tests).
11276
11277 2008-10-13  Jean-Louis Martineau <martineau@zmanda.com>
11278         * perl/Makefile.am: Don't check Amanda/Config files.
11279
11280 2008-10-11  Jean-Louis Martineau <martineau@zmanda.com>
11281         * perl/Makefile.am: Check file in top_srcdir if they are not
11282                             in top_builddir.
11283
11284 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11285         * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);'
11286
11287 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11288         * perl/Makefile.am: test for libConfig.so before doing check.
11289
11290 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11291         * config/automake/scripts.am: Check perl scripts on compilation.
11292           Add -I... to 'make check' to access perl module in build tree.
11293           Add installcheck rules to check perl scripts with installed perl
11294           modules.
11295         * application-src/amstar_perl.pl: Remove file.
11296         * device-src/Makefile.am, application-src/Makefile.am,
11297           server-src/Makefile.am, installcheck/Makefile.am,
11298           common-src/Makefile.am: Move most perl scripts to CHECK_PERL.
11299         * installcheck/Makefile.am:
11300           Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck".
11301         * perl/Makefile.am: Add rules to check all .pm files for check-local.
11302         * device-src/amtapetype.pl, server-src/amaddclient.pl,
11303           common-src/amgetconf.pl: Fix syntax errors.
11304
11305 2008-10-10  Jean-Louis Martineau <martineau@zmanda.com>
11306         * application-src/amzfs-snapshot.pl, application-src/amoracle.pl
11307           application-src/script-email.pl, application-src/amgtar_perl.pl:
11308             fix typos.
11309
11310 2008-10-10  Nick Smith <nick.smith@techop.ch>
11311         * application-src/amzfs-snapshot.pl: fix typos
11312
11313 2008-10-08  Dustin J. Mitchell <dustin@zmanda.com>
11314         * perl/Amanda/DB/Catalog.pm: manage the tapelist internally
11315         * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist
11316           after writing
11317         * server-src/amcheckdump.pl: don't read tapelist
11318         * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first
11319
11320 2008-10-08  Nick Smith <nick.smith@techop.ch>
11321         * server-src/driver.c: set degr_mesg to NULL when not degraded
11322
11323 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
11324         * application-src/amzfs-snapshot.pl: Accept execute-where argument.
11325         * application-src/script-email.pl: Accept execute-where argument.
11326         * client-src/client_util.c: Send execute-where argument to script.
11327         * server-src/server_util.c: Send execute-where argument to script.
11328
11329 2008-10-06  Jean-Louis Martineau <martineau@zmanda.com>
11330         * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC
11331                                              properties.
11332         * man/xml-source/amzfs-snapshot.8.xml: Document new properties.
11333
11334 2008-10-03  Dustin J. Mitchell <dustin@zmanda.com>
11335         * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp
11336         * common-src/timestamp.c: add comment
11337
11338 2008-10-02  Dustin J. Mitchell <dustin@zmanda.com>
11339         * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles
11340         * installcheck/Amanda_DB_Catalog.pl: test it
11341         * perl/Amanda/Logfile.swg: fix typo
11342
11343 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
11344         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h:
11345           Add new property, S3_SSL, to control the use of SSL/TLS when
11346           connecting to Amazon S3
11347         * man/xml-source/amanda-devices.7.xml:
11348           document S3_SSL and S3_BUCKET_LOCATION
11349
11350 2008-10-01  Nikolas Coukouma <atrus@zmanda.com>
11351         * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness.
11352
11353 2008-10-01  Dustin J. Mitchell <dustin@zmanda.com>
11354         * common-src/amanda.h common-src/conffile.c
11355           oldrecover-src/extract_list.c recover-src/extract_list.c
11356           server-src/amcheck.c server-src/amflush.c server-src/planner.c:
11357           use g_ascii_isspace, as we assume ASCII (for now) and isspace()
11358           is affected by locale and encoding settings.  Thanks to Michael
11359           Reuland for helping track this down.
11360
11361 2008-09-30  Jean-Louis Martineau <martineau@zmanda.com>
11362         * server-src/diskfile.h (xml_optionstr): New prototype.
11363         * server-src/diskfile.h (clean_dle_str_for_client): Prototype.
11364         * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr.
11365         * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr.
11366         * server-src/planner.c: Pass 0 to new argument of xml_optionstr.
11367         * server-src/driverio.c: Pass 1 to new argument of xml_optionstr.
11368         * server-src/dumper.c: Call clean_dle_str_for_client.
11369         * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST.
11370         * server-src/diskfile.c (clean_dle_str_for_client): New function.
11371         * restore-src/restore.c: Call clean_dle_str_for_client.
11372         * common-src/amxml.c: Fix parsing.
11373         * common-src/amanda.h (match_no_newline): Prototype.
11374         * common-src/match.c (match_no_newline): New function.
11375
11376 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11377         * restore-src/restore.c: set data.flags for use by the changer_find
11378           callback
11379
11380 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11381         * perl/Amanda/MainLoop.swg: add call_later()
11382         * installcheck/Amanda_MainLoop.pl: test it
11383
11384 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11385         * device-src/rait-device.c: fix typos
11386
11387 2008-09-30  Dustin J. Mitchell <dustin@zmanda.com>
11388         * common-src/semaphore.h: fix typo
11389         * device-src/rait-device.c: add a private threadpool-like
11390           implementation for old glibs, where GThreadPool is susceptible to
11391           deadlock
11392
11393 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
11394         * device-src/device.c device-src/device.h device-src/null-device.c
11395           device-src/property.c device-src/property.h device-src/rait-device.c
11396           device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c
11397           device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c
11398           device-src/tape-uware.c device-src/tape-xenix.c
11399           device-src/vfs-device.c: add a 'configure' method to the Device API;
11400           revamp device property handling to add source and surety and make
11401           implementation easier
11402         * device-src/rait-device.h device-src/rait-device.c: make RAIT device
11403           calculate block sized based on child devices, if they were configured
11404           explicitly.
11405         * man/xml-source/amanda-devices.7.xml: note that common properties are
11406           not implemented on all devices
11407         * common-src/glib-util.c common-src/glib-util.h: add helpers for
11408           case-insensitive hashes
11409         * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl
11410           perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c
11411           server-src/amlabel.c server-src/amtape.c server-src/taper.c
11412           server-src/taperscan.c: use new API
11413
11414 2008-09-29  Dustin J. Mitchell <dustin@zmanda.com>
11415         * server-src/find.c: handle find_result->label == NULL
11416         * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label
11417
11418 2008-09-26  Dustin J. Mitchell <dustin@zmanda.com>
11419         * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!)
11420
11421 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
11422         * server-src/driver.c: Parse dumpsize from taper result.
11423
11424 2008-09-26  Jean-Louis Martineau <martineau@zmanda.com>
11425         * client-src/selfcheck.c: Set qdevice on common_exit path.
11426
11427 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
11428         * common-src/fileheader.c: fix headers_are_equal
11429
11430 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
11431         * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0
11432         * device-src/device.c device-src/device.h: set blocksize in tape
11433           header
11434         * device-src/null-device.c device-src/s3-device.c
11435           device-src/tape-device.c device-src/vfs-device.c: set blocksize
11436           in headers when starting files
11437         * device-src/rait-device.c: duplicate headers for child devices, since
11438           they are no longer const
11439         * server-src/dumper.c: set blocksize on holding-disk files to
11440           DISK_BLOCK_BYTES
11441
11442 2008-09-25  Dustin J. Mitchell <dustin@zmanda.com>
11443         * device-src/tape-device.c: mark device as non-appendable temporarily,
11444           since file numbers are incorrect when appending
11445         * installcheck/Amanda_Device.pl: handle non-appendable devices
11446
11447 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
11448         * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg
11449           argument.
11450         * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype.
11451         * server-src/chunker.c: Get mesg from ABORT cmd and log it.
11452         * server-src/driver.c: Add the mesg argument to all dumper_cmd and
11453                                chunker_cmd.
11454
11455 2008-09-24  Jean-Louis Martineau <martineau@zmanda.com>
11456         * server-src/planner.c: Set degr_mesg and send it to driver.
11457         * server-src/driverio.h (sched_t): Add degr_mesg field.
11458         * server-src/driver.c: Parse message if no degraded estimate.
11459
11460 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
11461         * common-src/conffile.c common-src/conffile.h: store a struct
11462           containing both filename and line number for each parameter, and use
11463           it when reporting errors and warnings
11464
11465 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
11466         * device-src/device.c: make 'unimplemented method' an assertion
11467
11468 2008-09-23  Dustin J. Mitchell <dustin@zmanda.com>
11469         * device-src/s3.c: use max_keys, instead of maximum body size (which
11470           doesn't work) to limit the number of keys listed
11471
11472 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
11473         * common-src/fileheader.c (fh_init): Set default type to F_EMPTY.
11474         * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file.
11475         * server-src/taperscan.c: Check type != F_EMPTY.
11476         * server-src/taper.c: Call changer_label().
11477         * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label().
11478
11479 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
11480         * device-src/device.c: Don't g_value_unset a bzero value.
11481
11482 2008-09-22  Jean-Louis Martineau <martineau@zmanda.com>
11483         * server-src/driver.c: Set result_argv=NULL, Fix typo.
11484
11485 2008-09-22  Dustin J. Mitchell <dustin@zmanda.com>
11486         * config/amanda/ps.m4: give up on runtime detection and just special-
11487           case the 'ps' arguments for various systems
11488         * perl/Amanda/Constants.pm.in: add $PS
11489         * perl/Amanda/Process.pm: use $PS
11490
11491 2008-09-19  Jean-Louis Martineau <martineau@zmanda.com>
11492         * server-src/reporter.c (addline): Done it constant time.
11493
11494 2008-09-19  Dustin J. Mitchell <dustin@zmanda.com>
11495         * common-src/Makefile.am common-src/quoting-test.c: new tests
11496         * common-src/token.c common-src/token.h: removed
11497         * common-src/util.c common-src/util.h: new home for quoting functions
11498         * configure.in: don't check for shquote
11499         * man/xml-source/amanda.conf.5.xml: info on quoting
11500         * perl/Amanda/Config/Server.pm: note about incompatibility
11501         * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c
11502           server-src/driver.c server-src/driverio.c server-src/driverio.h
11503           server-src/dumper.c server-src/infofile.c server-src/server_util.c
11504           server-src/server_util.h server-src/taper-file-source.c
11505           server-src/taper-port-source.c server-src/taper.c: use new/updated
11506           quoting functions
11507
11508 2008-09-19  Nick Smith <nick.smith@techop.ch>
11509         * example/amanda.conf.in: fix incorrect execute_on examples
11510
11511 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
11512         * server-src/dumper.c: Call security_close_connection before
11513                                checking if pkt == NULL.
11514
11515 2008-09-18  Jean-Louis Martineau <martineau@zmanda.com>
11516         Patch by Nick Smith
11517         * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith.
11518         * server-src/diskfile.c: Init xml_app.result to stralloc("").
11519
11520 2008-09-16 Dan Locks <dwlocks@zmanda.com>
11521         * packaging/rpm/amanda.spec:  Added detection of CentOS 4 and 5 as
11522           suggested by dswartz.  added graceful failure when Distro/version is
11523           not detected correctly
11524
11525 2008-09-15  Dustin J. Mitchell <dustin@zmanda.com>
11526         * common-src/conffile.c: uninit apps, pp_scripts, and device_configs
11527
11528 2008-09-14  Dustin J. Mitchell <dustin@zmanda.com>
11529         * server-src/tapefile.c server-src/tapefile.h: add comments to
11530           tapelist
11531         * perl/Amanda/Tapelist.swg: perl tapelist parser, too
11532         * installcheck/Amanda_Tapelist.pl: tests
11533         * man/xml-source/tapelist.5.xml: docs
11534         * server-src/amlabel.c: no initial comments when labeling
11535         * server-src/taper.c: maintain comment when relabeling
11536
11537 2008-09-12  Jean-Louis Martineau <martineau@zmanda.com>
11538         * amandad-src/amandad.c: Fix typo: authetication -> authentication.
11539
11540 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
11541         * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to
11542           Mike McConnell for spotting these
11543
11544 2008-09-05  Dustin J. Mitchell <dustin@zmanda.com>
11545         * server-src/taper.c: improve handling of device errors in taper
11546
11547 2008-09-02  Jean-Louis Martineau <martineau@zmanda.com>
11548         * restore-src/amrestore.c: Load a default server config.
11549
11550 2008-08-29  Dustin J. Mitchell <dustin@zmanda.com>
11551         * autogen: revert glib's configure-time requirement for
11552           pkg-config-0.16
11553
11554 2008-08-28  Dustin J. Mitchell <dustin@zmanda.com>
11555         * device-src/tape-device.c: use the correct blocksize while reading
11556         * device-src/rait-device.c: fix typo
11557         * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not
11558           the tape device
11559
11560 2008-08-28  Jean-Louis Martineau <martineau@zmanda.com>
11561         * server-src/dumper.c: Reset the MESG buffer for a new dump.
11562
11563 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
11564         * server-src/amcheck.c: make the check for tapelist result in a NOTE,
11565           not a failure
11566         * server-src/tapefile.c: make a missing tapelist equivalent to an
11567           empty one
11568
11569 2008-08-27  Dustin J. Mitchell <dustin@zmanda.com>
11570         * config/amanda/types.m4: always include sys/types.h, if it exists,
11571           before trying other headers (fixes builds of FreeBSD-4.x); thanks
11572           to John Hein <jhein@timing.com>
11573         * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h
11574           before event.h
11575
11576 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
11577         * perl/amglue/bigint.c: add #include "stdint.h"
11578
11579 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
11580         * config/amanda/ps.m4: search multiple ps invocations; thanks
11581           to John Hein <jhein@timing.com>
11582
11583 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
11584         * server-src/amadmin.ci (tape): Correctly print next tape to use.
11585         * server-src/tapefile.c (print_new_tapes): New function to print new
11586                                                    tapes.
11587         * server-src/tapefile.h (print_new_tapes): Prototype.
11588         * server-src/reporter.c: Correctly print next tape to use.
11589
11590 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
11591         * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg:
11592           add new 'define device' config section
11593         * perl/Makefile.am perl/Amanda/Config/Server.pm
11594           perl/Amanda/Config/Server/Devices.pm
11595           perl/Amanda/Config/Server/Grammar: ditto
11596         * device-src/device.c device-src/device.h: configure devices from
11597           device definitions, with better error handling
11598         * device-src/rait-device.c: handle child devices better
11599         * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl
11600           installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm
11601           installcheck/amgetconf.pl: new tests, modifications to work with the
11602           new system
11603         * man/xml-source/amanda-devices.7.xml
11604           man/xml-source/amanda.conf.5.xml: corresponding documentation updates
11605         * perl/Amanda/Changer.pm perl/Amanda/Device.swg
11606           restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c
11607           server-src/amcheckdump.pl server-src/amdevcheck.pl
11608           server-src/amlabel.c server-src/amtape.c server-src/taper.c
11609           server-src/taperscan.c: remove calls to
11610           set_startup_properties_from_config
11611         * device-src/vfs-test.c: load config before trying to use a device
11612         * common-src/conffile.c: fix use of uninitialized variable
11613
11614 2008-08-22  Dustin J. Mitchell <dustin@zmanda.com>
11615         * changer-src/chg-disk.sh: replace == with =
11616         * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed
11617
11618 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
11619         * server-src/reporter.c: Fix computation of compression ratio.
11620
11621 2008-08-22  Jean-Louis Martineau <martineau@zmanda.com>
11622         * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE.
11623         * application-src/amgtar.c, application-src/amgtar_perl.pl:
11624           Ignore "Directory is new" and "Directory has been renamed".
11625
11626 2008-08-21  Jean-Louis Martineau <martineau@zmanda.com>
11627         * common-src/krb5-security.c: Fix security_seterror use.
11628
11629 2008-08-19  Dustin J. Mitchell <dustin@zmanda.com>
11630         * configure.in: check for getgrgid_r and getpwuid_r
11631         * common-src/security-util.c: conditionalize on checks
11632
11633 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
11634         * common-src/version.h: remove #include of config.h
11635         * device-src/vfs-device.c: #include amanda.h first
11636
11637 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
11638         * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype
11639         * installcheck/Installcheck/Run.pm: report exit status
11640         * installcheck/Makefile.am installcheck/amtapetype.pl: new test
11641         * man/xml-source/amtapetype.8.xml: updated manpage
11642         * device-src/s3-device.c device-src/vfs-device.c
11643           device-src/tape-device.c: add compression property
11644         * perl/Amanda/Xfer.swg: add POD for the cancel() method
11645         * xfer-src/dest-device.c: add a default for max_memory
11646
11647 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
11648         * common-src/conffile.c: make find_multiplier case-insensitive
11649         * device-src/device.c: reorder assertions
11650         * device-src/tape-device.c: don't set access_mode twice, but
11651           set in_file = FALSE in start
11652         * device-src/s3-device.c: fix property registration
11653         * perl/Amanda/MainLoop.swg: remove attach() from example
11654         * perl/Amanda/Xfer.swg: more detail in POD
11655         * xfer-src/source-pattern.c: operate byte-for-byte, like the random
11656           source, instead of using lots of memcpys and reallocs
11657         * xfer-src/source-random.c: remove redundant check
11658
11659 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
11660         * configure.in Makefile.am tape-src/*: remove tape-src
11661         * changer-src/Makefile.am: don't link with libamtape
11662         * changer-src/chg-scsi.c: don't use libamtape
11663         * changer-src/scsi-changer-driver.c: don't use libamtape
11664         * config/amanda/tape.m4: fix comment
11665         * example/amanda.conf.in example/template.d/tapetypes: fix outdated
11666           comments
11667         * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml:
11668           remove amdd and ammt manpages
11669         * restore-src/Makefile.am: remove refs to tape-src/
11670         * server-src/Makefile.am: remove refs to tape-src/
11671
11672 2008-08-18  Dustin J. Mitchell <dustin@zmanda.com>
11673         * common-src/krb4-security.c common-src/krb5-security.c
11674           config/amanda/tape.m4 common-src/amanda.h: remove
11675           --with-maxtapeblocksize
11676         * common-src/conffile.c: deprecate file-pad
11677         * device-src/device-queueing.c device-src/device-queueing.h
11678           device-src/device.c device-src/device.h device-src/null-device.c
11679           device-src/property.c device-src/property.h device-src/rait-device.c
11680           device-src/s3-device.c device-src/tape-device.c
11681           device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c
11682           server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c
11683           xfer-src/source-device.c perl/Amanda/Device.swg: devices have
11684           {min,max,current} block sizes; remove the short_block parameter from
11685           device_write_block; fix property initialization; rename
11686           PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE
11687         * device-src/rait-device.c: set child block sizes explicitly
11688         * installcheck/Amanda_Device.pl: tests; better S3 test count
11689           calculations
11690         * installcheck/Amanda_Xfer.pl: tests
11691         * man/xml-source/amanda-devices.7.xml: update block sizes
11692           documentation
11693         * man/xml-source/amanda.conf.5.xml: refer to block size properties
11694         * restore-src/amrestore.c: use set_restore_device_read_buffer_size
11695         * restore-src/restore.h restore-src/restore.c: add
11696           set_restore_device_read_buffer_size
11697
11698 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
11699         * server-src/driver.c: handle taper_{input,tape}_error memory
11700           correctly, and add taper_tape_error to the trace log
11701
11702 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
11703         * application-src/amzfs-snapshot.pl application-src/script-email.pl:
11704           remove unnecessary 'use Amanda::Device'
11705
11706 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
11707         * common-src/amgetconf.pl: use filename-safe characters for $appname
11708         * installcheck/amgetconf.pl: test it
11709
11710 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
11711         * man/entities/global.entities: add manpage refs
11712         * packaging/rpm/amanda_enterprise.spec
11713           packaging/rpm/amanda_enterprise_client.spec
11714           man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml
11715           man/Makefile.am: add disklist(5), tapelist(5)
11716         * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml
11717           man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml
11718           man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml
11719           man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml
11720           man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml
11721           man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml:
11722           - remove references to "output drivers" in favor of "device drivers"
11723           - add more inter-page references
11724           - fix typos
11725           - add client_login to amanda-client.conf(5)
11726           - reformat informaltables, which don't render well in HTML or nroff,
11727             into variablelists, with fixes for bad xml->man conversion
11728           - fix funky replacement entities in HTML output
11729         * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec}
11730         * perl/Amanda/Device.swg: fix typo
11731         * perl/Amanda/MainLoop.swg: add hints for writing async functions
11732         * perl/Amanda/Types.swg: fix bad POD
11733         * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings
11734         * perl/Amanda/Xfer.swg: tweaks
11735         * server-src/taper.c: fix typo
11736         * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda
11737           will no longer overwrite such tapes
11738
11739 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
11740         * common-src/debug.c: lock debug logging on a per-line basis
11741
11742 2008-08-16  Dustin J. Mitchell <dustin@zmanda.com>
11743         * device-src/rait-device.c: parse RAIT names with internal {..}
11744         * installcheck/Amanda_Device.pl: light testing
11745
11746 2008-08-15  Dustin J. Mitchell <dustin@zmanda.com>
11747         * common-src/debug.c: include backtraces on fatal errors
11748         * config/amanda/debugging.m4: look for glibc's backtrace support
11749         * configure.in: ditto
11750
11751 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>
11752         * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c
11753           device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up
11754           to date with function signatures
11755
11756 2008-08-14  Dustin J. Mitchell <dustin@zmanda.com>,
11757             Nikolas Coukouma <atrus@zmanda.com>
11758         * xfer-src/*: add support for asynchronous cancellation of transfers
11759           and use it for error-handling
11760         * perl/Amanda/Xfer.swg: reflect into perl
11761         * installcheck/Amanda_Xfer.pl: test cancellation
11762
11763 2008-08-12  Dustin J. Mitchell <dustin@zmanda.com>
11764         * common-src/Makefile.am: clean up svn-info.h on maintainer-clean
11765         * man/Makefile.am: remove config.log after running config.status
11766
11767 2008-08-07 Nikolas Coukouma <atrus@zmanda.com>
11768         * common-src/conffile.c: cleaner fix for signed compared to unsigned
11769           errors on older versions of GCC.
11770
11771 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
11772         * common-src/Makefile.am: second fix
11773
11774 2008-08-06  Dustin J. Mitchell <dustin@zmanda.com>
11775         * common-src/Makefile.am: don't syntax-check amgetconf, since
11776           it uses Amanda::* modules
11777
11778 2008-08-06 Nikolas Coukouma <atrus@zmanda.com>
11779         * server-src/amgetconf.pl, common-src/amgetconf.pl:
11780           Add --execute-where=client|server and --client options
11781           to make amgetconf query the client configuration
11782           instead. Move from server-src to common-src.
11783         * man/xml-source/amgetconf.8.xml: Document the new options.
11784         * installcheck/amgetconf.pl: Test the new options.
11785         * server-src/Makefile.am, common-src/Makefile.am:
11786           Updated Makefiles for move.
11787         * packaging/deb/amanda-enterprise-backup-client.install,
11788           packaging/sun-pkg/i386/client/prototype:
11789           Add amgetconf to client packages.
11790
11791 2008-08-04 Dan Locks <dwlocks@zmanda.com>
11792         * packaging/rpm/amanda.spec:  add %{tarver} macro and set the correct
11793           minimum version per distro (Thanks to Jesse Angell for the rhel4 tip)
11794
11795 2008-08-04  Dustin J. Mitchell <dustin@zmanda.com>
11796         * common-src/conffile.c: workaround gcc<4.1.0 problems with long
11797           constants, don't use G_MAXINT64 in precompiler expressions
11798
11799 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
11800         * server-src/amrmtape.sh: use shell redirection with shell functions
11801
11802 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
11803         * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE
11804         * common-src/dgram.c: address family debugging
11805         * common-src/stream.c: address family debugging
11806
11807 2008-08-03  Dustin J. Mitchell <dustin@zmanda.com>
11808         * common-src/amanda.h common-src/conffile.c common-src/conffile.h
11809           installcheck/Amanda_Config.pl perl/Amanda/Config.swg
11810           server-src/planner.c: replace am64 type with gint64; also replace
11811           some uses of off_t
11812
11813 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
11814         * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's
11815           stringify consistently (no '+' prefixing positive numbers).
11816         * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc.
11817         * installcheck/bigint.pl, perl/amglue/bigint.c:
11818           Use Amanda::BigIntCompat everywhere we use bigint.
11819
11820 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
11821         * common-src/match.c: Correct array index to be within bounds
11822
11823 2008-08-01 Nikolas Coukouma <atrus@zmanda.com>
11824         * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to
11825           AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where
11826           appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing
11827           (which causes errors).
11828
11829 2008-07-30  Dustin J. Mitchell <dustin@zmanda.com>
11830         * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug
11831         * installcheck/amgetconf.pl: ditto
11832
11833 2008-07-29 Dan Locks <dwlocks@zmanda.com>
11834         * packaging/rpm/amanda.spec:  Merged fixes from enterprise .spec for
11835           parsing redhat-release for fedora versions correctly.
11836
11837 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
11838         * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+
11839
11840 2007-07-28 Nikolas Coukouma <atrus@zmanda.com>
11841         * device-src/s3.c: Calculate and send the MD5 hash when uploading data.
11842           Also check the returned ETag to make sure it matches the sent MD5 hash.
11843           Use simpler s3_base64_encode() instead of base64_encode().
11844           Correct the use of character classes in several regular expressions.
11845         * device-src/s3-util.h, device-src/s3-util.c: Add utility functions
11846           s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well
11847           as some constants. Move regexec_wrap() into this and rename it to
11848           s3_regexec_wrap().
11849         * device-src/Makefile.am: add s3-util.c and s3-util.h
11850
11851 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
11852         * installcheck/Installcheck/Config.pm: don't set default tapetype
11853           unless not set explicitly.
11854         * installcheck/Amanda_Config.pl: test changes
11855         * man/xml-source/amanda-client.conf.5.xml
11856           man/xml-source/amanda.conf.5.xml: encourage, but don't require,
11857           quoted identifiers
11858
11859 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
11860         * server-src/amserverconfig.pl: apply perltidy, factor some common
11861           code, and create the config dir and changer conf only after the check
11862           for mtx is performed
11863
11864 2008-07-28  Dustin J. Mitchell <dustin@zmanda.com>
11865         * device-src/tests/semaphore-test.c: move function call out of
11866           variable initialization
11867
11868 2008-07-25 Dan Locks <dwlocks@zmanda.com>
11869         * packaging/deb/control: added alternative dependency of libssl0.9.8 for
11870           Ubuntu 8.x builds.  Added build dependencies for debhelper, fakeroot,
11871           libcurl-dev, libssl-dev.  Updated server and client dependency for curl
11872           to libcurl3
11873
11874 2008-07-18 Dan Locks <dwlocks@zmanda.com>
11875         *  configure.in:  add format-security to gcc compile flags
11876         *  server-src/amindexd.c,
11877            server-src/dumper.c,
11878            server-src/reporter.c,
11879            restore-src/restore.c,
11880            common-src/security-util.c,
11881            common-src/bsd-security.c:  replacemented unquoted strings in
11882            function arguments with "%s", arg.  jrfranks's suggestion, dustin provided
11883            syntax for the fix.
11884
11885 2008-07-17 Dan Locks <dwlocks@zmanda.com>
11886         * packaging/debian/amanda-enterprise-backup-*.install: added entries for
11887           applications and devices man pages.
11888
11889 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
11890         * man/Makefile.am: Add amzfs-snapshot.8
11891         * man/xml-source/amzfs-snapshot.8.xml: New man page.
11892         * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8
11893         * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8
11894         * application-src/amzfs-snapshot.pl: New script
11895         * application-src/Makefile.am: Add amzfs-snapshot
11896         * perl/Amanda/Util.swg: Add sanitise_filename.
11897
11898 2008-07-17  Jean-Louis Martineau <martineau@zmanda.com>
11899         * amandad-src/amandad.c: amandad must be run by root for krb5 auth.
11900
11901 2008-07-16  Jean-Louis Martineau <martineau@zmanda.com>
11902         * server-src/driver.c: Improve message in failure to dump in degraded
11903                                mode.
11904
11905 2008-07-16 Dan Locks <dwlocks@zmanda.com>
11906         * packaging/deb/control,
11907           packaging/rpm/amanda.spec: added explicit dependency on openssl, and a
11908           build dependency for openssl and curl development files.
11909
11910 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
11911         * example/xinetd.amandaserver.in example/xinetd.amandaclient.in:
11912           specifying both IPv{4,6} does not work; remove IPv4
11913
11914 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
11915         * man/Makefile.am: Add new man pages.
11916         * man/xml-source/script-email.8.xml: New man page.
11917         * man/xml-source/amanda.8.xml: List new man pages.
11918         * man/xml-source/amanda-scripts.7.xml: New man page.
11919
11920 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
11921         * configure.in: generate (x)inetd files
11922         * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in
11923           example/xinetd.amandaserver.in: give appropriate path for amandad,
11924           from configure (fixes builds on 64-bit machines)
11925 2008-07-15  Dustin J. Mitchell <dustin@zmanda.com>
11926         * client-src/client_util.c: #include "glib-util.h"
11927         * common-src/glib-util.c: New g_ptr_array_foreach fucntion.
11928         * common-src/glib-util.h: Prototype of g_ptr_array_foreach.
11929         * device-src/rait-device.c: Remove g_ptr_array_foreach.
11930
11931 2008-07-15  Jean-Louis Martineau <martineau@zmanda.com>
11932         * client-src/client_util.c: Read stdout of scripts.
11933         * client-src/client_util.h: New prototype for run_client_scripts,
11934                                     New client_script_result_t struct.
11935         * client-src/sendbackup.c: Send scripts properties to application.
11936         * client-src/sendsize.c: Send scripts properties to application.
11937         * client-src/selfcheck.c: Send scripts properties to application.
11938         * recover-src/extract_list.c: Send scripts properties to application.
11939         * common-src/amxml.h (script_t) Add field to keep result of script.
11940         * common-src/amxml.c: Set script->result to NULL.
11941
11942 2008-07-14 Dan Locks <dwlocks@zmanda.com>
11943         * packaging/rpm/amanda.spec: fix macro detection of fedora version
11944
11945 2008-07-14 Dan Locks <dwlocks@zmanda.com>
11946         * packaging/rpm/amanda.spec: fix distribution detection, add
11947         activate-devpay to server files list
11948
11949 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11950         * installcheck/Amanda_Changer.pl: set up and parse a config, now that
11951           Amanda::Changer needs one
11952
11953 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11954         * perl/Amanda/Changer.pm: set device properties when testing device
11955           labels in the changer
11956
11957 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
11958         * application-src/amgtar.c: Add a DIRECTORY property.
11959         * man/xml-source/amgtar.8.xml: Document DIRECTORY property.
11960
11961 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11962         * changer-src/chg-lib.sh.in: remove bogus Log() invocations
11963
11964 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11965         * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links
11966           to new manpages
11967
11968 2008-07-11  Dustin J. Mitchell <dustin@zmanda.com>
11969         * installcheck/Amanda_Device.pl: be more liberal in the flags that are
11970           accepted from S3's read_label; this will reduce false failures
11971
11972 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
11973         * client-src/client_util.c: Remove unused output_tool_property function.
11974         * client-src/client_util.h: Remove output_tool_property prototype.
11975         * man/xml-source/amanda-client.conf.5.xml: Add application and script
11976                                                    sections.
11977         * man/xml-source/amanda.conf.5.xml: Improve application and script
11978                                             sections.
11979         * device-src/device.c: Fix for new property_t.
11980         * server-src/diskfile.h: Change prototype for xml_application and
11981                                  xml_scripts.
11982         * server-src/diskfile.c: Add <priority> tag if client support it.
11983         * server-src/amindexd.c: Fix call to xml_application.
11984         * server-src/amcheck.c: Fix call to xml_application.
11985         * server-src/planner.c: Fix call to xml_application.
11986         * server-src/driverio.c: Fix call to xml_application.
11987         * server-src/server_util.c: Remove code to write property to stdin of
11988                                     script.
11989         * perl/Amanda/Config.swg: Fix for new property_t.
11990         * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property.
11991         * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property
11992                                     function.
11993         * installcheck/Amanda_Config.pl: Fix for new property_t.
11994         * common-src/util.c: Remove unused output_tool_proplist fucntion,
11995                              Fix for new property_t.
11996         * common-src/util.h: Remove output_tool_proplist prototype.
11997         * common-src/amxml.c:Fix for new property_t, parse priority of property.
11998         * common-src/conffile.c: Parse priority of a property,
11999                           Add application and script to amanda-client.conf.
12000         * common-src/conffile.h: New property_t struct.
12001         * common-src/amfeatures.h: New fe_xml_property_priority amfeature.
12002         * common-src/amfeatures.c: New fe_xml_property_priority amfeature.
12003
12004 2008-07-11  Jean-Louis Martineau <martineau@zmanda.com>
12005         * man/entities/global.entities: Add ENTITY email.jlm.
12006         * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7,
12007           amgtar.8 and amstar.8.
12008         * man/xml-source/amanda.conf.5.xml: Fix </programlisting>, it must be
12009                                             at the begining of a line.
12010         * man/xml-source/amanda-applications.7.xml: New page.
12011         * man/xml-source/amgtar.8.xml: New page.
12012         * man/xml-source/amstar.8.xml: New page.
12013
12014 2008-07-09  Ian Turner <ian@zmanda.com>
12015         * device-src/device.h: Clarify documentation of device_read_label().
12016         * device-src/s3-device.c, device-src/tape-device.c,
12017           device-src/vfs-device.c (device_read_label): Always clear volume
12018           labels, even if device is in error.
12019         * device-src/rait-device.c: Ditto; also properly handle properties
12020           that change device labels.
12021
12022 2007-07-09 Nikolas Coukouma <atrus@zmanda.com>
12023         * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION
12024           property (for setting location constraints).
12025
12026 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>
12027         * device-src/vfs-device.c device-src/tape-device.c: do not autofinish
12028           when EOF occurs on writing
12029
12030 2008-07-08  Dustin J. Mitchell <dustin@zmanda.com>,
12031             Nikolas Coukouma <atrus@zmanda.com>,
12032             Ian Turner <ian@zmanda.com>,
12033             Jean-Louis Martineau <martineau@zmanda.com>
12034         Amanda has been analyzed with Klocwork source code analysis, the most
12035         accurate and comprehensive tool for finding critical programming
12036         errors and security vulnerabilities.
12037         * amandad-src/amandad.c changer-src/chg-scsi.c
12038           client-src/client_util.c client-src/selfcheck.c
12039           client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c
12040           common-src/bsd-security.c common-src/fileheader.c
12041           common-src/local-security.c common-src/queueing.c
12042           common-src/security-util.c device-src/property.c
12043           device-src/rait-device.c device-src/tape-device.c
12044           device-src/vfs-device.c recover-src/set_commands.c
12045           restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c
12046           server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c
12047           server-src/changer.c server-src/chunker.c server-src/cmdline.c
12048           server-src/driver.c server-src/holding.c server-src/logfile.c
12049           server-src/reporter.c server-src/server_util.c
12050           server-src/taper-file-source.c: fix many issues identified
12051           by Klockwork, ranging in severity from stylistic to minor.
12052            - many memory leaks in error paths and application shutdown
12053            - better handling of incorrect commandline arguments
12054            - better resource management (file descriptors, etc.)
12055
12056 2008-07-07 Nikolas Coukouma <atrus@zmanda.com>
12057         * device-src/Makefile.am: conditionalize activate-devpay on
12058           WANT_S3_DEVICE
12059
12060 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
12061         * device-src/s3-device.c, device-src/s3.c, device-src/s3.h,
12062           device-src/activate-devpay.c, device-src/Makefile.am:
12063           Allow both regular S3 and S3-with-DevPay to be used in
12064           the same installation. Remove WANT_DEVPAY macro.
12065         * device-src/s3-device.c: Added a flag, is_devpay, to the device
12066           and handled divergent cases. Removed useless device_error_set calls.
12067         * device-src/s3.c: Use DevPay authentication iff user_token is set.
12068           Replaced some if statements about non-NULL pointers with assertions.
12069         * config/amanda/s3-device.m4, device-src/Makefile.am:
12070           remove devpay flag and WANT_DEVPAY definition.
12071         * installcheck/Amanda_Device.pl: add tests for DevPay, refactor
12072           other S3 tests.
12073
12074 2007-07-06 Nikolas Coukouma <atrus@zmanda.com>
12075         * device-src/s3.c: wait for bucket to appear after creation, treat
12076           missing bucket as temporary error, increase retries from 5 to 14
12077           (about 3min), explicitly handle HTTP verbs as libcurl expects.
12078         * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about
12079           buckets taking too long to appear.
12080
12081 2008-07-06 Dan Locks <dwlocks@zmanda.com>
12082         * packaging/deb/amanda-backup-server.postrm
12083           packaging/deb/amanda-backup-client.postrm: removed unused
12084           code
12085         * packaging/deb/postrm: fixed typo in deluser command
12086         * packaging/deb/rules: added specific preinst and postrm scripts for
12087           client and server.
12088
12089 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
12090         * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in:
12091           new files for HTML output
12092         * man/xslt/man.xsl.in: substitute XSLT_VERS
12093         * man/xml-source/amanda-devices.7.xml: tweaks
12094         * man/xml-source/amanda.8.xml: tweaks
12095         * man/xml-source/amanda.conf.5.xml: tweaks
12096         * man/xml-source/amgetconf.8.xml: tweaks
12097         * man/xml-source/amtoc.8.xml: tweaks
12098
12099 2008-07-03  Dustin J. Mitchell <dustin@zmanda.com>
12100         * common-src/genversion.c: correctly represent available amflock
12101           implementations
12102
12103 2008-07-03  Jean-Louis Martineau <martineau@zmanda.com>
12104         * perl/Amanda/Xfer.swg: #include "glib-util.h"
12105
12106 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12107         * device-src/rait-device.c: don't use self->device_name in open_device
12108
12109 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12110         * installcheck/amgetconf.pl: supply a plugin for scripts
12111
12112 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
12113         * server-src/diskfile.c: Check an application is set if
12114                                  program == "APPLICATION".
12115         * common-src/amxml.c: Check plugin is set for application and script.
12116         * common-src/conffile.c: Check plugin is set for application and script
12117
12118 2008-07-02  Jean-Louis Martineau <martineau@zmanda.com>
12119         * server-src/amstatus.pl: Fix printing of config path on error.
12120
12121 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12122         * installcheck/Amanda_Device.pl: test that start(READ) without first
12123           reading the label doesn't cause errors
12124         * device-src/s3-device.c: call s3_device_read_label directly
12125
12126 2008-07-02  Ian Turner <ian@zmanda.com>
12127         * man/xml-source/amanda.8.xml: Document how to override device
12128           properties.
12129
12130 2008-07-02  Ian Turner <ian@zmanda.com>
12131         Dustin J. Mitchell <dustin@zmanda.com> contributed code and thoughts
12132         to this patch.
12133         * man/xml-source/amanda-devices.7.xml: Document new ERROR flag
12134           to start RAIT device in degraded mode.
12135         * device/device.c: Be a little more forgiving of NULL devices.
12136         * device-src/vfs-device.c: Fix a bug where vfs_device_start()
12137           would sometimes throw an erroneous assertion.
12138         * device-src/rait-device.c: Be much more robust in error handling;
12139           new feature to start a RAIT device in degraded mode.
12140         * installcheck/Amanda_Device.pl: Enable more RAIT device tests.
12141
12142 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12143         * common-src/amanda.h: remove unused #include <alloca.h>
12144
12145 2008-07-02  Dustin J. Mitchell <dustin@zmanda.com>
12146         * device-src/tape-device.c: add "user" and "good" to feature flags
12147         * man/xml-source/amanda-devices.7.xml: document it
12148
12149 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
12150         * device-src/device.h: fix comments to reflect removal of
12151           autofinishing
12152         * device-src/tape-device.c: remove autofinishing
12153
12154 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
12155         * changer-src/chg-lib.sh.in: also handle bare tape dev names
12156
12157 2008-07-01  Dustin J. Mitchell <dustin@zmanda.com>
12158         * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl
12159         * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to
12160           open the debug file
12161
12162 2008-06-30  Dustin J. Mitchell <dustin@zmanda.com>
12163         * common-src/match.c: fix multiple bugs in match_datestamp
12164
12165 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
12166         * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg
12167           perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm
12168           perl/Amanda/Device.swg perl/Amanda/Logfile.swg
12169           perl/Amanda/Util.swg: POD cleanup
12170         * perl/Makefile.am: new files, rules to make HTML
12171         * perl/amperl.css: CSS file for online POD
12172         * perl/make_html.pl: make online POD
12173
12174 2008-06-29  Dustin J. Mitchell <dustin@zmanda.com>
12175         * installcheck/Makefile.am installcheck/amstatus.pl: new check
12176
12177 2008-06-27  Ian Turner <ian@zmanda.com>
12178         * server-src/taper.c: fix printing a NULL pointer in the error path
12179
12180 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
12181         * device-src/device.c: check for and fail on multiple
12182           short writes to the same file
12183         * device-src/null-device.c device-src/rait-device.c
12184           device-src/s3-device.c device-src/tape-device.c
12185           device-src/vfs-device.c: do not autofinish files
12186         * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't
12187           expect devices to autofinish anymore
12188         * server-src/taper.c xfer-src/dest-device.c: finish files explicitly
12189         * device-src/device-queueing.c: comments
12190         * xfer-src/xfer-element.h: comments
12191
12192 2008-06-27  Nikolas Coukouma <atrus@zmanda.com>
12193         * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl:
12194           Add support for bucket location constraints
12195         * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property
12196         * device-src/s3.c device-src/s3.h device-src/s3-device.c:
12197           Checks for libcurl and bucket name compatability with location constraints
12198         * device-src/s3.c: make s3_init() threadsafe,
12199           refactor regex compilation and calling,
12200           refactor perform_request() functions to construct URL later,
12201           use GString to tidy string generation
12202         * installcheck/Amanda_Device.pl: Add tests for location constraints
12203
12204 2008-06-27  Ian Turner <ian@zmanda.com>
12205         * device-src/rait-device.c: Fix a memory corruption issue on the last
12206           block of a file.
12207
12208 2008-06-27  Ian Turner <ian@zmanda.com>
12209         * device-src/rait-device.c: Fix a memory corruption issue on the last
12210           block of a file.
12211
12212 2008-06-27  Ian Turner <ian@zmanda.com>
12213         * device-src/rait-device.c: Track file numbers properly when child
12214           devices change them (that is, in rait_device_start_file() and
12215           rait_device_seek_file()).
12216         * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests.
12217
12218 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
12219         * device-src/s3-device.c (s3_device_read_label): Don't set
12220           volume_header if nothing is read.
12221
12222 2008-06-27  Jean-Louis Martineau <martineau@zmanda.com>
12223         * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS.
12224
12225 2008-06-27  Dustin J. Mitchell <dustin@zmanda.com>
12226         * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO
12227         * changer-src/chg-lib.sh.in: keep waiting for a device if it *might*
12228           be busy or offline
12229
12230 2008-06-26  Jean-Louis Martineau <martineau@zmanda.com>
12231         * application-src/amstar.c: Use local start_time variable.
12232         * application-src/amgtar.c: Use local start_time variable.
12233         * common-src/clock.h: Remove times_zero and start_time extern.
12234         * common-src/clock.c: Remove times_zero.
12235
12236 2008-06-25  Jean-Louis Martineau <martineau@zmanda.com>
12237         * server-src/diskfile.c: Don't send encryption in xml req packet for
12238                                  server encryption.
12239
12240 2008-06-25  Dustin J. Mitchell <dustin@zmanda.com>
12241         * application-src/amgtar.c: revert --atime-preserve change
12242
12243 2008-06-22  Dustin J. Mitchell <dustin@zmanda.com>
12244         * application-src/amgtar.c: change --atime-preserve=system to
12245           --atime-preserve
12246
12247 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>
12248         * installcheck/amdump.pl: fix checks to refresh the test configuration
12249
12250 2008-06-20  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
12251         * server-src/amdump.sh: correctly handle error exits from planner
12252         * server-src/planner.c: fail if planning fails
12253         * installcheck/amdump.pl: test changes
12254
12255 2008-06-20 Dan Locks <dwlocks@zmanda.com>
12256         * packaging/rpm/amanda.spec: typo amanda-devices.7.gz
12257
12258 2008-06-20 Dan Locks <dwlocks@zmanda.com>
12259         * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz
12260
12261 2008-06-20  Jean-Louis Martineau <martineau@zmanda.com>
12262         * client-src/client_util.c: Call check_access() only
12263                                     if getuid() == geteuid().
12264         * application-src/amgtar.c: check_dir(argument->dle.device, R_OK)
12265
12266 2008-06-19  Jean-Louis Martineau <martineau@zmanda.com>
12267         * server-src/amcleanup.pl: Correctly rename amdump files.
12268
12269 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>, Ian Turner <ian@zmanda.com>
12270         * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage
12271         * man/entities/global.entities: emails for dustin and ian
12272         * man/xml-source/amanda.8.xml: refer to new manpage
12273         * man/xml-source/amanda.conf.5.xml: refer to new manpage
12274         * man/xml-source/amrecover.8.xml: refer to new manpage
12275         * server-src/amcheck.c: fix message regarding WORM media
12276
12277 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12278         * server-src/amgetconf.pl: fail on bad parameters or subsections, but
12279           not empty values or subsection lists
12280         * perl/Amanda/Config.swg: publish a list of subsections
12281         * installcheck/amgetconf.pl: test it
12282
12283 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12284         * example/template.d/amanda-single-tape.conf.in
12285           example/template.d/amanda-harddisk.conf.in
12286           example/template.d/amanda-tape-changer.conf.in
12287           example/template.d/dumptypes example/template.d/amanda-S3.conf.in:
12288           use application amgtar instead of program GNUTAR
12289
12290 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12291         * config/amanda/net.m4: AC_SUBST port ranges; update comments
12292
12293 2008-06-19  Satya Ganga <gsat@zmanda.com>
12294         * example/template.d/amanda-single-tape.conf.in
12295           example/template.d/advanced.conf.in: update displayunit to "g" and
12296           remove chg-manual for single tape configurations.
12297
12298 2008-06-19  Ian Turner <ian@zmanda.com>
12299         * device-src/rait-device.c (rait_device_start): Check for consistent
12300           volume label on all child devices, fail with
12301           DEVICE_STATUS_DEVICE_ERROR otherwise.
12302         * installcheck/Amanda_Device.pl: Test for foregoing.
12303
12304 2008-06-19  Paddy Sreenivasan <paddy@zmanda.com>
12305         * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint
12306
12307 2008-06-19  Dustin J. Mitchell <dustin@zmanda.com>
12308         * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL
12309         * config/automake/scripts.am: explain why
12310
12311 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12312         * changer-src/chg-manual.sh: Make it interruptible.
12313
12314 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12315         * application-src/amgtar.c: Remove check for amandates file.
12316
12317 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12318         * common-src/amanda.h: Fix skip_quoted_string for "\\".
12319         * common-src/file.c: Fix debug_agets for "\\".
12320
12321 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12322         * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'.
12323
12324 2008-06-18  Jean-Louis Martineau <martineau@zmanda.com>
12325         * client-src/sendsize.c: Report error from application to server.
12326         * application-src/amgtar.c: Report exit status of tar.
12327
12328 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
12329         * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h
12330           xfer-src/dest-device.c xfer-src/source-device.c: new elements
12331           Amanda::Xfer:{Dest,Source}::Device
12332         * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor
12333         * installcheck/Amanda_Xfer.pl: tests for new elements
12334
12335 2008-06-16  Dustin J. Mitchell <dustin@zmanda.com>
12336         * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR
12337           and amgtar
12338         * installcheck/amservice.pl: put -f switches first
12339
12340 2008-06-15  Dustin J. Mitchell <dustin@zmanda.com>
12341         * installcheck/Amanda_Config.pl: test config overwrites
12342         * common-src/conffile.c: don't segfault applying config overwrites
12343           after config_init(0, NULL)
12344
12345 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
12346         * client-src/sendbackup.c: Run compression and encryption for
12347                                    application-api.
12348
12349 2008-06-13  Jean-Louis Martineau <martineau@zmanda.com>
12350         * perl/Amanda/Util.swg: Expose get_original_cwd.
12351         * application-src/amgtar_perl.pl, application-src/amoracle.pl:
12352           chdir(get_original_cwd()) before restore.
12353
12354 2008-06-13  Dustin J. Mitchell <dustin@zmanda.com>
12355         * device-src/property.c device-src/property.h: remove tape properties
12356         * device-src/tape-device.c device-src/tape-device.h: add tape
12357           properties
12358
12359 2008-06-12 Dan Locks <dwlocks@zmanda.com>
12360         * packaging/rpm/amanda_enterprise.spec,
12361           packaging/rpm/amanda_enterprise_client.spec,
12362           packaging/deb/rules: install amgtar and amstar suid root
12363
12364 2008-06-12  Jean-Louis Martineau <martineau@zmanda.com>
12365         * client-src/selfcheck.c: Typo.
12366
12367 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12368         * client-src/sendsize.c: Check MAX-LEVEL from application.
12369         * server-src/planner.c: Ask for estimate even if SERVER, estimate is
12370           valid if client return -1 and invelid if client return -2.
12371         * common-src/amfeatures.h: New fe_xml_estimate amfeature.
12372         * common-src/amxml.c: Parse <estimate> tag.
12373         * common-src/amxml.h (dle_t): New estimate field.
12374         * common-src/amfeatures.c: Set fe_xml_estimate.
12375
12376 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12377         * client-src/client_util.c (application_property_add_to_argv):
12378                                    Add include and exclude.
12379         * client-src/client_util.h (application_property_add_to_argv):
12380                                    New prototype.
12381         * client-src/sendbackup.c, client-src/sendsize.c,
12382           client-src/selfcheck.c, recover-src/extract_list.c:
12383           Add bsu param to application_property_add_to_argv.
12384         * client-src/selfcheck.c: Check if application support includ/exclude.
12385         * application-src/amgtar_perl.pl: Don't support include/exclude.
12386         * application-src/amgtar.c: Support include-optional and
12387                                     exclude-optional.
12388         * common-src/amxml.c: Fix include/exclude parsing.
12389
12390 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12391         * application-src/Makefile.am: Install amgtar and amstar suid root.
12392
12393 2008-06-11  Jean-Louis Martineau <martineau@zmanda.com>
12394         * client-src/selfcheck.c: Print cmdline before execing the application.
12395         * application-src/generic-dumper.pl: Cleanup.
12396         * application-src/script-oracle.pl: Cleanup.
12397         * application-src/script-email.pl: Cleanup.
12398         * application-src/amgtar_perl.pl: Cleanup.
12399         * application-src/generic-script.pl: Cleanup.
12400         * application-src/Makefile.am: Remove all scripts from CHECK_PERL.
12401         * perl/Amanda/Debug.swg: Typo.
12402
12403 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
12404         * common-src/Makefile.am: don't use $(builddir), fix comparison
12405         * installcheck/Makefile.am: don't use $(builddir)
12406
12407 2008-06-10  Ian Turner <ian@zmanda.com>
12408         * common-src/fileheader.c: Silence a compiler warning.
12409         * device-src/rait-device.c: ditto.
12410
12411 2008-06-10  Dustin J. Mitchell <dustin@zmanda.com>
12412         * device-src/rait-device.c: hack around glib bug in versions <2.10.2
12413           using the precompiler macro instead of glib_check_version, which
12414           doesn't exist in every version of glib
12415
12416 2008-06-10 Dan Locks <dwlocks@zmanda.com>
12417         * packaging/rpm/amanda.spec:  Replaced individual SBINDIR/am... entries
12418           with SBINDIR/am* in %%files
12419
12420 2008-06-10  Jean-Louis Martineau <martineau@zmanda.com>
12421         * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts.
12422
12423 2008-06-09 Dan Locks <dwlocks@zmanda.com>
12424         * packaging/rpm/buildpkg: added "|| exit 1" to any command which should
12425           cause the script to fail.
12426
12427 2008-06-09 Dan Locks <dwlocks@zmanda.com>
12428         * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to
12429           use a single SBINDIR/am* entry in %files
12430
12431 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
12432         * common-src/fileheader.c: correctly free dle_str
12433         * device-src/device.c device-src/device.h: add volume_header Device
12434           attributes
12435         * device-src/rait-device.c device-src/s3-device.c
12436           device-src/tape-device.c device-src/vfs-device.c: populate
12437           volume_header
12438         * server-src/amlabel.c: use volume_header to detect a non-empty tape
12439           and require a force (-f) to overwrite it
12440         * server-src/taperscan.c: use volume_header to detect a non-empty tape
12441           and require 'amlabel -f' to overwrite it
12442         * device-src/tape-device.c device-src/vfs-device.c: fix read_label
12443           return values and remove useless chain-up calls
12444
12445 2008-06-09  Jean-Louis Martineau <martineau@zmanda.com>
12446         * server-src/amservice.c: Open input file in read mode, prepend
12447                                   get_original_cwd() to relative path.
12448         * installcheck/Makefile.am: Check amservice only on server.
12449
12450 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
12451         * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily
12452
12453 2008-06-09  Dustin J. Mitchell <dustin@zmanda.com>
12454         * man/xml-source/amanda.8.xml: add links to amservice
12455
12456 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12457         * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE
12458         * configure.in: don't call AC_SOCKADDR_STORAGE
12459
12460 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12461         * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist
12462
12463 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12464         * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape
12465           handling so that checks can load/unload vtapes "manually"
12466
12467 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12468         * server-src/amdevcheck.pl: apply config_overwrites before printing
12469           config errors
12470
12471 2008-06-07  Dustin J. Mitchell <dustin@zmanda.com>
12472         * application-src/amgtar_perl.pl application-src/amstar_perl.pl
12473           application-src/generic-dumper.pl application-src/generic-script.pl
12474           application-src/script-email.pl server-src/amgetconf.pl: add GPL
12475           notice
12476
12477 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12478         * server-src/amservice.c: Exit with 1 if the connection fail.
12479         * man/xml-source/amservice.8.xml: Document exit code.
12480
12481 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
12482         * device-src/device.c: make device_set_error bulletproof to NULLs
12483         * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is
12484           not defined
12485
12486 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12487         * man/Makefile.am: Add amservice.8.
12488         * man/xml-source/amservice.8.xml: New man page for amservice.
12489         * server-src/amservice.c: New program to execute an amanda service
12490                                   on a client.
12491         * server-src/Makefile.am: Add amservice
12492         * installcheck/amservice.pl: New check for amservice program.
12493         * installcheck/Makefile.am: Add amservice
12494
12495 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12496         * server-src/dumper.c: Don't quote dle_str.
12497         * common-src/fileheader.c: DLE= in header is like heredoc.
12498
12499 2008-06-06  Dustin J. Mitchell <dustin@zmanda.com>
12500         * device-src/*: major overhaul:
12501           - add device_set_error to set error status and message for Device
12502           - every error return from a device API method sets error status
12503           - device_status_error is now threadsave
12504           - a device in an error state will not perform further operations
12505           - ensure Device attributes are set correctly by member functions
12506           - device_open never returns NULL, but may return a null device with
12507             error status set
12508           - clearly define $device_name="$device_type:$device_node"
12509           - send RAIT logging to the debug log
12510           - vfs, tape devices don't touch the device until read_label or start
12511           - on out-of-space in write, set is_eof, finish the file, and return
12512             FALSE
12513           - use accessor functions in Amanda::Device
12514           - move device-specific properties to live with their devices
12515           - change g_return_val_if_fail to g_assert or explicit checks
12516           - remove most default Device methods, as they were more confusing
12517             than helpful
12518           - misc. other cleanup
12519         * device-src/null-device.h device-src/rait-device.h
12520           device-src/s3-device.h device-src/vfs-device.h: removed to make most
12521           device class declarations local to the source file
12522         * perl/Amanda/Device.swg: new error handling
12523         * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c
12524           server-src/amcheck.c server-src/amcheckdump.pl
12525           server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c
12526           server-src/taperscan.c: use new device error-handling
12527         * server-src/taper-file-source.c server-src/taper-port-source.c
12528           server-src/taper-source.c: rename GObject constants (typo)
12529         * server-src/taper-source.h:
12530         * server-src/taper.c: handle opening devices better, log on EOM
12531         * common-src/glib-util.c: g_english_strjoinv: handle one-element lists
12532           correctly
12533         * installcheck/amdevcheck.pl: volume-unlabeled message has changed
12534         * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device
12535           classes
12536         * configure.in device-src/tests/: removed
12537         * device-src/vfs-test.c: moved from device-src/tests/
12538
12539 2008-06-06  Jean-Louis Martineau <martineau@zmanda.com>
12540         * client-src/sendbackup.c: Don't write the uncompression program if
12541                                    it is not client compressed.
12542
12543 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
12544         * server-src/taper.c: Log no-tape line.
12545
12546 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
12547         * server-src/reporter.c: Improve formating.
12548
12549 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
12550         * server-src/driver.c: start the degraded mode if it receive
12551                                NO-NEW-TAPE from taper.
12552
12553 2008-06-05  Jean-Louis Martineau <martineau@zmanda.com>
12554         * server-src/amcheckdump.pl: Check log fiels in directory if find_log
12555                                      find no log for the timestamps.
12556
12557 2008-06-05  Dustin J. Mitchell <dustin@zmanda.com>
12558         * common-src/conffile.c common-src/conffile.h: expose config_add_error
12559         * server-src/diskfile.c server-src/diskfile.h: use config_add_error
12560           to send diskfile errors to conffile's error-handling mechanism
12561         * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c
12562           server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c
12563           server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c
12564           server-src/planner.c: parse disklist along with config
12565
12566 2008-06-04  Jean-Louis Martineau <martineau@zmanda.com>
12567         And Dustin J. Mitchell <dustin@zmanda.com>
12568         * man/xml-source/amanda-client.conf.5.xml: Document property.
12569         * installcheck/Amanda_Config.pl: Add test for client property.
12570         * common-src/conffile.c (client_var): Add CONF_PROPERTY.
12571
12572 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
12573         * perl/Amanda/Types.swg: Add dle_str to dumpfile_t.
12574         * common-src/fileheader.c: Don't print NULL dle_str.
12575
12576 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
12577         * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE,
12578                                    add fe_amrecover_dle_in_header.
12579         * common-src/amfeatures.c: Set fe_amrecover_dle_in_header.
12580         * recover-src/set_commands.c: Use fe_amindexd_DLE.
12581         * server-src/dumper.c: Set dle_str and add it to the header.
12582         * restore-src/restore.c: Remove dle_str is client doesn't have
12583                                  fe_amrecover_dle_in_header.
12584         * common-src/fileheader.c: Parse and set dle_str from header.
12585         * common-src/fileheader.h: Add dle_str in dumpfile_t.
12586
12587 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
12588         * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml,
12589           man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml,
12590           man/xml-source/amstatus.8.xml: Add "EXIT CODE" section".
12591
12592 2008-06-03  Jean-Louis Martineau <martineau@zmanda.com>
12593         * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in
12594                                                  subsec_name.
12595         * installcheck/amgetconf.pl: Fix and add more tests.
12596
12597 2008-06-03  Dustin J. Mitchell <dustin@zmanda.com>
12598         * common-src/amxml.c: give parse error on an empty "disk" element
12599         * server-src/diskfile.c: give parse error on an empty "disk" element
12600
12601 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
12602         * common-src/security-util.c: Remove unneeded pointer cast.
12603         * common-src/stream.c: Fix compiler error.
12604
12605 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
12606         * installcheck/Installcheck/Config.pm: fix subsection inheritance
12607
12608 2008-05-30  Dustin J. Mitchell <dustin@zmanda.com>
12609         * common-src/amanda.h, common-src/bsd-security.c,
12610           common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
12611           common-src/dgram.c, common-src/dgram.h, common-src/krb5-security.c,
12612           common-src/security-util.c, common-src/security-util.h,
12613           common-src/sockaddr-util.c, common-src/sockaddr-util.h,
12614           common-src/stream.c, common-src/util.c, common-src/util.h,
12615           restore-src/amidxtaped.c, server-src/amindexd.c: add sockaddr_union,
12616           change all relevant functions to use it, to avoid aliasing violations
12617
12618 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
12619         * common-src/conffile.c (lookup_keyword): Use temporary variable.
12620         * installcheck/Amanda_Config.pl:  Check insentivity of -/_ in amanda
12621                                           keyword.
12622         * installcheck/Installcheck/Config.pm: Adjust to make the subsection
12623                                                inheritance work.
12624
12625 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
12626         * recover-src/extract_list.c: Send properties from dump_dle to
12627                                       application plugin.
12628
12629 2008-05-30  Jean-Louis Martineau <martineau@zmanda.com>
12630         * client-src/client_util.c: New *-RECOVER scripts.
12631         * application-src/script-email.pl: Add new *-RECOVER scripts.
12632         * application-src/generic-script.pl: Add new *-RECOVER scripts.
12633         * application-src/amstar.c: Fix.
12634         * application-src/amgtar.c: Fix.
12635         * recover-src/amrecover.c: Add a global dump_dle variable.
12636         * recover-src/extract_list.c: Call run_client_scripts for *-RECOVER
12637                                       scripts.
12638         * recover-src/amrecover.h: Add an extern dump_dle variable.
12639         * recover-src/set_commands.c: Send to amindexd the DLE command.
12640         * server-src/amindexd.c: Handle the DLE command.
12641         * server-src/server_util.c: Add *-RECOVER scripts, they can't be
12642                                     executed on server.
12643         * server-src/diskfile.c (xml_scripts): Add *-RECOVER scripts.
12644         * common-src/amfeatures.h: New fe_amrecover_dle amfeature.
12645         * common-src/amfeatures.c (am_init_feature_set): Add fe_amrecover_dle.
12646         * common-src/amxml.c: Add *-RECOVER scripts.
12647         * common-src/conffile.c: Add *-RECOVER scripts.
12648         * common-src/conffile.h: Add *-RECOVER scripts.
12649
12650 2008-05-29  Dustin J. Mitchell <dustin@zmanda.com>
12651         * common-src/conffile.c: make config insensitive to
12652           differences between '-' and '_'
12653         * man/xml-source/amanda-client.conf.5.xml
12654           man/xml-source/amanda.conf.5.xml
12655           man/xml-source/amgetconf.8.xml: document it
12656         * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update
12657           tests
12658
12659 2008-05-29  Orion Poplawski <orion@cora.nwra.com>
12660         * server-src/chunker.c: fix buffer overrun
12661
12662 2008-05-29  Jean-Louis Martineau <martineau@zmanda.com>
12663         * common-src/conffile.c (client_keytab): Remove "DEVICE-PROPERTY".
12664
12665 2008-05-28  Dustin J. Mitchell <dustin@zmanda.com>
12666         * device-src/rait-device.c: rait-device returns correct size when
12667           blocksize is too small
12668
12669 2008-05-28  Jean-Louis Martineau <martineau@zmanda.com>
12670         * server-src/reporter.c: Fix ignoring pid line.
12671
12672 2008-05-27  Jean-Louis Martineau <martineau@zmanda.com>
12673         * config/amanda/ps.m4: Define PS_ARGUMENT to CYGWIN on cygwin.
12674         * perl/Amanda/Process.pm: Works with PS_ARGUMENT eq "CYGWIN".
12675
12676 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
12677         * server-src/amstatus.pl: use lib '@amperldir@';
12678         * perl/Amanda/Process.pm: use Amanda::Constants;
12679
12680 2008-05-26  Dustin J. Mitchell <dustin@zmanda.com>
12681         * device-src/rait-device.c: temporarily remove the call to set the
12682           BLOCK_SIZE property on all RAIT children, as it fails with VFS
12683           devices
12684         * device-src/rait-device.c: rewrite g_ptr_array_union_robust to
12685           correctly detect and handle child device failures
12686         * common-src/fileheader.c: fix parse_file_header to be threadsafe
12687
12688 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
12689         * device-src/tape-aix.c, device-src/tape-xenix.c
12690           device-src/tape-posix.c: tape_is_ready take a (TapeDevice *) argument
12691         * device-src/tape-posix.c (tape_is_ready): Check for broken_gmt_online.
12692         * device-src/property.c: Add broken_gmt_online property.
12693         * device-src/property.h: Add PROPERTY_BROKEN_GMT_ONLINE.
12694         * device-src/tape-device.c: Use broken_gmt_online property.
12695         * device-src/tape-device.h (TapeDevice): Add broken_gmt_online field.
12696         * device-src/tape-ops.h (tape_is_ready): Change prototype.
12697
12698 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
12699         * changer-src/chg-zd-mtx.sh: Fix logging.
12700
12701 2008-05-25  Jean-Louis Martineau <martineau@zmanda.com>
12702         * packaging/rpm/amanda.spec: Fix output message.
12703
12704 2008-05-25  Dustin J. Mitchell <dustin@zmanda.com>
12705         * common-src/Makefile.am common-src/simpleprng.c
12706           common-src/simpleprng.h: new simple PRNG module for
12707           reproducible use in tests (bitlength bug fixed).
12708         * xfer-src/dest-null.c: verify stream against PRNG
12709         * xfer-src/source-random.c: use PRNG to create stream
12710         * installcheck/Amanda_Xfer.pl: verify streams in xfers
12711         * perl/Amanda/Xfer.swg: use PRNG
12712         * xfer-src/xfer-element.h xfer-src/xfer-test.c: use
12713           PRNG to test glue elements
12714
12715 2008-05-23  Dustin J. Mitchell <dustin@zmanda.com>
12716         * installcheck/Amanda_MainLooop.pl: handle SIGCHILD while
12717           reading from dying child
12718
12719 2008-05-22  Dustin J. Mitchell <dustin@zmanda.com>
12720         * xfer-src/xfer-test.c: don't try to write to a file in the
12721           source directory
12722
12723 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
12724         * perl/Amanda/Process.pm (load_ps_table): Fix split.
12725
12726 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
12727         * configure.in: Call AMANDA_PS_ARGUMENT
12728         * config/amanda/ps.m4 (AMANDA_PS_ARGUMENT): New macro to find ps
12729                                                     argument.
12730         * perl/Amanda/Constants.pm.in: Add PS_ARGUMENT.
12731         * perl/Amanda/Process.pm (load_ps_table): Use PS_ARGUMENT.
12732
12733 2008-05-22  Jean-Louis Martineau <martineau@zmanda.com>
12734         * perl/Amanda/Process.pm: process_alive return '' if the process is
12735                                   dead.
12736         * installcheck/Amanda_Process.pl: New module to check Amanda::Process.
12737         * installcheck/Makefile.am (server_tests): Add Amanda_Process.
12738
12739 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
12740         * server-src/amstatus.pl: Add "failed: killed while" to some status if
12741                                   the driver process is dead.
12742         * perl/Amanda/Process.pm: New process_alive function.
12743
12744 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
12745         * server-src/dumper.c server-src/planner.c, server-src/chunker.c,
12746           server-src/amflush.c, server-src/driver.c, server-src/taper.c,
12747           restore-src/amidxtaped.c, restore-src/restore.c,
12748           restore-src/amfetchdump.c: Convert all pid_t to long before printing.
12749
12750 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
12751         * man/xml-source/amcleanup.8.xml: Document new -p option.
12752         * server-src/logfile.c (program_str): Add many programs.
12753         * server-src/logfile.h (program_e): Add many programs.
12754         * server-src/dumper.c, server-src/planner.c,
12755           server-src/chunker.c, server-src/amflush.c,
12756           server-src/driver.c, server-src/taper.c,
12757           restore-src/amidxtaped.c, restore-src/restore.c,
12758           restore-src/amfetchdump.c,
12759           server-src/amdump.sh: Log pid and pid-done lines, call run_amclenup.
12760         * server-src/server_util.c (run_amcleanup): New function to run
12761                                                     amcleanup.
12762         * server-src/server_util.c (get_master_process): New function get the
12763                                  name of the first pid line in a log file.
12764         * server-src/server_util.h (run_amcleanup): Prototype.
12765         * server-src/server_util.h (get_master_process): Prototype.
12766         * server-src/reporter.c: Ignore pid and pid-done lines.
12767         * server-src/amcleanup.pl: New amcleanup program written in perl.
12768         * server-src/Makefile.am: Move amcleanup from SCRIPTS_SHELL to
12769                                   SCRIPTS_PERL.
12770         * server-src/amcleanup.sh: Old program removed.
12771         * perl/Amanda/Process.pm: New module to hanlde amanda process.
12772         * perl/Makefile.am: Add Amanda/Process.pm to Amanda_DATA and EXTRA_DIST
12773
12774 2008-05-21  Jean-Louis Martineau <martineau@zmanda.com>
12775         * server-src/driver.c: Fix quoting of diskname.
12776
12777 2008-05-20  Dustin J. Mitchell <dustin@zmanda.com>
12778         * configure.in config/amanda/socklen_t_equiv.m4: detect the type (not
12779           necessarily socklen_t used by getpeername et al.
12780         * amandad-src/amandad.c server-src/amindexd.c restore-src/amidxtaped.c
12781           common-src/util.c common-src/bsdtcp-security.c common-src/amanda.h
12782           common-src/krb5-security.c common-src/dgram.c common-src/stream.c:
12783           use the type instead of socklen_t
12784
12785 2008-05-20  Jean-Louis Martineau <martineau@zmanda.com>
12786             Dustin J. Mitchell <dustin@zmanda.com>
12787             John Franks <jrfranks@zmanda.com>
12788         * server-src/amstatus.pl: quote disknames in amstatus
12789         * server-src/Makefile.am: don't check amstatus (since it
12790           uses Amanda::* libs)
12791         * perl/Amanda/Util.swg: add (un)quote_string
12792         * installcheck/Amanda_Util.pl installcheck/Makefile.am: test it
12793
12794 2008-05-16  Jean-Louis Martineau <martineau@zmanda.com>
12795         * common-src/conffile.c: Fix conf_parserror use.
12796
12797 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
12798         * perl/Makefile.am installcheck/Makefile.am Makefile.am: only build
12799           XFA in server builds
12800
12801 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
12802         * common-src/conffile.c: Parse send-amreport-on.
12803         * common-src/conffile.h (send_amreport_t): New enum for possible value
12804                                                    of send-amreport-on.
12805         * server-src/reporter.c: Use send-amreport-on setting.
12806         * perl/Amanda/Config.swg: Define send_amreport_on_t constants.
12807         * man/xml-source/amanda.conf.5.xml: Document send-amreport-on.
12808
12809 2008-05-15  Jean-Louis Martineau <martineau@zmanda.com>
12810         * client-src/client_util.c (application_property_argv_size): New
12811           function to count the number of argument needed to store all
12812           properties of an application for + * a dle in an ARGV.
12813         * client-src/client_util.c (application_property_add_to_argv): New
12814           function to add all properties of an application for a dle to an ARGV.
12815         * client-src/client_util.h (application_property_argv_size,
12816                                   application_property_add_to_argv): Prototype.
12817         * client-src/sendbackup.c, client-src/sendsize.c,
12818           client-src/selfcheck.c: Use new functions to pass properties as
12819                                   argument to application plugin.
12820         * application-src/script-email.pl, application-src/amstar.c,
12821           application-src/generic-script.pl,
12822           application-src/amgtar.c: Get properties from command line.
12823         * server-src/server_util.c: Use new functions to pass properties as
12824                                     argument to pre/post script.
12825         * common-src/util.c (count_proplist): Callback function to count the
12826                                               number of values of a property.
12827         * common-src/util.c (proplist_add_to_argv): callback function to store a
12828                                         property and it's value in an ARGV.
12829         * common-src/util.h (count_proplist, proplist_add_to_argv): Prototype.
12830         * common-src/conffile.c (property_argv_size): New function to count the
12831                                                       number of properties.
12832         * common-src/conffile.c (property_add_to_argv): New function to store a
12833                                         property and it's value in an ARGV.
12834         * common-src/conffile.h (property_argv_size,
12835                                  property_add_to_argv): Prototype.
12836
12837 2008-05-15  Dustin J. Mitchell <dustin@zmanda.com>
12838         * xfer-src/Makefile.am: add element-glue.h to the distribution
12839         * xfer-src/element-glue.h: add 'extern'
12840         * xfer-src/xfer-test.c: fix test elements
12841         * xfer-src/xfer.c: don't use the sometimes-undefined constant
12842           G_MAXINT32
12843         * xfer-src/source-random.c: Only use 'prolong' for threads, not
12844           push/pull methods
12845         * installcheck/Amanda_Xfer.pl: Check the content of $msg->{message} in
12846           XMSG_INFO
12847
12848 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
12849         * xfer-src/xfer-element.h xfer-src/xfer.c xfer-src/dest-null.c
12850           xfer-src/source-random.c xfer-src/xfer-test.c
12851           xfer-src/element-glue.c xfer-src/xmsg.h xfer-src/dest-fd.c
12852           xfer-src/source-fd.c xfer-src/element-glue.h
12853           xfer-src/Makefile.am xfer-src/filter-xor.c
12854           xfer-src/xfer-element.c perl/Amanda/Xfer.swg: new organization
12855           of transfer mechansims and new algorithm for linking xfers, with
12856           expanded unit tests to exercise new glue elements
12857         * installcheck/Amanda_Xfer.pl: updated installchecks
12858         * common-src/semaphore.h: fix comment typo
12859         * common-src/testutils.c common-src/testutils.h: optionally skip
12860           timeouts (-t), and only show g_debug messages if -d is given
12861
12862 2008-05-14  Dustin J. Mitchell <dustin@zmanda.com>
12863         * client-src/amhpfixdevs.sh client-src/Makefile.am
12864           client-src/amsinixfixdevs.sh config/amanda/devprefix.m4:
12865           permanently remove amsinixfixdevs and amhpfixdevs
12866
12867 2008-05-12  Jean-Louis Martineau <martineau@zmanda.com>
12868           Patch by Orion Poplawski
12869         * server-src/planner.c: Warn about overwrite of last level 1, and
12870           force backup of level 1 if overwrite on this run.
12871
12872 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
12873         * common-src/conffile.c: Define default tapetype.
12874
12875 2008-05-08  Jean-Louis Martineau <martineau@zmanda.com>
12876         * device-src/tape-device.c (tape_validate_properties): New function to
12877           validate properties.
12878
12879 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
12880         * man/xml-source/amdevcheck.8.xml: Add an OUTPUT section.
12881
12882 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
12883         * common-src/conffile.c: Check the tapetype is defined.
12884
12885 2008-05-07  Jean-Louis Martineau <martineau@zmanda.com>
12886         * device-src/tape-device.c: Allow user to set "read_buffer_size"
12887                                     property.
12888         * restore-src/amrestore.c: Don't limit blocksize to
12889                                    --with-maxtapeblocksize.
12890         * common-src/conffile.c: Increase readblocksize to blocksize.
12891           blocksize and readblocksize can be bigger than
12892           --with-maxtapeblocksize.
12893
12894 2008-05-06  Jean-Louis Martineau <martineau@zmanda.com>
12895         * common-src/conffile.c: Add a 'mailer' config parameter.
12896         * common-src/conffile.h: Add CNF_MAILER.
12897         * changer-src/chg-scsi-chio.c, changer-src/chg-scsi.c
12898           changer-src/chg-manual.sh, application-src/script-email.pl
12899           server-src/amcheck.c server-src/amgetconf.pl
12900           server-src/reporter.c: Use mailer from config.
12901         * perl/Amanda/Config.swg: amglue_add_constant(CNF_MAILER, confparm_key)
12902         * config/amanda/progs.m4: Set DEFAULT_MAILER.
12903         * common-src/amanda-sh-lib.sh.in: Don't set MAILER.
12904         * man/xml-source/amanda-client.conf.5.xml,
12905           man/xml-source/amanda.conf.5.xml,
12906           man/xml-source/amgetconf.8.xml: Update man pages.
12907
12908 2008-05-02 Dan Locks <dwlocks@zmanda.com>
12909         * packaging/rpm/amanda.spec:  Replace ${ with %{ where applicable.
12910
12911 2008-05-02 Dan Locks <dwlocks@zmanda.com>
12912         *  packaging/deb/amanda-enterprise-backup-server.postinst
12913            packaging/rpm/amanda_enterprise.spec:  Change .am_passphrase to a
12914            semi-random number in both packages.
12915
12916 2008-04-29  Dustin J. Mitchell <dustin@zmanda.com>
12917         * config/amanda/dirs.m4: note that --with-dumperdir is
12918           deprecated in ./configure --help
12919
12920
12921 2008-04-28  Jean-Louis Martineau <martineau@zmanda.com>
12922         * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS.
12923
12924 2008-04-28  Dustin J. Mitchell <dustin@zmanda.com>
12925         * xfer-src/Makefile.am xfer-src/xfer-element.h xfer-src/dest-fd.c
12926           xfer-src/source-fd.c perl/Amanda/Xfer.swg: add new
12927           Amanda::Xfer::Source::Fd, Amanda::Xfer::Dest::Fd
12928         * xfer-src/source-random.c xfer-src/xfer.c xfer-src/dest-null.c
12929           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
12930           reorganize detection of transfer completion, to handle cases where
12931           elements don't do any active processing
12932         * installcheck/Amanda_Xfer.pl: test it all
12933
12934 2008-04-24  Jean-Louis Martineau <martineau@zmanda.com>
12935         * server-src/reporter.c: Correctly print truncated quoted diskname.
12936
12937 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
12938         * installcheck/Amanda_MainLoop.pl common-src/event-test.c
12939           common-src/queueing-test.c: try to make tests more resilient
12940           to heavily-loaded, slow machines
12941
12942 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
12943         * common-src/security-util.c: Typo.
12944
12945 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
12946         * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
12947         * common-src/event.c: Check event is not dead before fire it.
12948
12949 2008-04-23  Jean-Louis Martineau <martineau@zmanda.com>
12950         * server-src/planner.c: Fix vstrextend use.
12951
12952 2008-04-23  Dustin J. Mitchell <dustin@zmanda.com>
12953         * common-src/event.c: use internal child_watch_source
12954           for glib <2.6.0; versions 2.4.0 to 2.6.0 use unreliable
12955           signals and are thus unreliable
12956
12957 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
12958         * perl/Amanda/Logfile.swg server-src/find.c server-src/find.h: add
12959           parsing of 'sec' and 'kb' from logfile messages
12960         * perl/Amanda/DB/Catalog.pm perl/Makefile.am: new module
12961         * installcheck/Amanda_DB_Catalog.pl installcheck/Makefile.am: checks
12962           for new module
12963
12964 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
12965         * common-src/event.c: on glib <2.4.0, use a simple polling
12966           child_watch_source; on more recent glib, use glib's own
12967           child_watch_source
12968
12969 2008-04-22  Dustin J. Mitchell <dustin@zmanda.com>
12970         * xfer-src/source-random.c xfer-src/xmsg.c xfer-src/xfer-element.h
12971           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xmsg.h
12972           xfer-src/xfer.c xfer-src/xfer-dest.h xfer-src/dest-null.c
12973           xfer-src/xfer.h xfer-src/filter-xor.c xfer-src/xfer-element.c:
12974           - flatten XferElement hierarchy to one level
12975           - change test element argument order
12976           - rename XMsg.src to Xmsg.elt
12977           - Improve memory management (refcounting, perl interface)
12978         * perl/Amanda/Changer.pm perl/Amanda/Xfer.swg
12979           perl/Amanda/MainLoop.swg perl/Makefile.am
12980           perl/amglue/amglue.h perl/amglue/source.c:
12981           - rewrite handling of amglue_Source for better refcounting
12982           - Amanda::MainLoop callbacks get the event source as 1st argument,
12983             and will be called even if the event source goes out of scope in
12984             perl
12985           - MainLoop.swg significantly rewritten to get refcounting right
12986         * installcheck/Amanda_Xfer.pl: new checks (without excessive use of
12987           file descriptors)
12988         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: updated
12989            checks
12990
12991 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
12992         * device-src/tape-posix.c: Don't return DEVICE_STATUS_VOLUME_MISSING
12993                                    on ioctl error.
12994         * changer-src/chg-lib.sh.in (amdevcheck_status): return 1 only if the
12995                          possible errors are VOLUME_MISSING or DEVICE_BUSY.
12996
12997 2008-04-22  Kevin Zembower <kzembowe@jhuccp.org>
12998         * man/xml-source/amflush.8.xml: add amflush example
12999
13000 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
13001         * device-src/tape-device.c: Move all device access from
13002           tape_device_open_device to tape_device_read_label.
13003           tape_device_start read the label if it is not already read.
13004         * device-src/vfs-device.c (vfs_device_open_device): remove read of the
13005                                                             label.
13006
13007 2008-04-22  Jean-Louis Martineau <martineau@zmanda.com>
13008         * device-src/tape-device.c (check_resetofs): Compilation fix if
13009                                                      NEED_RESETOFS is defined.
13010         * device-src/tape-posix.c: Handle no ENOMEDIUM.
13011
13012 2008-04-21  Dan Locks <dwlocks@zmanda.com>
13013         * packaging/deb/buildpkg: modified build script to create unsigned
13014           packages
13015
13016 2008-04-21  Jean-Louis Martineau <martineau@zmanda.com>
13017         * changer-src/chg-lib.sh.in (amdevcheck_status):
13018           Set amdevcheck_message.
13019         * changer-src/chg-chs.sh, changer-src/chg-juke.sh,
13020           changer-src/chg-manual.sh, changer-src/chg-zd-mtx.sh,
13021           changer-src/chg-multi.sh: Output amdevcheck_message
13022         * device-src/device.c: Set errmsg and status.
13023           device_open always return a device, the status and errmsg are set.
13024         * device-src/device.h: Define DeviceStatusFlags.
13025         * device-src/null-device.c, device-src/s3-device.c,
13026           device-src/tape-device.c, device-src/vfs-device.c,
13027           device-src/rait-device.c: Set errmsg and status.
13028         * device-src/tape-posix.c: Return status for VOLUME_MISSING.
13029         * device-src/tape-ops.h: Remove TapeCheckResult.
13030         * server-src/taper-source.h (_TaperSource): Add errmsg.
13031         * server-src/taper-source.c: Set errmsg
13032         * server-src/amcheck.c, server-src/amtape.c, server-src/amlabel.c,
13033           server-src/taperscan.c, restore-src/amrestore.c,
13034           restore-src/restore.c: Use status and errmsg of a device.
13035         * server-src/taper-disk-port-source.c: Set errmsg.
13036         * server-src/reporter.c: Fix parsing of taper PARTIAL line.
13037         * server-src/taper.c: Use errmsg for device and _TaperSource.
13038         * server-src/taper-file-source.c: Set errmsg.
13039         * server-src/amcheckdump.pl,
13040           server-src/amdevcheck.pl: Use status and errmsg from device.
13041         * perl/Amanda/Changer.pm: Fix for DEVICE_STATUS_*.
13042         * perl/Amanda/Device.swg: New interface.
13043         * installcheck/Makefile.am: Don't print some commands.
13044         * installcheck/Amanda_Device.pl: Check new device api.
13045         * common-src/queueing.c: Use new queue_fd_t.
13046         * common-src/queueing.h (queue_fd_t): new struct.
13047         * common-src/amanda-sh-lib.sh.in: Fix bug.
13048         * common-src/queueing-test.c: Use queue_fd_t.
13049
13050 2008-04-21  Dustin J. Mitchell <dustin@zmanda.com>
13051         * installcheck/amgetconf.pl: properly quote filenames in
13052           regex, to avoid spurious failures when e.g., '+' appears
13053           in the filename
13054
13055 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
13056         * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use
13057           Amanda::MainLoop, allowing asynchronous operation of
13058           changers
13059         * server-src/amcheckdump.pl: use new Amanda::Changer
13060           interface (synchronously, until we have Amanda::Xfer)
13061         * installcheck/Amanda_Changer.pl: test new interface
13062
13063 2008-04-18  Dustin J. Mitchell <dustin@zmanda.com>
13064         * installcheck/Makefile.am: build $(full_tests) too
13065
13066 2008-04-18  Cyrille Bollu <Cyrille.Bollu@fedasil.be>
13067         * client-src/sendsize.c: use --numeric-owner during 'sendsize'
13068
13069 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
13070         * installcheck/Makefile.am: segregate installchecks that require
13071           both client and server components
13072
13073 2008-04-17  Dustin J. Mitchell <dustin@zmanda.com>
13074         * common-src/debug.c: add Amanda version to debug logs
13075
13076 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
13077         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
13078           process type and context process attributes
13079         * perl/Amanda/Debug.swg common-src/debug.c common-src/debug.h: add
13080           debug_init to set up debugging according to the process context, and
13081           log nothing in CONTEXT_SCRIPTUTIL
13082         * server-src/amgetconf.pl server-src/amdevcheck.pl:
13083           CONTEXT_SCRIPTUTIL
13084         * server-src/amcheckdump.pl: use new $CONSTANT_CMDLINE variable
13085         * installcheck/Amanda_Debug.pl: add comment
13086
13087 2008-04-16  Dan Locks <dwlocks@zmanda.com>
13088         * Fixes to debian package reported by daniel_P
13089         * packaging/deb/preinst: remove spaces near ${amanda_group}
13090         * packaging/deb/amanda-backup-server.dirs
13091           packaging/deb/amanda-backup-client.dirs: added var/amanda and
13092           usr/share/lintian/overrides
13093         * packaging/deb/rules: added logic to find PERLSITELIB and append that
13094           to amanda-backup-server.install, removed broken brace expansion
13095         * packaging/deb/buildpkg: removed extraneous configure step
13096         * packaging/deb/amanda-backup-server.postinst: added check for correct
13097           permissions on /tmp/amanda
13098
13099 2008-04-16  Dan Locks <dwlocks@zmanda.com>
13100         * packaging/deb/rules packaging/rpm/amanda.spec: remove --with-gnutar=
13101           from configure invocation.  no longer necessary.
13102
13103 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
13104         * device-src/s3.c config/amanda/s3-device.m4: test curl features
13105           at runtime, instead of compile time, and always use SSL if it
13106           is available.
13107
13108 2008-04-16  Jean-Louis Martineau <martineau@zmanda.com>
13109         * server-src/amadmin.c: Improve message.
13110         * man/xml-source/amanda.conf.5.xml: Fix man page.
13111         * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL.
13112
13113 2008-04-16  Dustin J. Mitchell <dustin@zmanda.com>
13114         * config/amanda/dumpers.m4: continue searching for gnutar if we
13115           find a binary claiming to be gnu tar that is not.  This gets
13116           around serious breakage on Ubuntu, where star is installed as
13117           /bin/gnutar, but /bin/tar is actually GNU Tar.
13118
13119 2008-04-15  Dustin J. Mitchell <dustin@zmanda.com>
13120         * common-src/file.c(mk1dir): fix reversed conditional to handle
13121           a race condition
13122
13123 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13124         * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
13125           msg_timestamp() to stderr.
13126
13127 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13128         * server-src/dumper.c: Call error() only after set_logerror is done.
13129         * server-src/planner.c: Call error() only after set_logerror is done.
13130         * server-src/chunker.c: Report a better error message.
13131         * common-src/stream.c: Set errno to ETIMEDOUT after a timeout.
13132
13133 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13134         * server-src/find.c (dumps_match_dumpspecs): New function to only keep
13135           dumps that match a dumpspecs, using it simplify amfetchdump.
13136         * server-src/find.h (dumps_match_dumpspecs): Prototype.
13137         * restore-src/amrestore.c: Add a first_restored_file to
13138           search_a_tape(), to allow restore ot stop after the first image.
13139         * restore-src/restore.c: Set first_restored_file, it was never set,
13140           it's needed to stop after the first image.
13141         * restore-src/restore.c (restore_from_tapelist): break if piping to
13142           stdout.
13143         * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
13144         * restore-src/amfetchdump.c: If -p, the keep only one dump.
13145         * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
13146         * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
13147         * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
13148         * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
13149         * installcheck/Amanda_Logfile.pl: Add many tests.
13150
13151 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13152         * tape-src/tapetype.c: Initialize an default config.
13153
13154 2008-04-15  Jean-Louis Martineau <martineau@zmanda.com>
13155         * common-src/util.c (connect_portrange, connect_port, bind_portrange):
13156           Return the latest errno reported.
13157
13158 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13159         * common-src/conffile.c common-src/conffile.h
13160           perl/Amanda/Config.swg installcheck/Amanda_Config.pl:
13161           new interface for config errors, re-introduce rawtapedev for
13162           deprectation purposes
13163         * installcheck/Installcheck/Config.pm: support test
13164           amanda-client.conf files
13165         * installcheck/Installcheck/Run.pm: add get_stdout, get_stderr
13166         * client-src/client_util.c client-src/client_util.h: add
13167           config_errors_to_error_string
13168         * server-src/dumper.c server-src/planner.c: handle ERRORs and NAKs
13169           better, so users see client-side config errors
13170         * oldrecover-src/amrecover.c changer-src/chg-scsi-chio.c
13171           changer-src/chg-scsi.c client-src/sendbackup.c client-src/sendsize.c
13172           client-src/selfcheck.c amandad-src/amandad.c application-src/amstar.c
13173           application-src/amgtar.c recover-src/amrecover.c
13174           server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
13175           server-src/amgetconf.pl server-src/chunker.c server-src/amadmin.c
13176           server-src/amtape.c server-src/amcheckdump.pl
13177           server-src/amcleanupdisk.c server-src/amflush.c server-src/amtrmlog.c
13178           server-src/driver.c server-src/reporter.c server-src/taper.c
13179           server-src/amdevcheck.pl server-src/amtrmidx.c server-src/diskfile.c
13180           server-src/amlabel.c installcheck/Amanda_Changer.pl
13181           installcheck/Amanda_Device.pl installcheck/Amanda_Logfile.pl
13182           installcheck/Amanda_Tapelist.pl restore-src/amidxtaped.c
13183           restore-src/amrestore.c restore-src/amfetchdump.c: adapt to new config
13184           error interface
13185
13186 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13187         * server-src/diskfile.c: improve messages when client does not
13188           support required features
13189
13190 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13191         * installcheck/Amanda_Config.pl common-src/conffile.c
13192           common-src/conffile.h: fix deprecation of keywords to
13193           actually issue a warning.  'netusage' is no longer
13194           deprecated.
13195
13196 2008-04-08  Dustin J. Mitchell <dustin@zmanda.com>
13197         * common-src/event.c: use SA_RESTART for child_watch_source
13198
13199 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13200         * perl/Amanda/MainLoop.swg perl/amglue/source.c
13201           installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the
13202           GSources defined in event.c, using an extensible model
13203         * common-src/event.c: check whether child_watch_source's signal
13204           handler has been replaced, and issue a warning if it has.
13205
13206 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13207         * common-src/queueing.c: fix condition (thanks to Jean-Louis
13208           Martineau)
13209
13210 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13211         * common-src/Makefile.am common-src/queueing-test.c: new tests
13212         * device-src/tests/queue_test.c device-src/tests/Makefile.am: remove
13213         * common-src/queueing.c: fix two bugs:
13214           - spurious in-place memmove on every buffer copy
13215           - silent discard of a final packet if the consumer does not
13216             completely consume it
13217         * common-src/queueing.h: update comments
13218         * common-src/testutils.h: add header-protection macros
13219
13220 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13221         * installcheck/Makefile.am installcheck/Amanda_Device.pl: Add tests
13222           for Amanda::Device
13223
13224 2008-04-07  Dustin J. Mitchell <dustin@zmanda.com>
13225         * man/xml-source/amanda.conf.5.xml: fix typos
13226
13227 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
13228         * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
13229
13230 2008-04-04  Jean-Louis Martineau <martineau@zmanda.com>
13231         * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
13232
13233 2008-04-01  Dustin J. Mitchell <dustin@zmanda.com>
13234         Suggested by Sunil Sawant <sunil@zmanda.com>
13235         * man/xml-source/amrecover.8.xml: suggest including a config in the
13236           amrecover command line
13237
13238 2008-04-01  John Franks <jfranks@zmanda.com>
13239         * gnulib/regenerate/regenerate gnulib/regenerate/no-restrict.patch:
13240           Patches to reapply after gnulib updates.
13241         * gnulib/inet_ntop.c gnulib/inet_ntop.h gnulib/string.in.h
13242           gnulib/gettimeofday.c gnulib/sys_time.in.h gnulib/base64.c
13243           gnulib/getaddrinfo.c gnulib/Makefile.am gnulib/base64.h
13244           gnulib/getaddrinfo.h:
13245           Remove restricted keywords from source files.
13246
13247 2008-04-01  Satya Ganga <gsat@zmanda.com>
13248         * example/template.d/amanda-S3.conf.in: S3 device should have
13249           "infinite" tape length
13250
13251 2008-03-31  John Franks <jfranks@zmanda.com>
13252         * common-src/stream.c
13253           Fix warning about ininitialized variables.
13254
13255 2008-03-31  John Franks <jfranks@zmanda.com>
13256         * oldrecover-src/Makefile.am xfer-src/Makefile.am
13257           recover-src/Makefile.am server-src/Makefile.am
13258           restore-src/Makefile.am:
13259           Fix build problems with multiply defined symbols.
13260
13261 2008-03-31  Dan Locks <dwlocks@zmanda.com>
13262         * packaging/deb/buildpkg
13263           packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
13264
13265 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>, Jean-Louis Martineau <martineau@zmanda.com>
13266         * client-src/sendbackup-gnutar.c client-src/sendsize.c
13267           client-src/selfcheck.c: update amandates whenever possible, but only
13268           complain when it is really needed: when using calcsize, or when
13269           using GNUTAR and --without-gnutar-listdir.
13270         * client-src/amandates.c: Set errno before return of start_amandates
13271         * perl/Amanda/Paths.pm.in: always terminate a perl mod with '1;'
13272
13273 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
13274         * server-src/amgetconf.pl: Parse config after setup_applccation call.
13275
13276 2008-03-31  Jean-Louis Martineau <martineau@zmanda.com>
13277         * server-src/amcheck.c: Check errno after full_read.
13278
13279 2008-03-31  Dan Locks <dwlocks@zmanda.com>
13280         * packaging/Makefile.am: add deb subdirectory.
13281
13282 2008-03-31  Dustin J. Mitchell <dustin@zmanda.com>
13283         * common-src/rsh-security.c common-src/ssh-security.c: improve error
13284           messages for resolve_hostname calls
13285
13286 2008-03-27  Dustin J. Mitchell <dustin@zmanda.com>
13287         * common-src/util.c common-src/util.h: remove fullread(), fullwrite()
13288         * gnulib/regenerate/regenerate gnulib/Makefile.am
13289           config/gnulib/gnulib-cache.m4: add full-read, full-write modules
13290         * oldrecover-src/extract_list.c client-src/noop.c
13291           client-src/sendbackup-gnutar.c client-src/sendbackup.c
13292           client-src/sendsize.c client-src/selfcheck.c amandad-src/amandad.c
13293           application-src/amgtar.c recover-src/extract_list.c
13294           server-src/changer.c server-src/logfile.c server-src/amindexd.c
13295           server-src/amcheck.c server-src/dumper.c server-src/chunker.c
13296           server-src/taper-port-source.c server-src/driverio.c
13297           server-src/holding.c server-src/driver.c
13298           server-src/taper-file-source.c restore-src/restore.c
13299           common-src/security-util.c common-src/amanda.h
13300           tape-src/output-file.c: use gnulib full_read, full_write functions,
13301           which have slightly different error semantics than the corresponding
13302           Amanda functions.
13303
13304 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
13305         * application-src/amgtar.c: Add 'CHECK-DEVICE' property.
13306
13307 2008-03-27  Jean-Louis Martineau <martineau@zmanda.com>
13308         * device-src/activate-devpay.c (parse_commandline): Always return.
13309
13310 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13311         * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
13312         * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
13313         * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
13314         * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
13315         * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
13316         * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
13317         * amandad-src/Makefile.am,
13318         * client-src/Makefile.am, device-src/Makefile.am,
13319           server-src/Makefile.am, server-src/server_util.c,
13320           tape-src/Makefile.am: Add library to many *_LIBADD.
13321         * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
13322           WANT_CYGWIN_COPY_PERL_DLL.
13323
13324 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13325         * common-src/conffile.c: Fix typo and remove unused prefix.
13326
13327 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13328         * server-src/reporter.c: Check difference between origsize and outsize
13329           to find if the image is compressed.
13330
13331 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13332         Greg Troxel reported the bug and possible solution.
13333         * common-src/stream.c (stream_server): New family argument, it is used
13334                                                to create the socket.
13335         * common-src/stream.h (stream_server): New prototype.
13336         * server-src/chunker.c, server-src/taper.c: Call stream_server with
13337           family of 'localhost', it's the name dumper use to contact them.
13338         * restore-src/amidxtaped.c: Call stream_server with AF_INET.
13339         * common-src/bsd-security.c, common-src/security-util.c: Call
13340           stream_server with family of incoming packet.
13341
13342 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13343         Davor Ocelic reported the problem.
13344         * application-src/Makefile.am: Use applicationexec_PROGRAMS and
13345           applicationexec_SCRIPTS to install executable.
13346
13347 2008-03-25  Jean-Louis Martineau <martineau@zmanda.com>
13348         * common-src/security-util.c (show_stat_info): Use getpwuid_r
13349                                                        and getgrgid_r.
13350 2008-03-25  Dustin J. Mitchell <dustin@zmanda.com>
13351         * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
13352           peculiar linking of threading libraries.
13353
13354 2008-03-20  Dan Locks <dwlocks@zmanda.com>
13355         * packaging/deb/control: removed grep dependency
13356         * packaging/deb/amanda-backup-client.postinst
13357           packaging/deb/amanda-backup-server.postinst
13358           packaging/deb/amanda-backup-server.postrm
13359           packaging/deb/amanda-backup-client.postrm:  removed call to
13360           ldconfig to satisfy lintian
13361         * packaging/deb/amanda-backup-server.lintian
13362           packaging/deb/amanda-backup-client.lintian: sorted and added new
13363           overrides
13364         * packaging/deb/amanda-backup-client.dirs: removed var/amanda
13365
13366 2008-03-18  Dustin J. Mitchell <dustin@zmanda.com>
13367         * device-src/activate-devpay.c: fix type warning
13368
13369 2008-03-17  Jean-Louis Martineau <martineau@zmanda.com>
13370         * server-src/diskfile.c: Correctly check if two hosts map to the same
13371                                  name.
13372
13373 2008-03-15  Dustin J. Mitchell <dustin@zmanda.com>
13374         * perl/Makefile.am perl/amglue/mainloop.c perl/amglue/amglue.h
13375           perl/amglue/source.c: rename mainloop.c to source.c to avoid
13376           conflicts with MainLoop.c on case-insensitive filesystems
13377
13378 2008-03-14  Dan Locks <dwlocks@zmanda.com>
13379         * Initial debian release: This package is based on Bdale Garbee's
13380           work as the official debian maintainer for amanda.
13381
13382 2008-03-14  Jean-Louis Martineau <martineau@zmanda.com>
13383         * man/xml-source/amanda.conf.5.xml: Document global and by dumptype
13384                                             property.
13385         * server-src/server_util.c: Rename _proplist to _property.
13386         * server-src/diskfile.c: Rename _proplist to _property.
13387         * server-src/amadmin.c (disklist_one): Print property.
13388         * perl/Amanda/Config.swg: Add new constants to Amanda::Config
13389         * installcheck/Amanda_Config.pl: Test global property.
13390         * common-src/conffile.c: Add global and by dumptype property.
13391         * common-src/conffile.h: Add global and by dumptype property.
13392
13393 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
13394         * perl/Amanda/MainLoop.swg perl/Makefile.am: new perl module
13395         * perl/amglue/amglue.h perl/amglue/mainloop.c: support for new module
13396         * installcheck/Amanda_MainLoop.pl installcheck/Makefile.am: tests for
13397           new module
13398         * common-src/event.h: fix typo in comment
13399
13400 2008-03-14  Dustin J. Mitchell <dustin@zmanda.com>
13401         * xfer-src/dest-null.c: fix Solaris 8 compilation problem: isprint()
13402           expects an int, not a char.
13403
13404 2008-03-13  Dan Locks <dwlocks@zmanda.com>
13405         * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
13406           it works with rpm versions earlier than 4.4
13407
13408 2008-03-13  Dustin J. Mitchell <dustin@zmanda.com>
13409         * device-src/device-queueing.c device-src/device-queueing.h
13410           server-src/taper-source.c server-src/taper-source.h
13411           server-src/taper-source-test.c server-src/taper.c
13412           common-src/queueing.c common-src/queueing.h: change ints in
13413           consumer/producer to (s)size_t
13414         * device-src/device.c device-src/device-queueing.c
13415           device-src/tests/semaphore-test.c device-src/tests/Makefile.am
13416           device-src/queueing.c device-src/semaphore.c
13417           device-src/device-queueing.h device-src/queueing.h
13418           device-src/Makefile.am device-src/semaphore.h
13419           device-src/property.h server-src/taper.c common-src/queueing.c
13420           common-src/queueing.h common-src/semaphore-test.c
13421           common-src/semaphore.c common-src/semaphore.h
13422           common-src/Makefile.am: move queueing and semaphore into
13423           common-src, along with their tests
13424         * configure.in xfer-src/source-random.c xfer-src/xfer-element.h
13425           xfer-src/xfer-dest.c xfer-src/xfer-test.c xfer-src/xfer.c
13426           xfer-src/xfer-dest.h xfer-src/amxfer.h xfer-src/dest-null.c
13427           xfer-src/Makefile.am xfer-src/xfer.h xfer-src/xfer-element.c
13428           xfer-src/filter-xor.c Makefile.am: introduce transfer architecture
13429         * xfer-src/xmsg.c xfer-src/xfer-element.h xfer-src/xfer-test.c
13430           xfer-src/xmsg.h xfer-src/xfer.c xfer-src/amxfer.h
13431           xfer-src/Makefile.am xfer-src/xfer.h: support for sending
13432           and receiving XMsgs.
13433         * common-src/event.c common-src/event.h: add default_event_loop().
13434         * device-src/device.c server-src/taper-source-test.c common-src/util.c
13435           common-src/util.h common-src/glib-util.c common-src/glib-util.h:
13436           create new glib_init() to do g_type_init(), initialize threads, etc.
13437
13438 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
13439         * client-src/sendsize.c: Don't use sscanf for est->qamname because it
13440                                  can have a '%'.
13441         * server-src/diskfile.c: Clean the diskname before using it as a regex.
13442         * common-src/protocol.c: Fix bug if packet have a '%' character.
13443
13444 2008-03-13  Jean-Louis Martineau <martineau@zmanda.com>
13445         * installcheck/Installcheck/Run.pm: Increase size of TAPE.
13446
13447 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
13448         * common-src/event.c: Use %jd to print a pid_t, since it may be
13449           larger on some platforms.
13450
13451 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13452         * common-src/conffile.c: Fix solaris 8 cc warning.
13453
13454 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13455         * client-src/sendbackup.c: Set stroptions to "".
13456
13457 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
13458         * common-src/event.c common-src/event.h common-src/event-test.c:
13459           add two new GSources: child_watch_source (sends events when a child
13460           dies) and fdsource (sends events when file descriptors match
13461           conditions).  Thanks to Jean-Louis Martineau for finding and fixing
13462           a race condition.
13463
13464 2008-03-12  Dustin J. Mitchell <dustin@zmanda.com>
13465         * gnulib/regenerate/regenerate gnulib/Makefile.am DEVELOPING: update
13466           documentation to reflect use of gnulib's git repository
13467
13468 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13469         * installcheck/Makefile.am: Remove CONFIG_CLOBBER_MY_CONFIG,
13470                                     it is done automaticaly.
13471         * config/amanda/defaults.m4: AC_SUBST(CONFIG_CLOBBER_MY_CONFIG) to not
13472                                      conflict with make CLOBBER_MY_CONFIG.
13473
13474 2008-03-12  Jean-Louis Martineau <martineau@zmanda.com>
13475         * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile
13476                                     variable.
13477
13478 2008-03-12  Dan Locks <dwlocks@zmanda.com>
13479         * packaging/rpm/buildpkg: made the script quieter
13480
13481 2008-03-12  Dan Locks <dwlocks@zmanda.com>
13482         * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
13483           added --quiet to the configure invocation
13484
13485 2008-03-10  Jean-Louis Martineau <martineau@zmanda.com>
13486         * gnulib: Update to latest version, add getopt module.
13487
13488 2008-03-07  Jean-Louis Martineau <martineau@zmanda.com>
13489         * oldrecover-src/Makefile.am, example/Makefile.am,
13490           amandad-src/Makefile.am, recover-src/Makefile.am,
13491           restore-src/Makefile.am, Makefile.am: Include config/automake/vars.am.
13492         * installcheck/Amanda_Config.pl: Check config_filename.
13493         * installcheck/Installcheck/Config.pm: Use local amandates and
13494                                                gnutar_listdir.
13495         * installcheck/Makefile.am: Take a copy of amanda-client.conf
13496         * config/amanda/defaults.m4: AC_SUBST(CLOBBER_MY_CONFIG)
13497         * config/automake/scripts.am: DISTCLEANFILES += $(SCRIPTS_INCLUDE)
13498         * config/automake/installperms.am: installperms.sh in top_builddir,
13499                                            DISTCLEANFILES += $(installperms_sh)
13500         * Makefile.am: add '--without-amperldir CLOBBER_MY_CONFIG=OK' to
13501                        DISTCHECK_CONFIGURE_FLAGS.
13502         * common-src/Makefile.am: distclean-local: remove svn-info.h.
13503
13504 2008-03-07  Dan Locks <dwlocks@zmanda.com>
13505         * packaging/rpm/buildpkg:  Simplified usage of packaging script by
13506           creating a tarball from existing source.
13507
13508 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13509         * installcheck/Installcheck/Run.pm: merge from application-api.
13510         * installcheck/Installcheck/Config.pm: merge from application-api.
13511
13512 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13513         * merge application-api
13514
13515 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13516         * common-src/Makefile.am: dest=$(amlibexecdir).
13517
13518 2008-03-06  Jean-Louis Martineau <martineau@zmanda.com>
13519         * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
13520                                    Add chg-lib.sh.in to EXTRA_DIST.
13521         * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
13522                                   Add generic-dumper.pl to EXTRA_DIST.
13523         * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
13524                                   Add amanda-sh-lib.sh.in to EXTRA_DIST.
13525
13526 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13527         * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
13528         * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
13529
13530 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13531         * config/amanda/swig.m4: Check for *freebsd[123456]*
13532
13533 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13534         * changer-src/chg-scsi-chio.c: Compile fix.
13535         * changer-src/scsi-chio.c: Compile fix.
13536         * config/amanda/changer.m4: Check for linux/chio.h
13537
13538 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13539         * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
13540
13541 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
13542         * config/amanda/swig.m4: With many thanks to John E. Hein
13543           <jhein@timing.com>, fix the comment and make the change committed
13544           yesterday apply to all FreeBSD < 7.0.
13545
13546 2008-03-05  Dustin J. Mitchell <dustin@zmanda.com>
13547         * config/amanda/summary.m4: quote all warning messages that will be
13548           included in heredocs, to avoid spurious interpretation of backquotes
13549
13550 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13551         * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
13552
13553 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13554         * restore-src/amidxtaped: Use default config if amrecover doesn't send
13555                         a config name.  (amoldrecover doesn't send a config).
13556         * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum,
13557           so desired_tape->numfiles == 0.
13558           If amidxtaped is launched directly from xinetd, then
13559           flags->pipe_to_fd == STDOUT_FILENO, but this test should only
13560           succeed for amrestore of amfetchdump.
13561
13562 2008-03-05  Jean-Louis Martineau <martineau@zmanda.com>
13563         * device-src/tape-device.c: Set d_self->is_eof to FALSE.
13564
13565 2008-03-04  Dustin J. Mitchell <dustin@zmanda.com>
13566         * perl/Makefile.am config/amanda/swig.m4: add a special case for
13567           FreeBSD-6.2: include -lpthread in the linking of each perl
13568           extension, because libgthread does not pull in libpthread as
13569           it does on other platforms.
13570
13571 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
13572         * common-src/security-util.c: getnameinfo return != 0 on error.
13573
13574 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
13575         * config/amanda/dumpers.m4: Typo.
13576
13577 2008-03-03  Jean-Louis Martineau <martineau@zmanda.com>
13578         * device-src/tests/vfs_test.c, common-src/event-test.c: Fix ignoring
13579           return value of 'pipe', declared with attribute warn_unused_result.
13580
13581 2008-02-29  Dustin J. Mitchell <dustin@zmanda.com>
13582         * common-src/amanda.h: add <stdint.h>
13583
13584 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
13585         * config/automake/installperms.am: --without-installperms now
13586           generates a shell-parsable list of desired permissions
13587         * Makefile.am: erase installperms.sh before beginning a 'make
13588           install'
13589         * oldrecover-src/Makefile.am client-src/Makefile.am
13590           recover-src/Makefile.am server-src/Makefile.am: give mode
13591           bits in octal
13592
13593 2008-02-28  Dustin J. Mitchell <dustin@zmanda.com>
13594         Thanks to John E. Hein <jhein@timing.com> for identifying this problem
13595         * perl/Amanda/Tests.swg: expose sizeof(size_t) to perl
13596         * installcheck/Amanda_Config.pl: use a properly-sized constant to
13597           check parsing of large configuration values
13598
13599
13600 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
13601         * server-src/amindexd.c: Compute maxpart, call clean_dump.
13602         * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
13603         * server-src/disk_history.h (add_dump): New prototype,
13604                                                 add maxpart argument.
13605         * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
13606                                         previous part is not already added.
13607         * server-src/disk_history.c (clean_dump): New function to remove
13608                                         DUMP_ITEM if all part are not added.
13609         * common-src/tapelist.h (tapelist_t): Add partnum field.
13610         * common-src/tapelist.h (append_to_tapelist): New prototype,
13611                                                       add partnum argument.
13612         * common-src/tapelist.c (append_to_tapelist): New partnum argument.
13613         * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
13614
13615 2008-02-28  Jean-Louis Martineau <martineau@zmanda.com>
13616         * common-src/security-util.c: Don't write unclaimed warning if we have
13617                                       an accept function.
13618
13619 2008-02-27  Dustin J. Mitchell <dustin@zmanda.com>
13620         * common-src/testutils.c common-src/testutils.h
13621           common-src/Makefile.am: add libtestutils.la
13622         * common-src/event-test.c common-src/amflock-test.c:
13623           use libtestutils.la
13624
13625 2008-02-27  Jean-Louis Martineau <martineau@zmanda.com>
13626         * server-src/find.c: Use sort_key in switch statement.
13627
13628 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
13629         * NEWS, ReleaseNotes: Document --with-amlibdir.
13630         * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
13631                                  --without-amlibexecdir,
13632                                  Set AMPERLLIB to $amlibdir/perl.
13633
13634 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
13635         * common-src/event-test.c: a more robust and effective test of
13636           EV_READFD; thanks to Jean-Louis Martineau for the suggestions.
13637
13638 2008-02-26  Dustin J. Mitchell <dustin@zmanda.com>
13639         * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
13640           add --with-amperldir, --without-amperldir, and install perl modules
13641           in Perl's installsitearch by default; thanks to Orion Poplawski
13642           <orion@cora.nwra.com> for help and suggestions.
13643
13644 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
13645         * client-src/getfsent.c: Don't fail if stat of mount point fail.
13646
13647 2008-02-26  Jean-Louis Martineau <martineau@zmanda.com>
13648         * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
13649                              RUNNING_AS_DUMPUSER_PREFERRED.
13650
13651 2008-02-25  Jean-Louis Martineau <martineau@zmanda.com>
13652         * server-src/reporter.c: Report size of data on holding disk.
13653
13654 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
13655         * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
13656
13657 2008-02-20  Jean-Louis Martineau <martineau@zmanda.com>
13658         * server-src/amcheck.c, server-src/dumper.c,
13659           server-src/planner.c: Call waitpid to cleanup defunct process.
13660
13661 2008-02-20  Dustin J. Mitchell <dustin@zmanda.com>
13662         * device-src/tape-posix.c: keep ioctl error message in
13663           debug log
13664
13665 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
13666         * device-src/device.c, device-src/null-device.c,
13667           device-src/s3.c, device-src/tape-device.c,
13668           device-src/queueing.h, device-src/s3.h,
13669           device-src/vfs-device.c, device-src/rait-device.c,
13670           server-src/taper-source-test.c, server-src/server_util.c,
13671           server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
13672           perl/amglue/integers.swg, restore-src/restore.c,
13673           common-src/glib-util.c: Fix solaris compiler warning.
13674
13675 2008-02-19  Jean-Louis Martineau <martineau@zmanda.com>
13676         * common-src/util.c (quote_string): Quote single quote (').
13677         * server-src/find.c:Correctly compute length of diskname.
13678
13679 2008-02-15  Dustin J. Mitchell <dustin@zmanda.com>
13680         * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
13681           use AC_PROG_EGREP instead of the Amanda version
13682         * server-src/find.c: fix compiler warning on Solaris 8
13683
13684 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
13685         * packaging/rpm/amanda.spec: Remove amverify*
13686
13687 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
13688         * oldrecover-src/Makefile.am: Build all files in the build directory.
13689         * recover-src/Makefile.am: Build all files in the build directory.
13690         * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
13691         * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
13692           AC_OUTPUT create the common-src directory.
13693
13694 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
13695         * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
13696         * file server-src/infofile.c: Use %jd to print intmax_t value.
13697         * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
13698
13699 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
13700         * packaging/rpm/amanda.spec: Fix typo.
13701
13702 2008-02-15  Jean-Louis Martineau <martineau@zmanda.com>
13703         * server-src/amdump.sh: Don't use 'date -d', use sed.
13704
13705 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
13706         * installcheck/Installcheck/Run.pm: run test dumps of a smaller
13707           directory, to avoid overflowing test tapes
13708
13709 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
13710         * dumper-src/amstar.pl dumper-src/amgtar.pl
13711           device-src/tests/get-activation-key.pl server-src/amcheckdump.pl
13712           server-src/amdevcheck.pl: add GPL header
13713
13714 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
13715         * installcheck/Makefile.am installcheck/amdump.pl: add a check
13716           that runs 'amdump' directly, since that fails often
13717
13718 2008-02-14  Dustin J. Mitchell <dustin@zmanda.com>
13719         * common-src/event-test.c: make tests more robust to environmental
13720           variations, clean up forked children
13721
13722 2008-02-13  Dustin J. Mitchell <dustin@zmanda.com>
13723         * common-src/security-util.c
13724           common-src/security-util.h: don't cast pointers to
13725           integers for tcp_conn event id's
13726
13727 2008-02-13  Dan Locks <dwlocks@zmanda.com>
13728         * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
13729           build environment as well as if provided on rpmbuild commandline.
13730           Conditionalized this var to handle cross compiling on FC8.
13731
13732 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
13733         * amandad-src/amandad.c: use sizeof() instead of strlen()
13734           in a constant expression
13735
13736 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
13737         * amandad-src/amandad.c: initialize as->service
13738         * common-src/event.c common-src/event.h: new GMainLoop-based
13739           version of the event library, allowing GMainLoop-based and
13740           event-based processes to co-exist peacefully
13741
13742 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
13743         * installcheck/amcheckdump.pl: fix typo
13744
13745 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
13746         * server-src/dumper.c: Fail if no header or no data.
13747
13748 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
13749         * server-src/amstatus.pl: Report failure if dumper succeed and
13750                                   chunker failed.
13751
13752 2008-02-12  Jean-Louis Martineau <martineau@zmanda.com>
13753         * common-src/conffile.h (config_name, config_dir, config_filename):
13754                                  Remove extern declaration.
13755         * common-src/conffile.h (get_config_name, get_config_dir,
13756                                  get_config_filename): New prototype.
13757         * common-src/conffile.c (config_name, config_dir, config_filename):
13758                                  Declare static.
13759         * common-src/conffile.h (get_config_name, get_config_dir,
13760                                  get_config_filename): New functions.
13761         * perl/Amanda/Config.swg: Don't inline the functions.
13762         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
13763           client-src/sendsize.c, client-src/selfcheck.c,
13764           recover-src/amrecover.c, recover-src/extract_list.c,
13765           server-src/changer.c, server-src/amlogroll.c,
13766           server-src/amindexd.c, server-src/amcheck.c,
13767           server-src/dumper.c, server-src/planner.c,
13768           server-src/chunker.c, server-src/amadmin.c,
13769           server-src/amtape.c, server-src/amcleanupdisk.c,
13770           server-src/amflush.c, server-src/amtrmlog.c,
13771           server-src/driverio.c, server-src/driver.c,
13772           server-src/reporter.c, server-src/taper.c,
13773           server-src/amtrmidx.c, server-src/diskfile.c,
13774           server-src/amlabel.c,
13775           restore-src/amfetchdump.c: Use new functions.
13776
13777 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
13778         * common-src/event-test.c common-src/Makefile.am: add checks
13779           for the event module
13780
13781 2008-02-12  Dustin J. Mitchell <dustin@zmanda.com>
13782         * server-src/dumper.c server-src/server_util.c
13783           server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
13784           common-src/file.c: Always call mkpdir without the 02000 bit set,
13785           as it is not needed and causes problems on MacOS X.
13786
13787 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
13788         * all source files: update GPL dates
13789         * perl/*: use LGPL instead of GPL
13790
13791 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
13792         * amandad-src/amandad.c: fix use of non-constant array size
13793
13794 2008-02-11  Dustin J. Mitchell <dustin@zmanda.com>
13795         * amandad-src/amandad.c: add hack to avoid a race condition in
13796           sendbackup operation
13797         * common-src/security-util.c: issue debug log message when data
13798           tokens are dropped by the security API
13799
13800 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
13801         * recover-src/amrecover.c: Use tapedev from server if it is not set
13802                                    in amanda.client.conf
13803         * example/amanda-client.conf.in: Document it.
13804
13805 2008-02-07  Jean-Louis Martineau <martineau@zmanda.com>
13806         * device-src/tape-device.c (tape_device_init): Init min_block_size
13807           and fixed_block_size to 32768.
13808
13809 2008-02-07  Dustin J. Mitchell <dustin@zmanda.com>
13810         * packaging/rpm/amanda_enterprise.spec man/Makefile.am
13811           man/xml-source/amverify.8.xml man/xml-source/amverifyrun.8.xml
13812           man/xml-source/amcheckdump.8.xml server-src/amverifyrun.sh
13813           server-src/amverify.sh server-src/Makefile.am: remove amverify*
13814         * server-src/amdevcheck.pl: tweak @ARGV parsing
13815         * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
13816           installcheck/amcheckdump.pl: significant rewrite to catch more errors
13817           and not loop for ever on some errors.
13818
13819 2008-02-01  Dustin J. Mitchell <dustin@zmanda.com>
13820         * server-src/amgetconf.pl installcheck/amgetconf.pl
13821           common-src/conffile.c: fix and test amgetconf to allow extra
13822           command-line arguments (undocumented), to allow -o options without a
13823           space, and to correctly return empty results for empty build
13824           variables
13825
13826 2008-02-01  Dan Locks <dwlocks@zmanda.com>
13827         * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
13828           for both client and server, removed amplot from client, added missing
13829           directory %{SYSCONFDIR}/amanda
13830
13831 2008-01-29  Dan Locks <dwlocks@zmanda.com>
13832         * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
13833           where amanda/amandates is concerned.  also added %{LOCALSTATEDIR} to
13834           the %files list.
13835
13836 2008-01-29  Dan Locks <dwlocks@zmanda.com>
13837         * man/xml-source/* added http://wiki.zmanda.com to the "see also"
13838           section
13839
13840 2008-01-29  Jean-Louis Martineau <martineau@zmanda.com>
13841         * client-src/sendbackup.c: Check for g_options.
13842         * client-src/sendsize.c: Check for g_options.
13843         * client-src/selfcheck.c: Check for g_options.
13844         * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
13845
13846 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13847         * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
13848
13849 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
13850         * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
13851           displayunit, and add a unit test to be sure.
13852
13853 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13854         * server-src/amstatus.pl: handle lowercase displayunit.
13855
13856 2008-01-28  Dustin J. Mitchell <dustin@zmanda.com>
13857         * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
13858           for netinet/in.h and in_port_t, and define the latter if
13859           necessary.  Thanks to Craig Dewick <cdewick@lios.apana.org.au>
13860           for the suggestion.
13861
13862 2008-01-28  Paddy Sreenivasan <paddy@zmanda.com>
13863         * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
13864           status
13865
13866 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13867         * amandad-src/amandad.c: Send service stderr to amandad debug file,
13868           Wait for service termination and send error message to server.
13869
13870 2008-01-28  Jean-Louis Martineau <martineau@zmanda.com>
13871         * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
13872                                Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
13873
13874 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13875         * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
13876         * server-src/amcheckdump.pl: fix usage message
13877
13878 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13879         * configure.in config/amanda/userid.m4: add --with-single-userid
13880
13881 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13882         * server-src/amfreetapes.sh: remove unused script
13883
13884 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13885         * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
13886           for all amglue files where they are missing from glib headers
13887
13888 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13889         * installcheck/Makefile.am: condition installchecks on the selected
13890           components
13891
13892 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13893         * installcheck/Makefile.am Makefile.am: distribute
13894           installcheck/Installcheck scripts, make sure enough parameters
13895           are passed along to distcheck for it to succeed, and also clean
13896           up properly after tests are run.
13897
13898 2008-01-22  Dustin J. Mitchell <dustin@zmanda.com>
13899         * config/amanda/dumpers.m4: eliminate strange warning when
13900           --without-smbclient is given
13901
13902 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13903         * server-src/amgetconf.pl perl/Amanda/Constants.pm.in
13904           installcheck/Amanda_Types.pl installcheck/Amanda_Config.pl
13905           installcheck/Amanda_Tapelist.pl installcheck/Amanda_Debug.pl
13906           installcheck/Amanda_Changer.pl installcheck/amdevcheck.pl
13907           installcheck/Installcheck/Config.pm
13908           installcheck/Amanda_Cmdline.pl installcheck/amcheckdump.pl
13909           installcheck/Amanda_Logfile.pl installcheck/amgetconf.pl:
13910           accumulated tweaks and updates to installchecks
13911
13912 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13913         * perl/Amanda/Tests.swg perl/Makefile.am installcheck/bigint.pl
13914           installcheck/Makefile.am: new tests for integer-handling
13915           SWIG support, including an installed module (Amanda::Test) that
13916           is not used except by this test.
13917
13918 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13919         * installcheck/Amanda_Types.pl
13920           installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
13921           installcheck/Amconfig.pm.in installcheck/amdevcheck.pl
13922           installcheck/Installcheck installcheck/Installcheck/Run.pm
13923           installcheck/Installcheck/Config.pm installcheck/Makefile.am
13924           installcheck/amcheckdump.pl installcheck/Amanda_Logfile.pl
13925           installcheck/amgetconf.pl: tweaks:
13926            - Move installcheck utilities to the Installcheck::* namespace
13927            - add Installcheck::Run to help with setting up amdump runs, and
13928              running applications in general
13929            - Add complete runs to amdevcheck, amcheckdump
13930            - Return a nonzero exit status from amgetconf when an invalid
13931              configuration parameter is specified.
13932
13933 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13934         * perl/Amanda/Tapelist.swg perl/Amanda/Tapefile.swg perl/Makefile.am:
13935           new module (Tapelist) replaces old stub (Tapefile)
13936         * installcheck/Amanda_Tapelist.pl installcheck/Makefile.am: test new
13937           module
13938         * server-src/amcheckdump.pl installcheck/Amanda_Logfile.pl: use new
13939           module
13940
13941 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13942         * perl/Makefile.am perl/Amanda/Debug.swg: handle die() and warn() with
13943           critical() and warning(), respectively
13944         * server-src/amgetconf.pl server-src/amcheckdump.pl
13945           server-src/amdevcheck.pl: use die()
13946         * installcheck/Amanda_Config.pl installcheck/Amanda_Changer.pl
13947           installcheck/Amanda_Debug.pl installcheck/Makefile.am: new/updated
13948           unit tests
13949
13950 2008-01-18  Dustin J. Mitchell <dustin@zmanda.com>
13951         * man/xml-source/amgetconf.8.xml server-src/amgetconf.pl
13952           server-src/getconf.c server-src/Makefile.am: rewrite amgetconf in
13953           Perl, and add the ability to list available build variables.
13954         * config/amanda/krb4-security.m4 config/amanda/krb5-security.m4
13955           config/amanda/bsd-security.m4 config/amanda/dumpers.m4
13956           config/amanda/bsdtcp-security.m4 config/amanda/userid.m4
13957           config/amanda/rsh-security.m4 config/amanda/ssh-security.m4
13958           config/amanda/bsdudp-security.m4 config/amanda/compress.m4
13959           config/amanda/debugging.m4 config/amanda/flock.m4: AC_SUBST a bunch
13960           of constants for use in Amanda::Constants
13961         * perl/Makefile.am perl/Amanda/Paths.pm.in
13962           perl/Amanda/Constants.pm.in: add new constants
13963         * perl/Amanda/Config.swg: add getconf_byname_strs
13964         * installcheck/amgetconf.pl: check new functionality
13965         * perl/Amanda/Util.swg common-src/util.c common-src/util.h: add
13966           RUNNING_AS_ANY
13967
13968 2008-01-17  Jean-Louis Martineau <martineau@zmanda.com>
13969         * packaging/rpm/buildpkg, packaging/rpm/amanda.spec,
13970           configure.in: Set for release 2.6.1alpha.
13971
13972 2008-01-16  Dustin J. Mitchell <dustin@zmanda.com>
13973         * installcheck/Makefile.am: Require user to specify
13974           CLOBBER_MY_CONFIG=OK when running installchecks
13975
13976 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
13977         * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
13978
13979 2008-01-16  Jean-Louis Martineau <martineau@zmanda.com>
13980         * oldrecover-src/extract_list.c, client-src/sendbackup.c,
13981           client-src/sendsize.c, client-src/selfcheck.c,
13982           recover-src/extract_list.c, server-src/changer.c,
13983           server-src/amflush.c, server-src/driverio.c,
13984           common-src/pipespawn.c: Call safe_fd before exec*.
13985
13986 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
13987         * packaging/rpm/amanda.spec: Remove build_host.
13988
13989 2008-01-15  Dustin J. Mitchell <dustin@zmanda.com>
13990         * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
13991           perl/amglue/integers.swg: fix typos and compiler warnings
13992
13993 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
13994         * packaging/Makefile.am: New file.
13995         * packaging/README: New file.
13996         * packaging/rpm/buildpkg: New file.
13997         * packaging/rpm/amanda.spec: New file.
13998         * configure.in
13999         * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
14000         * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
14001                                          ${amlibexecdir}/application
14002         * Makefile.am (SUBDIRS): Add packaging.
14003         * amanda.spec: Remove file.
14004
14005 2008-01-15  Jean-Louis Martineau <martineau@zmanda.com>
14006         * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
14007         * device-src/tape-device.c, device-src/tape-posix.c,
14008           device-src/vfs-device.c: include "util.h"
14009         * device-src/rait-device.c: fix compiler warning.
14010
14011 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
14012         * perl/amglue/bigint.c: fix the range-checking mechanics for large
14013           integers, since the precompiler seems to get confused by large
14014           constants.
14015
14016 2008-01-14  Dustin J. Mitchell <dustin@zmanda.com>
14017         * config/amanda/krb5-security.m4: abort configure run if krb5
14018           is requested by libraries aren't found
14019
14020 2008-01-13  Dustin J. Mitchell <dustin@zmanda.com>
14021         * man/xml-source/amanda.conf.5.xml: use &#215; instead of &times;
14022
14023 2008-01-11  Paddy Sreenivasan <paddy@zmanda.com>
14024         * device-src/Makefile.am: Don't install queueing.h and device.h
14025
14026 2008-01-11  Dustin J. Mitchell <dustin@zmanda.com>
14027         * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
14028
14029 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
14030         * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
14031         * installcheck/amgetconf.pl: usetimestamps defaults to yes.
14032         * NEWS, ReleaseNotes: Notes about make installcheck.
14033
14034 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
14035         * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
14036         * ReleaseNotes: Ditto.
14037
14038 2008-01-11  Jean-Louis Martineau <martineau@zmanda.com>
14039         * ReleaseNotes: Update for amanda-2.6.0
14040         * News: Update for amanda-2.6.0
14041         * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
14042         * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
14043         * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}